/*
Theme Name: Agora em Foco
Theme URI: https://example.com/agora-em-foco
Author: Agora em Foco
Description: Plataforma editorial para portais de notícias, com gestão de destaques, Web Stories, publicidade e SEO.
Version: 3.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: agora-em-foco
*/
:root{--brand:#d71920;--brand-dark:#a90f16;--ink:#171717;--muted:#707070;--line:#e8e8e8;--surface:#fff;--soft:#f5f5f5;--radius:12px;--container:1200px;--shadow:0 5px 24px rgba(0,0,0,.07)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.55}a{color:inherit;text-decoration:none}a:hover{color:var(--brand)}img{max-width:100%;height:auto;display:block}button,input{font:inherit}.container{width:min(var(--container),calc(100% - 36px));margin-inline:auto}.topbar{background:var(--brand);color:#fff;font-size:12px}.topbar-inner{min-height:32px;display:flex;align-items:center;justify-content:space-between;gap:16px}.social-links{display:flex;gap:14px}.masthead{padding:19px 0;border-bottom:1px solid var(--line)}.masthead-inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}.menu-toggle{border:0;background:var(--brand);color:#fff;border-radius:5px;width:42px;height:42px;font-size:21px;cursor:pointer}.site-branding{display:flex;align-items:center;gap:10px;justify-self:center}.custom-logo{max-height:58px;width:auto}.brand-mark{display:grid;grid-template-columns:repeat(2,19px);gap:4px}.brand-mark i{height:19px;background:var(--brand);border-radius:3px}.brand-mark i:last-child{grid-column:2}.brand-name{font-size:24px;font-weight:850;line-height:1;letter-spacing:-1px}.brand-tagline{font-size:9px;text-transform:uppercase;letter-spacing:1.2px;color:#555;display:block}.header-search{display:flex;justify-self:end;width:min(290px,100%)}.header-search input{width:100%;min-width:0;border:1px solid var(--line);padding:10px 12px;font-size:12px;background:#fafafa}.header-search button{border:0;background:var(--brand);color:#fff;padding:0 14px;cursor:pointer}.primary-nav{border-bottom:1px solid var(--line)}.primary-nav ul{display:flex;justify-content:center;align-items:center;gap:24px;list-style:none;margin:0;padding:12px 0;flex-wrap:wrap}.primary-nav a{font-size:12px;font-weight:750}.category-strip{display:flex;gap:17px;overflow-x:auto;padding:23px 0 18px;scrollbar-width:thin}.category-chip{flex:0 0 76px;text-align:center;font-size:11px;font-weight:650}.category-chip img,.category-placeholder{width:64px;height:64px;border-radius:50%;object-fit:cover;border:2px solid var(--brand);padding:3px;margin:0 auto 7px}.category-placeholder{display:grid;place-items:center;background:var(--soft);font-size:23px}.lead-heading{text-align:center;max-width:980px;margin:4px auto 24px}.lead-heading h1{font-size:clamp(28px,4vw,44px);line-height:1.08;letter-spacing:-1.5px;margin:5px 0 8px;font-weight:880}.lead-heading p{margin:0;color:var(--muted);font-size:14px}.section-kicker{font-size:11px;text-transform:uppercase;color:var(--brand);font-weight:850;letter-spacing:.7px}.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:20px}.hero-main,.hero-side-card{position:relative;overflow:hidden;border-radius:var(--radius);background:#222;color:#fff;isolation:isolate}.hero-main{min-height:430px}.hero-side{display:grid;grid-template-rows:1fr 1fr;gap:14px}.hero-side-card{min-height:208px}.cover-link{position:absolute;inset:0;z-index:3}.hero-main img,.hero-side-card img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.hero-main:hover img,.hero-side-card:hover img{transform:scale(1.035)}.hero-main:after,.hero-side-card:after{content:"";position:absolute;inset:25% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.92));z-index:0}.hero-copy{position:absolute;z-index:2;left:20px;right:20px;bottom:18px;pointer-events:none}.hero-main h2{font-size:clamp(23px,2.7vw,32px);line-height:1.12;margin:7px 0}.hero-side-card h3{font-size:19px;line-height:1.15;margin:6px 0}.category-label{display:inline-block;background:var(--brand);color:#fff;padding:4px 9px;border-radius:3px;font-size:10px;font-weight:850;text-transform:uppercase}.hero-copy p{font-size:12px;margin:4px 0 0;color:#eee}.ad-slot{min-height:90px;background:#fafafa;border:1px dashed #ddd;border-radius:10px;display:flex;align-items:center;justify-content:center;text-align:center;color:#999;margin:22px 0;font-size:13px;overflow:hidden}.ad-slot strong{display:block;color:#666;font-size:18px}.ad-slot img{max-height:90px;width:auto;margin:auto}.stories-section{margin:30px 0}.section-title{font-size:22px;color:var(--brand);font-weight:850;border-bottom:2px solid var(--brand);padding-bottom:7px;margin:0 0 15px}.stories-track{display:grid;grid-auto-flow:column;grid-auto-columns:132px;gap:10px;overflow-x:auto;padding-bottom:8px}.story-card{height:190px;border-radius:10px;overflow:hidden;position:relative;background:#222;color:#fff}.story-card img{width:100%;height:100%;object-fit:cover}.story-card:after{content:"";position:absolute;inset:30% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.92))}.story-card span{position:absolute;z-index:1;bottom:10px;left:9px;right:9px;font-size:12px;font-weight:850;line-height:1.2}.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:28px;margin:30px 0 50px}.post-list{display:grid;gap:20px}.post-card{display:grid;grid-template-columns:minmax(150px,40%) 1fr;gap:16px;padding-bottom:18px;border-bottom:1px solid var(--line)}.post-thumb{height:158px;border-radius:10px;overflow:hidden;background:var(--soft)}.post-thumb img{width:100%;height:100%;object-fit:cover}.post-meta{font-size:11px;color:var(--muted);margin:0 0 5px}.post-card h2{font-size:23px;line-height:1.15;color:var(--brand);margin:0 0 6px}.post-card p{font-size:13px;color:#555;margin:0}.sidebar-box{border:1px solid var(--line);border-radius:10px;padding:15px;margin-bottom:18px}.sidebar-box h3{font-size:17px;margin:0 0 12px}.popular-item{display:grid;grid-template-columns:48px 1fr;gap:10px;padding:10px 0;border-top:1px solid var(--line)}.popular-time{font-size:11px;color:var(--brand);font-weight:850}.popular-item strong{font-size:12px;line-height:1.3;display:block}.popular-item small{font-size:10px;color:var(--muted)}.page-header{padding:28px 0 12px}.page-header h1{font-size:34px;margin:0}.single-header{max-width:920px;margin:28px auto 20px}.single-header h1{font-size:clamp(30px,5vw,49px);line-height:1.08;letter-spacing:-1px;margin:8px 0}.single-featured{width:100%;max-height:540px;object-fit:cover;border-radius:12px}.article-content{max-width:790px;margin:25px auto 60px;font-size:18px;line-height:1.8}.article-content h2,.article-content h3{line-height:1.2}.article-content a{color:var(--brand);text-decoration:underline}.article-content img{border-radius:8px}.pagination{margin:25px 0}.pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap}.pagination a,.pagination span{padding:8px 12px;border:1px solid var(--line);border-radius:5px}.pagination .current{background:var(--brand);color:#fff}.site-footer{background:#171717;color:#eee;padding:40px 0 20px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}.site-footer h3{font-size:16px}.site-footer p,.site-footer a{font-size:13px;color:#bbb}.copyright{border-top:1px solid #333;margin-top:25px;padding-top:16px;color:#999;font-size:12px}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.menu-open .primary-nav{display:block}.story-reader{max-width:440px;margin:30px auto 60px;background:#111;border-radius:16px;overflow:hidden;color:white;position:relative;min-height:75vh}.story-slide{display:none;min-height:75vh;position:relative}.story-slide.is-active{display:flex;align-items:flex-end}.story-slide img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.story-slide:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.9))}.story-slide-copy{position:relative;z-index:2;padding:24px;width:100%}.story-slide-copy h2{font-size:27px;line-height:1.1}.story-progress{display:flex;gap:4px;position:absolute;z-index:5;top:12px;left:12px;right:12px}.story-progress span{height:3px;background:rgba(255,255,255,.5);flex:1;border-radius:5px}.story-progress span.active{background:#fff}.story-controls{position:absolute;z-index:6;inset:0;display:flex}.story-controls button{width:50%;border:0;background:transparent;color:transparent;cursor:pointer}.story-close{position:absolute;z-index:7;right:12px;top:20px;color:#fff;background:rgba(0,0,0,.4);border:0;border-radius:50%;width:30px;height:30px}.story-admin-row{display:flex;gap:8px;align-items:center;margin:8px 0}.story-admin-row input{flex:1;min-width:0}.story-admin-row button{flex:0 0 auto}.notice-box{padding:12px;background:#fff8e5;border-left:4px solid #d99b00}
@media(max-width:800px){.masthead-inner{grid-template-columns:auto 1fr auto}.site-branding{justify-self:start}.brand-name{font-size:20px}.header-search{width:42px}.header-search input{display:none}.header-search button{height:40px}.primary-nav ul{gap:14px}.hero-main{min-height:340px}.hero-side-card{min-height:163px}.content-layout{grid-template-columns:1fr}.sidebar{display:grid;grid-template-columns:1fr 1fr;gap:14px}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.topbar-inner{font-size:10px}.social-links{display:none}.masthead{padding:14px 0}.masthead-inner{gap:10px}.brand-mark{grid-template-columns:repeat(2,14px);gap:3px}.brand-mark i{height:14px}.brand-name{font-size:17px}.brand-tagline{font-size:7px}.primary-nav{display:none}.primary-nav ul{align-items:flex-start;justify-content:flex-start;flex-direction:column;padding:14px 0}.category-chip{flex-basis:66px}.category-chip img,.category-placeholder{width:56px;height:56px}.lead-heading h1{font-size:28px}.hero-grid{grid-template-columns:1fr}.hero-main{min-height:350px}.hero-side{grid-template-rows:1fr 1fr}.hero-side-card{min-height:190px}.post-card{grid-template-columns:115px 1fr;gap:11px}.post-thumb{height:115px}.post-card h2{font-size:17px}.post-card p{font-size:12px}.sidebar{display:block}.footer-grid{grid-template-columns:1fr}.section-title{font-size:20px}}
