/* Network F5 Modelo 12 — estilos do portal. Medidas, fontes e espaçamentos conferidos com o layout original em Elementor.
   As cores vêm das variáveis geradas pelo painel (inc/setup.php). */
@font-face {
    font-family: "Roboto";
    src: url("../fonts/roboto-latin.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --f5-primary: #104fff;
    --f5-secondary: #1f2085;
    --f5-topbar-bg: #104fff;
    --f5-topbar-text: #fff;
    --f5-cta: #f0de27;
    --f5-header-bg: #fff;
    --f5-nav-bg: #ebebeb;
    --f5-menu-text: #000;
    --f5-menu-hover: #61ce70;
    --f5-bg: #fff;
    --f5-text: #222;
    --f5-article-text: #7a7a7a;
    --f5-badge: #f18e41;
    --f5-ad-bg: #f5f5f5;
    --f5-videos-bg: #1f2085;
    --f5-videos-bg-end: #080925;
    --f5-slider-bg: #333;
    --f5-drawer-bg: #fff;
    --f5-drawer-link: #535353;
    --f5-drawer-link-hover: #104fff;
    --f5-drawer-backdrop: rgba(0, 0, 0, .8);
    --f5-footer-bg: #104fff;
    --f5-footer-bottom-bg: #1f2085;
    --f5-footer-text: #fff;
    --f5-radius: 10px;
    --f5-width: 1300px;
    --f5-logo-width: 260px;
    --f5-logo-mobile: 205px;
    --f5-drawer-logo-width: 150px;
    --m12-line: rgba(184, 184, 184, .29);
    --m12-rule: #e5e5e5;
    /* No layout original os arquivos de fonte não carregam e o navegador usa a fonte sem serifa do aparelho
       (Arial no Windows). É esse o padrão aqui; a opção “Roboto” do painel troca a variável abaixo. */
    --m12-font: sans-serif;
    --m12-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--f5-bg); color: #333; font-family: var(--m12-system); font-size: 16px; font-weight: 400; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, video, iframe { max-width: 100%; }
img { height: auto; border: 0; vertical-align: middle; }
a { color: var(--f5-primary); text-decoration: none; }
a:hover { text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--m12-font); }
p { margin: 0 0 14.4px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--f5-primary); outline-offset: 2px; }
.is-dark :focus-visible, .m12-topbar :focus-visible, .m12-footer :focus-visible { outline-color: #fff; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--f5-width); margin: 0 auto; padding: 0 10px; }
.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: absolute; left: -9999px; top: 0; z-index: 10000; padding: 10px 16px; background: #000; color: #fff; }
.skip-link:focus { left: 10px; top: 10px; }

/* ====================== Cabeçalho ====================== */
.m12-topbar { background: var(--f5-topbar-bg); color: var(--f5-topbar-text); font-family: var(--m12-font); font-size: 15px; font-weight: 500; }
.m12-topbar .container { display: grid; grid-template-columns: 433fr 606fr 256fr; align-items: center; min-height: 46px; padding: 0 5px 0 0; }
.m12-topbar a { color: inherit; }
.m12-topbar-date { padding-left: 22px; }
.m12-date { display: inline-flex; align-items: center; gap: 4px; font-family: var(--m12-system); font-size: 16px; font-weight: 400; line-height: 24px; }
.m12-date svg { flex: none; }
.m12-inline-menu { display: flex; flex-wrap: wrap; justify-content: center; margin: 0; padding: 0; list-style: none; }
.m12-inline-menu a { display: block; padding: 13px 20px; line-height: 20px; }
.m12-inline-menu a:hover { opacity: .85; }
.m12-topbar-nav { padding-right: 10px; }
.m12-topbar-nav .m12-inline-menu { justify-content: flex-end; }
.m12-topbar-cta { padding-right: 10px; text-align: right; line-height: 16px; }
.m12-topbar-cta a { color: var(--f5-cta); font-size: 16px; font-weight: 600; line-height: 16px; }
.m12-topbar-cta a:hover { text-decoration: underline; }

.m12-brand { background: var(--f5-header-bg); }
.m12-brand .container { display: grid; grid-template-columns: 283px 291px minmax(0, 1fr); align-items: center; min-height: 135px; }
.logo { display: inline-flex; align-items: center; padding: 0; font-family: var(--m12-font); font-weight: 700; font-size: 62px; line-height: 58px; letter-spacing: -2px; color: #000; }
.logo .f5-custom-logo { width: var(--f5-logo-width); max-width: 100%; height: auto; max-height: 96px; object-fit: contain; }
.logo.is-placeholder-logo span:first-child { color: var(--f5-primary); }
.logo .f5-text-logo { font-size: 34px; letter-spacing: 0; color: var(--f5-primary); }
.m12-mobile-btn { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: #000; }

.m12-weather { display: grid; grid-template-columns: auto auto; grid-template-areas: "city city" "icon now"; justify-content: center; align-content: center; align-items: center; column-gap: 40px; row-gap: 0; height: 115px; padding: 0 10px; color: #000; font-family: var(--m12-font); }
.m12-weather-city { grid-area: city; justify-self: center; font-size: 13px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.m12-weather-icon { grid-area: icon; display: flex; }
.m12-weather-icon svg { width: 64px; height: 64px; }
.m12-weather-now { grid-area: now; display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.m12-weather-now b { font-size: 27px; font-weight: 400; }
.m12-weather-now small { margin-top: 4px; font-size: 12px; color: #333; }

.m12-brand-ad { min-width: 0; padding: 0 9px 0 10px; }

.m12-navbar { background: var(--f5-nav-bg); font-family: var(--m12-font); }
.m12-navbar.is-sticky { position: sticky; top: 0; z-index: 99; }
.admin-bar .m12-navbar.is-sticky { top: 32px; }
.m12-navbar .container { display: flex; align-items: center; min-height: 59px; }
.m12-menu-btn { display: inline-flex; align-items: center; gap: 17px; flex: none; width: 129px; margin: 0; padding: 0; border: 0; background: none; color: #000; font-size: 15px; font-weight: 600; line-height: 15px; }
.m12-menu-icon { display: flex; align-items: center; justify-content: center; width: 33px; height: 33px; border-radius: 3px; background: rgba(0, 0, 0, .05); color: #33373d; }
.m12-menu-icon svg { width: 22px; height: 22px; stroke-width: 2.2; }
.m12-menu-btn:hover .m12-menu-icon { background: rgba(0, 0, 0, .12); }
.m12-nav { flex: 1; min-width: 0; padding: 0 10px; }
.m12-nav-list { display: flex; flex-wrap: wrap; justify-content: center; margin: 0; padding: 0; list-style: none; }
.m12-nav-list > li { position: relative; }
.m12-nav-list a { position: relative; display: block; padding: 13px 9px; color: var(--f5-menu-text); font-size: 14px; font-weight: 700; line-height: 20px; text-transform: uppercase; white-space: nowrap; transition: color .2s; }
.m12-nav-list > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--f5-menu-hover); opacity: 0; transition: opacity .2s; }
/* Como no original, o item “Início” não fica marcado na página inicial; as editorias ficam quando estão abertas. */
.m12-nav-list a:hover, .m12-nav-list a:focus-visible, .m12-nav-list > .current-menu-item:not(.menu-item-home) > a, .m12-nav-list > .current-menu-parent > a { color: var(--f5-menu-hover); }
.m12-nav-list > li > a:hover::after, .m12-nav-list > li > a:focus-visible::after, .m12-nav-list > .current-menu-item:not(.menu-item-home) > a::after, .m12-nav-list > .current-menu-parent > a::after { opacity: 1; }
.m12-nav-list .sub-menu { position: absolute; left: 0; top: 100%; z-index: 100; display: none; min-width: 210px; margin: 0; padding: 6px 0; list-style: none; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .16); }
.m12-nav-list li:hover > .sub-menu, .m12-nav-list li:focus-within > .sub-menu { display: block; }
.m12-nav-list .sub-menu a { padding: 9px 16px; font-weight: 600; text-transform: none; }
.m12-nav-list .sub-menu a:hover { background: #f3f3f3; }
.m12-search { display: flex; align-items: center; flex: none; width: 189px; height: 39px; margin: 0 6px 0 22px; border-radius: 4px; background: #b6b6b9; overflow: hidden; }
.m12-search input { flex: 1; min-width: 0; height: 100%; padding: 0 11px; border: 0; outline-offset: -2px; background: transparent; color: #000; font-family: var(--m12-font); font-size: 15px; }
.m12-search input::placeholder { color: #000; opacity: .75; }
.m12-search input::-webkit-search-cancel-button { display: none; }
.m12-search button { display: flex; align-items: center; justify-content: center; width: 34px; height: 100%; padding: 0; border: 0; background: transparent; color: var(--f5-primary); }
.m12-search button svg { width: 18px; height: 18px; stroke-width: 3; }
.m12-mobile-search { padding: 0 0 12px; background: var(--f5-header-bg); }

/* Menu lateral */
.m12-drawer { position: fixed; inset: 0 auto 0 0; width: 260px; max-width: 86vw; height: 100%; max-height: none; margin: 0; padding: 60px 10px 20px; border: 0; background: var(--f5-drawer-bg); color: var(--f5-drawer-link); font-family: var(--m12-font); box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, .2); overflow-y: auto; }
.m12-drawer[open] { animation: m12-slide-in .28s ease-out; }
.m12-drawer::backdrop { background: var(--f5-drawer-backdrop); }
@keyframes m12-slide-in { from { transform: translateX(-100%); } to { transform: none; } }
.m12-drawer-close { position: absolute; top: 14px; right: 14px; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; background: none; color: #333; }
.m12-drawer-logo { padding: 0 6px 16px; }
.m12-drawer-logo .f5-custom-logo { width: var(--f5-drawer-logo-width); height: auto; }
.m12-drawer-menu, .m12-drawer-menu ul { margin: 0; padding: 0; list-style: none; }
.m12-drawer-menu a { display: block; padding: 8px 6px; color: var(--f5-drawer-link); font-size: 18px; font-weight: 300; line-height: 19px; }
.m12-drawer-menu a:hover, .m12-drawer-menu .current-menu-item > a { color: var(--f5-drawer-link-hover); }
.m12-drawer-menu ul a { padding-left: 20px; font-size: 16px; }
.m12-drawer-divider { height: 0; margin: 33px 0; border: 0; border-top: 1px solid #e3e3e3; }
.m12-drawer-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.m12-drawer-social a { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 10%; background: var(--f5-primary); color: #fff; }
.m12-drawer-social svg { width: 14px; height: 14px; }

/* ====================== Publicidade ====================== */
.advert { display: block; margin: 0; text-align: center; line-height: 0; }
.advert .ad-label { display: block; height: 15px; margin: 0 0 5px; color: #929292; font-family: var(--m12-font); font-size: 15px; font-weight: 300; line-height: 15px; text-transform: uppercase; }
.advert .f5-ad-content { display: block; margin: 0 auto; max-width: 100%; line-height: 0; }
.advert .f5-ad-content > * { max-width: 100%; }
.advert img { max-width: 100%; height: auto; }
.advert iframe, .advert ins { max-width: 100%; }
.m12-ad-wide .f5-ad-content, .m12-ad-header .f5-ad-content { max-width: 970px; }
.m12-ad-square .f5-ad-content { max-width: 300px; }
/* Faixa de anúncio: 10 px da seção + 10 px da coluna, como no layout original (210 px com o banner e o rótulo). */
.m12-ad-band { padding: 20px 0; background: var(--f5-ad-bg); }
.m12-ad-band--top { padding: 30px 0; background: rgba(238, 238, 238, .52); }
.m12-house-ad { container-type: inline-size; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1cqw; width: 100%; color: #fff; font-family: var(--m12-font); font-weight: 900; line-height: 1; text-align: center; text-transform: uppercase; overflow: hidden; }
.m12-house-ad:hover { color: #fff; filter: brightness(1.06); }
.m12-house-ad strong { font-size: 5.4cqw; font-weight: 900; letter-spacing: .2cqw; }
.m12-house-ad span { font-size: 3.4cqw; font-weight: 900; letter-spacing: .15cqw; }
.m12-house-ad em { margin-top: .6cqw; font-size: 1.7cqw; font-style: normal; font-weight: 600; opacity: .9; }
.m12-house-ad--wide { aspect-ratio: 970 / 150; background: linear-gradient(90deg, #5fdde5 0%, #2f8fd6 46%, #0b4fbf 100%); }
.m12-house-ad--square { aspect-ratio: 1; gap: 3cqw; background: linear-gradient(135deg, #e02121 0%, #b00707 100%); }
.m12-house-ad--square strong { font-size: 12cqw; }
.m12-house-ad--square span { font-size: 8cqw; }
.m12-house-ad--video { aspect-ratio: 16 / 9; gap: 3cqw; border-radius: var(--f5-radius); background: #000; }
.m12-house-ad--video strong { font-size: 10cqw; }
.m12-house-ad--video span { font-size: 6cqw; opacity: .8; }

/* ====================== Peças comuns ====================== */
/* Linha divisória: 20 px + 5 px (linha de 1,3 px com 2 px de respiro) + 20 px, como o widget do layout original. */
.m12-divider { height: 0; margin: 22px 0 21.7px; border: 0; border-top: 1.3px solid var(--m12-rule); }
.m12-divider--flush { margin: 2px 0 1.7px; }
.is-dark .m12-divider { border-top-color: rgba(255, 255, 255, .2); }
/* Título de seção: 38 px em caixa alta (42 px de altura) + linha de 5 px até o fim da largura. */
.m12-heading { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 2px 0; }
.m12-heading h1, .m12-heading h2, .m12-heading h3 { flex: none; max-width: 100%; color: var(--m12-heading, var(--f5-primary)); font-family: var(--m12-font); font-size: var(--m12-heading-size, 38px); font-weight: 900; line-height: 1; text-transform: uppercase; }
.m12-heading a { color: inherit; }
.m12-heading-line { flex: 1; min-width: 20px; height: 5px; background: var(--m12-line); }
.is-dark .m12-heading h1, .is-dark .m12-heading h2, .is-dark .m12-heading h3 { color: var(--m12-heading, #fff); }

.m12-thumb { position: relative; display: block; overflow: hidden; border-radius: var(--f5-radius); background: #e9e9e9; aspect-ratio: 303 / 200; }
.m12-thumb img, .m12-thumb .f5-image-placeholder { width: 100%; height: 100%; object-fit: cover; }
.f5-image-placeholder { display: flex; align-items: center; justify-content: center; color: #b9b9b9; }
.m12-play { position: absolute; left: 10px; bottom: 10px; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(0, 0, 0, .65); color: #fff; }
/* Os blocos empilham as peças em coluna flex: as margens somam (sem se fundirem), como os widgets do layout original. */
.m12-hero-aside, .m12-latest-grid > *, .m12-main-col, .m12-duo-box, .m12-sidebar, .m12-strip > .container, .m12-latest > .container, .m12-webtv > .container, .m12-section > .container, .m12-carousel-block > .container { display: flex; flex-direction: column; }
.m12-card { display: flow-root; }
.m12-card h3 { margin: 10px 0 6px; font-family: var(--m12-font); font-size: 22px; font-weight: 700; line-height: 1.2; }
.m12-card h3 a, .m12-item h3 a { color: var(--m12-card-title, var(--f5-text)); }
.is-dark .m12-card h3 a, .is-dark .m12-item h3 a { color: var(--m12-card-title, #fff); }

/* Grade de cartões: 15 px entre eles e 10 px de respiro abaixo, como o widget de posts do original. */
.m12-grid { display: grid; gap: 15px; margin-bottom: 10px; }
.m12-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.m12-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.m12-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.m12-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.m12-cols-5 .m12-card h3 { font-size: 18px; }

.m12-list { display: grid; gap: 27px 30px; }
.m12-item { display: grid; grid-template-columns: 43% minmax(0, 1fr); gap: 10px; align-items: start; }
.m12-item .m12-thumb { aspect-ratio: 175 / 108; }
.m12-list.m12-cols-2 .m12-thumb { aspect-ratio: 186 / 116; }
.m12-item-text { min-width: 0; padding-right: 10px; }
.m12-item h3 { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; margin: 0 0 3px; font-family: var(--m12-font); font-size: 21px; font-weight: 600; line-height: 1.2; }
.m12-item h3 a { color: var(--m12-card-title, #000); }
.m12-item time { display: block; margin: 0 0 13px; color: #aaafb1; font-family: var(--m12-font); font-size: 12px; line-height: 22.8px; text-transform: uppercase; }
.is-dark .m12-item time { color: rgba(255, 255, 255, .7); }

.m12-block { padding: 0; }
.m12-button, .solid-button, .outline-button { display: inline-block; padding: 12px 24px; border: 2px solid var(--f5-primary); border-radius: 6px; background: var(--f5-primary); color: #fff; font-family: var(--m12-font); font-weight: 700; line-height: 1.2; }
.outline-button { background: transparent; color: var(--f5-primary); }
.m12-button:hover, .solid-button:hover { color: #fff; filter: brightness(1.1); }
.outline-button:hover { background: var(--f5-primary); color: #fff; }

/* ====================== Página inicial ====================== */
.home-page { overflow-x: clip; }

/* Destaque: slider 628 × 500, coluna de 318 e coluna lateral de 309 (com fundo), nas posições do original. */
.m12-hero { margin-top: 27px; padding: 10px 0; }
.m12-hero-grid { display: grid; grid-template-columns: 628fr 19fr 318fr 11fr 309fr; align-items: start; margin-right: -5px; }
.m12-slider { grid-column: 1; position: relative; height: 500px; overflow: hidden; background: #111; }
.m12-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.m12-slide.is-active { opacity: 1; visibility: visible; }
.m12-slide a { display: block; height: 100%; color: #fff; font-family: var(--m12-system); }
.m12-slide img, .m12-slide .f5-image-placeholder { width: 100%; height: 100%; object-fit: cover; }
.m12-slide-badge { position: absolute; top: 0; right: 0; padding: 4px 8px; background: var(--f5-badge); color: #fff; font-size: 15px; line-height: 15px; text-transform: uppercase; }
.m12-slide-caption { position: absolute; left: 0; bottom: 16px; width: 75%; padding: 24px 4px; background: rgba(34, 34, 34, .6); }
.m12-slide-caption strong { display: block; padding: 0 12px; font-size: 22px; font-weight: 700; line-height: 1.2; }
.m12-slider-nav { position: absolute; top: 50%; z-index: 2; display: flex; align-items: center; justify-content: center; width: 33px; height: 33px; margin-top: -16px; padding: 0; border: 0; background: none; color: #fff; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); }
.m12-slider-nav svg { width: 25px; height: 25px; stroke-width: 3.4; }
.m12-slider-prev { left: 6px; }
.m12-slider-next { right: 6px; }
.m12-hero-side { grid-column: 3; display: grid; gap: 9px; }
.m12-card--side .m12-thumb { aspect-ratio: 318 / 169; }
.m12-card--side h3 { margin-top: 11px; font-size: 18px; }
.m12-hero-aside { grid-column: 5; align-self: stretch; margin: -10px 0; padding: 10px; background: rgba(240, 240, 240, .33); }
.m12-hero-aside .m12-video, .m12-hero-aside > .advert:first-child { margin-bottom: 20px; }
.m12-hero-aside .m12-divider { margin: 2px 0 21.7px; }

.m12-video { position: relative; overflow: hidden; border-radius: var(--f5-radius); background: #000; aspect-ratio: 16 / 9; }
.m12-video > img, .m12-video > .f5-image-placeholder { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.m12-video iframe, .m12-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.m12-video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; width: 100%; padding: 0; border: 0; background: transparent; color: #fff; }
.m12-video-play svg { width: 68px; height: 48px; padding: 9px 22px; border-radius: 12px; background: #f00; }
.m12-video-play:hover svg { background: #c00; }

/* Faixa de 5 chamadas: linha a 10 px do topo e cartões 20 px abaixo dela. */
.m12-strip { padding: 10px 0; }
.m12-strip .m12-divider { margin: 2px 0 21.7px; }

/* Últimas notícias: título em uma faixa própria (62 px) e três colunas de 553, 408 e 330 px com 15 px de respiro. */
.m12-latest { padding: 10px 0 35px; }
.m12-latest > .container > .m12-heading { margin-bottom: 10px; }
.m12-latest-grid { display: grid; grid-template-columns: 553fr 408fr 330fr; align-items: start; margin: 0 -1px 0 -10px; }
.m12-latest-grid.no-side { grid-template-columns: 553fr 738fr; }
.m12-latest-grid > * { min-width: 0; padding: 15px; }
.m12-card--lead h3 { font-size: 25px; }
.m12-card--lead + .m12-divider, .m12-latest-b .m12-card + .m12-divider { margin-top: 32px; }
.m12-latest-a .m12-cols-2 .m12-card h3 { font-size: 18px; }
.m12-latest-b .m12-card + .m12-card { margin-top: 15px; }
.m12-latest-b .m12-divider { border-top: 1px solid #dbd8d8; margin-bottom: 22px; }
.m12-card--wide .m12-thumb { aspect-ratio: 2 / 1; }
.m12-card--wide h3 { font-size: 19px; }
.m12-item--lg { grid-template-columns: 40% minmax(0, 1fr); }
.m12-item--lg .m12-thumb { aspect-ratio: 4 / 3; }
.m12-item--lg .m12-item-text { padding-top: 18px; }
.m12-item--lg h3 { font-size: 19px; }
.m12-latest-side { align-self: stretch; background: #f8f8f8; }
.m12-latest-side .m12-item { margin-bottom: 18px; }
.m12-latest-side .m12-item:last-of-type { margin-bottom: 0; }
.m12-item--sm { grid-template-columns: 40% minmax(0, 1fr); }
.m12-item--sm .m12-thumb { aspect-ratio: 4 / 3; }
.m12-item--sm .m12-item-text { padding-top: 11px; }
.m12-item--sm h3 { margin-bottom: 12px; font-size: 18px; }

/* Web TV: 50 px de respiro + 10 da coluna; vídeos de 393 px com o título 20 px abaixo. */
.m12-webtv { padding: 60px 0; background: linear-gradient(180deg, var(--f5-videos-bg) 0%, var(--f5-videos-bg-end) 100%); }
.m12-webtv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding: 20px 10px; }
.m12-webtv-item h3 { margin: 20px 0 0; font-family: var(--m12-font); font-size: 20px; font-weight: 600; line-height: 25px; }
.m12-webtv-item h3 a { color: var(--m12-card-title, #fff); }
.m12-webtv .portal-pagination { margin-top: 30px; }

/* Editorias. O espaço acima e o espaço interno de cada bloco vêm do painel (estilo inline). */
.m12-section { margin-top: 25px; padding: 10px 0; }
.m12-section:not(.has-bg) + .m12-ad-band { margin-top: 25px; }
.m12-bg-primary .m12-heading { padding: 15px 0; }
.m12-separator { margin-top: 25px; padding: 20px 0; }
.m12-separator .m12-divider { margin: 2px 25px 1.7px; }

.m12-with-aside { display: grid; grid-template-columns: 917fr 353fr; align-items: start; padding-right: 10px; }
.m12-main-col { min-width: 0; padding: 10px; }
.m12-popular { align-self: stretch; padding: 15px; background: #f8f8f8; }
.m12-popular h2 { margin: 0 0 20px; padding: 5px 0 15px 10px; border-bottom: 2px solid #000; font-family: var(--m12-font); font-size: 35px; font-weight: 900; line-height: 1; }
.m12-popular h2 a { color: #000; }
.m12-popular ol { margin: 0; padding: 0; list-style: none; font-family: Arial, sans-serif; }
.m12-popular li { display: flex; align-items: flex-start; margin-bottom: 20px; }
.m12-popular li:last-child { margin-bottom: 0; }
.m12-rank { flex: none; min-width: 40px; margin-right: 10px; color: #999; font-size: 36px; font-weight: 700; line-height: 1.5; }
.m12-popular li a { color: var(--f5-primary); font-size: 18px; font-weight: 700; line-height: 1.3; }
.m12-popular li div { line-height: 1.3; }
.m12-popular small { display: block; margin: 5px 0 0; color: var(--f5-secondary); font-size: 14px; line-height: 1.5; }

.m12-feature-row { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; }
.m12-feature-row.has-ad { grid-template-columns: 959fr 321fr; }
.m12-feature-row > .m12-grid { padding: 10px; }
.m12-feature-ad { padding: 10px; }
.m12-feature-row + .m12-divider { margin-top: 2px; }
.m12-section--cards_3_anuncio_lista > .container > .m12-grid.m12-cols-3, .m12-section--cards_3_cards_4 > .container > .m12-grid.m12-cols-3 { padding: 10px; }
.m12-section--cards_3_anuncio_lista > .container > .m12-grid.m12-cols-3 + .m12-divider, .m12-section--cards_3_cards_4 > .container > .m12-grid.m12-cols-3 + .m12-divider { margin-top: 2px; }
.m12-section--cards_3_anuncio_lista .m12-cols-3 .m12-card h3 { font-size: 23px; }
.m12-section--cards_3_cards_4 .m12-divider { border-top: 1px solid #dbd8d8; }
/* Fundos escuros personalizados (ex.: Esportes): títulos de 20 px e imagem mais próxima do título. */
.m12-bg-color.is-dark .m12-card h3, .m12-duo-box .m12-card h3 { margin-top: 5px; font-size: 20px; }
.m12-widget { line-height: 0; }
.m12-widget iframe { width: 100%; }

/* Bloco duplo: dois quadros com borda branca de 1 px e 15 px de respiro. */
.m12-duo { margin-top: 25px; padding: 10px 0 35px; }
.m12-duo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 0 20px 0 15px; }
.m12-duo-box { padding: 15px; border: 1px solid #fff; background: var(--f5-secondary); }
.m12-duo-box h2 { margin: 0 0 20px; padding: 5px 0 0 10px; border-bottom: 2px solid currentColor; color: var(--m12-heading, #000); font-family: var(--m12-font); font-size: var(--m12-heading-size, 35px); font-weight: 900; line-height: 1; text-transform: uppercase; }
.m12-duo-box.is-dark h2 { color: var(--m12-heading, #fff); }
.m12-duo-box h2 a { color: inherit; }

/* Carrossel final: 5 cartões de 232 px, setas de 25 px nas laterais. */
.m12-carousel-block { padding: 50px 0; background: var(--f5-slider-bg); }
.m12-carousel-block .m12-heading { padding: 10px 0; }
.m12-carousel { position: relative; padding: 0 30px; font-family: var(--m12-system); }
.m12-carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 5); gap: 15px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.m12-carousel-track::-webkit-scrollbar { display: none; }
.m12-carousel-item { scroll-snap-align: start; min-width: 0; min-height: 311px; }
.m12-carousel-item .m12-thumb { border-radius: 0; aspect-ratio: 232 / 190; }
.m12-carousel-badge { position: absolute; top: 0; left: 0; padding: 4px 8px; background: #000; color: #fff; font-size: 12px; line-height: 12px; text-transform: uppercase; }
.m12-carousel-item h3 { margin: 12px 0 0; font-family: var(--m12-system); font-size: 17px; font-weight: 500; line-height: 21.12px; }
.m12-carousel-item h3 a { color: var(--m12-card-title, #fff); }
.m12-carousel-nav { position: absolute; top: 50%; display: flex; align-items: center; justify-content: center; width: 25px; height: 25px; margin-top: -12px; padding: 0; border: 0; background: none; color: #fff; }
.m12-carousel-nav svg { stroke-width: 3; }
.m12-carousel-prev { left: 0; }
.m12-carousel-next { right: 0; }

/* ====================== Matéria ====================== */
.m12-article-page > .container, .m12-article-header .container, .m12-read-more .container, .m12-listing-page .container, .m12-page .container { max-width: calc(var(--f5-width) - 50px); }
/* Título a 33 px do topo (48/48, fonte do sistema); quadro de informações 76 px abaixo, com 46 px de altura. */
.m12-article-header { padding: 33px 0 0; text-align: center; }
.m12-article-header h1 { margin: 0; padding: 0 10px; color: #000; font-family: var(--m12-system); font-size: 48px; font-weight: 700; line-height: 48px; }
.m12-article-subtitle { max-width: 900px; margin: 12px auto -8px; padding: 0 10px; color: #555; font-family: var(--m12-font); font-size: 20px; line-height: 1.4; }
.m12-post-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 16px; margin: 76px -10px 25px; padding: 10px; border: 1px solid #e0e0e0; border-radius: 10px; list-style: none; color: #919191; font-family: var(--m12-font); font-size: 16px; line-height: 24px; }
.m12-post-info li, .m12-post-info a { display: inline-flex; align-items: center; gap: 5px; color: inherit; }
.m12-post-info a:hover { color: var(--f5-primary); }
.m12-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 359px; align-items: start; margin: 0 -10px; }
.m12-article--modelo_02 .m12-article-layout { grid-template-columns: minmax(0, 891px); justify-content: center; }
.m12-article-main { min-width: 0; padding: 20px; }
.m12-article-photo { margin: 0 0 20px; }
.m12-article-photo img { display: block; width: 100%; border-radius: var(--f5-radius); }
.m12-article-photo figcaption { margin-top: 0; color: rgba(122, 122, 122, .7); font-family: var(--m12-font); font-size: 12px; font-style: italic; line-height: 16.8px; text-align: right; }
.m12-article-photo figcaption a { color: inherit; text-decoration: underline; }
.m12-article-video { margin: 0 0 20px; }
.f5-embed { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--f5-radius); background: #000; }
.f5-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-player { display: block; width: 100%; border-radius: var(--f5-radius); background: #000; }
.m12-article-ad { margin: 0 0 20px; }
.m12-article-ad .ad-label, .m12-sidebar .ad-label { height: 18px; margin-bottom: 5px; color: #c0c0c0; font-size: 18px; line-height: 18px; text-transform: lowercase; }
.m12-sidebar .ad-label { margin-bottom: 9px; }
.m12-article-body { color: var(--f5-article-text); font-family: var(--m12-font); font-size: 18px; line-height: 1.5; overflow-wrap: break-word; }
.m12-article-body p { margin: 0 0 14.4px; }
.m12-article-body h2, .m12-article-body h3, .m12-article-body h4 { margin: 8px 0 16px; font-weight: 500; line-height: 1.2; }
.m12-article-body h2 { font-size: 32px; }
.m12-article-body h3 { font-size: 28px; }
.m12-article-body h4 { font-size: 24px; }
.m12-article-body a { color: var(--f5-primary); text-decoration: underline; }
.m12-article-body img { border-radius: var(--f5-radius); }
.m12-article-body figure { margin: 22px 0; }
.m12-article-body figcaption { margin-top: 6px; font-size: 13px; color: #8a8a8a; }
.m12-article-body blockquote { margin: 22px 0; padding: 14px 22px; border-left: 4px solid var(--f5-primary); background: #f6f8ff; color: #444; }
.m12-article-body ul, .m12-article-body ol { margin: 0 0 16px; padding-left: 26px; }
.m12-article-body table { width: 100%; margin: 20px 0; border-collapse: collapse; font-size: 16px; }
.m12-article-body th, .m12-article-body td { padding: 8px 10px; border: 1px solid #e3e3e3; text-align: left; }
.m12-article-body iframe { max-width: 100%; }
.f5-content-pages { margin: 20px 0; font-weight: 600; }
.m12-article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 20px 0; font-family: var(--m12-font); }
.m12-article-tags span { color: #666; font-size: 14px; font-weight: 600; text-transform: uppercase; }
.m12-article-tags a { padding: 5px 12px; border-radius: 20px; background: #f1f1f1; color: #444; font-size: 14px; }
.m12-article-tags a:hover { background: var(--f5-primary); color: #fff; }
.m12-share-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0 0; padding: 10px; background: rgba(244, 244, 244, .15); }
.m12-share-bar strong { color: #000; font-family: var(--m12-font); font-size: 21px; font-weight: 600; line-height: 1; text-transform: uppercase; }
.m12-share-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.m12-share { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 4px; background: #aaa; color: #fff; }
.m12-share:hover { color: #fff; filter: brightness(.9); }
.m12-share--facebook { background: #3b5998; }
.m12-share--twitter { background: #1da1f2; }
.m12-share--pinterest { background: #bd081c; }
.m12-share--email { background: #ea4335; }
.m12-share--whatsapp { background: #25d366; }
.m12-share-bar + .m12-article-ad { margin-top: 0; padding: 10px; background: rgba(244, 244, 244, .15); }
.m12-author-box { display: flex; gap: 18px; margin: 26px 0 0; padding: 20px; border: 1px solid #ececec; border-radius: var(--f5-radius); font-family: var(--m12-font); }
.m12-author-avatar { flex: none; }
.m12-author-avatar img, .m12-author-avatar .f5-avatar-initials { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.f5-avatar-initials { display: flex; align-items: center; justify-content: center; background: var(--f5-primary); color: #fff; font-size: 32px; font-weight: 700; }
.m12-author-label { color: #888; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.m12-author-box h2 { font-size: 22px; }
.m12-author-box h2 a { color: #000; }
.m12-author-role { margin: 2px 0 8px; color: var(--f5-primary); font-size: 14px; font-weight: 600; }
.m12-author-bio { color: #555; font-size: 15px; }
.m12-author-link { font-size: 14px; font-weight: 700; }

/* Barra lateral: anúncio (rótulo 27 px acima), quadro colorido de 10 px de respiro e cantos de 10 px. */
.m12-sidebar { min-width: 0; padding: 20px; border-left: 1px solid #e6e6e6; }
.m12-sidebar .advert { width: 100%; margin-bottom: 20px; }
.m12-side-box { margin: 2px 0 25px; padding: 10px 10px 35px; border-radius: 10px; background: var(--f5-primary); font-family: var(--m12-font); }
.m12-side-box h2 { margin: 0 0 15px; padding: 14px 0 9px; border-bottom: 1px solid #fff; color: #fff; font-size: 30px; font-weight: 600; line-height: 30px; text-transform: uppercase; }
.m12-side-box .m12-item { grid-template-columns: 95px minmax(0, 1fr); gap: 5px; align-items: start; margin-bottom: 15px; }
.m12-side-box .m12-item:last-child, .m12-side-box .m12-card:last-child { margin-bottom: 0; }
.m12-side-box .m12-item .m12-thumb { aspect-ratio: 95 / 62; }
.m12-side-box .m12-item-text { padding-right: 0; }
.m12-side-box .m12-item h3 { -webkit-line-clamp: 3; margin: 0 0 7px; font-size: 15px; font-weight: 500; line-height: 18px; }
.m12-side-box .m12-item h3 a, .m12-side-box .m12-card h3 a { color: #fff; }
.m12-side-box .m12-card { margin-bottom: 15px; }
.m12-side-box .m12-card .m12-thumb { aspect-ratio: 2 / 1; }
.m12-side-box .m12-card h3 { margin: 5px 0 8px; font-size: 18px; font-weight: 500; line-height: 19.8px; }
/* Nas listagens a barra é mais estreita (355 px) e o segundo quadro usa a cor secundária. */
.m12-listing-layout .m12-sidebar { padding: 10px; border-left-color: #dfdfdf; }
.m12-listing-layout .m12-side-box ~ .m12-side-box { background: var(--f5-secondary); }
.f5-widget { font-size: 15px; }
.f5-widget .widget-title { margin: 0 0 12px; font-size: 22px; font-weight: 800; }

.m12-read-more { padding: 35px 0 15px; background: #f5f5f5; }
.m12-read-more h2 { margin: 14px 0 30px; padding: 0 0 9px; border-bottom: 1px solid #e9e8e8; color: #000; font-size: 35px; font-weight: 600; line-height: 35px; text-transform: uppercase; }
.m12-read-more .m12-grid { gap: 15px; margin-bottom: 25px; }
.m12-read-more .m12-card h3 { margin: 5px 0 7px; font-size: 18px; font-weight: 600; line-height: 23.4px; }
.m12-read-more .m12-card h3 a { color: #000; }

/* Relacionadas dentro do texto */
.article-related-inline { margin: 26px 0; padding: 18px; border: 1px solid #ececec; border-radius: var(--f5-radius); background: #fafafa; }
.article-related-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.m12-article-body .article-related-heading h2 { margin: 0; color: #000; font-size: 22px; font-weight: 800; }
.article-related-controls { display: flex; gap: 6px; }
.article-related-controls button { width: 34px; height: 34px; border: 1px solid #d9d9d9; border-radius: 50%; background: #fff; font-size: 20px; line-height: 1; }
.article-related-controls button:disabled { opacity: .4; cursor: default; }
.article-related-viewport { overflow: hidden; }
.article-related-track { display: flex; gap: 16px; transition: transform .3s ease; }
.article-related-card { flex: 0 0 calc(50% - 8px); display: grid; grid-template-columns: 40% minmax(0, 1fr); gap: 10px; align-items: center; }
.article-related-image { display: block; overflow: hidden; border-radius: 8px; aspect-ratio: 4 / 3; }
.article-related-image img { width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
.m12-article-body .article-related-copy a { color: #000; font-size: 16px; font-weight: 700; line-height: 1.25; text-decoration: none; }

/* Comentários */
.f5-comments { margin-top: 30px; padding-top: 24px; border-top: 1px solid #e6e6e6; }
.f5-comments h2, .f5-comments .comment-reply-title { display: block; margin: 0 0 14px; color: #000; font-size: 24px; font-weight: 800; }
.comment-list, .comment-list .children { margin: 0; padding: 0; list-style: none; }
.comment-list .children { padding-left: 28px; }
.comment-body { margin: 0 0 16px; padding: 14px; border: 1px solid #ececec; border-radius: 8px; }
.comment-author img { margin-right: 8px; border-radius: 50%; }
.comment-meta { margin-bottom: 8px; font-size: 14px; }
.comment-form label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 600; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #d5d5d5; border-radius: 6px; background: #fff; }
.comment-form .comment-form-cookies-consent label { display: inline; font-weight: 400; }

/* ====================== Listagens e páginas ====================== */
/* Listagens: 25 px acima e abaixo; coluna principal de 895 px e lateral de 355 px; título 40/47 e linha pontilhada. */
.m12-listing-page { padding: 25px 0; }
.m12-page { padding: 25px 0 40px; }
.m12-listing-layout { display: grid; grid-template-columns: minmax(0, 1fr) 355px; align-items: start; margin: 0 -10px; }
.m12-listing-main { min-width: 0; padding: 10px 10px 30px; }
.m12-listing-title { color: var(--f5-primary); font-family: var(--m12-font); font-size: 40px; font-weight: 600; line-height: 47px; }
.m12-listing-main > .m12-divider, .m12-page-inner > .m12-divider { margin: 11px 0 28px; border-top: 1px dotted #e5e5e5; }
.m12-listing-intro { margin: 10px 0 0; color: #666; font-size: 16px; }
.m12-result-count { margin: 12px 0 0; color: #666; }
.m12-profile { display: flex; gap: 16px; align-items: center; margin-top: 14px; color: #555; }
.m12-profile img, .m12-profile .f5-avatar-initials { flex: none; width: 90px; height: 90px; border-radius: 50%; object-fit: cover; }
.m12-profile-role { margin: 0 0 4px; color: var(--f5-primary); font-weight: 700; }
.m12-listing-list { display: grid; gap: 42px; font-family: var(--m12-font); }
.m12-listing-item { display: grid; grid-template-columns: 39% minmax(0, 1fr); gap: 17px; align-items: start; }
.m12-listing-item .m12-thumb { aspect-ratio: 341 / 218; }
.m12-listing-item > div { padding-right: 10px; }
.m12-listing-item h2 { margin: 0 0 3px; font-size: 28px; font-weight: 700; line-height: 33.6px; }
.m12-listing-item h2 a { color: #000; }
.m12-listing-item p { margin: 0 0 10px; color: #777; font-size: 14px; line-height: 21px; }
.m12-search-form { display: flex; max-width: 520px; margin: 16px 0 0; border: 1px solid #cfcfcf; border-radius: 6px; overflow: hidden; background: #fff; }
.m12-search-form input { flex: 1; min-width: 0; padding: 11px 14px; border: 0; }
.m12-search-form button { display: flex; align-items: center; justify-content: center; width: 50px; border: 0; background: var(--f5-primary); color: #fff; }
.portal-pagination { margin: 36px 0 0; font-family: var(--m12-font); }
.portal-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.portal-pagination a, .portal-pagination span { display: block; min-width: 40px; padding: 9px 13px; border: 1px solid #dcdcdc; border-radius: 6px; background: #fff; color: #333; font-weight: 600; line-height: 1.2; text-align: center; }
.portal-pagination a:hover, .portal-pagination .current { border-color: var(--f5-primary); background: var(--f5-primary); color: #fff; }
.empty-results { padding: 40px 10px; text-align: center; }
.empty-results h2 { margin-bottom: 8px; color: #000; font-size: 24px; }
.empty-results p { color: #666; }
.is-dark .empty-results h2, .is-dark .empty-results p { color: #fff; }
.m12-page-inner { max-width: 960px; }
.m12-page-body { color: #444; }
.m12-contact-details { margin-top: 20px; padding: 16px 20px; border-radius: var(--f5-radius); background: #f6f6f6; }
.m12-contact-details p { margin: 0 0 6px; }

/* Anuncie Aqui / Mídia Kit */
.f5-media-kit-page { font-family: var(--m12-font); }
.f5-media-kit-hero { padding: 54px 0; background: linear-gradient(135deg, var(--f5-primary) 0%, var(--f5-secondary) 100%); color: #fff; }
.f5-media-kit-hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: center; }
.f5-media-kit-eyebrow { display: inline-block; margin-bottom: 10px; font-size: 13px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; opacity: .9; }
.f5-media-kit-hero h1 { font-size: 44px; font-weight: 900; line-height: 1.08; }
.f5-media-kit-subtitle { margin: 14px 0 0; font-size: 19px; opacity: .92; }
.f5-media-kit-actions, .f5-media-kit-contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.f5-media-kit-hero .solid-button { border-color: #fff; background: #fff; color: var(--f5-primary); }
.f5-media-kit-hero .outline-button { border-color: #fff; color: #fff; }
.f5-media-kit-hero .outline-button:hover { background: #fff; color: var(--f5-primary); }
.f5-media-kit-visual { display: flex; flex-direction: column; gap: 12px; padding: 30px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 16px; background: rgba(255, 255, 255, .1); }
.f5-media-kit-visual-label { font-size: 12px; font-weight: 800; letter-spacing: 1.6px; opacity: .8; }
.f5-media-kit-visual strong { font-size: 32px; font-weight: 900; line-height: 1.1; }
.f5-media-kit-content { padding-top: 40px; padding-bottom: 50px; }
.f5-media-kit-intro { max-width: 860px; margin-bottom: 30px; }
.f5-media-kit-intro h2, .f5-media-kit-panel h2, .f5-media-kit-cta h2 { margin-bottom: 10px; color: #000; font-size: 28px; font-weight: 800; line-height: 1.2; }
.f5-media-kit-intro p { color: #555; font-size: 18px; }
.f5-media-kit-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 30px; }
.f5-media-kit-metrics article { padding: 22px; border-radius: 12px; background: #f5f7ff; }
.f5-media-kit-metrics strong { display: block; color: var(--f5-primary); font-size: 22px; font-weight: 900; }
.f5-media-kit-metrics span { color: #555; }
.f5-media-kit-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 30px; }
.f5-media-kit-panel { padding: 26px; border: 1px solid #e8e8e8; border-radius: 12px; }
.f5-media-kit-panel-number { color: var(--f5-primary); font-size: 14px; font-weight: 900; letter-spacing: 1px; }
.f5-media-kit-panel ul { margin: 0; padding-left: 20px; color: #444; }
.f5-media-kit-panel li { margin-bottom: 8px; }
.f5-media-kit-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 30px; border-radius: 16px; background: #f5f5f5; }
.f5-media-kit-cta .f5-media-kit-eyebrow { color: var(--f5-primary); }
.f5-media-kit-cta p { margin: 0; color: #555; }
.f5-media-kit-contact-actions { margin-top: 0; }
.f5-media-kit-extra { margin-top: 30px; }

/* ====================== Rodapé ====================== */
.m12-footer { color: var(--f5-footer-text); font-family: var(--m12-font); }
.m12-footer a { color: inherit; }
.m12-footer-main { padding: 10px 0; background: var(--f5-footer-bg); }
.m12-footer-nav { display: flex; flex-wrap: wrap; justify-content: center; margin: 0 0 21px; font-size: 16px; font-weight: 400; }
.m12-footer-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; min-height: 73px; }
.m12-footer-logo { text-align: center; line-height: 0; }
.m12-footer-logo .logo { color: #fff; font-size: 52px; line-height: 53px; }
.m12-footer-logo .logo.is-placeholder-logo span:first-child { color: #fff; }
.m12-footer-logo .logo .f5-text-logo { color: #fff; }
.m12-footer-logo .f5-custom-logo { width: 236px; }
.m12-footer-note { margin: 0; padding: 0 60px; font-size: 15px; font-weight: 600; line-height: 15px; text-align: center; }
.m12-footer-actions { display: flex; align-items: center; justify-content: flex-end; gap: 31px; padding-right: 51px; }
.m12-footer-social { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.m12-footer-social a { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; }
.m12-footer-social a:hover { background: rgba(255, 255, 255, .16); }
.m12-footer-search-btn { display: flex; align-items: center; justify-content: center; width: 41px; height: 41px; padding: 0; border: 0; background: none; color: inherit; }
.m12-footer-search-btn svg { stroke-width: 3; }
.m12-footer-search { display: flex; max-width: 520px; margin: 6px auto 14px; border-radius: 6px; overflow: hidden; background: #fff; }
.m12-footer-search input { flex: 1; min-width: 0; padding: 11px 14px; border: 0; color: #000; }
.m12-footer-search button { padding: 0 18px; border: 0; background: var(--f5-footer-bottom-bg); color: #fff; font-weight: 700; }
.m12-footer-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; padding: 20px 10px; }
.m12-footer-bottom { padding: 10px 0; background: var(--f5-footer-bottom-bg); color: rgba(246, 246, 246, .75); font-size: 12px; font-weight: 600; line-height: 12px; text-align: center; }
.m12-footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.m12-footer-credit a { text-decoration: underline; }
.m12-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; padding: 0; border: 0; border-radius: 50%; background: #5d5d5d; color: #fff; opacity: .8; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.m12-to-top svg { stroke-width: 3.4; }
.m12-to-top:hover { opacity: 1; }
.privacy-notice { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 95; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; max-width: 760px; margin: 0 auto; padding: 14px 18px; border-radius: 10px; background: #1d1d1d; color: #fff; font-size: 14px; box-shadow: 0 6px 24px rgba(0, 0, 0, .3); }
.privacy-notice p { margin: 0; }
.privacy-notice a { color: #fff; text-decoration: underline; }
.privacy-button { padding: 8px 18px; border: 0; border-radius: 6px; background: var(--f5-primary); color: #fff; font-weight: 700; }

/* ====================== Tablet e celular ====================== */
@media (max-width: 1200px) {
    .m12-nav-list a { padding: 13px 6px; font-size: 13px; }
    .m12-menu-btn { width: 108px; gap: 10px; }
    .m12-article-header h1 { font-size: 40px; }
    .m12-carousel-track { grid-auto-columns: calc((100% - 45px) / 4); }
    .m12-footer-note { padding: 0 20px; }
    .m12-footer-actions { gap: 12px; padding-right: 10px; }
}

@media (max-width: 1024px) {
    .m12-topbar, .m12-navbar, .m12-weather { display: none; }
    .m12-brand .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 0; padding: 0; }
    .m12-brand-ad { order: -1; width: 100%; padding: 10px; background: rgba(238, 238, 238, .52); }
    .m12-mobile-btn { display: flex; margin: 10px; }
    .m12-brand .logo { flex: 1; justify-content: center; padding: 20px 0 25px; font-size: 46px; line-height: 46px; }
    .m12-brand .logo .f5-custom-logo { width: var(--f5-logo-mobile); }
    .m12-hero-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; margin-right: 0; }
    .m12-slider, .m12-hero-side { grid-column: auto; }
    .m12-hero-aside { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; margin: 0; }
    .m12-hero-aside .m12-divider { display: none; }
    .m12-hero-aside .m12-video, .m12-hero-aside > .advert:first-child { margin-bottom: 0; }
    .m12-slider { height: 420px; }
    .m12-cols-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .m12-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .m12-latest-grid, .m12-latest-grid.no-side { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 -5px; }
    .m12-latest-side { grid-column: 1 / -1; }
    .m12-with-aside { grid-template-columns: minmax(0, 1fr); padding-right: 0; }
    .m12-feature-row.has-ad { grid-template-columns: minmax(0, 1fr) 320px; }
    .m12-list.m12-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .m12-webtv-grid { gap: 24px; padding: 20px 0; }
    .m12-duo-grid { padding: 0; }
    .m12-carousel-track { grid-auto-columns: calc((100% - 30px) / 3); }
    .m12-article-layout, .m12-listing-layout { grid-template-columns: minmax(0, 1fr); margin: 0; }
    .m12-post-info { margin-left: 0; margin-right: 0; }
    .m12-sidebar, .m12-listing-layout .m12-sidebar { padding: 20px 0; border-left: 0; border-top: 1px solid #eee; }
    .m12-sidebar .advert, .m12-side-box { width: 100%; max-width: 520px; margin-left: auto; margin-right: auto; }
    .f5-media-kit-hero-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 782px) {
    .admin-bar .m12-navbar.is-sticky { top: 46px; }
}

/* Celular: as medidas seguem a versão móvel do layout original (títulos de seção de 25 px, uma coluna). */
@media (max-width: 767px) {
    .m12-heading { margin-bottom: 20px; }
    .m12-heading h1, .m12-heading h2, .m12-heading h3 { flex: 0 1 auto; font-size: min(var(--m12-heading-size, 25px), 25px); }
    .m12-hero { margin-top: 27px; }
    .m12-hero-grid, .m12-hero-aside { grid-template-columns: minmax(0, 1fr); }
    .m12-hero-grid { gap: 20px; }
    .m12-hero-aside { display: block; }
    .m12-hero-aside .m12-divider { display: block; margin: 22px 0 21.7px; }
    .m12-slider { height: 280px; }
    .m12-slide-caption { width: 86%; padding: 14px 4px; }
    .m12-slide-caption strong { font-size: 18px; }
    .m12-cols-2, .m12-cols-3, .m12-cols-4, .m12-cols-5, .m12-list.m12-cols-3, .m12-list.m12-cols-2 { grid-template-columns: minmax(0, 1fr); }
    .m12-thumb, .m12-card--side .m12-thumb { aspect-ratio: 2 / 1; }
    .m12-cols-5 .m12-thumb { aspect-ratio: 355 / 217; }
    .m12-card h3, .m12-card--lead h3 { font-size: 22px; }
    .m12-cols-5 .m12-card h3, .m12-card--side h3, .m12-latest-a .m12-cols-2 .m12-card h3 { font-size: 18px; }
    .m12-card--lead h3 { font-size: 25px; }
    .m12-item { grid-template-columns: 40% minmax(0, 1fr); align-items: start; }
    .m12-item .m12-thumb, .m12-list.m12-cols-2 .m12-thumb { aspect-ratio: 142 / 116; }
    .m12-item h3 { font-size: 17px; }
    .m12-item--sm h3, .m12-item--lg h3 { font-size: 15px; }
    .m12-item--sm .m12-thumb, .m12-item--lg .m12-thumb { aspect-ratio: 138 / 91; }
    .m12-latest-grid, .m12-latest-grid.no-side { grid-template-columns: minmax(0, 1fr); margin: 0 -10px; }
    .m12-webtv-grid { grid-template-columns: minmax(0, 1fr); padding: 20px 10px; gap: 40px; }
    .m12-main-col { padding: 10px; }
    .m12-feature-row.has-ad { grid-template-columns: minmax(0, 1fr); }
    .m12-duo-grid { grid-template-columns: minmax(0, 1fr); padding: 0; }
    .m12-separator .m12-divider { margin: 2px 0 1.7px; }
    .m12-carousel-track { grid-auto-columns: 100%; }
    .m12-popular h2 { font-size: 30px; }
    .m12-article-header h1 { font-size: 30px; line-height: 1.12; }
    .m12-post-info { margin-top: 20px; font-size: 14px; }
    .m12-article-main { padding: 10px 0; }
    .m12-article-body h2 { font-size: 26px; }
    .m12-share-bar { justify-content: center; text-align: center; }
    .m12-share-bar strong { width: 100%; font-size: 18px; }
    .m12-sidebar { padding: 20px 0; }
    .m12-read-more h2 { font-size: 28px; }
    .article-related-card { flex-basis: 100%; }
    .m12-listing-main { padding: 0; }
    .m12-listing-title { font-size: 32px; line-height: 1.2; }
    .m12-listing-list { gap: 26px; }
    .m12-listing-item { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .m12-listing-item h2 { font-size: 22px; }
    .m12-footer-row { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 10px 0; }
    .m12-footer-note { padding: 0 10px; line-height: 18px; }
    .m12-footer-actions { justify-content: center; gap: 20px; padding-right: 0; }
    .m12-footer-bottom { line-height: 1.4; }
    .m12-to-top { width: 52px; height: 52px; }
    .f5-media-kit-hero h1 { font-size: 32px; }
    .f5-media-kit-metrics, .f5-media-kit-columns { grid-template-columns: minmax(0, 1fr); }
    .m12-author-box { flex-direction: column; }
}

/* ====================== Destaque em três colunas (Modelo do destaque: “Três colunas”) ======================
   Manchete e chamadas (470) | slider (450) | cartões e chamada (300), 20 px entre as colunas. */
.m12-hero--portal { --m12-h3-title: "Roboto", var(--m12-font); }
.m12-hero3 { display: grid; grid-template-columns: minmax(0, 470fr) minmax(0, 450fr) 300px; gap: 20px; align-items: start; }
.m12-hero3 a { display: block; color: #000; }
.m12-hero3 strong { display: block; font-family: var(--m12-h3-title); font-weight: 900; line-height: 1.2; }
.m12-h3-hat { display: block; color: var(--f5-badge); font-family: var(--m12-system); font-size: 14px; line-height: 17px; }
.m12-h3-exc { display: block; margin-top: 5px; color: #000; font-family: var(--m12-system); font-size: 13px; line-height: 16px; }
.m12-h3-lead { padding-bottom: 15px; border-bottom: 1px dotted #e1e1e1; }
.m12-h3-lead strong { font-size: 35px; letter-spacing: -1px; }
.m12-h3-lead .m12-h3-exc { font-size: 14px; line-height: 17px; }
.m12-h3-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; margin-top: 15px; }
.m12-h3-text { padding-bottom: 15px; border-bottom: 1px dotted #e1e1e1; }
.m12-h3-text strong, .m12-h3-thumb strong, .m12-h3-card strong { margin-top: 5px; font-size: 18px; letter-spacing: -.5px; }
.m12-h3-text a:hover strong, .m12-h3-lead a:hover strong, .m12-h3-thumb a:hover strong { color: var(--f5-primary); }
.m12-h3-thumb { margin-top: 15px; padding-bottom: 15px; border-bottom: 1px dotted #e1e1e1; }
.m12-h3-thumb a { display: grid; grid-template-columns: 141px minmax(0, 1fr); gap: 9px; align-items: start; }
.m12-h3-thumb-img { display: block; height: 105px; overflow: hidden; background: #e9e9e9; }
.m12-h3-thumb-img img, .m12-h3-thumb-img .f5-image-placeholder { width: 100%; height: 100%; object-fit: cover; }
.m12-h3-badge { align-self: flex-start; padding: 5px 15px; background: var(--f5-badge); color: #fff; font-family: var(--m12-system); font-size: 14px; line-height: 17px; }

.m12-slider--portal { grid-column: auto; height: 475px; background: #f0f0f0; }
.m12-slider--portal .m12-slide a { position: relative; color: #fff; }
.m12-slide-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 22px 41px; background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0) 50%); }
.m12-slide-overlay .m12-h3-badge { padding: 5px 10px; font-weight: 600; }
.m12-slide-overlay strong { margin-top: 5px; color: #fff; font-size: 28px; font-weight: 700; letter-spacing: 0; text-shadow: 0 1px 0 #000; }
.m12-slider-dots { position: absolute; left: 0; right: 0; bottom: 6px; z-index: 2; display: flex; justify-content: center; }
.m12-slider-dots button { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; padding: 0; border: 0; background: none; }
.m12-slider-dots span { width: 10px; height: 10px; border-radius: 50%; background: #fff; opacity: .5; transition: opacity .2s; }
.m12-slider-dots .is-active span, .m12-slider-dots button:hover span { opacity: 1; }

.m12-h3-card { padding-bottom: 15px; }
.m12-h3-card a { position: relative; height: 170px; overflow: hidden; background: #222; }
.m12-h3-card img, .m12-h3-card .f5-image-placeholder { width: 100%; height: 100%; object-fit: cover; }
.m12-h3-card-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 0 15px 25px; background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0) 50%); }
.m12-h3-card strong { color: #fff; }
.m12-h3-text--plain { border-bottom: 0; }

@media (max-width: 1024px) {
    .m12-hero3 { grid-template-columns: minmax(0, 1fr) 300px; }
    .m12-slider--portal { grid-column: 1 / -1; order: -1; height: 420px; }
}

@media (max-width: 767px) {
    .m12-hero3 { grid-template-columns: minmax(0, 1fr); }
    .m12-slider--portal { height: 300px; }
    .m12-slide-overlay { padding: 0 15px 34px; }
    .m12-slide-overlay strong { font-size: 22px; }
    .m12-h3-lead strong { font-size: 28px; }
    .m12-h3-thumb a { grid-template-columns: 120px minmax(0, 1fr); }
    .m12-h3-thumb-img { height: 90px; }
    .m12-h3-card a { height: 190px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .m12-slide, .article-related-track { transition: none; }
    .m12-drawer[open] { animation: none; }
}

@media print {
    .m12-header, .m12-navbar, .m12-ad-band, .advert, .m12-sidebar, .m12-read-more, .m12-footer, .m12-to-top, .m12-share-bar, .m12-drawer, .privacy-notice, .f5-comments, .article-related-inline { display: none !important; }
    .m12-article-layout { display: block; }
    .m12-article-body { color: #000; }
}
