/* The Portal — estilos do tema (fiéis ao canvas "The Portal — Home e notícia") */

:root {
	--night: #0A0A0A; --surface: #181818; --graphite: #383839; --white: #FFFFFF;
	--cream: #F2EFE7; --muted: #89847A; --coral: #FF6038;
	--ease: cubic-bezier(.44, 0, .56, 1);
	--ed-bg: var(--coral); --ed-fg: var(--night);
	--pad: 40px;
}

html, body { overflow-x: clip; }
body { -webkit-font-smoothing: antialiased; }
a { transition: color .4s var(--ease); }
:where(a, button, input, select, textarea):focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.wp-site-blocks { padding-top: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
.tp-home > *, .tp-home .wp-block-group > * { margin-block-start: 0; }
.tp-full, .tp-especial, .tp-roda, .tp-blocos { width: 100vw; margin-left: calc(50% - 50vw) !important; margin-right: 0 !important; }

/* Visível só no desktop / só no celular */
@media (max-width: 809px) { .tp-so-desktop { display: none !important; } }
@media (min-width: 810px) { .tp-so-mobile { display: none !important; } }

/* Utilitários ------------------------------------------------------- */
.tp-rotulo { font-size: 12px; line-height: 13.2px; font-weight: 500; letter-spacing: .6px; text-transform: uppercase; }
.tp-rotulo a { color: inherit; }
.tp-rotulo--cor, .tp-rotulo--cor a { color: var(--coral); }
.tp-meta { font-size: 10px; line-height: 12px; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.tp-etiqueta { align-self: flex-start; padding: 2px 10px; background: #164160; color: var(--white); font-size: 10px; line-height: 12px; font-weight: 700; text-transform: uppercase; }
.tp-linha { flex: 1; height: 1px; background: var(--graphite); }
.tp-img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.tp-img--16x9 { aspect-ratio: 16 / 9; }
.tp-img--vazia { background: var(--graphite); }
.tp-botao { display: flex; justify-content: center; padding: 20px; background: var(--coral); color: var(--night); font-size: 20px; line-height: 20px; font-weight: 700; letter-spacing: -0.02em; }
.tp-botao:hover { background: var(--white); color: var(--night); }
.tp-botao--auto { align-self: flex-start; padding: 20px 30px; }
.tp-botao--branco { background: var(--white); margin-top: 20px; }
.tp-botao--branco:hover { background: var(--coral); }

/* Cabeçalho --------------------------------------------------------- */
.tp-topo { display: flex; flex-wrap: wrap; min-height: 72px; background: var(--night); color: var(--white); position: relative; z-index: 20; }
.tp-marca-area { background: #000; flex: 0 1 auto; display: flex; align-items: center; justify-content: flex-start; gap: 6px; padding: 0 14px; min-height: 72px; }
.tp-marca { display: flex; align-items: center; gap: 10px; color: var(--white); }
.tp-marca__imagem { display: block; width: auto; height: auto; max-width: min(180px, 100%); max-height: 62px; object-fit: contain; }
.tp-marca:hover { color: var(--white); }
.tp-logo { font-family: 'Mona Sans', Inter, sans-serif; font-weight: 400; font-size: 30px; line-height: 30px; letter-spacing: -0.5px; white-space: nowrap; color: inherit; }
.tp-busca { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--muted); }
.tp-busca:hover { color: var(--white); }
.tp-editorias { flex: 999 1 640px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tp-editorias a { display: flex; align-items: center; justify-content: center; min-height: 72px; font-size: 12px; font-weight: 500; letter-spacing: .6px; text-transform: uppercase; text-align: center; }
.tp-editorias a:hover { filter: brightness(1.12); }
.tp-menu-botao { display: none; }

/* Destaques (hero) -------------------------------------------------- */
.tp-hero { position: relative; height: max(520px, calc(100svh - 72px - var(--wp-admin--admin-bar--height, 0px))); overflow: hidden; background: var(--graphite); color: var(--white); margin-block: 0 !important; }
.tp-hero__faixa { position: absolute; z-index: 2; left: 30px; top: 10px; font-weight: 900; font-size: 250px; line-height: 1.35; letter-spacing: -5.06px; text-transform: uppercase; opacity: .35; white-space: nowrap; pointer-events: none; }
.tp-hero__slide { position: absolute; inset: 0; }
.tp-hero__slide[hidden] { display: none; }
.tp-hero__foto { object-position: var(--tp-foco-desktop, 50% 50%); position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.tp-hero__tint { position: absolute; inset: 0; background: var(--tint); mix-blend-mode: multiply; opacity: .9; }
.tp-hero__texto { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; max-width: 1280px; margin: 0 auto; padding: 0 var(--pad) 50px; box-sizing: border-box; display: flex; flex-direction: column; gap: 15px; }
.tp-hero__texto > * { max-width: 820px; }
@media (min-width: 1200px) {
	.tp-hero__texto { left: 7.5%; right: auto; width: min(68%, 880px); margin: 0; padding: 0 0 clamp(28px, 5svh, 60px); }
	.tp-hero { container-type: inline-size; }
.tp-hero .tp-hero__titulo { max-width: 100%; font-size: clamp(32px, 3.2cqw, 44px); }
}
.tp-hero__titulo { margin: 0; font-size: 44px; line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; }
.tp-hero__titulo a { color: var(--white); }
.tp-hero__titulo a:hover { color: var(--white); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.tp-hero__linha { margin: 0; max-width: 560px; font-size: 16px; line-height: 22.4px; }
.tp-hero__controles { position: absolute; z-index: 4; right: max(var(--pad), calc((100% - 1280px) / 2 + var(--pad))); bottom: 50px; display: flex; align-items: center; gap: 20px; }
.tp-hero__proximo { width: 44px; height: 44px; border: 0; background: transparent; color: var(--white); cursor: pointer; padding: 0; }
.tp-hero__pontos { display: flex; gap: 10px; }
.tp-hero__ponto { width: 20px; height: 20px; border-radius: 20px; border: 2px solid var(--white); background: transparent; cursor: pointer; padding: 0; }
.tp-hero__ponto[aria-current="true"] { background: var(--white); }

/* Anúncios ---------------------------------------------------------- */
.tp-anuncio { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0 auto; }
.tp-anuncio__rotulo { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.tp-anuncio--vazio { justify-content: center; background: var(--surface); border: 1px solid var(--graphite); color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; text-align: center; padding: 10px; box-sizing: border-box; }
.tp-anuncio--970x250 { margin-top: 3px; }
.tp-anuncio--970x250.tp-anuncio--vazio { width: 100%; max-width: 970px; height: 250px; }
.tp-anuncio--300x250.tp-anuncio--vazio { width: 100%; max-width: 300px; aspect-ratio: 300 / 250; }
.tp-anuncio--300x600.tp-anuncio--vazio { width: 100%; max-width: 300px; height: 600px; }
.tp-anuncio--320x50.tp-anuncio--vazio { width: 100%; height: 80px; border: 0; }
.tp-so-desktop > .tp-anuncio--970x250:not(:first-child) { margin-top: 60px; margin-bottom: 40px; }

/* Seções ------------------------------------------------------------ */
.tp-secao-topo { display: flex; align-items: center; gap: 20px; }
.tp-secao-titulo { margin: 0; font-size: 32px; line-height: 38.4px; font-weight: 600; letter-spacing: -1.3px; }
.tp-secao-titulo--grande { font-size: 50px; line-height: 55px; font-weight: 700; letter-spacing: -0.03em; }
.tp-secao-titulo--lateral { font-size: 24px; line-height: 28.8px; }
.tp-secao-topo--lateral { gap: 15px; }
.tp-ver-tudo { padding: 5px 15px; border: 1px solid var(--graphite); border-radius: 20px; font-size: 12px; font-weight: 500; letter-spacing: .6px; text-transform: uppercase; color: var(--coral); white-space: nowrap; }
.tp-ver-tudo:hover { color: var(--white); }

/* Grade principal */
.tp-grade { display: flex; flex-wrap: wrap; gap: 40px; padding: 60px 0; }
.tp-grade__principal { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.tp-grade__lateral { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 30px; padding-left: 40px; border-left: 1px solid var(--graphite); }
.tp-lead { position: relative; display: flex; flex-direction: column; gap: 8px; color: var(--white); }
.tp-lead > * { margin: 0; }
.tp-lead__foto { margin-bottom: 6px; }
.tp-lead__titulo a { color: inherit; text-decoration: none; }
.tp-lead__titulo a::after { content: ""; position: absolute; inset: 0; }
.tp-lead__titulo { margin: 0; font-size: 38px; line-height: 41.8px; font-weight: 700; letter-spacing: -0.02em; transition: color .4s var(--ease); }
.tp-lead__linha { margin: 0; font-size: 16px; line-height: 22.4px; }
.tp-lead:hover .tp-lead__titulo, .tp-card:hover .tp-card__titulo, .tp-video:hover .tp-video__titulo, .tp-feed__item:hover .tp-feed__titulo, .tp-review:hover .tp-review__titulo { color: var(--coral); }
.tp-grade__destaque { display: grid; gap: 12px; }
.tp-grade__destaque h2 { margin: 0; font-size: 24px; line-height: 1.2; }
@media (min-width: 1280px) {
	.tp-grade__lateral { --tp-ampliacao: clamp(0px, calc((100vw - 1200px) / 2 - 48px), 112px); flex-basis: calc(300px + var(--tp-ampliacao)); margin-right: calc(-1 * var(--tp-ampliacao)); }
}
.tp-grade__chamada-titulo { margin: 0; }
.tp-grade__chamada { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: start; gap: 14px; color: var(--white); }
.tp-grade__chamada .tp-img { display: block; width: 84px; height: 84px; object-fit: cover; }
.tp-grade__chamada .tp-card__titulo { margin: 0; font-size: 18px; line-height: 1.2; }
.tp-grade__chamada:hover .tp-card__titulo { color: var(--coral); }
.tp-grade__alta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.tp-card { display: flex; flex-direction: column; gap: 10px; color: var(--white); }
.tp-card__titulo { margin: 0; font-size: 24px; line-height: 29.76px; font-weight: 700; letter-spacing: -0.02em; transition: color .4s var(--ease); }
.tp-card__resumo { margin: 0; font-size: 14px; line-height: 20px; }
.tp-review { display: flex; gap: 15px; align-items: center; color: var(--white); }
.tp-review__texto { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.tp-review__titulo { font-size: 18px; line-height: 21.6px; font-weight: 700; transition: color .4s var(--ease); }
.tp-review__meta { font-size: 12px; line-height: 16.8px; color: var(--muted); }
.tp-review__foto { width: 100px; height: 66px; flex: none; aspect-ratio: auto; }

/* Especial */
.tp-especial { display: flex; flex-wrap: wrap; background: var(--surface); margin-block: 0 !important; }
.tp-especial__texto { flex: 1 1 520px; padding: 70px 40px 70px max(40px, calc((100vw - 1280px) / 2 + 40px)); box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.tp-especial__titulo { margin: 0; max-width: 620px; font-size: 50px; line-height: 55px; font-weight: 700; letter-spacing: -0.03em; }
.tp-especial__linha { margin: 0; max-width: 520px; font-size: 16px; line-height: 22.4px; }
.tp-especial__foto { flex: 1 1 520px; min-height: 420px; position: relative; }
.tp-especial__foto .tp-img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }

/* Vídeos (No play) */
.tp-videos { display: flex; flex-direction: column; gap: 30px; padding: 60px 0; }
.tp-videos__grade { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.tp-video { display: flex; flex-direction: column; gap: 10px; color: var(--white); }
.tp-video__midia { position: relative; display: block; }
.tp-video__titulo { font-size: 18px; line-height: 21.6px; font-weight: 700; transition: color .4s var(--ease); }
.tp-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }

/* Todas as notícias */
.tp-feed { display: flex; flex-wrap: wrap; gap: 40px; padding: 0 0 60px; }
.tp-feed__principal { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; }
.tp-feed__principal > .tp-secao-titulo { margin-bottom: 30px; }
.tp-feed__lateral { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 0; }
.tp-feed__lateral .tp-anuncio { margin: 0; }
.tp-feed__item { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; padding: 30px 0; border-top: 1px solid var(--graphite); color: var(--white); }
.tp-feed__texto { flex: 1 1 280px; display: flex; flex-direction: column; gap: 10px; }
.tp-feed__titulo { font-size: 30px; line-height: 33px; font-weight: 700; letter-spacing: -0.02em; transition: color .4s var(--ease); }
.tp-feed__foto { flex: 0 1 360px; display: block; }

/* Roda de destaques (celular) ---------------------------------------- */
.tp-roda { position: relative; height: calc(100vh + (var(--n) - 1) * 260px); margin-block: 0 !important; }
.tp-roda__palco { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; background: var(--roda-bg, var(--graphite)); color: var(--roda-fg, var(--white)); transition: background-color .4s var(--ease), color .4s var(--ease); }
.tp-roda__topo, .tp-roda__dica { display: flex; justify-content: space-between; padding: 20px; font-size: 10px; line-height: 12px; font-weight: 700; text-transform: uppercase; }
.tp-roda__dica { justify-content: center; }
.tp-roda__corpo { flex: 1; display: flex; align-items: center; gap: 15px; padding: 0 20px; }
.tp-roda__cilindro { position: relative; flex: none; width: 170px; height: 560px; max-height: 70vh; perspective: 900px; }
.tp-roda__card { position: absolute; left: 0; top: 50%; width: 170px; height: 220px; margin-top: -110px; display: flex; flex-direction: column; background: var(--cream); color: var(--night); backface-visibility: hidden; will-change: transform, opacity; }
.tp-roda__card .tp-img { height: 120px; flex: none; aspect-ratio: auto; }
.tp-roda__card-ed { padding: 10px; font-size: 10px; line-height: 12px; font-weight: 700; text-transform: uppercase; }
.tp-roda__textos { flex: 1; min-width: 0; }
.tp-roda__item { display: flex; flex-direction: column; gap: 10px; color: inherit; }
.tp-roda__item[hidden] { display: none; }
.tp-roda__item:hover { color: inherit; }
.tp-roda__titulo { font-size: 30px; line-height: 33px; font-weight: 700; letter-spacing: -0.02em; }
.tp-roda__linha { font-size: 14px; line-height: 20px; }

/* Blocos coloridos (celular) */
.tp-blocos { margin-block: 0 !important; }
.tp-bloco { display: flex; gap: 15px; align-items: center; padding: 40px 20px; }
.tp-bloco:hover { color: inherit; }
.tp-bloco__texto { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.tp-bloco__titulo { font-size: 26px; line-height: 28.6px; font-weight: 700; letter-spacing: -0.02em; }
.tp-bloco__foto { width: 150px; height: 150px; flex: none; aspect-ratio: auto; }
.tp-blocos .tp-anuncio { width: 100%; }

/* Rodapé ------------------------------------------------------------ */
.tp-rodape { border-top: 1px solid var(--graphite); background: var(--night); color: var(--white); }
.tp-rodape__dentro { max-width: 1280px; margin: 0 auto; padding: 50px var(--pad); box-sizing: border-box; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.tp-rodape__marca { display: flex; flex-direction: column; gap: 20px; }
.tp-logo--rodape { color: var(--white); }
.tp-rodape__redes { display: flex; flex-wrap: wrap; gap: 10px; }
.tp-chip { padding: 10px 14px; border: 1px solid var(--graphite); border-radius: 6px; font-size: 10px; line-height: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--cream); }
.tp-rodape__copy { font-size: 12px; line-height: 16.8px; color: var(--muted); }
.tp-rodape__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 40px; align-content: start; font-size: 16px; line-height: 22.4px; }
.tp-rodape__links a { color: var(--white); }
.tp-rodape__links a:hover { color: var(--coral); }

/* Matéria ----------------------------------------------------------- */
body.tp-materia { background: var(--ed-bg); color: var(--ed-fg); }
body.tp-materia .tp-materia-pagina a:not(.tp-topo-botao):not(.tp-botao) { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
body.tp-materia .tp-materia-rotulo a { text-decoration: none !important; }
.tp-materia-pagina { padding-block: 40px 20px; }
.tp-materia-cabeca { display: flex; flex-direction: column; gap: 15px; }
.tp-materia-rotulo { gap: 0 6px; }
.tp-materia-rotulo .wp-block-post-date { color: inherit; font-size: 12px; font-weight: 500; letter-spacing: .6px; }
.tp-materia-rotulo .wp-block-post-date::before { content: "· "; }
.tp-materia-titulo { margin: 0; font-size: clamp(38px, 5vw, 56px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.tp-materia-linha p { margin: 0; font-size: 16px; line-height: 22.4px; }
.tp-materia-autor { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid currentColor; }
.tp-materia-autor__texto { display: flex; flex-direction: column; gap: 2px; }
.tp-autor { font-size: 14px; line-height: 20px; font-weight: 600; }
.tp-materia-autor__meta { font-size: 12px; line-height: 16.8px; }
.tp-compartilhar { width: 44px; height: 44px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.tp-materia-foto { margin-block: 20px 0 !important; }
.tp-materia-foto img { width: 100%; }
.tp-credito { padding-top: 10px; font-size: 12px; line-height: 16.8px; }
.tp-materia-texto { font-size: 18px; line-height: 27px; margin-top: 30px; }
.tp-materia-texto > * + * { margin-top: 20px; }
.tp-materia-texto h2 { font-size: 26px; line-height: 31.2px; font-weight: 600; letter-spacing: -1.3px; }
.tp-materia-texto figcaption { color: inherit; }
.tp-materia-texto .tp-anuncio { padding: 20px 0; border-block: 1px solid currentColor; }
.tp-materia-texto .tp-anuncio__rotulo { color: inherit; }
.tp-topo-botao { width: 44px; height: 44px; border: 2px solid currentColor; border-radius: 44px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; color: inherit; }
body.tp-materia .tp-anuncio--320x50 { position: sticky; bottom: 0; z-index: 15; }

/* Arquivo / busca --------------------------------------------------- */
.tp-arquivo { padding-block: 60px; }
.tp-arquivo-titulo { font-size: 50px; line-height: 55px; font-weight: 700; letter-spacing: -0.03em; text-transform: lowercase; }
[class*="editoria-"] .tp-arquivo-titulo { display: inline-block; padding: 10px 20px; background: var(--ed-bg); color: var(--ed-fg); }
.tp-grade-cards { gap: 30px; }
.tp-arquivo-query .wp-block-post-featured-image { margin: 0; }
.tp-arquivo-query .tp-card__titulo a { color: inherit; }
.tp-paginacao { margin-top: 30px; }
.tp-paginacao a { display: inline-flex; padding: 18px 30px; background: var(--white); color: var(--night); font-weight: 700; }
.tp-busca-form .wp-block-search__input { background: var(--surface); color: var(--white); border: 1px solid var(--graphite); padding: 14px; }
.tp-busca-form .wp-block-search__button { background: var(--coral); color: var(--night); border: 0; font-weight: 700; padding: 14px 24px; }

/* Urgentes (celular) ------------------------------------------------ */
.tp-urgentes { display: none; }
@keyframes tp-correr { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Mais lidas -------------------------------------------------------- */
.tp-mais-lidas { display: flex; flex-direction: column; gap: 20px; }
.tp-mais-lidas__lista { list-style: none; margin: 0; padding: 0; counter-reset: tp-ml; display: flex; flex-direction: column; gap: 15px; }
.tp-mais-lidas__lista li { counter-increment: tp-ml; display: flex; gap: 15px; align-items: baseline; font-size: 18px; line-height: 21.6px; font-weight: 700; }
.tp-mais-lidas__lista li::before { content: counter(tp-ml); flex: none; width: 30px; font-size: 32px; line-height: 1; font-weight: 900; color: var(--coral); }
.tp-mais-lidas__lista a { color: inherit; }
.tp-mais-lidas .tp-secao-titulo { font-size: 24px; line-height: 28.8px; }
body.tp-materia .tp-mais-lidas { margin-top: 40px; }
body.tp-materia .tp-mais-lidas__lista li { align-items: center; }
body.tp-materia .tp-mais-lidas__lista li a { display: flex; align-items: center; gap: 14px; min-width: 0; }
body.tp-materia .tp-mais-lidas__lista li a :is(img,.tp-img--vazia) { display: block; width: clamp(82px, 13vw, 148px); height: auto; aspect-ratio: 4/3; object-fit: cover; flex: none; margin: 0; }
.tp-publicidade-lateral { display: none; }
.tp-materia-pagina { container-type: inline-size; }
.tp-materia-artigo { position: relative; }
@container (min-width: 1170px) {
	.tp-publicidade-lateral { display: block; position: absolute; top: 0; bottom: 0; width: 160px; margin: 0; }
	.tp-publicidade-lateral--esquerda { right: calc(100% + clamp(24px, 3cqw, 60px)); }
	.tp-publicidade-lateral--direita { left: calc(100% + clamp(24px, 3cqw, 60px)); }
	.tp-publicidade-lateral .tp-anuncio { position: sticky; top: calc(16px + var(--wp-admin--admin-bar--height, 0px)); width: 100%; margin: 0; }
	.tp-publicidade-lateral .tp-anuncio--reserva { height: min(600px, 70svh); }
}
.tp-anuncio--materia { box-sizing: border-box; margin: 24px auto; max-width: 100%; }
.tp-anuncio--materia_topo { width: min(970px, 100%); }
.tp-anuncio--materia_apos_ranking { width: min(300px, 100%); }
.tp-anuncio--materia.tp-anuncio--reserva { justify-content: center; background: rgba(0,0,0,.14); border: 1px solid currentColor; }
.tp-anuncio--materia_topo.tp-anuncio--reserva { min-height: clamp(64px, 12vw, 180px); }
.tp-anuncio--materia_apos_ranking.tp-anuncio--reserva { aspect-ratio: 300 / 250; }
.tp-anuncio--materia .tp-anuncio__rotulo { color: inherit; }
.tp-anuncio--materia :is(img,iframe) { max-width: 100%; }
body.tp-materia .tp-mais-lidas__lista li::before { color: inherit; }
body.tp-materia .tp-mais-lidas .tp-linha { background: currentColor; }
body.tp-materia .tp-mais-lidas__lista a { text-decoration: none !important; }

/* Shorts ------------------------------------------------------------ */
.tp-shorts { display: flex; flex-direction: column; gap: 30px; padding: 0 0 60px; }
.tp-shorts__trilho { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 220px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
.tp-short { scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; }
.tp-short__play, .tp-short iframe { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; padding: 0; background: var(--surface); cursor: pointer; overflow: hidden; }
.tp-short__play img { width: 100%; height: 100%; object-fit: cover; }
.tp-short__play svg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.tp-short__legenda { font-size: 14px; line-height: 1.3; font-weight: 700; }

/* Perfil do autor (Simple Author Box) */
.saboxplugin-wrap { background: transparent !important; border-color: currentColor !important; color: inherit !important; margin-top: 40px; }
.saboxplugin-wrap .saboxplugin-authorname a, .saboxplugin-wrap .saboxplugin-desc p { color: inherit !important; }

/* Tablet ------------------------------------------------------------ */
@media (max-width: 1199px) and (min-width: 810px) {
	.tp-hero { height: max(520px, calc(100svh - 144px - var(--wp-admin--admin-bar--height, 0px))); }
	.tp-hero__faixa { font-size: 170px; }
	.tp-hero__titulo { font-size: clamp(32px, 3.2vw, 38px); line-height: 1.1; }
	.tp-lead__titulo { font-size: 30px; line-height: 33px; }
	.tp-videos__grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tp-especial__titulo { font-size: 38px; line-height: 41.8px; }
	.tp-secao-titulo { font-size: 26px; line-height: 31.2px; }
	.tp-secao-titulo--grande { font-size: 40px; line-height: 44px; }
}

/* Celular ----------------------------------------------------------- */
@media (max-width: 809px) {
	:root { --pad: 20px; --wp--style--root--padding-left: 0px; --wp--style--root--padding-right: 0px; }

	/* Cabeçalho do celular: logo + 4 blocos pequenos */
	.tp-topo { display: grid; grid-template-columns: 1.18fr repeat(4, minmax(0, 1fr)); min-height: 54px; }
	.tp-marca-area { padding: 0 0 0 8px; min-height: 54px; }
	.tp-marca__icone, .tp-busca { display: none; }
	.tp-marca__imagem { max-height: 50px; }
	.tp-logo { font-size: 20px; line-height: 20px; letter-spacing: -0.5px; }
	.tp-editorias { display: contents; }
	.tp-editorias a { min-height: 54px; padding: 0 4px; font-size: 10px; font-weight: 700; letter-spacing: 0; line-height: 1.1; }

	/* Destaque */
	.tp-hero { height: 560px; }
.tp-hero__foto { object-position: var(--tp-foco-mobile, 50% 50%); }
	.tp-hero__faixa { left: 10px; top: 10px; font-size: 96px; line-height: 96px; letter-spacing: -2px; }
	.tp-hero__texto { padding: 0 20px 30px; }
	.tp-hero__titulo { font-size: 44px; line-height: 1.1; }
	.tp-hero__linha { font-size: 14px; line-height: 20px; }
	.tp-hero__texto { padding-bottom: 90px; }
	.tp-hero__controles { left: 20px; right: 20px; bottom: 30px; justify-content: space-between; }
	.tp-hero__pontos { gap: 8px; }
	.tp-hero__ponto { width: 14px; height: 14px; }

	.tp-shorts { padding: 40px 20px; }
	.tp-shorts .tp-secao-titulo { font-size: 26px; line-height: 31.2px; }

	.tp-rodape__dentro { flex-direction: column; align-items: center; text-align: center; padding: 40px 20px; gap: 20px; }
	.tp-rodape__marca { align-items: center; gap: 10px; }
	.tp-rodape__redes { justify-content: center; }
	.tp-rodape__links { display: none; }

	/* Urgentes */
	.tp-urgentes { display: flex; align-items: center; gap: 10px; background: var(--coral); color: var(--night); font-size: 13px; font-weight: 700; overflow: hidden; }
	.tp-urgentes__selo { flex: none; padding: 10px 12px; background: var(--night); color: var(--coral); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
	.tp-urgentes__trilho { flex: 1; overflow: hidden; }
	.tp-urgentes__itens { display: flex; gap: 40px; width: max-content; animation: tp-correr 22s linear infinite; }
	.tp-urgentes__itens a { color: var(--night); white-space: nowrap; }
	.tp-urgentes:hover .tp-urgentes__itens, .tp-urgentes:focus-within .tp-urgentes__itens { animation-play-state: paused; }

	/* Matéria no celular: logo quadrado + menu, tudo na cor da editoria */
	body.tp-materia .tp-topo { display: flex; flex-wrap: wrap; background: transparent; color: var(--ed-fg); padding: 30px 15px 20px; min-height: 0; }
	body.tp-materia .tp-marca-area { flex: 1 1 100%; justify-content: space-between; padding: 0 8px; min-height: 66px; color: #fff; }
	body.tp-materia .tp-marca { max-width: 65%; height: 66px; justify-content: center; background: #000; color: var(--white); }
	body.tp-materia .tp-marca__icone { display: block; width: 34px; height: 34px; }
	body.tp-materia .tp-marca .tp-logo { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	body.tp-materia .tp-menu-botao { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; border: 0; background: transparent; padding: 0 7px; cursor: pointer; color: inherit; }
	body.tp-materia .tp-menu-botao span { display: block; height: 3px; background: currentColor; border-radius: 3px; }
	body.tp-materia .tp-editorias { display: none; flex-basis: 100%; grid-template-columns: 1fr 1fr; margin-top: 15px; }
	body.tp-materia .tp-topo.is-aberto .tp-editorias { display: grid; }
	body.tp-materia .tp-editorias a { min-height: 46px; font-size: 12px; }
	body.tp-materia .tp-materia-pagina { padding: 0 15px 20px; }
	body.tp-materia .tp-materia-titulo { font-size: 38px; line-height: 41.8px; }
	body.tp-materia .tp-materia-foto { margin-inline: -15px !important; }
	body.tp-materia .tp-materia-foto img { aspect-ratio: auto; height: 225px; object-fit: cover; }
	body.tp-materia .tp-credito { padding: 10px 15px 0; }
	body.tp-materia .tp-rodape { display: none; }

	.tp-arquivo { padding: 40px 20px; }
	.tp-arquivo-titulo { font-size: 38px; line-height: 41.8px; }
	.tp-pagina { padding: 40px 20px; }
}

/* Destaques em telas compactas */
@media (max-width: 900px) {
	.tp-so-mobile .tp-roda { display: none; }
	.tp-hero { touch-action: pan-y pinch-zoom; }
	.tp-hero .tp-hero__titulo { font-size: clamp(26px, 4vw, 32px); line-height: 1.12; }
	.tp-lead__titulo { font-size: 24px; line-height: 1.15; }
	.tp-hero__texto { gap: 10px; padding-bottom: 32px; }
	.tp-hero__controles { inset: 4px 16px auto; display: block; }
	.tp-hero__controles > p:empty, .tp-hero__proximo { display: none; }
	.tp-hero__pontos { width: 100%; display: flex; gap: 4px; }
	.tp-hero__pontos .tp-hero__ponto { position: relative; flex: 1; margin: 0; height: 28px; border: 0; border-radius: 0; background: transparent; }
	.tp-hero__ponto::before, .tp-hero__ponto::after { content: ""; position: absolute; inset: 12px 0 auto; height: 4px; border-radius: 4px; background: rgba(255,255,255,.45); }
	.tp-hero__ponto::after { background: white; transform-origin: left; transform: scaleX(0); }
	.tp-hero__ponto.is-anterior::after, .tp-hero__ponto[aria-current="true"]::after { transform: scaleX(1); }
	.tp-hero--contando .tp-hero__ponto[aria-current="true"]::after { animation: tp-progresso var(--tp-tempo-slide) linear both; }
	.tp-hero__ponto:focus-visible { outline: 2px solid white; outline-offset: -1px; }
}
@keyframes tp-progresso { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* Composição horizontal da marca enviada para o portal. */
.tp-assinatura { --simbolo: 54px; --nome: 146px; --queda: 21px; display: inline-flex; align-items: center; gap: 15px; }
.tp-assinatura__simbolo, .tp-assinatura__nome { position: relative; display: block; flex: none; overflow: hidden; }
.tp-assinatura__simbolo { width: var(--simbolo); aspect-ratio: 1; align-self: center; transform: translateY(var(--queda)); background: #000; box-shadow: 3px 3px 0 -1px #fff, 3px 3px 0 #111; }
.tp-assinatura__nome { width: var(--nome); aspect-ratio: 1444 / 312; }
.tp-assinatura img { position: absolute; display: block; height: auto; max-width: none; margin: 0; }
.tp-assinatura__simbolo img { width: 278.148%; top: -21.204%; left: 0; }
.tp-assinatura__nome img { width: 208.033%; top: -129.808%; left: -98.476%; }
@media (max-width: 809px) {
	.tp-topo:has(.tp-assinatura) { grid-template-columns: max-content repeat(4, minmax(0, 1fr)); }
	.tp-marca-area:has(.tp-assinatura) { padding-inline: 8px; }
	.tp-assinatura { --simbolo: 35px; --nome: 83px; --queda: 16px; gap: 8px; }
	body.tp-materia .tp-assinatura { --simbolo: 47px; --nome: 122px; --queda: 18px; gap: 12px; }
}
@media (max-width: 420px) {
	.tp-assinatura { --simbolo: 30px; --nome: 64px; --queda: 16px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
	.tp-roda { height: auto; }
	.tp-roda__palco { position: relative; height: auto; min-height: 80vh; }
	.tp-urgentes__itens { animation: none; }
	.tp-urgentes__trilho { overflow-x: auto; }
}

/* O cabeçalho mantém as editorias e abre a navegação na camada superior. */
.tp-menu-acionador { display: none; }
.tp-menu-pronto .tp-menu-acionador { display: flex; margin: 0; align-items: stretch; background: #000; }
.tp-topo.tp-menu-pronto { display: grid; grid-template-columns: auto minmax(0, 1fr) 58px; align-items: stretch; }
.tp-menu-pronto .tp-editorias { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.tp-menu-pronto .tp-menu-botao, .tp-menu-painel .tp-menu-fechar {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
	width: 100%; height: 100%; min-height: 44px; border: 0; margin: 0; padding: 0;
	background: #000; color: #fff; cursor: pointer;
}
.tp-menu-pronto .tp-menu-botao span, .tp-menu-fechar span { display: block; width: 23px; height: 2px; border-radius: 2px; background: currentColor; }
.tp-menu-visivel { overflow: hidden; }
.tp-menu-painel {
	position: fixed; inset: calc(var(--wp-admin--admin-bar--height, 0px) + 8px) 8px auto;
	box-sizing: border-box; width: calc(100% - 16px); max-width: none; margin: 0;
	height: min(53svh, 530px); min-height: min(315px, 85svh); max-height: calc(100svh - var(--wp-admin--admin-bar--height, 0px) - 16px);
	border: 0; border-radius: 5px; padding: 52px 24px 26px; background: #111; color: #fff; overflow: auto;
}
.tp-menu-painel:not([open]) { display: none; }
.tp-menu-painel[open] { display: grid; align-items: center; animation: tp-menu-descer .42s cubic-bezier(.22,.8,.2,1) both; }
.tp-menu-painel::backdrop { background: rgba(0,0,0,.62); animation: tp-menu-sombra .35s ease both; }
.tp-menu-painel.saindo { animation: tp-menu-subir .24s ease-in both; }
.tp-menu-painel.saindo::backdrop { animation: tp-menu-sombra .24s ease reverse both; }
.tp-menu-painel .tp-menu-fechar { position: absolute; top: 0; right: 0; z-index: 1; width: 50px; height: 54px; background: transparent; }
.tp-menu-fechar span:first-child { transform: translateY(7px) rotate(45deg); }
.tp-menu-fechar span:nth-child(2) { opacity: 0; }
.tp-menu-fechar span:last-child { transform: translateY(-7px) rotate(-45deg); }
.tp-menu-links { display: grid; justify-items: center; gap: 2px; }
.tp-menu-links a { display: block; padding: 2px 10px; color: #fff; text-align: center; font-size: clamp(24px, 3.2vw, 46px); line-height: 1.05; font-weight: 700; letter-spacing: -.035em; text-transform: uppercase; text-decoration: none; }
.tp-menu-links a:hover { color: #ddd; text-decoration: underline; text-underline-offset: .12em; }
.tp-menu-painel[open] .tp-menu-links a { animation: tp-menu-link .34s cubic-bezier(.22,.8,.2,1) both; animation-delay: calc(65ms + var(--ordem)*38ms); }
.tp-menu-painel :focus-visible, .tp-menu-pronto .tp-menu-botao:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
@keyframes tp-menu-descer { from { clip-path: inset(0 0 100%); } to { clip-path: inset(0); } }
@keyframes tp-menu-subir { from { clip-path: inset(0); } to { clip-path: inset(0 0 100%); } }
@keyframes tp-menu-sombra { from { opacity: 0; } to { opacity: 1; } }
@keyframes tp-menu-link { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 809px) {
	.tp-topo.tp-menu-pronto { grid-template-columns: auto minmax(0,1fr) 44px; }
	body.tp-materia .tp-topo.tp-menu-pronto { display: grid; grid-template-columns: minmax(0,1fr) 44px; }
	body.tp-materia .tp-menu-pronto .tp-editorias { display: none; }
	body.tp-materia .tp-menu-pronto .tp-menu-botao { width: 44px; height: 100%; background: #000; color: #fff; }
	body.tp-materia .tp-menu-pronto .tp-menu-botao span { width: 23px; height: 2px; }
	.tp-menu-painel { inset-inline: 5px; width: calc(100% - 10px); }
	.tp-menu-links a { padding-block: 5px; }
}
@media (max-width: 540px) {
	.tp-menu-pronto .tp-editorias a { font-size: 9px; padding-inline: 1px; }
}
@media (prefers-reduced-motion: reduce) {
	.tp-menu-painel[open], .tp-menu-painel::backdrop, .tp-menu-painel[open] .tp-menu-links a { animation: none; }
}

/* Faixa do cabeçalho conforme a composição do Frame 8. */
.tp-topo.tp-menu-pronto, body.tp-materia .tp-topo.tp-menu-pronto {
	--tp-barra: 72px;
	display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: stretch;
	height: var(--tp-barra); min-height: var(--tp-barra); padding: 0; background: #000; color: #fff;
}
.tp-menu-pronto > .tp-marca-area, body.tp-materia .tp-menu-pronto > .tp-marca-area {
	grid-column: 2; grid-row: 1; display: flex; justify-content: center; min-height: 0; padding: 0;
}
.tp-menu-pronto .tp-marca, body.tp-materia .tp-menu-pronto .tp-marca { height: var(--tp-barra); max-width: none; }
.tp-marca:has(.tp-marca-frame8) { position: relative; width: calc(var(--tp-barra, 72px) * 2.668); }
.tp-marca-frame8 { display: block; position: absolute; top: 0; left: 0; width: 100%; height: auto; overflow: visible; }
.tp-topo.tp-menu-pronto > .tp-editorias, .tp-menu-pronto .tp-marca-area > .tp-busca { display: none; }
.tp-menu-pronto > .tp-menu-acionador { grid-column: 3; grid-row: 1; justify-self: end; width: clamp(52px,5.6vw,80px); }
.tp-topo.tp-menu-pronto .tp-menu-botao, body.tp-materia .tp-topo.tp-menu-pronto .tp-menu-botao {
	width: 100%; padding: 0; gap: 5px;
}
.tp-topo.tp-menu-pronto .tp-menu-botao span, body.tp-materia .tp-topo.tp-menu-pronto .tp-menu-botao span {
	width: clamp(26px,2.7vw,40px); height: 2px; border-radius: 0;
}
@media (max-width: 809px) {
	.tp-topo.tp-menu-pronto, body.tp-materia .tp-topo.tp-menu-pronto { --tp-barra: 54px; }
}
/* Blocos editoriais das páginas de publicação. */
body.tp-materia .tp-materia-artigo .tp-mais-lidas, .tp-alta-materia { background: rgb(255 255 255 / 70%); border-radius: 18px; color: #191c21; padding: clamp(18px,3vw,32px); box-sizing: border-box; }
body.tp-materia .tp-materia-artigo .tp-mais-lidas { gap: 12px; }
body.tp-materia .tp-mais-lidas .tp-secao-titulo { display: flex; align-items: center; gap: 10px; font-weight: 500; }
body.tp-materia .tp-mais-lidas .tp-secao-titulo::before { content: '↗'; color: #bf2718; font-weight: 800; }
body.tp-materia .tp-mais-lidas .tp-linha { display: none; }
body.tp-materia .tp-materia-artigo .tp-mais-lidas__lista { gap: 0; }
body.tp-materia .tp-materia-artigo .tp-mais-lidas__lista li { align-items: flex-start; gap: clamp(8px,2vw,20px); border-bottom: 1px solid #e3e6eb; padding-block: 18px; }
body.tp-materia .tp-materia-artigo .tp-mais-lidas__lista li:last-child { border: 0; padding-bottom: 0; }
body.tp-materia .tp-materia-artigo .tp-mais-lidas__lista li::before { color: #727784; font-weight: 300; font-size: clamp(26px,3vw,38px); width: 1.1ch; }
body.tp-materia .tp-materia-pagina .tp-materia-artigo .tp-mais-lidas__lista li a { display: grid; flex: 1; grid-template-columns: minmax(0,1fr) clamp(90px,29%,215px); align-items: start; gap: clamp(10px,2vw,24px); color: #b42314; }
body.tp-materia .tp-materia-artigo .tp-mais-lidas__lista li a :is(img,.tp-img--vazia) { grid-column: 2; grid-row: 1; width: 100%; height: auto; aspect-ratio: 16/9; border-radius: 7px; object-fit: cover; }
.tp-ranking-titulo { grid-column: 1; grid-row: 1; overflow-wrap: anywhere; }
.tp-alta-materia { margin: 22px auto; }
.tp-alta-cab { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.tp-alta-cab h2 { margin: 0; font-size: clamp(22px,3vw,28px); line-height: 1.16; }
.tp-alta-cab strong,.tp-alta-icone { color: #145cc9; }
body.tp-materia .tp-materia-pagina .tp-materia-artigo .tp-alta-materia a { text-decoration: none; }
body.tp-materia .tp-materia-pagina .tp-materia-artigo .tp-alta-materia a.tp-alta-mais { border: 1px solid #145cc9; border-radius: 6px; padding: 8px 12px; color: #145cc9; font-size: 14px; font-weight: 650; }
.tp-alta-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 24px; }
.tp-alta-card { --tp-acento: color-mix(in srgb, var(--ed-bg) 56%, #111); min-width: 0; }
.tp-alta-card h3 { margin: 0 0 14px; border-bottom: 1px solid #e3e6eb; color: var(--tp-acento); font-size: 20px; }
.tp-alta-card h3 a { display: inline-block; padding-bottom: 8px; border-bottom: 3px solid var(--ed-bg); }
body.tp-materia .tp-materia-pagina .tp-materia-artigo .tp-alta-materia a.tp-alta-noticia { display: grid; gap: 9px; color: var(--tp-acento); font-weight: 650; font-size: 17px; line-height: 1.25; }
.tp-alta-noticia .tp-img { width: 100%; aspect-ratio: 16/9; border-radius: 8px; object-fit: cover; }
.tp-alta-card small { display: block; margin-top: 7px; color: #555e69; font-size: 12px; }
.tp-alta-materia a:hover span,.tp-ranking-titulo:hover { text-decoration: underline; }
.tp-ouvir { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-block: 8px 18px; }
.tp-ouvir[hidden],.tp-ouvir [hidden] { display: none; }
.tp-ouvir strong { font-size: 15px; }
.tp-ouvir audio { width: min(100%,370px); height: 40px; }
.tp-ouvir button { font: inherit; font-size: 15px; font-weight: 650; background: transparent; border: 1px solid currentColor; color: inherit; padding: 9px 16px; border-radius: 24px; cursor: pointer; }
.tp-voz-estado { font-size: 14px; }
@media (max-width: 560px) {
	.tp-alta-cards { grid-template-columns: minmax(0,1fr); gap: 20px; }
	body.tp-materia .tp-materia-pagina .tp-materia-artigo .tp-alta-materia a.tp-alta-noticia { grid-template-columns: minmax(90px,35%) 1fr; align-items: start; }
	.tp-alta-card h3 { margin-bottom: 8px; }
	body.tp-materia .tp-materia-artigo .tp-mais-lidas__lista li { font-size: 15px; line-height: 1.25; }
}
.tp-alta-icone { display: inline-block; width: 19px; height: 20px; margin-right: 3px; background: linear-gradient(currentColor,currentColor) left bottom/4px 9px no-repeat, linear-gradient(currentColor,currentColor) center bottom/4px 18px no-repeat, linear-gradient(currentColor,currentColor) right bottom/4px 13px no-repeat; }
.tp-alta-cab > p,.tp-alta-card > p { margin: 0; }

.tp-materia-autor { flex-direction: column; align-items: stretch; gap: 16px; }
.tp-partilha { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tp-partilha > a, .tp-partilha > button { box-sizing: border-box; width: 100%; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 12px; background: #f4f5f6; color: #525860; cursor: pointer; }
.tp-partilha > :is(a,button):hover { background: #e8ebed; }
.tp-partilha > :is(a,button):focus-visible, .tp-resumo summary:focus-visible { outline: 3px solid #145cc9; outline-offset: 2px; }
.tp-partilha svg { width: 22px; height: 22px; display: block; }
.tp-partilha-estado { grid-column: 1 / -1; font-size: 14px; }
.tp-partilha-estado:empty { display: none; }
.tp-resumo { box-sizing: border-box; width: 100%; margin: 16px 0 24px; padding: clamp(16px, 3vw, 22px); background: #fff; color: #18212c; border: 1px solid #cbd1da; border-radius: 12px; }
.tp-resumo summary { display: flex; align-items: center; justify-content: space-between; min-height: 32px; font-weight: 700; cursor: pointer; list-style: none; }
.tp-resumo summary::-webkit-details-marker { display: none; }
.tp-resumo summary::after { content: ''; width: 20px; height: 20px; border-radius: 6px; background: #eceff1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m7 9 3 3 3-3' fill='none' stroke='%2328323c' stroke-width='2'/%3E%3C/svg%3E") center/20px no-repeat; }
.tp-resumo[open] summary::after { transform: rotate(180deg); }
.tp-resumo ul { margin: 12px 0 0; padding-inline-start: 1.1em; }
.tp-resumo li { padding-inline-start: 3px; font-size: 16px; line-height: 1.5; }
.tp-resumo li + li { margin-top: 12px; }
.tp-resumo li::marker { color: #336797; }

.tp-capa-secao { max-width: 1200px; margin: clamp(36px,6vw,80px) auto; padding-inline: var(--pad,20px); box-sizing: border-box; }
.tp-capa-grade { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,255px),1fr)); gap: clamp(18px,3vw,40px); }
.tp-capa-grade .tp-card { min-width: 0; max-width: 650px; }
.tp-capa-grade .tp-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.tp-capa-grade .tp-rotulo { display: block; margin: 12px 0 6px; color: var(--coral); }
.tp-capa-grade .tp-card__titulo { margin: 0 0 10px; line-height: 1.13; }
.tp-capa-editorias { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 24px; }
.tp-capa-editorias a { color: var(--ed-fg); background: var(--ed-bg); padding: 9px 14px; font-weight: 700; border-radius: 4px; }
.tp-hero:not(:has(.tp-hero__slide:nth-of-type(2))) .tp-hero__controles { display:none; }
.tp-links-bio { padding-left: 1em; }
.tp-links-bio li + li { margin-top: 12px; }
.tp-pagina { padding: clamp(28px,6vw,72px) max(20px,4vw); }
.tp-pagina .tp-materia-texto { line-height: 1.55; }
.tp-pagina .tp-materia-texto a { text-decoration: underline; text-underline-offset: .18em; }
.tp-pagina .tp-materia-texto h2 { margin: 1.5em 0 .4em; }
.tp-referencias { margin: 24px 0; }
.tp-referencias ul { padding-inline-start: 1.2em; }
.tp-menu-buscar { display:flex; justify-content:center; gap:8px; padding:10px 0; }
.tp-menu-buscar input,.tp-menu-buscar button { font:inherit; padding:8px 12px; border-radius:5px; border:1px solid #888; }
.tp-menu-buscar input { width:min(65%,290px); min-width:0; background:white; color:#111; }
.tp-menu-buscar button { background:#fff; color:#111; cursor:pointer; }
.tp-arquivo-titulo { text-transform:none; }

html.tp-menu-visivel, html.tp-menu-visivel body { overflow: hidden; overscroll-behavior: none; }
dialog.tp-menu-painel {
  inset: 0; width: 100%; height: 100vh; height: 100dvh; max-height: none; min-height: 0;
  max-width: none; border-radius: 0; overflow-x: hidden; overflow-y: auto;
  scrollbar-width: none; overscroll-behavior: contain;
  padding: max(56px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
}
dialog.tp-menu-painel::-webkit-scrollbar { display: none; }
dialog.tp-menu-painel[open] { align-content: safe center; gap: 16px; }
.tp-filtro .tp-capa-editorias a { text-decoration: none; }
.tp-filtro .editoria-todas { background: #fff; color: #111; }
.tp-filtro [aria-current] { outline: 2px solid currentColor; outline-offset: -4px; }
.tp-filtro .tp-chip { display: inline-block; margin-top: 24px; }
