/* EXTREME NEWS | Sistema editorial de superfícies, imagem e tipografia.
   Arquivo isolado: sobreposição ao tema atual sem alterar rodapé aprovado. */
:root{
 --xn-black:#000;--xn-ink:#fff;--xn-muted:#a1a1aa;--xn-muted-2:#9ca3af;
 --xn-radius-media:12px;--xn-radius-input:8px;--xn-focus:var(--brand-accent,#e10600);
 --xn-border-media:rgba(255,255,255,.05);--xn-motion:.2s ease-in-out;
}
body.omni-news-ui{background:var(--xn-black);color:var(--xn-ink)}
/* A borda pertence à moldura: nunca se aplica object-fit:cover nas logos. */
body.omni-news-ui .news-media,
body.omni-news-ui .hero-image,body.omni-news-ui .rail-cover,body.omni-news-ui .card-pic,
body.omni-news-ui .related-story-image,body.omni-news-ui .region-highlights-cover,
body.omni-news-ui .edition-cover,body.omni-news-ui .article-image,
body.omni-news-ui .reader-rec-cover,body.omni-news-ui .advertisement img{
 border-radius:var(--xn-radius-media);border:1px solid var(--xn-border-media);
 box-shadow:inset 0 0 0 1px rgba(255,255,255,.018);overflow:hidden;
}
body.omni-news-ui .news-media img{max-width:100%;display:block}
body.omni-news-ui .hero-image img,body.omni-news-ui .rail-cover img,
body.omni-news-ui .card-pic img,body.omni-news-ui .region-highlights-cover img,
body.omni-news-ui .related-story-image img{height:100%;width:100%;object-fit:cover}
body.omni-news-ui .brand-logo,body.omni-news-ui .footer-logo,
body.omni-news-ui .ex-footer img{height:auto;object-fit:contain;border:0;box-shadow:none}
/* Hierarquia: manchete primeiro, informação contextual depois. */
body.omni-news-ui :is(.hero-copy h2,.card-info h3,.rail-story h3,.article-view h1,.region-highlights-copy b,.related-story-copy strong,.xn-profile h1,.xn-profile-story strong){color:#fff;font-weight:800;text-shadow:none}
body.omni-news-ui :is(.hero-copy p,.card-info p,.rail-story p,.article-intro,.edition-copy p,.xn-profile-story>span>span){color:var(--xn-muted);line-height:1.6}
body.omni-news-ui :is(.hero-copy small,.card-info small,.rail-story small,.related-story-copy small,.region-highlights-copy small,.article-meta,.article-read-time,.region-selection-status,.muted){color:var(--xn-muted-2)}
body.omni-news-ui .hero-copy{padding-top:16px}
body.omni-news-ui .hero-copy .tag,body.omni-news-ui .card-info .tag,body.omni-news-ui .rail-story .tag{margin-bottom:10px}
body.omni-news-ui .card-info{padding-top:15px}
body.omni-news-ui .rail-cover{margin-bottom:14px}
body.omni-news-ui .welcome{padding-bottom:18px;margin-bottom:24px}
body.omni-news-ui .regional-selection-status{margin-top:14px}
body.omni-news-ui .omni-frontpage{padding-bottom:30px}
body.omni-news-ui .section-top{margin-block:24px 18px}
/* Microfeedback discreto, sem animar todas as propriedades que causariam reflow. */
body.omni-news-ui :is(.hero,.news-card,.rail-story,.region-highlights-card,.related-story,.edition-card,.xn-profile-story,.reader-rec-card){
 transition:opacity var(--xn-motion),background-color var(--xn-motion),transform var(--xn-motion);
 -webkit-tap-highlight-color:transparent;
}
@media(hover:hover){body.omni-news-ui :is(.hero,.news-card,.rail-story,.region-highlights-card,.related-story,.edition-card,.xn-profile-story):hover{opacity:.9}}
body.omni-news-ui :is(.hero,.news-card,.rail-story,.region-highlights-card,.related-story,.edition-card,.xn-profile-story):active{opacity:.85;transform:scale(.995)}
body.omni-news-ui :is(.hero,.news-card,.rail-story,.region-highlights-card,.related-story,.edition-card,.xn-profile-story):focus-visible{outline:2px solid var(--xn-focus);outline-offset:3px}
/* Clima: detalhes de leitura rápida, mantendo o card como notícia secundária. */
body.omni-news-ui .weather-search-row input{background:#27272a;border:1px solid rgba(255,255,255,.1);border-radius:8px;color:#fff;min-height:44px}
body.omni-news-ui .weather-search-row button{border-radius:8px;min-height:44px}
body.omni-news-ui .weather-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
body.omni-news-ui .weather-details>div{background:#18181b;border:1px solid var(--xn-border-media);border-radius:12px;min-width:0;padding:12px}
body.omni-news-ui .weather-details span{color:#a1a1aa}
body.omni-news-ui .weather-details strong{color:#fff;font-variant-numeric:tabular-nums}
@media(min-width:1080px){body.omni-news-ui .weather-drawer .weather-details{grid-template-columns:repeat(5,minmax(0,1fr))}}
/* Assinatura autoral e biografia pública. */
.xn-article-byline{display:flex;align-items:center;gap:12px;width:max-content;max-width:100%;margin:12px 0 18px;padding:10px 14px;border:1px solid rgba(255,255,255,.07);background:#121317;border-radius:12px;text-decoration:none;color:#fff}
.xn-article-byline img,.xn-byline-initial{flex:none;width:42px;height:42px;border-radius:50%;object-fit:cover}
.xn-byline-initial{display:grid;place-items:center;background:#29272c;color:#fff;font-weight:800}
.xn-article-byline>span:not(.xn-byline-initial){display:grid;gap:2px;min-width:0}.xn-article-byline strong{font:750 13px/1.3 var(--news-sans)}.xn-article-byline small{color:#a1a1aa;font:11px/1.4 var(--news-sans)}.xn-article-byline>b{color:var(--brand-accent);margin-left:auto}
.xn-profile{margin:20px auto 40px;max-width:1050px;border:1px solid rgba(255,255,255,.07);background:#0d0e11;border-radius:18px;overflow:hidden}
.xn-profile-banner{height:clamp(155px,22vw,255px);background-image:linear-gradient(125deg,#303036,#181719 45%,#331316);background-size:cover;background-position:center;position:relative}
.xn-profile-heading{display:flex;align-items:flex-end;gap:24px;padding:0 30px 22px;margin-top:-42px;position:relative;z-index:1;min-width:0}
.xn-profile-avatar{width:110px;height:110px;flex:none;object-fit:cover;border-radius:50%;border:4px solid #0d0e11;background:#17181e}
.xn-profile-placeholder{display:grid;place-items:center;font:900 42px/1 var(--news-sans);color:#fff}
.xn-profile-copy{min-width:0;padding-top:42px}.xn-profile h1{margin:4px 0 2px;font:900 clamp(24px,4vw,40px)/1.1 var(--news-sans);letter-spacing:-.03em}
.xn-profile-role{color:#a1a1aa;margin:5px 0 0;font-size:14px}
.xn-profile-info{padding:24px 30px 30px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;border-top:1px solid rgba(255,255,255,.07)}
.xn-profile-info h2{margin:0 0 9px;color:#fff;font:800 15px/1.35 var(--news-sans)}
.xn-profile-info p{margin:0;color:#a1a1aa;max-width:72ch;font:14px/1.75 var(--news-sans);overflow-wrap:anywhere}
.xn-profile-social>div{display:flex;flex-wrap:wrap;gap:9px}.xn-profile-social a{display:inline-flex;border:1px solid rgba(255,255,255,.14);padding:8px 11px;border-radius:8px;color:#fff;font:700 12px var(--news-sans)}.xn-profile-social a:hover{color:#ff686d}
.xn-profile-reports{max-width:1050px;margin:0 auto 50px}.xn-profile-articles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.xn-profile-story{display:flex;flex-direction:column;gap:12px;min-width:0;color:#fff}.xn-profile-story-image{display:block;aspect-ratio:16/10;overflow:hidden}.xn-profile-story-image img{display:block;width:100%;height:100%;object-fit:cover}
.xn-profile-story>span:last-child{display:flex;flex-direction:column;gap:7px}.xn-profile-story small{color:#a1a1aa;font:600 11px/1.4 var(--news-sans)}
.xn-profile-story strong{font:800 clamp(17px,2vw,21px)/1.25 var(--news-sans)}.xn-profile-story>span>span{font:12px/1.5 var(--news-sans);color:#a1a1aa}
@media(max-width:760px){
 body.omni-news-ui .omni-frontpage{padding-bottom:24px}body.omni-news-ui .hero-copy{padding-top:14px}
 .xn-profile{margin:12px auto 28px}.xn-profile-banner{height:150px}
 .xn-profile-heading{gap:12px;margin-top:-35px;padding:0 16px 16px;align-items:flex-end}
 .xn-profile-avatar{height:80px;width:80px;border-width:3px}
 .xn-profile-copy{padding-top:36px}.xn-profile h1{font-size:24px}.xn-profile-role{font-size:12px}
 .xn-profile-info{padding:18px 16px 20px;grid-template-columns:minmax(0,1fr);gap:20px}
 .xn-profile-articles{grid-template-columns:minmax(0,1fr);gap:22px}.xn-profile-story{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:start;gap:12px}
 .xn-profile-story-image{aspect-ratio:1.1}.xn-profile-story strong{font-size:16px}
 .xn-profile-story>span>span{display:none}
}
@media(prefers-reduced-motion:reduce){body.omni-news-ui :is(.hero,.news-card,.rail-story,.region-highlights-card,.related-story,.edition-card,.xn-profile-story){transition:none;transform:none!important}}

/* Equipe pública, sem cartões vazios. */
.xn-team-page{padding:20px 0 50px}.xn-team-header{margin-bottom:28px}.xn-team-header h1{color:#fff;font:900 clamp(28px,5vw,46px)/1.1 var(--news-sans);letter-spacing:-.04em;margin:8px 0}.xn-team-header p{color:#a1a1aa;max-width:52ch;font-size:14px}
.xn-team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.xn-team-card{display:flex;align-items:center;gap:15px;padding:17px;min-width:0;border:1px solid rgba(255,255,255,.07);border-radius:14px;background:#141519;color:#fff;transition:opacity .2s ease}
.xn-team-card:hover{opacity:.86}.xn-team-card img,.xn-team-initial{width:70px;height:70px;flex:none;object-fit:cover;border-radius:50%}.xn-team-initial{display:grid;place-items:center;background:#342226;color:#fff;font-size:28px;font-weight:850}
.xn-team-card>span:last-child{min-width:0;display:grid;gap:5px}.xn-team-card strong{font-weight:850;font-size:16px;line-height:1.3;overflow-wrap:anywhere}.xn-team-card small{color:#a1a1aa;font-size:12px}.xn-team-card>span>span{color:#ff6b72;font-size:11px;font-weight:750}
@media(max-width:950px){.xn-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.xn-team-grid{grid-template-columns:minmax(0,1fr)}.xn-team-card{padding:13px}.xn-team-page{padding-top:10px}.xn-team-card img,.xn-team-initial{width:58px;height:58px}}

/* Crédito editorial opcional em resumos importados - fonte preservada */
.xn-rss-editor-credit{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center;margin:12px 0 19px;padding:9px 13px;background:#111319;border:1px solid rgba(255,255,255,.07);border-radius:12px;color:#a4acb8;font-size:12px;line-height:1.65}
.xn-rss-editor-credit span{max-width:100%;overflow-wrap:anywhere}
.xn-rss-editor-credit b{font-weight:760;color:#e2e5eb}
.xn-rss-editor-credit a{color:#d1d6df;text-underline-offset:3px}
.xn-rss-editor-credit a:hover{color:#fff}
@media(max-width:600px){.xn-rss-editor-credit{margin:10px 0 16px;padding:9px 11px;gap:3px 10px;font-size:11px}}


/* Assinatura RSS global — leitura discreta no feed e identificação clara na matéria. */
body.omni-news-ui .xn-story-edition{
 display:block;margin-top:6px;color:#99a2b0;font:600 11px/1.5 var(--news-sans,system-ui,sans-serif);
 letter-spacing:0;overflow-wrap:anywhere;text-transform:none;
}
body.omni-news-ui .rail-story .xn-story-edition{margin-top:4px;font-size:10px}
body.omni-news-ui .hero-copy .xn-story-edition{margin-top:9px;font-size:11px}
body.omni-news-ui .xn-article-editorline{
 display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 9px;
 margin:10px 0 8px;font:600 13px/1.5 var(--news-sans,system-ui,sans-serif);color:#a1a8b3;
}
body.omni-news-ui .xn-article-editorline strong{color:#f3f4f7;font-weight:800}
body.omni-news-ui .xn-article-editorline span{color:#a1a8b3}
@media(max-width:600px){
 body.omni-news-ui .xn-story-edition{font-size:10px;margin-top:5px}
 body.omni-news-ui .xn-article-editorline{font-size:12px;margin-top:8px}
}

/* Assinatura RSS e leitura: identificação editorial verificável e legível. */
body.omni-news-ui .xn-article-editorline{display:inline-flex;align-items:center;gap:7px 11px;margin:14px 0 13px;padding:9px 13px;border-left:3px solid var(--brand-accent,#d93448);border-radius:0 9px 9px 0;background:rgba(255,255,255,.045);color:#bfc4ce;line-height:1.35}
body.omni-news-ui .xn-article-editorline strong{font-weight:800;color:#fff;letter-spacing:.01em}
body.omni-news-ui .xn-story-edition{color:#c8cdd7;line-height:1.45;letter-spacing:.008em}
body.omni-news-ui .xn-rss-editor-credit{margin-top:13px;border-radius:8px}
@media(max-width:600px){body.omni-news-ui .xn-article-editorline{display:flex;padding:9px 11px;margin:12px 0;font-size:12px;max-width:100%;flex-wrap:wrap}}
