/* Network F5 Modelo 12 — visual “Portal” (Configuração F5 → Visual do portal).
   Cabeçalho, página inicial e rodapé no padrão do layout seuportalonline.com.br/modelo12 (conteúdo de 1260 px);
   página da matéria no padrão de duas colunas (1240 px). Carregado depois de portal.css. */

:root {
    --p12-main: #ff8000;
    --p12-text: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --p12-head: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --p12-art-head: "Encode Sans Condensed", "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
    --p12-radius: 6px; /* cantos arredondados de todas as imagens do visual Portal */
    --p12-art-text: Oxygen, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
body.p12 { background: var(--p12-body-bg, #fff); color: #000; font-family: var(--p12-head); }
.p12 a { color: inherit; }
.p12-wrap { width: min(1260px, 100% - 40px); margin: 0 auto; }

/* ====================== Barra superior ====================== */
/* Data | menu do topo (institucional) | WhatsApp e redes sociais. */
.p12-topbar { background: var(--p12-top-bg, var(--p12-main)); color: var(--p12-top-text, #fff); font-family: var(--p12-text); }
.p12-topbar .p12-wrap { display: flex; align-items: center; gap: 24px; min-height: 38px; }
.p12-top-date { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.p12-top-date svg { opacity: .85; }
.p12-top-menu { flex: 1; min-width: 0; padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .3); }
/* Uma linha só: em telas estreitas os links que não cabem ficam ocultos (todos estão também no menu lateral). */
.p12-top-links { display: flex; flex-wrap: wrap; gap: 0 22px; height: 38px; margin: 0; padding: 0; overflow: hidden; list-style: none; }
.p12-top-links li { white-space: nowrap; }
.p12-top-links a { display: block; padding: 10px 0; color: inherit; font-size: 13px; font-weight: 600; opacity: .92; transition: opacity .2s; }
.p12-top-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.p12-top-right { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.p12-top-whats { display: inline-flex; align-items: center; gap: 6px; color: inherit; font-size: 13px; font-weight: 700; white-space: nowrap; }
.p12-top-social { display: flex; gap: 6px; }
.p12-top-social a { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .16); color: inherit; transition: background .2s, color .2s; }
.p12-top-social a:hover { background: #fff; color: var(--p12-main); }
.p12-top-social svg { width: 13px; height: 13px; }

/* ====================== Logo | banner | clima ====================== */
.p12-header { background: var(--p12-header-bg, #fff); border-bottom: 1px solid #eee; }
.p12-header-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0 32px; min-height: 132px; padding: 18px 0; }
.p12-logo .logo { padding: 0; font-family: var(--p12-head); font-size: 54px; line-height: 90px; letter-spacing: -2px; }
.p12-logo .logo.is-placeholder-logo span:first-child { color: var(--p12-main); }
.p12-logo .f5-custom-logo { width: auto; max-width: 260px; height: 90px; max-height: none; object-fit: contain; object-position: left center; }
.p12-header-ad { justify-self: center; width: 100%; max-width: 728px; }
.p12-weather { justify-self: end; padding-left: 28px; border-left: 1px solid #ececec; }
.p12-weather:empty { display: none; }
.p12-weather .m12-weather { height: auto; padding: 0; column-gap: 12px; font-family: var(--p12-text); }
.p12-weather .m12-weather-icon svg { width: 46px; height: 46px; }
.p12-weather .m12-weather-now b { font-size: 26px; font-weight: 700; }
.p12-weather .m12-weather-now small { color: #666; }
.p12-weather .m12-weather-city { color: var(--p12-main); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.p12-burger, .p12-search-btn.p12-search-btn--mobile { display: none; }

/* ====================== Menu de editorias ====================== */
/* Barra fixa no topo ao rolar, itens em caixa alta com traço na cor da editoria embaixo. */
.p12-menu { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .06); border-bottom: 3px solid var(--p12-main); }
.admin-bar .p12-menu { top: 32px; }
.p12-menu .p12-wrap { position: relative; display: flex; align-items: stretch; }
/* Botão do menu canvas, no começo da barra: fundo na cor principal, três traços e a palavra MENU. */
.p12-canvas-btn { display: flex; align-items: center; gap: 10px; margin-right: 8px; padding: 0 18px; border: 0; background: var(--p12-main); color: #fff; font-family: var(--p12-text); font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: filter .2s; }
.p12-canvas-btn:hover { filter: brightness(.92); }
.p12-canvas-icon { display: flex; flex-direction: column; gap: 4px; width: 20px; }
.p12-canvas-icon i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: width .2s; }
.p12-canvas-icon i:nth-child(2) { width: 75%; }
.p12-canvas-icon i:nth-child(3) { width: 50%; }
.p12-canvas-btn:hover .p12-canvas-icon i { width: 100%; }
/* As editorias ficam numa linha só; o que não couber vai para o item “Mais” (assets/js/portal.js). */
.p12-menu-list { display: flex; flex-wrap: nowrap; flex: 1; min-width: 0; margin: 0; padding: 0; list-style: none; }
.p12-menu-list > li { flex: 0 0 auto; }
.p12-menu-more-btn { position: relative; display: flex; align-items: center; gap: 6px; height: 100%; padding: 16px 16px 14px; border: 0; background: none; color: #1a1a1a; font-family: var(--p12-text); font-size: 14px; font-weight: 700; letter-spacing: .03em; line-height: 18px; text-transform: uppercase; cursor: pointer; }
.p12-menu-more-btn:hover, .p12-menu-more.is-current > .p12-menu-more-btn, .p12-menu-more.is-open > .p12-menu-more-btn { color: var(--p12-main); }
.p12-menu-more-btn svg { transition: transform .2s; }
.p12-menu-more.is-open > .p12-menu-more-btn svg, .p12-menu-more:hover > .p12-menu-more-btn svg { transform: rotate(180deg); }
.p12-menu-list .p12-menu-more > .sub-menu { left: auto; right: 0; max-height: 70vh; overflow-y: auto; }
.p12-menu-list .p12-menu-more.is-open > .sub-menu { display: block; }
.p12-menu-more .sub-menu > li > a { text-transform: none; font-weight: 600; }
.p12-menu-list > li { position: relative; }
.p12-menu-list > li > a { position: relative; display: block; padding: 16px 16px 14px; color: #1a1a1a; font-family: var(--p12-text); font-size: 14px; font-weight: 700; letter-spacing: .03em; line-height: 18px; text-transform: uppercase; transition: color .2s; }
.p12-menu-list > li > a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--p12-c, var(--p12-main)); transform: scaleX(0); transition: transform .2s; }
.p12-menu-list > li > a:hover, .p12-menu-list > .current-menu-item > a, .p12-menu-list > .current-menu-parent > a, .p12-menu-list > .current-category-ancestor > a { color: var(--p12-c, var(--p12-main)); }
.p12-menu-list > li > a:hover::after, .p12-menu-list > .current-menu-item > a::after, .p12-menu-list > .current-menu-parent > a::after { transform: scaleX(1); }
.p12-menu-list .sub-menu { position: absolute; left: 0; top: 100%; display: none; min-width: 220px; margin: 0; padding: 8px 0; list-style: none; border-top: 3px solid var(--p12-c, var(--p12-main)); border-radius: 0 0 6px 6px; background: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .12); }
.p12-menu-list li:hover > .sub-menu, .p12-menu-list li:focus-within > .sub-menu { display: block; }
.p12-menu-list .sub-menu a { display: block; padding: 9px 18px; color: #222; font-family: var(--p12-text); font-size: 14px; }
.p12-menu-list .sub-menu a:hover { background: #f6f6f6; color: var(--p12-c, var(--p12-main)); }
.p12-search-btn { display: flex; align-items: center; justify-content: center; width: 50px; padding: 0; border: 0; background: none; color: #333; cursor: pointer; transition: color .2s, background .2s; }
.p12-search-btn:hover { color: var(--p12-main); }
.p12-search-btn[aria-expanded="true"] { background: var(--p12-main); color: #fff; }
.p12-search { position: absolute; right: 0; top: 100%; z-index: 60; width: 320px; border-radius: 0 0 6px 6px; box-shadow: 0 10px 24px rgba(0, 0, 0, .12); background: #fff; animation: p12-zoom .25s; }
.p12-search input { width: 100%; padding: 18px 20px; border: 1px solid #eee; border-radius: 0 0 6px 6px; font-family: var(--p12-text); font-size: 15px; }
@keyframes p12-zoom { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* Menu canvas (lateral). */
.p12-drawer { width: 340px; max-width: 88vw; padding: 0; background: #fff; color: #111; font-family: var(--p12-text); border-top: 4px solid var(--p12-main); }
.p12-drawer-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #eee; background: #fff; }
.p12-drawer-logo .logo { padding: 0; font-size: 30px; line-height: 1; letter-spacing: -1px; }
.p12-drawer-logo .logo.is-placeholder-logo span:first-child { color: var(--p12-main); }
.p12-drawer-logo .f5-custom-logo { width: auto; max-width: 180px; height: 44px; object-fit: contain; }
.p12-drawer .m12-drawer-close { position: static; width: 38px; height: 38px; border-radius: 50%; background: #f3f3f3; color: #111; cursor: pointer; transition: background .2s, color .2s; }
.p12-drawer .m12-drawer-close:hover { background: var(--p12-main); color: #fff; }
.p12-drawer-search { display: flex; margin: 16px 20px 6px; border: 1px solid #e3e3e3; border-radius: 999px; overflow: hidden; }
.p12-drawer-search input { flex: 1; min-width: 0; padding: 11px 16px; border: 0; font-size: 14px; outline: none; }
.p12-drawer-search button { width: 46px; border: 0; background: var(--p12-main); color: #fff; cursor: pointer; }
.p12-drawer .m12-drawer-nav { padding: 0 20px; }
.p12-drawer-title { margin: 22px 0 6px; color: #888; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.p12-drawer .p12-drawer-menu a, .p12-drawer-links a { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 4px; border-bottom: 1px solid #f2f2f2; color: #111; font-size: 16px; font-weight: 600; line-height: 1.3; transition: color .2s, padding .2s; }
.p12-drawer .p12-drawer-menu a::before { content: ""; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--p12-c, var(--p12-main)); }
.p12-drawer .p12-drawer-menu a:hover, .p12-drawer .p12-drawer-menu .current-menu-item > a { padding-left: 10px; color: var(--p12-c, var(--p12-main)); }
.p12-drawer .p12-drawer-menu ul a { padding-left: 24px; font-size: 14px; font-weight: 500; }
.p12-drawer-links { margin: 0; padding: 0; list-style: none; }
.p12-drawer-links a { font-size: 14px; font-weight: 500; color: #333; }
.p12-drawer-links a:hover { color: var(--p12-main); padding-left: 6px; }
.p12-drawer-foot { margin-top: 18px; padding: 18px 20px 26px; border-top: 1px solid #eee; background: #fafafa; }
.p12-drawer-whats { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 9px 14px; border-radius: 999px; background: #25d366; color: #fff !important; font-size: 14px; font-weight: 700; }
.p12-drawer .p12-drawer-social { justify-content: flex-start; gap: 8px; }
.p12-drawer .p12-drawer-social a { width: 36px; height: 36px; border-radius: 50%; background: var(--p12-main); transition: transform .2s, filter .2s; }
.p12-drawer .p12-drawer-social a:hover { filter: brightness(.9); transform: translateY(-2px); }
.p12-drawer .p12-drawer-social svg { width: 16px; height: 16px; }

/* ====================== Peças comuns ====================== */
.p12-item a { display: block; color: #000; }
.p12-item strong { display: block; color: #000; font-family: var(--p12-head); font-weight: 900; line-height: 1.2; }
.p12-item a:hover strong { text-decoration: underline; }
.p12-hat { display: block; color: var(--p12-c, var(--p12-main)); font-family: var(--p12-text); font-size: 14px; line-height: 17px; }
.p12-hat--bg { align-self: flex-start; display: inline-block; padding: 5px 15px; background: var(--p12-c, var(--p12-main)); color: #fff; }
.p12-exc { display: block; margin-top: 5px; color: #000; font-family: var(--p12-text); font-size: 13px; line-height: 16px; }
.p12-img { display: block; overflow: hidden; background: #f0f0f0; }
.p12-img img, .p12-img .f5-image-placeholder, .p12 .p12-video img, .p12 .p12-gal img, .p12 .p12-slide img { width: 100%; height: 100%; object-fit: cover; }

/* Chamada só com texto, com linha pontilhada embaixo */
.p12-text { padding-bottom: 15px; border-bottom: 1px dotted #e1e1e1; }
.p12-text strong { margin-top: 5px; font-size: 18px; letter-spacing: -.5px; }
.p12-text--plain { border-bottom: 0; }
/* Manchete */
.p12-lead { padding-bottom: 15px; border-bottom: 1px dotted #e1e1e1; }
.p12-lead strong { font-size: 35px; letter-spacing: -1px; }
.p12-lead .p12-exc { font-size: 14px; line-height: 17px; }
/* Chamada com foto à esquerda */
.p12-side-img { margin-top: 15px; padding-bottom: 15px; border-bottom: 1px dotted #e1e1e1; }
.p12-side-img a { display: grid; grid-template-columns: 40% minmax(0, 1fr); gap: 2%; align-items: start; }
.p12-side-img .p12-img { height: 130px; }
.p12-side-img strong { margin-top: 5px; font-size: 18px; letter-spacing: -.5px; }
/* Cartão com imagem e texto por cima */
.p12-overlay-card { padding-bottom: 15px; }
.p12-overlay-card a { position: relative; height: 170px; overflow: hidden; background: #222; }
.p12-overlay-card .p12-img { position: absolute; inset: 0; }
.p12-overlay-card .p12-body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 0 5% 25px; background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0) 50%); }
.p12-overlay-card a:hover .p12-body { background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0) 80%); }
.p12-overlay-card strong { color: #fff; font-size: 18px; letter-spacing: -.5px; text-shadow: 0 1px 0 #000; }
.p12-overlay-card a:hover strong { text-decoration: none; }

/* Títulos de seção: três estilos, escolhidos em Visual do portal → Estilo dos títulos (classe p12-tt-* no body).
   Em todos, --p12-c é a cor da editoria e “Ver mais” aparece à direita quando o bloco tem página. */
.p12-title { display: flex; align-items: center; gap: 16px; margin: 36px 0 20px; }
.p12-title h1, .p12-title h2, .p12-title h3 { margin: 0; font-size: inherit; flex: 0 1 auto; min-width: 0; }
.p12-title a { color: inherit; }
.p12-title span { display: inline-flex; align-items: center; font-family: var(--p12-head); line-height: 1.15; }
.p12-title-more { order: 2; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; color: var(--p12-c) !important; font-family: var(--p12-text); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; transition: background .2s, color .2s; }

/* Aba (padrão): etiqueta preenchida com a ponta cortada, sobre uma linha da mesma cor. */
.p12-tt-tab .p12-title { align-items: flex-end; gap: 12px; border-bottom: 3px solid var(--p12-c); }
.p12-tt-tab .p12-title span { padding: 10px 34px 9px 18px; border-radius: 6px 0 0 0; background: var(--p12-c); color: #fff; font-size: 19px; font-weight: 900; letter-spacing: .03em; text-transform: uppercase; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 100%, 0 100%); transition: filter .2s; }
.p12-tt-tab .p12-title a:hover span { filter: brightness(.88); }
.p12-tt-tab .p12-title::after { content: ""; order: 1; flex: 1 1 0; }
.p12-tt-tab .p12-title-more { margin-bottom: 7px; padding: 2px 0; }
.p12-tt-tab .p12-title-more::after { content: ""; width: 7px; height: 7px; margin-left: 2px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.p12-tt-tab .p12-title-more:hover::after { transform: translateX(3px) rotate(45deg); }

/* Marcador: nome em preto, marcador duplo e linha com o início colorido. */
.p12-tt-bar .p12-title::after { content: ""; order: 1; flex: 1 1 40px; height: 3px; border-radius: 3px; background: linear-gradient(to right, var(--p12-c) 0 56px, #ececec 56px); }
.p12-tt-bar .p12-title span { gap: 10px; color: #141414; font-size: 26px; font-weight: 900; letter-spacing: -.5px; }
.p12-tt-bar .p12-title span::before { content: ""; flex: 0 0 auto; width: 6px; height: 26px; margin-right: 9px; border-radius: 3px; background: var(--p12-c); box-shadow: 9px 0 0 color-mix(in srgb, var(--p12-c) 35%, transparent); }
.p12-tt-bar .p12-title a:hover span { color: var(--p12-c); }
.p12-tt-bar .p12-title-more { padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--p12-c) 10%, #fff); }
.p12-tt-bar .p12-title-more:hover { background: var(--p12-c); color: #fff !important; }
.p12-tt-bar .p12-title-more::after, .p12-tt-classic .p12-title-more::after { content: "›"; font-size: 14px; line-height: 1; }

/* Clássico: o do layout de referência, texto inclinado com traço em cima e linha pontilhada. */
.p12-tt-classic .p12-title { border-bottom: 1px dotted #b0b0b0; }
.p12-tt-classic .p12-title::after { content: ""; order: 1; flex: 1 1 0; }
.p12-tt-classic .p12-title span { padding: 15px 30px; border-top: 5px solid var(--p12-c); color: var(--p12-c); font-size: 30px; font-weight: 700; letter-spacing: -1px; transform: skewX(-15deg); }
.p12-tt-classic .p12-title a:hover span { opacity: .85; }
.p12-tt-classic .p12-title-more:hover { text-decoration: underline; }

/* Modelo 02: nome grande na cor da editoria, sem linha, e “+ Ver mais” à direita (como o .section-title do Modelo 02). */
.p12-tt-m02 .p12-title { justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.p12-tt-m02 .p12-title span { color: var(--p12-c); font-size: 34px; font-weight: 700; letter-spacing: -.7px; line-height: 1.2; }
.p12-tt-m02 .p12-title a:hover span { opacity: .85; }
.p12-tt-m02 .p12-title-more { gap: 2px; font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.p12-tt-m02 .p12-title-more::before { content: "+"; font-size: 18px; font-weight: 400; line-height: 1; }
.p12-tt-m02 .p12-title-more:hover { opacity: .75; }
.p12-tt-m02 .p12-listing-side .p12-title span { font-size: 28px; }

/* Modelo 02 com linha: o mesmo título grande, sublinhado na cor da editoria sobre uma linha cinza até a borda. */
.p12-tt-m02line .p12-title { align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 22px; border-bottom: 1px solid #e3e3e3; }
.p12-tt-m02line .p12-title span { margin-bottom: -1px; padding-bottom: 8px; border-bottom: 3px solid var(--p12-c); color: var(--p12-c); font-size: 32px; font-weight: 700; letter-spacing: -.7px; line-height: 1.2; }
.p12-tt-m02line .p12-title h1, .p12-tt-m02line .p12-title h2, .p12-tt-m02line .p12-title h3, .p12-tt-m02line .p12-title h2 > a, .p12-tt-m02line .p12-title h1 > a, .p12-tt-m02line .p12-title h3 > a { display: flex; }
.p12-tt-m02line .p12-title a:hover span { opacity: .85; }
.p12-tt-m02line .p12-title-more { margin-bottom: 12px; gap: 2px; font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.p12-tt-m02line .p12-title-more::before { content: "+"; font-size: 18px; font-weight: 400; line-height: 1; }
.p12-tt-m02line .p12-title-more:hover { opacity: .75; }
.p12-tt-m02line .p12-listing-side .p12-title span { font-size: 26px; }

/* Anúncios do visual Portal: mesmos grupos do plugin. Sem campanha, banner de exemplo no estilo do Modelo 07
   (degradê, PUBLICIDADE, tamanho do espaço e botão do mídia kit); os textos acompanham a largura do banner. */
.p12-ad { line-height: 0; }
.p12-ad .ad-label { display: none; }
.p12-ad--728 .f5-ad-content { max-width: 728px; }
.p12-ad--300 .f5-ad-content, .p12-ad--600 .f5-ad-content { max-width: 300px; }
.p12-house-ad { container-type: inline-size; position: relative; display: flex; align-items: center; justify-content: center; gap: 2.4cqw; width: 100%; overflow: hidden; color: #fff; font-family: var(--p12-head); line-height: 1.05; text-align: center; text-transform: uppercase; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.p12-house-ad::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .22), transparent 45%); pointer-events: none; }
.p12 .p12-ad .p12-house-ad, .p12 .p12-ad .p12-house-ad:hover { color: #fff; text-decoration: none; }
.p12-house-ad__text { position: relative; z-index: 1; display: flex; flex-direction: column; }
.p12-house-ad__text strong { font-size: 5.6cqw; font-weight: 900; letter-spacing: .06em; }
.p12-house-ad__text em { font-size: 3cqw; font-style: normal; font-weight: 900; letter-spacing: .1em; }
.p12-house-ad__cta { position: relative; z-index: 1; padding: .9cqw 1.9cqw; border: 2px solid rgba(255, 255, 255, .9); font-size: max(11px, 1.35cqw); font-weight: 700; letter-spacing: .05em; white-space: nowrap; transition: background .2s, color .2s; }
.p12-house-ad:hover .p12-house-ad__cta { background: #fff; color: #0d47a1; }
.p12-house-ad--wide { aspect-ratio: 970 / 150; background: linear-gradient(90deg, #5ee0e6 0%, #2f9fe0 38%, #1565c8 70%, #0b3fa8 100%); }
.p12-house-ad--inline { aspect-ratio: 728 / 90; gap: 3cqw; background: linear-gradient(90deg, #5ee0e6 0%, #2f9fe0 38%, #1565c8 70%, #0b3fa8 100%); }
.p12-house-ad--inline .p12-house-ad__text strong { font-size: 4.7cqw; }
.p12-house-ad--inline .p12-house-ad__text em { font-size: 2.5cqw; }
.p12-house-ad--inline .p12-house-ad__cta { padding: .8cqw 1.8cqw; font-size: max(10px, 1.7cqw); }
.p12-house-ad--square, .p12-house-ad--tall { flex-direction: column; gap: 5.4cqw; }
.p12-house-ad--square { aspect-ratio: 300 / 250; background: linear-gradient(160deg, #f03434 0%, #c81414 55%, #9c0b0b 100%); }
.p12-house-ad--tall { aspect-ratio: 300 / 600; background: linear-gradient(170deg, #1f4fbf 0%, #0b2d72 100%); }
.p12-house-ad--square .p12-house-ad__text strong, .p12-house-ad--tall .p12-house-ad__text strong { font-size: 11.3cqw; }
.p12-house-ad--square .p12-house-ad__text em, .p12-house-ad--tall .p12-house-ad__text em { font-size: 6.3cqw; }
.p12-house-ad--square .p12-house-ad__cta, .p12-house-ad--tall .p12-house-ad__cta { padding: 2.7cqw 6cqw; font-size: 4.3cqw; }
.p12-house-ad--square:hover .p12-house-ad__cta { color: #c81414; }
/* Banner horizontal estreito (celular): sem o botão e com o texto um pouco maior. */
@container (max-width: 560px) {
    .p12-house-ad--wide .p12-house-ad__cta, .p12-house-ad--inline .p12-house-ad__cta { display: none; }
    .p12-house-ad--wide .p12-house-ad__text strong, .p12-house-ad--inline .p12-house-ad__text strong { font-size: 7cqw; }
    .p12-house-ad--wide .p12-house-ad__text em, .p12-house-ad--inline .p12-house-ad__text em { font-size: 3.8cqw; }
    .p12-house-ad--inline .p12-house-ad__text strong { font-size: 5.6cqw; }
    .p12-house-ad--inline .p12-house-ad__text em { font-size: 3cqw; }
}

/* ====================== Destaque ====================== */
/* As três colunas têm a mesma altura: começam e terminam na mesma linha. */
.p12-hero { display: grid; grid-template-columns: minmax(0, 470fr) minmax(0, 450fr) 300px; gap: 20px; align-items: stretch; margin-top: 30px; }
.p12-hero-left, .p12-hero-right { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.p12-hero-left > :first-child .p12-hat, .p12-hero-right > .p12-text .p12-hat { margin-top: -3px; }
.p12-hero-left > :last-child, .p12-hero-right > :last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.p12-hero-left .p12-hero-thumb { margin-top: 0; }
.p12-hero-right .p12-text--plain { padding-bottom: 0; }
.p12-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 4%; }
.p12-pair .p12-text { margin-top: 15px; }
.p12-hero-thumb a { grid-template-columns: 30% minmax(0, 1fr); }
.p12-hero-thumb .p12-img { height: 105px; }
.p12-slider { position: relative; height: auto; min-height: 475px; overflow: hidden; background: #f0f0f0; border-radius: var(--p12-radius); }
.p12-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.p12-slide.is-active { opacity: 1; visibility: visible; }
.p12-slide a { position: relative; display: block; height: 100%; color: #fff; }
.p12-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 5% 41px; background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0) 50%); }
.p12-slide a:hover .p12-overlay { background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0) 80%); }
.p12-overlay .p12-hat--bg { padding: 5px 10px; font-weight: 600; background: var(--p12-hero-hat, var(--p12-c)); }
.p12-overlay strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; margin-top: 5px; color: #fff; font-family: var(--p12-head); font-size: 28px; font-weight: 700; line-height: 1.2; text-shadow: 0 1px 0 #000; }
.p12-dots { position: absolute; left: 0; right: 0; bottom: 6px; z-index: 2; display: flex; justify-content: center; }
.p12-dots button { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; padding: 0; border: 0; background: none; }
.p12-dots span { width: 10px; height: 10px; border-radius: 50%; background: #fff; opacity: .5; }
.p12-dots .is-active span, .p12-dots button:hover span { opacity: 1; }

/* ====================== Cantos arredondados (todas as imagens) ====================== */
.p12-img, .p12-overlay-card a, .p12-video a, .p12-gal a, .p12-mini-img, .p12-more-img, .p12-feat img, .p12-content img,
.p12-content-row .wp-block-image img, .p12-video-embed iframe, .p12-video-embed video, .p12 .f5-embed { border-radius: var(--p12-radius); }

/* ====================== Banner abaixo do cabeçalho ====================== */
/* Fundo cinza bem claro, de ponta a ponta, atrás do banner abaixo do cabeçalho e dos banners da Home. */
:root { --p12-ad-bg: #f6f6f6; }
.p12-top-band { padding: 20px 0; background: var(--p12-ad-bg); }
.p12-top-band .p12-ad { display: flex; justify-content: center; }
.p12-ad--wide .f5-ad-content { width: 100%; max-width: 970px; margin: 0 auto; }

/* ====================== Stories (inc/stories.php) ====================== */
.p12 .f5n-stories-wrap { margin: 22px 0 0; }
.p12 .f5n-stories { display: flex; gap: 14px; padding: 4px 6px 8px; scroll-padding-inline: 6px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.p12 .f5n-stories::-webkit-scrollbar { display: none; }
.p12 .f5n-stories > :first-child { margin-left: auto; }
.p12 .f5n-stories > :last-child { margin-right: auto; }
.f5n-story { flex: 1 1 0; min-width: 64px; max-width: 100px; display: flex; flex-direction: column; align-items: center; gap: 8px; scroll-snap-align: start; text-decoration: none; }
.f5n-story__ring { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 3px; border-radius: 50%; background: var(--p12-main); transition: transform .25s; }
.f5n-story:hover .f5n-story__ring { transform: scale(1.05); }
.f5n-story:focus-visible { outline: 3px solid var(--p12-main); outline-offset: 3px; border-radius: 8px; }
.f5n-story__ring img { position: absolute; top: 3px; left: 3px; display: block; width: calc(100% - 6px); height: calc(100% - 6px); object-fit: cover; border: 3px solid #fff; border-radius: 50%; background: #fff; }
.f5n-story__label { width: calc(100% + 8px); overflow: hidden; color: #000; font-family: var(--p12-text); font-size: 12px; line-height: 1.35; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.f5n-storyview { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; background: rgba(8, 10, 16, .94); }
.f5n-storyview[hidden] { display: none; }
.f5n-storyview__stage { position: relative; width: min(100vw, 430px); height: min(100vh, 764px); height: min(100dvh, 764px); overflow: hidden; border-radius: 14px; background: #111 center / cover no-repeat; }
.f5n-storyview__stage::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, .88) 100%); }
.f5n-storyview__bars { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 3; display: flex; gap: 4px; }
.f5n-storyview__bars span { flex: 1; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, .35); }
.f5n-storyview__bars i { display: block; width: 0; height: 100%; background: #fff; }
.f5n-storyview__bars .is-done i { width: 100%; }
.f5n-storyview__bars .is-active i { animation: f5n-story var(--f5n-story-time, 5s) linear forwards; }
.f5n-storyview.is-paused .f5n-storyview__bars .is-active i { animation-play-state: paused; }
@keyframes f5n-story { to { width: 100%; } }
.f5n-storyview__close { position: absolute; top: 22px; right: 10px; z-index: 4; display: flex; padding: 8px; border: 0; background: none; color: #fff; cursor: pointer; }
.f5n-storyview__close svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.f5n-storyview__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px; color: #fff; font-family: var(--p12-head); }
.f5n-storyview__cat { padding: 4px 9px; border-radius: 3px; background: var(--p12-main); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.f5n-storyview__cat[hidden] { display: none; }
.f5n-storyview__title { font-size: 24px; font-weight: 800; line-height: 1.2; }
.f5n-storyview__date { font-size: 13px; opacity: .85; }
.f5n-storyview__more { align-self: stretch; margin-top: 6px; padding: 13px 16px; border-radius: 999px; background: #fff; color: #111 !important; font-weight: 700; text-align: center; text-decoration: none; }
.f5n-storyview__zone { position: absolute; top: 0; bottom: 130px; z-index: 2; width: 38%; padding: 0; border: 0; background: none; cursor: pointer; }
.f5n-storyview__zone--prev { left: 0; }
.f5n-storyview__zone--next { right: 0; width: 62%; }
.f5n-storyview button:focus-visible, .f5n-storyview__more:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
@media (max-width: 650px) {
    .f5n-storyview__stage { border-radius: 0; }
    .p12 .f5n-stories-wrap { margin-top: 16px; }
    .f5n-story { flex: 0 0 78px; max-width: 78px; }
    .f5n-story__label { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .f5n-story__ring, .p12-slide { transition: none; } }

/* ====================== Blogs e colunas ====================== */
.p12-row { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; margin-top: 50px; }
.p12-blogs-title { margin: 0; text-align: center; border-bottom: 2px solid #f0f0f0; }
.p12-blogs-title span { position: relative; top: 2px; display: inline-block; padding: 0 10px 10px; border-bottom: 1px solid var(--p12-main); color: var(--p12-main); font-family: var(--p12-text); font-size: 24px; font-weight: 300; }
.p12-blogs > .p12-title { margin-top: 0; }
.p12-blogs-row--full { grid-template-columns: minmax(0, 1fr); }
.p12-blogs-row--full .p12-blogs-list { gap: 24px; }
.p12-blogs-row--full .p12-blog-box strong { height: auto; min-height: 50px; font-size: 15px; }
.p12-blogs-row--full .p12-blog-avatar img, .p12-blogs-row--full .p12-blog-avatar .f5-avatar-initials { width: 140px; height: 140px; border: 4px solid #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); font-size: 46px; }
.p12-blogs-row--full .p12-blog-box { margin-top: -54px; padding-top: 64px; }

/* Mais respiro entre os blocos da Home. */
.p12-home .p12-title { margin-top: 64px; margin-bottom: 24px; }
.p12-home .p12-row { margin-top: 56px; }
.p12-home .p12-blogs > .p12-title { margin-top: 0; }
.p12-home .p12-ad-band + * > .p12-title { margin-top: 48px; }

/* Linhas divisórias bem claras (abaixo dos Stories, do destaque e das editorias com fileira extra). */
.p12-divider { height: 0; margin: 28px 0 0; border: 0; border-top: 1px solid #f0f0f0; }
.p12-home .p12-section + .p12-divider { margin-top: 36px; }

/* Fileira extra de uma editoria: 5 matérias com foto, abaixo da linha divisória. */
.p12-row5 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 32px; padding-top: 32px; border-top: 1px solid #e6e8ec; }
.p12-card5 .p12-img { aspect-ratio: 16 / 10; }
.p12-card5 .p12-body { display: block; margin-top: 10px; }
.p12-card5 strong { margin-top: 4px; font-family: var(--p12-text); font-size: 16px; font-weight: 700; letter-spacing: -.3px; line-height: 1.25; }

/* Banners horizontais entre os blocos da Home (Destaque, Esportes, Cidades). */
/* O banner fica dentro da largura do site; a sombra estende o fundo cinza até as bordas da tela sem criar rolagem lateral. */
.p12-ad-band { margin-top: 56px; padding: 24px 0; background: var(--p12-ad-bg); box-shadow: 0 0 0 100vmax var(--p12-ad-bg); clip-path: inset(0 -100vmax); }
.p12-ad-band .p12-ad { display: flex; justify-content: center; }

/* Horóscopo no lugar do anúncio de uma editoria (iframe com a largura da coluna). */
.p12-horoscope { width: 100%; max-width: 300px; min-height: 300px; margin: 0 auto; }
.p12-horoscope iframe { display: block; width: 100%; min-height: 300px; border-radius: var(--p12-radius); }
.p12-blogs-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 10px; }
.p12-blog { text-align: center; }
.p12-blog-avatar { position: relative; z-index: 1; display: inline-block; }
.p12-blog-avatar img, .p12-blog-avatar .f5-avatar-initials { display: block; width: 80px; height: 80px; border: 1px solid #f2f2f2; border-radius: 50%; object-fit: cover; }
.p12-blog-avatar .f5-avatar-initials { display: flex; align-items: center; justify-content: center; background: var(--p12-main); }
.p12-blog-box { position: relative; display: block; margin-top: -30px; padding: 30px 10px 10px; background: #f2f2f2; }
.p12-blog-tip { position: absolute; right: 20px; top: -8px; width: 20px; height: 20px; background: #f2f2f2; transform: rotate(30deg); }
.p12-blog-avatar .f5-avatar-initials { color: #fff; font-size: 30px; font-weight: 700; }
.p12-blog-name { display: block; height: 18px; overflow: hidden; color: var(--p12-main); font-family: var(--p12-text); font-size: 14px; font-weight: 300; }
.p12-blog-box strong { display: block; height: 50px; overflow: hidden; margin-top: 5px; color: #000; font-size: 14px; line-height: 1.2; }
.p12-blog-box:hover strong { color: var(--p12-main); }

/* ====================== Editorias ====================== */
.p12-section { display: grid; gap: 0 20px; align-items: start; }
.p12-section > .p12-title { grid-column: 1 / -1; }
/* Modelo A: manchete + chamada com foto | anúncio | chamadas; embaixo, duas chamadas pequenas */
.p12-section--a { grid-template-columns: minmax(0, 600fr) minmax(0, 300fr) minmax(0, 320fr); grid-template-areas: "t t t" "c1 ad c2" "c1 c3 c3"; }
.p12-section--a > .p12-title { grid-area: t; }
.p12-sa-c1 { grid-area: c1; }
.p12-sa-ad { grid-area: ad; }
.p12-sa-c2 { grid-area: c2; }
.p12-sa-c3 { grid-area: c3; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2%; }
.p12-section--a.no-ad { grid-template-areas: "t t t" "c1 c2 c2" "c1 c3 c3"; }
.p12-section--a .p12-lead .p12-hat, .p12-sa-feature .p12-hat { font-size: 15px; }
.p12-sa-feature .p12-img { height: 200px; }
.p12-sa-feature strong { font-family: var(--p12-text); font-size: 25px; font-weight: 700; letter-spacing: -1px; }
.p12-sa-feature .p12-exc { font-size: 14px; line-height: 17px; }
.p12-sa-c2 .p12-text { margin-bottom: 15px; }
.p12-sa-small .p12-img { height: 110px; }
.p12-sa-small strong { font-family: var(--p12-text); font-size: 17px; font-weight: 700; letter-spacing: -1px; }
/* Política (formato A): mais respiro, linhas finas iguais e fotos em 16:9 com o texto embaixo. */
.p12-section--a { gap: 0 32px; }
.p12-section--a .p12-lead { padding-bottom: 20px; border-bottom: 1px solid #eef0f3; }
.p12-section--a .p12-lead strong { font-size: 32px; line-height: 1.15; }
.p12-sa-feature, .p12-sa-small { margin-top: 0; padding-bottom: 0; border-bottom: 0; }
.p12-sa-feature { padding-top: 20px; }
.p12-sa-feature a, .p12-sa-small a { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.p12-sa-feature .p12-img, .p12-sa-small .p12-img { height: auto; aspect-ratio: 16 / 9; }
.p12-sa-feature .p12-exc { display: none; } /* sem o resumo, a coluna da esquerda termina junto com os cartões da direita */
.p12-sa-c2 .p12-text { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #eef0f3; }
.p12-sa-c2 .p12-text:last-child { margin-bottom: 0; border-bottom: 0; }
.p12-sa-c3 { gap: 0 24px; margin-top: 24px; }
/* Home: fotos das matérias em 16:9 (computador e celular). Ficam de fora os cartões com texto sobre a foto que
   preenchem a altura da coluna (slider do destaque, cartão alto, mosaico e galerias). */
.p12-home .p12-side-img .p12-img, .p12-home .p12-hr-card .p12-img, .p12-home .p12-card5 .p12-img,
.p12-home .p12-sd-lead .p12-img, .p12-home .p12-sd-card .p12-img, .p12-home .p12-sd-li .p12-img,
.p12-home .p12-sb-mod .p12-img, .p12-home .p12-mosaic-small .p12-img { height: auto; aspect-ratio: 16 / 9; }
/* Títulos dos cartões (Destaque Secundário, fileiras de 4 e cartões de Cidades): maiores, em negrito. */
.p12-home .p12-card5 strong, .p12-home .p12-hr-card strong, .p12-home .p12-sd-card strong { font-size: 18px; font-weight: 700; letter-spacing: -.3px; line-height: 1.28; }
.p12-section--a > .p12-sa-c3 { align-self: end; padding-top: 24px; border-top: 1px solid #e6e8ec; }
.p12-section--a > .p12-sa-c1 { margin-right: -16px; padding-right: 16px; border-right: 1px solid #e6e8ec; } /* linha vertical no meio do espaço entre as colunas */ /* a base dos dois cartões alinha com a base da matéria da esquerda */
.p12-sa-small strong { font-size: 18px; letter-spacing: -.4px; line-height: 1.25; }
/* Modelo B: cartão grande | chamada com foto + duas chamadas | anúncio */
.p12-section--b { grid-template-columns: minmax(0, 350fr) minmax(0, 570fr) 300px; }
.p12-section--b.no-ad { grid-template-columns: minmax(0, 350fr) minmax(0, 890fr); }
.p12-sb-big .p12-overlay-card--tall { padding-bottom: 0; }
.p12-overlay-card--tall a { height: 300px; }
.p12-overlay-card--tall .p12-body { justify-content: flex-end; padding-bottom: 15px; }
.p12-overlay-card--tall .p12-hat--bg { padding: 5px 10px; }
.p12-overlay-card--tall strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; margin-top: 5px; font-family: var(--p12-text); font-size: 23px; font-weight: 700; letter-spacing: -1px; }
.p12-sb-mid { display: grid; grid-template-columns: minmax(0, 250fr) minmax(0, 300fr); gap: 0 20px; align-items: start; }
.p12-sb-mod .p12-img { height: 140px; }
.p12-sb-mod .p12-body { display: block; margin-top: 5px; }
.p12-sb-mod strong { margin-top: 5px; font-family: var(--p12-text); font-size: 18px; font-weight: 700; letter-spacing: -.5px; }
.p12-sb-mod { padding-bottom: 15px; border-bottom: 1px dotted #e1e1e1; }
.p12-sb-mod2 .p12-side-img:first-child { margin-top: 0; }
.p12-sb-mod2 .p12-side-img strong { font-family: var(--p12-text); font-size: 18px; font-weight: 700; }
/* Entretenimento (formato B): as três matérias com foto dividem a altura da coluna, cada uma centralizada na sua parte,
   com linhas entre elas; foto 16:9 maior e título menor, em até 3 linhas. */
.p12-sb-mod2 > .p12-side-img, .p12-sb-mod2 > .p12-side-img:last-child { flex: 1 1 0; display: flex; align-items: center; margin: 0; padding: 12px 0; border-bottom: 1px solid #eef0f3; }
.p12-sb-mod2 > .p12-side-img:first-child { padding-top: 0; }
.p12-sb-mod2 > .p12-side-img:last-child { padding-bottom: 0; border-bottom: 0; }
.p12-sb-mod2 .p12-side-img a { width: 100%; grid-template-columns: 46% minmax(0, 1fr); gap: 14px; align-items: center; }
.p12-sb-mod2 .p12-side-img strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; margin-top: 4px; font-size: 16px; letter-spacing: -.3px; line-height: 1.25; }

/* Modelo C — Mosaico: cartão grande (2 linhas) à esquerda e 4 cartões em 2 × 2, todos com o título sobre a foto. */
.p12-section--c { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.p12-section--c > .p12-title { margin-bottom: 0; }
/* Cartão grande: ocupa a altura toda das 4 chamadas ao lado, com título e resumo sobre a foto. */
.p12-mosaic-big { display: flex; padding-bottom: 0; }
.p12-mosaic-big > a { flex: 1 1 auto; height: auto; min-height: 420px; border-radius: var(--p12-radius); }
.p12-mosaic-big .p12-body { justify-content: flex-end; gap: 8px; padding: 0 26px 26px; background: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .55) 38%, rgba(0, 0, 0, 0) 68%); }
.p12-mosaic-big a:hover .p12-body { background: linear-gradient(to top, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .6) 45%, rgba(0, 0, 0, .05) 80%); }
.p12-mosaic-big .p12-img img { transition: transform .5s ease; }
.p12-mosaic-big a:hover .p12-img img { transform: scale(1.04); }
.p12-mosaic-big .p12-hat--bg { padding: 5px 12px; font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.p12-mosaic-big strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: 32px; letter-spacing: -.8px; line-height: 1.15; }
.p12-mosaic-big .p12-exc { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin-top: 2px; color: rgba(255, 255, 255, .88); font-size: 15px; line-height: 1.45; text-shadow: none; }
/* Quatro chamadas: foto em cima, chapéu colorido e título escuro embaixo, em 2 × 2. */
.p12-mosaic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; align-content: space-between; }
.p12-mosaic-small a { display: flex; flex-direction: column; gap: 10px; color: #111; }
.p12-mosaic-small .p12-img { aspect-ratio: 16 / 9; border-radius: var(--p12-radius); }
.p12-mosaic-small .p12-img img { transition: transform .4s ease; }
.p12-mosaic-small a:hover .p12-img img { transform: scale(1.05); }
.p12-mosaic-small .p12-body { display: block; padding-left: 10px; border-left: 3px solid var(--p12-c); }
.p12-mosaic-small .p12-hat { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.p12-mosaic-small strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; margin-top: 3px; color: #111; font-family: var(--p12-text); font-size: 17px; font-weight: 700; letter-spacing: -.2px; line-height: 1.28; }
.p12-mosaic-small a:hover strong { color: var(--p12-c); text-decoration: none; }

/* Destaque Secundário: 4 matérias em colunas logo abaixo do destaque principal. */
.p12-hero-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 32px; padding-top: 32px; border-top: 1px solid #e6e8ec; } /* linha no meio do espaço entre o destaque e as 4 colunas */
.p12-hr-card a { display: flex; flex-direction: column; gap: 10px; color: #111; }
.p12-hr-card .p12-img { aspect-ratio: 16 / 10; border-radius: var(--p12-radius); }
.p12-hr-card .p12-img img { transition: transform .4s ease; }
.p12-hr-card a:hover .p12-img img { transform: scale(1.05); }
.p12-hr-card .p12-hat { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.p12-hr-card strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; margin-top: 4px; font-family: var(--p12-text); font-size: 17px; font-weight: 700; line-height: 1.28; }
.p12-hr-card a:hover strong { color: var(--p12-c); text-decoration: none; }

/* Formato D: manchete larga (foto + texto lado a lado) e 3 cartões | anúncio e lista com foto pequena e 4 manchetes. */
.p12-section--d { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px 32px; }
.p12-section--d > .p12-title { margin-bottom: 0; }
.p12-sd-lead { padding-bottom: 24px; border-bottom: 1px solid #ececec; }
.p12-sd-lead a { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: center; color: #111; }
.p12-sd-lead .p12-img { aspect-ratio: 16 / 10; border-radius: var(--p12-radius); }
.p12-sd-lead .p12-hat, .p12-sd-card .p12-hat { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.p12-sd-lead strong { margin-top: 8px; font-size: 30px; font-weight: 900; letter-spacing: -.8px; line-height: 1.15; }
.p12-sd-lead .p12-exc { margin-top: 12px; color: #444; font-size: 15px; line-height: 1.5; }
.p12-sd-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.p12-sd-card a { display: flex; flex-direction: column; gap: 10px; color: #111; }
.p12-sd-card .p12-img { aspect-ratio: 16 / 10; border-radius: var(--p12-radius); }
.p12-sd-card strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; margin-top: 4px; font-family: var(--p12-text); font-size: 16px; font-weight: 700; line-height: 1.3; }
.p12-sd-lead .p12-img img, .p12-sd-card .p12-img img { transition: transform .4s ease; }
.p12-sd-lead a:hover .p12-img img, .p12-sd-card a:hover .p12-img img { transform: scale(1.04); }
.p12-sd-lead a:hover strong, .p12-sd-card a:hover strong, .p12-sd-li a:hover strong { color: var(--p12-c); text-decoration: none; }
.p12-sd-side { display: flex; flex-direction: column; gap: 14px; }
.p12-sd-li { padding: 11px 0; border-bottom: 1px dotted #e1e1e1; }
/* As 3 matérias da lista se distribuem na altura que sobra ao lado, terminando na mesma linha dos cartões. */
.p12-section--d > .p12-sd-side { align-self: stretch; }
.p12-sd-list { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: space-between; }
.p12-sd-li:first-child { padding-top: 0; }
.p12-sd-li:last-child { border-bottom: 0; padding-bottom: 0; }
.p12-sd-li a { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 14px; align-items: center; color: #111; } /* foto 16:9 com a altura de um título de 3 linhas */
.p12-sd-li .p12-img { aspect-ratio: 4 / 3; border-radius: var(--p12-radius); }
.p12-sd-li .p12-img img { transition: transform .4s ease; }
.p12-sd-li a:hover .p12-img img { transform: scale(1.06); }
.p12-sd-li .p12-hat { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.p12-sd-li strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; margin-top: 2px; font-family: var(--p12-text); font-size: 14px; font-weight: 700; line-height: 1.28; }

/* Alinhamento dos blocos de editoria: as colunas vão até o fim do bloco e a última chamada de cada uma
   se estica, de modo que todas as linhas de baixo (e o cartão grande) terminam na mesma altura. */
.p12-sa-c1, .p12-sa-c3, .p12-sb-big, .p12-sb-mid { align-self: stretch; }
.p12-sa-c1, .p12-sb-mod2 { display: flex; flex-direction: column; }
.p12-sa-c1 > :last-child, .p12-sb-mod2 > :last-child { flex: 1 1 auto; }
.p12-sa-c3 > .p12-item, .p12-sb-mid > .p12-item { align-self: stretch; }
.p12-sb-mid { align-items: stretch; }
.p12-sb-big { display: flex; }
.p12-sb-big .p12-overlay-card--tall { flex: 1 1 auto; display: flex; }
.p12-sb-big .p12-overlay-card--tall a { flex: 1 1 auto; height: auto; min-height: 300px; }
.p12-sb-ad { padding-top: 20px; }

/* ====================== Vídeos ====================== */
/* Quatro vídeos em 4 colunas iguais (formato vertical 4:5); escurecido só embaixo, botão de play redondo. */
.p12-videos-grid { display: grid; grid-template-columns: repeat(var(--p12-n, 4), minmax(0, 1fr)); gap: 20px; }
.p12-videos-grid--few .p12-video a { aspect-ratio: 4 / 3; } /* menos de 4 vídeos: colunas mais largas, cartões mais baixos */
.p12-video a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--p12-radius); background: #111; color: #fff; }
.p12-video img { transition: transform .5s ease, opacity .3s ease; }
.p12-video a:hover img { transform: scale(1.04); opacity: .92; }
.p12-video-shade { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 0 18px 18px; background: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .45) 40%, rgba(0, 0, 0, 0) 70%); }
.p12-video-play { position: absolute; left: 50%; top: 42%; z-index: 1; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; padding-left: 4px; border: 2px solid rgba(255, 255, 255, .9); border-radius: 50%; background: rgba(0, 0, 0, .35); color: #fff; transform: translate(-50%, -50%); backdrop-filter: blur(2px); transition: background .25s, border-color .25s, transform .25s; }
.p12-video a:hover .p12-video-play { border-color: var(--p12-main); background: var(--p12-main); transform: translate(-50%, -50%) scale(1.08); }
.p12-video-meta { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .85); font-family: var(--p12-text); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.p12-video strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; color: #fff; font-family: var(--p12-text); font-size: 18px; font-weight: 700; line-height: 1.25; }
.p12-video a:hover strong { text-decoration: none; }
.p12-vdots, .p12-vdots[hidden] { display: none; }
/* Vídeos em 16:9: play menor e título em até 2 linhas para caber no cartão. */
.p12-video a, .p12-videos-grid--few .p12-video a { aspect-ratio: 16 / 9; }
.p12-video-play { top: 38%; width: 48px; height: 48px; }
.p12-video strong { -webkit-line-clamp: 2; font-size: 17px; }
.p12-video-shade { padding: 0 16px 14px; }

/* Vídeo dentro da matéria, no lugar da imagem de destaque. */
.p12-feat--video { overflow: hidden; border-radius: var(--p12-radius); background: #000; }
.p12-feat-embed { position: relative; aspect-ratio: 16 / 9; }
.p12-feat-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.p12-feat-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }

/* ====================== Galerias ====================== */
/* Home: capa grande à esquerda e 4 capas em 2 × 2, com etiqueta da quantidade de fotos e escurecido só embaixo. */
.p12-gallery-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 220px 220px; gap: 14px; }
.p12-gal--big { grid-row: 1 / 3; }
.p12-gal a { position: relative; display: block; height: 100%; overflow: hidden; border-radius: var(--p12-radius); background: #111; color: #fff; }
.p12-gal img { transition: transform .5s ease; }
.p12-gal a:hover img { transform: scale(1.05); }
.p12-gal-shade { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 8px; padding: 0 16px 16px; background: linear-gradient(to top, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, 0) 70%); }
.p12-gal--big .p12-gal-shade { padding: 0 28px 28px; }
.p12-gal-count { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-family: var(--p12-text); font-size: 12px; font-weight: 700; letter-spacing: .03em; backdrop-filter: blur(4px); }
.p12-gal--big .p12-gal-count { padding: 6px 13px; font-size: 13px; background: var(--p12-main); }
.p12-gal strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-family: var(--p12-text); font-size: 16px; font-weight: 700; line-height: 1.25; }
.p12-gal--big strong { font-family: var(--p12-head); font-size: 30px; font-weight: 900; letter-spacing: -.6px; line-height: 1.15; }
.p12-gal a:hover strong { text-decoration: none; }

/* Página da galeria e lista de galerias. */
.p12-gallery-page { padding-bottom: 20px; font-family: var(--p12-text); }
.p12-gallery-page .p12-breadcrumb { margin: 28px 0 14px; }
.p12-gp-head { max-width: 900px; }
.p12-gp-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--p12-c); color: #fff; font-size: 13px; font-weight: 700; }
.p12-gp-title { margin: 14px 0 8px; font-family: var(--p12-head); font-size: 40px; font-weight: 900; letter-spacing: -1px; line-height: 1.12; color: #111; }
.p12-gp-meta { margin: 0; color: #666; font-size: 15px; }
.p12-gp-text { max-width: 900px; margin-top: 16px; color: #333; font-size: 17px; line-height: 1.65; }
.p12-gp-empty { margin: 30px 0; color: #666; }
/* Slider da galeria: uma foto por vez sobre fundo escuro, setas, barra com contador/play/tela cheia e miniaturas. */
.p12-gs { margin-top: 26px; outline: none; }
.p12-gs-stage { position: relative; height: min(70vh, 640px); min-height: 320px; overflow: hidden; border-radius: var(--p12-radius); background: #0d0d0f; }
.p12-gs-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.p12-gs-slide.is-active { opacity: 1; visibility: visible; }
.p12-gs-slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.p12-gs-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 24px 54px; background: linear-gradient(to top, rgba(0, 0, 0, .8), rgba(0, 0, 0, 0)); color: #fff; font-size: 15px; line-height: 1.45; text-align: center; }
.p12-gs-nav { position: absolute; top: 50%; z-index: 2; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #111; box-shadow: 0 4px 16px rgba(0, 0, 0, .25); cursor: pointer; transform: translateY(-50%); transition: background .2s, color .2s, transform .2s; }
.p12-gs-nav:hover { background: var(--p12-c); color: #fff; transform: translateY(-50%) scale(1.06); }
.p12-gs-prev { left: 16px; }
.p12-gs-next { right: 16px; }
.p12-gs-bar { position: absolute; left: 0; right: 0; bottom: 3px; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; pointer-events: none; }
.p12-gs-count { padding: 5px 11px; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .03em; }
.p12-gs-tools { display: flex; gap: 8px; pointer-events: auto; }
.p12-gs-tools button { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; cursor: pointer; transition: background .2s; }
.p12-gs-tools button:hover { background: var(--p12-c); }
.p12-gs-play .p12-gs-i-play, .p12-gs.is-paused .p12-gs-play .p12-gs-i-pause { display: none; }
.p12-gs.is-paused .p12-gs-play .p12-gs-i-play { display: block; }
.p12-gs-progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 3px; background: rgba(255, 255, 255, .15); }
.p12-gs-progress i { display: block; width: 0; height: 100%; background: var(--p12-c); }
.p12-gs-thumbs { display: flex; gap: 8px; margin-top: 10px; padding: 2px 2px 6px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.p12-gs-thumb { flex: 0 0 auto; width: 104px; height: 70px; padding: 0; overflow: hidden; border: 0; border-radius: 4px; background: #ddd; opacity: .55; cursor: pointer; scroll-snap-align: center; outline: 3px solid transparent; outline-offset: -3px; transition: opacity .2s, outline-color .2s; }
.p12-gs-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.p12-gs-thumb:hover { opacity: .85; }
.p12-gs-thumb.is-active { opacity: 1; outline-color: var(--p12-c); }
.p12-gs:fullscreen { display: flex; flex-direction: column; margin: 0; padding: 12px; background: #000; }
.p12-gs:fullscreen .p12-gs-stage { flex: 1; height: auto; border-radius: 0; }
.p12-gs:fullscreen .p12-gs-thumbs { justify-content: center; }
@media (prefers-reduced-motion: reduce) { .p12-gs-slide { transition: none; } }
@media (max-width: 700px) {
    .p12-gs-stage { height: 62vw; min-height: 220px; }
    .p12-gs-nav { width: 38px; height: 38px; }
    .p12-gs-prev { left: 8px; }
    .p12-gs-next { right: 8px; }
    .p12-gs-slide figcaption { padding: 24px 12px 46px; font-size: 13px; }
    .p12-gs-thumb { width: 72px; height: 50px; }
}
.p12-gp-more { margin-top: 20px; }
.p12-ga-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; margin: 8px 0 30px; }
.p12-ga-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.p12-ga-card a { display: flex; flex-direction: column; gap: 10px; color: #111; }
.p12-ga-cover { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--p12-radius); background: #eee; }
.p12-ga-cover img, .p12-ga-cover .f5-image-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.p12-ga-card a:hover .p12-ga-cover img { transform: scale(1.05); }
.p12-ga-cover .p12-gal-count { position: absolute; left: 12px; bottom: 12px; }
.p12-ga-card strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 18px; font-weight: 700; line-height: 1.3; }
.p12-ga-card a:hover strong { color: var(--p12-c); }
.p12-ga-card time { color: #777; font-size: 13px; }

/* Visualizador em tela cheia (assets/js/portal.js). */
.p12-lb { position: fixed; inset: 0; z-index: 100000; display: flex; flex-direction: column; background: rgba(10, 10, 12, .96); color: #fff; font-family: var(--p12-text); }
.p12-lb[hidden] { display: none; }
.p12-lb-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; font-size: 14px; }
.p12-lb-stage { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 70px; }
.p12-lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.p12-lb-cap { min-height: 52px; padding: 14px 20px 20px; text-align: center; color: rgba(255, 255, 255, .85); font-size: 15px; }
.p12-lb button { display: flex; align-items: center; justify-content: center; border: 0; background: none; color: #fff; cursor: pointer; }
.p12-lb-close { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .12) !important; }
.p12-lb-nav { position: absolute; top: 50%; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .12) !important; transform: translateY(-50%); }
.p12-lb-nav:hover, .p12-lb-close:hover { background: rgba(255, 255, 255, .25) !important; }
.p12-lb-prev { left: 12px; }
.p12-lb-next { right: 12px; }

/* ====================== Últimas e mais lidas ====================== */
.p12-lists { display: grid; grid-template-columns: minmax(0, 440fr) minmax(0, 440fr) 300px; gap: 40px; align-items: start; margin-top: 10px; }
.p12-lists .p12-title { margin-bottom: 20px; }
.p12-list-item { display: block; padding: 15px 0; border-bottom: 1px dotted #e1e1e1; color: #000; font-family: var(--p12-text); }
.p12-list-item > span, .p12-rank-body > span { display: block; font-size: 13px; }
.p12-list-item strong { display: block; margin-top: 5px; font-size: 16px; font-weight: 700; letter-spacing: -.5px; line-height: 1.2; }
.p12-list-item:hover strong { text-decoration: underline; }
.p12-rank-item { display: grid; grid-template-columns: 10% minmax(0, 1fr); gap: 1%; align-items: start; }
.p12-rank-item b { color: var(--p12-main); font-size: 40px; font-weight: 300; line-height: 1; }
.p12-lists-ad { padding-top: 40px; }
/* Últimas e Mais lidas: faixa cinza clara de ponta a ponta, com as listas em cartões brancos. */
.p12-lists { align-items: stretch; margin-top: 56px; margin-bottom: -40px; padding: 48px 0 56px; /* a margem negativa encosta a faixa no rodapé */ background: #f4f5f7; box-shadow: 0 0 0 100vmax #f4f5f7; clip-path: inset(0 -100vmax); }
.p12-list { padding: 24px 26px 10px; border: 1px solid #e9eaee; border-radius: 10px; background: #fff; box-shadow: 0 6px 20px rgba(17, 24, 39, .05); }
.p12-lists .p12-title, .p12-home .p12-lists .p12-title { margin-top: 0; margin-bottom: 8px; }
.p12-list-item { padding: 16px 0; border-bottom: 1px solid #eef0f3; }
.p12-list .p12-list-item:last-child { border-bottom: 0; }
.p12-list-item > span:not(.p12-rank-body), .p12-rank-body > span { display: inline-flex; align-items: center; gap: 7px; color: #6b7280; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.p12-rank-body { display: block; min-width: 0; }
.p12-list-item > span:not(.p12-rank-body)::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--p12-main); }
.p12-list-item strong { margin-top: 6px; color: #111; font-size: 16px; letter-spacing: -.3px; line-height: 1.3; transition: color .2s; }
.p12-list-item:hover strong { color: var(--p12-main); text-decoration: none; }
.p12-rank-item { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; }
.p12-rank-item b { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--p12-main); color: #fff; font-size: 20px; font-weight: 800; line-height: 1; }
.p12-rank-item:nth-of-type(n+4) b { border: 2px solid var(--p12-main); background: #fff; color: var(--p12-main); }
.p12-lists-ad { align-self: start; padding-top: 0; }

/* ====================== Rodapé ====================== */
.p12-footer { margin-top: 40px; padding: 44px 0 36px; background: var(--p12-foot-bg, var(--p12-main)); color: var(--p12-foot-text, #fff); font-family: var(--p12-text); }
/* Marca (logo, descrição, redes) | Editorias | Links — com colunistas, entra uma coluna a mais. */
.p12-footer-cols { display: grid; grid-template-columns: 300px minmax(0, 1fr) 220px; gap: 0 56px; }
.p12-footer-cols.has-columnists { grid-template-columns: 280px minmax(0, 1.4fr) minmax(0, 1fr) 200px; gap: 0 40px; }
.p12-footer-cols.has-columnists .p12-footer-col--wide + .p12-footer-col--wide .p12-footer-links--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.p12-footer-logo .logo { padding: 0; color: var(--p12-foot-text, #fff); font-size: 40px; line-height: 1.1; letter-spacing: -1.5px; }
.p12-footer-logo .logo span, .p12-footer-logo .logo.is-placeholder-logo span:first-child { color: var(--p12-foot-text, #fff); }
.p12-footer-logo .f5-custom-logo { display: block; width: auto; max-width: 240px; height: auto; max-height: 80px; }
.p12-footer-about { margin: 16px 0 0; color: var(--p12-foot-text, #fff); opacity: .92; font-size: 14px; line-height: 1.6; }
.p12-footer-follow { margin: 22px 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.p12-footer-social { display: flex; flex-wrap: wrap; gap: 8px; }
.p12-footer-social a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: color-mix(in srgb, var(--p12-foot-text, #fff) 16%, transparent); color: var(--p12-foot-text, #fff); transition: background .2s, color .2s, transform .2s; }
.p12-footer-social a:hover { background: var(--p12-foot-text, #fff); color: var(--p12-main); transform: translateY(-2px); }
.p12-footer-social svg { width: 18px; height: 18px; }
.p12-footer-title { margin: 0; color: inherit; font-family: var(--p12-text); font-size: 22px; font-weight: 700; transform: skewX(-15deg); }
.p12-footer-links { display: grid; grid-template-columns: minmax(0, 1fr); margin: 20px .5% 0; }
.p12-footer-links--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.p12-footer-links a { padding: 5px 0; color: inherit; font-size: 15px; }
.p12-footer-links a:hover { text-decoration: underline; }
.p12-footer-bottom { padding: 20px 0; background: var(--p12-foot-bg, var(--p12-main)); color: var(--p12-foot-text, #fff); font-family: var(--p12-text); font-size: 15px; }
.p12-footer-bottom .p12-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-top: 10px; }
.p12-footer-bottom::before { content: ""; display: block; }
.p12-footer + .p12-footer-bottom { background-image: linear-gradient(var(--p12-foot-bottom, transparent), var(--p12-foot-bottom, transparent)), linear-gradient(rgba(0, 0, 0, .12), rgba(0, 0, 0, .12)); }
.p12-credit a { color: inherit; text-decoration: underline; }

/* ====================== Página de categoria e demais listagens ====================== */
.p12-listing-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; align-items: start; }
.p12-listing-main > .p12-title { margin-bottom: 0; }
.p12-li { padding: 24px 0; border-bottom: 1px dotted #e0e0e0; }
.p12-li a { display: grid; grid-template-columns: 36% minmax(0, 1fr); gap: 24px; align-items: start; color: #000; }
.p12-li .p12-img { aspect-ratio: 16 / 9; }
.p12-li-body { display: block; font-family: var(--p12-text); }
.p12-li time { display: block; color: var(--p12-c); font-size: 14px; font-weight: 700; }
.p12-li strong { display: block; color: #000; font-size: 30px; font-weight: 700; letter-spacing: -1px; line-height: 1.2; }
.p12-li-exc { display: block; margin-top: 5px; color: #000; font-size: 14px; line-height: 1.35; }
.p12-li a:hover time { color: #000; }
.p12-li a:hover strong { color: var(--p12-c); }
.p12-pages { display: inline-flex; flex-wrap: wrap; margin-top: 20px; border: 1px solid #ddd; font-family: var(--p12-head); font-size: 15px; }
.p12-pg { padding: 10px 12px; color: #999; }
.p12-pg + .p12-pg { border-left: 1px solid #ddd; }
.p12-pg.current { background: var(--p12-c); color: #fff; }
a.p12-pg:hover { background: var(--p12-c); color: #fff; }
.p12-pg.is-off { cursor: not-allowed; }
.p12-pg.dots { color: #999; }
.p12-listing-side { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; }
.p12-listing-side .p12-title { margin: 10px 0 0; }
.p12-side-list .p12-list-item:last-child { border-bottom: 0; }
.p12-listing-search { display: flex; margin-top: 20px; border: 1px solid #ddd; }
.p12-listing-search input { flex: 1; min-width: 0; padding: 14px 16px; border: 0; font-family: var(--p12-text); font-size: 15px; }
.p12-listing-search button { width: 52px; border: 0; background: var(--p12-c); color: #fff; }
.p12-listing-count, .p12-listing-intro { margin: 12px 0 0; color: #555; font-family: var(--p12-text); font-size: 15px; }
.p12-listing-profile { display: flex; gap: 16px; align-items: center; margin-top: 16px; font-family: var(--p12-text); }
.p12-listing-profile img, .p12-listing-profile .f5-avatar-initials { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; }
.p12-listing-role { margin: 0 0 4px; color: var(--p12-c); font-weight: 700; }

/* ====================== Matéria ====================== */
.p12-article { font-family: var(--p12-art-text); color: #363434; }
.p12-article-wrap { width: min(1240px, 100% - 40px); margin: 0 auto; }
.p12-breadcrumb { margin: 30px 0 20px; color: #5b5b5b; font-size: 12px; line-height: 1.4; }
.p12-breadcrumb a { color: #5b5b5b; }
.p12-breadcrumb a:hover { color: var(--p12-c); }
.p12-cat-badge { display: inline-block; margin-bottom: 20px; padding: 8px 14px; background: var(--p12-c, var(--p12-main)); color: #fff !important; font-size: 11.5px; font-weight: 700; letter-spacing: .7px; line-height: 1; text-transform: uppercase; }
.p12-article-title { margin: 0 0 20px; color: #363434; font-family: var(--p12-art-head); font-size: 45px; font-weight: 700; line-height: 54px; }
.p12-tagline { margin: 0 0 20px; color: #363434; font-family: var(--p12-art-head); font-size: 28px; font-weight: 400; line-height: 39.2px; }
.p12-article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 352px; gap: 70px; align-items: start; margin-top: 25px; }
.p12-meta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 20px; }
.p12-meta { font-family: var(--p12-art-head); font-size: 15px; line-height: 25px; }
.p12-meta-author { display: block; color: #363434; font-weight: 700; text-decoration: underline; }
.p12-meta-share { display: flex; align-items: center; gap: 6px; color: #777; font-size: 13px; }
.p12-share-label { display: inline-flex; align-items: center; gap: 4px; }
.p12-share-icons { display: flex; align-items: center; gap: 2px; }
.p12-share-icons .p12-sh { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 0; background: none; color: #363434; }
.p12-share-icons .p12-sh--facebook { color: #3b5998; }
.p12-share-icons .p12-sh--whatsapp { color: #25d366; }
.p12-share-icons .p12-sh--link { color: var(--p12-c, var(--p12-main)); }
.p12-share-icons .p12-sh--print { color: var(--p12-c, var(--p12-main)); }
.p12-read-time { margin-left: 10px; }
.p12-feat { margin: 0 0 40px; }
/* Imagem de destaque da matéria sempre em 16:9 (recorte centralizado), como o vídeo que ocupa o mesmo lugar. */
.p12-feat img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; border-radius: 5px; }
.p12-feat figcaption { margin-top: 6px; color: #777; font-size: 13px; }
.p12-video-embed, .p12-article-ad { margin: 0 0 30px; }
.p12-article-ad:has(.ad-slot-article_bottom) { margin-top: 30px; } /* anúncio do fim da matéria não cola em "Compartilhar este artigo" */
.p12-content-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 40px; align-items: start; }
.p12-share-rail { position: sticky; top: 90px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: #555; font-size: 11px; text-align: center; }
.admin-bar .p12-share-rail { top: 122px; }
.p12-share-rail-label { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.p12-share-rail-icons { display: flex; flex-direction: column; gap: 6px; padding: 8px 4px; border-radius: 30px; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.p12-share-rail-icons .p12-sh { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: none; color: #363434; }
.p12-share-rail-icons .p12-sh--facebook { color: #3b5998; }
.p12-share-rail-icons .p12-sh--whatsapp { color: #25d366; }
.p12-share-rail-icons .p12-sh:hover { background: #f2f2f2; }
.p12-content { min-width: 0; color: #363434; font-family: var(--p12-art-text); font-size: 18px; line-height: 30.6px; overflow-wrap: break-word; }
.p12-content p { margin: 0 0 27px; text-align: justify; }
.p12-content h2, .p12-content h3, .p12-content h4 { margin: 0 0 16px; color: #363434; font-family: var(--p12-art-head); font-weight: 700; line-height: 1.3; }
.p12-content h2 { font-size: 26px; }
.p12-content h3 { font-size: 22px; }
.p12-content a { color: var(--p12-c); text-decoration: underline; }
.p12-content img { height: auto; border-radius: 5px; }
.p12-content blockquote { margin: 0 0 27px; padding: 10px 20px; border-left: 4px solid var(--p12-c); background: #f7f7f7; font-style: italic; }
.p12-content .article-related-inline { font-size: 16px; }
.p12-related-list { margin: 10px 0 30px; padding: 0; list-style: none; }
.p12-related-list li { position: relative; padding: 4px 0 4px 22px; font-family: var(--p12-art-head); font-size: 15px; line-height: 1.5; }
.p12-related-list li::before { content: "+"; position: absolute; left: 2px; top: 3px; color: var(--p12-c); font-weight: 700; }
.p12-related-list a { color: #363434 !important; font-weight: 700; text-decoration: none !important; }
.p12-related-list a:hover { color: var(--p12-c) !important; }
.p12-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 25px; }
.p12-tags a { padding: 4px 10px; border: 1px solid #e3e3e3; color: #363434; font-size: 13px; }
.p12-share-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0; border-top: 1px solid #ececec; border-bottom: 1px solid #ececec; }
.p12-share-bottom strong { display: inline-flex; align-items: center; gap: 6px; font-family: var(--p12-art-head); font-size: 16px; }
.p12-share-big { display: flex; flex-wrap: wrap; gap: 6px; }
.p12-share-big .p12-sh { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 40px; height: 36px; padding: 0 12px; border: 0; border-radius: 3px; color: #fff; font-size: 13px; }
.p12-sh--facebook { background: #3b5998; }
.p12-share-big .p12-sh--twitter { background: #000; }
.p12-share-big .p12-sh--whatsapp { background: #25d366; }
.p12-share-big .p12-sh--link { background: var(--p12-c, var(--p12-main)); }
.p12-share-big .p12-sh--print { background: color-mix(in srgb, var(--p12-c, var(--p12-main)) 70%, #000); }
.p12-share-icons .p12-sh--facebook, .p12-share-rail-icons .p12-sh--facebook { background: none; }
.p12-sh.is-copied { outline: 2px solid var(--p12-c); }
.p12-author { margin-top: 40px; padding-bottom: 20px; font-family: var(--p12-art-text); font-size: 14px; line-height: 1.8; }
.p12-author-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-family: var(--p12-art-head); font-size: 14px; }
.p12-author-head a { color: #363434; font-weight: 700; }
.p12-author-avatar img, .p12-author-avatar .f5-avatar-initials { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.p12-author p { margin: 0; }
.p12-sidebar { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 30px; }
.p12-sidebar .p12-ad--300 .f5-ad-content { max-width: 352px; }
.p12-slash-title { margin: 0 0 20px; font-family: var(--p12-art-head); font-size: 18px; font-weight: 700; color: #363434; }
.p12-slash-title span::before, .p12-slash-title span::after { content: "/"; margin: 0 8px; color: var(--p12-main); font-weight: 700; }
.p12-slash-title span::before { margin-left: 0; }
.p12-mini { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 14px; margin-bottom: 18px; }
.p12-mini-img { display: block; height: 75px; overflow: hidden; border-radius: 3px; background: #eee; }
.p12-mini-img img { width: 100%; height: 100%; object-fit: cover; }
.p12-mini h3 { margin: 0 0 6px; font-family: var(--p12-art-head); font-size: 14px; font-weight: 700; line-height: 1.35; }
.p12-mini h3 a { color: #363434; }
.p12-mini h3 a:hover { color: var(--p12-c); }
.p12-mini p { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; color: #777; font-size: 12px; }
.p12-mini p a { color: #363434; font-weight: 700; }
.p12-more { margin-top: 50px; padding: 40px 0 10px; border-top: 1px solid #ececec; }
.p12-more-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.p12-more-img { position: relative; display: block; overflow: hidden; border-radius: 3px; aspect-ratio: 16 / 9; background: #eee; }
.p12-more .p12-slash-title { margin-bottom: 24px; font-size: 26px; }
.p12-more-img img { width: 100%; height: 100%; object-fit: cover; }
.p12-more-img .p12-cat-badge--sm { position: absolute; left: 8px; bottom: 0; margin: 0; padding: 5px 8px; font-size: 11px; }
.p12-more-card h3 { margin: 12px 0 8px; font-family: var(--p12-art-head); font-size: 19px; font-weight: 700; line-height: 1.3; }
.p12-more-card h3 a { color: #363434; }
.p12-more-card h3 a:hover { color: var(--p12-c); }
.p12-more-card time { color: #777; font-size: 12px; }
.p12-more-btn { margin: 30px 0 0; text-align: center; }
.p12-more-btn a { display: inline-block; padding: 9px 26px; border-radius: 3px; background: #ececec; color: #363434; font-family: var(--p12-art-head); font-size: 13px; font-weight: 700; }
.p12-more-btn a:hover { background: var(--p12-c); color: #fff; }

/* ====================== Telas menores ====================== */
@media (max-width: 1250px) {
    .p12-header-inner { gap: 0 20px; }
    .p12-weather { padding-left: 20px; }
    .p12-menu-list > li > a { padding: 16px 11px 14px; font-size: 13px; }
    .p12-menu-list > li > a::after { left: 11px; right: 11px; }
    .p12-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .p12-hero-right { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2%; }
    .p12-section--a { grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "t t" "c1 ad" "c1 c2" "c3 c3"; }
    .p12-section--b { grid-template-columns: minmax(0, 350fr) minmax(0, 290fr) 300px; }
    .p12-sb-mid { grid-template-columns: minmax(0, 1fr); }
    .p12-lists { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 300px; gap: 20px; }
    .p12-article-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
}

@media (max-width: 960px) {
    .p12-menu-list { display: none; }
    .p12-canvas-btn { display: none; } /* no tablet e no celular, o mesmo menu abre pelo botão do cabeçalho */
    .p12-menu { min-height: 50px; }
    .p12-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 30px; height: 50px; padding: 0; border: 0; background: none; }
    .p12-burger span { display: block; height: 3px; background: #000; }
    .p12-burger span:nth-child(2) { width: 80%; }
    .p12-burger span:nth-child(3) { width: 60%; }
    .p12-header-inner { grid-template-columns: auto auto minmax(0, 1fr); gap: 0 16px; }
    .p12-header-ad { grid-column: 1 / -1; order: 5; max-width: none; margin-top: 12px; }
    .p12-weather { justify-self: end; }
    .p12-top-date { display: none; }
    .p12-top-menu { padding-left: 0; border-left: 0; }
    .p12-hero, .p12-section--a, .p12-section--b, .p12-section--b.no-ad, .p12-row, .p12-lists, .p12-listing-grid { grid-template-columns: minmax(0, 1fr); }
    .p12-section--b { row-gap: 20px; }
    .p12-section--b > .p12-title { margin-bottom: 0; }
    .p12-section--c { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .p12-mosaic-big > a { min-height: 340px; }
    .p12-section--d { grid-template-columns: minmax(0, 1fr); }
    .p12-sd-side { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }
    .p12-listing-side { align-items: center; }
    .p12-row5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .p12-listing-side > section { width: 100%; }
    .p12-li strong { font-size: 22px; }
    .p12-section--a, .p12-section--a.no-ad { grid-template-areas: "t" "c1" "c2" "c3" "ad"; }
    .p12-slider { order: -1; }
    .p12-blogs-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .p12-videos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 12px; }
    .p12-video a { width: 100%; min-height: 0; }
    .p12-video strong { font-size: 15px; }
    .p12-video-shade { padding: 0 12px 12px; }
    .p12-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 300px 222px 222px; }
    .p12-gal--big { grid-column: 1 / -1; grid-row: auto; }
    .p12-hero-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
    .p12-ga-grid, .p12-ga-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .p12-footer-cols, .p12-footer-cols.has-columnists { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .p12-article-grid { grid-template-columns: minmax(0, 1fr); }
    .p12-sidebar { position: static; }
    .p12-more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .p12-ad, .p12-sa-ad, .p12-sb-ad, .p12-lists-ad { justify-self: center; width: 100%; max-width: 300px; }
}

@media (max-width: 700px) {
    .p12-topbar { display: none; }
    .p12-header { position: sticky; top: 0; z-index: 60; background: var(--p12-main); box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
    .admin-bar .p12-header { top: 46px; }
    .p12-header-inner { grid-template-columns: 40px 1fr 40px; min-height: 0; padding: 10px 0; }
    .p12-burger { display: flex; }
    .p12-burger span { background: #fff; }
    .p12-logo { justify-self: center; }
    .p12-logo .logo { color: #fff; font-size: 34px; line-height: 50px; }
    .p12-logo .logo.is-placeholder-logo span:first-child { color: #fff; }
    .p12-logo .f5-custom-logo { width: auto; height: 50px; }
    .p12-search-btn.p12-search-btn--mobile { display: flex; justify-self: end; width: 40px; height: 40px; color: #fff; }
    .p12-weather { display: none; }
    .p12-header-ad { grid-column: 1 / -1; order: 5; margin-top: 10px; }
    .p12-header ~ .p12-header-ad { margin: 0; padding: 12px 16px; background: #f6f6f6; border-bottom: 1px solid #ececec; }
    .p12-header ~ .p12-header-ad .p12-ad { margin: 0 auto; }
    .p12-menu { display: none; }
    .p12-menu:has(#header-search:not([hidden])) { display: block; position: fixed; top: var(--p12-hh, 70px); left: 0; right: 0; z-index: 59; min-height: 0; padding: 10px 0; box-shadow: 0 8px 18px rgba(0, 0, 0, .15); }
    .p12-menu .p12-search-btn { display: none; }
    .p12-search { position: static; flex: 1; width: 100%; box-shadow: none; }
    .p12-slider { min-height: 300px; }
    .p12-overlay strong { font-size: 22px; }
    .p12-lead strong { font-size: 28px; }
    .p12-hero-right { display: flex; flex-direction: column; gap: 20px; }
    /* Destaque no celular: cartões com foto em 16:9 e espaço igual entre os itens. */
    .p12-hero-right .p12-overlay-card { padding-bottom: 0; }
    .p12-hero-right .p12-overlay-card a { height: auto; aspect-ratio: 16 / 9; }
    .p12-hero-right .p12-text--plain { padding: 0 0 20px; border-bottom: 1px solid #eef0f3; }
    .p12-hero-thumb { margin-top: 0; }
    .p12-hero-thumb a { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .p12-hero-thumb .p12-img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
    .p12-side-img .p12-img { height: 110px; }
    .p12-sa-feature a { grid-template-columns: minmax(0, 1fr); }
    /* Imagens de largura inteira em 16:9; as duas matérias de baixo do bloco ficam uma por linha, com a imagem acima. */
    .p12-sa-feature .p12-img, .p12-sa-small .p12-img, .p12-sb-mod .p12-img { height: auto; aspect-ratio: 16 / 9; }
    /* Celular: os cartões com texto sobre a foto também ficam em 16:9 (ocupam a largura toda). */
    .p12-slider { min-height: 0; aspect-ratio: 16 / 9; }
    .p12-slide .p12-overlay strong, .p12-overlay strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 19px; }
    .p12-home .p12-sb-big .p12-overlay-card--tall a, .p12-home .p12-mosaic-big > a { min-height: 0; height: auto; aspect-ratio: 16 / 9; }
    .p12-home .p12-overlay-card--tall strong, .p12-home .p12-mosaic-big strong { -webkit-line-clamp: 2; font-size: 19px; }
    .p12-home .p12-gallery-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-rows: auto; gap: 14px; }
    .p12-home .p12-gal a { height: auto; aspect-ratio: 16 / 9; }
    .p12-home .p12-gal strong { -webkit-line-clamp: 2; font-size: 17px; }
    .p12-sa-c3 { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 20px; }
    .p12-sa-ad { margin-top: 28px; } /* no celular o anúncio vem depois das matérias: espaço para não colar */
    .p12-section--a > .p12-sa-c1 { margin-right: 0; padding-right: 0; border-right: 0; }
    .p12-section--a > .p12-sa-c3 { padding-top: 20px; }
    .p12-row5 { margin-top: 28px; padding-top: 28px; }
    .p12-section--a .p12-lead strong { font-size: 28px; }
    .p12-sa-small a { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .p12-sa-small strong { font-size: 19px; letter-spacing: -.5px; }
    .p12-title { gap: 10px; margin-top: 28px; }
    .p12-home .p12-title, .p12-home .p12-row { margin-top: 40px; }
    .p12-ad-band { margin-top: 40px; padding: 16px 0; }
    /* Celular: todos os anúncios ocupam a largura do layout. */
    .p12-ad, .p12-sa-ad, .p12-sb-ad, .p12-sd-ad, .p12-lists-ad, .p12-header-ad { justify-self: stretch; align-self: stretch; width: 100%; max-width: none; }
    .p12 .p12-ad .f5-ad-content, .p12 .p12-sidebar .p12-ad--300 .f5-ad-content { width: 100%; max-width: none; }
    .p12 .p12-ad .f5-ad-content > *, .p12 .p12-ad .f5-ad-content img { width: 100%; max-width: none; }
    .p12 .p12-ad .f5-ad-content img { height: auto; }
    .p12-header ~ .p12-header-ad { padding: 12px 20px; }
    .p12-top-band { padding: 14px 0; }
    .p12-title-more { font-size: 11px; }
    .p12-tt-tab .p12-title span { padding: 8px 28px 7px 14px; font-size: 16px; }
    .p12-tt-bar .p12-title span { font-size: 21px; }
    .p12-tt-bar .p12-title span::before { height: 21px; }
    .p12-tt-bar .p12-title-more { padding: 5px 9px; }
    .p12-tt-classic .p12-title span { padding: 12px 22px; font-size: 24px; }
    .p12-tt-m02 .p12-title { gap: 12px; margin-bottom: 20px; }
    .p12-tt-m02 .p12-title span { font-size: 27px; letter-spacing: -.8px; }
    .p12-tt-m02 .p12-title-more { font-size: 12px; }
    .p12-tt-m02line .p12-title { gap: 12px; margin-bottom: 20px; }
    .p12-tt-m02line .p12-title span { padding-bottom: 6px; font-size: 26px; letter-spacing: -.8px; }
    .p12-tt-m02line .p12-title-more { margin-bottom: 9px; font-size: 12px; }
    .p12-blogs-list { grid-template-columns: minmax(0, 1fr); }
    /* Vídeos: slider de uma coluna, deslizando para o lado. */
    .p12-videos-grid { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .p12-videos-grid::-webkit-scrollbar { display: none; }
    .p12-video { flex: 0 0 100%; scroll-snap-align: start; }
    .p12-video-play { top: 36%; width: 50px; height: 50px; }
    .p12-video strong { font-size: 17px; }
    .p12-vdots:not([hidden]) { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
    .p12-vdots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #d0d0d0; cursor: pointer; transition: width .25s, background .25s; }
    .p12-vdots button[aria-current="true"] { width: 22px; background: var(--p12-main); }
    .p12-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 240px; grid-auto-rows: 160px; gap: 10px; }
    .p12-gal--big { grid-row: auto; grid-column: 1 / -1; }
    .p12-gal--big strong { font-size: 20px; }
    .p12-gal strong { font-size: 14px; }
    .p12-gal-shade, .p12-gal--big .p12-gal-shade { padding: 0 12px 12px; }
    .p12-gp-title { font-size: 28px; }
    .p12-hr-card strong { font-size: 14px; }
    .p12-ga-grid, .p12-ga-grid--4 { grid-template-columns: minmax(0, 1fr); }
    .p12-lb-stage { padding: 0 8px; }
    .p12-lb-nav { width: 40px; height: 40px; background: rgba(0, 0, 0, .55) !important; }
    .p12-lb-prev { left: 4px; }
    .p12-lb-next { right: 4px; }
    .p12-mosaic-big > a { min-height: 280px; }
    .p12-mosaic-big .p12-body { padding: 0 14px 16px; }
    .p12-mosaic-big strong { font-size: 22px; }
    .p12-mosaic-big .p12-exc { display: none; }
    .p12-mosaic-grid { gap: 16px 12px; }
    .p12-mosaic-small strong { font-size: 14px; }
    .p12-mosaic-small .p12-body { padding-left: 8px; }
    .p12-sd-lead a { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .p12-sd-lead strong { font-size: 23px; }
    .p12-sd-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .p12-sd-card a { display: grid; grid-template-columns: 40% minmax(0, 1fr); gap: 12px; align-items: start; }
    .p12-sd-card strong { font-size: 15px; }
    /* Cidades no celular: as matérias de baixo seguem o mesmo cartão das de cima, separadas por uma linha só. */
    .p12-section--d { row-gap: 0; }
    .p12-sd-lead { padding-bottom: 16px; border-bottom: 0; }
    .p12-sd-row { gap: 0; margin-top: 0; }
    .p12-sd-card, .p12-sd-li, .p12-sd-li:first-child { padding: 16px 0; border-top: 1px solid #ececec; border-bottom: 0; }
    .p12-sd-li:last-child { padding-bottom: 0; }
    .p12-sd-li a { grid-template-columns: 40% minmax(0, 1fr); }
    .p12-sd-li .p12-img { aspect-ratio: 16 / 10; }
    .p12-sd-li .p12-hat { font-size: 12px; }
    .p12-sd-li strong { margin-top: 4px; font-size: 15px; line-height: 1.3; }
    .p12-sd-side { display: flex; flex-direction: column; gap: 0; }
    .p12-sd-ad { order: 2; align-self: center; margin-top: 20px; }
    .p12-sd-ad:not(:has(*)) { display: none; }
    .p12-footer-links--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    /* Rodapé no celular: logo maior, descrição e redes sociais centralizadas. */
    .p12-footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
    .p12-footer-logo .logo { font-size: 52px; }
    .p12-footer-logo .f5-custom-logo { max-width: 300px; max-height: 110px; margin: 0 auto; }
    .p12-footer-social { justify-content: center; }
    .p12-footer-social a { width: 42px; height: 42px; }
    /* Listas do rodapé em 2 colunas com a mesma quantidade de links (a 1ª fica com o que sobrar se for ímpar), na ordem de cima para baixo. */
    .p12-footer .p12-footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--p12-rows, 3), auto); grid-auto-flow: column; column-gap: 16px; }
    /* Rodapé final centralizado; o espaço de baixo evita que o botão "voltar ao topo" cubra o crédito. */
    .p12-footer-bottom { padding-bottom: 84px; text-align: center; }
    .p12-footer-bottom .p12-wrap { flex-direction: column; align-items: center; gap: 10px; }
    .p12-article-title { font-size: 30px; line-height: 36px; }
    .p12-tagline { font-size: 20px; line-height: 28px; }
    .p12-content-row { grid-template-columns: minmax(0, 1fr); }
    .p12-share-rail { display: none; }
    .p12-content p { text-align: left; }
    .p12-more-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .p12-more .p12-slash-title { font-size: 24px; }
    .p12-more-card h3 { font-size: 21px; }
    .p12-li { padding: 20px 0; }
    .p12-li a { grid-template-columns: minmax(0, 1fr); gap: 12px; } /* celular: imagem 16:9 em cima, texto embaixo */
    .p12-row5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .p12-card5 strong { font-size: 15px; }
    .p12-home .p12-card5 strong, .p12-home .p12-hr-card strong { font-size: 16px; }
    .p12-home .p12-sd-card strong { font-size: 17px; }
    /* Sobrando uma matéria sozinha na última linha, ela ocupa a linha inteira com a imagem ao lado. */
    .p12-row5 > .p12-card5:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .p12-row5 > .p12-card5:last-child:nth-child(odd) a { display: grid; grid-template-columns: calc(50% - 8px) minmax(0, 1fr); gap: 16px; align-items: center; }
    .p12-row5 > .p12-card5:last-child:nth-child(odd) .p12-body { margin-top: 0; }
    .p12-li strong { font-size: 20px; letter-spacing: -.3px; }
    .p12-li-exc { display: none; }
    .p12-li time { font-size: 12px; }
}
