.home-hero {
  padding-top: 1rem;
}

.hero-grid {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.hero-feature-stack {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.hero-feature {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  min-height: 390px;
}

.hero-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-feature__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(16, 34, 49, 0.05),
    rgba(16, 34, 49, 0.2) 40%,
    rgba(16, 34, 49, 0.75)
  );
  display: flex;
  align-items: end;
  padding: 1.4rem;
}

.hero-feature__content {
  color: #fff;
  max-width: 76%;
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 0 0.15rem;
}

.hero-feature__content .lede {
  display: none;
}

.hero-feature__content h1 {
  color: #fff;
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
  line-height: 1.08;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-feature__content h1 {
  letter-spacing: -0.5px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: var(--brand-secondary);
  color: #fff;
  border-radius: 999px;
  padding: 0.52rem 0.88rem;
  font-weight: 800;
  margin-top: 0.75rem;
}

.hero-feature__dots {
  display: flex;
  gap: 0.45rem;
  margin-top: 1rem;
}

.hero-feature__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.hero-feature__dots span.is-active {
  background: #fff;
}

.hero-side {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.hero-side .sidebar-card {
  height: 100%;
}

/* Leituras em destaque - desktop */
.hero-side .sidebar-card {
  border-radius: 12px;
  padding: 0.85rem 0.85rem 0.8rem;
}

.hero-side .sidebar-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.7rem;
}

.hero-side .post-card--compact {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: start;
  gap: 0;
  border-radius: 14px;
  overflow: hidden;
  min-height: 0;
}

.hero-side .post-card--compact .post-card__thumb {
  width: 74px;
  min-width: 74px;
  height: 74px;
  min-height: 74px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.hero-side .post-card--compact .post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-side .post-card--compact .post-card__body {
  padding: 0.62rem 0.72rem;
  gap: 0.28rem;
  min-width: 0;
}

.hero-side .post-card--compact h3 {
  font-size: 0.89rem;
  line-height: 1.18;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-side .post-card--compact .card-kicker {
  font-size: 0.64rem;
  letter-spacing: 0.1em;
}

.hero-side .post-card--compact .card-meta {
  font-size: 0.76rem;
  gap: 0.35rem;
}

.hero-side .post-card--compact + .post-card--compact {
  margin-top: 0.25rem;
}

.feature-list {
  display: grid;
  gap: 0.95rem;
}

.feature-list__item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.8rem;
  align-items: start;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border-soft);
}

.feature-list__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.feature-list__item img {
  width: 110px;
  height: 74px;
  object-fit: cover;
  border-radius: 4px;
}

.feature-list__item h4 {
  font-size: 1.02rem;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.categories-strip {
  display: grid;
  gap: 1rem;
}

.category-tile {
  background: #fff;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  border-radius: 4px;
  overflow: hidden;
}

.category-tile__thumb {
  height: 110px;
}

.category-tile__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-tile__body {
  padding: 0;
}

.category-tile__band {
  padding: 0.65rem 0.85rem;
  color: #fff;
  font-weight: 800;
}

.category-tile__meta {
  padding: 0.55rem 0.85rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.mini-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.mini-strip img {
  width: 100%;
  height: 68px;
  object-fit: cover;
  border-radius: 2px;
}

.icon-quicklinks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.icon-link {
  display: grid;
  justify-items: center;
  gap: 0.4rem;
}

.icon-link span:last-child {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--heading);
  text-align: center;
}

.icon-link__dot {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
}

.home-section-title {
  margin-bottom: 1.2rem;
  border-top: 1px solid var(--border-soft);
  padding-top: 1.4rem;
}

.page-section {
  margin-top: 2rem;
}

.list-panel {
  display: grid;
  gap: 1rem;
}

.cards-grid {
  margin-top: 0.5rem;
}

.post-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.post-card h3 {
  font-size: 1.45rem;
  line-height: 1.1;
  font-weight: 700;
}

/* =========================
   AJUSTES PARA SMALL DESKTOP / 1024
   ========================= */
@media (max-width: 1199px) {
  .hero-feature {
    min-height: 340px;
  }

  .hero-feature__overlay {
    padding: 1.1rem;
  }

  .hero-feature__content {
    max-width: 88%;
  }

  .hero-feature__content h1 {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    line-height: 1.08;
  }

  .hero-badge {
    padding: 0.48rem 0.82rem;
    font-size: 0.92rem;
  }

  .feature-list__item {
    grid-template-columns: 92px 1fr;
    gap: 0.7rem;
  }

  .feature-list__item img {
    width: 92px;
    height: 64px;
  }

  .feature-list__item h4 {
    font-size: 0.95rem;
  }

  .mini-strip img {
    height: 60px;
  }

  .icon-link__dot {
    width: 56px;
    height: 56px;
    font-size: 1.15rem;
  }

  .post-card h3 {
    font-size: 1.25rem;
  }
}

/* =========================
   TABLET E CELULAR
   ========================= */
@media (max-width: 959px) {
  .hero-feature {
    min-height: 320px;
  }

  .hero-feature__content {
    max-width: 92%;
  }

  .hero-side .post-card--compact {
    grid-template-columns: 92px 1fr;
  }

  .hero-side .post-card--compact .post-card__thumb {
    width: 92px;
    min-width: 92px;
    height: 92px;
    min-height: 92px;
  }

  .hero-side .post-card--compact h3 {
    font-size: 0.98rem;
  }

  .mini-strip {
    grid-template-columns: 1fr;
  }

  .mini-strip img {
    height: 90px;
  }

  .icon-quicklinks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .icon-quicklinks {
    margin-top: 0.25rem;
    padding: 0.25rem 0 0.5rem;
  }

  .icon-link {
    gap: 0.55rem;
  }

  .icon-link__dot {
    width: 58px;
    height: 58px;
    font-size: 1.1rem;
  }

  .icon-link span:last-child {
    font-size: 0.88rem;
    line-height: 1.15;
  }
}

@media (max-width: 767px) {
  .home-hero {
    padding-top: 0.75rem;
  }

  .hero-grid {
    gap: 1rem;
  }

  .hero-feature {
    min-height: 250px;
    border-radius: 6px;
  }

  .hero-feature__overlay {
    padding: 0.9rem;
    background: linear-gradient(
      180deg,
      rgba(16, 34, 49, 0.08),
      rgba(16, 34, 49, 0.18) 36%,
      rgba(16, 34, 49, 0.82)
    );
  }

  .hero-feature__content {
    max-width: 100%;
  }

  .hero-feature__content h1 {
    font-size: 1.45rem;
    line-height: 1.08;
    max-width: 92%;
    margin: 0;
  }

  .hero-feature__content h1 a {
    color: #fff;
  }

  .hero-badge {
    margin-top: 0.7rem;
    font-size: 0.82rem;
    line-height: 1;
    padding: 0.48rem 0.74rem;
  }

  .hero-feature__dots {
    margin-top: 0.8rem;
  }

  .hero-feature__dots span {
    width: 9px;
    height: 9px;
  }

  .hero-side .post-card--compact {
    grid-template-columns: 84px 1fr;
  }

  .hero-side .post-card--compact .post-card__thumb {
    width: 84px;
    min-width: 84px;
    height: 84px;
    min-height: 84px;
  }

  .hero-side .post-card--compact .post-card__body {
    padding: 0.78rem 0.8rem;
  }

  .hero-side .post-card--compact h3 {
    font-size: 0.92rem;
  }

  .feature-list__item {
    grid-template-columns: 84px 1fr;
    gap: 0.65rem;
  }

  .feature-list__item img {
    width: 84px;
    height: 60px;
  }

  .feature-list__item h4 {
    font-size: 0.92rem;
    line-height: 1.15;
  }

  .feature-list__item {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.feature-list__item:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

  .category-tile__thumb {
    height: 95px;
  }

  .mini-strip {
    display: none;
  }

  .icon-quicklinks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0.8rem;
    margin-top: 0.15rem;
  }

  .icon-link {
    gap: 0.55rem;
  }

  .icon-link__dot {
    width: 58px;
    height: 58px;
    font-size: 1.1rem;
  }

  .icon-link span:last-child {
    font-size: 0.88rem;
    line-height: 1.15;
    text-align: center;
  }

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

/* Quicklinks circulares: mobile/tablet apenas */
.icon-quicklinks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

@media (min-width: 768px) and (max-width: 959px) {
  .hero-feature {
    min-height: 300px;
  }

  .hero-feature__content {
    max-width: 90%;
  }

  .hero-feature__content h1 {
    font-size: 1.85rem;
    line-height: 1.08;
  }

  .mini-strip {
    display: none;
  }

  .icon-quicklinks {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 0.25rem;
  }
}

@media (min-width: 960px) {
  .icon-quicklinks {
    display: none;
  }

  .mini-strip {
    display: none;
  }

  .hero-side .sidebar-card {
    padding: 0.85rem 0.85rem 0.8rem;
  }

  .hero-side .post-card--compact {
    grid-template-columns: 72px 1fr;
  }

  .hero-side .post-card--compact .post-card__thumb {
    width: 72px;
    min-width: 72px;
    height: 72px;
    min-height: 72px;
  }

  .hero-side .post-card--compact h3 {
    font-size: 0.88rem;
  }
}
