/* Estilos para a seção de Blog integrada */

.blog-section {
  background: linear-gradient(135deg, rgba(56, 89, 79, 0.04) 0%, rgba(185, 140, 96, 0.04) 100%);
  border-top: 1px solid rgba(56, 89, 79, 0.08);
  border-bottom: 1px solid rgba(56, 89, 79, 0.08);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid rgba(56, 89, 79, 0.12);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(36, 61, 54, 0.06);
  height: 100%;
}

.blog-card:hover {
  border-color: rgba(56, 89, 79, 0.24);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(56, 89, 79, 0.1) 0%, rgba(185, 140, 96, 0.1) 100%);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--surface-strong) 0%, rgba(185, 140, 96, 0.2) 100%);
}

.blog-card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: var(--text);
  line-height: 1.3;
}

.blog-card-subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 1rem 0;
  flex: 1;
}

.blog-card-date {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

/* Link do Blog no Menu */
.nav-menu a[href="#blog"] {
  position: relative;
}

.nav-menu a[href="#blog"]::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-menu a[href="#blog"]:hover::after {
  width: 100%;
}

/* Responsivo */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .blog-card h3 {
    font-size: 1.1rem;
  }

  .blog-card-content {
    padding: 1.25rem;
  }
}
