/*
Theme Name: Jornal do Amador
Theme URI: https://www.jornaldoamador.com.br
Description: Tema customizado para o Jornal do Amador — cobertura do esporte amador de Ribeirão Preto
Author: Lucas Mingatos
Version: 1.0.0
Text Domain: jornal-do-amador
*/

/* ─── VARIÁVEIS ─── */
:root {
  --green:       #2D9B4E;
  --green-dark:  #1B7A3A;
  --green-light: #EAF5EE;
  --black:       #111111;
  --gray-dark:   #2C2C2C;
  --gray-mid:    #888888;
  --gray-light:  #F5F5F5;
  --border:      #E2E2E2;
  --white:       #FFFFFF;
  --font-h: 'Exo 2', sans-serif;
  --font-b: 'Nunito', sans-serif;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-b); background: var(--white); color: var(--black); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

/* ─── HEADER ─── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--green);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  overflow: visible;
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  height: 90px; display: flex; align-items: center; gap: 2rem;
}
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo__img { height: 70px; width: auto; display: block; border-radius: 50%; }

/* Nav — cobre tanto o fallback (<a> direto) quanto o menu WP (<ul><li><a>) */
.site-nav { display: flex; margin-left: auto; align-items: center; }
.site-nav ul { display: flex; margin: 0; padding: 0; list-style: none; }
.site-nav a,
.site-nav ul li a {
  font-family: var(--font-b); font-size: 0.78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-dark);
  padding: 0 1rem; height: 90px; display: flex; align-items: center;
  border-bottom: 3px solid transparent; margin-bottom: -3px;
  transition: color .15s, border-color .15s;
}
.site-nav a:hover,
.site-nav ul li a:hover,
.site-nav ul li.current-menu-item > a,
.site-nav ul li.current-menu-ancestor > a { color: var(--green); border-bottom-color: var(--green); }

/* ─── TICKER ─── */
.ticker {
  background: var(--green); color: white;
  height: 38px;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0 1.5rem; overflow: hidden;
}
.ticker__label {
  font-family: var(--font-b); font-size: 0.62rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em;
  background: rgba(0,0,0,0.22); padding: 0.2rem 0.6rem;
  border-radius: 3px; white-space: nowrap; flex-shrink: 0;
}
.ticker__stage {
  flex: 1; position: relative; height: 38px;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.ticker__item {
  position: absolute; width: 100%; text-align: center;
  font-family: var(--font-b); font-size: 0.82rem; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transform: translateY(-110%); opacity: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  pointer-events: none;
}
.ticker__item.is-active {
  transform: translateY(0); opacity: 1; pointer-events: auto;
}
.ticker__item.is-exit {
  transform: translateY(110%); opacity: 0; pointer-events: none;
}
.ticker__item a { color: white; text-decoration: none; }
.ticker__item a:hover { text-decoration: underline; }

/* ─── HERO ─── */
.hero-post { position: relative; width: 100%; height: 520px; overflow: hidden; }
.hero-post__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-post__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 55%, rgba(0,0,0,0.05) 100%);
}
.hero-post__content-wrap { position: absolute; inset: 0; display: flex; align-items: flex-end; }
.hero-post__content { width: 100%; max-width: 1200px; margin: 0 auto; padding: 2.5rem 3rem; }
.hero-post__cat {
  display: inline-block; background: var(--green); color: white;
  font-family: var(--font-b); font-size: 0.68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.28rem 0.75rem; border-radius: 4px; margin-bottom: 0.9rem;
}
.hero-post__title {
  font-family: var(--font-h); font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  font-weight: 900; color: white; line-height: 1.13;
  max-width: 760px; margin-bottom: 0.85rem;
}
.hero-post__excerpt {
  font-family: var(--font-b); font-size: 0.95rem; font-weight: 600;
  color: rgba(255,255,255,0.72); max-width: 600px; margin-bottom: 1rem; line-height: 1.5;
}
.hero-post__meta {
  font-family: var(--font-b); font-size: 0.75rem; font-weight: 700;
  color: rgba(255,255,255,0.5); display: flex; align-items: center; gap: 0.45rem;
}
.hero-post__meta-sep { opacity: 0.35; }
.hero-post__read-more {
  display: inline-block; margin-top: 1.25rem;
  background: var(--green); color: white;
  font-family: var(--font-b); font-size: 0.78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.6rem 1.4rem; border-radius: 5px;
  transition: background .2s, transform .2s;
}
.hero-post__read-more:hover { background: var(--green-dark); transform: translateY(-1px); }

/* ─── LAYOUT ─── */
.page-content { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ─── SECTION ─── */
.section { padding: 2.5rem 0; }
.section + .section { border-top: 1px solid var(--border); }
.section__header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.section__title {
  font-family: var(--font-h); font-size: 1rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--black);
  padding-left: 0.75rem; border-left: 4px solid var(--green);
}
.section__link {
  margin-left: auto; font-family: var(--font-b); font-size: 0.75rem;
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green);
}
.section__link:hover { text-decoration: underline; }

/* ─── GRIDS ─── */
.news-grid         { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.news-grid--2col   { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.news-grid--featured { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; }

/* ─── CARD PADRÃO ─── */
.card { display: flex; flex-direction: column; }
.card__img-wrap {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  border-radius: 6px; background: var(--gray-light); display: block;
}
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card:hover .card__img { transform: scale(1.05); }
.card__img-placeholder {
  width: 100%; height: 100%; background: var(--gray-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-mid); font-size: 2rem;
}
.card__cat {
  position: absolute; top: 0.6rem; left: 0.6rem;
  background: var(--green); color: white;
  font-family: var(--font-b); font-size: 0.6rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem; border-radius: 3px;
}
.card__body { padding: 0.75rem 0 0; flex: 1; }
.card__title {
  font-family: var(--font-h); font-size: 0.98rem; font-weight: 700;
  color: var(--black); line-height: 1.3; margin-bottom: 0.4rem;
  display: block; transition: color .15s;
}
.card__title:hover { color: var(--green); }
.card__excerpt {
  font-family: var(--font-b); font-size: 0.82rem; font-weight: 600;
  color: var(--gray-mid); line-height: 1.5; margin-bottom: 0.5rem;
}
.card__meta {
  font-family: var(--font-b); font-size: 0.72rem; font-weight: 700;
  color: var(--gray-mid); display: flex; align-items: center; gap: 0.4rem;
}

/* ─── CARD DESTAQUE (seções) ─── */
.card--featured .card__img-wrap { aspect-ratio: 4/3; }
.card--featured .card__title { font-size: 1.3rem; font-weight: 800; }
.card--featured .card__excerpt { font-size: 0.9rem; }

/* ─── CARD PEQUENO (sidebar stack) ─── */
.card-stack { display: flex; flex-direction: column; gap: 1.1rem; }
.card--small { flex-direction: row; gap: 0.85rem; align-items: flex-start; }
.card--small .card__img-wrap { width: 115px; min-width: 115px; aspect-ratio: 4/3; border-radius: 5px; }
.card--small .card__body { padding: 0; }
.card--small .card__title { font-size: 0.84rem; font-weight: 700; }
.card--small .card__cat {
  position: static; display: inline-block;
  margin-bottom: 0.3rem; font-size: 0.57rem; padding: 0.15rem 0.45rem;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem;
  font-family: var(--font-b); font-size: 0.74rem; font-weight: 700;
  color: var(--gray-mid); display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap;
}
.breadcrumb a { color: var(--gray-mid); transition: color .15s; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb__sep { opacity: 0.35; }
.breadcrumb__current { color: var(--gray-dark); }

/* ─── ARTIGO (single) ─── */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }
.article-header { padding: 0.5rem 0 1.5rem; }
.article-cat {
  display: inline-block; background: var(--green); color: white;
  font-family: var(--font-b); font-size: 0.68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.28rem 0.75rem; border-radius: 4px; margin-bottom: 1rem;
}
.article-title {
  font-family: var(--font-h); font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900; color: var(--black); line-height: 1.13; margin-bottom: 1rem;
}
.article-subtitle {
  font-family: var(--font-b); font-size: 1.05rem; font-weight: 600;
  color: var(--gray-mid); line-height: 1.6; margin-bottom: 1.25rem;
  border-left: 3px solid var(--green); padding-left: 1rem;
}
.article-meta {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 1rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  font-family: var(--font-b); font-size: 0.77rem; font-weight: 700; color: var(--gray-mid);
}
.meta-author { display: flex; align-items: center; gap: 0.55rem; }
.author-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--green-light); border: 2px solid var(--green);
  overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h); font-size: 0.85rem; font-weight: 800; color: var(--green-dark);
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { color: var(--black); font-weight: 800; }
.meta-sep { opacity: 0.25; }
.share-btns { margin-left: auto; display: flex; gap: 0.5rem; }
.share-btn {
  font-family: var(--font-b); font-size: 0.68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.38rem 0.85rem; border-radius: 4px; border: none; cursor: pointer;
  transition: opacity .15s, transform .15s;
}
.share-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.share-btn--wa { background: #25D366; color: white; }
.share-btn--ig { background: #E1306C; color: white; }

/* ─── IMAGEM DESTAQUE DO ARTIGO ─── */
.article-featured-img { width: 100%; max-width: 1200px; margin: 1.5rem auto; padding: 0 1.5rem; }
.article-featured-img img { width: 100%; border-radius: 8px; }
.article-featured-img figcaption {
  font-family: var(--font-b); font-size: 0.75rem; font-weight: 600;
  color: var(--gray-mid); margin-top: 0.5rem; text-align: center; font-style: italic;
}

/* ─── CORPO DO ARTIGO ─── */
.article-body { padding: 1.5rem 0 2rem; }
.article-body p {
  font-family: var(--font-b); font-size: 1rem;
  color: var(--gray-dark); line-height: 1.85; margin-bottom: 1.3rem;
}
.article-body h2 {
  font-family: var(--font-h); font-size: 1.4rem; font-weight: 800;
  color: var(--black); margin: 2rem 0 0.75rem;
  padding-bottom: 0.5rem; border-bottom: 2px solid var(--green-light);
}
.article-body h3 {
  font-family: var(--font-h); font-size: 1.1rem; font-weight: 700;
  color: var(--black); margin: 1.5rem 0 0.5rem;
}
.article-body a { color: var(--green); text-decoration: underline; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1.3rem; list-style: disc; }
.article-body li { font-family: var(--font-b); color: var(--gray-dark); line-height: 1.75; margin-bottom: 0.3rem; }
.article-body strong { font-weight: 800; color: var(--black); }
.article-body img { border-radius: 6px; margin: 1.5rem 0; }
.article-body figcaption {
  font-family: var(--font-b); font-size: 0.75rem; color: var(--gray-mid);
  font-weight: 600; margin-top: -1rem; margin-bottom: 1.5rem; font-style: italic;
}

/* Pullquote */
.pullquote {
  font-family: var(--font-h); font-size: 1.25rem; font-weight: 700;
  font-style: italic; color: var(--green-dark);
  border-left: 4px solid var(--green);
  padding: 1rem 1.25rem; margin: 2rem 0;
  line-height: 1.45; background: var(--green-light);
  border-radius: 0 6px 6px 0;
}
.pullquote small {
  display: block; font-size: 0.8rem; opacity: 0.65;
  margin-top: 0.5rem; font-style: normal; font-weight: 600;
}
.wp-block-pullquote { border-top: 4px solid var(--green); border-bottom: 4px solid var(--green); padding: 1.5rem 0; margin: 2rem 0; }
.wp-block-pullquote blockquote p { font-family: var(--font-h); font-size: 1.3rem; font-weight: 700; font-style: italic; color: var(--green-dark); text-align: left; }
.wp-block-pullquote cite { font-family: var(--font-b); font-size: 0.8rem; color: var(--gray-mid); font-style: normal; }

/* Info box */
.info-box {
  background: var(--green-light); border-left: 4px solid var(--green);
  padding: 1rem 1.25rem; border-radius: 0 6px 6px 0; margin: 1.5rem 0;
}
.info-box__title {
  font-family: var(--font-h); font-size: 0.82rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--green-dark); margin-bottom: 0.5rem;
}
.wp-block-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.wp-block-table td, .wp-block-table th { padding: 0.6rem 0.8rem; border: 1px solid var(--border); font-family: var(--font-b); font-size: 0.9rem; }
.wp-block-table th { background: var(--green-light); font-weight: 800; color: var(--black); }

/* ─── TAGS ─── */
.article-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 1.5rem 0; border-top: 1px solid var(--border); }
.tag {
  font-family: var(--font-b); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-dark);
  border: 1.5px solid var(--border); padding: 0.3rem 0.8rem;
  border-radius: 20px; transition: all .15s;
}
.tag:hover { background: var(--green); color: white; border-color: var(--green); }

/* ─── LEIA TAMBÉM ─── */
.related-section { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem 3rem; border-top: 3px solid var(--green); }
.related-title {
  font-family: var(--font-h); font-size: 1rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--black);
  padding-left: 0.75rem; border-left: 4px solid var(--green); margin-bottom: 1.5rem;
}

/* ─── ARCHIVE ─── */
.archive-header { padding: 2rem 1.5rem 0; max-width: 1200px; margin: 0 auto; }
.archive-label {
  font-family: var(--font-b); font-size: 0.7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--green); margin-bottom: 0.4rem;
}
.archive-title {
  font-family: var(--font-h); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900;
  color: var(--black); margin-bottom: 0.5rem;
}
.archive-description { font-family: var(--font-b); font-size: 0.9rem; color: var(--gray-mid); font-weight: 600; }
.archive-divider { max-width: 1200px; margin: 1.5rem auto 0; border: none; border-top: 3px solid var(--green); }

/* ─── PÁGINA ESTÁTICA ─── */
.page-article { max-width: 760px; margin: 2rem auto; padding: 0 1.5rem 3rem; }
.page-title { font-family: var(--font-h); font-size: 2rem; font-weight: 900; color: var(--black); margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 3px solid var(--green); }
.page-content-body p { font-family: var(--font-b); font-size: 1rem; color: var(--gray-dark); line-height: 1.85; margin-bottom: 1.3rem; }

/* ─── 404 ─── */
.not-found { text-align: center; padding: 6rem 1.5rem; }
.not-found__code { font-family: var(--font-h); font-size: 8rem; font-weight: 900; color: var(--green-light); line-height: 1; margin-bottom: 1rem; }
.not-found__title { font-family: var(--font-h); font-size: 1.8rem; font-weight: 800; color: var(--black); margin-bottom: 1rem; }
.not-found__text { font-family: var(--font-b); font-size: 1rem; color: var(--gray-mid); font-weight: 600; margin-bottom: 2rem; }
.btn-green {
  display: inline-block; background: var(--green); color: white;
  font-family: var(--font-b); font-size: 0.85rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.75rem 1.75rem; border-radius: 5px;
  transition: background .2s, transform .2s;
}
.btn-green:hover { background: var(--green-dark); transform: translateY(-1px); }

/* ─── FOOTER ─── */
.site-footer { background: var(--black); margin-top: 3rem; }
.footer-top {
  max-width: 1200px; margin: 0 auto; padding: 2.5rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo__img { height: 80px; width: auto; display: block; border-radius: 50%; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a {
  font-family: var(--font-b); font-size: 0.78rem; font-weight: 700;
  color: rgba(255,255,255,0.45); transition: color .15s;
}
.footer-links a:hover { color: var(--green); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding: 1.2rem 1.5rem;
  font-family: var(--font-b); font-size: 0.72rem; font-weight: 600;
  color: rgba(255,255,255,0.3);
}

/* ─── WORDPRESS: ALINHAMENTOS ─── */
.aligncenter { display: block; margin: 1.5rem auto; }
.alignleft { float: left; margin: 0.5rem 1.5rem 1rem 0; }
.alignright { float: right; margin: 0.5rem 0 1rem 1.5rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-family: var(--font-b); font-size: 0.75rem; color: var(--gray-mid); font-style: italic; margin-top: 0.4rem; }

/* ─── ADMIN BAR (WordPress logado) ─── */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* ─── MENU HAMBÚRGUER ─── */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; margin-left: auto; flex-shrink: 0;
  background: none; border: 1.5px solid var(--border); border-radius: 6px;
  cursor: pointer; padding: 10px;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px;
  background: var(--black); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── RESPONSIVO ─── */

/* Tablet grande: ≤ 1024px */
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid--featured { grid-template-columns: 1fr 1fr; }
}

/* Tablet / Mobile grande: ≤ 768px */
@media (max-width: 768px) {
  /* Header */
  .header-inner { height: 72px; padding: 0 1.25rem; gap: 0.75rem; }
  .site-logo__img { height: 56px; }

  /* Hamburger visível */
  .nav-toggle { display: flex; }

  /* Nav mobile */
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-top: 2px solid var(--green);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12); z-index: 200;
    display: none; margin-left: 0;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav a,
  .site-nav ul li a {
    height: auto; padding: 1rem 1.5rem; width: 100%; justify-content: flex-start;
    border-bottom: 1px solid var(--border); border-left: 4px solid transparent;
    margin-bottom: 0;
  }
  .site-nav a:hover,
  .site-nav ul li a:hover,
  .site-nav ul li.current-menu-item > a,
  .site-nav ul li.current-menu-ancestor > a {
    border-left-color: var(--green); border-bottom-color: var(--border); color: var(--green);
  }

  /* Hero */
  .hero-post { height: 380px; }
  .hero-post__content { padding: 1.5rem 1.25rem; }

  /* Grids */
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
  .news-grid--featured { grid-template-columns: 1fr; }
  .news-grid--2col { grid-template-columns: 1fr; }
  .card-stack { flex-direction: row; flex-wrap: wrap; gap: 1rem; }
  .card--small { flex: 1 1 calc(50% - 0.5rem); flex-direction: column; }
  .card--small .card__img-wrap { width: 100%; min-width: unset; aspect-ratio: 16/9; }
  .card--small .card__body { padding: 0.5rem 0 0; }

  /* Article */
  .article-meta { flex-wrap: wrap; }
  .share-btns { margin-left: 0; width: 100%; }

  /* Related */
  .related-section .news-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile: ≤ 480px */
@media (max-width: 480px) {
  /* Header */
  .header-inner { height: 64px; padding: 0 1rem; }
  .site-logo__img { height: 48px; }

  /* Ticker */
  .ticker { padding: 0 1rem; gap: 0.75rem; }

  /* Hero */
  .hero-post { height: 260px; }
  .hero-post__content { padding: 1rem; }

  /* Grids → 1 coluna */
  .news-grid { grid-template-columns: 1fr; gap: 1rem; }
  .news-grid--featured { grid-template-columns: 1fr; }
  .card-stack { flex-direction: column; gap: 1rem; }
  .card--small { flex: none; flex-direction: row; }
  .card--small .card__img-wrap { width: 110px; min-width: 110px; aspect-ratio: 4/3; }
  .card--small .card__body { padding: 0; }

  /* Página / seções */
  .page-content { padding: 0 1rem; }
  .section { padding: 1.5rem 0; }

  /* Article */
  .article-wrap { padding: 0 1rem; }
  .article-featured-img { padding: 0 1rem; }
  .breadcrumb { padding: 0.75rem 1rem; }

  /* Archive */
  .archive-header { padding: 1.5rem 1rem 0; }

  /* Footer */
  .footer-top { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .footer-links { gap: 1rem; }
  .footer-bottom { font-size: 0.68rem; }

  /* Related */
  .related-section { padding: 1.5rem 1rem 2rem; }
  .related-section .news-grid { grid-template-columns: 1fr; }

  /* 404 */
  .not-found__code { font-size: 5rem; }
  .not-found { padding: 4rem 1rem; }
}
