/* GXP Anúncios */
.gxpa-slot { text-align: center; margin: 18px auto; max-width: 100%; }
.gxpa-label { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #5f6672; margin-bottom: 4px; font-family: system-ui, sans-serif !important; line-height: 1.4 !important; }
.gxpa-item[hidden] { display: none !important; }
.gxpa-item a, .gxpa-item span { display: block; }
.gxpa-item img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 6px; }

/* Banners largos: no máximo 970 px; no celular ocupam a largura. */
.gxpa-slot--topo, .gxpa-slot--home_meio, .gxpa-slot--home_editorias { max-width: 970px; padding-inline: 16px; }
.gxpa-slot--topo .gxpa-item img.gxpa-img--wide, .gxpa-slot--home_meio .gxpa-item img.gxpa-img--wide, .gxpa-slot--home_editorias .gxpa-item img.gxpa-img--wide { width: 100%; }
.gxpa-item img.gxpa-img--box { max-width: 336px; width: 100%; }
.gxpa-slot--lateral img.gxpa-img--box, .gxpa-slot--lateral_fixo img.gxpa-img--box { max-width: 100%; }
.gxpa-slot--home_editorias { grid-column: 1 / -1; padding: 0; margin: 0 auto; width: 100%; }

/* Lateral */
.gxpa-slot--lateral, .gxpa-slot--lateral_fixo { margin: 0; background: #fff; border-radius: 10px; padding: 10px; box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 2px 8px rgba(16, 24, 40, .06); }
.gxpa-slot--lateral img, .gxpa-slot--lateral_fixo img { width: 100%; }
@media (min-width: 1180px) { .gxpa-sticky { position: sticky; top: 72px; } }

/* Dentro da matéria: mesma largura que o texto */
.gxp-content .gxpa-slot, .gxpa-slot--materia_fim { margin: 26px 0 !important; padding: 12px 0; border-block: 1px solid #e5e7eb; }
/* Todos os banners largos com a mesma largura (até 728 px) e todos os quadrados com até 336 px. */
.gxp-content .gxpa-item img.gxpa-img--wide, .gxpa-slot--materia_fim img.gxpa-img--wide { width: 100% !important; max-width: 728px !important; margin-inline: auto; }
.gxp-content .gxpa-item img.gxpa-img--box, .gxpa-slot--materia_fim img.gxpa-img--box { width: 100% !important; max-width: 336px !important; margin-inline: auto; }
.gxp-content .gxpa-label { font-size: 10px !important; }

/* Card patrocinado (mesmo visual das notícias) */
.gxpa-slot--card { display: contents; text-align: left; }
.gxpa-sponsored, .gxpa-sponsored * { text-align: left; }
.gxpa-sponsored { outline: 2px solid #f4c430; outline-offset: -2px; }
.gxpa-sponsored__badge { align-self: flex-start; background: #f4c430; color: #3b2f00; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 4px 9px; border-radius: 4px; }
.gxpa-sponsored .gxp-card__media img { width: 100%; height: 100%; object-fit: cover; }
.gxpa-sponsored__text { display: block !important; font-size: 14px; }

/* Faixa de parceiros */
.gxpa-partners { margin: 30px 0 0; padding: 0 16px; }
.gxpa-partners__in { max-width: 1208px; margin: 0 auto; background: #fff; border-radius: 12px; padding: 16px 18px 18px; box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 2px 8px rgba(16, 24, 40, .06); overflow: hidden; }
.gxpa-partners__title { margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #5b6472; text-align: center; }
.gxpa-partners__track { display: flex; justify-content: center; gap: 28px; }
.gxpa-partners__list { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; flex-wrap: wrap; justify-content: center; }
.gxpa-logo { flex: none; }
.gxpa-logo img { height: 56px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.gxpa-logo a:hover img, .gxpa-logo a:focus img { filter: none; opacity: 1; }
.gxpa-partners__track.is-moving { justify-content: flex-start; width: max-content; animation: gxpa-marquee 40s linear infinite; }
.gxpa-partners__track.is-moving .gxpa-partners__list { flex-wrap: nowrap; }
.gxpa-partners__track.is-moving:hover { animation-play-state: paused; }
@keyframes gxpa-marquee { to { transform: translateX(calc(-50% - 14px)); } }
@media (prefers-reduced-motion: reduce) {
	.gxpa-partners__track.is-moving { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
	.gxpa-partners__track.is-moving .gxpa-partners__list[aria-hidden] { display: none; }
	.gxpa-partners__track.is-moving .gxpa-partners__list { flex-wrap: wrap; }
}
@media (max-width: 639px) {
	.gxpa-logo img { height: 44px; max-width: 120px; }
}
@media print { .gxpa-slot, .gxpa-partners { display: none !important; } }

/* ================================================================ TV de anúncios (topo da matéria) */
.gxpa-tv { margin: 0 0 28px; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; line-height: 1.3; text-align: left; }
.gxp-content .gxpa-tv { margin: 4px 0 28px !important; }
.gxpa-tv__frame {
	position: relative; padding: 10px 10px 0; border-radius: 18px;
	background: linear-gradient(160deg, #2a2a2a 0%, #0d0d0d 45%, #050505 100%);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 18px 40px -18px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .25);
}
/* Reflexo de vidro e LED vermelho na base da moldura */
.gxpa-tv__frame::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .07) 0 22%, transparent 22.2%); }
.gxpa-tv__frame::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 38%; height: 2px; transform: translateX(-50%); border-radius: 2px; background: linear-gradient(90deg, transparent, #e10600, transparent); box-shadow: 0 0 12px 1px rgba(225, 6, 0, .7); }
.gxpa-tv__screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: #000; isolation: isolate; touch-action: pan-y; }
.gxpa-tv__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.gxpa-tv__slide.is-on { opacity: 1; visibility: visible; transition: opacity .8s ease; z-index: 1; }
.gxpa-tv__link, .gxp-content .gxpa-tv__link { position: absolute; inset: 0; display: block; color: #fff !important; text-decoration: none !important; border: 0 !important; }
/* Fundo: a própria arte desfocada (banners em outros formatos não deixam faixas pretas) */
.gxpa-tv__bg { position: absolute; inset: -30px; background: center / cover no-repeat; filter: blur(26px) brightness(.55) saturate(1.3); }
.gxpa-tv picture { display: contents; }
.gxpa-tv .gxpa-tv__img, .gxp-content .gxpa-tv .gxpa-tv__img {
	position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; margin: 0 !important;
	object-fit: contain; border-radius: 0 !important; transform: scale(1); transform-origin: 60% 40%;
}
.gxpa-tv__slide.is-on .gxpa-tv__img { animation: gxpa-zoom 7s ease-out forwards; }
@keyframes gxpa-zoom { to { transform: scale(1.045); } }
/* Movimento de câmera diferente em cada tela (efeito TV) */
.gxpa-tv__slide.gxpa-fx--zoom-in.is-on .gxpa-tv__img { animation: gxpa-zoom-in 7s ease-out forwards; }
.gxpa-tv__slide.gxpa-fx--zoom-out.is-on .gxpa-tv__img { animation: gxpa-zoom-out 7s ease-out forwards; }
.gxpa-tv__slide.gxpa-fx--pan-left.is-on .gxpa-tv__img { animation: gxpa-pan-left 7s ease-in-out forwards; }
.gxpa-tv__slide.gxpa-fx--pan-right.is-on .gxpa-tv__img { animation: gxpa-pan-right 7s ease-in-out forwards; }
.gxpa-tv__slide.gxpa-fx--video .gxpa-tv__img { animation: none !important; object-fit: cover; }
@keyframes gxpa-zoom-in { from { transform: scale(1); } to { transform: scale(1.09); } }
@keyframes gxpa-zoom-out { from { transform: scale(1.09); } to { transform: scale(1); } }
@keyframes gxpa-pan-left { from { transform: scale(1.08) translateX(2.5%); } to { transform: scale(1.08) translateX(-2.5%); } }
@keyframes gxpa-pan-right { from { transform: scale(1.08) translateX(-2.5%); } to { transform: scale(1.08) translateX(2.5%); } }
/* Troca de tela com leve "corte de TV" */
.gxpa-tv__slide { transform: scale(1.02); transition: opacity .8s ease, transform .8s ease, visibility 0s linear .8s; }
.gxpa-tv__slide.is-on { transform: none; transition: opacity .8s ease, transform .8s ease; }
.gxpa-tv__shade { position: absolute; inset: auto 0 0; height: 55%; background: linear-gradient(transparent, rgba(0, 0, 0, .72)); pointer-events: none; }
.gxpa-tv__cap { position: absolute; left: 16px; bottom: 14px; right: 150px; display: grid; gap: 2px; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); transform: translateY(8px); opacity: 0; transition: transform .6s .25s ease, opacity .6s .25s ease; }
.gxpa-tv__cap b { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.gxpa-tv__cap span { font-size: 13.5px; color: #e6e6e6; }
.gxpa-tv__cta { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: #e10600; color: #fff; font-size: 13.5px; font-weight: 800; box-shadow: 0 6px 16px -6px rgba(225, 6, 0, .8); transform: translateY(8px); opacity: 0; transition: transform .6s .35s ease, opacity .6s .35s ease, background .2s; }
.gxpa-tv__slide.is-on .gxpa-tv__cap, .gxpa-tv__slide.is-on .gxpa-tv__cta { transform: none; opacity: 1; }
.gxpa-tv__link:hover .gxpa-tv__cta { background: #ff2a1f; }
/* Barra inferior: selo, progresso, contador e controles */
.gxpa-tv__bar { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 4px; color: #cfcfcf; }
.gxpa-tv__live { display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.gxpa-tv__live i { width: 8px; height: 8px; border-radius: 50%; background: #e10600; box-shadow: 0 0 0 0 rgba(225, 6, 0, .7); animation: gxpa-pulse 1.8s infinite; }
@keyframes gxpa-pulse { 70% { box-shadow: 0 0 0 7px rgba(225, 6, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(225, 6, 0, 0); } }
.gxpa-tv__bars { flex: 1; display: flex; gap: 5px; min-width: 40px; }
.gxpa-tv__bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.gxpa-tv__bars b { display: block; height: 100%; width: 0; background: #fff; border-radius: inherit; }
.gxpa-tv__bars i.is-done b { width: 100%; }
.gxpa-tv__count { font-size: 12px; font-variant-numeric: tabular-nums; color: #9a9a9a; }
.gxpa-tv__count b { color: #fff; }
.gxpa-tv__ctrl { display: inline-flex; gap: 2px; }
.gxpa-tv__btn { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #e5e5e5; cursor: pointer; }
.gxpa-tv__btn:hover, .gxpa-tv__btn:focus-visible { background: rgba(255, 255, 255, .12); color: #fff; outline: none; }
.gxpa-tv__btn .i-play, .gxpa-tv.is-paused .gxpa-tv__btn .i-pause { display: none; }
.gxpa-tv.is-paused .gxpa-tv__btn .i-play { display: block; }
@media (max-width: 639px) {
	.gxpa-tv__frame { padding: 6px 6px 0; border-radius: 14px; }
	.gxpa-tv__screen { border-radius: 9px; }
	.gxpa-tv__cap { left: 12px; bottom: 10px; right: 12px; }
	.gxpa-tv__cap b { font-size: 15px; }
	.gxpa-tv__cap span { display: none; }
	.gxpa-tv__cta { display: none; }
	.gxpa-tv__bar { gap: 8px; min-height: 40px; }
	.gxpa-tv__count { display: none; }
	.gxpa-tv__btn[data-tv="prev"], .gxpa-tv__btn[data-tv="next"] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.gxpa-tv__slide, .gxpa-tv__cap, .gxpa-tv__cta { transition: none; }
	.gxpa-tv__slide.is-on .gxpa-tv__img, .gxpa-tv__live i { animation: none !important; }
	.gxpa-tv__slide { transform: none !important; }
}
/* Na matéria, o tema força Helvetica 18px em todo texto: a TV mantém a própria tipografia. */
.gxp-content .gxpa-tv span, .gxp-content .gxpa-tv b, .gxp-content .gxpa-tv i, .gxp-content .gxpa-tv a, .gxp-content .gxpa-tv div {
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important; line-height: 1.3 !important; font-size: inherit !important;
}
.gxp-content .gxpa-tv .gxpa-tv__cap b { font-size: 17px !important; font-weight: 800; }
.gxp-content .gxpa-tv .gxpa-tv__cap span { font-size: 13.5px !important; }
.gxp-content .gxpa-tv .gxpa-tv__cta { font-size: 13.5px !important; }
.gxp-content .gxpa-tv .gxpa-tv__live { font-size: 10.5px !important; letter-spacing: .14em !important; }
.gxp-content .gxpa-tv .gxpa-tv__count, .gxp-content .gxpa-tv .gxpa-tv__count b { font-size: 12px !important; }
.gxp-content .gxpa-tv__screen img.gxpa-tv__img.gxpa-tv__img.gxpa-tv__img.gxpa-tv__img.gxpa-tv__img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; margin: 0 !important; border-radius: 0 !important; object-fit: contain; }
@media (max-width: 639px) { .gxp-content .gxpa-tv .gxpa-tv__cap b { font-size: 15px !important; } }
