/* BLOG STYLES */
.blog-section {
  padding: clamp(36px, 8vw, 100px) 0;
  border-top: 1px solid #101521;
  min-height: 60vh;
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
  justify-content: center;
}

.category-btn {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  font-size: 14px;
  border: none;
}

.category-btn:hover, .category-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #111;
  border-color: transparent;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
  cursor: pointer;
  display: block; /* <-- ADAUGĂ: pentru elemente <a> */
  text-decoration: none; /* <-- ADAUGĂ: fără underline */
  color: inherit; /* <-- ADAUGĂ: moștenește culoarea textului */
}

.blog-card:hover {
  transform: translateY(-5px);
  text-decoration: none; /* <-- ADAUGĂ: nici la hover */
  color: inherit; /* <-- ADAUGĂ: nici la hover */
}

.blog-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--bg);
}

.blog-content {
  padding: 20px;
}

.blog-category {
  display: inline-block;
  background: rgba(86, 211, 100, 0.15);
  color: var(--accent3);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.blog-title {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.3;
  color: var(--text); /* <-- ADAUGĂ: asigură-te că titlul este vizibil */
}

.blog-excerpt {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-categories {
    justify-content: center;
  }
}