
:root{--ink:#101519;--muted:#6e777d;--line:#e7e9eb;--accent:#6b1c96;--brand:#6b1c96;--brand2:#6b1c96;--soft:#f5f3f3;--shell:1180px}*{box-sizing:border-box}html{overflow-x:hidden}body{margin:0;color:var(--ink);font-family:Inter,Arial,sans-serif;background:#fff}a{color:inherit;text-decoration:none}.shell{width:min(var(--shell),calc(100% - 36px));margin:auto}.utility{background:#6b1c96;color:#fff;font-size:10px}.utility__inner{height:28px;display:flex;align-items:center;justify-content:space-between}.utility__actions{display:flex;gap:13px}.brand-row{min-height:118px;display:grid;grid-template-columns:245px 320px 1fr;align-items:center;gap:28px}.brand img{width:230px;display:block}.header-market{display:grid;grid-template-columns:1fr 1fr;border-left:1px solid var(--line)}.header-market>div{padding:4px 22px;border-right:1px solid var(--line)}.market small{display:block;color:#6b1c96;font-size:9px;font-weight:800}.market strong{font-size:16px}.market span{display:block;color:var(--muted);font-size:10px;margin-top:3px}.header-ad{height:70px;background:#f1efef;display:grid;place-items:center;text-align:center;color:#a3a3a3;font-size:9px;overflow:hidden}.header-ad b{font-size:13px;font-weight:500}.header-ad img,.wide-ad img{width:100%;height:100%;object-fit:cover}.main-nav{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff}.nav-inner{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:20px}.nav-links{display:flex;align-items:center;gap:24px;min-width:0}.nav-links a{font-size:10px;font-weight:700;white-space:nowrap}.nav-links a i{font-size:8px;margin-left:3px}.nav-links a.active{color:#6b1c96;border-bottom:3px solid #6b1c96;align-self:stretch;display:flex;align-items:center}.nav-inner form{width:250px;display:flex;border:1px solid #ddd;height:32px}.nav-inner input{flex:1;min-width:0;border:0;padding:0 11px;outline:0;font-size:10px}.nav-inner form button{width:42px;border:0;background:#6b1c96;color:white}.nav-toggle{display:none}.main-content{padding-top:22px;padding-bottom:0}.foztotal-lead{display:grid;grid-template-columns:minmax(0,4fr) 1.08fr;gap:20px}.foztotal-hero__image{height:435px;display:flex;align-items:flex-end;position:relative;background-size:cover;background-position:center;overflow:hidden}.foztotal-hero__image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 30%,rgba(0,0,0,.88) 100%)}.hero-badge{position:absolute;z-index:2;left:24px;top:24px;padding:9px 14px;background:#6b1c96;border-radius:5px;color:#fff;font-size:10px;font-weight:800}.foztotal-hero__overlay{position:relative;z-index:2;color:#fff;padding:0 24px 22px;max-width:760px}.hero-cat{display:inline-block;background:#6b1c96;padding:6px 9px;border-radius:4px;font-size:9px;font-weight:800}.foztotal-hero h1{font-size:32px;line-height:1.05;margin:12px 0 7px;letter-spacing:-1.2px;max-width:710px}.foztotal-hero p{font-size:13px;max-width:650px;margin:0 0 13px;line-height:1.45}.foztotal-hero small{font-size:9px}.foztotal-ad-stack{display:grid;grid-template-rows:1fr 1fr;gap:16px}.foztotal-ad-stack>div{background:#f0eeee;min-height:0;overflow:hidden}.foztotal-ad-stack img{width:100%;height:100%;object-fit:cover}.section-title{display:flex;align-items:end;justify-content:space-between}.section-title--row{margin:34px 0 20px}.section-title h2{font-size:25px;margin:0;letter-spacing:-1px}.section-title a{color:var(--accent);font-size:10px;font-weight:700}.latest-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.news-card img{width:100%;height:145px;object-fit:cover}.source-line{font-size:8px;color:#9b9b9b;margin:9px 0 5px}.source-dot{display:inline-block;width:6px;height:6px;background:var(--accent);border-radius:50%;margin-right:4px}.news-card h3{font-size:15px;line-height:1.12;margin:0 0 7px}.news-card p{font-size:9.5px;line-height:1.45;color:var(--muted);margin:0}.wide-ad{height:150px;margin:38px 0;background:#f0eeee;display:grid;place-items:center;color:#bbb;font-size:11px;overflow:hidden}.triple-popular{display:grid;grid-template-columns:repeat(3,1fr);gap:60px;margin-bottom:35px}.compact{margin:0 0 10px}.compact h2{font-size:23px}.popular-column article a{display:grid;grid-template-columns:92px 1fr;gap:11px;padding:9px 0;border-bottom:1px solid var(--line)}.popular-column article img{width:92px;height:57px;object-fit:cover}.popular-column .source-line{margin:0 0 3px;font-size:7px}.popular-column h3{font-size:10.5px;line-height:1.15;margin:0 0 4px}.popular-column small{font-size:8px;color:var(--accent)}.full-bleed{width:100vw;margin-left:calc(50% - 50vw)}.dark-popular{background:#061118;color:#fff;padding:32px 0 42px}.dark-popular>.shell{width:min(var(--shell),calc(100% - 36px));margin:auto}.dark-title{margin-bottom:18px}.dark-title h2{font-size:25px}.dark-grid{display:grid;grid-template-columns:1.05fr 2.2fr 1fr;gap:20px}.dark-small img{width:100%;height:170px;object-fit:cover}.dark-small h3{font-size:17px;line-height:1.15;margin:10px 0 8px}.dark-small p{font-size:9px;color:#a8b0b4;line-height:1.45}.dark-feature>a{height:300px;display:flex;align-items:end;background-size:cover;background-position:center;position:relative;overflow:hidden}.dark-feature>a:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent,rgba(0,0,0,.88))}.dark-feature div{position:relative;z-index:2;padding:24px}.dark-feature h2{font-size:28px;line-height:1.05;margin:0 0 8px}.dark-feature p{font-size:10px;margin:0}.dark-stack article{margin-bottom:15px}.dark-stack img{width:100%;height:105px;object-fit:cover}.dark-stack h3{font-size:13px;line-height:1.15;margin:6px 0 3px}.dark-stack small{font-size:8px;color:var(--accent)}.slim-newsletter{margin:35px auto;padding:13px 25px;background:#f6f6f6;display:grid;grid-template-columns:50px 260px 1fr;align-items:center;gap:15px}.mail-icon{font-size:29px;color:#6b1c96}.slim-newsletter strong{font-size:10px;color:#6b1c96;line-height:1.35}.slim-newsletter form{height:30px;display:flex}.slim-newsletter input{flex:1;border:1px solid #ddd;padding:0 15px;font-size:9px}.slim-newsletter button{width:110px;border:0;background:#6b1c96;color:#fff;font-size:8px;font-weight:800}.home-tail-space{height:0}.site-footer{background:#11191d;color:#fff;padding:35px 0 15px}.footer-grid{display:grid;grid-template-columns:1.7fr repeat(3,1fr);gap:55px}.footer-grid img{width:180px}.footer-grid p{font-size:10px;line-height:1.55;color:#c1c8ca;max-width:280px}.footer-grid h4{font-size:10px;margin:0 0 13px}.footer-grid>div:not(:first-child){display:flex;flex-direction:column;gap:5px}.footer-grid a{font-size:9px;color:#e7eaeb}.footer-social{display:flex;gap:13px;margin-top:12px}.footer-social a{font-size:16px}.copyright{border-top:1px solid #273137;margin-top:28px;padding-top:13px;font-size:8px;color:#c0c6c8}
/* Internal editorial pages */.listing-page{max-width:940px;margin:20px auto 60px}.listing-header{border-bottom:1px solid var(--line);padding-bottom:24px;margin-bottom:24px}.listing-header span,.article-kicker{color:var(--accent);font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.listing-header h1{font-size:42px;letter-spacing:-1.4px;margin:7px 0}.listing-header p{color:var(--muted);margin:0;font-size:14px}.story-list{display:flex;flex-direction:column}.story-row{display:grid;grid-template-columns:280px 1fr;gap:24px;padding:22px 0;border-bottom:1px solid var(--line)}.story-row__image img{width:100%;height:180px;object-fit:cover}.story-row__body{align-self:center}.story-row__body h2{font-size:24px;line-height:1.15;margin:6px 0 9px}.story-row__body p{font-size:13px;line-height:1.55;color:var(--muted);margin:0 0 10px}.story-row__body small{font-size:11px;color:var(--accent)}.listing-empty{padding:55px;text-align:center;background:#f7f7f7;color:var(--muted)}.article-shell{max-width:850px;margin:20px auto 60px}.article-shell img{max-width:100%}
@media(max-width:900px){.brand-row{grid-template-columns:210px 1fr}.header-market{display:none}.header-ad{height:70px}.nav-links{gap:13px;overflow:hidden}.foztotal-lead{grid-template-columns:1fr}.foztotal-ad-stack{display:none}.foztotal-hero__image{height:390px}.latest-grid{grid-template-columns:repeat(2,1fr)}.triple-popular{grid-template-columns:1fr 1fr;gap:35px}.popular-column:last-child{display:none}.dark-grid{grid-template-columns:1fr 1.8fr}.dark-stack{display:none}.footer-grid{grid-template-columns:1.5fr 1fr 1fr}.footer-grid>div:last-child{display:none}}
@media(max-width:620px){.shell{width:min(var(--shell),calc(100% - 24px))}.utility__inner{justify-content:center}.utility__actions{display:none}.brand-row{display:block;padding:18px 0}.brand{display:flex;justify-content:center}.brand img{width:210px}.header-ad{margin-top:16px}.market--mobile{display:grid!important;grid-template-columns:1fr 1fr;padding:12px 0}.nav-toggle{display:block;border:0;background:transparent;font-size:22px}.nav-links{display:none}.nav-inner form{width:180px;margin-left:auto}.foztotal-hero__image{height:360px}.foztotal-hero h1{font-size:26px}.foztotal-hero p{font-size:11px}.latest-grid{grid-template-columns:1fr 1fr;gap:14px}.news-card img{height:110px}.news-card h3{font-size:13px}.news-card p{display:none}.wide-ad{height:100px}.triple-popular{grid-template-columns:1fr;gap:20px}.popular-column:nth-child(n+2){display:none}.dark-grid{grid-template-columns:1fr}.dark-small{display:none}.dark-feature>a{height:290px}.dark-feature h2{font-size:24px}.slim-newsletter{grid-template-columns:36px 1fr;padding:12px}.slim-newsletter form{grid-column:1/-1}.footer-grid{grid-template-columns:1fr 1fr;gap:28px}.footer-grid>div:first-child{grid-column:1/-1}.story-row{grid-template-columns:1fr}.story-row__image img{height:210px}.listing-header h1{font-size:34px}}
@media(min-width:621px){.market--mobile{display:none!important}}


/* Foz Total - refinamentos de layout 13/08/2026 */
.brand-row--internal{grid-template-columns:245px 320px;justify-content:start}
.header-market{min-height:82px;align-items:stretch}
.market-card{display:flex;flex-direction:column;justify-content:center;min-width:0}
.market-card small{font-size:10px;letter-spacing:.01em;margin-bottom:6px}
.market-value-row,.weather-row{display:flex;align-items:center;gap:10px}
.market-value-row strong,.weather-row strong{font-size:24px;line-height:1;font-weight:800;color:#11191d}
.market-dollar-icon{font-size:20px;color:#00a85a}
.market-change{font-size:12px!important;font-weight:800;color:#00a85a!important;margin-top:7px!important}
.market-weather-icon{font-size:29px;color:#d39c1a}
.market-card--weather>span{font-size:12px;margin-top:7px;color:#777}

.foztotal-lead{grid-template-columns:minmax(0,4fr) 1.08fr;align-items:stretch}
.foztotal-hero__image{height:510px}
.foztotal-ad-stack{grid-template-rows:2fr 1fr}
.foztotal-ad-stack>div:first-child{min-height:0}
.foztotal-ad-stack>div:last-child{min-height:0}
.section-title a,.popular-column small,.dark-stack small,.story-row__body small,.listing-header span,.article-kicker{color:#6b1c96}
.source-dot{background:#6b1c96}

/* Categorias: conteúdo alinhado pela esquerda */
.listing-page{max-width:1040px;margin:20px 0 60px}
.listing-header{max-width:900px}
.story-list{max-width:980px}
.listing-pagination{display:flex;align-items:center;gap:14px;margin-top:28px}
.listing-pagination a{background:#6b1c96;color:#fff;padding:9px 14px;border-radius:4px;font-size:12px;font-weight:700}
.listing-pagination span{font-size:12px;color:var(--muted)}

/* Matéria: editorial limpo, sem publicidade */
.article-page{width:min(920px,100%);margin:24px 0 72px}
.article-header{max-width:900px;padding-bottom:22px;border-bottom:1px solid var(--line)}
.article-kicker{display:inline-flex;margin-bottom:12px;letter-spacing:.08em}
.article-header h1{font-size:48px;line-height:1.04;letter-spacing:-2px;margin:0 0 16px;font-weight:850}
.article-deck{font-size:19px;line-height:1.5;color:#596268;margin:0 0 22px;max-width:850px}
.article-info{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:8px}
.article-author{display:flex;align-items:center;gap:11px}
.article-author .avatar{width:42px;height:42px;border-radius:50%;background:#6b1c96;color:#fff;display:grid;place-items:center;font-size:16px;font-weight:800}
.article-author div{display:flex;flex-direction:column;gap:3px}
.article-author b{font-size:12px}.article-author small{font-size:10px;color:#7e878c}
.article-share{display:flex;gap:8px}.article-share a{width:36px;height:36px;border-radius:50%;border:1px solid #dfe4e6;display:grid;place-items:center;color:#6b1c96;transition:.18s ease}.article-share a:hover{background:#6b1c96;color:#fff;border-color:#6b1c96}
.article-cover{margin:30px 0 34px}.article-cover img{width:100%;max-height:590px;object-fit:cover;display:block}.article-cover figcaption{font-size:10px;color:#80888c;padding-top:8px}
.article-content{max-width:800px;font-size:17px;line-height:1.82;color:#222a2e}
.article-content p{margin:0 0 1.35em}.article-content h2{font-size:30px;line-height:1.15;margin:1.5em 0 .6em}.article-content h3{font-size:24px;line-height:1.2;margin:1.35em 0 .55em}.article-content img{max-width:100%;height:auto}.article-content blockquote{margin:28px 0;padding:18px 22px;border-left:4px solid #6b1c96;background:#f5f7f7;font-size:18px}
.article-content a{color:#1677d2;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;font-weight:600;transition:color .18s ease,text-decoration-color .18s ease}
.article-content a::before{content:"";display:inline-block;width:.86em;height:.86em;margin-right:.28em;vertical-align:-.06em;background-color:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='currentColor' d='M6.354 5.5H4a3 3 0 0 0 0 6h3a3 3 0 0 0 2.83-4H8.71A2 2 0 0 1 7 10.5H4a2 2 0 1 1 0-4h2.354zM9 5.5a2 2 0 0 0-1.71 1h1.12a3 3 0 0 1 2.83-4h1a3 3 0 0 1 0 6H10v-1h2.24a2 2 0 1 0 0-4h-1A2 2 0 0 0 9 5.5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='currentColor' d='M6.354 5.5H4a3 3 0 0 0 0 6h3a3 3 0 0 0 2.83-4H8.71A2 2 0 0 1 7 10.5H4a2 2 0 1 1 0-4h2.354zM9 5.5a2 2 0 0 0-1.71 1h1.12a3 3 0 0 1 2.83-4h1a3 3 0 0 1 0 6H10v-1h2.24a2 2 0 1 0 0-4h-1A2 2 0 0 0 9 5.5'/%3E%3C/svg%3E") center/contain no-repeat}
.article-content a:hover{color:#0059b3;text-decoration-color:currentColor}
.article-content a:focus-visible{outline:2px solid #1677d2;outline-offset:3px;border-radius:2px}
.article-page .related{margin-top:54px;padding-top:28px;border-top:1px solid var(--line)}
.article-page .related .news-card small{color:#6b1c96;font-size:10px}

@media(max-width:900px){
  .brand-row--internal{grid-template-columns:210px 1fr}
  .foztotal-hero__image{height:455px}
  .article-page{width:100%}.article-header h1{font-size:40px}
}
@media(max-width:620px){
  .market--mobile .market-card{padding:8px 12px}.market-value-row strong,.weather-row strong{font-size:20px}.market-weather-icon{font-size:24px}
  .foztotal-hero__image{height:410px}
  .listing-page{margin-left:0;margin-right:0}.story-row{padding:18px 0}
  .article-page{margin-top:12px}.article-header h1{font-size:34px;letter-spacing:-1.2px}.article-deck{font-size:16px}.article-info{align-items:flex-start;flex-direction:column}.article-content{font-size:16px;line-height:1.72}.article-cover{margin:24px 0}
}

/* Foz Total — header/footer consistency */
.brand-row{grid-template-columns:245px 320px minmax(360px,1fr);width:min(var(--shell),calc(100% - 36px));margin:auto}
.header-ad{width:100%;max-width:100%;height:70px;min-width:0}
.header-ad .ad-slot-banner,.header-ad .ad-rotator{width:100%;height:100%}
.footer-brand-logo{filter:brightness(0) invert(1);object-fit:contain;object-position:left center}
.dark-title a{color:#fff!important}
@media(max-width:900px){.brand-row{grid-template-columns:210px 1fr}.brand-row .header-ad{grid-column:2}.header-ad{height:70px}}
@media(max-width:620px){.brand-row{display:block;padding:18px 0}.brand-row .header-ad{margin-top:16px}.footer-brand-logo{max-width:180px}}

/* Foz Total — publicidade com crop total e proporções estáveis */
.ad-slot-banner,.ad-rotator,.ad-rotator__slide{width:100%;height:100%;overflow:hidden;display:block}
.ad-slot-banner img,.ad-rotator img,.ad-rotator__slide img{width:100%!important;height:100%!important;display:block;object-fit:cover!important;object-position:center}
.foztotal-ad-stack>div{background:transparent!important}
.foztotal-ad-stack .ad-rotator,.foztotal-ad-stack .ad-slot-banner{height:100%}
.header-ad{overflow:hidden;background:transparent!important}
.header-ad .ad-rotator__slide,.header-ad .ad-slot-banner{height:100%}
.home-ad-pair{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);gap:16px;margin:38px 0;height:150px}
.home-ad-pair__slot{height:150px;overflow:hidden;background:#eef1f2;display:grid;place-items:center;color:#a4aaad;font-size:11px;border-radius:3px}
.home-ad-pair__slot:has(.ad-rotator),.home-ad-pair__slot:has(.ad-slot-banner){background:transparent}
.home-ad-pair__slot .ad-rotator,.home-ad-pair__slot .ad-slot-banner,.home-ad-pair__slot .ad-rotator__slide{width:100%;height:100%}
.ad-slot-banner--halfwide{width:100%;height:100%}
@media(max-width:620px){.home-ad-pair{grid-template-columns:1.75fr 1fr;gap:10px;margin:28px 0;height:100px}.home-ad-pair__slot{height:100px}}

/* Ajuste final: slots publicitarios têm dimensão fixa; a arte preenche 100% e é recortada dentro do slot. */
.header-ad,.foztotal-ad-stack>div,.home-ad-pair__slot{position:relative;overflow:hidden}
.header-ad a,.foztotal-ad-stack>div>a,.home-ad-pair__slot>a{display:block;width:100%;height:100%}
.header-ad img,.foztotal-ad-stack img,.home-ad-pair__slot img,.header-ad video,.foztotal-ad-stack video,.home-ad-pair__slot video{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center center!important}

/* Foz Total — revisão mobile geral 13/08/2026 */
@media (max-width: 620px){
  html,body{width:100%;max-width:100%;overflow-x:hidden}
  body.menu-open{overflow:hidden}
  .shell{width:calc(100% - 24px);max-width:none}

  /* Topo mais compacto e organizado */
  .utility{font-size:9px}
  .utility__inner{height:30px;padding:0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .brand-row{padding:14px 0 12px!important}
  .brand img{width:min(190px,58vw)}
  .header-ad{height:64px;margin-top:12px!important;border-radius:4px}
  .market--mobile{gap:0;padding:10px 0!important;border-top:1px solid var(--line)}
  .market--mobile .market-card{padding:7px 10px!important;min-height:72px}
  .market--mobile .market-card+ .market-card{border-left:1px solid var(--line)}
  .market--mobile .market-card small{font-size:8px;margin-bottom:5px}
  .market--mobile .market-value-row strong,.market--mobile .weather-row strong{font-size:19px}
  .market--mobile .market-change,.market--mobile .market-card--weather>span{font-size:9px!important;margin-top:5px!important}

  /* Menu mobile sólido, acima de todo o conteúdo */
  .main-nav{position:relative;z-index:120;background:#fff}
  .nav-inner{min-height:52px;position:relative;gap:10px}
  .nav-toggle{display:grid!important;place-items:center;width:42px;height:42px;padding:0;border-radius:5px;background:#6b1c96!important;color:#fff;font-size:24px;flex:0 0 auto}
  .nav-inner form{height:38px;width:auto;flex:1;max-width:none;margin:0!important;border-color:#d9dfe1;border-radius:4px;overflow:hidden;background:#fff}
  .nav-inner input{font-size:12px;padding:0 12px}
  .nav-inner form button{width:44px;flex:0 0 44px;background:#6b1c96}
  .nav-links{display:none!important;position:absolute!important;top:52px!important;left:-12px!important;right:-12px!important;width:auto!important;max-height:calc(100vh - 82px);overflow-y:auto!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;padding:8px 12px 18px!important;background:#fff!important;border-top:1px solid var(--line);border-bottom:1px solid var(--line);box-shadow:0 14px 28px rgba(0,0,0,.16);z-index:9999}
  .nav-links.is-open{display:flex!important}
  .nav-links a,.nav-links a.active{display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%;min-height:46px;padding:0 6px;border:0!important;border-bottom:1px solid #edf0f1!important;color:#172126!important;font-size:12px;font-weight:800}
  .nav-links a.active{color:#6b1c96!important}
  .nav-links a i{font-size:10px}

  /* Home: destaque realmente de ponta a ponta */
  .main-content{padding-top:14px}
  .foztotal-lead{display:flex;flex-direction:column;gap:12px;width:calc(100% + 24px);margin-left:-12px}
  .foztotal-hero,.foztotal-hero__image{width:100%}
  .foztotal-hero__image{height:430px;border-radius:0;background-position:center center}
  .hero-badge{left:16px;top:16px;padding:7px 10px;font-size:9px}
  .foztotal-hero__overlay{padding:0 16px 19px;max-width:none}
  .foztotal-hero h1{font-size:28px;line-height:1.04;letter-spacing:-1px;margin:9px 0 7px}
  .foztotal-hero p{font-size:11.5px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

  /* Publicidade lateral aparece no mobile sem alterar a altura do destaque */
  .foztotal-ad-stack{display:grid!important;grid-template-columns:1.65fr 1fr!important;grid-template-rows:132px!important;gap:10px!important;width:calc(100% - 24px);margin:2px 12px 4px;height:132px!important}
  .foztotal-ad-stack>div{height:132px!important;min-height:132px!important;border-radius:4px;overflow:hidden;background:#f1f3f4!important}
  .foztotal-ad-stack>div:has(img),.foztotal-ad-stack>div:has(video),.foztotal-ad-stack>div:has(.ad-rotator),.foztotal-ad-stack>div:has(.ad-slot-banner){background:transparent!important}
  .foztotal-ad-stack img,.foztotal-ad-stack video{width:100%!important;height:100%!important;object-fit:cover!important}

  /* Últimas notícias: leitura mais limpa no celular */
  .section-title--row{margin:26px 0 14px}
  .section-title h2{font-size:22px;letter-spacing:-.7px}
  .section-title a{font-size:9px}
  .latest-grid{grid-template-columns:1fr!important;gap:0!important}
  .news-card>a{display:grid;grid-template-columns:120px minmax(0,1fr);column-gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
  .news-card img{grid-row:1/5;width:120px;height:90px!important;border-radius:4px;object-fit:cover}
  .news-card .source-line{margin:1px 0 5px;font-size:7px}
  .news-card h3{font-size:14px;line-height:1.18;margin:0}
  .news-card p{display:none!important}

  /* Publicidade dupla abaixo de últimas: mantém a proporção aprovada */
  .home-ad-pair{width:100%;grid-template-columns:minmax(0,1.75fr) minmax(0,1fr)!important;gap:10px!important;height:105px!important;margin:26px 0!important}
  .home-ad-pair__slot{height:105px!important;border-radius:4px}

  /* Colunas editoriais no mobile: exibe as três em sequência */
  .triple-popular{display:block!important;margin-bottom:26px}
  .popular-column,.popular-column:nth-child(n+2),.popular-column:last-child{display:block!important;margin-bottom:25px}
  .popular-column article a{grid-template-columns:95px minmax(0,1fr);gap:11px;padding:10px 0}
  .popular-column article img{width:95px;height:62px;border-radius:3px}
  .compact h2{font-size:20px}
  .popular-column h3{font-size:11px}

  /* Bloco escuro mais completo no mobile */
  .dark-popular{padding:28px 0 30px}
  .dark-popular>.shell{width:calc(100% - 24px)}
  .dark-grid{display:block!important}
  .dark-small{display:block!important;margin-bottom:16px}
  .dark-small>a{display:grid;grid-template-columns:115px 1fr;gap:12px;align-items:start}
  .dark-small img{width:115px;height:90px;border-radius:4px}
  .dark-small h3{font-size:14px;margin:0 0 6px}
  .dark-small p{display:none}
  .dark-feature{margin-bottom:16px}
  .dark-feature>a{height:300px!important;border-radius:5px}
  .dark-feature div{padding:18px}
  .dark-feature h2{font-size:23px}
  .dark-stack{display:grid!important;grid-template-columns:1fr 1fr;gap:10px}
  .dark-stack article{margin:0}
  .dark-stack img{height:92px;border-radius:4px}
  .dark-stack h3{font-size:11px}

  /* Newsletter e rodapé */
  .slim-newsletter{margin:26px auto;padding:14px;border-radius:4px;grid-template-columns:34px 1fr;gap:10px}
  .slim-newsletter strong{font-size:9px}
  .slim-newsletter form{height:38px;grid-column:1/-1}
  .slim-newsletter button{width:96px}
  .footer-grid{grid-template-columns:1fr!important;gap:24px!important}
  .footer-grid>div,.footer-grid>div:last-child{display:flex!important;flex-direction:column;align-items:flex-start}
  .footer-grid>div:first-child{grid-column:auto!important}
  .footer-grid img{width:170px}
  .footer-grid p{font-size:10px}
  .copyright{line-height:1.5}

  /* Páginas internas */
  .listing-header h1{font-size:30px!important;line-height:1.05}
  .story-row{grid-template-columns:115px minmax(0,1fr)!important;gap:12px!important;padding:14px 0!important}
  .story-row__image img{height:92px!important;border-radius:4px}
  .story-row__body h2{font-size:15px!important;margin:4px 0 6px}
  .story-row__body p{display:none}
  .article-header h1{font-size:32px!important;line-height:1.05!important}
  .article-cover{width:calc(100% + 24px);margin-left:-12px!important}
  .article-cover img{border-radius:0}
  .article-content{font-size:16px!important;line-height:1.68!important}
}

/* Foz Total — refinamento mobile de publicidade + carrossel de categorias */
.category-carousel__mobile-head{display:none}

@media (max-width:620px){
  /* Banners laterais: largura útil inteira, arte completa e sem corte */
  .foztotal-ad-stack{
    display:flex!important;
    flex-direction:column!important;
    width:calc(100% - 24px)!important;
    height:auto!important;
    margin:4px 12px 8px!important;
    gap:12px!important;
  }
  .foztotal-ad-stack>div{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:auto!important;
    overflow:hidden!important;
    border-radius:5px;
    background:transparent!important;
  }
  .foztotal-ad-stack .ad-rotator,
  .foztotal-ad-stack .ad-rotator__slide,
  .foztotal-ad-stack .ad-slot-banner,
  .foztotal-ad-stack>div>a{
    width:100%!important;
    height:auto!important;
    display:block!important;
  }
  .foztotal-ad-stack img,
  .foztotal-ad-stack video,
  .foztotal-ad-stack .ad-slot-banner img,
  .foztotal-ad-stack .ad-rotator img{
    width:100%!important;
    height:auto!important;
    max-width:100%!important;
    object-fit:contain!important;
    display:block!important;
  }

  /* Dois banners abaixo de Últimas Notícias: empilhados e completos */
  .home-ad-pair{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    height:auto!important;
    gap:12px!important;
    margin:26px 0!important;
  }
  .home-ad-pair__slot{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    background:transparent!important;
    border-radius:5px;
    overflow:hidden!important;
  }
  .home-ad-pair__slot .ad-rotator,
  .home-ad-pair__slot .ad-rotator__slide,
  .home-ad-pair__slot .ad-slot-banner,
  .home-ad-pair__slot>a{
    width:100%!important;
    height:auto!important;
    display:block!important;
  }
  .home-ad-pair__slot img,
  .home-ad-pair__slot video,
  .home-ad-pair__slot .ad-slot-banner img,
  .home-ad-pair__slot .ad-rotator img{
    width:100%!important;
    height:auto!important;
    max-width:100%!important;
    object-fit:contain!important;
    display:block!important;
  }

  /* Categorias: um painel por vez, swipe/arraste e setas */
  .category-carousel{margin:0 0 28px;position:relative}
  .category-carousel__mobile-head{display:flex;align-items:center;justify-content:space-between;margin:2px 0 10px}
  .category-carousel__mobile-head>strong{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#778086}
  .category-carousel__controls{display:flex;gap:8px}
  .category-carousel__arrow{width:38px;height:38px;border:1px solid #dbe1e3;border-radius:50%;background:#fff;color:#6b1c96;display:grid;place-items:center;font-size:17px;box-shadow:0 4px 12px rgba(0,0,0,.04)}
  .category-carousel__arrow:active{transform:scale(.96)}
  .triple-popular{
    display:flex!important;
    gap:14px!important;
    margin:0!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
  }
  .triple-popular::-webkit-scrollbar{display:none}
  .popular-column,
  .popular-column:nth-child(n+2),
  .popular-column:last-child{
    display:block!important;
    flex:0 0 100%!important;
    width:100%!important;
    margin:0!important;
    scroll-snap-align:start;
    scroll-snap-stop:always;
  }
  .popular-column .compact{margin-bottom:8px}
  .popular-column .compact h2{font-size:23px}
  .popular-column .category-view-all{display:none!important}
  .popular-column article:nth-of-type(n+5){display:none}
  .popular-column article a{grid-template-columns:104px minmax(0,1fr)!important;gap:12px!important;padding:10px 0!important}
  .popular-column article img{width:104px!important;height:68px!important}
  .popular-column h3{font-size:12px!important;line-height:1.18!important}
}

/* Foz Total — correção publicidade 13/08/2026
   Desktop: coluna lateral fica travada na mesma altura do destaque.
   Mobile: cada slot mostra SOMENTE um banner por vez; a rotação continua sendo controlada
   pelo intervalo configurado no admin. */
@media (min-width:901px){
  .foztotal-lead{align-items:start}
  .foztotal-ad-stack{
    height:510px!important;
    min-height:510px!important;
    max-height:510px!important;
  }
  .foztotal-ad-stack{
    display:grid!important;
    grid-template-rows:minmax(0,2fr) minmax(0,1fr)!important;
    gap:16px!important;
    overflow:hidden!important;
  }
  .foztotal-ad-stack>div{
    width:100%!important;
    min-width:0!important;
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
    overflow:hidden!important;
    position:relative!important;
    contain:size layout paint;
  }
  .foztotal-ad-stack>div>.ad-rotator,
  .foztotal-ad-stack>div>.ad-slot-banner,
  .foztotal-ad-stack>div>a,
  .foztotal-ad-stack .ad-slot-banner{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
  }
  .foztotal-ad-stack .ad-rotator{position:relative!important}
  .foztotal-ad-stack .ad-rotator__slide{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
    overflow:hidden!important;
  }
  .foztotal-ad-stack img,
  .foztotal-ad-stack picture img,
  .foztotal-ad-stack video{
    width:100%!important;
    height:100%!important;
    min-width:100%!important;
    min-height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:cover!important;
    object-position:center center!important;
  }
}

@media (max-width:620px){
  /* Mantém cada publicidade como um único slot. Não transforme os slides do rotator em blocos empilhados. */
  .foztotal-ad-stack .ad-rotator,
  .home-ad-pair__slot .ad-rotator{
    position:relative!important;
    width:100%!important;
    overflow:hidden!important;
  }
  .foztotal-ad-stack .ad-rotator__slide,
  .home-ad-pair__slot .ad-rotator__slide{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    overflow:hidden!important;
    /* não definir display aqui: o inline style/JS do rotator decide qual slide está visível */
  }

  /* Laterais: um slot por linha, largura total útil. A altura vem da proporção do slot,
     e somente o banner ativo é exibido. */
  .foztotal-ad-stack{
    display:flex!important;
    flex-direction:column!important;
    width:calc(100% - 24px)!important;
    margin:4px 12px 8px!important;
    gap:12px!important;
    height:auto!important;
  }
  .foztotal-ad-stack>div{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    overflow:hidden!important;
    background:transparent!important;
  }
  .foztotal-ad-stack>div .ad-rotator,
  .foztotal-ad-stack>div .ad-slot-banner,
  .foztotal-ad-stack>div>a{
    aspect-ratio:500/200;
    height:auto!important;
  }
  .foztotal-ad-stack .ad-rotator__slide,
  .foztotal-ad-stack .ad-slot-banner img,
  .foztotal-ad-stack .ad-rotator__slide img,
  .foztotal-ad-stack>div>a>img,
  .foztotal-ad-stack video{
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:cover!important;
    object-position:center!important;
  }

  /* Banners abaixo de Últimas Notícias continuam um abaixo do outro no mobile,
     sem exibir simultaneamente todos os slides cadastrados no mesmo slot. */
  .home-ad-pair__slot .ad-rotator,
  .home-ad-pair__slot .ad-slot-banner,
  .home-ad-pair__slot>a{
    aspect-ratio:500/200;
    height:auto!important;
  }
  .home-ad-pair__slot .ad-rotator__slide img,
  .home-ad-pair__slot .ad-slot-banner img,
  .home-ad-pair__slot>a>img,
  .home-ad-pair__slot video{
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:cover!important;
    object-position:center!important;
  }
}

/* Foz Total — correção final mobile dos anúncios + rotador robusto 13/08/2026 */
.ad-rotator__slide[hidden]{display:none!important}

@media (max-width:620px){
  /* Os dois anúncios que no desktop ficam à direita do destaque passam para baixo dele.
     Mantêm a MESMA proporção relativa aprovada no desktop: o primeiro é alto (2/3 da
     coluna) e o segundo é menor (1/3), ambos ocupando toda a largura útil do celular. */
  .foztotal-ad-stack>div:first-child .ad-rotator,
  .foztotal-ad-stack>div:first-child .ad-slot-banner,
  .foztotal-ad-stack>div:first-child>a{
    aspect-ratio:3/4!important;
    width:100%!important;
    height:auto!important;
  }
  .foztotal-ad-stack>div:last-child .ad-rotator,
  .foztotal-ad-stack>div:last-child .ad-slot-banner,
  .foztotal-ad-stack>div:last-child>a{
    aspect-ratio:3/2!important;
    width:100%!important;
    height:auto!important;
  }

  .foztotal-ad-stack .ad-rotator__slide{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
  }
  .foztotal-ad-stack .ad-rotator__slide img,
  .foztotal-ad-stack .ad-slot-banner img,
  .foztotal-ad-stack>div>a>img,
  .foztotal-ad-stack video{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center center!important;
  }
}

/* Foz Total — rodapé institucional 13/08/2026 */
.footer-grid--institutional{grid-template-columns:1.35fr 1.15fr 1.45fr .9fr;gap:44px;align-items:start}
.footer-grid--institutional>div{min-width:0}
.footer-grid--institutional .footer-brand-block{display:block}
.footer-grid--institutional .footer-info-block{display:flex;flex-direction:column;gap:8px}
.footer-grid--institutional h4{font-size:10px;letter-spacing:.08em;color:#fff;margin:0 0 7px}
.footer-grid--institutional .footer-info-line{display:flex;flex-direction:column;gap:4px;margin:0;max-width:none;font-size:10px;line-height:1.55;color:#c1c8ca}
.footer-grid--institutional .footer-info-line strong{font-size:9px;line-height:1.35;text-transform:uppercase;letter-spacing:.045em;color:#7f9198}
.footer-grid--institutional .footer-info-line span{display:block}
.footer-grid--institutional .footer-info-line a{font-size:10px;line-height:1.5;color:#fff;word-break:break-word}
.footer-grid--institutional .footer-info-line a:hover,.footer-grid--institutional .footer-institutional-block>a:hover{color:#6b1c96}
.footer-grid--institutional .footer-institutional-block>a{font-size:9px;color:#e7eaeb;line-height:1.5}
@media(max-width:900px){
  .footer-grid--institutional{grid-template-columns:1.3fr 1fr 1.3fr!important;gap:32px}
  .footer-grid--institutional .footer-institutional-block{grid-column:2/4;display:flex!important;flex-direction:row!important;flex-wrap:wrap;gap:8px 18px!important}
  .footer-grid--institutional .footer-institutional-block h4{flex-basis:100%}
}
@media(max-width:620px){
  .site-footer{padding-top:30px}
  .footer-grid--institutional{grid-template-columns:1fr!important;gap:25px!important}
  .footer-grid--institutional>div,.footer-grid--institutional .footer-institutional-block{grid-column:auto!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:7px!important}
  .footer-grid--institutional .footer-brand-block{display:block!important}
  .footer-grid--institutional .footer-info-line{font-size:11px;line-height:1.6}
  .footer-grid--institutional .footer-info-line a{font-size:11px}
  .footer-grid--institutional .footer-info-line strong{font-size:9px}
  .footer-grid--institutional h4{font-size:10px;margin-bottom:5px}
}

/* Advertising inventory shown until the newsroom uploads its campaigns. */
.ad-placeholder{width:100%;height:100%;min-height:70px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:1px dashed #a4b8bf;background:repeating-linear-gradient(135deg,#f0f4f5,#f0f4f5 12px,#eaf0f2 12px,#eaf0f2 24px);color:#526d76;text-align:center;padding:12px}.ad-placeholder span{font-size:12px;letter-spacing:2px;font-weight:700}.ad-placeholder strong{font-size:18px}.ad-placeholder small{font-size:12px}.header-ad>.ad-placeholder{min-height:0;gap:2px;padding:6px}.foztotal-ad-stack>div{display:flex}.home-ad-pair__slot>.ad-placeholder{min-height:0}.footer-brand-logo{background:#fff;border-radius:5px;padding:8px}.site-footer .footer-brand-logo{filter:none}
