/* Extreme News — rodapé editorial compacto. Classes exclusivas evitam interferência do CSS legado. */
.ex-footer,.ex-footer *{box-sizing:border-box}
.ex-footer{color:#eceef1;background:#0e0f12;border-top:1px solid #2b2e35;position:relative;min-width:0}
.ex-footer::before{content:"";position:absolute;top:-1px;left:max(16px,calc((100% - var(--news-max))/2));width:70px;height:2px;background:var(--brand-accent)}
.ex-footer .ex-footer-main{display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);gap:clamp(28px,6vw,95px);align-items:center;padding-block:19px 17px}
.ex-footer .ex-footer-brand{min-width:0;display:grid;gap:7px;align-content:start}
.ex-footer .ex-footer-brandlink{display:grid;place-items:center;width:min(100%,290px);min-height:53px;padding:6px 10px;border-radius:8px;border:1px solid #57585e;background:linear-gradient(110deg,#606169,#494a51);text-decoration:none;overflow:hidden}
.ex-footer .ex-footer-logo{display:block;width:100%;max-width:270px;height:43px;min-width:0;object-fit:contain;object-position:center;filter:none;max-height:43px}
.ex-footer .ex-footer-brand p{margin:0;font:400 11px/1.5 var(--news-sans,Arial,sans-serif);color:#a9aeb7;max-width:44ch}
.ex-footer .ex-footer-content{min-width:0;display:grid;gap:17px}
.ex-footer .ex-footer-nav{display:flex;align-items:center;gap:13px 24px;flex-wrap:wrap;min-width:0}
.ex-footer .ex-footer-nav a{font:650 13px/1.4 var(--news-sans,Arial,sans-serif);color:#f0f0f2;white-space:nowrap;text-decoration:none;transition:color .2s ease}
.ex-footer .ex-footer-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px 26px;min-width:0}
.ex-footer .ex-footer-actions a,.ex-footer .ex-footer-contact{font:500 12px/1.4 var(--news-sans,Arial,sans-serif);color:#adb2bc;text-decoration:none;overflow-wrap:anywhere}
.ex-footer .ex-footer-actions a:hover,.ex-footer .ex-footer-nav a:hover{color:#ff5e65}
.ex-footer :is(a):focus-visible{outline:2px solid var(--brand-accent);outline-offset:4px}
.ex-footer .ex-footer-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 18px;padding-block:10px 13px;border-top:1px solid #292b31}
.ex-footer .ex-footer-bottom small{font:400 10px/1.6 var(--news-sans,Arial,sans-serif);color:#868c98}
.ex-footer .ex-footer-bottom small:last-child{text-align:right}
.main:has(+ .ex-footer){padding-bottom:25px}
@media(max-width:860px){
 .ex-footer .ex-footer-main{grid-template-columns:minmax(0,1fr);gap:15px;align-items:start;padding-block:16px}
 .ex-footer .ex-footer-brand{gap:5px}
 .ex-footer .ex-footer-brandlink{width:min(100%,250px);min-height:49px}
 .ex-footer .ex-footer-logo{height:37px;max-height:37px}
 .ex-footer .ex-footer-content{gap:12px}
 .ex-footer .ex-footer-nav{gap:7px 19px}
 .ex-footer .ex-footer-actions{gap:10px 19px}
}
@media(max-width:580px){
 .ex-footer .ex-footer-main{padding-block:16px 13px;gap:14px}
 .ex-footer .ex-footer-brandlink{width:min(100%,235px);min-height:48px;padding:5px 9px}
 .ex-footer .ex-footer-logo{max-width:220px;height:37px;max-height:37px}
 .ex-footer .ex-footer-brand p{font-size:11px;max-width:36ch}
 .ex-footer .ex-footer-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 15px}
 .ex-footer .ex-footer-nav a{font-size:12px;white-space:normal}
 .ex-footer .ex-footer-actions a,.ex-footer .ex-footer-contact{font-size:11px}
 .ex-footer .ex-footer-bottom{display:grid;gap:3px;padding-block:11px 14px}
 .ex-footer .ex-footer-bottom small,.ex-footer .ex-footer-bottom small:last-child{font-size:10px;text-align:left}
 .main:has(+ .ex-footer){padding-bottom:18px}
}
@media(prefers-reduced-motion:reduce){.ex-footer .ex-footer-nav a{transition:none}}


/* Redes sociais: chips compactos, visíveis somente quando configurados no Admin. */
.ex-footer .ex-footer-social{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-left:auto;min-width:0}
.ex-footer .ex-footer-social a{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:33px;padding:7px 10px;border:1px solid #373b44;border-radius:8px;color:#e7e9ed;background:#17191e;text-decoration:none;font:650 11px/1.2 var(--news-sans,Arial,sans-serif);white-space:nowrap;transition:border-color .18s ease,background .18s ease,color .18s ease}
.ex-footer .ex-footer-social a svg{display:block;width:16px;height:16px;flex:none}
.ex-footer .ex-footer-social a:hover,.ex-footer .ex-footer-social a:focus-visible{border-color:var(--brand-accent);background:#272027;color:#fff}
@media(max-width:860px){.ex-footer .ex-footer-social{margin-left:0}}
@media(max-width:580px){.ex-footer .ex-footer-social{gap:6px}.ex-footer .ex-footer-social a{min-height:34px;padding:7px 9px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.ex-footer .ex-footer-social a{transition:none}}

/* Acesso editorial: discreto, legível e constante. */
.ex-footer .ex-footer-editor{display:inline-flex;align-items:center;min-height:28px;color:#e8eaf0!important;font-size:12px;font-weight:750;letter-spacing:.015em;text-decoration:none}
.ex-footer .ex-footer-editor:hover,.ex-footer .ex-footer-editor:focus-visible{color:#ff6b70!important}
@media(max-width:580px){.ex-footer .ex-footer-editor{font-size:11px;min-height:30px}}
