/* =========================================================
   Gazeta Notícias · CSS do tema gazeta-2026
   Desenvolvido por Pipa Marketing · outubro de 2026
   ========================================================= */

/* ---------- Fontes ----------
   As @font-face saem inline no <head> (inc/assets.php), apontando para assets/fonts. */

/* ---------- Tokens ---------- */
:root {
  --navy: #2D2E4A;          /* Azul Gazeta, medido no logo */
  --navy-deep: #1F2036;     /* barra superior e rodapé */
  --navy-mid: #3B3D5E;
  --gold: #B5A66B;          /* PANTONE 4515 C, só em fundo azul ou decorativo */
  --gold-text: #7A6418;
  --gold-light: #D9C98A;
  --gold-tint: #F3EFDF;
  --paper: #F7F7F7;
  --white: #FFFFFF;
  --ink: #17181F;
  --text: #2B2C33;
  --text-2: #3D3F4D;
  --muted: #5C5E6E;
  --muted-2: #6B6D7C;
  --line: #E2E2E8;
  --line-2: #D6D7E0;
  --line-input: #848694;    /* borda de campo: 3,61:1 sobre branco */
  --on-dark: #D5D6E2;
  --on-dark-2: #B9BBD0;
  --urgent: #C8102E;
  --ph: #DCDDE6;

  /* Anúncios */
  --ad-premium-bg: #F3EFDF; --ad-premium-line: #B5A66B; --ad-premium-ink: #5A4A10;
  --ad-adsense-bg: #EAF0F8; --ad-adsense-line: #7F97BC; --ad-adsense-ink: #163F75;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: 32px;
}

/* Cor por editoria: --ed (texto), --ed-rule (fio), --ed-tint (fundo de foto) */
.ed-df       { --ed: #7A6418; --ed-rule: #B5A66B; --ed-tint: #E6DFC4; --ed-tint-ink: #4F4210; }
.ed-politica { --ed: #2D2E4A; --ed-rule: #2D2E4A; --ed-tint: #D6D7E3; --ed-tint-ink: #2D2E4A; }
.ed-brasil   { --ed: #1D5FB4; --ed-rule: #1D5FB4; --ed-tint: #D3DFEF; --ed-tint-ink: #163F75; }
.ed-mundo    { --ed: #6A3D9A; --ed-rule: #6A3D9A; --ed-tint: #DDD3E8; --ed-tint-ink: #4B2A70; }
.ed-economia { --ed: #B0470C; --ed-rule: #B0470C; --ed-tint: #EED9CB; --ed-tint-ink: #7A3108; }
.ed-esporte  { --ed: #0B7A3E; --ed-rule: #0B7A3E; --ed-tint: #CFE3D6; --ed-tint-ink: #0A5A2F; }
.ed-saude    { --ed: #B0275E; --ed-rule: #B0275E; --ed-tint: #EED3DE; --ed-tint-ink: #7D1B43; }
.ed-neutra   { --ed: #2D2E4A; --ed-rule: #2D2E4A; --ed-tint: #D6D7E3; --ed-tint-ink: #2D2E4A; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid transparent; outline-offset: 2px; box-shadow: 0 0 0 2px var(--white), 0 0 0 5px var(--navy); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--navy); color: var(--white); padding: 10px 14px; z-index: 100; }
.skip-link:focus { top: 12px; }

.container { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Tipografia utilitária ---------- */
.kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  font-stretch: 87.5%;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ed, var(--navy));
}
.hl { font-family: var(--serif); color: var(--ink); }
.hl-xl { font-size: 46px; font-weight: 800; line-height: 1.06; letter-spacing: -.01em; }
.hl-l  { font-size: 25px; font-weight: 700; line-height: 1.14; }
.hl-m  { font-size: 22px; font-weight: 700; line-height: 1.18; }
.hl-s  { font-size: 18px; font-weight: 600; line-height: 1.28; }
.dek { font-family: var(--serif); font-size: 20px; line-height: 1.4; color: var(--text-2); }
.meta { font-size: 13px; color: var(--muted); }

/* ---------- Placeholder de foto ---------- */
.ph {
  position: relative;
  background: var(--ed-tint, var(--ph));
  aspect-ratio: 16 / 9;
  width: 100%;
}
.ph--3x2 { aspect-ratio: 3 / 2; }
.ph__label {
  position: absolute; left: 10px; bottom: 10px;
  font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ed-tint-ink, var(--navy));
  background: rgba(255,255,255,.75);
  padding: 4px 7px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 16px;
  border-radius: 4px; border: 1px solid transparent;
  font-family: var(--sans); font-size: 14px; font-weight: 700;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-mid); }
.btn--outline { background: var(--white); color: var(--navy); border-color: var(--line-2); }
.btn--outline-strong { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--block { width: 100%; }
.icon-btn { width: 44px; padding: 0; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--navy-deep); color: var(--on-dark); font-size: 13px; }
.topbar__inner { min-height: 38px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.topbar__links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar__links a { color: var(--on-dark); }
.topbar__links .is-highlight { color: var(--gold-light); font-weight: 600; }
.social { display: flex; gap: 14px; align-items: center; }
.social a { display: flex; color: inherit; }

/* ---------- Cabeçalho ---------- */
.site-header { background: var(--white); position: relative; z-index: 20; }
.site-header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 112px; }
.site-header__left { display: flex; gap: 8px; }
.site-header__logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: block; }
.site-header__logo img { height: 76px; width: auto; }
.site-header--compact .site-header__inner { min-height: 82px; }
.site-header--compact .site-header__logo img { height: 58px; }
.btn-menu__label { display: inline; }

/* ---------- Menu lateral e busca ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; display: none; }
.drawer.is-open { display: block; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(23,24,31,.5); }
.drawer__panel {
  position: absolute; top: 0; left: 0; bottom: 0; width: min(340px, 88vw);
  background: var(--white); padding: 20px 24px 32px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 22px;
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__head img { height: 44px; width: auto; }
.drawer__list a { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-stretch: 87.5%; letter-spacing: .05em; text-transform: uppercase; font-size: 14px; color: var(--navy); }
.drawer__list a::before { content: ""; width: 10px; height: 10px; background: var(--ed-rule, var(--navy)); flex: 0 0 10px; }
.drawer__title { font-size: 12px; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.drawer__small a { display: block; padding: 8px 0; font-size: 14px; color: var(--text-2); }

.search-bar { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.search-bar.is-open { display: block; }
.search-bar form { display: flex; gap: 8px; padding-top: 14px; padding-bottom: 14px; }
.search-bar input { flex: 1 1 auto; min-height: 46px; border: 1px solid var(--line-input); border-radius: 4px; padding: 0 14px; font: 16px var(--sans); background: var(--white); }

/* ---------- Navegação por editoria ---------- */
.nav-ed { border-top: 1px solid var(--line); border-bottom: 3px solid var(--navy); background: var(--white); }
.site-header--compact + .nav-ed { border-bottom-width: 1px; border-bottom-color: var(--line); }
.nav-ed ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 30px; }
.nav-ed a {
  display: block; padding: 14px 0 11px; margin-bottom: -3px;
  font-size: 14px; font-weight: 700; font-stretch: 87.5%; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); border-bottom: 3px solid transparent;
}
.nav-ed a:hover { text-decoration: none; border-bottom-color: var(--ed-rule, var(--navy)); }
.nav-ed a[aria-current="page"] { color: var(--ed); border-bottom-color: var(--ed-rule); }

/* ---------- Faixa AGORA ---------- */
.agora { border-bottom: 1px solid var(--line); }
.agora__inner { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; overflow: hidden; white-space: nowrap; font-size: 14px; }
.badge-agora { flex: 0 0 auto; background: var(--urgent); color: var(--white); font-weight: 800; font-size: 12px; letter-spacing: .08em; padding: 5px 9px; border-radius: 3px; }
.agora a { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.agora__sep { color: #B9BBC8; }

/* ---------- Publicidade ---------- */
.ad { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ad__label { font-size: 10px; letter-spacing: .14em; color: var(--muted-2); }
.ad__slot {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  max-width: 100%; text-align: center; padding: 0 16px; font-size: 13px;
  border: 2px dashed var(--ad-adsense-line); background: var(--ad-adsense-bg); color: var(--ad-adsense-ink);
}
.ad__slot strong { font-size: 12px; letter-spacing: .1em; }
.ad__slot--premium { border-color: var(--ad-premium-line); background: var(--ad-premium-bg); color: var(--ad-premium-ink); }
.ad__slot--billboard { width: 970px; height: 250px; }
.ad__slot--superbanner { width: 970px; height: 90px; }
.ad__slot--leaderboard { width: 728px; height: 90px; }
.ad__slot--rect { width: 300px; height: 250px; }
.ad__slot--rect-l { width: 336px; height: 280px; }
.ad__slot--halfpage { width: 300px; height: 600px; }
.ad__slot--infeed { width: 100%; min-height: 120px; }
.ad__slot--multiplex { width: 100%; min-height: 300px; }
.ad-band { background: #F4F4F6; padding: 14px var(--gutter) 18px; }
.ad-band--plain { background: transparent; padding-top: 32px; padding-bottom: 4px; }
.ad--infeed { align-items: stretch; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ad--infeed .ad__label { align-self: flex-start; }

.sponsor { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.sponsor__logo { width: 96px; height: 32px; border: 1px solid var(--navy); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; letter-spacing: 0; color: var(--navy); background: var(--white); }
.sponsor--dark { color: var(--on-dark-2); }
.sponsor--dark .sponsor__logo { border-color: var(--on-dark-2); color: var(--white); background: transparent; }
.sponsor--lg .sponsor__logo { width: 120px; height: 40px; }

.only-mobile { display: none !important; }

/* ---------- Cabeçalho de seção ---------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 4px solid var(--ed-rule, var(--navy)); padding-top: 10px; margin-bottom: 16px; }
.section-head h2 { font-size: 16px; font-weight: 800; font-stretch: 87.5%; letter-spacing: .06em; text-transform: uppercase; color: var(--ed, var(--navy)); }
.section-head a { font-size: 13px; font-weight: 600; color: var(--ed, var(--navy)); }

/* ---------- Destaques ---------- */
.hero { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 28px; padding-bottom: 8px; }
.hero__main { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.hero__side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.related { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
.related li { display: flex; gap: 10px; align-items: baseline; font-size: 16px; font-weight: 600; line-height: 1.35; }
.related li::before { content: ""; width: 6px; height: 6px; flex: 0 0 6px; background: var(--gold); transform: translateY(-2px); }

.card-side { display: grid; gap: 10px; grid-template-areas: "media" "kicker" "title"; }
.card-side + .card-side { border-top: 1px solid var(--line); padding-top: 18px; }
.card-side .ph { grid-area: media; }
.card-side .kicker { grid-area: kicker; }
.card-side h3 { grid-area: title; }
.card-side--text { grid-template-areas: "kicker" "title"; gap: 8px; }
.card-side--text h3 { font-size: 21px; line-height: 1.2; }

/* ---------- Faixas de editoria ---------- */
.strip { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 36px; padding-bottom: 8px; }
.strip__col { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; }
.strip__lead { display: flex; flex-direction: column; gap: 10px; padding-bottom: 14px; }
.strip__link { display: block; border-top: 1px solid var(--line); padding: 12px 0; font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.28; }
.strip .sponsor { margin: -4px 0 14px; }
.strip > .ad { flex: 1 1 100%; }

/* ---------- Últimas + lateral ---------- */
.split { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 36px; padding-bottom: 40px; }
.split__main { flex: 2 1 560px; min-width: 0; }
.split__aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.feed-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) 168px; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.feed-item__time { font-size: 13px; color: var(--muted); line-height: 1.3; }
.feed-item__time strong { display: block; color: var(--ink); font-size: 15px; }
.feed-item__body { display: flex; flex-direction: column; gap: 6px; }
.feed-item__body h3 { font-size: 21px; line-height: 1.2; font-weight: 700; }
.feed-more { margin-top: 20px; }

.most-read li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.most-read li:last-child { border-bottom: 0; }
.most-read__n { font-family: var(--serif); font-weight: 800; font-size: 40px; line-height: .9; color: var(--gold-text); flex: 0 0 30px; }
.most-read a { font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.28; }
.section-head--plain { margin-bottom: 6px; }

.cta-whats { background: var(--gold-tint); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.cta-whats p { font-family: var(--serif); font-size: 21px; font-weight: 700; line-height: 1.2; }
.cta-whats .form-inline { flex: none; }
.cta-whats .field { flex: 1 1 100%; }
.cta-whats .form-note { font-family: var(--sans); font-size: 13px; font-weight: 400; }

/* ---------- Faixas escuras ---------- */
.band { color: var(--white); }
.band--coluna { background: var(--navy); }
.band--podcast { background: var(--navy-deep); }
.band__inner { padding-top: 48px; padding-bottom: 52px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.band__intro { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.band__label { font-size: 12px; font-weight: 700; font-stretch: 87.5%; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); }
.band__title { font-family: var(--serif); font-weight: 800; font-size: 44px; line-height: 1; }
.columnist { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.avatar { border-radius: 50%; background: var(--line-2); flex: 0 0 auto; }
.columnist .avatar { width: 56px; height: 56px; background: #4A4C6E; }
.columnist span { display: block; font-size: 13px; color: var(--on-dark-2); }
.band__notes { flex: 2 1 560px; min-width: 0; display: flex; flex-wrap: wrap; gap: 24px; }
.note { flex: 1 1 200px; border-top: 2px solid var(--gold); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.note time { font-size: 12px; color: var(--on-dark-2); }
.note h3 { font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1.22; }

.podcast__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; flex: 1 1 100%; }
.podcast__head h2 { font-size: 16px; font-weight: 800; font-stretch: 87.5%; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-light); }
.podcast__head-l { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.podcast__main { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.podcast__list { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--navy-mid); display: flex; align-items: center; justify-content: center; border: 0; width: 100%; color: var(--navy); }
.video__play { width: 76px; height: 76px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; }
.video__note { position: absolute; left: 12px; bottom: 12px; font-size: 10px; font-weight: 600; letter-spacing: .1em; color: var(--white); background: rgba(0,0,0,.45); padding: 4px 7px; }
.ep { display: flex; gap: 14px; align-items: flex-start; }
.ep .thumb { flex: 0 0 140px; aspect-ratio: 16 / 9; background: var(--navy-mid); }
.ep h3 { font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 1.28; }

/* ---------- Colunistas ---------- */
.columnists { padding-top: 40px; padding-bottom: 48px; }
.columnists__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.col-card { display: flex; gap: 14px; align-items: flex-start; background: #F4F4F6; padding: 18px; }
.col-card .avatar { width: 64px; height: 64px; background: #D6D7E3; }
.col-card__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.col-card a { font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 1.28; margin-top: 4px; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--gold-tint); }
.newsletter__inner { padding-top: 44px; padding-bottom: 44px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.newsletter__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.newsletter__text h2 { font-family: var(--serif); font-weight: 800; font-size: 34px; line-height: 1.1; }
.newsletter form, .form-inline { flex: 1 1 420px; min-width: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.field { flex: 1 1 240px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.field input { min-height: 48px; padding: 0 14px; border: 1px solid var(--line-input); border-radius: 4px; font: 16px var(--sans); background: var(--white); }
.form-note { flex: 1 1 100%; font-size: 13px; color: var(--muted); min-height: 1em; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark); }
.site-footer__inner { padding-top: 52px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 36px; }
.site-footer__cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.site-footer__brand { flex: 1 1 260px; display: flex; flex-direction: column; gap: 16px; }
.site-footer__brand img { width: 200px; height: auto; }
.site-footer__brand p { font-size: 14px; color: var(--on-dark-2); max-width: 300px; }
.site-footer nav { flex: 1 1 160px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer nav strong { font-size: 12px; letter-spacing: .1em; color: var(--gold-light); }
.site-footer__bottom { border-top: 1px solid var(--navy-mid); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; align-items: center; font-size: 13px; color: var(--on-dark-2); }
.site-footer__legal { display: flex; flex-direction: column; gap: 4px; }
.credit { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 12px; letter-spacing: .04em; color: var(--on-dark-2); }
.credit:hover { text-decoration: none; color: var(--white); }
.credit img { height: 34px; width: auto; }

/* ---------- Matéria ---------- */
.breadcrumb { font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.breadcrumb a:last-child { color: var(--ed); font-weight: 600; }
.article-wrap { padding-top: 24px; padding-bottom: 56px; }
.article-layout { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.article { flex: 999 1 600px; min-width: 0; max-width: 780px; display: flex; flex-direction: column; gap: 18px; }
.article h1 { font-family: var(--serif); font-weight: 800; font-size: 50px; line-height: 1.05; letter-spacing: -.01em; }
.article .dek { font-size: 22px; line-height: 1.42; }
.byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; }
.byline__who { display: flex; align-items: center; gap: 12px; }
.byline__who .avatar { width: 48px; height: 48px; background: #D6D7E3; }
.byline__names { display: flex; flex-direction: column; gap: 3px; font-size: 14px; }
.byline__names a { font-weight: 700; color: var(--navy); }
.share { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.share__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: var(--navy); background: var(--white); }
.share__btn:hover { background: #F4F4F6; }
.share__gn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 22px; background: #F4F4F6; font-size: 13px; font-weight: 700; color: var(--navy); }
.share__wa-m { display: none; }
.article figure { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.article figcaption { font-size: 13px; line-height: 1.45; color: var(--muted); }
.article-body { display: flex; flex-direction: column; gap: 22px; font-family: var(--serif); font-size: 20px; line-height: 1.62; color: var(--text); }
.article-body h2 { font-family: var(--serif); font-weight: 800; font-size: 28px; line-height: 1.15; color: var(--ink); margin-top: 8px; }
.read-also { border-top: 3px solid var(--gold); background: var(--paper); padding: 16px 20px; display: flex; flex-direction: column; gap: 6px; font-family: var(--sans); }
.read-also .kicker { font-size: 12px; }
.read-also a { font-family: var(--serif); font-size: 19px; font-weight: 700; line-height: 1.25; color: var(--ink); }
.article-body .ad { padding: 8px 0; font-family: var(--sans); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.tag { border: 1px solid var(--line-2); color: var(--navy); font-size: 13px; padding: 7px 12px; border-radius: 20px; }
.transparency { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.transparency a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.author-box { display: flex; gap: 18px; align-items: flex-start; background: var(--paper); padding: 22px; }
.author-box .avatar { width: 72px; height: 72px; background: #D6D7E3; }
.author-box__body { display: flex; flex-direction: column; gap: 6px; }
.author-box p { font-size: 14px; color: var(--text-2); }
.author-box a { font-size: 13px; font-weight: 700; color: var(--navy); }
.cta-band { background: var(--navy); color: var(--white); padding: 22px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.cta-band p { font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1.2; flex: 1 1 280px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.related-grid article { display: flex; flex-direction: column; gap: 8px; }
.related-grid h3 { font-family: var(--serif); font-weight: 700; font-size: 18px; line-height: 1.22; }
.article-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.sticky-ad { position: sticky; top: 24px; }

/* ---------- Editoria ---------- */
.ed-hero { background: #F7F5EC; border-bottom: 1px solid #E6DFC4; }
.ed-hero__inner { padding-top: 36px; display: flex; flex-direction: column; gap: 14px; }
.ed-hero .breadcrumb { margin-bottom: 0; }
.ed-hero h1 { font-family: var(--serif); font-weight: 800; font-size: 60px; line-height: 1; }
.ed-hero p { max-width: 720px; font-family: var(--serif); font-size: 20px; line-height: 1.45; color: var(--text-2); }
.subnav { display: flex; flex-wrap: wrap; gap: 4px 26px; font-size: 14px; font-weight: 700; margin-top: 10px; }
.subnav a { padding: 12px 0; color: var(--navy); border-bottom: 3px solid transparent; display: block; }
.subnav a[aria-current="page"] { color: var(--gold-text); border-bottom-color: var(--gold); }
.ed-main { padding-top: 32px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 40px; }
.ed-highlights { display: flex; flex-wrap: wrap; gap: 32px; }
.ed-highlights__main { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.ed-highlights__main h2 { font-family: var(--serif); font-weight: 800; font-size: 38px; line-height: 1.08; }
.list-item { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.list-item__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.list-item__body h3 { font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1.2; }
.list-item .ph { flex: 0 0 200px; width: 200px; }
.ed-list .ad { padding: 20px 0; border-bottom: 1px solid var(--line); }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin-top: 28px; font-size: 14px; font-weight: 700; }
.pagination a, .pagination span { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); border-radius: 4px; color: var(--navy); padding: 0 12px; }
.pagination [aria-current="page"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pagination .gap { border: 0; color: var(--muted); min-width: 0; padding: 0 4px; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1023px) {
  :root { --gutter: 24px; }
  .hl-xl { font-size: 38px; }
  .article h1 { font-size: 42px; }
}

@media (max-width: 719px) {
  :root { --gutter: 16px; }
  .only-desktop { display: none !important; }
  .only-mobile { display: flex !important; }
  .ad-band.only-mobile { display: block !important; } /* faixa do M3: o anúncio fica centrado, como o M1 */

  .topbar { display: none; }
  .site-header { border-bottom: 1px solid var(--line); }
  .site-header__inner, .site-header--compact .site-header__inner { min-height: 60px; padding-left: 8px; padding-right: 8px; }
  .site-header__left { display: contents; }
  .site-header__logo img, .site-header--compact .site-header__logo img { height: 44px; }
  .btn-menu { width: 44px; padding: 0; border: 0; }
  .btn-menu__label { display: none; }
  .btn-search { order: 3; border: 0; }
  .btn-whatsapp { display: none; }

  .nav-ed { border-top: 0; border-bottom: 0; }
  .nav-ed ul { flex-wrap: nowrap; justify-content: flex-start; gap: 8px; overflow-x: auto; padding: 10px 16px; scrollbar-width: none; }
  .nav-ed ul::-webkit-scrollbar { display: none; }
  .nav-ed a { padding: 8px 12px; margin: 0; border: 1px solid var(--line); border-radius: 20px; font-size: 13px; font-stretch: 100%; letter-spacing: 0; text-transform: none; white-space: nowrap; }
  .nav-ed a[aria-current="page"] { background: var(--gold-tint); border-color: var(--gold-tint); }
  .nav-ed .container { padding: 0; }

  .agora__sep, .agora__sep ~ a { display: none; }
  .agora__inner { gap: 10px; }
  .ad-band { padding: 12px 16px; }
  .ad__slot--billboard { width: 320px; height: 100px; }
  .ad__slot--billboard.ad__slot--mid { width: 300px; height: 250px; }
  .ad__slot--leaderboard { width: 320px; height: 100px; }
  .ad__slot span { font-size: 12px; }

  .hero { padding-top: 0; gap: 0; }
  .hero__main .ph { margin: 0 -16px; width: calc(100% + 32px); }
  .hero__main { gap: 10px; padding-bottom: 18px; }
  .hl-xl { font-size: 30px; line-height: 1.1; }
  .dek { font-size: 18px; }
  .related li { font-size: 15px; }
  .hero__side { gap: 0; }
  .card-side, .card-side + .card-side { grid-template-columns: minmax(0, 1fr) 112px; grid-template-areas: "kicker media" "title media"; gap: 6px 14px; padding: 16px 0; border-top: 1px solid var(--line); align-items: start; }
  .card-side .ph { aspect-ratio: 4 / 3; }
  .card-side .ph__label { display: none; }
  .card-side h3, .card-side--text h3 { font-size: 19px; line-height: 1.2; }
  .card-side--text { grid-template-columns: 1fr; grid-template-areas: "kicker" "title"; }

  .strip { gap: 22px; padding-top: 22px; }
  .strip > .ad { padding: 4px 0; }
  .hl-m { font-size: 22px; }
  .strip__link { font-size: 17px; }

  .split { gap: 28px; padding-top: 22px; padding-bottom: 28px; }
  .feed-item { grid-template-columns: minmax(0, 1fr) 112px; gap: 14px; }
  .feed-item__time { grid-column: 1; font-size: 12px; }
  .feed-item__time strong { display: inline; font-size: 12px; color: var(--muted); font-weight: 600; }
  .feed-item__body { grid-column: 1; grid-row: 2; }
  .feed-item .ph { grid-column: 2; grid-row: 1 / span 2; aspect-ratio: 4 / 3; }
  .feed-item__body h3 { font-size: 19px; }
  .most-read__n { font-size: 34px; flex-basis: 24px; }
  .most-read a { font-size: 17px; }

  .band__inner { padding-top: 28px; padding-bottom: 30px; gap: 20px; }
  .band__title { font-size: 32px; }
  .note h3 { font-size: 19px; }
  .ep .thumb { flex-basis: 112px; }
  .video__play { width: 60px; height: 60px; }

  .columnists { padding-top: 24px; padding-bottom: 28px; }
  .newsletter__inner { padding-top: 26px; padding-bottom: 26px; gap: 16px; }
  .newsletter__text h2 { font-size: 26px; }
  .newsletter .btn { width: 100%; }

  .site-footer__inner { padding-top: 30px; padding-bottom: 36px; gap: 22px; }
  .site-footer__cols { gap: 24px; }
  .site-footer nav.only-desktop-nav { display: none; }
  .site-footer__brand img { width: 170px; }
  .credit img { height: 30px; }

  .article-wrap { padding-top: 18px; }
  .breadcrumb { font-size: 12px; margin-bottom: 14px; }
  .article { gap: 14px; }
  .article h1 { font-size: 31px; line-height: 1.08; }
  .article .dek { font-size: 18px; }
  .byline { border-bottom: 0; padding-bottom: 0; }
  .byline__who .avatar { width: 40px; height: 40px; }
  .share { width: 100%; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
  .share__btn--wa, .share__btn--fb, .share__btn--x { display: none; }
  .share__wa-m { display: inline-flex; flex: 1 1 auto; }
  .share__btn { border-radius: 4px; }
  .share__gn { border-radius: 4px; font-size: 12px; padding: 0 12px; }
  .share__gn-long { display: none; }
  .article figure { margin-left: -16px; margin-right: -16px; }
  .article figcaption { padding: 0 16px; font-size: 12px; }
  .article-body { font-size: 18px; gap: 18px; }
  .article-body h2 { font-size: 24px; }
  .read-also a { font-size: 18px; }
  .author-box { padding: 16px; gap: 14px; }
  .author-box .avatar { width: 56px; height: 56px; }
  .cta-band { flex-direction: column; align-items: stretch; padding: 18px; }
  .cta-band p { font-size: 20px; flex-basis: auto; }
  .related-grid { grid-template-columns: 1fr; gap: 0; }
  .related-grid article { display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .related-grid article .ph { grid-column: 2; grid-row: 1; aspect-ratio: 4 / 3; }
  .related-grid h3 { grid-column: 1; grid-row: 1; font-size: 17px; }
  .article-layout { gap: 28px; }

  .ed-hero__inner { padding-top: 22px; }
  .ed-hero h1 { font-size: 40px; }
  .ed-hero p { font-size: 18px; }
  .subnav { flex-wrap: nowrap; overflow-x: auto; gap: 22px; scrollbar-width: none; }
  .subnav a { white-space: nowrap; }
  .ed-highlights__main h2 { font-size: 28px; }
  .ed-highlights__main .ph { margin: 0 -16px; width: calc(100% + 32px); }
  .list-item { gap: 14px; }
  .list-item .ph { flex-basis: 112px; width: 112px; aspect-ratio: 4 / 3; }
  .list-item__body h3 { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

/* =========================================================
   WordPress: anúncios reais, fotos, texto da matéria e páginas extras
   ========================================================= */

/* Anúncio real: o espaço mantém a altura reservada, sem a moldura tracejada da diagramação. */
.ad__slot--live, .ad__slot--live.ad__slot--premium { border: 0; background: transparent; padding: 0; color: inherit; overflow: hidden; }
.ad__slot--live.ad__slot--adsense { background: var(--paper); }
.ad__slot--live > ins, .ad__slot--live > .gz-banner, .ad__slot--live > .gz-house { width: 100%; height: 100%; }
.gz-banner { display: block; }
.gz-banner img { width: 100%; height: 100%; object-fit: contain; }
.gz-house { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: var(--navy); color: var(--white); text-align: center; padding: 12px; font-family: var(--sans); }
.gz-house:hover { text-decoration: none; background: var(--navy-mid); }
.gz-house strong { font-family: var(--serif); font-size: 22px; font-weight: 800; letter-spacing: 0; }
.gz-house span { font-size: 13px; color: var(--on-dark); }
.ad--end { align-items: stretch; margin-top: 12px; }
.sponsor__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; }

/* Foto real dentro do espaço com proporção fixa. */
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ep .thumb { position: relative; overflow: hidden; }
.ep .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video { background-size: cover; background-position: center; cursor: pointer; overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
img.avatar { object-fit: cover; }

/* Classes que nas páginas estáticas estavam em estilo inline. */
.podcast__more { font-size: 13px; font-weight: 600; color: var(--white); }
.podcast__title { color: var(--white); font-size: 30px; font-weight: 700; line-height: 1.12; }
.band__title a, .podcast__title a { color: inherit; }
.newsletter .btn { min-height: 48px; }
.cta-whats .form-inline .btn { min-height: 46px; }
.byline__editor { font-weight: 600; color: inherit; }
.more-from { margin-top: 12px; }
.split--flush { padding-top: 0; padding-bottom: 0; gap: 48px; }
.col-card a.kicker { margin: 0; font-size: 12px; font-family: var(--sans); font-weight: 700; line-height: 1.5; }

/* Topo simples (busca, tag, autor, 404). */
.ed-hero--plain { background: var(--paper); border-bottom-color: var(--line); }
.ed-hero--plain .ed-hero__inner { padding-bottom: 32px; }
.ed-hero--plain h1 { font-size: 48px; }
.search-inline { display: flex; gap: 8px; max-width: 640px; margin-top: 6px; }
.search-inline input { flex: 1 1 auto; min-height: 46px; border: 1px solid var(--line-input); border-radius: 4px; padding: 0 14px; font: 16px var(--sans); background: var(--white); }
.empty-note { font-family: var(--serif); font-size: 20px; color: var(--text-2); padding: 18px 0; }
.author-hero__row { display: flex; gap: 24px; align-items: flex-start; }
.author-hero__row .avatar { width: 112px; height: 112px; flex: 0 0 112px; background: #D6D7E3; }
.author-hero__text { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.article--page h1 { font-size: 44px; }

/* Texto da matéria e das páginas: blocos do editor. */
.article-body > * { margin: 0; }
.article-body a { color: var(--navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body a:hover { text-decoration-thickness: 2px; }
.article-body .read-also a, .article-body .ad a { text-decoration: none; }
.article-body h3 { font-family: var(--serif); font-weight: 700; font-size: 23px; line-height: 1.2; color: var(--ink); }
.article-body ul, .article-body ol { padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li::marker { color: var(--gold-text); }
.article-body blockquote { border-left: 3px solid var(--ed-rule, var(--gold)); padding: 4px 0 4px 20px; font-style: italic; color: var(--text-2); }
.article-body blockquote p + p { margin-top: 12px; }
.article-body blockquote cite { display: block; margin-top: 8px; font: 13px var(--sans); font-style: normal; color: var(--muted); }
.article-body figure, .article-body .wp-block-image { display: flex; flex-direction: column; gap: 8px; }
.article-body img { height: auto; }
.article-body figcaption, .article-body .wp-caption-text { font-family: var(--sans); font-size: 13px; line-height: 1.45; color: var(--muted); }
.article-body .wp-block-embed__wrapper iframe, .article-body iframe { max-width: 100%; }
.article-body table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 15px; line-height: 1.45; }
.article-body th, .article-body td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
.article-body th { font-weight: 700; color: var(--ink); }
.article-body hr { border: 0; border-top: 1px solid var(--line); }
.article-body .correction { font-family: var(--sans); font-size: 15px; line-height: 1.5; background: var(--paper); padding: 14px 18px; border-top: 3px solid var(--urgent); }
.aligncenter { margin-left: auto; margin-right: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 719px) {
  .ed-hero--plain h1 { font-size: 34px; }
  .author-hero__row { gap: 16px; }
  .author-hero__row .avatar { width: 72px; height: 72px; flex-basis: 72px; }
  .article--page h1 { font-size: 31px; }
  .article-body h3 { font-size: 20px; }
  .search-inline .btn { padding: 0 12px; }
  .podcast__title { font-size: 24px; }
  .split--flush { gap: 28px; }
}
