/*
Theme Name: Quadro Geral
Theme URI: https://example.com/quadro-geral
Author: Quadro Geral
Description: Tema editorial do Quadro Geral, jornalismo de contexto para Mato Grosso do Sul.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: quadro-geral
Tags: news, blog, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* Quadro Geral — identidade editorial */
:root {
  --blue-950: #052b2e;
  --blue-900: #07383b;
  --blue-800: #075153;
  --blue-700: #087b78;
  --blue-600: #079a94;
  --blue-500: #13aaa3;
  --blue-100: #e6f5f3;
  --sky: #56d3c9;
  --ink: #172225;
  --muted: #647174;
  --line: #dbe2e1;
  --soft: #f3f6f5;
  --danger: #dd4a43;
  --container: 1320px;
  --radius: 6px;
  --shadow: 0 14px 34px rgba(5, 43, 46, .12);
}

body { font-family: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif; background: #fbfcfb; }
.top-strip { background: #11191c; }
.top-strip__label { background: var(--blue-500); color: #032b2c; border-radius: 0; }
.site-header { box-shadow: none; border-bottom: 1px solid var(--line); }
.header-main { height: 112px; }
.quadro-brand { text-align: center; }
.quadro-brand .brand__text { line-height: .9; }
.quadro-brand .brand__text strong { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 900; letter-spacing: -.065em; color: #172225; }
.quadro-brand .brand__text strong em { color: var(--blue-600); font-style: normal; }
.quadro-brand .brand__text small { margin-top: 10px; color: #526064; font-size: .62rem; letter-spacing: .32em; }
.icon-button { border-radius: 4px; }
.menu-toggle { padding: 0; }
.menu-toggle .dashicons { width: 24px; height: 24px; font-size: 24px; }
.live-button { border-radius: 4px; background: transparent; border-color: var(--line); color: var(--blue-900); }
.desktop-nav { color: white; background: var(--blue-950); border: 0; }
.desktop-nav a { color: white; font-size: .77rem; text-transform: uppercase; letter-spacing: .025em; }
.desktop-nav a::after { background: var(--sky); }
.section-kicker, .eyebrow { color: var(--blue-700); }
.card-overlay, .news-card img, .compact-card, .feature-card, .video-thumb, .most-read, .search-modal { border-radius: var(--radius); }
.lead-story { min-height: 580px; }
.lead-story h2 { font-size: clamp(2.5rem, 4.1vw, 4.35rem); font-weight: 900; }
.side-story h2 { font-size: 1.7rem; }
.overlay-gradient { background: linear-gradient(180deg, rgba(3, 19, 20, 0) 18%, rgba(3, 25, 27, .94) 100%); }
.latest-bar { background: #edf7f5; border-color: #c6e5e1; }
.section-header h2 { color: var(--blue-950); text-transform: uppercase; font-size: clamp(1.8rem, 2.6vw, 2.55rem); }
.blue-section, .video-section, .site-footer { background: #061f22; }
.video-section { background: linear-gradient(135deg, #061f22, #084448); }
.newsletter { background: var(--blue-900); }
.newsletter__inner { border-radius: var(--radius); }
.brand--footer .brand__text strong { color: white; font-size: 2rem; }
.brand--footer .brand__text small { color: #8bd7d1; }
.site-footer { border-top: 4px solid var(--blue-500); }
.tag--light, .tag--inverse { color: #66ddd3; }
.search-form button, .newsletter__form button { border-radius: 3px; background: var(--blue-600); }
.play-button { color: var(--blue-900); }

@media (max-width: 760px) {
  .header-main { height: 82px; }
  .quadro-brand .brand__text strong { font-size: 1.65rem; }
  .quadro-brand .brand__text small { display: none; }
  .header-actions .live-button { display: none; }
  .lead-story { min-height: 460px; }
  .lead-story h2 { font-size: 2.25rem; }
}

:root {
  --blue-950: #052b2e;
  --blue-900: #07383b;
  --blue-800: #075153;
  --blue-700: #087b78;
  --blue-600: #079a94;
  --blue-500: #13aaa3;
  --blue-100: #e6f5f3;
  --sky: #56d3c9;
  --ink: #172225;
  --muted: #647174;
  --line: #dbe2e1;
  --soft: #f3f6f5;
  --white: #fff;
  --danger: #eb3c4b;
  --container: 1320px;
  --radius: 6px;
  --shadow: 0 14px 34px rgba(5, 43, 46, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.45; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
button, input { font: inherit; }
button { cursor: pointer; }
.site-main { min-height: 45vh; }
.custom-logo { width: auto; max-height: 54px; }
.pagination { margin: 30px 0 55px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { padding: 9px 13px; border: 1px solid var(--line); border-radius: 6px; }
.page-numbers.current { color: white; background: var(--blue-700); border-color: var(--blue-700); }
.archive-header, .article-header { padding-block: 40px 24px; }
.archive-header h1, .article-header h1 { margin: 5px 0 10px; color: var(--blue-950); font-size: clamp(2.1rem, 5vw, 4rem); line-height: 1.03; letter-spacing: -.045em; }
.archive-description, .article-subtitle { max-width: 850px; color: var(--muted); font-size: 1.1rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .84rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 820px) 300px; gap: 50px; align-items: start; padding-bottom: 60px; }
.article-featured img { border-radius: var(--radius); }
.image-caption { color: var(--muted); font-size: .78rem; }
.article-content { font-family: Georgia, serif; font-size: 1.15rem; line-height: 1.75; }
.article-content > * { max-width: 760px; }
.article-content a { color: var(--blue-700); text-decoration: underline; }
.article-content img { border-radius: 10px; }
.article-sidebar { position: sticky; top: 20px; }
.share-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.share-links a { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; font-weight: 800; }
.author-box { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 24px; margin: 35px 0; background: var(--soft); border-radius: 12px; }
.author-box img { border-radius: 50%; }
.author-box h2, .related-news h2 { margin-top: 0; }
.related-news { margin-top: 38px; }
.empty-state { padding: 60px 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ad-block img { max-width: 100%; width: auto; }
.ad-block iframe { max-width: 100%; }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } .article-sidebar { position: static; } }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; top: 8px; left: 8px; transform: translateY(-200%); background: white; color: var(--blue-900); padding: 10px 14px; border-radius: 6px; box-shadow: var(--shadow); }
.skip-link:focus { transform: translateY(0); }

.top-strip { background: var(--blue-950); color: white; font-size: .78rem; }
.top-strip__inner { min-height: 35px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; overflow: hidden; }
.top-strip__label { background: var(--danger); font-weight: 900; padding: 4px 8px; border-radius: 3px; letter-spacing: .04em; }
.top-strip__date { color: #b9cadb; font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
.ticker { overflow: hidden; white-space: nowrap; }
.ticker__track { display: inline-flex; gap: 18px; align-items: center; min-width: max-content; animation: ticker 28s linear infinite; }
.ticker__track a:hover { text-decoration: underline; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-48%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

.site-header { position: relative; z-index: 100; background: white; box-shadow: 0 1px 0 var(--line); }
.header-main { height: 94px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand { grid-column: 2; display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 54px; height: 54px; }
.brand__text { display: flex; flex-direction: column; line-height: .88; }
.brand__text strong { font-size: 1.65rem; letter-spacing: -.045em; color: var(--blue-900); }
.brand__text small { margin-top: 7px; font-size: .76rem; font-weight: 900; letter-spacing: .37em; color: var(--blue-600); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 12px; }
.icon-button { width: 43px; height: 43px; border: 1px solid var(--line); border-radius: 50%; background: white; display: inline-grid; place-items: center; transition: .2s ease; }
.icon-button:hover { background: var(--blue-100); border-color: #b6d5f5; }
.icon-button svg { width: 20px; fill: none; stroke: var(--blue-900); stroke-width: 2; }
.menu-toggle { justify-self: start; gap: 4px; padding: 11px; }
.menu-toggle span { display: block; width: 19px; height: 2px; background: var(--blue-900); border-radius: 2px; }
.live-button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #b9d8f8; background: var(--blue-100); color: var(--blue-800); padding: 10px 14px; border-radius: 999px; font-size: .78rem; font-weight: 900; letter-spacing: .04em; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 5px rgba(235,60,75,.12); }
.desktop-nav { border-top: 1px solid var(--line); }
.desktop-nav__inner { min-height: 49px; display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2vw, 30px); overflow-x: auto; scrollbar-width: none; }
.desktop-nav__inner > ul { min-height: 49px; display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2vw, 30px); padding: 0; margin: 0; list-style: none; }
.desktop-nav__inner::-webkit-scrollbar { display: none; }
.desktop-nav a { position: relative; white-space: nowrap; font-size: .82rem; font-weight: 800; color: #26384a; letter-spacing: .01em; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -16px; height: 3px; background: var(--blue-600); transform: scaleX(0); transition: .2s; }
.desktop-nav a:hover::after, .desktop-nav a.active::after { transform: scaleX(1); }
.desktop-nav .nav-highlight { color: var(--blue-700); }

.mobile-menu { position: fixed; z-index: 1001; inset: 0 auto 0 0; width: min(88vw, 380px); background: white; transform: translateX(-105%); transition: transform .28s ease; box-shadow: 25px 0 60px rgba(0,0,0,.24); display: flex; flex-direction: column; }
body.menu-open .mobile-menu { transform: translateX(0); }
.mobile-menu__header { height: 76px; padding: 0 24px; background: var(--blue-900); color: white; display: flex; align-items: center; justify-content: space-between; font-size: .9rem; font-weight: 900; letter-spacing: .15em; }
.mobile-menu__close, .search-modal__close { border: 0; background: transparent; color: inherit; font-size: 2rem; line-height: 1; }
.mobile-menu nav { padding: 14px 24px; display: grid; }
.mobile-menu nav ul, .site-footer ul { padding: 0; margin: 0; list-style: none; }
.mobile-menu nav li { margin: 0; list-style: none; }
.mobile-menu nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 800; }
.mobile-menu__footer { margin-top: auto; padding: 24px; background: var(--soft); }
.social-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; font-size: .85rem; color: var(--blue-700); font-weight: 700; }
.page-overlay { position: fixed; z-index: 1000; inset: 0; background: rgba(3,18,34,.64); opacity: 0; visibility: hidden; transition: .25s; }
body.menu-open .page-overlay { opacity: 1; visibility: visible; }
.search-modal { width: min(720px, calc(100% - 28px)); border: 0; border-radius: 18px; padding: 0; overflow: hidden; box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.search-modal::backdrop { background: rgba(3,18,34,.72); backdrop-filter: blur(4px); }
.search-modal__close { position: absolute; right: 16px; top: 14px; color: var(--blue-900); }
.search-form { padding: 52px 38px 38px; }
.search-form label { display: block; font-size: 1.5rem; font-weight: 900; margin-bottom: 18px; color: var(--blue-900); }
.search-form__row { display: flex; gap: 8px; }
.search-form input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; outline: none; }
.search-form input:focus { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(23,134,237,.15); }
.search-form button, .newsletter__form button { border: 0; border-radius: 8px; background: var(--blue-600); color: white; padding: 0 22px; font-size: .8rem; font-weight: 900; letter-spacing: .04em; }
.search-form button svg { display:none; }
.search-modal .search-form__row { align-items:center; gap:7px; margin-inline:auto; max-width:650px; width:90%; }
.search-modal .search-form input { background:#f8fafb; border:1px solid #dce6ea; border-radius:999px; font-size:.76rem; height:38px; line-height:18px; padding:9px 15px; }
.search-modal .search-form input:focus { border-color:#dce6ea; box-shadow:none; outline:0; }
.search-modal .search-form input:focus::placeholder { color:transparent; opacity:0; }
.search-modal .search-form button { align-items:center; border-radius:50%; display:flex; flex:0 0 38px; height:38px; justify-content:center; min-height:38px; padding:0; width:38px; }
.search-modal .search-form button span { clip:rect(0 0 0 0); clip-path:inset(50%); height:1px; overflow:hidden; position:absolute; white-space:nowrap; width:1px; }
.search-modal .search-form button svg { display:block; fill:none; height:17px; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.9; width:17px; }
.search-form p { color: var(--muted); font-size: .85rem; margin: 14px 0 0; }

.hero { padding-top: 34px; padding-bottom: 28px; }
.section-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--blue-700); font-size: .75rem; font-weight: 900; letter-spacing: .14em; }
.section-kicker span { width: 26px; height: 3px; background: var(--blue-600); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(300px, .82fr); gap: 16px; }
.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.card-overlay { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--blue-900); }
.media-link { display: block; position: relative; height: 100%; }
.card-overlay img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.card-overlay:hover img { transform: scale(1.035); }
.overlay-gradient { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,19,36,0) 27%, rgba(2,19,36,.88) 100%); }
.lead-story { min-height: 540px; }
.lead-story__content { position: absolute; inset: auto 0 0; z-index: 2; padding: 34px; color: white; }
.lead-story h2 { max-width: 850px; margin: 12px 0 10px; font-size: clamp(2rem, 3.25vw, 3.25rem); line-height: 1.02; letter-spacing: -.04em; }
.lead-story p { max-width: 760px; margin: 0 0 12px; color: #e1ebf5; font-size: 1rem; }
.lead-story time { color: #bbcede; font-size: .78rem; font-weight: 700; }
.side-story { min-height: 262px; }
.side-story__content { position: absolute; inset: auto 0 0; z-index: 2; padding: 22px; color: white; }
.side-story h2 { margin: 10px 0 0; font-size: 1.45rem; line-height: 1.1; letter-spacing: -.02em; }
.tag { display: inline-flex; align-items: center; width: fit-content; color: var(--blue-700); font-size: .67rem; font-weight: 900; letter-spacing: .09em; }
.tag::before { content: ""; width: 14px; height: 3px; margin-right: 7px; background: currentColor; }
.tag:hover, .eyebrow:hover { text-decoration: underline; }
.tag--light, .tag--inverse { color: #82d0ff; }

.latest-bar { background: var(--blue-100); border-block: 1px solid #cce3fb; }
.latest-bar__inner { display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding-block: 18px; }
.latest-heading { border-right: 1px solid #bad6f2; display: flex; flex-direction: column; justify-content: center; }
.latest-heading span { color: var(--blue-700); font-weight: 900; font-size: .75rem; letter-spacing: .15em; }
.latest-heading strong { margin-top: 3px; color: var(--blue-950); }
.latest-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.latest-list a { display: grid; gap: 4px; font-size: .86rem; font-weight: 750; line-height: 1.28; }
.latest-list a:hover span { color: var(--blue-600); }
.latest-list time { color: var(--blue-600); font-size: .72rem; font-weight: 900; }

.ad-block { min-height: 112px; margin-block: 34px; background: #f4f5f6; border: 1px dashed #cbd2da; display: grid; place-items: center; align-content: center; color: #9ba5af; }
.ad-block span { font-size: .62rem; letter-spacing: .16em; }
.ad-block strong { font-size: .85rem; margin-top: 3px; }
.content-section { padding-block: 34px 56px; }
.section-header { display: flex; justify-content: space-between; align-items: end; margin-bottom: 24px; border-bottom: 1px solid var(--line); padding-bottom: 13px; }
.section-header h2 { margin: 2px 0 0; color: var(--blue-950); font-size: clamp(2rem, 3vw, 2.7rem); line-height: 1; letter-spacing: -.045em; }
.section-header > a { color: var(--blue-700); font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.section-header > a span { margin-left: 5px; font-size: 1.2rem; }
.eyebrow { color: var(--blue-600); font-size: .66rem; font-weight: 900; letter-spacing: .16em; }
.news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 38px; }
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.news-card { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.news-card--large { grid-row: span 2; }
.news-card img { border-radius: 10px; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 15px; }
.news-card--large img { aspect-ratio: 4/3; }
.news-card h3 { margin: 8px 0 9px; font-size: 1.22rem; line-height: 1.14; letter-spacing: -.02em; }
.news-card--large h3 { font-size: 1.85rem; }
.news-card h3 a:hover, .agro-list h3 a:hover, .compact-card h3:hover { color: var(--blue-600); }
.news-card p { margin: 0 0 12px; color: var(--muted); }
.news-card time, .feature-card time, .agro-list time, .compact-card time { color: var(--muted); font-size: .73rem; font-weight: 650; }
.most-read { align-self: start; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.most-read__header { display: flex; align-items: center; gap: 10px; padding: 17px 20px; background: var(--blue-950); color: white; }
.most-read__header h2 { margin: 0; font-size: 1.22rem; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 6px rgba(95,195,255,.13); }
.most-read ol { list-style: none; padding: 0 20px; margin: 0; counter-reset: rank; }
.most-read li { border-bottom: 1px solid var(--line); }
.most-read li:last-child { border: 0; }
.most-read li a { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; padding: 17px 0; }
.most-read li span { color: #9dcdf8; font-size: 1.7rem; font-weight: 950; letter-spacing: -.06em; }
.most-read li strong { font-size: .92rem; line-height: 1.26; }
.most-read li a:hover strong { color: var(--blue-600); }

.blue-section, .video-section { background: var(--blue-950); color: white; padding-block: 58px; }
.section-header--dark { border-color: rgba(255,255,255,.14); }
.section-header--dark h2 { color: white; }
.section-header--dark > a, .section-header--dark .eyebrow { color: #78caff; }
.feature-grid { display: grid; grid-template-columns: 1.6fr .7fr .7fr; gap: 18px; }
.feature-card { min-height: 250px; padding: 25px; background: var(--blue-900); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; display: flex; flex-direction: column; justify-content: flex-end; }
.feature-card--wide { min-height: 410px; padding: 0; overflow: hidden; display: grid; grid-template-rows: 1fr auto; }
.feature-card--wide img { height: 260px; object-fit: cover; }
.feature-card--wide > div { padding: 24px; }
.feature-card h3 { margin: 10px 0; font-size: 1.5rem; line-height: 1.12; letter-spacing: -.025em; }
.feature-card--wide h3 { font-size: 2rem; }
.feature-card p { color: #bfcedc; margin: 0; }
.feature-card time { color: #91a9bd; }
.feature-card:hover { border-color: rgba(120,202,255,.55); }

.horizontal-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.compact-card { border: 1px solid var(--line); border-radius: 11px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.compact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.compact-card > a { display: grid; grid-template-columns: 42% 1fr; height: 100%; }
.compact-card img { height: 100%; min-height: 190px; object-fit: cover; }
.compact-card div { padding: 18px; display: flex; flex-direction: column; }
.compact-card h3 { margin: 9px 0 14px; font-size: 1.08rem; line-height: 1.2; }
.compact-card time { margin-top: auto; }

.agro-grid { display: grid; grid-template-columns: 1.5fr .8fr; gap: 28px; }
.agro-lead { min-height: 460px; }
.agro-lead__content { position: absolute; inset: auto 0 0; z-index: 2; color: white; padding: 28px; }
.agro-lead h3 { margin: 10px 0; max-width: 720px; font-size: 2.1rem; line-height: 1.05; letter-spacing: -.035em; }
.agro-lead p { color: #d3e0eb; margin: 0; }
.agro-list { display: grid; }
.agro-list article { display: flex; flex-direction: column; justify-content: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.agro-list article:first-child { padding-top: 0; }
.agro-list h3 { margin: 9px 0 12px; font-size: 1.35rem; line-height: 1.15; }

.video-section { background: linear-gradient(135deg, var(--blue-950), #062e55); }
.video-grid { display: grid; grid-template-columns: 1.45fr .75fr .75fr; gap: 20px; }
.video-card a { display: block; }
.video-thumb { position: relative; border-radius: 12px; overflow: hidden; margin-bottom: 14px; }
.video-thumb img { aspect-ratio: 16/9; object-fit: cover; transition: .4s; }
.video-card:hover img { transform: scale(1.035); }
.play-button { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; padding-left: 4px; color: var(--blue-900); background: white; box-shadow: 0 10px 35px rgba(0,0,0,.25); }
.play-button--small { width: 48px; height: 48px; font-size: .8rem; }
.duration { position: absolute; right: 10px; bottom: 10px; background: rgba(3,18,34,.86); padding: 4px 7px; border-radius: 4px; font-size: .68rem; font-weight: 800; }
.video-card h3 { margin: 9px 0 0; font-size: 1.18rem; line-height: 1.18; }
.video-card--main h3 { font-size: 1.75rem; }

.newsletter { background: var(--blue-100); border-top: 1px solid #cfe3f8; padding-block: 38px; }
.newsletter__inner { display: grid; grid-template-columns: auto 1fr minmax(370px, .9fr); gap: 22px; align-items: center; }
.newsletter__icon { width: 66px; height: 66px; border-radius: 16px; background: var(--blue-700); color: white; display: grid; place-items: center; font-size: 1.7rem; }
.newsletter h2 { margin: 4px 0; color: var(--blue-950); font-size: 1.7rem; letter-spacing: -.025em; }
.newsletter p { margin: 0; color: var(--muted); }
.newsletter__form { display: flex; gap: 8px; }
.newsletter__form input { flex: 1; min-width: 0; border: 1px solid #bcd5ee; border-radius: 8px; padding: 14px 15px; outline: none; }
.newsletter__form input:focus { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(23,134,237,.15); }

.site-footer { background: #031426; color: #b9cadb; padding-top: 52px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr 1fr; gap: 50px; padding-bottom: 45px; }
.brand--footer { grid-column: auto; justify-content: flex-start; }
.brand--footer .brand__text strong { color: white; }
.brand--footer .brand__text small { color: #6fc8ff; }
.footer-brand p { max-width: 340px; }
.footer-social { display: flex; gap: 13px; flex-wrap: wrap; font-size: .82rem; color: white; font-weight: 800; }
.site-footer h3 { margin: 4px 0 16px; color: white; font-size: .95rem; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 9px; }
.footer-grid a:hover { color: white; }
.footer-contact p { margin: 0; }
.whatsapp-button { margin-top: 10px; width: fit-content; background: var(--blue-600); color: white; padding: 10px 14px; border-radius: 7px; font-weight: 850; font-size: .8rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: .72rem; }

@media (max-width: 1050px) {
  .desktop-nav__inner { justify-content: flex-start; }
  .hero-grid { grid-template-columns: 1.35fr .8fr; }
  .lead-story { min-height: 485px; }
  .latest-list { grid-template-columns: repeat(2, 1fr); }
  .news-layout { grid-template-columns: 1fr; }
  .most-read { display: grid; grid-template-columns: 180px 1fr; }
  .most-read__header { align-items: flex-start; }
  .most-read ol { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 22px; }
  .feature-grid { grid-template-columns: 1.3fr 1fr; }
  .feature-card--wide { grid-row: span 2; }
  .horizontal-cards { grid-template-columns: 1fr; }
  .compact-card > a { grid-template-columns: 260px 1fr; }
  .compact-card img { min-height: 160px; }
  .video-grid { grid-template-columns: 1.25fr 1fr; }
  .video-card--main { grid-row: span 2; }
  .newsletter__inner { grid-template-columns: auto 1fr; }
  .newsletter__form { grid-column: 2; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-contact { grid-column: 2 / -1; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .top-strip__inner { grid-template-columns: auto 1fr; gap: 10px; }
  .top-strip__date { display: none; }
  .header-main { height: 75px; }
  .brand img { width: 43px; height: 43px; }
  .brand__text strong { font-size: 1.27rem; }
  .brand__text small { font-size: .6rem; margin-top: 5px; }
  .live-button { display: none; }
  .icon-button { width: 40px; height: 40px; }
  .desktop-nav { display: none; }
  .hero { padding-top: 20px; }
  .hero-grid { display: block; }
  .lead-story { min-height: 445px; }
  .lead-story__content { padding: 23px; }
  .lead-story h2 { font-size: 2.02rem; }
  .lead-story p { font-size: .9rem; }
  .hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 12px; margin-top: 12px; }
  .side-story { min-height: 230px; }
  .side-story__content { padding: 16px; }
  .side-story h2 { font-size: 1.05rem; }
  .latest-bar__inner { display: block; padding-block: 16px; }
  .latest-heading { border: 0; padding-bottom: 12px; }
  .latest-list { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .latest-list a { flex: 0 0 78%; min-height: 88px; padding: 14px; background: white; border: 1px solid #cadef1; border-radius: 9px; scroll-snap-align: start; }
  .ad-block { margin-block: 24px; }
  .content-section { padding-block: 25px 42px; }
  .section-header h2 { font-size: 2rem; }
  .section-header > a { font-size: .63rem; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card--large { grid-row: auto; }
  .news-card--large img { aspect-ratio: 16/9; }
  .news-card--large h3 { font-size: 1.5rem; }
  .most-read { display: block; }
  .most-read ol { display: block; }
  .blue-section, .video-section { padding-block: 42px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card--wide { grid-row: auto; min-height: auto; }
  .feature-card--wide img { height: auto; aspect-ratio: 16/9; }
  .feature-card { min-height: 190px; }
  .feature-card--wide h3 { font-size: 1.55rem; }
  .compact-card > a { grid-template-columns: 42% 1fr; }
  .compact-card img { min-height: 180px; }
  .compact-card h3 { font-size: .98rem; }
  .agro-grid { grid-template-columns: 1fr; }
  .agro-lead { min-height: 430px; }
  .agro-lead h3 { font-size: 1.7rem; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .video-card--main { grid-column: 1 / -1; grid-row: auto; }
  .video-card--main h3 { font-size: 1.4rem; }
  .newsletter__inner { grid-template-columns: auto 1fr; gap: 15px; }
  .newsletter__icon { width: 52px; height: 52px; border-radius: 12px; }
  .newsletter h2 { font-size: 1.35rem; }
  .newsletter__form { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 18px; }
}

/* Ajustes finais: Coletivo Play e publicidade superior da matéria */
.home-video-strip .home-video-strip__panel { border-color: #efd6da; background: #fff3f5; }
.article-ad-slot--top { width: min(calc(100% - 48px), var(--container)); }

@media (max-width: 480px) {
  .brand { gap: 7px; }
  .brand img { width: 39px; height: 39px; }
  .brand__text strong { font-size: 1.12rem; }
  .hero-side { grid-template-columns: 1fr; }
  .side-story { min-height: 220px; }
  .search-form { padding: 50px 20px 25px; }
  .search-form__row { display: grid; }
  .search-form button { min-height: 46px; }
  .compact-card > a { grid-template-columns: 1fr; }
  .compact-card img { min-height: 0; aspect-ratio: 16/9; }
  .video-grid { grid-template-columns: 1fr; }
  .video-card--main { grid-column: auto; }
  .newsletter__inner { display: block; }
  .newsletter__icon { margin-bottom: 14px; }
  .newsletter__form { display: grid; margin-top: 18px; }
  .newsletter__form button { min-height: 48px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Arquivos e editorias — etapa 3 */
.archive-page { padding-bottom: 68px; }
.archive-hero-header { padding: 48px 0 34px; background: linear-gradient(180deg, #f3f8fc 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.archive-hero-header h1 { max-width: 900px; margin: 5px 0 0; color: var(--blue-950); font-size: clamp(2.65rem, 5.4vw, 4.7rem); line-height: .98; letter-spacing: -.05em; text-wrap: balance; }
.archive-hero-header .archive-description { max-width: 760px; margin-top: 16px; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.archive-hero-header .archive-description p { margin: 0; }

.archive-feature { padding-top: 38px; }
.archive-feature__card { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .75fr); min-height: 440px; overflow: hidden; border-radius: 9px; background: var(--blue-950); color: white; }
.archive-feature__media { display: block; min-width: 0; overflow: hidden; }
.archive-feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.archive-feature__card:hover .archive-feature__media img { transform: scale(1.02); }
.archive-feature__content { display: flex; flex-direction: column; justify-content: center; padding: 38px; }
.archive-feature__content .tag { color: #79caff; }
.archive-feature__content h2 { margin: 13px 0 15px; font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.archive-feature__excerpt { color: #cbd8e5; font-size: .96rem; line-height: 1.55; }
.archive-feature__excerpt p { margin: 0; }

.archive-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 20px; color: var(--muted); font-size: .72rem; font-weight: 650; }
.archive-card__meta a { font-weight: 800; }
.archive-feature__content .archive-card__meta { color: #aebfd0; }

.archive-results { padding-top: 22px; }
.archive-results__header { margin-bottom: 8px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.archive-results__header h2 { margin: 4px 0 0; color: var(--blue-950); font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1; letter-spacing: -.04em; }
.archive-list { display: grid; }
.archive-card { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.archive-card__media { display: block; overflow: hidden; border-radius: 7px; aspect-ratio: 16 / 10; background: var(--soft); }
.archive-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.archive-card:hover .archive-card__media img { transform: scale(1.025); }
.archive-card__body { align-self: center; min-width: 0; }
.archive-card h3 { max-width: 780px; margin: 8px 0 9px; color: var(--blue-950); font-size: 1.55rem; line-height: 1.12; letter-spacing: -.028em; text-wrap: balance; }
.archive-card h3 a:hover { color: var(--blue-600); }
.archive-card__excerpt { max-width: 760px; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.archive-card__excerpt p { margin: 0; }
.archive-card .archive-card__meta { margin-top: 13px; }

.archive-pagination { margin-top: 34px; margin-bottom: 0; }
.archive-pagination .nav-links { gap: 7px; }
.archive-pagination .page-numbers { display: inline-grid; min-width: 40px; min-height: 40px; place-items: center; padding: 8px 12px; border: 0; border-radius: 5px; background: var(--soft); color: var(--blue-900); font-size: .8rem; font-weight: 800; }
.archive-pagination .page-numbers.current { background: var(--blue-700); color: white; }
.archive-pagination a.page-numbers:hover { background: #dcebf7; }

.archive-empty { max-width: 760px; margin-top: 54px; padding: 54px; border-radius: 8px; background: var(--soft); text-align: center; }
.archive-empty h2 { margin: 7px 0 10px; color: var(--blue-950); font-size: 2rem; letter-spacing: -.035em; }
.archive-empty p { color: var(--muted); }
.archive-empty > a { display: inline-flex; margin-top: 12px; padding: 11px 16px; border-radius: 5px; background: var(--blue-700); color: white; font-size: .8rem; font-weight: 800; }

@media (max-width: 900px) {
  .archive-feature__card { grid-template-columns: 1.25fr .9fr; min-height: 390px; }
  .archive-feature__content { padding: 28px; }
  .archive-feature__content h2 { font-size: 2rem; }
  .archive-card { grid-template-columns: 260px minmax(0, 1fr); gap: 22px; }
}

@media (max-width: 760px) {
  .archive-page { padding-bottom: 48px; }
  .archive-hero-header { padding: 34px 0 26px; }
  .archive-hero-header h1 { font-size: clamp(2.35rem, 12vw, 3.5rem); }
  .archive-hero-header .archive-description { font-size: .96rem; }
  .archive-feature { padding-top: 24px; }
  .archive-feature__card { grid-template-columns: 1fr; min-height: 0; }
  .archive-feature__media { aspect-ratio: 16 / 10; }
  .archive-feature__content { padding: 24px; }
  .archive-feature__content h2 { font-size: 1.85rem; }
  .archive-results { padding-top: 14px; }
  .archive-card { grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 20px 0; }
  .archive-card__media { aspect-ratio: 4 / 3; }
  .archive-card h3 { font-size: 1.18rem; }
  .archive-card__excerpt { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: .85rem; }
  .archive-card__meta { margin-top: 10px; }
}

@media (max-width: 520px) {
  .archive-feature__content h2 { font-size: 1.7rem; }
  .archive-card { grid-template-columns: 1fr; gap: 13px; padding: 24px 0; }
  .archive-card__media { aspect-ratio: 16 / 9; }
  .archive-card h3 { font-size: 1.3rem; }
  .archive-card__excerpt { -webkit-line-clamp: 3; }
  .archive-card__meta { justify-content: space-between; }
  .archive-empty { margin-top: 34px; padding: 38px 20px; }
  .archive-empty h2 { font-size: 1.65rem; }
}

/* Página da matéria — etapa 2 */
.article-page { padding-bottom: 72px; }
.article-header--modern { max-width: 1020px; padding-top: 52px; padding-bottom: 30px; }
.article-header--modern .article-category { display: inline-flex; margin-bottom: 12px; }
.article-header--modern h1 { max-width: 1000px; margin: 0; font-size: clamp(2.8rem, 5.2vw, 4.65rem); line-height: .99; letter-spacing: -.052em; text-wrap: balance; overflow-wrap: anywhere; }
.article-header--modern .article-subtitle { max-width: 880px; margin: 20px 0 0; color: #526374; font-size: clamp(1.08rem, 1.7vw, 1.32rem); line-height: 1.5; }
.article-byline { display: flex; justify-content: space-between; align-items: center; gap: 24px; max-width: 880px; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); }
.article-byline__author { display: flex; align-items: center; gap: 11px; color: var(--muted); font-size: .82rem; }
.article-byline__author img { width: 42px; height: 42px; border-radius: 50%; }
.article-byline__author a { color: var(--blue-900); font-weight: 850; }
.article-byline__dates { display: grid; gap: 4px; color: var(--muted); font-size: .76rem; text-align: right; }
.article-updated { color: var(--blue-700); font-weight: 750; }

.article-shell { width: min(calc(100% - 48px), 1120px); }
.article-featured { margin: 0; }
.article-featured img { width: 100%; max-height: 650px; border-radius: 9px; object-fit: cover; aspect-ratio: 16 / 9; }
.image-caption { display: flex; justify-content: space-between; gap: 22px; padding: 10px 2px 0; color: var(--muted); font-size: .72rem; line-height: 1.45; }
.image-credit { flex: none; font-weight: 800; text-align: right; }

.article-layout--modern { grid-template-columns: minmax(0, 760px) 280px; gap: 64px; max-width: 1060px; margin: 34px auto 0; padding-bottom: 0; }
.article-layout--no-sidebar { display: block; max-width: 760px; }
.article-main { min-width: 0; }
.article-share { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.article-share > span { color: var(--blue-950); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.article-share .share-links { margin: 0; }
.article-share .share-links a, .article-share .share-links button { min-height: 36px; padding: 8px 12px; border: 0; border-radius: 4px; background: var(--soft); color: var(--blue-900); font-size: .72rem; font-weight: 800; transition: background .2s, color .2s; }
.article-share .share-links a:hover, .article-share .share-links button:hover { background: var(--blue-700); color: white; }

.article-content { color: #202832; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.1rem, 1.5vw, 1.2rem); line-height: 1.82; }
.article-content > * { max-width: 720px; }
.article-content > p:first-of-type { margin-top: 0; }
.article-content h2, .article-content h3, .article-content h4 { color: var(--blue-950); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.18; letter-spacing: -.03em; }
.article-content h2 { margin: 2.1em 0 .65em; font-size: 1.8rem; }
.article-content h3 { margin: 1.8em 0 .6em; font-size: 1.45rem; }
.article-content blockquote { margin: 1.8em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--blue-600); color: var(--blue-900); font-size: 1.3rem; line-height: 1.55; }
.article-content figure, .article-content img, .article-content iframe { max-width: 100%; }
.article-content iframe { width: 100%; }
.article-content ul, .article-content ol { padding-left: 1.3em; }

.article-main > .ad-block { width: 100%; margin: 42px 0; }
.article-tags { margin: 32px 0; padding: 22px 0; border-block: 1px solid var(--line); }
.article-tags h2 { margin: 0 0 12px; color: var(--blue-950); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.article-tags > div { display: flex; flex-wrap: wrap; gap: 8px; }
.article-tags a { padding: 7px 11px; border-radius: 4px; background: var(--soft); color: var(--blue-800); font-size: .75rem; font-weight: 750; }
.article-tags a:hover { background: var(--blue-100); }

.article-author { margin: 34px 0; padding: 24px; border-radius: 7px; }
.article-author h2 { margin: 4px 0 7px; color: var(--blue-950); font-size: 1.35rem; }
.article-author p { margin: 0 0 8px; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.article-author > div > a { color: var(--blue-700); font-size: .78rem; font-weight: 850; }
.article-category-link { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 32px 0 46px; padding: 20px 22px; border-radius: 6px; background: var(--blue-950); color: white; }
.article-category-link > span { color: #afc3d7; font-size: .72rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.article-category-link strong { font-size: 1rem; }
.article-category-link:hover strong { text-decoration: underline; text-underline-offset: 3px; }

.related-news { margin-top: 0; padding-top: 36px; border-top: 1px solid var(--line); }
.related-news__header { margin-bottom: 20px; }
.related-news__header h2 { margin: 4px 0 0; color: var(--blue-950); font-size: 2rem; letter-spacing: -.04em; }
.related-news .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.related-news .news-card { min-width: 0; }
.related-news .news-card img { margin-bottom: 12px; }
.related-news .news-card h3 { font-size: 1rem; }
.related-news .news-card p { display: none; }

.article-sidebar { top: 24px; }
.article-sidebar .widget { margin-bottom: 24px; padding: 20px; border-radius: 6px; background: var(--soft); }
.article-sidebar .widget h2 { margin: 0 0 14px; color: var(--blue-950); font-size: 1.1rem; }

@media (max-width: 900px) {
  .article-layout--modern { grid-template-columns: 1fr; max-width: 760px; }
  .article-sidebar { position: static; }
}

@media (max-width: 760px) {
  .article-page { padding-bottom: 48px; }
  .article-header--modern { padding-top: 34px; padding-bottom: 24px; }
  .article-header--modern h1 { font-size: clamp(2.25rem, 10.5vw, 3.45rem); line-height: 1.02; }
  .article-header--modern .article-subtitle { margin-top: 16px; font-size: 1.03rem; }
  .article-byline { align-items: flex-start; }
  .article-byline__dates { text-align: right; }
  .article-shell { width: min(calc(100% - 28px), 1120px); }
  .article-featured img { max-height: none; }
  .article-layout--modern { margin-top: 28px; }
  .article-share { align-items: flex-start; flex-direction: column; gap: 10px; }
  .article-content { font-size: 1.08rem; line-height: 1.78; }
  .related-news .news-grid { grid-template-columns: 1fr; gap: 26px; }
  .related-news .news-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; }
  .related-news .news-card > a { align-self: start; }
  .related-news .news-card img { margin: 0; aspect-ratio: 4 / 3; }
  .image-caption { align-items: flex-start; flex-direction: column; gap: 4px; }
  .image-credit { text-align: left; }
}

@media (max-width: 480px) {
  .article-header--modern h1 { font-size: 2.28rem; overflow-wrap: break-word; }
  .article-byline { align-items: flex-start; flex-direction: column; gap: 13px; }
  .article-byline__dates { text-align: left; }
  .article-share .share-links { width: 100%; }
  .article-share .share-links a, .article-share .share-links button { flex: 1 1 auto; text-align: center; }
  .article-content { overflow-wrap: anywhere; }
  .article-author { grid-template-columns: 58px 1fr; gap: 14px; padding: 20px; }
  .article-author > img { width: 58px; height: 58px; }
  .article-category-link { align-items: flex-start; flex-direction: column; }
  .related-news .news-card { grid-template-columns: 120px minmax(0, 1fr); }
  .related-news .news-card h3 { font-size: .94rem; }
}

/* Organização editorial da home baseada na referência visual */
.home-editorial { padding: 54px 0 64px; }
.home-editorial + .home-editorial { border-top: 1px solid var(--line); }
.home-editorial .section-header { margin-bottom: 24px; }
.home-editorial .section-header h2 { font-size: clamp(2rem, 3.2vw, 2.75rem); }
.editorial-feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 34px; align-items: start; }
.editorial-stories { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 24px; }
.editorial-lead__media, .editorial-stack-card > a { display: block; overflow: hidden; border-radius: 7px; background: var(--soft); }
.editorial-lead__media { aspect-ratio: 4 / 3; }
.editorial-lead__media img, .editorial-stack-card > a img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.editorial-lead:hover img, .editorial-stack-card:hover img { transform: scale(1.025); }
.editorial-lead > div { padding-top: 15px; }
.editorial-lead h3 { margin: 9px 0 10px; color: var(--blue-950); font-size: 1.65rem; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.editorial-lead p { margin: 0 0 13px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.editorial-lead time, .editorial-stack-card time { color: var(--muted); font-size: .7rem; font-weight: 700; }
.editorial-stack { display: grid; gap: 24px; }
.editorial-stack-card { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.editorial-stack-card > a { aspect-ratio: 16 / 8.4; margin-bottom: 13px; }
.editorial-stack-card h3 { margin: 8px 0 11px; color: var(--blue-950); font-size: 1.15rem; line-height: 1.15; letter-spacing: -.025em; }
.home-most-read { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; }
.home-most-read > h3 { margin: 0; padding: 16px 18px; background: var(--blue-950); color: white; font-size: 1.2rem; }
.home-most-read > h3::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 5px rgba(95,195,255,.14); }
.home-most-read ol { padding: 5px 18px; margin: 0; list-style: none; }
.home-most-read li { display: grid; grid-template-columns: 40px 1fr; gap: 9px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.home-most-read li:last-child { border-bottom: 0; }
.home-most-read li > span { color: #9dcdf8; font-size: 1.4rem; font-weight: 950; letter-spacing: -.05em; }
.home-most-read li a { font-size: .78rem; font-weight: 800; line-height: 1.28; }
.home-most-read li a:hover { color: var(--blue-600); }

.content-section--dark { padding: 62px 0 68px; border-top: 0 !important; background: var(--blue-950); color: white; }
.content-section--dark .section-header h2 { color: white; }
.dark-editorial-grid { display: grid; grid-template-columns: 1.7fr .75fr .75fr; gap: 18px; }
.dark-editorial-card { display: flex; min-height: 360px; flex-direction: column; overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 7px; background: var(--blue-900); }
.dark-editorial-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.dark-editorial-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.dark-editorial-card:hover img { transform: scale(1.025); }
.dark-editorial-card > div { display: flex; flex: 1; flex-direction: column; justify-content: flex-end; padding: 22px; }
.dark-editorial-card h3 { margin: 9px 0 13px; font-size: 1.35rem; line-height: 1.1; letter-spacing: -.025em; }
.dark-editorial-card:first-child h3 { font-size: 1.85rem; }
.dark-editorial-card time { color: #9eb2c5; font-size: .7rem; font-weight: 700; }

.editorial-split { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .8fr); gap: 30px; }
.editorial-split__lead { min-height: 440px; }
.editorial-split__lead > div:last-child { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 28px; color: white; }
.editorial-split__lead h3 { max-width: 700px; margin: 10px 0; font-size: 2rem; line-height: 1.06; letter-spacing: -.035em; }
.editorial-split__lead p { max-width: 650px; margin: 0; color: #d6e2ec; }
.editorial-split__list { display: grid; }
.editorial-split__list article { display: flex; flex-direction: column; justify-content: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.editorial-split__list article:first-child { padding-top: 0; }
.editorial-split__list h3 { margin: 9px 0 13px; color: var(--blue-950); font-size: 1.28rem; line-height: 1.15; }
.editorial-split__list time { color: var(--muted); font-size: .7rem; font-weight: 700; }

@media (max-width: 1000px) {
  .editorial-feature-grid { grid-template-columns: 1fr; }
  .home-most-read ol { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .home-most-read li { grid-template-columns: 34px 1fr; border: 0; }
  .dark-editorial-grid { grid-template-columns: 1.35fr 1fr 1fr; }
}

@media (max-width: 760px) {
  .home-editorial { padding: 40px 0 48px; }
  .editorial-stories { grid-template-columns: 1fr; }
  .editorial-lead__media { aspect-ratio: 16 / 10; }
  .editorial-stack { grid-template-columns: 1fr 1fr; }
  .home-most-read ol { grid-template-columns: 1fr; gap: 0; }
  .home-most-read li { grid-template-columns: 40px 1fr; border-bottom: 1px solid var(--line); }
  .dark-editorial-grid { grid-template-columns: 1fr; }
  .dark-editorial-card { min-height: 0; }
  .dark-editorial-card:first-child h3 { font-size: 1.55rem; }
  .editorial-split { grid-template-columns: 1fr; }
  .editorial-split__lead { min-height: 390px; }
}

@media (max-width: 480px) {
  .home-editorial .section-header h2 { font-size: 1.85rem; }
  .editorial-lead h3 { font-size: 1.45rem; }
  .editorial-stack { grid-template-columns: 1fr; }
  .editorial-stack-card { display: grid; grid-template-columns: 125px minmax(0, 1fr); gap: 14px; }
  .editorial-stack-card > a { aspect-ratio: 4 / 3; margin: 0; }
  .editorial-stack-card h3 { font-size: 1rem; }
  .editorial-split__lead h3 { font-size: 1.6rem; }
}

/* Página interna baseada na referência fornecida */
.article-page--reference { padding: 0 0 68px; background: #f5f7fa; }
.article-breadcrumb { display: flex; align-items: center; gap: 9px; min-height: 46px; overflow: hidden; color: var(--muted); font-size: .72rem; white-space: nowrap; }
.article-breadcrumb a { color: var(--blue-700); font-weight: 750; }
.article-breadcrumb span[aria-current="page"] { overflow: hidden; text-overflow: ellipsis; }
.article-reference-layout { display: grid; grid-template-columns: minmax(0, 840px) 300px; gap: 22px; align-items: start; }
.article-reference-card { overflow: hidden; border: 1px solid #e5eaf0; border-radius: 7px; background: white; box-shadow: 0 5px 22px rgba(7,26,51,.035); }
.article-header--reference { padding: 34px 34px 22px; }
.article-header--reference h1 { max-width: 780px; margin: 8px 0 0; color: var(--blue-950); font-size: clamp(2.7rem, 4.6vw, 4.25rem); line-height: 1.01; letter-spacing: -.05em; text-wrap: balance; overflow-wrap: anywhere; }
.article-header--reference .article-subtitle { max-width: 720px; margin: 15px 0 0; font-size: 1.12rem; line-height: 1.5; }
.article-reference-meta { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 22px; }
.article-header--reference .article-byline { display: flex; justify-content: flex-start; gap: 14px; margin: 0; padding: 0; border: 0; }
.article-header--reference .article-byline__dates { text-align: left; }
.article-header--reference .article-share { flex: none; margin: 0; padding: 0; border: 0; }
.article-header--reference .article-share > span { font-size: .66rem; }
.article-header--reference .share-links { gap: 6px; }
.article-header--reference .share-links a, .article-header--reference .share-links button { min-height: 32px; padding: 7px 9px; font-size: .66rem; }
.article-reference-card > .article-featured { margin: 0 34px; }
.article-reference-card > .article-featured img { max-height: 510px; border-radius: 7px; }
.article-reference-body { padding: 22px 34px 38px; }
.article-reference-body .article-content { font-size: 1.08rem; line-height: 1.72; }
.article-reference-body .article-content > * { max-width: none; }
.article-reference-body > .ad-block { width: 100%; margin: 34px 0; }
.article-share-bottom { display: flex; justify-content: flex-end; margin: 12px 0 24px; }
.article-share-bottom .article-share { margin: 0; padding: 0; border: 0; }
.article-reference-body .article-category-link { margin: 24px 0 18px; padding: 15px 18px; border-radius: 5px; }
.related-news--reference { padding-top: 20px; }
.related-news--reference .related-news__header { padding-bottom: 10px; border-bottom: 2px solid var(--blue-600); }
.related-news--reference .related-news__header h2 { font-size: 1.2rem; }
.related-news--reference .news-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.related-news--reference .news-card { overflow: hidden; padding: 0 0 12px; border: 1px solid var(--line); border-radius: 6px; }
.related-news--reference .news-card > a { display: block; }
.related-news--reference .news-card img { border-radius: 0; aspect-ratio: 16 / 10; }
.related-news--reference .news-card__body { padding: 0 11px; }
.related-news--reference .news-card h3 { font-size: .82rem; line-height: 1.2; }
.related-news--reference .news-card time { font-size: .64rem; }

.article-reference-sidebar { display: grid; gap: 14px; position: sticky; top: 18px; }
.article-side-panel, .article-reference-sidebar > .ad-block { overflow: hidden; margin: 0; border: 1px solid #e2e7ed; border-radius: 7px; background: white; box-shadow: 0 4px 18px rgba(7,26,51,.035); }
.article-side-panel { padding: 18px; }
.article-side-panel > h2 { width: fit-content; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--blue-600); color: var(--blue-700); font-size: .82rem; letter-spacing: .02em; text-transform: uppercase; }
.article-side-ranking ol, .article-side-latest ul { padding: 0; margin: 0; list-style: none; }
.article-side-ranking li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.article-side-ranking li:last-child { border-bottom: 0; }
.article-side-ranking li > span { color: var(--blue-600); font-size: 1.4rem; font-weight: 900; line-height: 1; }
.article-side-ranking li a { display: block; font-size: .78rem; font-weight: 850; line-height: 1.25; }
.article-side-ranking li time, .article-side-category time { display: block; margin-top: 4px; color: var(--muted); font-size: .62rem; }
.article-side-latest li { display: grid; grid-template-columns: 38px 1fr; gap: 8px; padding: 8px 0; }
.article-side-latest li time { color: var(--muted); font-size: .68rem; }
.article-side-latest li a { font-size: .75rem; font-weight: 700; line-height: 1.3; }
.article-side-more { display: block; margin-top: 13px; color: var(--blue-700); font-size: .7rem; font-weight: 850; text-align: center; }
.article-reference-sidebar > .ad-block { width: 100%; min-height: 220px; padding: 20px; }
.article-side-category article { display: grid; grid-template-columns: 72px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.article-side-category article > a { display: block; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3; }
.article-side-category article img { width: 100%; height: 100%; object-fit: cover; }
.article-side-category h3 { margin: 0; font-size: .72rem; line-height: 1.25; }

.site-footer--expanded { padding-top: 42px; background: linear-gradient(135deg, var(--blue-950), var(--blue-800)); }
.footer-grid--expanded { grid-template-columns: 1.15fr .9fr .9fr 1.35fr; gap: 0; padding-bottom: 38px; }
.footer-grid--expanded > div { min-width: 0; padding: 0 28px; border-left: 1px solid rgba(255,255,255,.18); }
.footer-grid--expanded > div:first-child { padding-left: 0; border-left: 0; }
.footer-grid--expanded > div:last-child { padding-right: 0; }
.footer-grid--expanded .footer-brand p { max-width: 250px; }
.footer-column ul { columns: 2; column-gap: 20px; }
.footer-newsletter h3 { margin: 4px 0 16px; color: white; font-size: .95rem; text-transform: uppercase; }
.footer-newsletter p { margin: 0 0 14px; font-size: .84rem; line-height: 1.5; }
.footer-newsletter form > div { display: flex; gap: 7px; }
.footer-newsletter input { min-width: 0; flex: 1; padding: 11px 12px; border: 0; border-radius: 4px; }
.footer-newsletter button { border: 0; border-radius: 4px; background: var(--blue-600); color: white; padding: 0 14px; font-size: .72rem; font-weight: 850; }
.footer-newsletter small { display: block; margin-top: 10px; color: #91a8bd; font-size: .62rem; line-height: 1.45; }

@media (max-width: 1000px) {
  .article-reference-layout { grid-template-columns: minmax(0, 1fr) 270px; }
  .article-header--reference h1 { font-size: clamp(2.35rem, 5vw, 3.55rem); }
  .article-reference-meta { align-items: flex-start; flex-direction: column; }
  .related-news--reference .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid--expanded { grid-template-columns: 1fr 1fr; gap: 34px 0; }
  .footer-grid--expanded > div:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 760px) {
  .article-page--reference { padding-bottom: 44px; }
  .article-breadcrumb { min-height: 40px; }
  .article-reference-layout { grid-template-columns: 1fr; }
  .article-header--reference { padding: 26px 20px 18px; }
  .article-header--reference h1 { font-size: 2.3rem; }
  .article-header--reference .article-subtitle { font-size: 1rem; }
  .article-header--reference .article-share { align-items: flex-start; }
  .article-reference-card > .article-featured { margin: 0 20px; }
  .article-reference-body { padding: 18px 20px 30px; }
  .article-reference-sidebar { position: static; }
  .article-side-ranking ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .article-reference-sidebar > .ad-block { min-height: 130px; }
  .footer-grid--expanded { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .article-header--reference h1 { font-size: 2.2rem; }
  .article-reference-meta { gap: 16px; }
  .article-header--reference .article-byline { align-items: flex-start; flex-direction: column; }
  .article-header--reference .article-share .share-links { display: grid; grid-template-columns: repeat(2, 1fr); }
  .article-share-bottom { justify-content: flex-start; }
  .related-news--reference .news-grid { grid-template-columns: 1fr 1fr; }
  .related-news--reference .news-card { display: block; }
  .related-news--reference .news-card__body { padding: 0 9px; }
  .article-side-ranking ol { grid-template-columns: 1fr; }
  .footer-grid--expanded { grid-template-columns: 1fr; }
  .footer-grid--expanded > div { padding: 24px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.15); }
  .footer-grid--expanded > div:first-child { padding-top: 0; border-top: 0; }
  .footer-column ul { columns: 2; }
}

/* Refinamento de alinhamento e espaçamento do rodapé */
.site-footer--expanded { padding-top: 50px; }
.footer-grid--expanded { grid-template-columns: 1.05fr 1.25fr 1fr 1.35fr; column-gap: clamp(32px, 4vw, 58px); row-gap: 36px; align-items: start; }
.footer-grid--expanded > div { padding: 0; border: 0; }
.footer-grid--expanded .footer-brand { padding-right: 8px; }
.footer-grid--expanded .brand--footer { margin-bottom: 20px; }
.footer-grid--expanded .brand--footer img { flex: 0 0 auto; }
.footer-grid--expanded .footer-brand p { max-width: 260px; margin: 0 0 18px; line-height: 1.6; }
.footer-grid--expanded h3 { margin: 5px 0 20px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.16); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.footer-grid--expanded .footer-column ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 18px; columns: initial; }
.footer-grid--expanded .footer-column li { margin: 0; break-inside: avoid; }
.footer-grid--expanded .footer-column a { display: inline-block; padding: 1px 0; font-size: .78rem; line-height: 1.35; }
.footer-newsletter p { max-width: 320px; margin-bottom: 16px; }
.footer-newsletter form > div { min-height: 42px; }
.footer-newsletter input { width: 100%; }
.footer-newsletter button { flex: 0 0 auto; }
.site-footer--expanded .footer-bottom { margin-top: 6px; }
.footer-grid--expanded .footer-social { gap: 9px; }
.footer-grid--expanded .footer-social > a, .footer-grid--expanded .footer-social-disabled { display: inline-grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: white; }
.footer-grid--expanded .footer-social > a:hover { border-color: white; background: rgba(255,255,255,.1); text-decoration: none; }
.footer-grid--expanded .footer-social-disabled { color: #718aa2; cursor: not-allowed; }
.footer-grid--expanded .footer-social .dashicons { width: 18px; height: 18px; font-size: 18px; }
.footer-social-x { font-size: .8rem; font-weight: 900; }
.footer-newsletter input:disabled { background: #dfe6ed; color: #697887; cursor: not-allowed; }
.footer-newsletter button:disabled { background: #59738e; cursor: not-allowed; opacity: .78; }
.footer-newsletter-status { color: #a9bfd2 !important; }
.footer-whatsapp { display: inline-flex; margin-top: 12px; padding: 9px 12px; border-radius: 4px; background: #167c51; color: white; font-size: .72rem; font-weight: 850; }
.footer-whatsapp:hover { background: #1a9160; color: white; text-decoration: none !important; }

@media (max-width: 1000px) {
  .footer-grid--expanded { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; row-gap: 42px; }
  .footer-grid--expanded > div { padding: 0; border: 0; }
}

@media (max-width: 600px) {
  .site-footer--expanded { padding-top: 38px; }
  .footer-grid--expanded { grid-template-columns: 1fr; row-gap: 0; }
  .footer-grid--expanded > div { padding: 26px 0; border-top: 1px solid rgba(255,255,255,.14); }
  .footer-grid--expanded > div:first-child { padding-top: 0; padding-bottom: 28px; border-top: 0; }
  .footer-grid--expanded h3 { margin-bottom: 16px; }
  .footer-grid--expanded .footer-column ul { gap: 8px 22px; }
  .site-footer--expanded .footer-bottom { margin-top: 0; }
}

/* Paginação unificada do portal */
.pagination { display: flex; width: 100%; justify-content: center; margin: 38px auto 55px; }
.pagination .navigation { width: 100%; }
.pagination .nav-links { display: flex; align-items: center; justify-content: center; gap: 7px; }
.pagination .page-numbers { display: inline-flex; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid #d8e2ec; border-radius: 7px; background: #fff; color: var(--blue-900); font-size: .8rem; font-weight: 800; line-height: 1; transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease; }
.pagination a.page-numbers:hover { border-color: #b8d3e9; background: #eaf4fb; color: var(--blue-700); transform: translateY(-1px); }
.pagination .page-numbers.current { border-color: var(--blue-700); background: var(--blue-700); color: #fff; box-shadow: 0 5px 14px rgba(13, 91, 154, .18); }
.pagination .page-numbers.prev, .pagination .page-numbers.next { min-width: auto; padding-inline: 16px; }
.pagination .page-numbers.dots { border-color: transparent; background: transparent; color: var(--muted); }
.archive-pagination, .category-portal .pagination, .topic-pagination { margin-top: 38px; margin-bottom: 0; }

@media (max-width: 600px) {
  .pagination .nav-links { gap: 5px; }
  .pagination .page-numbers { min-width: 38px; min-height: 38px; padding: 7px 10px; }
  .pagination .page-numbers.prev, .pagination .page-numbers.next { padding-inline: 11px; }
}

/* Portal de vídeos */
.videos-page { padding-bottom: 64px; background: #f8fafc; }
.videos-page__header { display: flex; justify-content: center; padding-top: 38px; padding-bottom: 25px; text-align: center; }
.videos-page__header h1 { display: inline-flex; align-items: center; gap: 12px; margin: 0; color: var(--blue-950); font-size: clamp(2.5rem, 5vw, 4.1rem); line-height: 1; letter-spacing: -.05em; }
.videos-page__header h1 span { position: relative; }
.videos-page__header h1 span::after { position: absolute; right: -7px; bottom: -5px; width: 33px; height: 4px; border-radius: 4px; background: #e31338; content: ""; }
.videos-page__header p { margin: 0; color: var(--muted); font-size: 1.02rem; }
.videos-page__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.videos-page__main, .videos-page__sidebar { min-width: 0; }
.videos-lead, .videos-card, .videos-featured, .videos-watched { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.videos-player__embed { position: relative; overflow: hidden; width: 100%; aspect-ratio: 16 / 9; background: #020a12; }
.videos-player__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.videos-selectable-player { position: relative; }
.videos-selectable-player > a { position: absolute; z-index: 3; inset: 0; cursor: pointer; }
.videos-selectable-player > a { display: none; }
.videos-youtube-teaser { position: relative; display: block; overflow: hidden; width: 100%; padding: 0; border: 0; aspect-ratio: 16 / 9; background: var(--blue-950); color: #fff; }
.videos-youtube-teaser img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.videos-youtube-teaser:hover img { transform: scale(1.035) translateY(-1%); }
.videos-youtube-teaser .videos-play { width: 44px; height: 44px; }
.videos-youtube-teaser.is-main-video .videos-play { width: 58px; height: 58px; }
.videos-source-badge { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 5px; background: rgba(2,16,29,.78); color: #fff; font-size: .62rem; }
.videos-source-badge .dashicons { width: 15px; height: 15px; font-size: 15px; }
.videos-source-badge .dashicons-youtube { color: #ff3451; }
.videos-source-badge img, .videos-channel-fallback { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; object-fit: cover; background: #fff; color: var(--blue-900); font-size: .65rem; font-weight: 900; }
.videos-selectable-player > a:focus-visible { outline: 3px solid var(--blue-600); outline-offset: -3px; }
.videos-player__fallback { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--blue-950); }
.videos-player__fallback img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.videos-player__fallback:hover img { transform: scale(1.025); }
.videos-player__placeholder { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 54px; background: linear-gradient(135deg, #071b30, #0a3155); color: #d9e7f3; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.videos-player__placeholder .videos-play { position: static; transform: none; }
.videos-player__placeholder > .dashicons { color: #9ab2c7; font-size: 25px; }
.videos-play { position: absolute; top: 50%; left: 50%; display: grid; width: 54px; height: 54px; place-items: center; border: 2px solid rgba(255,255,255,.9); border-radius: 50%; background: rgba(3,22,39,.66); color: #fff; transform: translate(-50%, -50%); }
.videos-play .dashicons { width: auto; height: auto; font-size: 28px; }
.videos-lead__content { padding: 24px 26px 26px; }
.videos-lead h2 { margin: 9px 0 8px; color: var(--blue-950); font-size: clamp(1.65rem, 3vw, 2.45rem); line-height: 1.06; letter-spacing: -.035em; }
.videos-lead p { max-width: 740px; margin: 0 0 14px; color: var(--muted); }
.videos-lead__channel { display: flex; flex-wrap: wrap; gap: 5px 13px; align-items: center; color: var(--muted); font-size: .78rem; }
.videos-lead__channel strong { color: var(--blue-900); }
.videos-live-label { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; background: #fff0f2; color: #bd1230; font-size: .68rem; font-weight: 900; letter-spacing: .06em; }
.videos-page__main > .ad-block { width: 100%; max-width: none; margin: 16px 0; }
.videos-page__main > .qg-managed-ad[data-ad-position="videos_after_player"] {
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

@media (min-width: 1001px) {
  /* Une as duas colunas somente na faixa publicitária abaixo do player. */
  .videos-page__main {
    overflow: visible;
  }

  .videos-page__main > .qg-managed-ad[data-ad-position="videos_after_player"] {
    position: relative;
    z-index: 4;
    width: calc(100% + 328px) !important;
    min-width: calc(100% + 328px) !important;
    max-width: none !important;
  }

  .videos-page__sidebar > .qg-managed-ad[data-ad-position="videos_sidebar_1"] {
    visibility: hidden;
  }
}
.videos-section-title { display: flex; align-items: center; margin-bottom: 15px; }
.videos-section-title h2 { margin: 0; color: var(--blue-950); font-size: 1.12rem; letter-spacing: -.02em; }
.videos-section-title h2::before { display: inline-block; width: 23px; height: 3px; margin: 0 10px 4px 0; background: var(--blue-600); content: ""; }
.videos-more { margin-top: 18px; }
.videos-more__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.videos-card__body { min-height: 150px; padding: 14px; }
.videos-card h3 { display: -webkit-box; overflow: hidden; margin: 7px 0 12px; color: var(--blue-950); font-size: .92rem; line-height: 1.2; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.videos-card .story-meta { font-size: .65rem; }
.videos-page__sidebar { position: sticky; top: 18px; display: grid; gap: 20px; }
.videos-featured, .videos-watched { padding: 18px; }
.videos-featured article { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.videos-featured article:last-child { border-bottom: 0; }
.videos-featured article .videos-player__embed, .videos-featured article .videos-player__fallback { border-radius: 5px; }
.videos-featured h3 { display: -webkit-box; overflow: hidden; margin: 5px 0 5px; color: var(--blue-950); font-size: .79rem; line-height: 1.2; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.videos-featured time, .videos-watched time { color: var(--muted); font-size: .65rem; }
.videos-page__sidebar > .ad-block { width: 100%; min-height: 250px; margin: 0; }
.videos-watched ol { margin: 0; padding: 0; list-style: none; counter-reset: watched; }
.videos-watched li { display: grid; grid-template-columns: 22px 82px minmax(0, 1fr); gap: 9px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); counter-increment: watched; }
.videos-watched li::before { color: var(--blue-600); font-size: .95rem; font-weight: 900; content: counter(watched, decimal-leading-zero); }
.videos-watched li:last-child { border-bottom: 0; }
.videos-watched__thumb .videos-player__embed, .videos-watched__thumb .videos-player__fallback { border-radius: 4px; }
.videos-watched h3 { display: -webkit-box; overflow: hidden; margin: 0 0 4px; color: var(--blue-950); font-size: .7rem; line-height: 1.2; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.videos-empty { margin-top: 15px; }
.videos-placeholder-lead .videos-lead__content { padding-block: 18px; background: #fff; }
.videos-placeholder-lead h2 { margin-top: 0; margin-bottom: 9px; font-size: 1.5rem; }
.videos-card--placeholder .videos-player__placeholder { gap: 38px; }
.videos-card--placeholder h3 { color: #60758a; }
.videos-featured__placeholder .videos-player__placeholder { gap: 0; }
.videos-watched--empty p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }

@media (max-width: 1000px) {
  .videos-page__layout { grid-template-columns: 1fr; }
  .videos-page__sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .videos-page__sidebar > .ad-block { min-height: 180px; }
}

@media (max-width: 700px) {
  .videos-page { padding-bottom: 42px; }
  .videos-page__header { padding-top: 28px; padding-bottom: 18px; }
  .videos-page__header h1 { font-size: 2.7rem; }
  .videos-page__header p { font-size: .92rem; }
  .videos-lead__content { padding: 19px; }
  .videos-lead h2 { font-size: 1.55rem; }
  .videos-youtube-teaser .videos-play { width: 36px; height: 36px; }
  .videos-youtube-teaser.is-main-video .videos-play { width: 48px; height: 48px; }
  .videos-more__grid, .videos-page__sidebar { grid-template-columns: 1fr; }
  .videos-page__sidebar > .ad-block:last-child { display: none; }
}

/* Busca editorial e acesso compacto ao vivo */
.header-video-link { gap: 6px; padding: 7px 10px; font-size: .66rem; }
.header-video-link .live-dot { width: 6px; height: 6px; flex-basis: 6px; }
.search-modal { width: min(760px, calc(100% - 28px)); max-height: min(760px, calc(100vh - 40px)); overflow-y: auto; transform: translateY(-4vh); }
.search-form { padding: 38px 34px 24px; }
.search-form label { margin-bottom: 12px; font-size: 1.35rem; }
.search-latest { padding: 0 34px 30px; border-top: 1px solid var(--line); }
.search-latest__header { padding: 20px 0 14px; }
.search-latest__header h2 { margin: 3px 0 0; color: var(--blue-950); font-size: 1.15rem; }
.search-latest__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.search-latest article { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 11px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.search-latest article > a { display: block; overflow: hidden; border-radius: 5px; aspect-ratio: 4 / 3; }
.search-latest article img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.search-latest article:hover img { transform: scale(1.04); }
.search-latest article > div > span { color: var(--blue-600); font-size: .56rem; font-weight: 900; text-transform: uppercase; }
.search-latest h3 { display: -webkit-box; overflow: hidden; margin: 3px 0; color: var(--blue-950); font-size: .76rem; line-height: 1.15; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.search-latest time { color: var(--muted); font-size: .6rem; }
.search-modal__ad-source { padding: 0 34px 4px; }
.search-modal__ad-source .ad-block { width: min(100%, 468px); height: 60px; min-height: 60px; margin: 0 auto 14px; }

@media (max-width: 600px) {
  .search-modal { transform: translateY(-2vh); }
  .search-form { padding: 42px 20px 20px; }
  .search-latest { padding: 0 20px 22px; }
  .search-modal__ad-source { padding-inline: 20px; }
  .search-latest__grid { grid-template-columns: 1fr; }
}

/* Publicidade da home — exclusiva para desktop */
.home-ad-slot { display: none; }
@media (min-width: 1024px) {
  .home-ad-slot { display: block; width: min(calc(100% - 48px), 970px); margin: 8px auto; text-align: center; }
  .home-ad-slot__label { display: block; color: var(--muted); font-size: .58rem; font-weight: 800; letter-spacing: .16em; }
  .home-ad-slot__surface { display: flex; width: 100%; height: 90px; flex-direction: column; gap: 3px; align-items: center; justify-content: center; overflow: hidden; background: #f4f6f8; color: #9aa8b5; }
  .home-ad-slot__surface > img, .home-ad-slot__surface > iframe, .home-ad-slot__surface > ins { display: block; max-width: 100%; max-height: 90px; margin-inline: auto; }
  .home-ad-slot__surface strong { font-size: .68rem; font-weight: 700; letter-spacing: .08em; }
  .home-ad-slot--sidebar { width: 100%; margin: 0; text-align: center; }
  .home-ad-slot--sidebar .home-ad-slot__surface { width: 100%; height: 250px; }
  .home-ad-slot--sidebar .home-ad-slot__surface > img, .home-ad-slot--sidebar .home-ad-slot__surface > iframe, .home-ad-slot--sidebar .home-ad-slot__surface > ins { max-height: 250px; }
  .home-ad-slot--skyscraper .home-ad-slot__surface { height: 600px; }
  .home-ad-slot--skyscraper .home-ad-slot__surface > img, .home-ad-slot--skyscraper .home-ad-slot__surface > iframe, .home-ad-slot--skyscraper .home-ad-slot__surface > ins { max-height: 600px; }
  .cover-briefs:has(+ .home-ad-slot) { padding-bottom: 0; }
  .home-ad-slot + .hero { padding-top: 4px; }
  .home-ad-slot + .home-video-strip { padding-top: 10px; }
  .home-video-strip:has(+ .home-ad-slot) { padding-bottom: 10px; }
  .home-editorial:has(+ .home-ad-slot) { padding-bottom: 14px; }
  .home-ad-slot + .home-editorial { padding-top: 7px; }
  .home-ad-slot[data-ad-position="home_between_agro_brasil"]::before { display: block; width: min(calc(100vw - 48px), var(--container)); margin: 0 50% 10px; border-top: 1px solid var(--line); transform: translateX(-50%); content: ""; }
}

/* Identidade suave do Coletivo Play na home */
.home-video-strip__panel { border-color: #efd9dd; background: #fff5f6; }

/* Publicidade e título das matérias */
.article-header--reference h1 { font-size: clamp(2.25rem, 4vw, 2.8125rem); line-height: 1.04; letter-spacing: -.04em; }
.article-ad-slot { width: min(calc(100% - 48px), 970px); margin: 20px auto; text-align: center; }
.article-ad-slot > div { display: flex; width: 100%; height: 90px; flex-direction: column; gap: 3px; align-items: center; justify-content: center; overflow: hidden; background: #f4f6f8; color: #9aa8b5; }
.article-ad-slot > div > span { display: block; color: var(--muted); font-size: .56rem; font-weight: 800; letter-spacing: .16em; }
.article-ad-slot > div > img, .article-ad-slot > div > iframe, .article-ad-slot > div > ins { display: block; max-width: 100%; max-height: 90px; margin-inline: auto; }
.article-ad-slot strong { font-size: .66rem; letter-spacing: .08em; }
.article-reference-card > .article-ad-slot--below-image { width: auto; margin: 20px 34px 4px; }
.article-ad-slot--inline { width: min(100%, 728px); margin: 28px auto; font-family: Inter, ui-sans-serif, system-ui, sans-serif; }

@media (max-width: 760px) {
  .article-header--reference h1 { font-size: 2.1rem; }
  .article-ad-slot { width: min(calc(100% - 40px), 728px); margin-block: 16px; }
  .article-reference-card > .article-ad-slot--below-image { margin-inline: 20px; }
}

@media (max-width: 420px) {
  .videos-more__grid { gap: 14px; }
  .videos-featured article { grid-template-columns: 104px minmax(0, 1fr); }
}

/* Acessos ao Coletivo Play e refinamento do menu móvel */
.menu-toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0; }
.live-dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #e31338; box-shadow: 0 0 0 0 rgba(227,19,56,.55); animation: coletivo-live-pulse 1.7s infinite; }
@keyframes coletivo-live-pulse { 70% { box-shadow: 0 0 0 7px rgba(227,19,56,0); } 100% { box-shadow: 0 0 0 0 rgba(227,19,56,0); } }
.header-video-link { border-color: #f0c6cd; background: #fff7f8; color: #b30d2c; }
.header-video-link:hover { border-color: #e98b9b; background: #fff0f2; }
.mobile-menu { overflow-y: auto; background: #fff; }
.mobile-menu__header { flex: 0 0 76px; background: linear-gradient(135deg, var(--blue-950), var(--blue-800)); }
.mobile-menu__brand { color: #fff; font-size: .92rem; font-weight: 900; letter-spacing: .08em; }
.mobile-menu__close { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #fff; font-size: 1.65rem; }
.mobile-menu__close:hover { background: rgba(255,255,255,.12); }
.mobile-menu__videos { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 12px; align-items: center; margin: 18px 20px 7px; padding: 15px 16px; border: 1px solid #f1ccd3; border-radius: 9px; background: #fff6f8; color: var(--blue-950); }
.mobile-menu__videos strong, .mobile-menu__videos small { display: block; }
.mobile-menu__videos strong { font-size: .85rem; }
.mobile-menu__videos small { margin-top: 2px; color: var(--muted); font-size: .7rem; }
.mobile-menu nav { padding: 5px 20px 18px; }
.mobile-menu nav a { display: flex; align-items: center; justify-content: space-between; padding: 12px 4px; color: var(--blue-950); font-size: .88rem; }
.mobile-menu nav a:hover { padding-left: 9px; color: var(--blue-700); }
.mobile-menu__footer { margin-top: auto; padding: 20px 24px 24px; border-top: 1px solid var(--line); background: #f5f8fb; }
.mobile-menu__footer > span { display: block; margin-bottom: 12px; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mobile-menu__social { display: flex; gap: 9px; }
.mobile-menu__social a { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #dbe5ee; border-radius: 50%; background: #fff; color: var(--blue-800); }
.mobile-menu__social a:hover { border-color: var(--blue-600); background: var(--blue-700); color: #fff; }
.mobile-menu__social b { font-size: .8rem; }

.home-video-strip { padding: 30px 0 34px; border-bottom: 1px solid var(--line); background: #f4f8fc; }
.home-video-strip__header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.home-video-strip__header h2 { margin: 3px 0 0; color: var(--blue-950); font-size: 1.65rem; line-height: 1; letter-spacing: -.035em; }
.home-video-strip__header > a { color: var(--blue-700); font-size: .72rem; font-weight: 900; }
.home-video-strip__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.home-video-strip article { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 12px; align-items: center; min-width: 0; }
.home-video-strip__thumb { position: relative; display: block; overflow: hidden; border-radius: 6px; aspect-ratio: 16 / 10; background: var(--blue-950); }
.home-video-strip__thumb > span, .home-video-strip__thumb img { display: block; width: 100%; height: 100%; }
.home-video-strip__thumb img { object-fit: cover; transition: transform .35s ease; }
.home-video-strip article:hover .home-video-strip__thumb img { transform: scale(1.045) translateY(-1%); }
.home-video-strip__thumb > i { position: absolute; top: 50%; left: 50%; display: grid; width: 35px; height: 35px; place-items: center; border: 2px solid #fff; border-radius: 50%; background: rgba(3,22,39,.68); color: #fff; font-size: 20px; transform: translate(-50%, -50%); }
.home-video-strip h3 { display: -webkit-box; overflow: hidden; margin: 6px 0 0; color: var(--blue-950); font-size: .84rem; line-height: 1.18; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }

@media (max-width: 1100px) {
  .home-video-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
}

@media (max-width: 760px) {
  .header-video-link { display: inline-flex; padding: 8px 10px; font-size: .66rem; }
  .header-actions { gap: 7px; }
  .home-video-strip { padding-block: 25px; }
  .home-video-strip__header { align-items: flex-start; }
  .home-video-strip__header h2 { font-size: 1.4rem; }
}

@media (max-width: 560px) {
  .header-main { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 8px; }
  .brand { justify-self: center; }
  .brand__text { display: none; }
  .header-video-link { padding: 8px; }
  .header-video-link .live-dot { margin-right: 1px; }
  .home-video-strip__grid { grid-template-columns: 1fr; }
  .home-video-strip article { grid-template-columns: 118px minmax(0, 1fr); }
  .home-video-strip__header > a { max-width: 100px; text-align: right; }
}

/* Coletivo Play — chamada editorial da página inicial */
.home-video-strip { padding: 24px 0 27px; background: #f8fafc; }
.home-video-strip__panel { padding: 21px 23px 23px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.home-video-strip__header { margin-bottom: 15px; }
.home-video-strip__header h2 { margin: 0; font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -.055em; }
.home-video-strip__layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 24px; align-items: stretch; }
.home-video-strip__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-video-strip article { display: block; }
.home-video-strip__thumb { aspect-ratio: 16 / 8.2; border-radius: 7px; }
.home-video-strip__thumb > i { width: 42px; height: 42px; }
.home-video-strip__thumb > b { position: absolute; right: 8px; bottom: 8px; padding: 3px 6px; border-radius: 4px; background: rgba(2,12,22,.84); color: #fff; font-size: .68rem; }
.home-video-strip article > div { padding-top: 9px; }
.home-video-strip h3 { margin-top: 7px; font-size: 1rem; line-height: 1.22; }
.home-video-strip article .story-meta { margin-top: 7px; font-size: .65rem; }
.home-video-strip__placeholder .home-video-strip__thumb > span { display: grid; place-items: center; background: var(--blue-950); color: #91abc1; }
.home-video-strip__placeholder .home-video-strip__thumb > span i { width: auto; height: auto; font-size: 32px; }
.home-video-strip__placeholder p { margin: 6px 0 0; color: var(--muted); font-size: .68rem; line-height: 1.35; }
.home-video-strip__cta { display: grid; grid-template-rows: 1fr auto; overflow: hidden; border: 1px solid #e8d5d8; border-radius: 8px; background: #fff; }
.home-video-strip__cta > div { padding: 15px 19px 17px; background: linear-gradient(135deg, #b30f28, #780919); color: #fff; }
.home-video-strip__live-status { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 9px; padding: 5px 9px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-size: .62rem; letter-spacing: .08em; }
.home-video-strip__live-status .live-dot { border: 2px solid rgba(255,255,255,.55); }
.home-video-strip__cta h3 { margin: 0 0 7px; color: #fff; font-size: 1.2rem; }
.home-video-strip__cta p { margin: 0 0 12px; color: #f5dfe3; font-size: .78rem; line-height: 1.4; }
.home-video-strip__cta > div > a { display: inline-flex; padding: 9px 13px; border-radius: 999px; background: rgba(255,255,255,.13); color: #fff; font-size: .7rem; font-weight: 900; }
.home-video-strip__cta > a { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 14px 17px; color: var(--blue-950); }
.home-video-strip__cta > a > .dashicons { color: #d31132; }
.home-video-strip__cta > a strong, .home-video-strip__cta > a small { display: block; }
.home-video-strip__cta > a strong { font-size: .85rem; }
.home-video-strip__cta > a small { margin-top: 4px; color: var(--muted); font-size: .68rem; line-height: 1.35; }
.home-video-strip__cta > a > b { color: #d31132; font-size: 1.25rem; }

@media (max-width: 1000px) {
  .home-video-strip__layout { grid-template-columns: 1fr; }
  .home-video-strip__cta { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
}

@media (max-width: 720px) {
  .home-video-strip__panel { padding: 21px; }
  .home-video-strip__grid { grid-template-columns: 1fr; }
  .home-video-strip article { display: grid; grid-template-columns: 135px minmax(0, 1fr); gap: 13px; }
  .home-video-strip article > div { padding-top: 2px; }
  .home-video-strip h3 { font-size: .92rem; }
  .home-video-strip__cta { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .home-video-strip__panel { padding: 18px; }
  .home-video-strip article { grid-template-columns: 112px minmax(0, 1fr); }
  .home-video-strip__header h2 { font-size: 2.25rem; }
}

/* Política com publicidade lateral */
.politics-ad-slot { display: flex; min-height: 100%; align-items: center; justify-content: center; flex-direction: column; border: 1px solid var(--line); border-radius: 7px; background: var(--soft); color: var(--muted); }
.politics-ad-slot span { font-size: .62rem; font-weight: 800; letter-spacing: .16em; }
.politics-ad-slot strong { margin-top: 7px; font-size: .82rem; }

@media (max-width: 900px) {
  .politics-ad-slot { min-height: 180px; }
}

@media (max-width: 600px) {
  .videos-source-badge strong { display: none; }
  .videos-source-badge { right: 7px; bottom: 7px; }
}

/* Brasil — uma manchete, dois destaques simétricos e três notas inferiores */
.content-section--dark.home-editorial { padding-top: 16px; padding-bottom: 36px; }
.content-section--dark.home-editorial .section-header { margin-bottom: 18px; }
.content-section--dark .brazil-editorial-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1.12fr); gap: 18px; }
.content-section--dark .brazil-lead { min-height: 441px; }
.content-section--dark .brazil-side-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: 240px 185px; gap: 16px; }
.content-section--dark .brazil-side-card { height: auto; min-height: 0; }
.content-section--dark .brazil-side-card:nth-child(-n+2) { grid-column: span 3; }
.content-section--dark .brazil-side-card:nth-child(n+3) { grid-column: span 2; }
.content-section--dark .brazil-side-card:nth-child(-n+2) > a { flex-basis: 125px; }
.content-section--dark .brazil-side-card:nth-child(n+3) > a { flex-basis: 90px; }
.content-section--dark .brazil-side-card:nth-child(-n+2) > div { padding: 8px 14px 9px; }
.content-section--dark .brazil-side-card:nth-child(-n+2) h3 { margin: 3px 0 4px; font-size: .94rem; line-height: 1.08; -webkit-line-clamp: 3; }
.content-section--dark .brazil-side-card:nth-child(-n+2) p { display: none; }
.content-section--dark .brazil-side-card:nth-child(-n+2) .brazil-card-meta { margin-top: 2px; }
.content-section--dark .brazil-side-card:nth-child(n+3) > div { justify-content: flex-end; padding: 7px 10px 9px; }
.content-section--dark .brazil-side-card:nth-child(n+3) h3 { display: -webkit-box; overflow: hidden; margin: 2px 0 3px; font-size: .74rem; line-height: 1.06; -webkit-box-orient: vertical; -webkit-line-clamp: 3; text-overflow: ellipsis; }
.content-section--dark .brazil-side-card:nth-child(n+3) p { display: none; }
.content-section--dark .brazil-side-card:nth-child(n+3) .tag { font-size: .56rem; }
.content-section--dark .brazil-side-card:nth-child(n+3) .brazil-card-meta { gap: 3px 7px; margin-top: 4px; font-size: .56rem; }
.content-section--dark .brazil-side-card .story-meta span { color: #9bd5ff; }

@media (max-width: 1050px) {
  .content-section--dark .brazil-editorial-grid { grid-template-columns: 1fr; }
  .content-section--dark .brazil-lead { min-height: 420px; }
  .content-section--dark .brazil-side-grid { grid-template-rows: 280px 220px; }
}

@media (max-width: 700px) {
  .content-section--dark .brazil-lead { min-height: 390px; }
  .content-section--dark .brazil-side-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .content-section--dark .brazil-side-card:nth-child(n) { grid-column: auto; height: auto; }
  .content-section--dark .brazil-side-card:nth-child(n) > a { flex-basis: auto; aspect-ratio: 16 / 9; }
  .content-section--dark .brazil-side-card:nth-child(n) > div { padding: 17px; }
  .content-section--dark .brazil-side-card:nth-child(n) h3 { font-size: 1.05rem; }
}

/* Páginas de editoria — portal interno */
.category-portal { --category-accent: var(--blue-700); --category-accent-2: var(--category-accent); padding: 0 0 64px; background: #fff; color: var(--blue-950); }
.category-portal--agronegocio { --category-accent: #16806c; }
.category-portal--esportes { --category-accent: #16804d; }
.category-portal--economia { --category-accent: #3270b7; }
.category-portal--politica, .category-portal--politica-ms, .category-portal--brasil { --category-accent: #1768c9; }
.category-portal--entretenimento { --category-accent: #7658b2; }
.category-portal--campo-grande, .category-portal--cotidiano { --category-accent: #0b8095; }
.category-portal--mundo { --category-accent: #285aa8; }
.category-portal--saude { --category-accent: #14806f; }
.category-portal--educacao { --category-accent: #7854a8; }
.category-portal--tecnologia { --category-accent: #0968bd; --category-accent-2: #0798c7; }
.category-portal--quadro-flow { --category-accent: #e51f78; --category-accent-2: #aa1ab3; }
.category-portal--columnist { --category-accent: #096a8c; --category-accent-2: #0a93a6; }
.category-portal--search { --category-accent: #075f9f; --category-accent-2: #078fa4; }
.category-portal__header { padding-top: 42px; padding-bottom: 24px; }
.category-portal__header .eyebrow { color: var(--category-accent); }
.category-portal__header h1 { margin: 5px 0 7px; font-size: clamp(2.7rem, 6vw, 4.8rem); line-height: .98; letter-spacing: -.055em; }
.category-portal__description { max-width: 720px; color: var(--muted); font-size: 1.05rem; line-height: 1.55; }
.category-portal__description p { margin: 0; }
.category-portal__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.category-portal__lead { min-height: 500px; border-radius: 8px; background: var(--blue-950); }
.category-portal__lead .media-link img { object-position: center 32%; }
.category-portal__lead .overlay-gradient { background: linear-gradient(180deg, rgba(2,17,32,0) 30%, rgba(2,17,32,.22) 52%, rgba(2,17,32,.96) 100%); }
.category-portal__lead-content { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 32px; color: #fff; }
.category-portal__lead-content .tag { background: var(--category-accent); }
.category-portal__lead h2 { max-width: 790px; margin: 11px 0 8px; font-size: clamp(1.9rem, 3.3vw, 3rem); line-height: 1.03; letter-spacing: -.04em; }
.category-portal__lead p { max-width: 720px; margin: 0 0 15px; color: #dce6ef; font-size: .96rem; line-height: 1.45; }
.category-portal__lead .story-meta { color: #dce6ef; }
.category-portal__main > .ad-block { width: 100%; max-width: none; margin: 22px 0; }
.category-portal > .category-ad-slot { width: min(calc(100% - 48px), 728px); margin: 18px auto 0; }
.category-subheading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 25px 0 15px; padding-top: 15px; border-top: 1px solid var(--line); }
.category-subheading h2 { margin: 0; font-size: 1.18rem; letter-spacing: -.02em; }
.category-subheading h2::before { display: inline-block; width: 22px; height: 3px; margin: 0 10px 4px 0; background: var(--category-accent); content: ""; }
.category-subheading a { color: var(--category-accent); font-size: .78rem; font-weight: 800; }
.category-latest__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.category-latest-card { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 15px; min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 7px; }
.category-latest-card > a { overflow: hidden; border-radius: 5px; aspect-ratio: 1 / 1; }
.category-latest-card img { width: 100%; height: 100%; object-fit: cover; }
.category-latest-card h3 { margin: 6px 0; font-size: 1rem; line-height: 1.15; }
.category-latest-card p { display: -webkit-box; overflow: hidden; margin: 0 0 8px; color: var(--muted); font-size: .78rem; line-height: 1.42; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.category-latest-card .story-meta { font-size: .66rem; }
.category-special__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.category-special__grid article > a { display: block; overflow: hidden; border-radius: 6px; aspect-ratio: 16 / 9; }
.category-special__grid img { width: 100%; height: 100%; object-fit: cover; }
.category-special__grid h3 { margin: 9px 0 7px; font-size: .95rem; line-height: 1.2; }
.category-special__grid .story-meta { font-size: .66rem; }
.category-portal__sidebar { position: sticky; top: 18px; display: grid; gap: 20px; }
.category-ranking, .category-topics { padding: 20px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.category-ranking h2, .category-topics h2 { margin: 0 0 14px; font-size: 1.12rem; }
.category-ranking h2::before, .category-topics h2::before { display: block; width: 22px; height: 3px; margin-bottom: 9px; background: var(--category-accent); content: ""; }
.category-ranking ol { margin: 0; padding: 0; list-style: none; }
.category-ranking li { display: grid; grid-template-columns: 30px 1fr; gap: 8px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.category-ranking li:last-child { border-bottom: 0; }
.category-ranking li > span { color: var(--category-accent); font-size: 1.18rem; font-weight: 900; }
.category-ranking h3 { margin: 0 0 4px; font-size: .87rem; line-height: 1.2; }
.category-ranking li a { display: block; font-size: .87rem; font-weight: 800; line-height: 1.2; }
.category-ranking time { color: var(--muted); font-size: .68rem; }
.category-portal__sidebar .ad-block { width: 100%; min-height: 250px; margin: 0; }
.category-topics > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.category-topics > div a { padding: 10px 7px; border: 1px solid var(--line); border-radius: 5px; color: var(--blue-800); font-size: .75rem; font-weight: 700; text-align: center; }
.category-topics > div a:hover { border-color: var(--category-accent); color: var(--category-accent); }
.category-portal .pagination { margin-top: 32px; }

/* Página exclusiva do Quadro Flow. */
.category-portal--quadro-flow {
  --category-accent: #e51f78;
  background: radial-gradient(circle at 86% 4%, rgba(224, 31, 132, .1), transparent 27%), linear-gradient(180deg, #fff 0, #fff7fb 42%, #fff 100%);
}

.category-portal--quadro-flow .category-portal__header {
  position: relative;
  margin-top: 16px;
  padding: 12px 20px;
  overflow: hidden;
  border: 1px solid #f2c5d9;
  border-radius: 14px;
  background: linear-gradient(120deg, #fff 0%, #fff5fa 58%, #fce5f1 100%);
  box-shadow: 0 12px 35px rgba(112, 13, 70, .08);
}

.category-portal--quadro-flow .category-portal__header::after {
  content: none;
}

.category-portal--quadro-flow .category-portal__header .eyebrow {
  position: relative;
  z-index: 1;
  color: #d91e70;
}

.category-portal--quadro-flow .category-portal__header h1 {
  position: relative;
  z-index: 1;
  width: max-content;
  margin: 0;
  background: linear-gradient(90deg, #142952, #e51f78 64%, #a917af);
  background-clip: text;
  color: transparent;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.category-portal--quadro-flow .category-portal__description {
  position: relative;
  z-index: 1;
  max-width: 650px;
  color: #665066;
}

.category-portal--quadro-flow .category-portal__layout {
  margin-top: 22px;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
}

.category-portal--quadro-flow .flow-category-top-ad,
.category-portal .category-top-ad {
  width: min(970px, calc(100% - 48px)) !important;
  max-width: 970px !important;
  height: 90px !important;
  min-height: 90px !important;
  max-height: 90px !important;
  margin: 16px auto 0 !important;
  border: 1px solid #efcada;
  border-radius: 9px;
  background: #fff8fb;
}

.category-portal--quadro-flow .category-portal__lead {
  height: 420px;
  min-height: 420px;
  border: 1px solid #e995bd;
  border-radius: 13px;
  box-shadow: 0 16px 34px rgba(81, 7, 54, .16);
}

.category-portal--quadro-flow .category-portal__lead .overlay-gradient {
  background: linear-gradient(180deg, transparent 22%, rgba(216, 29, 123, .16) 47%, rgba(161, 18, 103, .67) 73%, rgba(49, 7, 51, .98) 100%);
}

.category-portal--quadro-flow .category-portal__lead-content .tag {
  min-height: 25px;
  padding: 5px 11px 4px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  background: #e51f78;
  color: #fff;
  box-shadow: 0 5px 14px rgba(229, 31, 120, .3);
  font-size: .62rem;
  line-height: 1;
  letter-spacing: .075em;
  text-decoration: none;
}

.category-portal--quadro-flow .category-portal__lead-content .tag::before {
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: #fff;
}

.category-portal--quadro-flow .category-portal__main > .ad-block {
  width: 100% !important;
  max-width: 100% !important;
  margin-right: auto;
  margin-left: auto;
}

.category-portal--quadro-flow .category-portal__lead h2 {
  max-width: 690px;
  margin: 8px 0 6px;
  font-size: clamp(1.45rem, 2.25vw, 2rem);
  line-height: 1.08;
}

.category-portal--quadro-flow .category-portal__lead p {
  max-width: 650px;
  margin-bottom: 11px;
  font-size: .79rem;
  line-height: 1.4;
  -webkit-line-clamp: 2;
}

.category-portal--quadro-flow .category-subheading {
  border-top-color: #f1cada;
}

.category-portal--quadro-flow .category-latest__grid {
  gap: 16px;
}

.category-portal--quadro-flow .category-latest-card {
  border-color: #f0cada;
  border-radius: 11px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 8px 22px rgba(98, 18, 67, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.category-portal--quadro-flow .category-latest-card:hover {
  box-shadow: 0 14px 28px rgba(98, 18, 67, .12);
  transform: translateY(-3px);
}

.category-portal--quadro-flow .category-latest-card > a,
.category-portal--quadro-flow .category-special__grid article > a {
  border-radius: 999px;
}

.category-portal--quadro-flow .category-latest-card .tag {
  color: #d91e70;
}

.category-portal--quadro-flow .category-special__grid article {
  padding: 10px;
  border: 1px solid #f1d0df;
  border-radius: 11px;
  background: #fff;
}

.category-portal--quadro-flow .category-ranking {
  overflow: hidden;
  padding: 0;
  border-color: #efbfd5;
  border-radius: 12px;
  background: #fff8fb;
  box-shadow: 0 12px 28px rgba(108, 15, 69, .09);
}

.category-portal--quadro-flow .category-ranking h2 {
  margin: 0;
  padding: 17px 19px;
  background: linear-gradient(90deg, #e51f78, #aa1ab3);
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
}

.category-portal--quadro-flow .category-ranking h2::before { display: none; }
.category-portal--quadro-flow .category-ranking ol { padding: 5px 18px 10px; }
.category-portal--quadro-flow .category-ranking li { border-bottom-color: rgba(210, 27, 113, .12); }
.category-portal--quadro-flow .category-ranking li > span { color: #e51f78; }
.category-portal--quadro-flow .category-ranking li a:hover { color: #d91e70; }

.category-portal--quadro-flow .category-topics {
  border-color: #f0cada;
  border-radius: 12px;
  background: #fff9fc;
}

.category-portal--quadro-flow .category-topics > div a {
  border-color: #efc5d8;
  background: #fff;
  color: #b51a64;
}

/* Sistema editorial compartilhado: mesma arquitetura do Quadro Flow, com a
   cor de identidade definida individualmente por cada categoria. */
.category-portal {
  background:
    radial-gradient(circle at 86% 4%, color-mix(in srgb, var(--category-accent) 10%, transparent), transparent 27%),
    linear-gradient(180deg, #fff 0, color-mix(in srgb, var(--category-accent) 4%, #fff) 42%, #fff 100%);
}

.category-portal .category-top-ad {
  width: min(970px, calc(100% - 48px)) !important;
  max-width: 970px !important;
  height: 90px !important;
  min-height: 90px !important;
  max-height: 90px !important;
  margin: 16px auto 0 !important;
  border: 1px solid color-mix(in srgb, var(--category-accent) 28%, #e6eaf0);
  border-radius: 9px;
  background: color-mix(in srgb, var(--category-accent) 4%, #fff);
}

.category-portal .category-portal__header {
  position: relative;
  margin-top: 16px;
  padding: 12px 20px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--category-accent) 27%, #e7eaf0);
  border-radius: 14px;
  background: linear-gradient(120deg, #fff 0%, color-mix(in srgb, var(--category-accent) 4%, #fff) 58%, color-mix(in srgb, var(--category-accent) 11%, #fff) 100%);
  box-shadow: 0 12px 35px color-mix(in srgb, var(--category-accent) 9%, transparent);
}

.category-portal .category-portal__header h1 {
  position: relative;
  z-index: 1;
  width: max-content;
  margin: 0;
  background: linear-gradient(90deg, #142952, var(--category-accent) 66%, var(--category-accent-2));
  background-clip: text;
  color: transparent;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.category-portal .category-portal__layout {
  margin-top: 22px;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
}

.category-portal .category-portal__lead {
  height: 420px;
  min-height: 420px;
  border: 1px solid color-mix(in srgb, var(--category-accent) 52%, #d9e0e8);
  border-radius: 13px;
  box-shadow: 0 16px 34px color-mix(in srgb, var(--category-accent) 16%, transparent);
}

.category-portal .category-portal__lead .overlay-gradient {
  background: linear-gradient(180deg, transparent 22%, color-mix(in srgb, var(--category-accent) 16%, transparent) 47%, color-mix(in srgb, var(--category-accent) 64%, rgba(3, 20, 43, .78)) 73%, rgba(3, 18, 39, .98) 100%);
}

.category-portal .category-portal__lead-content .tag {
  min-height: 25px;
  padding: 5px 11px 4px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  background: var(--category-accent);
  color: #fff;
  box-shadow: 0 5px 14px color-mix(in srgb, var(--category-accent) 32%, transparent);
  font-size: .62rem;
  line-height: 1;
  letter-spacing: .075em;
  text-decoration: none;
}

.category-portal .category-portal__lead-content .tag::before {
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: #fff;
}

.category-portal .category-portal__lead h2 {
  max-width: 690px;
  margin: 8px 0 6px;
  font-size: clamp(1.45rem, 2.25vw, 2rem);
  line-height: 1.08;
}

.category-portal .category-portal__lead p {
  display: -webkit-box;
  max-width: 650px;
  margin-bottom: 11px;
  overflow: hidden;
  font-size: .79rem;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-portal .category-portal__main > .ad-block {
  width: 100% !important;
  max-width: 100% !important;
  margin-right: auto;
  margin-left: auto;
}

.category-portal .category-subheading { border-top-color: color-mix(in srgb, var(--category-accent) 25%, #e8ebef); }
.category-portal .category-latest__grid { gap: 16px; }
.category-portal .category-latest-card {
  border-color: color-mix(in srgb, var(--category-accent) 22%, #e4e8ed);
  border-radius: 11px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--category-accent) 6%, transparent);
  transition: transform .25s ease, box-shadow .25s ease;
}
.category-portal .category-latest-card:hover { box-shadow: 0 14px 28px color-mix(in srgb, var(--category-accent) 12%, transparent); transform: translateY(-3px); }
.category-portal .category-latest-card > a,
.category-portal .category-special__grid article > a { border-radius: 8px; }
.category-portal .category-latest-card .tag { color: var(--category-accent); }
.category-portal .category-special__grid article {
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--category-accent) 20%, #e8ebef);
  border-radius: 11px;
  background: #fff;
}

.category-portal .category-ranking {
  overflow: hidden;
  padding: 0;
  border-color: color-mix(in srgb, var(--category-accent) 30%, #dfe4e9);
  border-radius: 12px;
  background: color-mix(in srgb, var(--category-accent) 4%, #fff);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--category-accent) 9%, transparent);
}
.category-portal .category-ranking h2 {
  margin: 0;
  padding: 17px 19px;
  background: linear-gradient(90deg, var(--category-accent), var(--category-accent-2));
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
}
.category-portal .category-ranking h2::before { display: none; }
.category-portal .category-ranking ol { padding: 5px 18px 10px; }
.category-portal .category-ranking li { border-bottom-color: color-mix(in srgb, var(--category-accent) 13%, transparent); }
.category-portal .category-ranking li > span { color: var(--category-accent); }
.category-portal .category-ranking li a:hover { color: var(--category-accent); }
.category-portal .category-topics {
  border-color: color-mix(in srgb, var(--category-accent) 23%, #e5e9ee);
  border-radius: 12px;
  background: color-mix(in srgb, var(--category-accent) 3%, #fff);
}
.category-portal .category-topics > div a {
  border-color: color-mix(in srgb, var(--category-accent) 24%, #e4e8ed);
  background: #fff;
  color: var(--category-accent);
}

/* Cabeçalho individual de colunistas: mantém o ritmo das editorias e acrescenta
   somente retrato, identidade e acesso à lista completa. */
.category-portal .qg-column-category-header {
  display: flex;
  min-height: 74px;
  align-items: center;
  gap: 13px;
  padding: 10px 16px;
}

.qg-column-category-header__portrait {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  place-items: center;
  overflow: hidden;
  border: 3px solid color-mix(in srgb, var(--category-accent) 24%, #fff);
  border-radius: 50%;
  background: color-mix(in srgb, var(--category-accent) 10%, #fff);
  box-shadow: 0 4px 13px color-mix(in srgb, var(--category-accent) 13%, transparent);
}

.qg-column-category-header__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.qg-column-category-header__portrait .dashicons {
  width: 25px;
  height: 25px;
  color: var(--category-accent);
  font-size: 25px;
}

.qg-column-category-header__identity {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.category-portal .qg-column-category-header__identity h1 { font-size: 1.35rem; }
.qg-column-category-header__identity > span {
  display: block;
  margin-top: 2px;
  color: var(--category-accent);
  font-size: .59rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.qg-column-category-header__all {
  position: relative;
  z-index: 1;
  margin-left: auto;
  padding: 8px 11px;
  border: 1px solid color-mix(in srgb, var(--category-accent) 25%, #dfe5eb);
  border-radius: 7px;
  background: rgba(255, 255, 255, .72);
  color: var(--category-accent);
  font-size: .59rem;
  font-weight: 900;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.category-portal--columnist .category-subheading > span {
  color: #728493;
  font-size: .66rem;
  font-weight: 700;
}

/* Busca e tópicos usam a mesma linguagem das editorias, dando protagonismo ao
   termo pesquisado e mantendo uma nova busca sempre acessível. */
.category-portal .qg-search-results-header {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 24px;
  padding: 11px 16px 11px 20px;
}

.qg-search-results-header__identity {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.qg-search-results-header__identity > span,
.qg-search-results-header__identity > small {
  display: block;
  color: var(--category-accent);
  font-size: .55rem;
  font-weight: 850;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.category-portal .qg-search-results-header__identity h1 {
  max-width: 620px;
  margin: 2px 0;
  overflow: hidden;
  font-size: 1.42rem;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.qg-search-results-header__identity > small {
  color: #728493;
  font-size: .51rem;
  letter-spacing: .035em;
}

.qg-search-results-header__form {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(230px, 32%);
  grid-template-columns: minmax(0, 1fr) 40px;
  gap: 7px;
  margin-left: auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.qg-search-results-header__form input {
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--category-accent) 23%, #dce3e9);
  border-radius: 999px;
  outline: 0;
  background: transparent;
  color: var(--blue-950);
  font-size: .73rem;
}

.qg-search-results-header__form input:focus { box-shadow: none; outline: 0; }
.qg-search-results-header__form input:focus::placeholder { color: transparent; opacity: 0; }
.qg-search-results-header__form button {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  place-items: center;
  background: linear-gradient(135deg, var(--category-accent), var(--category-accent-2));
  color: #fff;
  cursor: pointer;
}
.qg-search-results-header__form .dashicons { width: 18px; height: 18px; font-size: 18px; }
.category-portal--search-results .category-subheading > span { color: var(--category-accent); font-size: .67rem; font-weight: 800; }

.qg-search-empty {
  display: grid;
  max-width: 720px;
  justify-items: center;
  margin-top: 24px;
  padding: 48px 32px;
  border: 1px solid color-mix(in srgb, var(--category-accent) 20%, #e1e6eb);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 12px 32px color-mix(in srgb, var(--category-accent) 8%, transparent);
  text-align: center;
}
.qg-search-empty > .dashicons { width: 40px; height: 40px; color: var(--category-accent); font-size: 40px; }
.qg-search-empty h2 { margin: 13px 0 6px; }
.qg-search-empty p { margin: 0 0 18px; color: var(--muted); }
.qg-search-empty .search-form { width: min(100%, 510px); padding: 0; }
.qg-search-empty .search-form label { display: none; }
.qg-search-empty > a { margin-top: 18px; color: var(--category-accent); font-size: .72rem; font-weight: 850; }

@media (max-width: 700px) {
  .category-portal .qg-column-category-header { min-height: 68px; gap: 10px; padding: 8px 11px; }
  .qg-column-category-header__portrait { flex-basis: 46px; width: 46px; height: 46px; }
  .category-portal .qg-column-category-header__identity h1 { max-width: 48vw; overflow: hidden; font-size: 1.08rem; text-overflow: ellipsis; white-space: nowrap; }
  .qg-column-category-header__identity > span { font-size: .52rem; }
  .qg-column-category-header__all { padding: 7px 8px; font-size: .49rem; }
  .category-portal .qg-search-results-header { display: grid; min-height: 0; gap: 10px; padding: 12px; }
  .category-portal .qg-search-results-header__identity h1 { max-width: 82vw; font-size: 1.18rem; }
  .qg-search-results-header__form { width: min(230px, 100%); margin-left: 0; }
}

@media (max-width: 1000px) {
  .category-portal--quadro-flow .category-portal__layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .category-portal--quadro-flow .category-portal__header { width: min(100% - 24px, var(--container)); margin-top: 12px; padding: 11px 16px; }
  .category-portal--quadro-flow .category-portal__header h1 { font-size: 1.2rem; }
  .category-portal--quadro-flow .category-portal__lead { min-height: 400px; }
}

@media (max-width: 1000px) {
  .category-portal__layout { grid-template-columns: 1fr; }
  .category-portal__sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .category-portal__sidebar .ad-block:last-of-type { display: none; }
}

@media (max-width: 700px) {
  .category-portal { padding-bottom: 42px; }
  .category-portal__header { padding-top: 28px; padding-bottom: 18px; }
  .category-portal__header h1 { font-size: 2.65rem; }
  .category-portal__description { font-size: .94rem; }
  .category-portal__lead { min-height: 390px; }
  .category-portal__lead-content { padding: 22px; }
  .category-portal__lead h2 { font-size: 1.75rem; }
  .category-portal__lead p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .category-latest__grid, .category-special__grid, .category-portal__sidebar { grid-template-columns: 1fr; }
  .category-latest-card { grid-template-columns: 112px minmax(0, 1fr); }
  .category-latest-card p { display: none; }
  .category-portal__sidebar .ad-block { min-height: 180px; }
}

/* Categorias no aplicativo: arquitetura única inspirada no Quadro Flow. */
@media (max-width: 900px) {
  .category-portal .category-portal__layout,
  .category-portal--quadro-flow .category-portal__layout {
    display: flex;
    width: min(100% - 24px, var(--container));
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
  }

  .category-portal__main,
  .category-portal__sidebar {
    width: 100%;
    min-width: 0;
  }

  .category-portal .category-portal__lead,
  .category-portal--quadro-flow .category-portal__lead {
    width: 100%;
    height: 390px;
    min-height: 390px;
  }

  .category-portal .category-portal__lead-content {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 22px;
    box-sizing: border-box;
  }

  .category-portal .category-portal__lead h2 {
    max-width: 100%;
    font-size: 1.7rem;
    overflow-wrap: anywhere;
  }

  .category-portal .category-latest__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .category-portal .category-latest-card {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    min-height: 118px;
    padding: 9px;
    box-sizing: border-box;
  }

  .category-portal .category-latest-card > a {
    width: 118px;
    height: 100%;
    min-height: 100px;
    aspect-ratio: auto;
  }

  .category-portal .category-latest-card h3 {
    display: -webkit-box;
    margin: 5px 0;
    overflow: hidden;
    font-size: .93rem;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .category-portal .category-special__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .category-portal .category-portal__sidebar {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
  }

  .category-portal .category-ranking,
  .category-portal .category-topics,
  .category-portal .category-portal__sidebar .ad-block {
    width: 100%;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
  }

  .category-portal .category-ranking { order: 10; }
  .category-portal .category-topics { order: 9; }
  .category-portal .category-portal__sidebar .ad-block { min-height: 180px; }

  .category-portal .category-subheading {
    margin: 18px 0 10px;
    padding-top: 12px;
  }

  .category-portal .category-top-ad,
  .category-portal--quadro-flow .flow-category-top-ad {
    width: calc(100% - 24px) !important;
    max-width: none !important;
  }
}

@media (max-width: 520px) {
  .category-portal .category-special__grid { grid-template-columns: 1fr; }
  .category-portal .category-portal__lead,
  .category-portal--quadro-flow .category-portal__lead { height: 370px; min-height: 370px; }
  .category-portal .category-latest-card { grid-template-columns: 105px minmax(0, 1fr); }
  .category-portal .category-latest-card > a { width: 105px; }
}

/* Tópicos — grade editorial regular */
.topic-page { padding-bottom: 64px; background: #f6f8fb; }
.topic-page__header { padding-top: 42px; padding-bottom: 25px; }
.topic-page__header h1 { margin: 5px 0 8px; color: var(--blue-950); font-size: clamp(2.7rem, 6vw, 4.5rem); line-height: 1; letter-spacing: -.05em; }
.topic-page__header p { max-width: 670px; margin: 0; color: var(--muted); font-size: 1rem; }
.topic-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.topic-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.topic-card__media { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--soft); }
.topic-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.topic-card:hover .topic-card__media img { transform: scale(1.025); }
.topic-card__body { display: flex; min-height: 205px; flex: 1; flex-direction: column; padding: 16px; }
.topic-card h2 { display: -webkit-box; overflow: hidden; margin: 8px 0; color: var(--blue-950); font-size: 1.02rem; line-height: 1.18; letter-spacing: -.02em; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.topic-card p { display: -webkit-box; overflow: hidden; margin: 0 0 13px; color: var(--muted); font-size: .78rem; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.topic-card .story-meta { margin-top: auto; font-size: .68rem; }
.topic-mosaic__ad { grid-column: 1 / -1; }
.topic-mosaic__ad .ad-block { width: 100%; max-width: none; min-height: 110px; margin: 5px 0; }
.topic-pagination { margin-top: 34px; }
.topic-empty { margin-top: 10px; }

@media (max-width: 900px) {
  .topic-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .topic-page { padding-bottom: 42px; }
  .topic-page__header { padding-top: 28px; padding-bottom: 20px; }
  .topic-page__header h1 { font-size: 2.6rem; }
  .topic-mosaic { grid-template-columns: 1fr; gap: 14px; }
  .topic-mosaic__ad { grid-column: 1; }
  .topic-card__body { padding: 16px; }
}
.compact-card { display: grid; grid-template-columns: 42% 1fr; }
.compact-card > a { display: block; }
.compact-card > div { padding: 18px; display: flex; flex-direction: column; }
.latest-list article { display: grid; gap: 4px; }
@media (max-width: 480px) { .compact-card { grid-template-columns: 1fr; } }

/* Quadro Geral — camada final da marca */
:root {
  --blue-950: #052b2e;
  --blue-900: #07383b;
  --blue-800: #075153;
  --blue-700: #087b78;
  --blue-600: #079a94;
  --blue-500: #13aaa3;
  --blue-100: #e6f5f3;
  --sky: #56d3c9;
  --ink: #172225;
  --line: #dbe2e1;
  --soft: #f3f6f5;
  --radius: 6px;
}

.top-strip { background: #11191c; }
.top-strip__label { background: var(--blue-500); color: #052b2e; }
.header-main { height: 96px; }
.quadro-brand .brand__text strong { font-size: clamp(2rem, 4vw, 3rem); color: var(--ink); }
.quadro-brand .brand__text strong em { color: var(--blue-600); }
.quadro-brand .brand__text small { color: #526064; }
.desktop-nav { background: var(--blue-950); }
.desktop-nav a { text-transform: uppercase; color: rgba(255,255,255,.95); }
.desktop-nav a::after { background: var(--sky); }
.lead-story h2 { font-size: clamp(2.45rem, 3.7vw, 3.85rem); }
.overlay-gradient { background: linear-gradient(180deg, rgba(3,25,27,.01) 18%, rgba(3,25,27,.94) 100%); }
.site-footer, .video-section { background: #061f22; }
.newsletter { background: var(--blue-900); }
.site-footer { border-top: 4px solid var(--blue-500); }
.brand--footer .brand__text strong { color: #fff; }

@media (max-width: 760px) {
  .header-main { height: 78px; }
  .quadro-brand .brand__text strong { font-size: 1.55rem; }
}

/* Modernização editorial — etapa 1 */
:root {
  --blue-950: #071a33;
  --blue-900: #092a50;
  --blue-800: #0b3d75;
  --blue-700: #075db8;
  --blue-600: #0875d1;
  --blue-100: #eef6fd;
  --ink: #101923;
  --muted: #607080;
  --line: #e2e8ee;
  --soft: #f5f7f9;
  --container: 1180px;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(7, 26, 51, .07);
}

body { overflow-x: hidden; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #55b6ff; outline-offset: 3px; }
.container { width: min(calc(100% - 48px), var(--container)); }

.top-strip { border-bottom: 1px solid rgba(255,255,255,.1); }
.top-strip__inner { min-height: 32px; }
.top-strip__label { padding: 3px 8px; font-size: .68rem; border-radius: 2px; }
.ticker__track { animation-duration: 42s; }

.header-main { height: 78px; }
.brand img { width: 48px; height: 48px; }
.brand__text strong { font-size: 1.5rem; }
.brand__text small { font-size: .68rem; }
.icon-button { width: 40px; height: 40px; border-color: #dbe4ec; }
.desktop-nav { border-top: 0; color: white; background: var(--blue-800); }
.desktop-nav__inner, .desktop-nav__inner > ul { min-height: 48px; }
.desktop-nav a { color: rgba(255,255,255,.94); font-size: .78rem; letter-spacing: .015em; }
.desktop-nav a::after { bottom: -15px; height: 2px; background: white; }
.desktop-nav .current-menu-item > a, .desktop-nav a:hover { color: white; }

.hero { padding-top: 32px; padding-bottom: 30px; }
.section-kicker { margin-bottom: 16px; color: var(--blue-700); }
.hero-grid { grid-template-columns: minmax(0, 1.65fr) minmax(290px, .78fr); gap: 14px; }
.hero-side { gap: 14px; }
.lead-story { min-height: 500px; }
.side-story { min-height: 243px; }
.card-overlay { border-radius: 8px; }
.overlay-gradient { background: linear-gradient(180deg, rgba(3,18,34,.03) 20%, rgba(3,18,34,.92) 100%); }
.lead-story__content { padding: 32px; }
.lead-story h2 { max-width: 780px; margin: 10px 0 9px; font-size: clamp(2.1rem, 3vw, 3rem); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.lead-story p { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.side-story__content { padding: 20px; }
.side-story h2 { font-size: 1.25rem; line-height: 1.13; text-wrap: balance; }
.tag { font-size: .66rem; }

.latest-bar { border-block: 0; background: var(--blue-100); }
.latest-bar__inner { grid-template-columns: 170px 1fr; padding-block: 20px; }
.latest-heading { border-color: #cbddeb; }
.latest-list { gap: 18px; }
.latest-list article { padding-right: 14px; border-right: 1px solid #d5e3ef; }
.latest-list article:last-child { padding-right: 0; border-right: 0; }
.latest-list a { font-size: .82rem; }

.most-read-strip { padding: 30px 0 4px; background: white; }
.most-read-strip__inner { display: grid; grid-template-columns: 170px 1fr; gap: 28px; }
.most-read-strip__title { padding-top: 4px; border-right: 1px solid var(--line); }
.most-read-strip__title span { color: var(--blue-600); font-size: .65rem; font-weight: 900; letter-spacing: .15em; }
.most-read-strip__title h2 { margin: 3px 0 0; color: var(--blue-950); font-size: 1.45rem; letter-spacing: -.03em; }
.most-read-strip ol { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; padding: 0; margin: 0; list-style: none; }
.most-read-strip li { display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: start; }
.most-read-strip li > span { color: #9ec7e9; font-size: 1.45rem; font-weight: 900; line-height: 1; letter-spacing: -.06em; }
.most-read-strip li a { font-size: .79rem; font-weight: 800; line-height: 1.25; }
.most-read-strip li a:hover { color: var(--blue-600); }

.ad-block { min-height: 86px; margin-block: 30px; border: 0; border-radius: 6px; background: #f5f6f7; color: #a1a9b1; }
.content-section { padding-block: 38px 52px; }
.content-section + .content-section { border-top: 1px solid var(--line); }
.section-header { margin-bottom: 22px; padding-bottom: 12px; }
.section-header h2 { font-size: clamp(1.8rem, 2.6vw, 2.35rem); }
.horizontal-cards { gap: 20px; }
.compact-card { grid-template-columns: 1fr; border: 0; border-radius: 0; overflow: visible; }
.compact-card:hover { transform: none; box-shadow: none; }
.compact-card > a { overflow: hidden; border-radius: 7px; aspect-ratio: 16 / 9; background: var(--soft); }
.compact-card img { width: 100%; height: 100%; min-height: 0; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .35s ease; }
.compact-card:hover img { transform: scale(1.025); }
.compact-card > div { padding: 14px 0 0; }
.compact-card h3 { margin: 8px 0 11px; font-size: 1.08rem; line-height: 1.22; letter-spacing: -.018em; text-wrap: balance; }

.newsletter { border-top: 0; }
.site-footer { padding-top: 46px; background: var(--blue-950); }
.footer-grid { grid-template-columns: 1.35fr .75fr .75fr 1fr; gap: 42px; }
.footer-grid a:hover { color: white; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1050px) {
  .desktop-nav__inner { justify-content: flex-start; }
  .desktop-nav__inner > ul { justify-content: flex-start; }
  .hero-grid { grid-template-columns: minmax(0, 1.45fr) minmax(270px, .8fr); }
  .most-read-strip ol { grid-template-columns: repeat(3, 1fr); }
  .most-read-strip li:nth-child(n+4) { display: none; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .top-strip__inner { grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
  .top-strip__date { display: none; }
  .ticker__track { animation: none; display: block; overflow: hidden; text-overflow: ellipsis; }
  .ticker__track a:not(:first-of-type), .ticker__track span { display: none; }
  .header-main { height: 70px; }
  .brand img { width: 42px; height: 42px; }
  .desktop-nav { display: none; }
  .hero { padding-top: 24px; }
  .hero-grid { grid-template-columns: 1fr; }
  .lead-story { min-height: 430px; }
  .hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .side-story { min-height: 220px; }
  .lead-story__content { padding: 24px; }
  .lead-story h2 { font-size: clamp(1.8rem, 8vw, 2.35rem); }
  .lead-story p { font-size: .88rem; }
  .latest-bar__inner, .most-read-strip__inner { grid-template-columns: 1fr; gap: 14px; }
  .latest-heading, .most-read-strip__title { border: 0; }
  .latest-list { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; }
  .latest-list article { min-width: 0; padding: 0 12px 12px 0; border-right: 0; border-bottom: 1px solid #d5e3ef; }
  .most-read-strip { padding-top: 26px; }
  .most-read-strip ol { grid-template-columns: 1fr; gap: 12px; }
  .most-read-strip li:nth-child(n+4) { display: grid; }
  .most-read-strip li { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .most-read-strip li a { font-size: .88rem; }
  .horizontal-cards { grid-template-columns: 1fr; gap: 30px; }
  .compact-card { grid-template-columns: minmax(120px, 38%) 1fr; gap: 15px; }
  .compact-card > a { aspect-ratio: 4 / 3; }
  .compact-card img { aspect-ratio: 4 / 3; }
  .compact-card > div { padding: 2px 0 0; }
  .compact-card h3 { font-size: 1rem; }
  .content-section { padding-block: 34px 42px; }
  .footer-grid { gap: 34px 24px; }
}

@media (max-width: 480px) {
  .brand__text strong { font-size: 1.08rem; }
  .hero-side { grid-template-columns: 1fr; }
  .side-story { min-height: 210px; }
  .latest-list { grid-template-columns: 1fr; }
  .compact-card { grid-template-columns: 1fr; }
  .compact-card > a, .compact-card img { aspect-ratio: 16 / 9; }
  .compact-card h3 { margin-top: 7px; font-size: .94rem; }
  .section-header { align-items: center; }
  .section-header h2 { font-size: 1.75rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Garantias finais do rodapé após os estilos legados */
.footer-grid.footer-grid--expanded { grid-template-columns: 1.05fr 1.25fr 1fr 1.35fr; gap: 36px clamp(32px, 4vw, 58px); }
@media (max-width: 1000px) {
  .footer-grid.footer-grid--expanded { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px 48px; }
}
@media (max-width: 600px) {
  .footer-grid.footer-grid--expanded { grid-template-columns: 1fr; gap: 0; }
}

/* Grade jornalística das editorias inspirada nas novas referências */
.story-meta { display: flex; flex-wrap: wrap; gap: 5px 12px; align-items: center; color: #b9cadb; font-size: .68rem; font-weight: 700; }
.story-meta span::before { content: "Por "; font-weight: 500; }
.lead-story .story-meta { margin-top: 13px; }
.side-story .story-meta { margin-top: 10px; }
.story-meta--dark { color: var(--muted); }
.category-newspaper-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.category-news-column { display: grid; align-content: start; gap: 0; min-width: 0; }
.category-news-feature { position: relative; min-height: 330px; overflow: hidden; border-radius: 7px; background: var(--blue-950); }
.category-news-feature > a { position: absolute; inset: 0; display: block; }
.category-news-feature > a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,18,34,.05) 28%, rgba(3,18,34,.92) 100%); }
.category-news-feature > a img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.category-news-feature:hover > a img { transform: scale(1.025); }
.category-news-feature > div { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 22px; color: white; pointer-events: none; }
.category-news-feature > div a { pointer-events: auto; }
.category-news-feature .tag { color: #77cbff; }
.category-news-feature h3 { margin: 9px 0 8px; font-size: 1.4rem; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.category-news-feature p { display: -webkit-box; overflow: hidden; margin: 0 0 10px; color: #d4e0ea; font-size: .82rem; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.category-news-feature .story-meta--dark { color: #b9cadb; }
.category-news-mini { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 13px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.category-news-mini > a { display: block; overflow: hidden; border-radius: 5px; aspect-ratio: 4 / 3; }
.category-news-mini > a img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.category-news-mini:hover > a img { transform: scale(1.04); }
.category-news-mini h3 { margin: 7px 0 0; color: var(--blue-950); font-size: .94rem; line-height: 1.18; letter-spacing: -.015em; }
.category-news-mini .story-meta { font-size: .62rem; }
.category-news-mini .story-meta span { color: var(--blue-700); font-weight: 850; }

@media (max-width: 900px) {
  .category-newspaper-grid { grid-template-columns: 1fr 1fr; }
  .category-news-column:last-child { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 20px; }
  .category-news-column:last-child .category-news-feature { grid-row: span 2; }
}

@media (max-width: 600px) {
  .category-newspaper-grid { grid-template-columns: 1fr; gap: 28px; }
  .category-news-column:last-child { grid-column: auto; grid-template-columns: 1fr; gap: 0; }
  .category-news-column:last-child .category-news-feature { grid-row: auto; }
  .category-news-feature { min-height: 310px; }
}

/* Capa completa e Agronegócio no formato recentes + mais lidas */
.cover-briefs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 28px; padding-bottom: 6px; }
.cover-briefs article { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 13px; align-items: center; min-width: 0; }
.cover-briefs article > a { display: block; overflow: hidden; border-radius: 5px; aspect-ratio: 4 / 3; }
.cover-briefs article img { width: 100%; height: 100%; object-fit: cover; }
.cover-briefs h2 { margin: 7px 0 0; color: var(--blue-950); font-size: .92rem; line-height: 1.18; letter-spacing: -.015em; }
.cover-briefs { width: min(calc(100% - 48px), var(--container)); gap: 14px; margin-inline: auto; padding-top: 18px; padding-bottom: 10px; }
.cover-briefs article { grid-template-columns: 112px minmax(0, 1fr); min-height: 138px; gap: 14px; padding: 11px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.cover-briefs article > a { height: 100%; min-height: 114px; aspect-ratio: auto; }
.cover-briefs article > a img { transition: transform .35s ease; }
.cover-briefs article:hover > a img { transform: scale(1.045); }
.cover-briefs article > div { display: flex; min-width: 0; flex-direction: column; }
.cover-briefs h2 { display: -webkit-box; overflow: hidden; margin: 0; font-size: .92rem; line-height: 1.18; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.cover-briefs p { display: -webkit-box; overflow: hidden; margin: 7px 0; color: var(--muted); font-size: .72rem; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.cover-briefs .story-meta { gap: 6px 10px; margin-top: auto; font-size: .6rem; }
.cover-briefs .story-meta span { color: var(--blue-700); font-weight: 800; }
.cover-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-top: 4px; padding-bottom: 30px; }
.cover-grid article { min-width: 0; }
.cover-grid article > a { display: block; overflow: hidden; border-radius: 6px; aspect-ratio: 16 / 10; background: var(--soft); }
.cover-grid article > a img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cover-grid article:hover > a img { transform: scale(1.03); }
.cover-grid .story-meta { margin-top: 11px; }
.cover-grid h2 { margin: 7px 0 0; color: var(--blue-950); font-size: 1.04rem; line-height: 1.16; letter-spacing: -.02em; }
.agro-recent-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; align-items: start; }
.agro-recent-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.agro-recent-grid .category-news-feature { min-height: 300px; }

@media (max-width: 900px) {
  .cover-briefs { grid-template-columns: 1fr 1fr; }
  .cover-briefs article:last-child { grid-column: 1 / -1; max-width: 50%; }
  .cover-grid { grid-template-columns: 1fr 1fr; }
  .agro-recent-layout { grid-template-columns: 1fr; }
  .agro-recent-layout .home-most-read ol { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .agro-recent-layout .home-most-read li { grid-template-columns: 34px 1fr; border-bottom: 0; }
}

@media (max-width: 600px) {
  .cover-briefs { grid-template-columns: 1fr; padding-top: 18px; }
  .cover-briefs article:last-child { grid-column: auto; max-width: none; }
  .cover-grid { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .cover-grid h2 { font-size: .9rem; }
  .agro-recent-grid { grid-template-columns: 1fr; gap: 28px; }
  .agro-recent-layout .home-most-read ol { grid-template-columns: 1fr; gap: 0; }
  .agro-recent-layout .home-most-read li { grid-template-columns: 40px 1fr; border-bottom: 1px solid var(--line); }
}

/* Brasil — manchete principal e duas notícias com resumo */
.brazil-section-header { align-items: end; }
.brazil-section-header > div { max-width: 760px; }
.brazil-section-header > a { margin-bottom: 4px; padding: 11px 15px; border-radius: 5px; background: var(--blue-700); color: white; }
.brazil-editorial-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; }
.brazil-lead { min-height: 440px; border: 1px solid rgba(120,202,255,.22); }
.brazil-lead .media-link img { object-position: center 22%; }
.brazil-lead > .overlay-gradient { background: linear-gradient(180deg, rgba(3,18,34,0) 36%, rgba(3,18,34,.36) 55%, rgba(3,18,34,.97) 100%); }
.brazil-lead__content { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 25px; color: white; }
.brazil-lead h3 { display: -webkit-box; overflow: hidden; max-width: 720px; margin: 10px 0 9px; font-size: clamp(1.75rem, 2.5vw, 2.35rem); line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.brazil-lead p { display: -webkit-box; overflow: hidden; max-width: 660px; margin: 0 0 14px; color: #d3dfeb; font-size: .88rem; line-height: 1.42; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.brazil-side-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.brazil-side-card { display: flex; height: 440px; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid rgba(120,202,255,.2); border-radius: 8px; background: var(--blue-900); }
.brazil-side-card > a { display: block; flex: 0 0 185px; overflow: hidden; }
.brazil-side-card > a img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform .4s ease; }
.brazil-side-card:hover > a img { transform: scale(1.025); }
.brazil-side-card > div { display: flex; min-height: 0; flex: 1; flex-direction: column; padding: 18px; }
.brazil-side-card h3 { display: -webkit-box; overflow: hidden; margin: 9px 0 9px; font-size: 1.16rem; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.brazil-side-card p { display: -webkit-box; overflow: hidden; margin: 0 0 12px; color: #b8c8d7; font-size: .78rem; line-height: 1.42; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.brazil-card-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: auto; color: #91a9bd; font-size: .7rem; font-weight: 700; }

@media (max-width: 1000px) {
  .brazil-editorial-grid { grid-template-columns: 1fr; }
  .brazil-lead { min-height: 420px; }
  .brazil-side-card { height: 410px; }
}

@media (max-width: 600px) {
  .brazil-section-header { align-items: flex-start; }
  .brazil-section-header > a { margin-top: 12px; }
  .brazil-lead { min-height: 380px; }
  .brazil-lead__content { padding: 24px; }
  .brazil-lead h3 { font-size: 1.75rem; }
  .brazil-side-grid { grid-template-columns: 1fr; }
  .brazil-side-card { height: auto; min-height: 0; }
  .brazil-side-card > a { flex-basis: auto; aspect-ratio: 16 / 9; }
}

/* Ajustes de acabamento solicitados */
.home-video-strip {
  border-bottom-color: rgba(255, 255, 255, .12);
  background: var(--blue-950);
}

.home-video-strip .home-video-strip__panel {
  border-color: rgba(31, 91, 158, .42);
  background:
    radial-gradient(circle at 82% 18%, rgba(224, 47, 72, .3), transparent 46%),
    radial-gradient(circle at 20% 92%, rgba(187, 29, 54, .16), transparent 40%),
    linear-gradient(118deg, #edf5ff 0%, #d9e8fb 43%, #a7c8ed 100%);
  box-shadow: 0 16px 34px rgba(2, 18, 38, .28);
}

.home-video-strip .home-video-strip__cta {
  border: 0;
  box-shadow: 0 10px 24px rgba(42, 13, 31, .18);
}

.article-page .article-ad-slot--top {
  width: min(calc(100% - 48px), 970px);
  max-width: 970px;
}

.article-page .article-ad-slot--top > div {
  border: 1px solid #d5dee8;
  border-radius: 6px;
  background: #f4f6f8;
}

@media (min-width: 1001px) {
  .article-reference-layout {
    grid-template-columns: minmax(0, 858px) 300px;
  }
}

.article-reference-card > .article-ad-slot--below-image,
.article-reference-body > .ad-block {
  box-sizing: border-box;
  width: min(calc(100% - 68px), 728px);
  max-width: 728px;
  margin-right: auto;
  margin-left: auto;
  overflow: hidden;
}

.article-reference-card > .article-ad-slot--below-image {
  width: min(calc(100% - 68px), 728px);
}

.article-reference-body > .ad-block {
  width: min(100%, 728px);
  height: 90px;
  min-height: 90px;
  border-style: solid;
  background: #f4f6f8;
}

.article-content .article-ad-slot--inline {
  box-sizing: border-box;
  display: block;
  width: min(100%, 728px);
  min-width: 0;
  max-width: 728px;
  padding: 0;
  overflow: hidden;
  margin-top: 18px;
  margin-bottom: 18px;
}

.article-content .article-ad-slot--inline > div {
  box-sizing: border-box;
  width: 100%;
  min-height: 90px;
  height: 90px;
  border: 1px solid #e0e6ec;
  border-radius: 4px;
  overflow: hidden;
  background: #f4f6f8;
}

.article-content .article-ad-slot--inline > div > img,
.article-content .article-ad-slot--inline > div > iframe,
.article-content .article-ad-slot--inline > div > ins,
.article-content .article-ad-slot--inline iframe,
.article-content .article-ad-slot--inline ins {
  display: block !important;
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 728px !important;
  height: 90px !important;
  min-height: 90px !important;
  max-height: 90px !important;
  margin: 0 auto !important;
  object-fit: contain;
}

@media (max-width: 600px) {
  .article-page .article-ad-slot--top { width: calc(100% - 32px); }
  .article-reference-card > .article-ad-slot--below-image { width: calc(100% - 40px); }
}

/* Padrão compacto e alinhado das páginas internas de matéria */
.article-header--reference .share-links {
  align-items: center;
  flex-wrap: nowrap;
}

.article-header--reference .share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.article-header--reference .share-link__icon {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-800);
  color: #fff;
  font: 850 .67rem/1 Arial, sans-serif;
}

.article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.article-tags h2 { margin: 0 4px 0 0; }
.article-tags > div { display: contents; }
.article-tags a { border-radius: 999px; }

@media (max-width: 760px) {
  .article-reference-meta {
    width: 100%;
    gap: 14px;
  }

  .article-header--reference .article-share {
    width: 100%;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
  }

  .article-header--reference .article-share .share-links {
    display: flex;
    width: auto;
    gap: 7px;
  }

  .article-header--reference .share-links a,
  .article-header--reference .share-links button {
    flex: 0 0 34px;
    width: 34px;
    min-width: 34px;
    min-height: 34px;
    padding: 0;
    border-radius: 50%;
  }

  .article-header--reference .share-link__icon {
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
  }

  .article-header--reference .share-link__label { display: none; }

  /* Cada anúncio acompanha a largura editorial, sem invadir a tela ou a lateral. */
  .article-page > .qg-managed-ad.article-ad-slot--top,
  .article-page .article-ad-slot--top {
    width: calc(100% - 40px) !important;
    max-width: 728px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .article-reference-card > .qg-managed-ad.article-ad-slot--below-image,
  .article-reference-card > .article-ad-slot--below-image {
    width: calc(100% - 40px) !important;
    max-width: 728px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .article-reference-body > .qg-managed-ad,
  .article-reference-body > .ad-block,
  .article-content .qg-managed-ad.article-ad-slot--inline,
  .article-content .article-ad-slot--inline {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .article-tags {
    margin: 24px 0;
    padding: 16px 0;
    gap: 7px;
  }

  .article-tags h2 { font-size: .7rem; }
  .article-tags a { padding: 6px 10px; }
}

/* Recorte editorial uniforme para imagens de listagem e destaque */
:is(
  .card-overlay .media-link,
  .cover-briefs article > a,
  .cover-grid article > a,
  .home-video-strip__thumb,
  .category-news-feature > a,
  .category-news-mini > a,
  .brazil-side-card > a,
  .category-portal__lead .media-link,
  .category-latest-card > a,
  .category-special__grid article > a,
  .archive-feature__media,
  .archive-card__media,
  .topic-card__media,
  .search-latest article > a,
  .article-side-category article > a,
  .related-news .news-card > a,
  .compact-card > a
) {
  overflow: hidden;
  background: var(--soft) url("assets/images/cidade.svg") center top / cover no-repeat;
}

:is(
  .card-overlay .media-link,
  .cover-briefs article > a,
  .cover-grid article > a,
  .home-video-strip__thumb,
  .category-news-feature > a,
  .category-news-mini > a,
  .brazil-side-card > a,
  .category-portal__lead .media-link,
  .category-latest-card > a,
  .category-special__grid article > a,
  .archive-feature__media,
  .archive-card__media,
  .topic-card__media,
  .search-latest article > a,
  .article-side-category article > a,
  .related-news .news-card > a,
  .compact-card > a
) > img,
.home-video-strip__thumb > span > img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}

.article-reference-card > .article-featured > img {
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
}

/* Altura compacta e estável da capa principal */
@media (min-width: 761px) {
  .hero-grid { align-items: stretch; }
  .lead-story {
    height: 410px;
    min-height: 410px;
  }
  .hero-side {
    height: 410px;
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }
  .side-story {
    height: auto;
    min-height: 0;
  }
}

/* Quadro Geral — aplicação final sobre a base do Coletivo */
:root {
  --blue-950: #052b2e;
  --blue-900: #07383b;
  --blue-800: #075153;
  --blue-700: #087b78;
  --blue-600: #079a94;
  --blue-500: #13aaa3;
  --blue-100: #e6f5f3;
  --sky: #56d3c9;
  --ink: #172225;
  --line: #dbe2e1;
  --soft: #f3f6f5;
  --radius: 6px;
}
.top-strip { background: #11191c; }
.top-strip__label { background: var(--blue-500); color: #052b2e; }
.header-main { height: 96px; }
.quadro-brand .brand__text strong { font-size: clamp(2rem, 4vw, 3rem); color: var(--ink); }
.quadro-brand .brand__text strong em { color: var(--blue-600); }
.quadro-brand .brand__text small { color: #526064; }
.desktop-nav { background: var(--blue-950); }
.desktop-nav a { text-transform: uppercase; color: rgba(255,255,255,.95); }
.desktop-nav a::after { background: var(--sky); }
.overlay-gradient { background: linear-gradient(180deg, rgba(3,25,27,.01) 18%, rgba(3,25,27,.94) 100%); }
.site-footer, .video-section { background: #061f22; }
.newsletter { background: var(--blue-900); }
.site-footer { border-top: 4px solid var(--blue-500); }
.brand--footer .brand__text strong { color: #fff; }
@media (max-width: 760px) {
  .header-main { height: 78px; }
  .quadro-brand .brand__text strong { font-size: 1.55rem; }
}
