/* assets/css/archive.css - Editoria leve, mobile-first e orientada a notícias */
.hub-content.container {
  background: transparent;
  box-shadow: none;
  padding: 0 16px;
  margin-top: 1.5rem;
  max-width: 1200px;
}

.hub-header {
  margin-bottom: 1.5rem;
}

.hub-header-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hub-kicker {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-link, #16a34a);
}

.hub-title {
  font-family: var(--font-sans, sans-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--color-heading, #111);
  text-transform: uppercase;
  letter-spacing: -0.04em;
  margin: 0;
  line-height: 1;
}

.hub-subnav--top,
.hub-editorial-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.hub-editorial-links-wrap,
.hub-subnav .subnav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hub-editorial-link,
.hub-subnav a,
.entry-hub-chip,
.card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #dbe4ef;
  background: #f8fafc;
  color: #334155;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.hub-editorial-link {
  cursor: pointer;
  background: #fff;
}

.card-badge,
.entry-hub-chip {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #166534;
}

.entry-hub-chip--secondary {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.hub-top-stories {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.hub-hero-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.hero-thumb,
.hub-card .card-thumb,
.hub-secondary-card .card-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
}

.hero-thumb img,
.hub-card .card-thumb img,
.hub-secondary-card .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hub-hero-card:hover img,
.hub-card:hover img,
.hub-secondary-card:hover img {
  transform: scale(1.03);
}

.hero-content,
.card-content {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hero-title {
  font-family: var(--font-sans, sans-serif);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
}

.hero-title a,
.card-title a {
  color: var(--color-heading, #111);
  text-decoration: none;
}

.hero-excerpt {
  font-family: var(--font-serif, serif);
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.card-title {
  font-family: var(--font-sans, sans-serif);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
}

.card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.card-meta a {
  text-decoration: none;
}

.hub-secondary-grid,
.hub-feed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.hub-secondary-grid {
  gap: 1rem;
}

.hub-feed-grid {
  margin-top: 1.5rem;
}

.hub-card,
.hub-secondary-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hub-subnav,
.hub-panel,
.hub-seo-bottom,
.hub-faq {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.subnav-label,
.hub-panel-title,
.hub-section-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #111;
  margin: 0;
}

.hub-author-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hub-author-pill {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  text-decoration: none;
  background: #fff;
  color: #111;
}



.hub-editorial-links-wrap {
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 0.2rem;
  -webkit-overflow-scrolling: touch;
}

.hub-editorial-link {
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
}

.hub-editorial-link:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  background: #fff;
}

.entry-hub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 1.2rem;
}

@media (min-width: 720px) {
  .hub-secondary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .hub-content.container { padding: 0 20px; }
  .hub-hero-card { border-bottom: 0; padding-bottom: 0; }
  .hub-secondary-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  .hub-feed-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.5rem; }
}

@media (max-width: 640px) {
  .hub-content.container { padding: 0 12px; }
  .hub-title { font-size: 2.2rem; }
  .card-title { font-size: 1.15rem; }
  .subnav-label, .hub-panel-title, .hub-section-title { font-size: 1.2rem; }
}

/* v2.6.10 editorial hub refinements */
.hub-header--lite {
  margin-bottom: 1.25rem;
}

.hub-top-stories {
  margin-bottom: 2.25rem;
}

.hub-latest-block,
.hub-section-stream {
  margin-top: 2rem;
}

.hub-feed-grid--compact {
  margin-top: 1rem;
}

.hub-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.hub-subsection {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.hub-subsection-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.hub-subsection-title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.1;
}

.hub-subsection-title a,
.hub-subsection-more {
  text-decoration: none;
}

.hub-subsection-title a {
  color: #111;
}

.hub-subsection-more {
  color: var(--color-link, #16a34a);
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
}

.hub-subsection-more:hover,
.hub-subsection-title a:hover,
.hub-subsection-lead .card-title a:hover,
.hub-subsection-card .card-title a:hover {
  text-decoration: underline;
}

.hub-subsection-lead {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.hub-subsection-lead-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #e2e8f0;
}

.hub-subsection-lead-thumb img,
.hub-subsection-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hub-subsection-lead-content,
.hub-subsection-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hub-subsection-lead .card-meta,
.hub-subsection-card .card-meta {
  margin: 0;
  font-size: 0.73rem;
  color: #64748b;
  letter-spacing: 0.02em;
}

.hub-subsection-lead .card-title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.18;
  font-weight: 900;
}

.hub-subsection-lead .card-title a,
.hub-subsection-card .card-title a {
  color: #111;
  text-decoration: none;
}

.hub-subsection-posts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.hub-subsection-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding-top: 0.9rem;
  border-top: 1px solid #e2e8f0;
}

.hub-subsection-card:first-child {
  border-top: 1px solid #e2e8f0;
}

.hub-subsection-card-thumb {
  display: block;
  width: 96px;
  min-width: 96px;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: #e2e8f0;
}

.hub-subsection-card .card-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.28;
  font-weight: 800;
}

@media (min-width: 720px) {
  .hub-feed-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hub-section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 900px) {
  .hub-top-stories {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr);
    gap: 1.5rem;
    align-items: start;
  }

  .hub-hero-card {
    gap: 1rem;
    align-content: start;
    min-width: 0;
  }

  .hub-secondary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-content: start;
  }

  .hub-secondary-card .card-title {
    font-size: 1.05rem;
  }

  .hub-feed-grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hub-subsection-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hub-editorial-links-wrap {
    flex-wrap: nowrap;
  }

  .hub-subsection-card {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 0.75rem;
  }

  .hub-subsection-card-thumb {
    width: 84px;
    min-width: 84px;
  }

  .hub-subsection-title {
    font-size: 1.3rem;
  }
}

/* Página de Últimas Notícias */
.latest-hub-page.container {
  background: transparent;
  box-shadow: none;
  padding: 0 16px;
  margin-top: 1.5rem;
  max-width: 1200px;
}

.latest-hub-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}

.latest-hub-header-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 860px;
}

.latest-hub-description,
.latest-hub-stream-copy,
.latest-feed-excerpt {
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}

.latest-hub-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.latest-hub-hero {
  border-bottom: none;
  padding-bottom: 0;
}

.latest-hub-secondary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.latest-secondary-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.9rem;
  align-items: start;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.latest-secondary-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.latest-secondary-card .card-thumb {
  aspect-ratio: 16 / 10;
  border-radius: 10px;
}

.latest-hub-stream {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.latest-hub-stream-head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.latest-hub-feed .hub-card {
  gap: 0.9rem;
}

.latest-hub-feed .card-thumb {
  aspect-ratio: 16 / 9;
}

@media (min-width: 980px) {
  .latest-hub-top {
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr);
    align-items: start;
  }

  .latest-hub-secondary {
    position: sticky;
    top: 88px;
  }
}

@media (max-width: 767px) {
  .latest-secondary-card {
    grid-template-columns: 96px 1fr;
  }

  .latest-hub-header {
    margin-bottom: 1.25rem;
  }
}


/* Últimas notícias — layout final isolado */
.latest-page {
  max-width: 1180px;
  margin: 1.5rem auto 0;
  padding: 0 16px 2rem;
}
.latest-page__header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}
.latest-page__kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: .75rem;
  color: #16a34a;
  font-size: .9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.latest-page__title {
  margin: 0;
  font-family: var(--font-sans, sans-serif);
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -.04em;
  color: #111827;
}
.latest-page__description,
.latest-page__section-copy,
.latest-page__hero-excerpt,
.latest-page__item-excerpt {
  margin: 0;
  color: #475569;
  font-size: 1rem;
  line-height: 1.7;
}
.latest-page__description { max-width: 860px; margin-top: .9rem; }
.latest-page__section-title {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.1;
  font-weight: 900;
  color: #111827;
}
.latest-page__top-head,
.latest-page__stream-head {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-bottom: 1.25rem;
}
.latest-page__top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.latest-page__hero,
.latest-page__side-card,
.latest-page__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  min-width: 0;
}
.latest-page__hero-media,
.latest-page__side-media,
.latest-page__item-media {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: #e5e7eb;
}
.latest-page__hero-media { aspect-ratio: 16 / 9; }
.latest-page__side-media { aspect-ratio: 16 / 10; }
.latest-page__item-media { aspect-ratio: 16 / 10; }
.latest-page__hero-media img,
.latest-page__side-media img,
.latest-page__item-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.latest-page__hero-body,
.latest-page__side-body,
.latest-page__item-body {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  min-width: 0;
}
.latest-page__chip {
  display: inline-flex;
  align-self: flex-start;
  min-height: 34px;
  align-items: center;
  padding: .4rem .95rem;
  border-radius: 999px;
  border: 1px solid #bbf7d0;
  background: #ecfdf5;
  color: #166534;
  font-size: .85rem;
  font-weight: 800;
}
.latest-page__hero-title,
.latest-page__side-title,
.latest-page__item-title {
  margin: 0;
  font-family: var(--font-sans, sans-serif);
  font-weight: 900;
  letter-spacing: -.03em;
  color: #111827;
}
.latest-page__hero-title { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.03; }
.latest-page__side-title { font-size: 1.1rem; line-height: 1.18; }
.latest-page__item-title { font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.12; }
.latest-page__hero-title a,
.latest-page__side-title a,
.latest-page__item-title a {
  color: inherit;
  text-decoration: none;
}
.latest-page__hero-title a:hover,
.latest-page__side-title a:hover,
.latest-page__item-title a:hover { color: #16a34a; }
.latest-page__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  color: #64748b;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.latest-page__author {
  color: #16a34a;
  text-decoration: none;
}
.latest-page__side {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.latest-page__side-card {
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: start;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}
.latest-page__side-card:last-child { border-bottom: 0; padding-bottom: 0; }
.latest-page__stream {
  margin-top: 2.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}
.latest-page__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.latest-page__item {
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}
.latest-page__item:last-child { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 980px) {
  .latest-page__top-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .8fr);
    align-items: start;
  }
}
@media (max-width: 900px) {
  .latest-page__item { grid-template-columns: 220px minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .latest-page { padding-left: 14px; padding-right: 14px; }
  .latest-page__side-card,
  .latest-page__item { grid-template-columns: 1fr; }
  .latest-page__side-media,
  .latest-page__item-media { aspect-ratio: 16 / 9; }
  .latest-page__hero-title { font-size: clamp(1.85rem, 8vw, 2.45rem); }
  .latest-page__item-title { font-size: 1.25rem; }
}

/* N10 Sports/Archive fix 2.6.83 — evita coluna vazia e duplicação visual em hubs esportivos */
@media (min-width: 900px) {
  .hub-top-stories > .hub-panel-head {
    grid-column: 1 / -1;
  }
  .hub-top-stories--single {
    display: block;
  }
  .hub-top-stories--single .hub-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
    gap: 1.5rem;
    align-items: start;
    border-bottom: 0;
  }
}
.hub-content--sports-root .hub-header--lite {
  margin-bottom: 1.25rem;
}
.hub-content--sports-mapped .hub-panel--authors {
  display: none;
}
@media (max-width: 899px) {
  .hub-top-stories--single .hub-hero-card {
    display: grid;
    grid-template-columns: 1fr;
  }
}
