/*
Theme Name: Franca Esportes Premium
Theme URI: https://francaesportes.com.br
Author: Franca Esportes
Description: Tema editorial responsivo para o portal Franca Esportes. Primeira etapa: matérias nativas do WordPress e áreas esportivas demonstrativas.
Version: 1.3.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: franca-esportes
*/
@import url('assets/legacy.css');
:root{--red:#cc2938;--navy:#172332}body{overflow-x:hidden}a:hover{color:var(--red)}.fe-menu{display:flex;gap:19px;flex-wrap:wrap}.fe-menu a{font-size:13px;font-weight:700}.fe-menu a:hover{color:var(--red)}.fe-header-logo{display:block}.fe-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.fe-hero-overlay{position:absolute;inset:0;background:linear-gradient(0deg,rgba(11,21,36,.96),rgba(11,21,36,.18));z-index:1}.fe-hero-content{position:relative;z-index:2}.fe-news-image{height:180px;object-fit:cover;width:100%;display:block}.fe-meta{font-size:12px;color:#778493;margin:9px 0}.fe-article{background:white;border:1px solid var(--line);border-radius:10px;padding:clamp(22px,4vw,60px)}.fe-article h1{font-size:clamp(30px,4vw,49px);line-height:1.1;letter-spacing:-1.2px}.fe-article-body{font-size:17px;line-height:1.9;max-width:800px}.fe-article-body img{max-width:100%;height:auto}.fe-article-body a{color:var(--red);text-decoration:underline}.fe-cover{width:100%;max-height:510px;object-fit:cover;border-radius:8px;margin:20px 0}.fe-demo{border:1px dashed #c4ccd5;background:#fbfcfd;color:#66717d;border-radius:8px;padding:24px;margin:18px 0}.fe-empty{padding:30px;border:1px dashed #ccd1d8;background:#fff;border-radius:9px;color:#6e7c89}.fe-postgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.fe-brand{font-weight:950;font-size:25px;letter-spacing:-1px;line-height:1}.fe-brand em{font-style:normal;color:var(--red)}.fe-page-nav{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.fe-mobile-toggle{display:none;background:var(--navy);color:white;border-radius:7px;padding:9px 13px}.fe-cat{color:var(--red);font-size:11px;text-transform:uppercase;font-weight:800;letter-spacing:.7px}.fe-footer{background:#172332;color:#d7e0e8;margin-top:50px;padding:30px 0}.fe-footer a{color:white}.fe-kicker{color:var(--red);font-size:12px;font-weight:850;text-transform:uppercase}.fe-competition{padding:19px;border:1px solid var(--line);background:white;border-radius:10px}.fe-competition h3{margin:5px 0 10px}.fe-search{padding:10px 13px;border:1px solid #d8dde3;border-radius:7px;max-width:100%}.fe-submit{border-radius:7px;background:var(--navy);color:white;padding:11px 16px}.fe-banner{border:1px dashed #c5cbd1;padding:28px;text-align:center;border-radius:8px;color:#98a1ad;margin:24px 0;background:#f1f3f4;font-size:12px;letter-spacing:1px}.fe-source-note{font-size:12px;color:#7c8995}.fe-page-title{font-size:30px;margin:0 0 6px;letter-spacing:-.7px}.fe-fixture{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;background:white;border:1px solid var(--line);border-radius:8px;padding:16px;margin:10px 0}.fe-fixture strong{min-width:120px}.screen-reader-text{position:absolute;left:-9999px}.fe-pagination{margin-top:26px}.fe-pagination .page-numbers{padding:8px 11px;background:white;border:1px solid var(--line);border-radius:5px}.fe-pagination .current{background:var(--navy);color:white}@media(max-width:980px){.fe-postgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.fe-mobile-toggle{display:block}.fe-menu{display:none;position:absolute;top:68px;left:0;right:0;background:white;padding:20px;z-index:10;box-shadow:0 8px 20px #17233220}.fe-menu.is-open{display:flex;flex-direction:column}.fe-header{position:relative}}@media(max-width:650px){.fe-postgrid{grid-template-columns:1fr}.fe-article{padding:20px}.fe-article h1{font-size:30px}}

/* Franca Esportes 1.1 — refinamento editorial */
.fe-header-logo{flex:0 0 auto;min-width:175px;max-width:260px;display:flex;align-items:center}
.fe-header-logo .custom-logo-link,.fe-footer .custom-logo-link{display:inline-flex;align-items:center}
.fe-header-logo .custom-logo{display:block;max-width:245px;max-height:64px;width:auto;height:auto;object-fit:contain}
.fe-footer .custom-logo{max-width:210px;max-height:65px;width:auto;height:auto;object-fit:contain}
.fe-header-logo .fe-brand{white-space:nowrap}
.fe-menu{align-items:center;justify-content:flex-end;column-gap:16px;row-gap:9px;flex:1}
.fe-menu a{white-space:nowrap;font-size:12px;letter-spacing:-.1px}
.fe-menu a:focus-visible,.fe-header-logo a:focus-visible,.fe-mobile-toggle:focus-visible{outline:3px solid #cc2938;outline-offset:4px}
.fe-header .topbar{min-height:86px;height:auto;padding-top:13px;padding-bottom:13px}
.fe-header-logo a{text-decoration:none}
.fe-brand-link{display:inline-block}
.fe-hero-content h2{max-width:760px;text-wrap:balance}
.fe-article h1{text-wrap:balance}
.fe-article-body{overflow-wrap:anywhere}
.fe-article-body p{margin-bottom:1.15em}
.fe-article .fe-cat a{color:inherit}
.fe-article .fe-cat a:hover{color:#9e1425}
.fe-postgrid .tile h3{line-height:1.35}
.fe-banner{font-size:11px}
@media(max-width:1100px){.fe-menu{gap:10px}.fe-menu a{font-size:11px}}
@media(max-width:980px){.fe-header-logo{max-width:70%}.fe-header .topbar{min-height:74px}.fe-menu{top:100%;max-height:calc(100vh - 100px);overflow:auto;align-items:stretch}.fe-menu a{font-size:14px;padding:7px 0}}
@media(max-width:650px){.fe-header-logo .custom-logo{max-width:200px;max-height:58px}.strip .wrap{gap:12px}}

/* Marca oficial fornecida pelo Franca Esportes — sem recriação */
.fe-header-logo{min-width:220px;max-width:285px}
.fe-brand-official{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.fe-brand-official-header{background:#080b10;padding:10px 12px;border-radius:6px;max-width:270px;min-height:51px}
.fe-brand-official-header img{display:block;width:100%;height:auto;max-width:246px;object-fit:contain}
.fe-brand-official-footer{max-width:115px}
.fe-brand-official-footer img{width:100%;height:auto;object-fit:contain;display:block}
.fe-header .topbar{gap:18px}
.fe-menu{min-width:0}
@media(max-width:1150px){.fe-header-logo{min-width:200px;max-width:225px}.fe-brand-official-header{max-width:215px}.fe-menu{column-gap:10px}}
@media(max-width:980px){.fe-header-logo{min-width:0;max-width:72%}.fe-brand-official-header{max-width:235px;padding:9px}.fe-brand-official-header img{max-width:215px}}
@media(max-width:420px){.fe-brand-official-header{max-width:190px}.fe-brand-official-header img{max-width:170px}}

/* Franca Esportes v1.3 — tema escuro oficial: grafite, preto, branco, vermelho */
:root{--ink:#f4f6f9;--muted:#aab5c2;--red:#e22839;--navy:#111923;--bg:#090d13;--line:#29313c;--white:#151b24}
html{color-scheme:dark}body{background:var(--bg);color:var(--ink)}
.top,.fe-header{background:#0c1119;border-bottom:1px solid #26313f;color:#f8fafc}
.fe-header .topbar{min-height:90px}.fe-menu a{color:#e8edf4}.fe-menu a:hover{color:#ff4050}
.fe-brand-official-header{background:transparent;padding:4px 0;border-radius:0;max-width:285px}
.fe-brand-official-header img{max-width:275px;filter:none}
.strip{background:#171f2b;border-bottom:1px solid #2b3646;color:#e5eaf1}.strip .pill{background:#242e3e;border-color:#3d4a5c}
.main{background:var(--bg)}.muted,.fe-meta,.fe-source-note{color:var(--muted)}
.sidearticle,.tile,.news,.game,.tablebox,.statcard,.fe-article,.fe-competition,.fe-fixture,.fe-empty,.fe-demo{background:#151b24;color:#f1f4f8;border-color:#303946}
.sidearticle h3,.tile h3,.news h3,.fe-competition h3,.fe-article h1,.fe-page-title{color:#f8fafc}
.sidearticle section,.fe-article-body{color:#e2e7ee}
.fe-demo,.fe-empty{background:#121923;border-color:#465266;color:#c2cbd7}
.fe-banner,.ad{background:#151b24;border-color:#3b4655;color:#aeb9c8}
.fe-footer{background:#080b10;border-top:1px solid #252e3b;color:#dce3ec}
.fe-search,.fe-pagination .page-numbers{background:#171f29;border:1px solid #394657;color:#f4f6fa}
.fe-submit,.fe-mobile-toggle{background:#d91f32;color:#fff}
.fe-pagination .current{background:#d91f32;color:#fff}
.game .league,.league{color:#d8e1ea}.game .state,.state{color:#aebaca}
.visual{background:linear-gradient(140deg,#334254,#141c29)}.visual.football{background:linear-gradient(140deg,#58303a,#141c29)}
.mainstory{background:linear-gradient(0deg,rgba(5,8,14,.98),rgba(5,8,14,.12) 92%),linear-gradient(130deg,#242e3d,#111820 57%,#54202c)}
.fe-hero-overlay{background:linear-gradient(0deg,rgba(5,8,14,.98),rgba(5,8,14,.16))}
.fe-article-body a,.sectiontitle a{color:#ff4b5c}
.standing{border-color:#303946}.standing:first-of-type{background:#202936;color:#c2ccd7}
.fe-postgrid .tile{background:#151b24}
.fe-header-logo .custom-logo{max-width:275px}
@media(max-width:980px){.fe-menu{background:#101722;border:1px solid #303b4b;box-shadow:0 12px 32px #0009}.fe-menu a{color:#f4f6fa}}
