/*
Theme Name: Entre a Gente
Theme URI: https://instagram.com/entreagentego
Author: Entre a Gente
Description: Tema de revista digital do Entre a Gente — cultura, notícia e bastidores feitos em Goiás. Capa com matéria em destaque, editorias, coluna de notinhas, perfis da equipe e leitura editorial.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: entre-a-gente
Tags: news, blog, custom-menu, featured-images, threaded-comments
*/

/* Revista: faixa preta de editorias, capa com manchete marcada, blocos por editoria em grade 1 + 4, coluna de notinhas em laranja. */
:root {
  --bg: #1B1620; --surface: #251F2B; --line: #3A3242;
  --text: #F3ECE4; --muted: #A99FB0; --orange: #FF7A1A; --orange-soft: #FFB27A; --on-orange: #1B1620;
  --mark: #FF7A1A; --on-mark: #1B1620;
  --ink: #0F0B12; --on-ink: #F3ECE4; --ink-accent: #FF7A1A; --ink-sep: #E8676A;
  --brand: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --head: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --body: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: "Space Mono", "SFMono-Regular", Consolas, "Courier New", monospace;
  box-sizing: border-box;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) { --bg: #F5F2F7; --surface: #FFFFFF; --line: #DDD5E2; --text: #1F1924; --muted: #6A6070; --orange: #D35A08; --orange-soft: #B8500C; --on-orange: #FFFFFF; --mark: #FFC999; --on-mark: #1F1924; --ink: #1B1620; color-scheme: light; }
}
:root[data-theme="light"] { --bg: #F5F2F7; --surface: #FFFFFF; --line: #DDD5E2; --text: #1F1924; --muted: #6A6070; --orange: #D35A08; --orange-soft: #B8500C; --on-orange: #FFFFFF; --mark: #FFC999; --on-mark: #1F1924; --ink: #1B1620; color-scheme: light; }
:root[data-theme="dark"] { --bg: #1B1620; --surface: #251F2B; --line: #3A3242; --text: #F3ECE4; --muted: #A99FB0; --orange: #FF7A1A; --orange-soft: #FFB27A; --on-orange: #1B1620; --mark: #FF7A1A; --on-mark: #1B1620; --ink: #0F0B12; color-scheme: dark; }

*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: 120px; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 1.125rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 3px; }
.wrap { width: min(1240px, 100% - 2.5rem); margin-inline: auto; }
.p { color: var(--orange); font-weight: 400; }
.marca { text-transform: lowercase; }
.tag { font-family: var(--brand); font-size: .92rem; color: var(--orange); text-decoration: none; }
.meta { font-family: var(--brand); font-size: .86rem; color: var(--muted); }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip { position: absolute; left: -9999px; top: .5rem; z-index: 100; background: var(--orange); color: var(--on-orange); padding: .6rem 1rem; border-radius: 999px; font-family: var(--brand); }
.skip:focus { left: 1rem; }
body.admin-bar header.top { top: 32px; }
@media (max-width: 782px) { body.admin-bar header.top { top: 0; } }

/* Marca-texto nas manchetes */
.hl, .card:hover .hl-hover { background: var(--mark); color: var(--on-mark); padding: .04em .2em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Selo de editoria (adesivo) */
.selo { display: inline-block; font-family: var(--mono); font-weight: 700; font-size: .72rem; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; background: var(--bg); color: var(--orange); border: 1.5px solid currentColor; padding: .3rem .55rem; text-decoration: none; }

/* Barra superior */
header.top { position: sticky; top: 0; z-index: 10; background: var(--bg); }
.top-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: .7rem 0; }
.top-social { display: flex; gap: .9rem; font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.top-social a { text-decoration: none; color: var(--muted); }
.top-social a:hover { color: var(--orange); }
.logo { font-family: var(--brand); font-weight: 800; font-size: 1.55rem; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; justify-self: center; }
.logo img, .custom-logo-link img { max-height: 48px; width: auto; display: block; }
.custom-logo-link { justify-self: center; }
.top-right { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; }
.ghost { background: none; border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: .4rem .95rem; font-family: var(--brand); font-size: .92rem; cursor: pointer; text-decoration: none; display: inline-block; line-height: 1.4; }
.ghost:hover { border-color: var(--orange); color: var(--orange); }
.theme-btn { width: 2.2rem; height: 2.2rem; padding: 0; color: var(--muted); }
.busca { position: relative; }
.busca summary { list-style: none; display: inline-flex; align-items: center; gap: .4rem; }
.busca summary::-webkit-details-marker { display: none; }
.busca[open] .busca-painel { display: block; }
.busca-painel { display: none; position: absolute; right: 0; top: calc(100% + .6rem); width: min(340px, 86vw); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: .75rem; z-index: 5; }
.search-form { display: flex; gap: .5rem; }
.search-form input[type="search"] { flex: 1; min-width: 0; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: .5rem .9rem; font: inherit; font-size: 1rem; }
.search-form button { background: var(--orange); color: var(--on-orange); border: 0; border-radius: 999px; padding: .5rem 1rem; font-family: var(--brand); font-weight: 600; cursor: pointer; }

/* Faixa de editorias */
nav.main { background: var(--ink); color: var(--on-ink); }
nav.main ul { display: flex; justify-content: center; gap: 0; list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; overflow-x: auto; scrollbar-width: none; }
nav.main ul::-webkit-scrollbar { display: none; }
nav.main li { display: flex; align-items: center; white-space: nowrap; }
nav.main li + li::before { content: "*"; color: var(--ink-sep); font-size: 1.15rem; padding: 0 .9rem; }
nav.main a { display: block; padding: .7rem 0; text-decoration: none; color: var(--ink-accent); }
nav.main a:hover, nav.main .current-menu-item > a, nav.main .current-cat > a { color: var(--on-ink); }
nav.main .sub-menu { display: none; }
@media (max-width: 800px) {
  nav.main ul { justify-content: flex-start; padding: 0 1.25rem; }
  nav.main li + li::before { padding: 0 .6rem; }
}
@media (max-width: 640px) {
  .top-inner { grid-template-columns: auto 1fr; }
  .top-social { display: none; }
  .logo, .custom-logo-link { justify-self: start; font-size: 1.25rem; }
  .rotulo-busca { display: none; }
  .busca summary { width: 2.2rem; height: 2.2rem; padding: 0; justify-content: center; }
  .top-right { gap: .4rem; }
}

/* Cabeçalho da capa */
.masthead { padding: clamp(1.5rem, 4vw, 2.75rem) 0 0; }
.masthead .titulo { font-family: var(--brand); font-weight: 800; letter-spacing: -.055em; line-height: .82; margin: 0; font-size: clamp(2.5rem, 12.2vw, 11.2rem); white-space: nowrap; }
.masthead .titulo .p { font-weight: 400; }
.edition { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; border-top: 2px solid var(--text); border-bottom: 1px solid var(--line); margin-top: 1rem; padding: .55rem 0; font-family: var(--mono); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; }
.edition .slogan span + span::before { content: "*"; color: var(--orange); margin: 0 .6rem; }

/* Capa */
.cover { padding: 1.75rem 0 1rem; }
.cover-main { position: relative; display: block; border-radius: 4px; overflow: hidden; background: var(--surface); color: #F3ECE4; text-decoration: none; aspect-ratio: 16 / 8; }
.cover-main .art, .cover-main .art svg, .cover-main .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.cover-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,15,24,0) 30%, rgba(20,15,24,.78) 100%); }
.cover-main .selo { position: absolute; top: 1.1rem; left: 50%; transform: translateX(-50%); z-index: 1; }
.cover-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(1.25rem, 3.5vw, 2.5rem); }
.cover-text h2 { font-family: var(--brand); font-weight: 800; font-size: clamp(1.8rem, 4.4vw, 3.6rem); line-height: 1.22; letter-spacing: -.025em; margin: 0 0 .9rem; max-width: 22ch; }
.cover-text h2 .hl { background: #FF7A1A; color: #1B1620; }
.cover-text p { margin: 0; max-width: 52ch; font-family: var(--mono); font-size: .95rem; line-height: 1.75; }
.cover-text p span { background: #1B1620; color: #F3ECE4; padding: .1em .3em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.coverlines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2rem; padding: 0 0 3rem; }
.coverline { display: block; border-top: 2px solid var(--text); padding: .9rem 0 0; text-decoration: none; }
.coverline strong { display: block; font-family: var(--head); font-weight: 500; font-size: 1.3rem; line-height: 1.2; margin-top: .45rem; }
.coverline:hover strong { color: var(--orange); }
@media (max-width: 900px) { .cover-main { aspect-ratio: 4 / 5; } .coverlines { grid-template-columns: 1fr; gap: 1.25rem; } }

.aviso { padding: 3rem 0; color: var(--muted); }
.aviso strong { color: var(--text); font-family: var(--brand); }

/* Título de seção com asteriscos */
.secao-titulo { display: flex; align-items: baseline; gap: 1rem; margin: 0 0 1.75rem; min-width: 0; }
.secao-titulo + .secao-desc { margin-top: -1.1rem; }
.secao-titulo h2, .secao-titulo h1 { font-family: var(--head); font-weight: 700; font-style: italic; font-size: clamp(2.4rem, 6.5vw, 4.4rem); line-height: 1; letter-spacing: -.02em; margin: 0; flex: none; max-width: 100%; }
.secao-titulo h2 a { text-decoration: none; }
.secao-titulo h2 a:hover { color: var(--orange); }
.asteriscos { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; font-family: var(--mono); font-weight: 700; font-size: 1.6rem; letter-spacing: .35em; color: var(--orange); }
.secao-desc { margin: 0 0 2rem; color: var(--muted); max-width: 52ch; }

/* Editorias */
.dept { padding: 3rem 0 2.5rem; }
.dept.banda { background: var(--surface); }
.dept.banda .selo { background: var(--surface); }
.dept-grade { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); align-items: start; }
.dept-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem clamp(1rem, 2vw, 1.5rem); }
.dept-mini .card:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(1rem, 2vw, 1.5rem); align-items: start; }
.dept-mini .card:last-child:nth-child(odd) h3 { margin-top: 0; }
.ver-tudo { margin: 2rem 0 0; }

.card { display: block; text-decoration: none; color: inherit; min-width: 0; }
.card-img { position: relative; }
.card-img .selo { position: absolute; left: .7rem; top: .7rem; z-index: 1; }
.art { background: var(--surface); border-radius: 4px; overflow: hidden; aspect-ratio: 3 / 2; }
.art svg, .art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card h3 { font-family: var(--brand); font-weight: 700; font-size: 1.12rem; line-height: 1.3; letter-spacing: -.01em; margin: .75rem 0 .4rem; }
.card .dek { color: var(--muted); margin: 0 0 .6rem; font-size: 1.02rem; line-height: 1.5; }
.card-grande h3 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.25; letter-spacing: -.02em; margin-top: 1rem; }
.card-grande .dek { font-size: 1.15rem; }
.card-grande .art { aspect-ratio: 4 / 3; }
.card:hover .art img, .card:hover .art svg { transform: scale(1.03); }
@media (prefers-reduced-motion: no-preference) { .art img, .art svg { transition: transform .5s cubic-bezier(.2,.8,.2,1); } }
@media (max-width: 860px) { .dept-grade { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .dept-mini { grid-template-columns: 1fr; gap: 1.25rem; }
  .dept-mini .card, .dept-mini .card:last-child:nth-child(odd) { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 1rem; align-items: start; }
  .dept-mini .art { aspect-ratio: 1; }
  .dept-mini .card-img .selo { display: none; }
  .dept-mini .card h3 { margin-top: 0; }
}

/* Citação */
.pull { padding: clamp(3rem, 7vw, 5rem) 0; text-align: center; border-top: 2px solid var(--text); }
.pull blockquote { margin: 0 auto; max-width: 24ch; font-family: var(--head); font-style: italic; font-size: clamp(1.9rem, 4.5vw, 3.4rem); line-height: 1.12; }
.pull blockquote .p { font-family: var(--brand); font-style: normal; }
.pull cite { display: block; margin-top: 1.25rem; font-style: normal; }
.pull cite a { text-decoration: none; color: var(--orange); }

/* Coluna de notinhas (faixa laranja) */
.coluna-banda { background: #FF7A1A; color: #1B1620; padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.column { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.column h2 { font-family: var(--brand); font-weight: 800; letter-spacing: -.035em; font-size: clamp(2.2rem, 4.5vw, 3.2rem); line-height: .95; margin: 0 0 1rem; }
.column h2 .p { color: #1B1620; }
.column .intro { margin: 0; font-size: 1.05rem; }
.coluna-banda .selo { background: #1B1620; color: #FF7A1A; border-color: #1B1620; margin-bottom: 1rem; }
.notes { list-style: none; margin: 0; padding: 0; }
.notes li { font-family: var(--head); font-style: italic; font-size: 1.4rem; line-height: 1.4; padding: 1.1rem 0; border-bottom: 2px solid #1B1620; }
.notes li:first-child { padding-top: 0; }
.notes .nota::before { content: "("; font-style: normal; font-family: var(--brand); }
.notes .nota::after { content: ")"; font-style: normal; font-family: var(--brand); }
.notes .when { display: block; font-style: normal; margin-top: .35rem; font-family: var(--mono); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: #1B1620; }
@media (max-width: 800px) { .column { grid-template-columns: 1fr; } }

/* Colunistas */
.colunistas { padding: 3.5rem 0 3rem; border-top: 2px solid var(--text); }
.colunas-grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 1.5rem; }
.coluna-card { background: var(--surface); border-radius: 6px; padding: clamp(1.25rem, 3vw, 1.75rem); display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.coluna-card .selo { background: var(--surface); }
.coluna-cab { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 1.1rem; align-items: center; }
.coluna-cab img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 3px solid var(--orange); display: block; }
.coluna-card h3 { font-family: var(--brand); font-weight: 800; font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.3; letter-spacing: -.02em; margin: .55rem 0 .3rem; }
.coluna-card h3 a { text-decoration: none; }
.coluna-card .por { font-family: var(--mono); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.coluna-card .desc { margin: 0; color: var(--muted); }
.coluna-ultimas { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.coluna-ultimas a { display: block; padding: .75rem 0; border-bottom: 1px solid var(--line); font-family: var(--head); font-size: 1.15rem; line-height: 1.3; text-decoration: none; }
.coluna-ultimas a:hover { color: var(--orange); }
.coluna-card .ler { margin-top: auto; align-self: flex-start; }
.coluna-topo .cargo a { color: inherit; text-underline-offset: 3px; }

/* Sobre nós (inclui quem faz a revista) */
.sobre { padding: 3.5rem 0 3rem; }
.sobre-intro { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; margin-bottom: 3rem; }
.sobre-texto { margin: 0; font-size: 1.3rem; line-height: 1.6; max-width: 52ch; }
.sobre-intro .credits { margin: 0; }
.sobre-intro .credits li:first-child { padding-top: 0; }
.sobre-sub { font-family: var(--mono); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); margin: 0 0 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
@media (max-width: 800px) { .sobre-intro { grid-template-columns: 1fr; } }

/* Perfis da equipe */
.equipe { padding: 3.5rem 0 3rem; }
.equipe-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.perfil { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.perfil-foto { position: relative; margin: 0; }
.perfil-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 4px; display: block; }
.perfil-foto .selo { position: absolute; left: .6rem; bottom: .6rem; }
.perfil h3 { font-family: var(--brand); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.25; letter-spacing: -.025em; margin: 0 0 .5rem; }
.perfil .cargo { font-family: var(--mono); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--orange); margin: 0 0 .9rem; }
.perfil .bio { margin: 0 0 1.1rem; }
.perfil-links { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 900px) { .equipe-grade { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .perfil { grid-template-columns: 1fr; } .perfil-foto { max-width: 260px; } }

/* Perfil completo (página de autor) */
.autor-topo { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; padding: clamp(2rem, 5vw, 3.5rem) 0; }
.autor-topo .perfil-foto img { border-radius: 6px; }
.autor-topo h1 { font-family: var(--brand); font-weight: 800; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.15; letter-spacing: -.04em; margin: .9rem 0 .8rem; }
.autor-topo .cargo { font-family: var(--mono); font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; color: var(--orange); margin: 0 0 1.25rem; }
.autor-topo .bio { font-size: 1.25rem; line-height: 1.65; max-width: 48ch; margin: 0 0 1.5rem; }
.autor-fatos { list-style: none; padding: 0; margin: 0 0 1.5rem; font-family: var(--brand); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--muted); font-size: .95rem; }
.autor-fatos strong { color: var(--text); }
@media (max-width: 760px) { .autor-topo { grid-template-columns: 1fr; } .autor-topo .perfil-foto { max-width: 320px; } }

/* Caixa de autoria no fim da matéria */
.autoria { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 1.1rem; align-items: start; margin-top: 2.5rem; padding: 1.4rem; background: var(--surface); border-radius: 6px; }
.autoria img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: center 20%; display: block; }
.autoria .rotulo { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.autoria strong { display: block; font-family: var(--brand); font-size: 1.25rem; letter-spacing: -.01em; margin: .15rem 0 .1rem; }
.autoria .cargo { font-family: var(--mono); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--orange); }
.autoria p { margin: .6rem 0 .8rem; font-size: 1.02rem; line-height: 1.55; }
.autoria a { color: var(--orange); font-family: var(--brand); font-size: .95rem; }
.opener .assinatura { display: inline-flex; align-items: center; gap: .6rem; }
.opener .assinatura img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.opener .assinatura a { color: var(--text); text-decoration-color: var(--orange); text-underline-offset: 3px; }

/* Contato */
.colophon { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); padding: 3rem 0 4rem; border-top: 2px solid var(--text); }
.colophon h2 { font-family: var(--head); font-weight: 700; font-style: italic; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; margin: 0 0 1.25rem; }
.colophon p { max-width: 58ch; margin: 0 0 1rem; }
.credits, .contact-list { list-style: none; padding: 0; font-family: var(--brand); }
.credits { margin: 1.5rem 0 0; }
.contact-list { margin: 0 0 1.5rem; }
.credits li, .contact-list li { padding: .75rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: .25rem 1rem; flex-wrap: wrap; }
.credits span, .contact-list span, .contact-list a { color: var(--muted); overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--orange); }
.btn { display: inline-block; font-family: var(--brand); font-weight: 600; background: var(--orange); color: var(--on-orange); text-decoration: none; padding: .8rem 1.4rem; border-radius: 999px; border: 0; cursor: pointer; }
@media (max-width: 800px) { .colophon { grid-template-columns: 1fr; } }

footer.rodape { background: var(--ink); color: #A99FB0; padding: 2.25rem 0 2.75rem; font-family: var(--brand); font-size: .9rem; }
footer.rodape .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
footer.rodape .marca { color: #F3ECE4; font-weight: 800; font-size: 1.2rem; letter-spacing: -.03em; }
footer.rodape .p { color: #FF7A1A; }
footer.rodape a { color: #FF7A1A; text-decoration: none; }

/* Matéria */
.opener { width: min(1100px, 100% - 2.5rem); margin: 0 auto; padding: 2.5rem 0 0; text-align: center; }
.opener h1 { font-family: var(--head); font-weight: 500; font-style: italic; font-size: clamp(2.3rem, 6.2vw, 4.4rem); line-height: 1.04; letter-spacing: -.01em; margin: 1rem auto; max-width: 20ch; }
.opener > .tag { display: inline-block; font-family: var(--mono); font-weight: 700; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; border: 1.5px solid currentColor; padding: .3rem .55rem; line-height: 1.2; }
.relacionadas .secao-titulo { margin-bottom: 1.75rem; }
.relacionadas .secao-titulo h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.opener .dek { font-size: 1.3rem; color: var(--muted); max-width: 44ch; margin: 0 auto 1.25rem; }
.opener .art { aspect-ratio: 21 / 9; margin-top: 2rem; }
.opener figure { margin: 0; }
.opener figcaption { font-family: var(--brand); font-size: .85rem; color: var(--muted); text-align: right; margin-top: .5rem; }
@media (max-width: 640px) { .opener .art { aspect-ratio: 4 / 3; } }
.full { width: min(680px, 100% - 2.5rem); margin: 0 auto; padding: 2.5rem 0 4rem; }
.entry-content { font-size: 1.22rem; line-height: 1.75; }
.entry-content > * { margin-top: 0; margin-bottom: 1.3rem; }
.single .entry-content > p:first-of-type::first-letter { font-family: var(--head); font-weight: 700; float: left; font-size: 4.6em; line-height: .82; padding: .08em .1em 0 0; color: var(--orange); }
.entry-content h2, .entry-content h3 { font-family: var(--head); font-weight: 700; line-height: 1.15; margin-top: 2.25rem; }
.entry-content h2 { font-size: 2rem; }
.entry-content h3 { font-size: 1.5rem; }
.entry-content a { color: var(--orange); text-underline-offset: 3px; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption, .wp-element-caption { font-family: var(--brand); font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.entry-content img { border-radius: 4px; }
.entry-content .alignwide { width: min(1000px, 100vw - 2.5rem); margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignfull { width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.entry-content blockquote:not(.eag-frase) { margin-left: 0; padding-left: 1.25rem; border-left: 3px solid var(--orange); font-style: italic; }
.entry-content .eag-frase, .entry-content .wp-block-pullquote { margin: 2.25rem 0; padding: 1.25rem 0; border-top: 2px solid var(--text); border-bottom: 1px solid var(--line); font-family: var(--head); font-style: italic; font-size: clamp(1.6rem, 3.8vw, 2.1rem); line-height: 1.2; }
.entry-content .eag-frase p { margin: 0; }
.entry-content .wp-block-pullquote blockquote { margin: 0; }
.entry-content .wp-block-pullquote p { font-size: inherit; }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.entry-content iframe { max-width: 100%; }
.share { margin-top: 2.25rem; display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.toast { font-family: var(--brand); color: var(--orange); }
.tags { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags a { font-family: var(--brand); font-size: .88rem; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: .25rem .8rem; color: var(--muted); }
.page-links { font-family: var(--brand); margin-top: 1.5rem; }
.relacionadas { border-top: 2px solid var(--text); padding: 2.5rem 0 3rem; }
.relacionadas .grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 760px) {
  .relacionadas .grade { grid-template-columns: 1fr; gap: 1.25rem; }
  .relacionadas .card { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 1rem; align-items: start; }
  .relacionadas .art { aspect-ratio: 1; }
  .relacionadas .card-img .selo { display: none; }
  .relacionadas .card h3 { margin-top: 0; }
}

/* Listas, busca e paginação */
.lista { padding: 2.5rem 0 1rem; }
.lista-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem 1.75rem; padding-bottom: 2rem; }
.lista-grade .card-larga { grid-column: span 2; }
.lista-grade .card-larga h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
@media (max-width: 860px) { .lista-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lista-grade { grid-template-columns: 1fr; } .lista-grade .card-larga { grid-column: auto; } }
.pagination, .navigation.pagination { padding: 1rem 0 3.5rem; font-family: var(--brand); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.pagination .page-numbers { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; }
.pagination .page-numbers.current { background: var(--orange); border-color: var(--orange); color: var(--on-orange); }
.vazio { padding: 2rem 0 4rem; max-width: 560px; }
.vazio p { color: var(--muted); }
.vazio .search-form { margin: 1rem 0 1.5rem; max-width: 420px; }

/* Comentários */
.comentarios { width: min(680px, 100% - 2.5rem); margin: 0 auto; padding: 0 0 4rem; }
.comentarios h2 { font-family: var(--brand); font-size: 1.3rem; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 1.5rem; }
.comment-body { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.comment-meta { font-family: var(--brand); font-size: .88rem; color: var(--muted); }
.comment-meta a { text-decoration: none; }
.comment-form label { display: block; font-family: var(--brand); font-size: .9rem; margin-bottom: .3rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: .6rem .8rem; font: inherit; }
.comment-form .submit { background: var(--orange); color: var(--on-orange); border: 0; border-radius: 999px; padding: .7rem 1.3rem; font-family: var(--brand); font-weight: 600; cursor: pointer; }

@media (prefers-reduced-motion: no-preference) {
  .masthead .titulo .p { display: inline-block; animation: eag-abre .9s cubic-bezier(.2,.8,.2,1) both; }
  .masthead .titulo .l { --dir: 1; } .masthead .titulo .r { --dir: -1; }
  @keyframes eag-abre { from { transform: translateX(calc(var(--dir) * .3em)); opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
