/*
Theme Name: Cuiabá 40 Graus Editorial
Theme URI: https://cuiaba40graus.com.br/
Author: Cuiabá 40 Graus
Description: Tema jornalístico original inspirado na organização visual de grandes portais. Responsivo, com destaques, editorias, publicidade e personalização.
Version: 1.0.21
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: cidade40-editorial
*/
:root{--primary:#f1bf1a;--primary-dark:#c99600;--ink:#1e1e1e;--muted:#69717b;--line:#e5e8eb;--bg:#fff;--container:1200px}*{box-sizing:border-box}body{margin:0;background:#f3f4f6;font-family:'Open Sans',Arial,sans-serif;color:var(--ink)}a{text-decoration:none;color:inherit}a:hover{color:var(--primary)}img{max-width:100%;height:auto}.wrap{width:min(calc(100% - 36px),var(--container));margin:auto}.utility{border-bottom:1px solid var(--line);font-size:12px;color:#666}.utility-inner{display:flex;align-items:center;justify-content:space-between;min-height:38px;gap:12px}.brandbar{background:linear-gradient(180deg,#f6ca26 0%, var(--primary) 100%);color:var(--ink);border-bottom:1px solid #d8aa09}.brandbar-inner{height:84px;display:flex;align-items:center;justify-content:space-between;gap:20px}.c40-brand-layout{display:grid;grid-template-columns:minmax(170px,1fr) auto minmax(170px,1fr);align-items:center;gap:18px}.brand-left-spacer{min-width:170px}.site-title-centered{justify-content:center}.header-search-right{justify-self:end;display:flex;justify-content:flex-end}.brand-name{font-size:34px;letter-spacing:-1.8px;font-weight:800;color:var(--ink)}.brand-name:hover{color:var(--ink)}.brandbar .custom-logo{max-height:62px;max-width:275px;width:auto;object-fit:contain}.header-search{display:flex;gap:6px}.header-search input{border:0;border-radius:4px;padding:11px 14px;width:200px;max-width:36vw}.header-search button{border:0;background:#1f1f1f;color:#fff;padding:10px 14px;border-radius:4px;cursor:pointer}.navrow{border-bottom:1px solid var(--line);box-shadow:0 2px 6px #00000006}.navrow .menu{display:flex;align-items:center;gap:27px;list-style:none;margin:0;padding:0;flex-wrap:wrap}.navrow a{display:block;padding:17px 0;font-size:14px;font-weight:700}.ad-slot{display:flex;align-items:center;justify-content:center;max-width:100%;margin:22px auto;overflow:hidden}.ad-slot img{display:block;max-width:100%;height:auto}.ad-slot iframe{max-width:100%}.section-head{border-bottom:2px solid var(--line);display:flex;align-items:center;justify-content:space-between;margin:32px 0 22px;padding-bottom:11px}.section-head h2{font-size:24px;margin:0;font-weight:800;letter-spacing:-.8px}.section-head h2:before{content:'';display:inline-block;height:22px;width:5px;border-radius:6px;background:var(--primary);margin-right:11px;vertical-align:-2px}.section-head>a{color:var(--primary);font-weight:700;font-size:13px}.hero{display:grid;grid-template-columns:1.55fr 1fr;gap:20px}.hero-side{display:grid;grid-template-rows:1fr 1fr;gap:20px;min-width:0}.hero-card{position:relative;min-height:245px;overflow:hidden;border-radius:10px;background:#e8ebed}.hero-card.main{min-height:510px}.hero-card img{position:absolute;width:100%;height:100%;object-fit:cover;inset:0;transition:transform .3s}.hero-card:hover img{transform:scale(1.03)}.hero-card:after{content:'';position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.88),transparent 78%)}.hero-copy{position:absolute;z-index:1;bottom:0;padding:26px;color:white}.hero-copy .tag{color:#ffdedb;font-size:12px;text-transform:uppercase;font-weight:800}.hero-copy h2{margin:8px 0 0;font-size:clamp(20px,2.15vw,36px);line-height:1.13;letter-spacing:-1px}.hero-side .hero-copy{padding:20px}.hero-side h2{font-size:21px;letter-spacing:-.6px}.news-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:36px;margin-top:12px}.post-row{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:23px;border-bottom:1px solid var(--line);padding:25px 0;align-items:center}.post-row img{width:100%;aspect-ratio:1.6;object-fit:contain;background:#f4f5f6;border-radius:8px}.post-row h2{font-size:25px;margin:5px 0 9px;line-height:1.24;letter-spacing:-.7px;color:var(--primary)}.post-row p{color:#5c6268;margin:0 0 10px;line-height:1.45;font-size:15px}.meta{font-size:12px;color:#798087}.tag{font-size:12px;font-weight:800;color:var(--primary);text-transform:uppercase}.aside-box{background:#fafafa;border:1px solid var(--line);padding:17px;border-radius:8px;margin:25px 0}.aside-box h3{margin:0 0 15px;font-size:19px}.aside-box li{padding:12px 0;border-bottom:1px solid var(--line);list-style:none;font-weight:700;line-height:1.35}.aside-box ul{padding:0;margin:0}.aside-box li:last-child{border:0}.editoria-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.editoria-card img{width:100%;aspect-ratio:1.55;object-fit:contain;background:#f3f3f3;border-radius:8px}.editoria-card h3{font-size:18px;line-height:1.3;margin:9px 0}.category-block{margin:22px 0 40px}.footer{margin-top:45px;padding:45px 0 25px;background:#202124;color:#fff}.footer a{color:#eee}.footer-grid{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.footer .copyright{border-top:1px solid #464646;padding-top:22px;margin-top:32px;color:#bbb;font-size:12px}.pagination{margin:30px 0}.pagination .page-numbers{padding:9px 14px;border-radius:5px;background:#f2f2f2;margin-right:5px}.pagination .current{background:var(--primary);color:white}.article-wrap{max-width:980px;margin:35px auto}.article-header h1{font-size:clamp(30px,4.5vw,52px);line-height:1.14;letter-spacing:-1.6px;margin:12px 0}.article-lead{color:#666;font-size:20px;line-height:1.5}.article-featured{margin:28px 0}.article-featured img{max-width:100%;width:auto;max-height:none;object-fit:contain;display:block;margin:auto}.article-content{font-size:19px;line-height:1.85;overflow-wrap:anywhere}.article-content p{margin:0 0 22px}.article-content img{height:auto;object-fit:contain}.article-content iframe{max-width:100%}.article-content h2{line-height:1.25}.mobile-toggle{display:none;background:transparent;border:1px solid #00000033;color:var(--ink);padding:9px;border-radius:4px;font-size:22px;cursor:pointer}.site-title-block{display:flex;align-items:center;gap:14px}.site-title-centered .custom-logo-link,.site-title-centered .default-logo-link{display:inline-flex;align-items:center;justify-content:center}.default-logo{display:block;max-height:62px;max-width:360px;width:auto;height:auto;object-fit:contain}.default-logo-link{display:inline-flex;align-items:center}.no-image{display:block;background:#f0f1f2;min-height:160px;width:100%}.search-title{font-size:28px;margin:30px 0}.page-shell{padding:18px 0 28px}.site-block{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 2px 10px #00000008}.top-stack{display:flex;flex-direction:column;gap:12px;margin:14px auto 18px}.top-stack .site-block{overflow:hidden}.utility{border-bottom:1px solid var(--line);font-size:12px;color:#666;border-radius:12px 12px 0 0}.brandbar{border-bottom:1px solid #d8aa09}.navrow{border-bottom:0;box-shadow:none}.ad-shell,.hero-shell,.news-shell,.category-shell{padding:18px;margin:0 0 18px}.hero-shell .section-head:first-child,.news-shell .section-head:first-child,.category-shell .section-head:first-child,.ad-shell .section-head:first-child{margin-top:0}.category-shell .category-block{margin:0}.footer-shell{margin-top:20px}.utility-inner{padding:0 14px}.brandbar-inner{padding:0 14px}.navrow .wrap{padding:0 14px}.site-block .ad-slot{margin:8px auto}.page-shell > .site-block:last-child{margin-bottom:0}.wp-caption{max-width:100%}.wp-caption-text{font-size:13px;color:var(--muted)}.aligncenter{display:block;margin:auto}.alignleft{float:left;margin-right:15px}.alignright{float:right;margin-left:15px}@media(max-width:850px){.page-shell{padding:12px 0 22px}.ad-shell,.hero-shell,.news-shell,.category-shell{padding:14px}.hero{grid-template-columns:1fr}.hero-card.main{min-height:380px}.hero-side{grid-template-columns:1fr 1fr;grid-template-rows:1fr}.hero-side .hero-card{min-height:230px}.news-layout{grid-template-columns:1fr}.aside{display:none}.editoria-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.wrap{width:calc(100% - 16px)}.top-stack{gap:10px;margin:10px auto 14px}.ad-shell,.hero-shell,.news-shell,.category-shell{padding:12px}.brandbar-inner{height:68px}.c40-brand-layout{grid-template-columns:1fr auto}.brand-left-spacer{display:none}.site-title-centered{justify-content:flex-start}.brand-name{font-size:25px}.brandbar .custom-logo{max-width:190px;max-height:50px}.default-logo{max-width:220px;max-height:48px}.mobile-toggle{display:block}.header-search{display:none}.navrow{display:none}.navrow.open{display:block}.navrow .menu{display:block}.navrow a{padding:12px;border-bottom:1px solid var(--line)}.hero-card.main{min-height:340px}.hero-side{gap:12px}.hero-side .hero-card{min-height:205px}.hero-side h2{font-size:16px}.hero-side .hero-copy{padding:12px}.hero-copy{padding:18px}.hero-copy h2{font-size:25px}.post-row{grid-template-columns:minmax(0,1fr) 115px;gap:12px;padding:17px 0}.post-row h2{font-size:18px;line-height:1.22}.post-row p{display:none}.post-row img{aspect-ratio:1.18}.editoria-grid{grid-template-columns:1fr 1fr;gap:13px}.editoria-card h3{font-size:15px}.article-header h1{letter-spacing:-.7px}.article-content{font-size:17px}.section-head h2{font-size:21px}.utility-inner{font-size:11px}}

/* Faixa superior de editorias, semelhante à posição da régua de portais. */
.top-editorias{background:#fff;overflow:hidden}
.top-editorias .utility-inner{min-height:43px;padding:0 16px}
.top-editorias-list{display:flex;align-items:center;gap:24px;width:100%;white-space:nowrap;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#ddd transparent}
.top-editorias-list a{display:inline-flex;align-items:center;flex:0 0 auto;min-height:43px;padding:4px 0 2px;border-bottom:3px solid transparent;font-size:13px;font-weight:800;color:var(--item-color,#1f1f1f);transition:border-color .2s}
.top-editorias-list a:hover,.top-editorias-list a:focus-visible{border-bottom-color:var(--item-color,#1f1f1f);color:var(--item-color,#1f1f1f)}
@media(max-width:600px){.top-editorias .utility-inner{padding:0 10px}.top-editorias-list{gap:17px}.top-editorias-list a{font-size:12px;min-height:41px}}

/* Cards de vídeo e publicidade configurável */
.video-shell{padding:18px;margin:0 0 18px}.video-shell .section-head{margin-top:0}.video-card-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.video-card{aspect-ratio:1/1;border-radius:9px;background:#151515;position:relative;overflow:hidden;display:block}.video-card img{width:100%;height:100%;object-fit:cover;display:block}.video-card:after{content:'';position:absolute;inset:30% 0 0;background:linear-gradient(transparent,#000b)}.video-play{position:absolute;top:43%;left:50%;transform:translate(-50%,-50%);background:#ffcf22;color:#111;width:40px;height:40px;border-radius:100%;display:grid;place-items:center;z-index:2;font-size:16px}.video-title{position:absolute;bottom:12px;left:10px;right:10px;color:#fff;font-size:13px;font-weight:700;z-index:2;line-height:1.2}.ad-slot--side img,.ad-slot--side2 img{width:auto;max-width:100%}.ad-slot iframe{max-width:100%}.ad-shell{min-height:0}.ad-slot:not(:has(img)):not(:has(iframe)){overflow:auto}@media(max-width:900px){.video-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.video-shell{padding:12px}.video-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.video-title{font-size:12px}}


/* Cabeçalho com logo centralizada */
.c40-brand-layout .custom-logo,.c40-brand-layout .default-logo{display:block;margin:0 auto;max-width:300px}
@media(max-width:760px){.c40-brand-layout .custom-logo,.c40-brand-layout .default-logo{max-width:220px}}

/* Logo original completa: sem recortes e centrada de verdade */
.c40-brand-layout {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);
    align-items:center;
}
.c40-brand-layout .site-title-centered {
    min-width:0;
    justify-content:center;
}
.c40-brand-layout .default-logo-link,
.c40-brand-layout .custom-logo-link {
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
}
.c40-brand-layout .default-logo,
.c40-brand-layout .custom-logo {
    display:block;
    object-fit:contain;
    object-position:center;
    width:auto;
    max-width:100%;
    height:auto;
    max-height:66px;
    margin:0 auto;
}
@media (max-width:760px) {
    .c40-brand-layout { grid-template-columns:1fr; }
    .c40-brand-layout .brand-left-spacer,
    .c40-brand-layout .header-search-right { display:none; }
    .c40-brand-layout .site-title-centered { justify-self:center; }
    .c40-brand-layout .default-logo,
    .c40-brand-layout .custom-logo { max-height:54px;max-width:min(70vw,280px); }
}


/* Home principal mais parecida com o G1 */
.hero-g1{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(320px,.92fr);gap:16px;align-items:stretch}
.hero-main-text{min-height:410px;background:#fff;border:1px solid var(--line);border-radius:10px;display:flex}
.hero-main-inner{display:flex;flex-direction:column;justify-content:flex-end;padding:20px 22px 18px;width:100%}
.hero-kicker{font-size:12px;line-height:1.2;font-weight:700;color:#6b6f74;margin-bottom:12px;text-transform:none}
.hero-main-text h2{margin:0 0 16px;font-size:clamp(28px,3.2vw,43px);line-height:1.05;letter-spacing:-1.3px;font-weight:800;color:#c81d11}
.hero-main-text h2 a{color:#c81d11}
.hero-main-text h2 a:hover{color:#a50f08}
.hero-main-text p{margin:0;color:#6a6f76;font-size:15px;line-height:1.45;max-width:92%}
.hero-g1 .hero-side{display:grid;grid-template-rows:1fr 1fr;gap:10px;min-width:0}
.hero-card-side{position:relative;min-height:200px;border-radius:10px;overflow:hidden;background:#dadde0;display:block}
.hero-card-side img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-card-side:after{content:'';position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.82),rgba(0,0,0,.14) 55%,rgba(0,0,0,.05))}
.hero-card-side .hero-copy{position:absolute;z-index:2;left:0;right:0;bottom:0;padding:16px 16px 14px;color:#fff}
.hero-card-side .hero-copy .tag{display:block;font-size:12px;font-weight:700;text-transform:none;color:#fff;opacity:.92;margin-bottom:10px}
.hero-card-side .hero-copy h3{margin:0;font-size:18px;line-height:1.18;letter-spacing:-.4px;font-weight:800;color:#fff}
.hero-card-side:hover img{transform:scale(1.03)}
/* neutraliza o estilo antigo só dentro do novo destaque */
.hero-g1 .hero-card{min-height:auto}.hero-g1 .hero-card.main{min-height:auto}
@media(max-width:850px){.hero-g1{grid-template-columns:1fr}.hero-main-text{min-height:330px}.hero-g1 .hero-side{grid-template-columns:1fr 1fr;grid-template-rows:1fr}.hero-card-side{min-height:220px}}
@media(max-width:600px){.hero-main-text{min-height:265px}.hero-main-inner{padding:16px 16px 14px}.hero-main-text h2{font-size:18px;line-height:1.14;letter-spacing:-.5px}.hero-main-text p{font-size:13px;line-height:1.4;max-width:100%}.hero-g1 .hero-side{grid-template-columns:1fr;grid-template-rows:auto auto}.hero-card-side{min-height:180px}.hero-card-side .hero-copy{padding:12px}.hero-card-side .hero-copy h3{font-size:16px}}

/* Listagem editorial por categoria configurável no painel */
.c40-feed-layout{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:20px;align-items:start}
.c40-feed-posts{min-width:0}
.c40-feed-row{display:grid;grid-template-columns:210px minmax(0,1fr);gap:15px;padding:15px 0;border-bottom:1px solid #e4e5e7;align-items:center}
.c40-feed-row:first-child{padding-top:0}
.c40-feed-image{display:block;border-radius:7px;overflow:hidden;background:#f1f1f1}
.c40-feed-image img{display:block;width:100%;aspect-ratio:1.6;object-fit:contain}
.c40-feed-copy h3{margin:5px 0 7px;color:#202124;font-size:20px;line-height:1.2;letter-spacing:-.5px}
.c40-feed-copy h3 a:hover{color:#bd1810}
.c40-feed-copy p{margin:0 0 8px;color:#666;line-height:1.35;font-size:13px}
.c40-feed-aside{border:1px solid #e5e7eb;border-radius:9px;overflow:hidden;background:#fff}
.c40-feed-aside h3{font-size:15px;padding:14px;margin:0;border-bottom:1px solid #e5e7eb}
.c40-related{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border-bottom:1px solid #e5e7eb;font-size:13px;font-weight:700;line-height:1.3}
.c40-related:last-child{border-bottom:0}
.c40-related img{height:56px;width:65px;object-fit:contain;border-radius:5px;flex-shrink:0}
@media(max-width:850px){.c40-feed-layout{grid-template-columns:1fr}.c40-feed-aside{display:none}}
@media(max-width:600px){.c40-feed-row{grid-template-columns:120px minmax(0,1fr);gap:10px}.c40-feed-copy h3{font-size:15px}.c40-feed-copy p{display:none}}

/* Segundo card do destaque: sem lacuna quando ainda não há terceira matéria */
.hero-g1 .hero-side{grid-template-rows:repeat(2,minmax(0,1fr))}
.hero-card-fallback{background:linear-gradient(135deg,#26354b,#111c2e);min-height:180px}
.hero-card-fallback::after{background:linear-gradient(0deg,rgba(0,0,0,.38),transparent)}
.hero-card-fallback .hero-copy h3{color:white}
@media(max-width:850px){.hero-g1 .hero-side{grid-template-rows:1fr}}
@media(max-width:600px){.hero-g1 .hero-side{grid-template-rows:repeat(2,minmax(180px,auto))}}

/* Previsão do tempo lateral */
.c40-weather{border:1px solid #e3e5e7;border-radius:9px;background:#fff;overflow:hidden;margin:20px 0;font-size:13px;box-shadow:0 1px 3px #00000008}
.c40-weather-head{font-size:16px;font-weight:800;padding:13px 15px;border-bottom:1px solid #e7e7e7}
.c40-weather-body{padding:15px}.c40-weather-body>strong{display:block;font-size:14px}
.c40-weather-rain{color:#666;font-size:12px;margin:9px 0 18px}
.c40-weather-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 75px;align-items:center;gap:5px}
.c40-weather-period{display:flex;flex-direction:column;align-items:center;gap:6px;color:#69727a;font-size:11px}
.c40-weather-symbol{font-size:25px;line-height:1.2}.c40-weather-temps{display:flex;flex-direction:column;gap:10px;white-space:nowrap;text-align:right}
.c40-weather-temps strong{font-size:18px}.c40-weather-temps small{display:block;font-size:10px;font-weight:400;color:#777}
.c40-weather-credit{font-size:10px;color:#777;line-height:1.3;margin:18px 0 0}
.c40-weather-footer{display:block;padding:12px 15px;color:#aa7c00;font-size:12px;font-weight:700;border-top:1px solid #ececec}
.c40-weather-offline{font-size:12px;color:#666;padding:15px 0}

/* v1.0.14 - editorias empilhadas, lateral de serviços e logo inteira */
.c40-home-columns{display:grid;grid-template-columns:minmax(0,1fr) 260px;align-items:start;gap:20px}
.c40-home-stream{min-width:0}.c40-home-stream .site-block{margin-bottom:17px}
.c40-home-sidebar{min-width:0;display:grid;gap:12px;align-content:start}.c40-home-sidebar .aside-box,.c40-home-sidebar .c40-weather{margin:0}
.c40-home-sidebar .ad-slot{margin:0;max-width:100%}
.c40-more-news h3{font-size:17px}.c40-economy-sub{font-size:12px;color:#6f7580}
.c40-economy-line{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #e7e7e7;padding:12px 0;font-size:13px}
.c40-economy-line strong{white-space:nowrap}.c40-economy small{font-size:10px;color:#6f7580}.c40-economy-source{border-top:1px solid #eee;margin:12px 0 0;padding-top:12px;font-size:12px;color:#b08500}
.c40-home-stream .news-shell{padding:18px}.c40-home-stream .post-row{grid-template-columns:minmax(0,1fr) 215px}
.c40-home-stream .category-shell{padding:18px}.c40-home-stream .c40-feed-row{display:grid;grid-template-columns:minmax(145px,38%) minmax(0,1fr);gap:16px;padding:17px 0;border-bottom:1px solid #eee}
.c40-home-stream .c40-feed-image img{width:100%;height:auto;aspect-ratio:1.6;object-fit:contain;display:block}.c40-home-stream .c40-feed-copy h3{font-size:20px;line-height:1.25;margin:6px 0;color:#b38700}.c40-home-stream .c40-feed-copy p{color:#616770;font-size:13px;line-height:1.5}
/* Aumentar área útil da logo sem cortar nenhuma borda */
.brandbar-inner.c40-brand-layout{min-height:96px;height:auto;padding-top:12px;padding-bottom:12px;grid-template-columns:minmax(0,1fr) minmax(250px,390px) minmax(0,1fr);overflow:visible}
.c40-brand-layout .site-title-centered{width:100%;overflow:visible}
.c40-brand-layout .default-logo,.c40-brand-layout .custom-logo{width:100%;height:auto;max-width:390px;max-height:88px;object-fit:contain;object-position:center;display:block}
@media(max-width:850px){.c40-home-columns{grid-template-columns:minmax(0,1fr) 225px;gap:12px}.c40-home-stream .post-row{grid-template-columns:minmax(0,1fr) 145px}}
@media(max-width:680px){.c40-home-columns{grid-template-columns:1fr}.c40-home-sidebar{grid-template-columns:1fr}.c40-home-stream .post-row{grid-template-columns:minmax(0,1fr) 110px}.c40-home-stream .c40-feed-row{grid-template-columns:120px minmax(0,1fr);gap:10px}.c40-home-stream .c40-feed-copy h3{font-size:16px}.c40-home-stream .c40-feed-copy p{display:none}.brandbar-inner.c40-brand-layout{grid-template-columns:1fr;min-height:85px}.c40-brand-layout .default-logo,.c40-brand-layout .custom-logo{max-width:290px;max-height:70px}}

/* Notícias compactas na lateral, inspiradas no módulo Leia também do G1 */
.c40-read-also{padding:0!important;overflow:hidden;border-radius:9px;background:#fff}
.c40-read-also h3{padding:14px 16px;margin:0!important;font-size:15px!important;border-bottom:1px solid #e5e7eb}
.c40-read-also-list{padding:0 14px}
.c40-read-also-item{display:grid;grid-template-columns:minmax(0,1fr) 72px;align-items:center;gap:10px;padding:16px 0;border-bottom:1px solid #e5e7eb;min-height:85px}
.c40-read-also-item:last-child{border-bottom:0}
.c40-read-also-heading{font-size:13px;line-height:1.3;font-weight:750;color:#c81d11;overflow-wrap:break-word}
.c40-read-also-image{width:72px;height:65px;display:block}
.c40-read-also-image img{width:100%;height:100%;object-fit:cover;border-radius:7px;display:block}
.c40-read-also-item:not(:has(.c40-read-also-image)){grid-template-columns:1fr}
.c40-read-also-item:hover .c40-read-also-heading{color:#94140e}

/* v1.0.16 — evita recortar o logotipo completo do Cuiabá 40 Graus */
.brandbar-inner.c40-brand-layout {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  min-height:96px;
  overflow:visible;
  padding:12px 16px;
}
.c40-brand-layout .brand-left-spacer{display:none;}
.c40-brand-layout .site-title-centered {
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:300px;
  max-width:calc(100% - 340px);
  min-width:0;
  height:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
  z-index:2;
}
.c40-brand-layout .site-title-centered .default-logo-link,
.c40-brand-layout .site-title-centered .custom-logo-link {
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  width:100%;
  max-width:100%;
  overflow:visible;
}
.c40-brand-layout .site-title-centered .default-logo,
.c40-brand-layout .site-title-centered .custom-logo {
  display:block;
  position:static;
  width:100%;
  max-width:100%;
  height:auto;
  max-height:76px;
  object-fit:contain;
  object-position:center;
  margin:0;
}
.c40-brand-layout .header-search-right {position:relative;z-index:3;margin-left:auto;}
@media(max-width:800px){
  .c40-brand-layout .site-title-centered {width:245px;max-width:calc(100% - 280px);}
  .c40-brand-layout .site-title-centered .default-logo,
  .c40-brand-layout .site-title-centered .custom-logo {max-height:68px;}
  .header-search input{width:140px;}
}
@media(max-width:680px){
  .brandbar-inner.c40-brand-layout {min-height:82px;justify-content:center;padding:10px 12px;}
  .c40-brand-layout .site-title-centered{position:static;transform:none;width:240px;max-width:85%;}
  .c40-brand-layout .header-search-right {display:none;}
  .c40-brand-layout .site-title-centered .default-logo,
  .c40-brand-layout .site-title-centered .custom-logo{max-height:66px;}
}

/* Mobile editorial: texto antes da foto, sem altura vazia. */
.c40-mobile-hero-image{display:none}
@media(max-width:680px){
 .home .page-shell{width:100%;padding-top:0}
 .home .hero-shell,.home .category-shell{border:0;border-radius:0;box-shadow:none;padding:0;background:#fff}
 .home .hero-shell>.section-head,.home .category-shell>.section-head{margin:0;padding:18px 22px}
 .c40-mobile-hide-heading .hero-shell>.section-head{display:none}
 .c40-mobile-hide-categories .hero-kicker,.c40-mobile-hide-categories .hero-copy .tag,.c40-mobile-hide-categories .c40-feed-category{display:none}
 .home .hero-g1{display:block}
 .home .hero-main-text{display:block;min-height:0;border:0;border-radius:0}
 .home .hero-main-inner{padding:28px 22px 24px;justify-content:flex-start}
 .home .hero-main-text h2{font-size:22px;line-height:1.15;letter-spacing:-.5px;margin:0 0 14px}
 .home .hero-main-text p{font-size:16px;line-height:1.5;max-width:100%}
 .c40-mobile-hero-image{display:block}
 .c40-mobile-hero-image img{display:block;width:100%;height:auto;object-fit:contain}
 .c40-mobile-hero-image .no-image{display:none}
 .home .hero-g1 .hero-side{display:block}
 .home .hero-g1 .hero-card-side{display:flex;flex-direction:column;min-height:0;border-radius:0;background:#fff;border-top:12px solid #f1f1f1}
 .home .hero-card-side::after{display:none}
 .home .hero-card-side .hero-copy{position:static;order:0;padding:26px 22px 22px;color:#c81d11}
 .home .hero-card-side .hero-copy h3{font-size:22px;line-height:1.15;color:#c81d11;letter-spacing:-.5px}
 .home .hero-card-side .hero-copy .tag{color:#6b6f74}
 .home .hero-card-side img{position:static;order:1;width:100%;height:auto;object-fit:contain;transform:none}
 .home .hero-card-side .no-image{display:none}
 .home .c40-home-stream .c40-feed-row{display:flex;flex-direction:column;gap:0;padding:0 0 22px;border-bottom:12px solid #f1f1f1}
 .home .c40-feed-copy{display:contents}
 .home .c40-feed-copy h3{order:1;font-size:22px;line-height:1.15;margin:22px 22px 16px}
 .home .c40-feed-category{order:0;margin:18px 22px 0}
 .home .c40-feed-image{order:3;width:100%}
 .home .c40-feed-image img{display:block;width:100%;height:auto;aspect-ratio:auto;border-radius:0;object-fit:contain}
 .home .c40-feed-copy p{display:block;order:2;margin:0 22px 20px;font-size:16px;line-height:1.5}
 .home .c40-feed-copy .meta:not(.c40-feed-category){order:4;margin:16px 22px 0}
}


/* Cabeçalho compacto conforme referência: faixa de 82px e logo central. */
@media(max-width:680px){
 .brandbar-inner.c40-brand-layout{height:82px!important;min-height:82px!important;max-height:82px!important;padding:8px 12px!important;justify-content:center;}
 .c40-brand-layout .site-title-centered{position:static;transform:none;width:210px!important;max-width:85%!important;height:66px!important;flex:0 1 210px;}
 .c40-brand-layout .site-title-centered .default-logo-link,
 .c40-brand-layout .site-title-centered .custom-logo-link{display:flex;width:100%;height:66px;max-width:100%;align-items:center;justify-content:center;}
 .c40-brand-layout .site-title-centered .default-logo,
 .c40-brand-layout .site-title-centered .custom-logo{display:block;width:100%!important;height:66px!important;max-width:100%!important;max-height:66px!important;object-fit:contain!important;margin:0;}
}
