/* The existing masthead and logo retain their original dimensions. */
.nav .wrap{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:22px;min-height:52px;padding-top:0;padding-bottom:0;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scrollbar-width:thin;scrollbar-color:#bbb transparent;-webkit-overflow-scrolling:touch}
.nav .wrap>a,.nav .wrap>button{display:inline-flex;align-items:center;flex:0 0 auto;width:auto;max-width:none;min-width:max-content;padding:16px 0 13px;white-space:nowrap;overflow-wrap:normal;font-size:12px;line-height:1.35}
.nav a[aria-current=page]{color:var(--red);border-bottom-color:var(--red)}
.service-strip{display:grid;grid-template-columns:minmax(250px,1.1fr) minmax(155px,.65fr) minmax(310px,1.25fr);max-width:1240px;padding:0 28px;margin:16px auto;gap:14px;align-items:start}
.service-strip #regional-weather{display:block;padding:14px 16px!important;margin:0!important;max-width:none;background:#f6f9fc!important;border:1px solid #dde6ed!important;border-radius:8px!important;font-family:Arial,sans-serif!important}
.weather-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.weather-heading{display:flex;flex-direction:column;color:#345c76;font-size:11px;line-height:1.3;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
#regional-weather .weather-top select{max-width:165px;min-width:0;border:0;background:transparent;color:#333;font:12px Arial;padding:4px 0;cursor:pointer}.weather-now{display:flex;gap:10px;align-items:center;margin-top:10px}.weather-icon{font-size:30px;line-height:1}.weather-temperature{font-size:28px;line-height:1;font-weight:700;letter-spacing:-1px;white-space:nowrap}.weather-condition{font-size:12px;color:#555;line-height:1.4}
.weather-details-toggle{border:0;background:transparent;color:#345c76;cursor:pointer;font:11px Arial;text-decoration:underline;padding:8px 0 0}.weather-details{margin-top:12px;padding-top:12px;border-top:1px solid #d6e1e9}.weather-details[hidden],.weather-details-toggle[hidden]{display:none}.weather-measures{display:flex;flex-wrap:wrap;gap:8px 16px;color:#555;font-size:12px;line-height:1.5}.weather-days{display:grid;grid-template-columns:repeat(6,49px);overflow-x:auto;gap:9px;margin-top:15px;padding-bottom:6px}.weather-day{text-align:center;font-size:11px;white-space:nowrap;line-height:1.65}.weather-day .day-icon{display:block;font-size:24px}.weather-day b{display:block;font-size:12px}.weather-attribution{font-size:10px;color:#66727b;line-height:1.6;margin:10px 0 0}.weather-attribution a{text-decoration:underline}.weather-error{font-size:12px;color:#555;margin:10px 0 0;line-height:1.5}.weather-retry{font:12px Arial;border:0;background:none;color:#345c76;text-decoration:underline;cursor:pointer;padding:0}
.currency-panel{background:#fff;border:1px solid #e2e2e2;border-radius:8px;padding:14px 16px;font-size:12px}.currency-panel h2{font-size:11px;color:#555;text-transform:uppercase;letter-spacing:.07em;margin:0 0 11px}.currency-row{display:flex;justify-content:space-between;gap:10px;margin:7px 0}.currency-row strong{font-variant-numeric:tabular-nums;color:#333}.currency-note{font-size:10px;color:#777;line-height:1.4;margin:9px 0 0}.currency-note a{text-decoration:underline;text-underline-offset:2px}
.ferry-panel{border-radius:8px;padding:14px 16px}.ferry-panel h2{font-size:11px;margin-bottom:10px;line-height:1.4}.ferry-times{gap:10px 20px;font-size:12px}.ferry-times b{font-size:16px}.ferry-note{font-size:10px;margin-top:8px}
.intro{padding:13px 0;font-size:13px}.section-heading{border-top-width:2px;padding-top:15px}
.sponsor-banner{width:100%;max-width:780px;margin:0 auto 26px}.sponsor-banner .ad-stage{aspect-ratio:3/1;position:relative}.sponsor-banner .ad-stage .ad-slide{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;border:0;background:transparent}.sponsor-banner .ad-stage .sponsor-art img{display:block;width:100%;height:100%;object-fit:contain!important}.sponsor-banner .ad-heading .sponsor-label{font-size:10px}.article .article-sponsor{max-width:660px;margin:26px auto}
body[data-page=home] .news-grid{grid-template-columns:1.65fr 1fr;gap:26px;align-items:start}body[data-page=home] .news-card{border:0;border-bottom:1px solid #ddd;background:#fff}body[data-page=home] .news-copy{padding:18px 0 22px}body[data-page=home] .news-copy h2{font-size:22px;line-height:1.2;margin:10px 0 12px;letter-spacing:-.55px}body[data-page=home] .news-copy p{font-size:14px;line-height:1.5;margin:12px 0}body[data-page=home] .news-copy .read{padding-top:8px;margin-top:0;font-size:12px}
body[data-page=home] .news-grid .news-card:first-child{grid-row:span 2}body[data-page=home] .news-grid .news-card:first-child .news-copy h2{font-size:clamp(27px,2.7vw,36px);line-height:1.1;letter-spacing:-1px}body[data-page=home] .news-grid .news-card:first-child .news-copy p{font-size:16px}body[data-page=home] .news-grid .news-card>a{width:100%}body[data-page=home] .news-grid .news-card img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:center;background:transparent}body[data-page=home] .news-grid .news-card:first-child img{aspect-ratio:4/3}
.zodiac-strip{display:flex;gap:26px;align-items:center;border-top:1px solid #ddd;border-bottom:1px solid #ddd;margin:34px 0;padding:24px 0;min-width:0}.zodiac-heading{flex:0 0 150px}.zodiac-heading h2{font-size:20px;letter-spacing:-.5px;margin:0 0 6px}.zodiac-heading p{font-size:12px;color:#666;margin:0;line-height:1.5}.zodiac-list{display:grid;grid-template-columns:repeat(12,minmax(52px,1fr));gap:8px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:thin;padding:6px 2px 10px}.zodiac-link{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:77px;color:#9d3445;text-align:center;border-radius:5px}.zodiac-link:hover{background:#fff2f3;color:#d90b24}.zodiac-symbol{font:38px/1 Georgia,'Times New Roman',serif;font-variant-emoji:text}.zodiac-name{font-size:9px;letter-spacing:.025em;font-weight:700;text-transform:uppercase;white-space:nowrap}
.sports-home{margin:35px 0}.sports-home .section-heading{border-top-color:#30724d}.sports-home .section-heading a{color:#30724d;font-size:12px;font-weight:700}.sports-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.sports-card{padding:18px 0 22px;border-bottom:1px solid #ddd;min-width:0}.sports-category{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#30724d}.sports-card h2,.sports-card h3{font-size:21px;line-height:1.25;letter-spacing:-.4px;margin:10px 0}.sports-card h2 a:hover,.sports-card h3 a:hover{color:#30724d}.sports-card p{color:#666;font-size:14px;line-height:1.55;margin:10px 0}.sports-meta{font-size:11px!important;color:#777!important;line-height:1.5}.sports-read{font-size:12px;font-weight:700;color:#30724d;display:inline-block;margin-top:7px}.sports-main{padding-top:28px;padding-bottom:50px}.sports-main h1{font-size:clamp(34px,5vw,52px);letter-spacing:-1.5px;margin:10px 0 12px}.sports-lead{max-width:700px;color:#666;font-size:17px;line-height:1.6}.sports-filters{display:flex;gap:10px;flex-wrap:wrap;margin:25px 0 8px}.sports-filters button{font:13px Arial;border:1px solid #ddd;background:#fff;border-radius:20px;padding:10px 16px;cursor:pointer}.sports-filters button[aria-pressed=true]{background:#246440;color:#fff;border-color:#246440}.sports-status{font-size:12px;color:#777;line-height:1.6;margin:16px 0}.sports-source-links{display:flex;gap:15px;flex-wrap:wrap;margin:18px 0;font-size:13px}.sports-source-links a{color:#246440;text-decoration:underline}.sports-card[hidden]{display:none}
@media(min-width:1250px){.nav .wrap{gap:16px;justify-content:space-between}.nav .wrap>a,.nav .wrap>button{font-size:11px}}
@media(max-width:1000px){.service-strip{grid-template-columns:minmax(240px,1fr) minmax(150px,.65fr)}.ferry-panel{grid-column:1/-1}.zodiac-strip{gap:15px}.zodiac-heading{flex-basis:130px}.zodiac-list{grid-template-columns:repeat(12,58px)}.sports-cards{gap:18px}}
@media(max-width:650px){.nav .wrap{gap:22px;min-height:49px}.nav .wrap>a,.nav .wrap>button{font-size:12px;padding:14px 0 11px}.service-strip{padding:0 18px;gap:10px;margin:12px auto;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}.service-strip #regional-weather,.currency-panel,.ferry-panel{padding:12px!important}.weather-top{align-items:start;gap:7px}.weather-heading{font-size:9px;letter-spacing:0}.weather-top select{font-size:11px!important;max-width:110px!important}.weather-now{gap:7px;flex-wrap:wrap}.weather-icon{font-size:26px}.weather-temperature{font-size:24px}.weather-condition{font-size:10px;flex:1}.weather-details-toggle{font-size:10px}.weather-details{margin-top:10px}.weather-days{grid-template-columns:repeat(6,45px)}.weather-measures{font-size:11px}.currency-panel h2{font-size:10px}.currency-row{font-size:11px}.currency-note{font-size:9px}.ferry-times{justify-content:space-between}.ferry-panel h2{font-size:10px}.sponsor-banner{max-width:100%;margin-bottom:20px}body[data-page=home] .news-grid{grid-template-columns:1fr;gap:22px}body[data-page=home] .news-grid .news-card:first-child{grid-row:auto}body[data-page=home] .news-grid .news-card:first-child .news-copy h2{font-size:30px}body[data-page=home] .news-grid .news-card:nth-child(n+2){display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:15px;padding-bottom:20px}body[data-page=home] .news-grid .news-card:nth-child(n+2)>a{grid-column:2;grid-row:1;width:112px}body[data-page=home] .news-grid .news-card:nth-child(n+2) img{aspect-ratio:1;object-fit:cover}body[data-page=home] .news-grid .news-card:nth-child(n+2) .news-copy{grid-column:1;grid-row:1;padding:0}body[data-page=home] .news-grid .news-card:nth-child(n+2) .news-copy h2{font-size:20px;margin-top:8px}body[data-page=home] .news-grid .news-card:nth-child(n+2) .news-copy p,body[data-page=home] .news-grid .news-card:nth-child(n+2) .read{display:none}.zodiac-strip{display:block;padding:20px 0;margin:26px 0}.zodiac-heading{display:flex;align-items:baseline;gap:12px;margin-bottom:15px}.zodiac-heading h2{font-size:19px;margin:0}.zodiac-list{grid-template-columns:repeat(12,65px);gap:9px}.zodiac-symbol{font-size:35px}.zodiac-name{font-size:9px}.sports-cards{grid-template-columns:1fr;gap:0}.sports-card h2,.sports-card h3{font-size:22px}.sports-main{padding-top:22px}}
.currency-chart{margin:12px 0 4px;border-top:1px solid #eee;padding-top:10px;color:#66717c}.currency-chart[data-trend=up]{color:#237343}.currency-chart[data-trend=down]{color:#b83045}.currency-change{font-size:12px;font-weight:700;margin:0 0 3px}.currency-comparison{font-size:9px;color:#777;margin:0 0 4px}.currency-chart svg{display:block;width:100%;height:48px}.currency-chart-dates{display:flex;justify-content:space-between;font-size:9px;color:#777}.currency-panel{min-width:0}

/* Forecast and exchange panels fit their own content. */
.service-strip #regional-weather,.service-strip .currency-panel{align-self:start}
.weather-forecast[hidden]{display:none}.weather-forecast{margin-top:14px;border-top:1px solid #dce5eb;padding-top:10px}.weather-forecast-heading{margin:0 0 6px;font-size:10px;color:#526775;font-weight:700}.weather-forecast .weather-days{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;overflow:visible;margin-top:0;padding-bottom:0}.weather-forecast .weather-day{min-width:0;font-size:10px;line-height:1.4}.weather-forecast .day-icon{font-size:23px;margin:4px 0}.weather-forecast .weather-day b{font-size:12px;line-height:1.45}.weather-forecast .weather-day b span{display:block}.weather-forecast .weather-low{color:#6a7b87;font-size:10px;font-weight:400}.weather-forecast+.weather-details-toggle{padding-top:10px}
@media(max-width:650px){.weather-forecast{margin-top:10px;padding-top:8px}.weather-forecast .weather-days{gap:3px}.weather-forecast .weather-day{font-size:9px}.weather-forecast .day-icon{font-size:20px}.weather-forecast .weather-day b{font-size:11px}}

/* Independent columns let the sports feature fill the space above the regional story. */
body[data-page=home] .news-column{display:flex;flex-direction:column;gap:26px;min-width:0}
body[data-page=home] .news-column .news-card{grid-row:auto}
body[data-page=home] .news-secondary-column .news-card:first-child .news-copy h2{font-size:22px;line-height:1.2;letter-spacing:-.55px}
body[data-page=home] .news-secondary-column .news-card:first-child .news-copy p{font-size:14px}
body[data-page=home] .news-secondary-column .news-card:first-child img{aspect-ratio:16/10}
body[data-page=home] .news-sports-feature img{aspect-ratio:16/9!important;object-fit:cover!important}
body[data-page=home] .news-sports-feature .label{background:#246440;color:#fff}
.sports-main>.sports-cards{display:block}
.sports-region{margin:30px 0 40px}
.sports-region-heading{font-size:25px;border-top:2px solid #246440;padding-top:15px;margin:0 0 18px;letter-spacing:-.6px}
.sports-region-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}
.sports-photo{display:block;width:100%;overflow:hidden;background:#f2f3f2;aspect-ratio:16/10}
.sports-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s}
.sports-photo:hover img{transform:scale(1.025)}
.sports-copy{padding-top:15px}
.sports-card{padding-top:0}
.sports-article .sports-article-source{font-size:14px;color:#666;border-top:1px solid #ddd;padding-top:18px;margin-top:28px}
@media(max-width:900px){.sports-region-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){body[data-page=home] .news-column{display:contents}body[data-page=home] .news-column .news-card{order:var(--news-order,0)}body[data-page=home] .news-secondary-column .news-card:first-child{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:15px;padding-bottom:20px}body[data-page=home] .news-secondary-column .news-card:first-child>a{grid-column:2;grid-row:1;width:112px}body[data-page=home] .news-secondary-column .news-card:first-child img{aspect-ratio:1}body[data-page=home] .news-secondary-column .news-card:first-child .news-copy{grid-column:1;grid-row:1;padding:0}body[data-page=home] .news-secondary-column .news-card:first-child .news-copy h2{font-size:20px;margin-top:8px}body[data-page=home] .news-secondary-column .news-card:first-child .news-copy p,body[data-page=home] .news-secondary-column .news-card:first-child .read{display:none}.sports-region-cards{grid-template-columns:1fr;gap:24px}.sports-copy{padding-top:12px}}

/* Enquadramento da foto original no destaque, sem distorção. */
.news-card img[src="ubatuba-zona-azul-ips-promessa-pavimentacao-flavia-pascoal.png"]{width:100%;height:100%;object-fit:cover!important;object-position:50% 35%!important}

.news-card img[src*="orcamentos-2027-comparativo"]{object-fit:contain!important;background:#fff}

/* Keep the 2:1 LUMI artwork intact within the shared 3:1 ad space. */
.sponsor-banner .ad-stage .ad-slide[data-ad-name="LUMI"] {
  background:
    linear-gradient(165deg, #fae9d3, #fff5e9 54%, #f2d4ae) left / 50% 100% no-repeat,
    linear-gradient(195deg, #f2d7ba, #fceadb 52%, #fae8d5) right / 50% 100% no-repeat;
}

/* Keep the mayor's face in frame across cover and city cards. */
.news-card img[src*="yan-lopes-mandato-preservado-cacapava-20261113"]{object-position:50% 16%!important}
