/* ================================
   BLOG HERO BAR (Faixa superior)
   ================================ */
body{
    padding-top: 0;
}


/* ================================
   RESET LINK STYLE (cards inteiros)
   ================================ */
blog-index{
    padding-top: 40px !important;
}
.blog-card,
.blog-featured {
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-card:visited,
.blog-featured:visited {
  color: inherit;
}

.blog-card *,
.blog-featured * {
  text-decoration: none !important;
}


/* Featured thumb retangular */
.featured-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 20px;
}

.featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Featured text */
.featured-content h2 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.featured-content p {
  font-size: 18px;
  opacity: 0.8;
  line-height: 1.7;
  margin: 0;
}

/* ================================
   GRID POSTS
   ================================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* Card */
.blog-card {
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 18px;
  background: #fff;
  transition: all 0.25s ease;
}

.blog-card:hover {
  border-color: rgba(30, 79, 217, 0.5);
  transform: translateY(-4px);
}

/* Card thumb retangular */
.card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 14px;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ================================
   CATEGORY PILL (Card Label)
   ================================ */

.post-category {
  display: inline-block;
  background: #1e4fd9;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 14px;
  line-height: 18px;
}

/* ================================
   CARD TITLE + EXCERPT
   ================================ */

.blog-card h3 {
  font-size: 18px;
  font-weight: 750;
  line-height: 1.3;
  margin: 0;
}

.card-excerpt {
  font-size: 16px;
  opacity: 0.75;
  margin-top: 10px;
  line-height: 1.6;
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 900px) {
  .featured-content h2 {
    font-size: 30px;
  }

  .blog-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .blog-hero-inner h1 {
    font-size: 44px;
  }

  /* categorias ocupam largura toda */
  .blog-nav {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }


}

