/* PS Portal de Notícias. Tudo é controlado pelas variáveis --psp-* (painel do plugin). */
@font-face { font-family: 'PS Portal Sans'; src: url('../fonts/plus-jakarta-sans.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
:root {
	--psp-primary: #0B2F8A; --psp-accent: #00A3FF; --psp-tag-ink: #04193F;
	--psp-text: #1B2133; --psp-muted: #5B6478; --psp-bg: #F6F7F9; --psp-card: #fff; --psp-border: #E3E7EF; --psp-band: #0B2F8A;
	--psp-font-body: inherit; --psp-font-title: inherit;
	--psp-fs-lg: 36px; --psp-fs-title: 19px; --psp-fs-body: 16px; --psp-fs-read: 18px; --psp-fs-meta: 13px; --psp-fw-title: 700;
	--psp-radius: 16px; --psp-border-w: 1px; --psp-ratio: 16 / 9; --psp-gap: 24px; --psp-container: 1200px;
	--psp-single-w: 920px; --psp-banner-h: 340px; --psp-overlay: .7;
	--psp-shadow: 0 1px 2px rgba(16,24,40,.05), 0 8px 20px -6px rgba(16,24,40,.10);
	--psp-shadow-hover: 0 2px 4px rgba(16,24,40,.06), 0 16px 32px -8px rgba(16,24,40,.18);
}

/* ---------- Base ---------- */
.psp, .psp-wrap { font-family: var(--psp-font-body); font-size: var(--psp-fs-body); color: var(--psp-text); line-height: 1.55; -webkit-font-smoothing: antialiased; }
.psp *, .psp *::before, .psp *::after { box-sizing: border-box; }
.psp a { color: inherit; text-decoration: none; }
.psp img { display: block; max-width: 100%; height: auto; }
.psp ul, .psp ol { list-style: none; margin: 0; padding: 0; }
.psp h1, .psp h2, .psp h3, .psp h4 { margin: 0; font-family: var(--psp-font-title); font-weight: var(--psp-fw-title); color: var(--psp-primary); line-height: 1.16; letter-spacing: -.022em; text-wrap: balance; }
.psp p { margin: 0; }
.psp a:focus-visible, .psp button:focus-visible, .psp input:focus-visible { outline: 3px solid var(--psp-accent); outline-offset: 2px; border-radius: 4px; }
.psp-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.psp-ico { flex: none; }

.psp-wrap { background: var(--psp-bg); padding-block: clamp(20px, 4vw, 48px) clamp(40px, 6vw, 80px); }
.psp-wrap--page { padding-top: 0; }
.psp-container { width: 100%; max-width: var(--psp-container); margin-inline: auto; padding-inline: clamp(16px, 3vw, 28px); }
.psp-block { padding-block: clamp(24px, 4vw, 48px); max-width: var(--psp-container); margin-inline: auto; padding-inline: clamp(16px, 3vw, 28px); }
.psp-gridwrap .psp-block { padding: 0; }

/* ---------- Etiquetas e cabeçalhos de seção ---------- */
.psp-chip, .psp-tag { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; line-height: 1; border-radius: 6px; }
.psp-chip { position: relative; display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 800; letter-spacing: .13em; color: var(--psp-primary); }
.psp-sec-head { display: flex; align-items: center; gap: 16px; margin-bottom: clamp(16px, 2.4vw, 26px); }
.psp-sec-head::after { content: ""; order: 2; flex: 1; height: 1px; background: linear-gradient(90deg, var(--psp-border), transparent 100%); }
.psp-sec-head__time { order: 3; font-size: 12px; font-weight: 600; color: var(--psp-muted); white-space: nowrap; }

.psp-link { transition: color .25s ease; }
.psp-link:hover { color: var(--psp-accent); }
.psp-time { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.psp-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: var(--psp-fs-meta); color: var(--psp-muted); }

/* ---------- Card ---------- */
.psp-card { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--psp-card); border: var(--psp-border-w) solid var(--psp-border); border-radius: var(--psp-radius); box-shadow: var(--psp-shadow); overflow: hidden; padding: 8px; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease; }
.psp-card:hover { transform: translateY(-3px); box-shadow: var(--psp-shadow-hover); border-color: var(--psp-accent); }
.psp-card:has(.psp-stretch:focus-visible) { outline: 3px solid var(--psp-accent); outline-offset: 2px; }
.psp-card__media, .psp-act__media, .psp-destaque__media { position: relative; aspect-ratio: var(--psp-ratio); overflow: hidden; background: color-mix(in srgb, var(--psp-primary) 10%, var(--psp-card)); }
.psp-card__media img, .psp-act__media img, .psp-destaque__media img, .psp-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.psp-card:hover .psp-card__media img, .psp-act:hover .psp-act__media img { transform: scale(1.045); }
.psp-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--psp-primary); opacity: .35; }
.psp-ph .psp-ico { width: 36px; height: 36px; }
.psp-card__tag { position: relative; z-index: 1; margin: -13px 0 0 14px; align-self: flex-start; min-height: 26px; }
.psp-card__tag:empty { min-height: 0; margin: 0; }
.psp-card__body { display: flex; flex-direction: column; gap: 10px; padding: 12px 10px 10px; flex: 1; }
.psp-card__title { font-size: var(--psp-fs-title); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.psp-card__excerpt { color: var(--psp-muted); font-size: .94em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.psp-card__body .psp-meta { margin-top: auto; }
.psp-stretch::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.psp-stretch:focus-visible { outline: none; }
.psp-card:hover .psp-stretch { color: var(--psp-accent); }

.psp-card__media { border-radius: max(calc(var(--psp-radius) - 7px), 4px); }

/* ---------- Banner ---------- */
.psp-banner { position: relative; display: flex; align-items: flex-end; min-height: var(--psp-banner-h); background: var(--psp-primary); color: #fff; overflow: hidden; isolation: isolate; }
.psp-banner__img { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; z-index: -2; }
.psp-banner.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6, 14, 38, var(--psp-overlay)) 0%, rgba(6, 14, 38, calc(var(--psp-overlay) * .4)) 100%); }
.psp-banner__inner { width: 100%; max-width: var(--psp-container); margin-inline: auto; padding: clamp(28px, 5vw, 56px) clamp(16px, 3vw, 28px); }
.psp .psp-banner__title { color: #fff; font-size: clamp(30px, 4vw + 8px, 56px); text-align: center; }
.psp .psp-banner__title::after { content: ""; display: block; width: 72px; height: 4px; margin: 16px auto 0; background: var(--psp-accent); border-radius: 2px; }
.psp-banner__text { margin: 14px auto 0; max-width: 640px; text-align: center; color: rgba(255, 255, 255, .88); font-size: 1.08em; }

/* ---------- Destaque ---------- */
.psp-destaque__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 56px); align-items: start; }
.psp-destaque__media { border-radius: calc(var(--psp-radius) + 6px); box-shadow: var(--psp-shadow-hover); }
.psp-destaque__body { display: flex; flex-direction: column; gap: 14px; }
.psp-destaque__title { font-size: clamp(24px, 1.2vw + 18px, var(--psp-fs-lg)); }
.psp-destaque__title a:hover { color: var(--psp-accent); }
.psp-destaque__excerpt { font-size: 1.04em; color: var(--psp-muted); }
.psp-cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; padding: 12px 20px; border-radius: 999px; background: var(--psp-primary); color: #fff !important; font-weight: 700; font-size: 14px; transition: gap .25s ease, background .25s ease, color .25s ease; }
.psp-cta:hover { gap: 16px; background: var(--psp-accent); color: var(--psp-tag-ink) !important; }
.psp-cta .psp-ico { width: 18px; height: 18px; }
.psp-also { margin-top: 12px; padding: 20px 22px; background: var(--psp-card); border: var(--psp-border-w) solid var(--psp-border); border-radius: var(--psp-radius); }
.psp .psp-also__title { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--psp-text); }
.psp-also__title::before { content: ""; width: 8px; height: 18px; background: var(--psp-accent); border-radius: 2px; }
.psp-also__list { display: flex; flex-direction: column; }
.psp-also__list li { display: flex; gap: 12px; align-items: baseline; transition: transform .3s cubic-bezier(.2,.8,.2,1); padding-block: 11px; border-top: 1px solid var(--psp-border); }
.psp-also__list li:first-child { border-top: 0; padding-top: 2px; }
.psp-also__list li:last-child { padding-bottom: 0; }
.psp-also__list li::before { content: "+"; color: var(--psp-accent); font-weight: 800; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.psp-also__list li:hover { transform: translateX(4px); }
.psp-also__list li:hover::before { transform: rotate(90deg); }
.psp-also__list a { transition: color .25s ease; }
.psp-also__list a:hover { color: var(--psp-accent); }
.psp-also__list--sm { font-size: .94em; }
.psp-act .psp-also__list li { padding-block: 9px; }

/* ---------- Atividades recentes ---------- */
.psp-activities__grid { display: grid; grid-template-columns: repeat(var(--psp-cols, 4), minmax(0, 1fr)); gap: var(--psp-gap); }
.psp-act { position: relative; display: flex; flex-direction: column; gap: 12px; }
.psp-act__media { border-radius: calc(var(--psp-radius) + 2px); box-shadow: var(--psp-shadow); }
.psp-act__tag { margin-top: -26px; margin-left: 14px; position: relative; z-index: 1; align-self: flex-start; }
.psp-act__title { font-size: var(--psp-fs-title); }
.psp-act__title a:hover { color: var(--psp-accent); }
.psp-act .psp-also__list { margin-top: 4px; }

/* ---------- Carrossel com setas ---------- */
.psp-sliderwrap.has-band, .psp-latest.has-band { padding-block: 8px; background: linear-gradient(to bottom, transparent 42%, var(--psp-band) 42%); }
.psp-sliderwrap.has-band .psp-sec-head, .psp-sliderwrap.has-band .psp-slider, .psp-latest.has-band > * { padding-inline: clamp(16px, 3vw, 28px); max-width: var(--psp-container); margin-inline: auto; }
.psp-slider { position: relative; }
.psp-slider__track { display: flex; gap: var(--psp-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 4px 22px; overscroll-behavior-x: contain; }
.psp-slider__track::-webkit-scrollbar { display: none; }
.psp-slider__item { flex: 0 0 calc((100% - (var(--psp-cols, 4) - 1) * var(--psp-gap)) / var(--psp-cols, 4)); scroll-snap-align: start; min-width: 0; }
.psp-slider__btn { position: absolute; top: 38%; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--psp-card); color: var(--psp-primary); box-shadow: 0 4px 14px rgba(16, 24, 40, .22); cursor: pointer; transition: background .2s, color .2s, opacity .2s, transform .2s; }
.psp-slider__btn:hover:not(:disabled) { background: var(--psp-primary); color: #fff; }
.psp-slider__btn:disabled { opacity: 0; pointer-events: none; }
.psp-slider__btn--prev { left: -14px; }
.psp-slider__btn--next { right: -14px; }
.psp-slider__dots { display: flex; justify-content: center; gap: 2px; margin-top: -4px; }
.psp-slider__dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.psp-slider__dots button::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: color-mix(in srgb, var(--psp-muted) 45%, transparent); transition: all .25s; }
.psp-slider__dots button[aria-current="true"]::before { inset: 8px -2px; background: var(--psp-accent); border-radius: 4px; }
.psp-latest.has-band { padding-bottom: clamp(28px, 4vw, 48px); }
.psp-latest.has-band .psp-sec-head { margin-bottom: clamp(16px, 2.4vw, 26px); }
.psp-sliderwrap.has-band .psp-slider__dots button::before { background: rgba(255, 255, 255, .45); }
.psp-sliderwrap.has-band .psp-slider__dots button[aria-current="true"]::before { background: var(--psp-accent); }
.psp-slider.is-static .psp-slider__btn { display: none; }

/* ---------- Carrossel contínuo ---------- */
.psp-marquee { position: relative; overflow: hidden; padding-block: 8px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.psp-marquee__track { display: flex; width: max-content; animation: psp-scroll var(--psp-dur, 60s) linear infinite; will-change: transform; }
.psp-marquee__list { display: flex; flex: none; gap: var(--psp-gap); padding-right: var(--psp-gap); }
.psp-marquee__item { flex: none; width: 300px; }
.psp-marquee.is-paused .psp-marquee__track, .psp-marquee:focus-within .psp-marquee__track { animation-play-state: paused; }
.psp-marquee--hover:hover .psp-marquee__track { animation-play-state: paused; }
.psp-marquee__toggle { position: absolute; right: 8px; bottom: 0; z-index: 4; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--psp-border); border-radius: 50%; background: var(--psp-card); color: var(--psp-primary); cursor: pointer; opacity: .75; }
.psp-marquee__toggle:hover { opacity: 1; }
.psp-marquee__toggle .psp-ico { width: 16px; height: 16px; }
.psp-marquee__toggle .is-play, .psp-marquee.is-paused .psp-marquee__toggle .is-pause { display: none; }
.psp-marquee.is-paused .psp-marquee__toggle .is-play { display: block; }
@keyframes psp-scroll { to { transform: translateX(-50%); } }

/* ---------- Ticker ---------- */
.psp-ticker { display: flex; align-items: center; background: var(--psp-card); border: 1px solid var(--psp-border); border-radius: calc(var(--psp-radius) * .7); overflow: hidden; }
.psp-ticker__label { flex: none; padding: 12px 18px; background: var(--psp-primary); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.psp-ticker__view { flex: 1; min-width: 0; }
.psp-ticker .psp-marquee { padding: 0; -webkit-mask-image: none; mask-image: none; }
.psp-ticker .psp-marquee__item { width: auto; padding-block: 12px; white-space: nowrap; font-weight: 600; font-size: .94em; }
.psp-ticker .psp-marquee__item::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: var(--psp-gap); border-radius: 50%; background: var(--psp-accent); vertical-align: middle; }
.psp-ticker .psp-marquee__item a:hover { color: var(--psp-accent); }
.psp-ticker .psp-marquee__toggle { bottom: 50%; transform: translateY(50%); }

/* ---------- Grade, filtro, busca, paginação ---------- */
.psp-grid { display: grid; grid-template-columns: repeat(var(--psp-cols, 3), minmax(0, 1fr)); gap: var(--psp-gap); }
.psp-grid > li { min-width: 0; }
.psp-filter { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.psp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.psp-chipbtn { display: inline-flex; gap: 8px; align-items: center; padding: 9px 16px; border: 1px solid var(--psp-border); border-radius: 999px; background: var(--psp-card); font-size: 14px; font-weight: 600; transition: all .2s; }
.psp-chipbtn span { opacity: .6; font-weight: 500; }
.psp-chipbtn:hover { border-color: var(--psp-accent); color: var(--psp-primary); }
.psp-chipbtn.is-on { background: var(--psp-primary); border-color: var(--psp-primary); color: #fff; }
.psp-search { display: flex; align-items: center; min-width: min(100%, 260px); border: 1px solid var(--psp-border); border-radius: 999px; background: var(--psp-card); overflow: hidden; }
.psp-search input { flex: 1; min-width: 0; padding: 11px 6px 11px 18px; border: 0; background: transparent; font: inherit; color: inherit; box-shadow: none; outline: none; }
.psp-search:focus-within { border-color: var(--psp-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--psp-accent) 25%, transparent); }
.psp-search button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--psp-primary); cursor: pointer; }
.psp-resultinfo, .psp-empty { margin-bottom: 20px; color: var(--psp-muted); }
.psp-empty { padding: 40px 0; text-align: center; }
.psp-pager { margin-top: 36px; }
.psp-pager ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.psp-pager__num, .psp-pager__nav, .psp-pager__gap { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding-inline: 14px; border-radius: 10px; font-weight: 600; }
.psp-pager__num, .psp-pager__nav { border: 1px solid var(--psp-border); background: var(--psp-card); transition: all .2s; }
.psp-pager a:hover { border-color: var(--psp-accent); color: var(--psp-primary); }
.psp-pager .is-cur { background: var(--psp-primary); border-color: var(--psp-primary); color: #fff; }
.psp-pager__gap { color: var(--psp-muted); }

/* ---------- Lista e ranking ---------- */
.psp-list ul, .psp-ranking ol { display: flex; flex-direction: column; }
.psp-row { position: relative; display: flex; gap: 14px; padding-block: 14px; border-bottom: 1px solid var(--psp-border); }
.psp-row:first-child { padding-top: 0; }
.psp-row__media { position: relative; flex: none; width: 104px; aspect-ratio: 3 / 2; border-radius: calc(var(--psp-radius) * .6); overflow: hidden; background: color-mix(in srgb, var(--psp-primary) 10%, var(--psp-card)); }
.psp-row__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.psp-row__title, .psp-rank__title { font-weight: 700; line-height: 1.3; color: var(--psp-primary); }
.psp-row__title::after { content: ""; position: absolute; inset: 0; }
.psp-rank { display: flex; gap: 16px; align-items: flex-start; padding-block: 14px; border-bottom: 1px solid var(--psp-border); }
.psp-rank > div { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.psp-rank__n { flex: none; min-width: 1.4em; font-size: 34px; font-weight: 800; line-height: 1; color: var(--psp-accent); font-variant-numeric: tabular-nums; }

/* ---------- Notícia individual ---------- */
.psp-single { display: block; }
.psp-paper { max-width: var(--psp-single-w); margin-inline: auto; background: var(--psp-card); border: var(--psp-border-w) solid var(--psp-border); border-radius: calc(var(--psp-radius) + 6px); padding: clamp(18px, 4vw, 44px); box-shadow: var(--psp-shadow); }
.psp-dateline { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 16px; font-size: var(--psp-fs-meta); color: var(--psp-muted); }
.psp-dateline span { display: inline-flex; align-items: center; gap: 7px; }
.psp-dateline .psp-ico { width: 16px; height: 16px; color: var(--psp-accent); }
.psp-hero { position: relative; margin: 0 0 clamp(22px, 3vw, 34px); }
.psp-hero__img { position: relative; border-radius: calc(var(--psp-radius) + 2px); overflow: hidden; box-shadow: var(--psp-shadow-hover); line-height: 0; }
.psp-hero__img img { display: block; width: 100%; height: auto; }
.psp-hero-tag { margin-bottom: 18px; }
.psp-hero .psp-tag { position: absolute; left: 50%; bottom: -13px; transform: translateX(-50%); }
.psp-hero__credit { margin-top: 24px; text-align: right; font-size: 12px; color: var(--psp-muted); }
.psp-article__head { margin: 34px 0 22px; }
.psp-hero__credit + .psp-article__head { margin-top: 14px; }
.psp-article__title { font-size: clamp(26px, 1.6vw + 18px, var(--psp-fs-lg)); margin: 0; }
.psp-lead { font-size: calc(var(--psp-fs-read) * 1.1); line-height: 1.5; color: var(--psp-muted); margin-bottom: 18px; }
.psp-byline { display: flex; flex-wrap: wrap; gap: 4px 20px; padding-block: 12px; margin-bottom: 28px; border-block: 1px solid var(--psp-border); font-size: var(--psp-fs-meta); color: var(--psp-muted); }
.psp-byline strong { color: var(--psp-text); }
.psp-article__body { font-size: var(--psp-fs-read); line-height: 1.75; overflow-wrap: break-word; }
.psp-article__body > * + * { margin-top: 1.1em; }
.psp-article__body h2, .psp-article__body h3, .psp-article__body h4 { margin-top: 1.8em; line-height: 1.25; }
.psp-article__body h2 { font-size: 1.5em; } .psp-article__body h3 { font-size: 1.25em; }
.psp-article__body a { color: var(--psp-primary); text-decoration: underline; text-decoration-color: var(--psp-accent); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.psp-article__body a:hover { color: var(--psp-accent); }
.psp-article__body img, .psp-article__body video, .psp-article__body iframe { max-width: 100%; border-radius: calc(var(--psp-radius) * .7); }
.psp-article__body ul, .psp-article__body ol { padding-left: 1.4em; list-style: revert; }
.psp-article__body li + li { margin-top: .4em; }
.psp-article__body blockquote { margin-inline: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--psp-accent); font-size: 1.1em; font-style: italic; color: var(--psp-primary); }
.psp-article__body figcaption { font-size: .8em; color: var(--psp-muted); margin-top: 6px; }
.psp-taglist { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.psp-taglist a { display: inline-block; padding: 6px 12px; border: 1px solid var(--psp-border); border-radius: 999px; font-size: 13px; color: var(--psp-muted); transition: all .2s; }
.psp-taglist a:hover { border-color: var(--psp-accent); color: var(--psp-primary); }

.psp-share { margin-top: 36px; padding-block: 26px; border-block: 1px solid var(--psp-primary); text-align: center; }
.psp .psp-share__title { margin-bottom: 18px; font-size: 1.15em; }
.psp-share__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.psp-share__btn { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--psp-border); border-radius: 50%; background: var(--psp-card); color: var(--psp-primary); cursor: pointer; transition: all .2s; }
.psp-share__btn:hover, .psp-share__btn.is-done { background: var(--c, var(--psp-primary)); border-color: var(--c, var(--psp-primary)); color: #fff; transform: translateY(-2px); }
.psp-share__btn[hidden] { display: none; }
.psp-adjacent { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.psp-adjacent__a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--psp-border); border-radius: calc(var(--psp-radius) * .8); transition: border-color .2s; }
.psp-adjacent__a:hover { border-color: var(--psp-accent); }
.psp-adjacent__a small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--psp-accent); }
.psp-adjacent__a span { font-weight: 700; color: var(--psp-primary); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.psp-adjacent__a.is-next { text-align: right; grid-column: 2; }
.psp-single > .psp-more { margin-top: clamp(32px, 5vw, 56px); }
.psp-comments { margin-top: 28px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
	.psp-activities__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.psp-grid { grid-template-columns: repeat(min(var(--psp-cols, 3), 2), minmax(0, 1fr)); }
	.psp-slider__item { flex-basis: calc((100% - 2 * var(--psp-gap)) / 3); }
}
@media (max-width: 900px) {
	.psp-destaque__grid { grid-template-columns: 1fr; }
	.psp-slider__item { flex-basis: calc((100% - var(--psp-gap)) / 2); }
}
@media (max-width: 600px) {
	.psp-activities__grid, .psp-grid { grid-template-columns: 1fr; }
	.psp-slider__item { flex-basis: 82%; }
	.psp-slider__btn { display: none; }
	.psp-marquee__item { width: 260px; }
	.psp-adjacent { grid-template-columns: 1fr; }
	.psp-adjacent__a.is-next { grid-column: auto; }
	.psp-filter { flex-direction: column; align-items: stretch; }
	.psp-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
	.psp-chipbtn { white-space: nowrap; }
}
@media (max-width: 1280px) and (min-width: 601px) {
	.psp-slider__btn--prev { left: 4px; } .psp-slider__btn--next { right: 4px; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
	.psp-marquee__track { animation: none; }
	.psp-marquee { overflow-x: auto; }
	.psp-marquee__list[aria-hidden="true"], .psp-marquee__toggle { display: none; }
	.psp-card, .psp-card img, .psp-act img, .psp-link, .psp-share__btn { transition: none; }
	.psp-card:hover { transform: none; }
	.psp-card:hover img, .psp-act:hover img { transform: none; }
}

/* ---------- Barra de leitura ---------- */
.psp-progress { position: fixed; inset: 0 0 auto 0; z-index: 99999; height: 3px; pointer-events: none; }
.psp-progress span { display: block; height: 100%; background: var(--psp-accent); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Entrada suave ao rolar (só quando o JS carrega) ---------- */
.psp-js .psp-reveal { opacity: 0; transform: translateY(18px); }
.psp-js .psp-reveal.is-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 70ms); }
@media (prefers-reduced-motion: reduce) {
	.psp-js .psp-reveal { opacity: 1; transform: none; }
	.psp-progress { display: none; }
}

/* ================= Indicador "ao vivo" ================= */
.psp-live { position: relative; flex: none; display: inline-block; width: 10px; height: 10px; --psp-ping: var(--psp-live, var(--psp-accent)); }
.psp-live i, .psp-live::before, .psp-live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--psp-ping); }
.psp-live i { z-index: 1; box-shadow: 0 0 10px 1px var(--psp-ping); animation: psp-glow 2s ease-in-out infinite; }
.psp-live::before, .psp-live::after { opacity: 0; animation: psp-ping 2.4s cubic-bezier(0, 0, .2, 1) infinite; }
.psp-live::after { animation-delay: 1.2s; }
.psp-live--sm { width: 7px; height: 7px; }
.psp-live.is-idle i { animation: none; box-shadow: none; opacity: .4; }
.psp-live.is-idle::before, .psp-live.is-idle::after { display: none; }
@keyframes psp-ping { 0% { transform: scale(1); opacity: .55; } 75%, 100% { transform: scale(3.4); opacity: 0; } }
@keyframes psp-glow { 0%, 100% { box-shadow: 0 0 6px 0 var(--psp-ping); transform: scale(1); } 50% { box-shadow: 0 0 14px 3px var(--psp-ping); transform: scale(1.12); } }

/* ================= Profundidade ================= */
.psp-wrap { background-color: var(--psp-bg); background-image:
	radial-gradient(60% 420px at 88% -90px, color-mix(in srgb, var(--psp-accent) 15%, transparent), transparent 72%),
	radial-gradient(50% 360px at 0% 0%, color-mix(in srgb, var(--psp-primary) 8%, transparent), transparent 72%),
	url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* brilho que acompanha o mouse nos cards */
.psp-card::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .35s ease; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--psp-accent) 18%, transparent), transparent 62%); }
.psp-card:hover::before { opacity: 1; }
.psp-card__body { position: relative; z-index: 1; }

/* ================= Interações ================= */
.psp-chipbtn:hover { transform: translateY(-2px); }
.psp-chipbtn, .psp-cta, .psp-share__btn, .psp-pager__num, .psp-pager__nav, .psp-slider__btn, .psp-marquee__toggle, .psp-search button { transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s ease, color .25s ease, border-color .25s ease, gap .25s ease, opacity .25s ease; }
.psp-chipbtn:active, .psp-cta:active, .psp-share__btn:active, .psp-pager a:active, .psp-slider__btn:active, .psp-search button:active { transform: scale(.94); }
.psp-card:active { transform: translateY(-1px) scale(.992); }
.psp-search { transition: min-width .4s cubic-bezier(.2,.8,.2,1), border-color .25s, box-shadow .25s; }
.psp-filter .psp-search:focus-within { min-width: min(100%, 380px); }

/* skeleton enquanto a imagem carrega (só com JS) */
.psp-js .is-wait:not(.is-ready) { background: linear-gradient(100deg, color-mix(in srgb, var(--psp-primary) 9%, var(--psp-card)) 30%, color-mix(in srgb, var(--psp-primary) 3%, var(--psp-card)) 50%, color-mix(in srgb, var(--psp-primary) 9%, var(--psp-card)) 70%) 0 0 / 200% 100%; animation: psp-shimmer 1.4s linear infinite; }
.psp-js .is-wait:not(.is-ready) img { opacity: 0; }
.psp-js .is-wait img { transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
@keyframes psp-shimmer { to { background-position: -200% 0; } }

/* aviso rápido (ex.: link copiado) */
.psp-toast { position: fixed; left: 50%; bottom: 28px; z-index: 99999; display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 999px; background: var(--psp-primary); color: #fff; font: 600 14px/1 var(--psp-font-body); box-shadow: 0 14px 34px rgba(16, 24, 40, .32); opacity: 0; transform: translate(-50%, 18px); pointer-events: none; transition: opacity .3s ease, transform .4s cubic-bezier(.2,.8,.2,1); }
.psp-toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--psp-accent); box-shadow: 0 0 10px var(--psp-accent); }
.psp-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 480px) { .psp-sec-head__time { display: none; } }
@media (prefers-reduced-motion: reduce) {
	.psp-live i, .psp-live::before, .psp-live::after { animation: none; }
	.psp-live::before, .psp-live::after { display: none; }
	.psp-card::before { display: none; }
	.psp-js .is-wait:not(.is-ready), .psp-toast { animation: none; transition: none; }
}
