/*
Theme Name: Canal Saúde Brasil
Theme URI: https://portal-sade-brasil.local
Author: Four Nexus
Description: Tema do portal de notícias e artigos de saúde e bem-estar do Canal Saúde Brasil.
Version: 1.0.0
Text Domain: saude-brasil
*/

:root {
	--navy-900: #05213a;
	--navy-800: #08305a;
	--navy-700: #0b4380;
	--navy-600: #0f5aa8;
	--blue: #0b5cad;
	--green: #1e9a3c;
	--green-600: #167a2e;
	--gold: #f5c400;
	--cream: #f3f8f6;
	--ink: #12202b;
	--muted: #566672;
	--line: #dbe6e2;
	--white: #fff;
	--radius: 14px;
	--shadow: 0 6px 24px rgba(8, 48, 90, .08);
	--font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--w: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--cream);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; letter-spacing: -.01em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--green); color: #fff; padding: 10px 16px; z-index: 999; }
.skip-link:focus { left: 8px; top: 8px; }
.container { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 20px; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-900); color: #dbe9f5; font-size: 13px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar-tag { letter-spacing: .22em; text-transform: uppercase; font-size: 11px; opacity: .75; }
.social { display: inline-flex; gap: 14px; align-items: center; }
.social a { display: inline-flex; opacity: .85; transition: .2s; }
.social a:hover { opacity: 1; color: var(--green); }

/* ---------- Header ---------- */
.site-header { background: var(--white); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); box-shadow: 0 2px 14px rgba(8, 48, 90, .05); }
.header-in { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.brand img { height: 56px; width: auto; }
.main-nav { flex: 1; }
.main-nav .menu { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: nowrap; }
.main-nav a { display: block; padding: 9px 10px; font-size: 13.5px; font-weight: 600; color: var(--navy-800); border-radius: 999px; transition: .2s; white-space: nowrap; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-cat > a { color: var(--green); background: #eaf7ee; }
.main-nav .menu-tv > a { background: var(--navy-800); color: #fff; display: inline-flex; align-items: center; gap: 8px; margin-left: 8px; }
.main-nav .menu-tv > a::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(30, 154, 60, .7); animation: pulse 1.8s infinite; }
.main-nav .menu-tv > a:hover { background: var(--green); color: #fff; }
.header-actions { display: flex; gap: 6px; margin-left: auto; }
.icon-btn { width: 42px; height: 42px; border: 0; background: transparent; border-radius: 50%; color: var(--navy-800); display: inline-flex; align-items: center; justify-content: center; }
.icon-btn:hover { background: #eaf7ee; color: var(--green); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; }
.menu-toggle span { display: block; width: 22px; height: 2.5px; background: currentColor; border-radius: 2px; transition: .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.search-panel { background: var(--cream); border-top: 1px solid var(--line); padding: 14px 0; }
.search-form { display: flex; gap: 8px; max-width: 560px; }
.search-form input { flex: 1; min-width: 0; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: 999px; font: inherit; background: #fff; }
.search-form input:focus { border-color: var(--green); outline: 0; }
.search-form button, .newsletter button { padding: 12px 22px; border: 0; border-radius: 999px; background: var(--green); color: #fff; font-weight: 700; transition: .2s; }
.search-form button:hover, .newsletter button:hover { background: var(--green-600); }

/* ---------- Ticker ---------- */
.ticker { background: var(--navy-800); color: #fff; }
.ticker-in { display: flex; align-items: center; gap: 16px; height: 44px; }
.ticker-label { flex: none; display: inline-flex; align-items: center; gap: 8px; background: var(--green); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.ticker-label i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.4s infinite; }
.ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-run { display: inline-flex; gap: 48px; white-space: nowrap; animation: scroll 60s linear infinite; padding-right: 48px; }
.ticker-run:hover { animation-play-state: paused; }
.ticker-run a { font-size: 14px; opacity: .92; }
.ticker-run a::before { content: '●'; color: var(--green); margin-right: 14px; font-size: 9px; vertical-align: middle; }
.ticker-run a:hover { text-decoration: underline; }
@keyframes scroll { to { transform: translateX(-50%); } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(30, 154, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(30, 154, 60, 0); } }

/* ---------- Seções / títulos ---------- */
.section-title { font-size: 24px; font-weight: 800; color: var(--navy-800); margin: 0 0 20px; display: flex; align-items: center; gap: 12px; }
.section-title::before { content: ''; width: 6px; height: 26px; border-radius: 3px; background: linear-gradient(var(--green), var(--blue)); }
.section-title.small { font-size: 18px; }
.section-title.small::before { height: 20px; }
.kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }

/* ---------- Categorias (cores) ---------- */
.cat { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.cat-medicina-e-especialidades { --c: #0b5cad; } .cat-nutricao-e-alimentacao { --c: #3f8f1f; } .cat-saude-mental { --c: #6a4bc4; }
.cat-odontologia { --c: #0a8aa8; } .cat-atividade-fisica-e-bem-estar { --c: #e07a10; } .cat-saude-da-mulher { --c: #c2347c; }
.cat-saude-do-homem { --c: #1d5fa0; } .cat-longevidade-e-prevencao { --c: #1a8a6a; } .cat-ciencia-e-pesquisa { --c: #4b5fc4; }
.cat-tecnologia-e-inovacao { --c: #0f7fa8; } .cat-gestao-e-negocios-em-saude { --c: #8a6a10; } .cat-saude-publica-e-acesso { --c: #167a2e; }
.cat[class*="cat-"] { color: var(--c, var(--green)); }
a.cat:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; padding-top: 28px; padding-bottom: 8px; }
.lead { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy-800); min-height: 460px; box-shadow: var(--shadow); }
.lead-media, .lead-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lead::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 33, 58, 0) 30%, rgba(5, 33, 58, .92) 100%); pointer-events: none; }
.lead-body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 32px; color: #fff; }
.lead-body .cat { background: var(--green); color: #fff; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.lead-title { font-size: clamp(24px, 3.2vw, 38px); font-weight: 800; margin-bottom: 10px; }
.lead-title a:hover { text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 4px; }
.lead-body p { margin: 0 0 8px; opacity: .9; max-width: 640px; }
.lead-date { font-size: 13px; opacity: .75; }
.hero-side { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.hero-side .section-title { margin-bottom: 4px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(8, 48, 90, .14); }
.card-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy-800); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.card-title { font-size: 18px; font-weight: 700; color: var(--navy-800); }
.card-title a:hover, .row-title a:hover { color: var(--green); }
.card-excerpt { margin: 0; font-size: 14px; color: var(--muted); }
.thumb-fallback { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--navy-800), var(--blue)); }
.thumb-fallback img { width: 40%; max-width: 72px; height: auto; opacity: .9; }

.row-card { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; }
.row-media { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--navy-800); }
.row-media img { width: 100%; height: 100%; object-fit: cover; }
.row-title { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--navy-800); margin-top: 4px; }
.row-card .meta { gap: 8px; }

/* ---------- Layout com sidebar ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; padding-top: 36px; padding-bottom: 48px; }
.sidebar { display: flex; flex-direction: column; gap: 24px; align-self: start; position: sticky; top: 100px; }
.widget { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.widget-title { font-size: 18px; font-weight: 800; color: var(--navy-800); margin-bottom: 14px; }
.ranked { counter-reset: r; }
.ranked li { counter-increment: r; border-top: 1px solid var(--line); }
.ranked li:first-child { border-top: 0; }
.ranked a { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; padding: 12px 0; align-items: start; }
.ranked a::before { content: counter(r); grid-row: span 2; font-size: 26px; font-weight: 800; line-height: 1; color: var(--green); }
.ranked .cat { font-size: 10px; }
.ranked-title { font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--navy-800); }
.ranked a:hover .ranked-title { color: var(--green); }

.live-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(30, 154, 60, .14); color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; width: fit-content; }
.live-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 1.8s infinite; }
.widget-tv { background: linear-gradient(145deg, var(--navy-800), var(--navy-600)); color: #fff; display: flex; flex-direction: column; gap: 8px; }
.widget-tv strong { font-size: 22px; line-height: 1.2; }
.widget-tv span:last-child { opacity: .8; font-size: 14px; }
.widget-tv .live-pill { background: rgba(255, 255, 255, .14); color: #fff; }
.widget-ad { background: var(--navy-800); color: #fff; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; }
.widget-ad::after { content: ''; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(var(--green), transparent 70%); opacity: .45; }
.ad-kicker { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--green); }
.widget-ad strong { font-size: 22px; line-height: 1.2; }
.widget-ad em { font-style: normal; color: var(--green); }
.widget-news p { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.newsletter { display: flex; flex-direction: column; gap: 10px; }
.newsletter input { padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 999px; font: inherit; }
.newsletter input:focus { border-color: var(--green); outline: 0; }
.newsletter-ok { color: #1a8a6a; font-weight: 600; margin: 0 !important; }

/* ---------- Botões ---------- */
.btn { display: inline-block; padding: 12px 26px; border-radius: 12px; font-weight: 700; text-align: center; transition: .2s; border: 0; }
.btn-green { background: linear-gradient(180deg, #34b552, var(--green-600)); color: #fff; box-shadow: 0 6px 16px rgba(30, 154, 60, .35); }
.btn-green:hover { transform: translateY(-2px); filter: brightness(1.06); }

/* ---------- Banner ---------- */
.ad-banner { display: block; margin: 28px auto 8px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .25s; }
.ad-banner:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(8, 48, 90, .2); }
.ad-banner img { width: 100%; }

/* ---------- Faixa de editorias + promo TV ---------- */
.band { background: #fff; border-block: 1px solid var(--line); padding: 44px 0; }
.cat-blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.cat-block { display: flex; flex-direction: column; gap: 18px; }
.cat-block .section-title { margin-bottom: 0; }
.cat-block .section-title::before { background: var(--c, var(--green)); }
.cat-block .section-title a:hover { color: var(--green); }
.tv-promo { background: linear-gradient(100deg, var(--navy-900), var(--navy-700) 60%, var(--blue)); color: #fff; padding: 44px 0; }
.tv-promo-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.tv-promo h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; margin: 12px 0 4px; }
.tv-promo p { margin: 0; opacity: .8; }
.tv-promo .live-pill { background: rgba(255, 255, 255, .14); color: #fff; }

/* ---------- Paginação ---------- */
.pagination { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--navy-800); transition: .2s; }
.pagination a.page-numbers:hover { border-color: var(--green); color: var(--green); }
.pagination .current { background: var(--green); border-color: var(--green); color: #fff; }
.pagination .dots { border: 0; background: transparent; }

/* ---------- Cabeçalho de páginas ---------- */
.page-head { padding-top: 44px; }
.page-title { font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; color: var(--navy-800); }
.page-lead { color: var(--muted); max-width: 680px; margin: 10px 0 0; }
.not-found { padding-bottom: 60px; }
.not-found .search-form { margin: 24px 0; }
.empty { color: var(--muted); }

/* ---------- Matéria ---------- */
.article-head { margin-bottom: 24px; }
.article-head .cat { background: #eaf7ee; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.article-head h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--navy-800); margin-bottom: 14px; }
.article-lead { font-size: 19px; color: var(--muted); margin: 0 0 18px; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }
.article-figure { margin: 0 0 22px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.article-figure img { width: 100%; }
.article-figure figcaption { padding: 8px 14px; font-size: 12px; color: var(--muted); background: #fff; }
.source { max-width: 720px; margin: 8px 0 0; padding: 14px 18px; background: #fff; border-radius: 10px; border-left: 4px solid var(--green); font-size: 14px; color: var(--muted); }
.source a { color: var(--green-600); text-decoration: underline; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; font-size: 13px; font-weight: 600; color: var(--muted); }
.btn-share { padding: 7px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy-800); font-size: 13px; font-weight: 600; transition: .2s; }
.btn-share:hover { background: var(--green); border-color: var(--green); color: #fff; }
.entry { font-size: 18px; line-height: 1.75; }
.entry > * { max-width: 720px; }
.entry p { margin: 0 0 1.3em; }
.entry h2 { font-size: 26px; font-weight: 800; color: var(--navy-800); margin: 1.6em 0 .6em; }
.entry h3 { font-size: 20px; color: var(--navy-800); margin: 1.4em 0 .5em; }
.entry a { color: var(--green-600); text-decoration: underline; }
.entry ul, .entry ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.entry ul { list-style: disc; } .entry ol { list-style: decimal; }
.entry li { margin-bottom: .4em; }
.entry blockquote { margin: 1.6em 0; padding: 6px 0 6px 22px; border-left: 5px solid var(--green); font-size: 21px; font-weight: 600; color: var(--navy-700); }
.entry .callout { background: #fff; border-left: 5px solid var(--green); border-radius: 10px; padding: 16px 20px; box-shadow: var(--shadow); }
.related { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.related .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- TV ao vivo ---------- */
.tv-stage { background: radial-gradient(circle at 30% 0%, var(--navy-700), var(--navy-900) 70%); color: #fff; padding: 56px 0 72px; text-align: center; }
.tv-head { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 28px; }
.tv-head h1 { font-size: clamp(28px, 4.5vw, 46px); font-weight: 800; }
.tv-head .live-pill { background: rgba(255, 255, 255, .14); color: #fff; }
.tv-screen { max-width: 960px; margin: 0 auto 28px; aspect-ratio: 16 / 9; border-radius: 22px; padding: 10px; background: linear-gradient(145deg, #0f3d6e, #041a30); box-shadow: 0 30px 70px rgba(0, 0, 0, .5), inset 0 0 0 2px rgba(255, 255, 255, .08); }
.tv-screen-in { width: 100%; height: 100%; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: radial-gradient(circle at 50% 35%, #0d4a86, #051f3a 75%); position: relative; overflow: hidden; }
.tv-screen-in::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 4px); pointer-events: none; }
.tv-screen-in img { width: min(42%, 360px); height: auto; }
.soon { margin: 0; font-size: clamp(20px, 3.4vw, 36px); font-weight: 800; letter-spacing: .02em; color: var(--gold); }
.tv-note { max-width: 560px; margin: 0 auto 24px; opacity: .85; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #d3e3f0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-top: 56px; padding-bottom: 40px; }
.footer-logo { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 16px; margin-bottom: 16px; }
.footer-brand img { width: 200px; }
.footer-brand p { margin: 0 0 16px; font-size: 14px; opacity: .85; max-width: 300px; }
.site-footer h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 14px; letter-spacing: .04em; text-transform: uppercase; }
.site-footer li { margin-bottom: 8px; font-size: 14px; }
.site-footer li a:hover { color: var(--green); }
.site-footer .search-form input { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); color: #fff; }
.site-footer .search-form input::placeholder { color: #9db8cf; }
.site-footer .search-form { flex-direction: column; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
	.layout { grid-template-columns: minmax(0, 1fr); }
	.sidebar { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sidebar .widget:first-child { grid-column: 1 / -1; }
	.cat-blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
	.menu-toggle { display: inline-flex; }
	.header-in { gap: 8px; min-height: 68px; }
	.brand img { height: 48px; }
	.main-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(8, 48, 90, .12); padding: 12px 20px 20px; display: none; }
	.main-nav.is-open { display: block; }
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 2px; }
	.main-nav a { padding: 13px 14px; font-size: 16px; }
	.main-nav .menu-tv > a { margin: 8px 0 0; justify-content: center; }
	.hero { grid-template-columns: minmax(0, 1fr); }
	.lead { min-height: 400px; }
}
@media (max-width: 720px) {
	.topbar-tag { display: none; }
	.grid-3, .grid-2, .related .grid-3 { grid-template-columns: minmax(0, 1fr); }
	.sidebar { grid-template-columns: minmax(0, 1fr); }
	.cat-blocks { grid-template-columns: minmax(0, 1fr); }
	.lead { min-height: 360px; }
	.lead-body { padding: 20px; }
	.lead-body p { display: none; }
	.footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.entry { font-size: 17px; }
	.tv-promo-in { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}


/* ---------- Submenu (Editorias) ---------- */
.main-nav .menu > li { position: relative; }
.main-nav .menu-item-has-children > a::after { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.main-nav .sub-menu { display: none; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); min-width: 290px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 36px rgba(8, 48, 90, .16); padding: 8px; z-index: 60; }
.main-nav .menu-item-has-children:hover > .sub-menu, .main-nav .menu-item-has-children:focus-within > .sub-menu { display: block; }
.main-nav .sub-menu a { border-radius: 8px; font-weight: 500; padding: 9px 14px; white-space: normal; }

/* ---------- Banner "Anuncie aqui" (HTML) ---------- */
.ad-banner { display: grid; grid-template-columns: auto 1px 1fr minmax(220px, 30%); align-items: center; gap: 28px; background: linear-gradient(100deg, #fff 0%, #eef8f3 55%, #dff1ea 100%); padding: 0 0 0 36px; min-height: 150px; }
.ad-banner .ad-logo { height: 92px; width: auto; }
.ad-banner .ad-sep { width: 1px; height: 64px; background: var(--navy-700); opacity: .35; }
.ad-banner .ad-copy { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; }
.ad-banner .ad-kicker { font-size: 12px; letter-spacing: .22em; color: var(--navy-700); }
.ad-banner .ad-copy strong { font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; line-height: 1.15; color: #1f3d36; }
.ad-banner .ad-copy em { font-style: normal; color: var(--blue); }
.ad-banner .ad-photo { align-self: stretch; min-height: 150px; }
.ad-banner .ad-photo img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }

/* ---------- TV ao vivo: logo em cartão claro ---------- */
.tv-logo-card { background: #fff; border-radius: 18px; padding: 14px 24px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.tv-logo-card img { width: min(300px, 60vw) !important; }

@media (max-width: 980px) {
	.main-nav .sub-menu { display: block; position: static; transform: none; min-width: 0; border: 0; box-shadow: none; padding: 0 0 0 14px; }
	.main-nav .menu-item-has-children > a::after { display: none; }
	.ad-banner { grid-template-columns: 1fr; padding: 20px 20px 0; gap: 12px; text-align: center; justify-items: center; }
	.ad-banner .ad-sep { display: none; }
	.ad-banner .ad-photo { width: calc(100% + 40px); margin: 0 -20px; height: 170px; min-height: 0; }
}

/* Destaque sem foto: ícone centralizado */
.lead .thumb-fallback { position: absolute; inset: 0; background: linear-gradient(135deg, var(--navy-800), var(--blue)); }
.lead .thumb-fallback img { position: static; width: 18%; max-width: 120px; height: auto; object-fit: contain; }
@media (max-width: 980px) { .main-nav .menu { flex-wrap: wrap; } }
.lead .thumb-fallback { align-items: flex-start; padding-top: 56px; }
.lead .thumb-fallback img { opacity: .4; }

/* Logo: não deixar o menu comprimir a marca */
.brand { flex: 0 0 auto; }
.brand img { max-width: none; }
@media (min-width: 981px) and (max-width: 1340px) {
	.header-in { gap: 10px; }
	.main-nav a { padding: 9px 7px; font-size: 12.5px; }
	.main-nav .menu-tv > a { margin-left: 4px; }
}
@media (min-width: 981px) and (max-width: 1140px) {
	.brand img { height: 46px; }
	.main-nav a { padding: 8px 5px; font-size: 11.5px; }
	.main-nav .menu-item-has-children > a::after { margin-left: 5px; }
}
@media (min-width: 981px) and (max-width: 1060px) {
	.container.header-in { padding: 0 14px; gap: 6px; }
	.brand img { height: 42px; }
	.main-nav a { padding: 8px 4px; font-size: 11px; }
	.main-nav .menu-tv > a { gap: 6px; padding: 8px 9px; }
}
