/*
Theme Name: Jornada do Jovem Jogador
Theme URI: https://jornadafutebol.com
Author: Jornada do Jovem Jogador
Description: Tema esportivo para blog de futebol de base.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: jornada
*/

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Barlow:wght@400;500;600;700&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,500;0,8..60,600;1,8..60,400&display=swap');

:root {
  --navy-900: #0a1729;
  --navy-800: #0f2240;
  --navy-700: #16294d;
  --navy-600: #1f3a6b;
  --navy-500: #2b4d86;
  --red: #e11d2a;
  --red-600: #c2121e;
  --red-tint: #fdecec;
  --ink: #16203a;
  --muted: #5e6b82;
  --faint: #8d97a8;
  --line: #e4e7ee;
  --line-strong: #d3d8e2;
  --bg: #f4f5f8;
  --surface: #ffffff;
  --font-display: 'Barlow Condensed', system-ui, sans-serif;
  --font-ui: 'Barlow', system-ui, sans-serif;
  --font-read: 'Source Serif 4', Georgia, serif;
  --wrap: 1240px;
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(13,26,51,.06), 0 2px 8px rgba(13,26,51,.05);
  --shadow-md: 0 8px 28px rgba(13,26,51,.12);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-ui); color: var(--ink); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* placeholders */
.ph { position: relative; background-color: #e3e7ee; background-image: repeating-linear-gradient(135deg,rgba(120,135,160,.10) 0 14px,rgba(120,135,160,0) 14px 28px); color: #8794a8; display: flex; align-items: center; justify-content: center; font-family: ui-monospace,'SF Mono',Menlo,monospace; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; text-align: center; overflow: hidden; padding: 12px; }
.ph.dark { background-color: #11203a; background-image: repeating-linear-gradient(135deg,rgba(255,255,255,.05) 0 14px,rgba(255,255,255,0) 14px 28px); color: #6f81a0; }
.ph::after { content: attr(data-label); }

/* kicker */
.kicker { font-family: var(--font-ui); font-weight: 700; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--red); display: inline-flex; align-items: center; gap: 9px; }
.kicker::before { content: ""; width: 22px; height: 3px; background: var(--red); display: inline-block; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.section-head h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px,3.4vw,38px); letter-spacing: -.01em; line-height: .98; margin: 8px 0 0; text-transform: uppercase; }
.section-head .link-more { font-family: var(--font-ui); font-weight: 600; font-size: 14px; color: var(--navy-700); white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; padding-bottom: 4px; border-bottom: 2px solid transparent; transition: border-color .15s,color .15s; }
.section-head .link-more:hover { border-color: var(--red); color: var(--red); }

/* tags */
.tag { display: inline-flex; align-items: center; font-family: var(--font-ui); font-weight: 700; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: #fff; background: var(--red); padding: 5px 10px; border-radius: 2px; }
.tag.navy { background: var(--navy-700); }
.tag.ghost { background: transparent; color: var(--navy-700); border: 1.5px solid var(--line-strong); }

/* buttons */
.btn { font-family: var(--font-ui); font-weight: 700; font-size: 14px; letter-spacing: .02em; display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; transition: transform .12s,background .15s,color .15s; text-transform: uppercase; }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-600); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-ghost { background: transparent; color: var(--navy-800); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--navy-800); }

/* meta */
.meta { font-family: var(--font-ui); font-size: 13px; color: var(--faint); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }

/* card */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; transition: transform .18s,box-shadow .18s,border-color .18s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card .card-img { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.card .card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.card h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.02; margin: 0; }
.card:hover h3 { color: var(--navy-700); }
.card p { font-family: var(--font-ui); font-size: 14px; color: var(--muted); margin: 0; line-height: 1.55; }
.card .card-foot { margin-top: auto; }

/* topbar */
.topbar { background: var(--navy-900); color: #c7d2e4; font-size: 12.5px; font-weight: 500; letter-spacing: .04em; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar .slogan { text-transform: uppercase; letter-spacing: .14em; font-weight: 600; font-size: 11px; color: #8295b5; }
.topbar .tb-links { display: flex; gap: 20px; }
.topbar a:hover { color: #fff; }

/* masthead */
.masthead { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.masthead .wrap { display: flex; align-items: center; gap: 32px; height: 74px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand .crest { width: 42px; height: 46px; flex-shrink: 0; background: var(--navy-800); clip-path: polygon(50% 0,100% 18%,100% 64%,50% 100%,0 64%,0 18%); display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 20px; position: relative; }
.brand .crest::after { content: ""; position: absolute; left: 0; right: 0; top: 41%; height: 3px; background: var(--red); }
.brand .bname { font-family: var(--font-display); font-weight: 800; line-height: .9; text-transform: uppercase; }
.brand .bname b { display: block; font-size: 17px; letter-spacing: -.01em; color: var(--navy-900); white-space: nowrap; }
.brand .bname span { display: block; font-family: var(--font-ui); font-weight: 600; font-size: 9.5px; letter-spacing: .16em; color: var(--red); margin-top: 2px; }

.mainnav { display: flex; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.mainnav li { list-style: none; padding: 0; margin: 0; }
.mainnav li::before { display: none !important; content: '' !important; }
.mainnav li::marker { display: none !important; }
.mainnav a { font-family: var(--font-ui); font-weight: 600; font-size: 14.5px; white-space: nowrap; padding: 8px 13px; border-radius: 4px; color: var(--ink); display: inline-flex; align-items: center; gap: 5px; transition: background .14s,color .14s; }
.mainnav a:hover { background: var(--bg); color: var(--navy-700); }
.mainnav a.active { color: var(--red); }

.head-tools { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 40px; height: 40px; border-radius: 4px; border: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--navy-700); transition: border-color .14s,background .14s; }
.icon-btn:hover { border-color: var(--line-strong); background: var(--bg); }

/* footer */
.site-footer { background: var(--navy-900); color: #b9c4d8; margin-top: 80px; }
.site-footer .wrap { padding-top: 64px; padding-bottom: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-family: var(--font-ui); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 0 0 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.site-footer a { font-size: 14.5px; color: #9faec6; }
.site-footer a:hover { color: #fff; }
.site-footer .f-brand .bname b { color: #fff; }
.site-footer .f-about { font-family: var(--font-read); font-size: 15px; line-height: 1.6; color: #9faec6; margin: 18px 0 22px; max-width: 320px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 26px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #7e8da7; gap: 16px; flex-wrap: wrap; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.16); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: #c7d2e4; }
.foot-social a:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* newsletter */
.news-band { background: var(--navy-800); color: #fff; position: relative; overflow: hidden; border-radius: 8px; }
.news-band .nb-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 48px 52px; position: relative; z-index: 2; }
.news-band h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px,3.6vw,42px); line-height: .98; text-transform: uppercase; margin: 12px 0 14px; }
.news-band p { font-family: var(--font-ui); color: #c2cee2; font-size: 16px; max-width: 440px; margin: 0; }
.news-form { display: flex; flex-direction: column; gap: 12px; }
.news-form .row { display: flex; gap: 10px; }
.news-form input { flex: 1; padding: 14px 16px; border-radius: 4px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; font-family: var(--font-ui); font-size: 15px; }
.news-form input::placeholder { color: #93a4c2; }
.news-form input:focus { outline: none; border-color: var(--red); }
.news-form .fineprint { font-size: 12.5px; color: #8295b5; }
.news-band .nb-blur { position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; background: radial-gradient(circle,rgba(225,29,42,.45),transparent 70%); z-index: 1; }

/* responsive global */
@media (max-width: 1080px) { .mainnav a { padding: 8px 10px; font-size: 14px; } }
@media (max-width: 920px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } .news-band .nb-inner { grid-template-columns: 1fr; gap: 24px; padding: 36px 30px; } }
@media (max-width: 760px) { .wrap { padding: 0 18px; } .mainnav { display: none; } .topbar .tb-links { display: none; } .section-head h2 { font-size: 28px; } .foot-grid { grid-template-columns: 1fr; } }

/* ===== HOME ===== */

/* HERO — A CORREÇÃO DO BUG ESTÁ AQUI */
/* A função jjj_cover() gera <img class="jjj-cover"> sem width/height attributes */
/* garantindo que object-fit:cover funcione corretamente */

.hero { padding: 36px 0 8px; }
.hero-grid { display: grid; grid-template-columns: 1.62fr 1fr; gap: 26px; }

.hero-lead { position: relative; border-radius: 8px; overflow: hidden; height: 480px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--navy-900); }
.hero-lead .ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-lead .grad { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg,rgba(8,18,35,0) 30%,rgba(8,18,35,.55) 62%,rgba(8,18,35,.93) 100%); }
.hero-lead .hl-body { position: relative; z-index: 3; padding: 40px; color: #fff; max-width: 660px; }
.hero-lead h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px,4.4vw,54px); line-height: .96; letter-spacing: -.01em; margin: 16px 0 14px; }
.hero-lead p { font-family: var(--font-read); font-size: 17px; color: #d7deec; max-width: 560px; margin: 0 0 18px; }

.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 26px; }

.hero-mini { position: relative; border-radius: 8px; overflow: hidden; height: 227px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--navy-800); }
.hero-mini .ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-mini .grad { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg,rgba(8,18,35,0) 35%,rgba(8,18,35,.9) 100%); }
.hero-mini .hm-body { position: relative; z-index: 3; padding: 22px 24px; color: #fff; }
.hero-mini h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.0; margin: 10px 0 0; }

/* REGRA PRINCIPAL DO FIX — imagem sem width/height cobre o container */
.jjj-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1; }
.hero-lead .jjj-cover { z-index: 1; }
.hero-mini .jjj-cover { z-index: 1; }

/* categorias */
.cats { padding: 46px 0 10px; }
.cat-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 12px; }
.cat-tile { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; transition: transform .15s,box-shadow .15s,border-color .15s; min-height: 116px; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.cat-tile .ci { width: 30px; height: 30px; border-radius: 50%; background: var(--red-tint); border: 1.5px solid var(--red); }
.cat-tile b { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.02; color: var(--navy-900); }
.cat-tile span { font-family: var(--font-ui); font-size: 12px; color: var(--faint); margin-top: auto; }

/* latest */
.latest { padding: 56px 0 10px; }
.latest-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }

/* card image fix para WordPress */
.card .card-img { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.card .card-img .jjj-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* sidebar */
.sidebar { display: flex; flex-direction: column; gap: 30px; }
.side-box { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 22px; }
.side-box h4 { font-family: var(--font-ui); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-900); margin: 0 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--line); }
.rank-item { display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.rank-item:last-child { border-bottom: 0; padding-bottom: 0; }
.rank-item .num { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--line-strong); line-height: 1; width: 26px; flex-shrink: 0; }
.rank-item h5 { font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.05; margin: 0 0 4px; }
.rank-item:hover h5 { color: var(--red); }
.rank-item .meta { font-size: 12px; }
.side-cta { background: var(--navy-800); border-radius: 6px; padding: 26px 24px; color: #fff; }
.side-cta h4 { color: #fff; border: 0; padding: 0; font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: 0; text-transform: none; margin: 12px 0 8px; }
.side-cta p { font-family: var(--font-ui); font-size: 14px; color: #c2cee2; margin: 0 0 16px; }

/* mission */
.mission { padding: 70px 0; }
.mission-inner { background: var(--navy-900); border-radius: 10px; padding: 64px 60px; position: relative; overflow: hidden; }
.mission-inner .mb-stripe { position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--red); }
.mission-inner .quote-mark { font-family: var(--font-display); font-weight: 800; font-size: 120px; color: rgba(255,255,255,.07); position: absolute; right: 40px; top: 0; line-height: 1; }
.mission blockquote { margin: 0; max-width: 820px; position: relative; z-index: 2; }
.mission blockquote p { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px,4vw,46px); line-height: 1.05; color: #fff; margin: 14px 0 0; }
.mission blockquote p em { color: var(--red); font-style: normal; }

/* series */
.series { padding: 16px 0 10px; }
.series-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.step-card { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 26px 22px; display: flex; flex-direction: column; gap: 12px; }
.step-card .step-n { font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: .1em; color: var(--red); }
.step-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.0; margin: 0; color: var(--navy-900); }
.step-card p { font-family: var(--font-ui); font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.55; }
.step-card .age { margin-top: auto; font-family: var(--font-ui); font-weight: 700; font-size: 12px; color: var(--faint); padding-top: 10px; }

/* duo */
.duo { padding: 64px 0 10px; }
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { border-radius: 8px; padding: 34px; border: 1px solid var(--line); background: var(--surface); }
.res-list { display: flex; flex-direction: column; gap: 12px; margin: 22px 0 0; }
.res-row { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 6px; transition: border-color .14s,background .14s; }
.res-row:hover { border-color: var(--red); background: var(--red-tint); }
.res-row .ri { width: 44px; height: 44px; border-radius: 6px; background: var(--navy-800); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.res-row b { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--navy-900); display: block; line-height: 1; }
.res-row span { font-family: var(--font-ui); font-size: 13px; color: var(--muted); }
.res-row .pill { margin-left: auto; font-family: var(--font-ui); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--red); }
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.prod { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
.prod .ph { aspect-ratio: 1; }
.prod .pb { padding: 13px 14px 16px; }
.prod b { font-family: var(--font-ui); font-weight: 600; font-size: 14px; color: var(--navy-900); display: block; line-height: 1.2; }
.prod .price { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--red); margin-top: 6px; }
.panel .ptag { font-family: var(--font-ui); font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.panel h3.ph-title { font-family: var(--font-display); font-weight: 800; font-size: 28px; text-transform: uppercase; line-height: 1; margin: 8px 0 6px; color: var(--navy-900); }
.panel p.ph-sub { font-family: var(--font-ui); font-size: 14px; color: var(--muted); margin: 0; }

/* home responsive */
@media (max-width: 1080px) { .cat-grid { grid-template-columns: repeat(3,1fr); } .series-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } .hero-lead { height: 400px; } .hero-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; } .latest-layout { grid-template-columns: 1fr; } .grid-3 { grid-template-columns: 1fr 1fr; } .duo-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .cat-grid { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr; } .hero-side { grid-template-columns: 1fr; } .series-grid { grid-template-columns: 1fr; } .shop-grid { grid-template-columns: 1fr 1fr; } .mission-inner { padding: 40px 26px; } }

/* ===== ARTIGO ===== */
.crumbs { font-family: var(--font-ui); font-size: 13px; color: var(--faint); padding: 22px 0 0; display: flex; gap: 9px; align-items: center; }
.crumbs a:hover { color: var(--red); }
.crumbs .sep { opacity: .5; }
.art-head { padding: 22px 0 30px; }
.art-head .inner { max-width: 820px; margin: 0 auto; text-align: center; }
.art-head h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px,5vw,58px); line-height: .98; letter-spacing: -.015em; margin: 16px 0 18px; color: var(--navy-900); }
.art-head .dek { font-family: var(--font-read); font-size: 20px; line-height: 1.45; color: var(--muted); margin: 0 auto 24px; max-width: 680px; }
.byline { display: flex; align-items: center; justify-content: center; gap: 14px; }
.byline .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--navy-800); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.byline .who b { font-family: var(--font-ui); font-weight: 700; font-size: 14.5px; color: var(--navy-900); display: block; text-align: left; }
.byline .who .meta { justify-content: flex-start; }
.art-cover { max-width: 1080px; margin: 0 auto; }
.art-cover img { width: 100%; height: auto; border-radius: 8px; }
.art-cover .jjj-cover { position: relative !important; inset: auto !important; width: 100% !important; height: auto !important; border-radius: 8px; }
.art-wrap { display: grid; grid-template-columns: 1fr minmax(0,720px) 1fr; gap: 0; padding: 48px 0 20px; }
.art-rail-left { padding-right: 30px; }
.art-body { font-family: var(--font-read); font-size: 19px; line-height: 1.72; color: #25303f; }
.art-body p { margin: 0 0 26px; }
.art-body h2 { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1.05; margin: 44px 0 16px; color: var(--navy-900); }
.art-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; margin: 32px 0 12px; color: var(--navy-800); }
.art-body ul { margin: 0 0 26px; padding-left: 4px; list-style: none; }
.art-body ul li { position: relative; padding-left: 26px; margin-bottom: 12px; }
.art-body ul li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 9px; height: 9px; background: var(--red); border-radius: 2px; transform: rotate(45deg); }
.art-body a { color: var(--red); border-bottom: 1px solid var(--red); }
.art-body img { max-width: 100%; height: auto; border-radius: 6px; margin: 8px 0 26px; }
.art-body > p:first-of-type::first-letter { font-family: var(--font-display); font-weight: 800; font-size: 76px; float: left; line-height: .72; padding: 6px 12px 0 0; color: var(--red); }
.share-rail { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.share-rail .lbl { font-family: var(--font-ui); font-weight: 700; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); writing-mode: vertical-rl; margin-bottom: 6px; }
.share-rail a { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--navy-700); transition: all .14s; }
.share-rail a:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.art-foot { max-width: 720px; margin: 30px auto 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.author-card { display: flex; gap: 20px; align-items: flex-start; padding: 32px 0; }
.author-card .avatar { width: 76px; height: 76px; border-radius: 50%; background: var(--navy-800); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 30px; flex-shrink: 0; }
.author-card b { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--navy-900); }
.author-card p { font-family: var(--font-ui); font-size: 14.5px; color: var(--muted); margin: 6px 0 0; line-height: 1.6; }
.related { padding: 24px 0 0; }
.rel-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }

@media (max-width: 900px) { .art-wrap { grid-template-columns: 1fr; } .art-rail-left { display: none; } .art-body { max-width: 720px; margin: 0 auto; } .rel-grid { grid-template-columns: 1fr; } }

/* ===== CATEGORIA ===== */
.cat-hero { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.cat-hero .wrap { padding: 54px 0 48px; position: relative; z-index: 2; }
.cat-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px,6vw,72px); line-height: .92; letter-spacing: -.02em; text-transform: uppercase; margin: 6px 0 16px; }
.cat-hero p { font-family: var(--font-read); font-size: 19px; line-height: 1.5; color: #c2cee2; max-width: 620px; margin: 0; }
.cat-list { padding: 56px 0 0; }
.cl-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.pager { display: flex; justify-content: center; gap: 8px; padding: 50px 0 0; }
.pager a { width: 44px; height: 44px; border-radius: 6px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--font-ui); font-weight: 600; font-size: 15px; color: var(--navy-700); }
.pager a:hover { border-color: var(--navy-800); }
.pager a.on { background: var(--red); border-color: var(--red); color: #fff; }

/* outros */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state h2 { font-family: var(--font-display); font-weight: 700; font-size: 32px; color: var(--navy-900); }
.empty-state p { font-family: var(--font-ui); color: var(--muted); }
.search-pop { display: none; }
.admin-bar .masthead { top: 32px; }
.custom-logo { max-height: 48px; width: auto; }
.page-shell { max-width: 760px; margin: 0 auto; padding: 50px 0 20px; }
.page-shell h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px,5vw,54px); line-height: .98; color: var(--navy-900); text-transform: uppercase; margin: 0 0 24px; }
.page-shell .page-content { font-family: var(--font-read); font-size: 19px; line-height: 1.7; color: #25303f; }
.nav-links { display: flex; justify-content: center; gap: 8px; padding: 50px 0 0; flex-wrap: wrap; }
.nav-links .page-numbers { width: 44px; height: 44px; border-radius: 6px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--font-ui); font-weight: 600; font-size: 15px; color: var(--navy-700); }
.nav-links .page-numbers.current { background: var(--red); border-color: var(--red); color: #fff; }
@media (max-width: 782px){ .admin-bar .masthead { top: 46px; } }
