/*
 * Estilos específicos para a página do blog
 * Prefixo: .blog-
 */
   /* Blog Layout */
.blog-layout {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

.blog-hero {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  padding: 44px 0 24px;
  text-align: center;
}
.blog-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--blue-600);
  background: rgba(14, 74, 128, 0.08);
  padding: 6px 10px;
  border-radius: 999px;
}
.blog-sub {
  font-size: clamp(16px, 2.5vw, 18px);
  color: var(--muted);
  max-width: 62ch;
}

.blog-post-list {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
.blog-post-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(2, 8, 23, 0.06);
  transition: transform 0.2s ease;
  overflow: hidden;
}
.blog-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.blog-post-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.blog-post-content {
  padding: 24px;
}
.blog-post-content h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.3;
}
.blog-post-content p {
  margin: 0 0 15px;
  color: var(--muted);
}
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.blog-sidebar-widget {
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(2, 8, 23, 0.06);
}
.blog-sidebar-widget h4 {
  margin: 0 0 16px;
  font-size: 18px;
  color: var(--charcoal);
  border-bottom: 2px solid var(--green);
  padding-bottom: 8px;
  width: fit-content;
}
.blog-sidebar-cta {
  background-color: var(--blue);
  color: white;
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}
.blog-sidebar-cta h5 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}
.blog-sidebar-cta p {
  margin: 0 0 20px;
  color: #cfe7ff;
  line-height: 1.5;
}

/* Centraliza a grade de posts */
.blog-layout .blog-post-list {
  margin-inline: auto;
  width: fit-content;
}

/* Responsividade */
@media (min-width: 760px) {
  .blog-layout {
    grid-template-columns: 2fr 1fr;
  }
  .blog-post-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

      /* Sidebar */
    .sidebar {
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }
    .sidebar-widget {
      background: var(--card);
      padding: 24px;
      border-radius: var(--radius);
      box-shadow: var(--shadow-soft);
      border: 1px solid rgba(2, 8, 23, .06);
    }
    .sidebar-widget h4 {
      margin: 0 0 16px;
      font-size: 18px;
      color: var(--charcoal);
      border-bottom: 2px solid var(--green);
      padding-bottom: 8px;
      width: fit-content;
    }

    .sidebar-search input:focus {
      border-color: var(--blue);
      box-shadow: var(--focus);
    }
    .sidebar-categories ul, .sidebar-posts ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .sidebar-categories li a {
      padding: 8px 0;
      border-bottom: 1px dashed #e5e7eb;
      transition: color 0.2s ease;
      color: var(--muted);
    }
    .sidebar-categories li:last-child a {
      border-bottom: none;
    }
    .sidebar-categories li a:hover {
      color: var(--blue);
    }
    .sidebar-posts li {
      display: flex;
      gap: 12px;
      margin-bottom: 16px;
    }
    .sidebar-posts li:last-child {
      margin-bottom: 0;
    }
    .sidebar-posts img {
      width: 80px;
      height: 60px;
      object-fit: cover;
      border-radius: 8px;
    }
    .sidebar-posts .post-info {
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .sidebar-posts .post-info a {
      font-weight: 600;
      line-height: 1.4;
      transition: color 0.2s ease;
    }
    .sidebar-posts .post-info a:hover {
      color: var(--blue);
    }
    .sidebar-posts .post-info small {
      color: var(--muted);
      font-size: 12px;
      display: block;
      margin-top: 4px;
    }
    
    /* Sidebar CTA */
    .sidebar-cta {
      background-color: var(--blue);
      color: white;
      padding: 24px;
      border-radius: var(--radius);
      text-align: center;
      box-shadow: var(--shadow);
    }
    .sidebar-cta h5 {
      margin: 0 0 10px;
      font-size: 20px;
      line-height: 1.2;
    }
    .sidebar-cta p {
      margin: 0 0 20px;
      color: #cfe7ff;
      line-height: 1.5;
    }
    .sidebar-cta .cta {
      width: 100%;
      display: block;
    }
