/* Public homepage only; reading and newsroom styles live in their own stylesheets. */
.newspaper.portal-home{
 --page:#f4f6fa;--surface:#fff;--subtle:#eef3fa;--rule:#dce4ef;
 --heading:#101e33;--secondary:#51637c;--accent:#064fc6;--pill:#e6efff;
 background:var(--page);color:var(--heading);
}
html[data-theme=night] .newspaper.portal-home{
 --page:#0f1725;--surface:#172235;--subtle:#1b2a41;--rule:#304057;
 --heading:#edf4ff;--secondary:#afc0d7;--accent:#a3c6ff;--pill:#203554;
 background:var(--page);color:var(--heading);
}
.portal-home .wrap{width:min(1240px,calc(100% - 72px))}
.portal-home .topline{background:#101d32;color:#c8d6eb;padding:6px 0}
.portal-home .utility-date::first-letter{text-transform:uppercase}
.portal-home .utility-tag{letter-spacing:.02em}
.portal-home .masthead-stage.hero-banner{border:0;background:#eff5ff}
.portal-home .hero-banner .header-motion{background:linear-gradient(115deg,#e3edfb,#f5f9ff 50%,#e2edff)}
.portal-home .hero-banner .newspaper-masthead{display:grid;grid-template-columns:1fr;place-items:center;min-height:116px;height:auto}
.portal-home .masthead-stage.hero-banner .newspaper-logo{grid-column:1;width:220px;padding:5px 0}
html[data-theme=night] .portal-home .hero-banner .header-motion{background:linear-gradient(115deg,#11213b,#20395d 50%,#12233c)}

.newspaper.portal-home .navline{background:#174781;border:0;border-bottom:1px solid #123a6a}
html[data-theme=night] .newspaper.portal-home .navline{background:#153761;border-bottom-color:#254b75}
.portal-home nav.wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,252px);height:auto;min-height:54px;gap:20px;align-items:center;overflow:visible}
.portal-nav-items{display:flex;gap:clamp(15px,2.5vw,34px);align-items:stretch;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#9abce6 transparent}
.portal-home nav .nav-item{height:53px;padding:0 2px;border:0;background:transparent;color:#e3efff;font-size:13px;flex:none}
.portal-home nav .nav-item:is(.active,:hover){color:#fff}
.portal-home nav .nav-item.active:after{background:#c5dfff;left:0;width:100%;bottom:3px;height:2px;border-radius:2px}
.portal-home nav .nav-item:focus-visible{outline-color:#c5dfff;outline-offset:-3px}
.portal-home #search{display:flex;width:100%;margin:0;padding:0 8px 0 13px;gap:4px;align-items:center;border:1px solid var(--rule);border-radius:8px;background:var(--subtle)}
.portal-home #search input{width:100%;min-width:0;color:var(--heading);background:transparent;padding:8px 0;font-size:12px}
.portal-home #search input::placeholder{color:var(--secondary)}
.portal-home #search button{display:grid;place-items:center;min-width:32px;height:32px;padding:0;color:var(--accent)}

.portal-home .topics{height:auto;min-height:48px;gap:11px;justify-content:flex-start;border-bottom:1px solid var(--rule);overflow-x:auto;scrollbar-width:thin}
.portal-home .topics strong,.portal-home .topics-end{flex:none;font-size:9px;color:var(--secondary)}
.portal-home .topics button{flex:none;display:inline-flex;gap:6px;padding:6px 9px;border:1px solid var(--rule);border-radius:5px;background:var(--surface);color:var(--heading);font-size:10px}
.portal-home .topics button:hover{color:var(--accent);border-color:var(--accent)}
.portal-home .topics-end{margin-left:auto}
.portal-home .front-label{display:flex;align-items:center;padding:23px 0 14px;margin:0}
.portal-home .front-label>span:first-child{font-size:10px;letter-spacing:.16em;color:var(--accent)}
.portal-home .front-label a{font-size:12px;font-weight:700;color:var(--secondary)}
.portal-home .front-label a:hover,.portal-home .front-label a span{color:var(--accent)}

.portal-home .front-page{display:grid;grid-template-columns:minmax(0,2.27fr) minmax(285px,1fr);align-items:start;gap:22px;padding:0;border:none}
.portal-home .lead-column{padding:0;border:0;min-width:0}
.portal-home .lead-story{
 position:relative;isolation:isolate;display:flex;flex-direction:row;align-items:flex-end;min-height:436px;width:100%;
 margin:0;padding:clamp(22px,3vw,40px);border:0;border-radius:14px;background:#132747;color:#fff;text-align:left;
 overflow:hidden;box-shadow:0 10px 28px #0c214320;
}
.portal-home .lead-story:focus-visible{outline-offset:3px}
.lead-visual,.lead-visual:after{position:absolute;inset:0}
.lead-visual:after{content:'';background:linear-gradient(180deg,#08172e16 0%,#0b192f65 33%,#091528e8 76%,#091528 100%)}
.portal-home .lead-visual img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.portal-home .lead-story:hover .lead-visual img{transform:scale(1.025)}
.portal-home .lead-story .lead-visual :is(.no-cover,.video-cover){height:100%;min-height:0;background:radial-gradient(ellipse at 90% 12%,#3e6ca8,transparent 58%),repeating-linear-gradient(132deg,#183053 0px,#183053 28px,#1c385f 29px,#1c385f 30px);justify-content:flex-start;padding-top:70px;color:#d7e7ff!important;font-size:22px;letter-spacing:.32em}
.lead-copy{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0;width:100%}
.portal-home .lead-story .eyebrow{background:#0b51c6;color:white;padding:7px 10px;border-radius:4px;line-height:1.2;letter-spacing:.12em}
.lead-headline{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;overflow-wrap:anywhere;max-width:700px;font:700 clamp(30px,3.3vw,49px)/1.06 Georgia,serif;letter-spacing:-.026em;color:#fff}
.lead-summary{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-width:640px;font-size:14px;line-height:1.6;color:#d9e7fa}
.lead-summary:empty{display:none}
.lead-details{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin-top:4px}
.portal-home .lead-details .author-line{margin:0}
.portal-home .lead-details .author-avatar{background:#29476c;color:#e7f0ff}
.portal-home .lead-details .author-name,.portal-home .lead-details .author-date{color:#dce8fa}
.lead-link{color:#fff;font-size:11px;font-weight:700;white-space:nowrap;letter-spacing:.01em}
.lead-link span{margin-left:6px;color:#a6caff}
.portal-home .highlight-controls{gap:10px;margin-top:9px;padding:0 10px;min-height:49px;border:1px solid var(--rule);border-radius:9px;background:var(--surface)}
.portal-home .highlight-controls>button{width:32px;height:32px;font-size:16px}
.portal-home .highlight-controls>span{font-size:11px;color:var(--secondary)}

.portal-home .live-column{display:grid;grid-column:auto;grid-template-columns:minmax(0,1fr);gap:12px;padding:0;min-width:0}
.portal-home .live-column .broadcast{display:block;border-radius:12px;background:#10213c;box-shadow:none}
.portal-home .broadcast-top{padding:12px 15px;background:#101d32;letter-spacing:.12em}
.portal-home .broadcast-top .live-dot{background:#ff596d;box-shadow:0 0 0 3px #ff596d23}
.portal-home .broadcast-top .live-badge{color:#ffc5cd;border-color:#87505d;background:#ff596d12;padding:3px 6px}
.portal-home .broadcast .tv-art{height:100px;min-height:0;background:radial-gradient(ellipse at 50% 95%,#2e61a7,#192f52 70%,#122746)}
.portal-home .broadcast .tv-watermark{inset:0;top:0;opacity:.36;margin:0}
.portal-home .tv-watermark img{width:min(62%,225px)}
.portal-home .broadcast .tv-art button{width:44px;height:44px}
.portal-home .broadcast .broadcast-copy{padding:12px 15px}
.portal-home .broadcast .broadcast-copy h2{font:700 19px/1.2 'Manrope',Arial,sans-serif;margin:0 0 4px}
.portal-home .broadcast .broadcast-copy p{font-size:11px;margin:0 0 8px}
.portal-home .broadcast .broadcast-copy button{width:100%;text-align:left;padding:8px 0 0;color:#c6deff}
.portal-home .broadcast .broadcast-copy button span{float:right}

.portal-home .edition-index{background:var(--surface);border:1px solid var(--rule);border-radius:12px;margin:0;padding:10px 14px 4px}
.portal-home .edition-index h2{font:800 15px/1.3 'Manrope',Arial,sans-serif;margin:3px 0;color:var(--heading)}
.portal-home .edition-index button{padding:9px 0;gap:9px;border-bottom-color:var(--rule);color:var(--heading)}
.portal-home .edition-index button>b{font-size:12px;line-height:1.35}
.portal-home .edition-index button>span{color:var(--accent);font-size:17px;font-weight:700;font-variant-numeric:tabular-nums}
.portal-home .edition-index button>i{color:var(--accent)}

.focus-section{margin:23px 0 0}
.focus-heading{display:flex;align-items:center;gap:14px;margin-bottom:10px}
.focus-heading:after{content:'';height:1px;background:var(--rule);flex:1}
.focus-heading h2{margin:0;font:700 21px/1.2 Georgia,serif}
.focus-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.portal-home .focus-grid .editorial-story{display:grid;grid-template-columns:80px minmax(0,1fr);gap:12px;background:var(--surface);border:1px solid var(--rule);border-radius:9px;padding:8px;min-height:93px;text-align:left}
.portal-home .focus-grid .editorial-story:hover{border-color:var(--accent)}
.focus-cover{display:block;position:relative;overflow:hidden;border-radius:5px;min-height:70px}
.focus-cover img,.portal-home .focus-cover :is(.no-cover,.video-cover){position:absolute;inset:0;width:100%;height:100%;object-fit:cover;min-height:0;font-size:8px;text-align:center}
.focus-copy{display:flex;flex-direction:column;justify-content:center;gap:5px;padding:3px 4px 9px 0;position:relative}
.focus-copy strong{font:700 15px/1.2 Georgia,serif;overflow-wrap:anywhere}
.portal-home .focus-copy .eyebrow{font-size:8px;letter-spacing:.12em}
.focus-arrow{position:absolute;right:0;bottom:-4px;font-size:11px;color:var(--accent)}

.portal-home .latest{padding:37px 0 44px;scroll-margin-top:12px}
.portal-home .latest h2{font:700 clamp(29px,3.5vw,42px)/1.05 Georgia,serif;letter-spacing:-.025em}
.portal-home .latest-heading{margin-bottom:15px}
.portal-home .section-side-note{color:var(--secondary)}
.newspaper.portal-home .filters{border-top:1px solid var(--rule);margin-bottom:16px;gap:8px;padding-top:12px}
.newspaper.portal-home .filters button{border:1px solid var(--rule);border-radius:6px;background:var(--surface);color:var(--secondary);padding:7px 12px;white-space:nowrap}
.newspaper.portal-home .filters button:is(:hover,.selected){border-color:var(--accent);background:var(--pill);color:var(--accent)}
#searchSummary{font-size:13px;color:var(--secondary);margin:0 0 16px}
.portal-home .news-grid{gap:14px 18px;align-items:stretch}
.portal-home .news-grid .empty{grid-column:1/-1}
.portal-home .news-card{display:flex;flex-direction:column;align-items:stretch;gap:0;min-width:0;background:var(--surface);border:1px solid var(--rule);border-radius:11px;overflow:hidden;padding:0 0 14px;transition:border-color .2s}
.portal-home .news-card:hover{border-color:var(--accent)}
.portal-home .news-card .card-image{border-radius:0;height:auto;aspect-ratio:16/8.7}
.portal-home .news-card :is(h3,p,.author-line){margin-left:14px;margin-right:14px}
.portal-home .news-card h3{font-size:23px;line-height:1.16;margin-top:14px;margin-bottom:7px;overflow-wrap:anywhere}
.portal-home .news-card p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5;color:var(--secondary);margin-top:0;margin-bottom:12px}
.portal-home .news-card .author-line{margin-top:auto;padding-top:4px}
.portal-home .news-card .author-avatar{width:27px;height:27px}
.portal-home .schedule{margin:0;border-radius:12px}
.portal-home .editorial-contact{display:flex;align-items:center;margin:20px 0 0;padding:22px 24px;gap:20px;background:var(--surface);border:1px solid var(--rule);border-radius:11px}
.portal-home .editorial-contact h2{font:700 clamp(24px,3vw,31px)/1.2 Georgia,serif}
.portal-home .editorial-contact p{color:var(--secondary)}
.portal-home .footer-main{padding-top:20px;padding-bottom:20px}

@media(max-width:1050px){
 .portal-home .wrap{width:calc(100% - 48px)}
 .portal-home .front-page{grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr);gap:15px}
 .portal-home .news-card h3{font-size:20px}
}
@media(max-width:760px){
 .portal-home .wrap{width:calc(100% - 28px)}
 .portal-home .hero-banner .newspaper-masthead{min-height:89px}
 .portal-home .masthead-stage.hero-banner .newspaper-logo{width:166px}
 .portal-home nav.wrap{grid-template-columns:minmax(0,1fr);gap:0;padding:0 0 8px}
 .portal-home nav .nav-item{height:44px;font-size:12px}
 .portal-nav-items{gap:16px}
 .portal-home #search{border-color:var(--rule)}
 .portal-home .topics{min-height:42px;padding:8px 0;gap:6px}
 .portal-home .topics-end{display:none}
 .portal-home .front-label{padding:15px 0 10px}
 .portal-home .front-page{grid-template-columns:minmax(0,1fr);gap:15px}
 .portal-home .lead-story{min-height:360px;padding:17px;border-radius:10px}
 .lead-copy{gap:9px}
 .lead-headline{font-size:clamp(26px,6.9vw,38px)}
 .lead-summary{font-size:12px}
 .lead-details{margin-top:1px}
 .portal-home .live-column{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .portal-home .edition-index{padding:8px 9px 3px}
 .portal-home .edition-index h2{font-size:13px}
 .portal-home .edition-index button>b{font-size:10px}
 .portal-home .edition-index button>span{font-size:13px}
 .portal-home .edition-index button>i{display:none}
 .portal-home .broadcast .broadcast-copy h2{font-size:15px}
 .portal-home .broadcast .broadcast-copy button{font-size:10px}
 .focus-grid{grid-template-columns:minmax(0,1fr);gap:7px}
 .portal-home .focus-grid .editorial-story{min-height:76px;grid-template-columns:76px minmax(0,1fr)}
 .focus-cover{min-height:58px}
 .portal-home .news-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .portal-home .news-card h3{font-size:17px}
 .portal-home .news-card :is(h3,p,.author-line){margin-left:9px;margin-right:9px}
 .portal-home .news-card p{font-size:11px}
 .portal-home .latest{padding:24px 0 28px}
 .portal-home .section-side-note{display:none}
 .portal-home .editorial-contact{align-items:flex-start;flex-direction:column;gap:5px}
}
@media(max-width:359px){
 .portal-home .live-column,.portal-home .news-grid{grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){.portal-home .lead-visual img,.portal-home .news-card{transition:none}}

/* A edição Android abre com a TV, antes das editorias e do carrossel. */
.portal-home .app-tv-top{padding:14px 0}
.portal-home .app-tv-top .broadcast{display:block;border-radius:12px;background:#10213c;box-shadow:0 5px 18px #08152d30}
.portal-home .app-tv-top .broadcast-top{padding:10px 14px;min-height:36px}
.portal-home .app-tv-top .live-badge{color:#fff;background:#8b1830;border-color:#ff98a8;letter-spacing:.12em}
.portal-home .app-tv-top :is(.live-dot,.live-badge){animation:app-live-blink 1.7s ease-in-out infinite}
@keyframes app-live-blink{0%,100%{opacity:1}50%{opacity:.64}}
.portal-home .app-tv-top .tv-art{min-height:0;height:clamp(112px,32vw,190px)}
.portal-home .app-tv-top .tv-watermark img{width:min(60%,260px)}
.portal-home .app-tv-top .tv-art button{width:50px;height:50px}
.portal-home .app-tv-top .broadcast-copy{display:grid;gap:5px;padding:12px 14px}
.portal-home .app-tv-top .broadcast-copy h2{font-size:17px;margin:0}
.portal-home .app-tv-top .broadcast-copy p{margin:0}
.portal-home .app-tv-top .broadcast-copy button{padding:8px 0 2px;margin-top:3px;min-height:34px;font-size:12px}
@media(max-width:760px){
 .portal-home .app-tv-top{padding:10px 0}
 .portal-home.android-portal .live-column{grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){
 .portal-home .app-tv-top :is(.live-dot,.live-badge){animation:none}
}
