/**
 * Design system e estilos públicos globais.
 */

:root {
	--pv-red: #c90000;
	--pv-red-dark: #980000;
	--pv-black: #111111;
	--pv-text: #222222;
	--pv-muted: #6b6b6b;
	--pv-border: #e5e5e5;
	--pv-background: #ffffff;
	--pv-soft-background: #f7f7f7;
	--pv-container: 1560px;
	--pv-space-1: 0.5rem;
	--pv-space-2: 0.75rem;
	--pv-space-3: 1rem;
	--pv-space-4: 1.5rem;
	--pv-space-5: 2rem;
	--pv-space-6: 3rem;
	--pv-radius-sm: 0.25rem;
	--pv-radius-md: 0.5rem;
	--pv-shadow-sm: 0 0.5rem 1.5rem rgba(17, 17, 17, 0.08);
	--pv-transition: 200ms ease;
	--pv-font: Inter, Manrope, "Segoe UI", Arial, sans-serif;
	--pv-text-xs: 0.75rem;
	--pv-text-sm: 0.875rem;
	--pv-text-base: 1rem;
	--pv-text-lg: 1.25rem;
	--pv-header-height: 4.5rem;
	color-scheme: light;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	overflow-x: clip;
}

body {
	-webkit-font-smoothing: antialiased;
	background: var(--pv-background);
	color: var(--pv-text);
	font-family: var(--pv-font);
	margin: 0;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

button,
input,
select,
textarea {
	font: inherit;
}

img {
	display: block;
	height: auto;
	max-width: 100%;
}

a {
	transition: color var(--pv-transition), background-color var(--pv-transition), border-color var(--pv-transition);
}

:where(a, button, input, select, textarea):focus-visible {
	outline: 3px solid var(--pv-red);
	outline-offset: 3px;
}

.site-main {
	display: flow-root;
	min-height: 1px;
	min-width: 0;
	overflow-x: clip;
}

/* Malha externa compartilhada pelos banners das editorias especiais. */
.pv-special-hero-shell {
	margin-inline: auto;
	max-width: var(--pv-container);
	padding-inline: 1rem;
	width: 100%;
}

@media (min-width: 40rem) {
	.pv-special-hero-shell { padding-inline: 1.5rem; }
}

@media (min-width: 60rem) {
	.pv-special-hero-shell { padding-inline: 2rem; }
}

.pv-admin-guidance {
	background: #fff8e5;
	border-left: 4px solid #dba617;
	color: var(--pv-text);
	font-size: var(--pv-text-sm);
	margin: 2rem auto;
	max-width: calc(var(--pv-container) - 4rem);
	padding: 0.875rem 1rem;
}

.site-footer {
	background: #06141e;
	color: #b9c4cb;
	font-size: 0.8125rem;
	margin-top: clamp(2rem, 5vw, 4rem);
}

.site-footer__container {
	margin-inline: auto;
	max-width: var(--pv-container);
	padding: clamp(2.5rem, 4vw, 4rem) 1rem 1.5rem;
}

.site-footer__columns {
	display: grid;
	gap: 2rem;
}

.site-footer__columns nav {
	display: grid;
	align-content: start;
	gap: 0.6rem;
}

.site-footer__columns nav strong {
	color: #f1c84b;
	font-size: 0.6875rem;
	letter-spacing: 0.1em;
	margin-bottom: 0.25rem;
	text-transform: uppercase;
}

.site-footer a {
	color: #fff;
	text-decoration: none;
}

.site-footer a:hover { color: #f1c84b; text-decoration: underline; }

.site-footer__brand > a {
	color: #fff;
	font-size: 1.125rem;
	font-weight: 800;
}

.site-footer__brand > p { line-height: 1.55; margin: 0.6rem 0 1.25rem; max-width: 18rem; }

.site-footer__navigation > div {
	display: grid;
	gap: 0.6rem 1.5rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	justify-content: space-between;
	margin-top: 2rem;
	padding-top: 1.25rem;
}

.site-footer p { margin: 0; }

@media (min-width: 40rem) {
	.site-footer__container { padding-inline: 1.5rem; }
}

@media (min-width: 60rem) {
	.site-footer__container { padding-inline: 2rem; }
	.site-footer__columns { grid-template-columns: minmax(13rem, 1fr) minmax(18rem, 1.5fr) minmax(11rem, 0.8fr); }
	.site-footer__navigation > div { grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; grid-template-columns: none; grid-template-rows: repeat(3, auto); }
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
}

.screen-reader-text:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* Portal Verdades 2.1 — refinamento editorial da capa. */
body.home { background: #fff; }
body.home .site-main { padding-top: .5rem; }
body.home .category-section__header { border-bottom: 1px solid #e4e7eb; padding-bottom: .8rem; }
body.home .category-section__heading { letter-spacing: -.035em; }
body.home .category-section__article { min-width: 0; }
body.home .category-section__title a { text-decoration-thickness: 1px; text-underline-offset: .15em; }
body.home .category-section__media { border-radius: .6rem; }
body.home .category-section__media--placeholder { background: linear-gradient(135deg,#edf1f4,#dfe5ea); }
body.home .category-section__media--placeholder svg { opacity: .28; }
body.home .category-section__image { transition: transform .35s ease; }
@media (hover:hover) { body.home .category-section__article:hover .category-section__image { transform: scale(1.025); } }
.pv-giro-wrap { max-width: var(--pv-container); margin: 2.25rem auto 3rem; padding: 1.75rem 1rem .5rem; border-block: 1px solid #e6e9ec; background: #fafbfc; }
.pv-giro-label { color: #b3131b; font-size: .68rem; font-weight: 800; letter-spacing: .16em; padding-inline: 0; }
.pv-giro-wrap .category-section { padding: .25rem 0 1.2rem; margin: 0; }
.pv-giro-wrap .category-section__header { border-bottom: 0 !important; padding-bottom: 0 !important; }
.pv-giro-wrap .category-section__heading { font-size: clamp(1.5rem,2.5vw,2.2rem); }
.pv-giro-wrap .category-section__eyebrow { display: none; }
.pv-giro-wrap .category-section__excerpt { display: none; }
@media (min-width: 40rem) { .pv-giro-wrap { padding-inline: 1.5rem; } }
@media (min-width: 60rem) { .pv-giro-wrap { border:1px solid #e6e9ec; border-radius: .85rem; padding: 1.75rem 2rem .5rem; } }

/* ========================================================
   PORTAL VERDADES V3 — SISTEMA EDITORIAL DA HOME
   Mantém identidade vermelha, ritmo mais compacto e respiro consistente.
   ======================================================== */
body.home .hero { padding-top: clamp(.65rem, 1.1vw, 1rem); }
body.home .category-section { padding-top: clamp(2.35rem, 4vw, 3.45rem); }
body.home .category-section + .category-section { margin-top: 0; }
body.home .category-section__header { margin-bottom: clamp(1rem, 1.8vw, 1.5rem); }
body.home .category-section__eyebrow { font-size: .61rem; letter-spacing: .115em; }
body.home .category-section__heading { font-size: clamp(1.42rem, 2.08vw, 1.95rem); }
body.home .category-section__all { font-size: .72rem; }
body.home .category-section__title { line-height: 1.17; }
body.home .category-section__date { margin-top: .5rem; }
body.home .category-section__article--no-image .category-section__media--placeholder { background: #edf0f2; }
body.home .category-section__article--featured.category-section__article--no-image .category-section__media { display: none; }
body.home .category-section__article--featured.category-section__article--no-image .category-section__content {
    background: #f5f7f8;
    border-left: 4px solid var(--pv-red);
    border-radius: .2rem .45rem .45rem .2rem;
    padding: clamp(1rem, 2vw, 1.75rem);
}
body.home .category-section__article--featured.category-section__article--no-image .category-section__title { font-size: clamp(1.3rem, 2vw, 2.25rem); }
body.home .category-section__article--featured.category-section__article--no-image .category-section__excerpt { -webkit-line-clamp: 2; }
body.home .category-section--grid .category-section__article--no-image .category-section__media--placeholder { max-height: 135px; }
body.home .category-section--grid .category-section__article--no-image .category-section__media--placeholder svg { width: 30px; height: 30px; }
@media (min-width: 64rem) {
    body.home .category-section + .category-section { margin-top: 0; }
    body.home .category-section__items { gap: clamp(1rem, 1.8vw, 1.4rem); }
}
@media (max-width: 47.99rem) {
    body.home .category-section { padding-top: 2.6rem; }
    body.home .category-section__title { font-size: 1.04rem; }
    body.home .category-section--featured .category-section__article:not(.category-section__article--featured) { padding-top: .95rem; gap: .75rem; }
    body.home .category-section--featured .category-section__article:not(.category-section__article--featured) .category-section__media { aspect-ratio: 4/3; }
    body.home .category-section--featured .category-section__article:not(.category-section__article--featured) .category-section__title { font-size: .94rem; }
    body.home .category-section--featured .category-section__article--featured .category-section__title { font-size: clamp(1.45rem, 5.6vw, 1.85rem); }
}


/* ==============================================================
   PORTAL VERDADES 2.16 — IDENTIDADE VISUAL DAS EDITORIAS DA HOME
   O vermelho segue sendo a cor institucional. Cada editoria tem
   apenas acentos e superfícies suaves, sem mudar cards nem grid.
   Aplicado somente na capa; páginas das categorias permanecem iguais.
   ============================================================== */
body.home .category-section--pv-topic,
body.home .home-pato-commercial--pv-topic {
    --pv-topic-accent: #c51620;
    --pv-topic-bg: #fff7f7;
    --pv-topic-edge: #f4dfe1;
    background: var(--pv-topic-bg);
    border: 1px solid var(--pv-topic-edge);
    border-top: 3px solid var(--pv-topic-accent);
    border-radius: 12px;
    box-shadow: 0 1px 0 rgba(12, 28, 42, .02);
    margin: clamp(1.45rem, 3.2vw, 2.75rem) auto 0;
    max-width: calc(var(--pv-container) - 1.25rem);
    padding: clamp(1.35rem, 2.6vw, 2.65rem) clamp(.95rem, 2.5vw, 2.5rem) clamp(1.65rem, 3vw, 2.75rem);
    width: calc(100% - 1.25rem);
}

/* Quatro identidades de editoria, com contraste adequado sobre fundo claro. */
body.home .category-section--topic-pato-branco {
    --pv-topic-accent: #c51620;
    --pv-topic-bg: #fff7f7;
    --pv-topic-edge: #f2dee0;
}
body.home .category-section--topic-politica-parana,
body.home .category-section--topic-politica-do-parana {
    --pv-topic-accent: #0c69b4;
    --pv-topic-bg: #f3f8fc;
    --pv-topic-edge: #dce8f2;
}
body.home .category-section--topic-sudoeste-do-parana {
    --pv-topic-accent: #087d45;
    --pv-topic-bg: #f3faf6;
    --pv-topic-edge: #dcece3;
}
body.home .home-pato-commercial--pv-topic {
    --pv-topic-accent: #565e66;
    --pv-topic-bg: #f5f6f7;
    --pv-topic-edge: #dfe3e6;
}

/* 2.15: cor no título da editoria e nas manchetes, não nos rótulos pequenos. */
body.home .category-section--pv-topic .category-section__header::before,
body.home .home-pato-commercial--pv-topic .home-pato-commercial__header::before {
    background: var(--pv-topic-accent);
}
/* Olhos e etiquetas de categoria em cinza neutro para hierarquia mais limpa. */
body.home .category-section--pv-topic .category-section__eyebrow,
body.home .category-section--pv-topic .category-section__category,
body.home .home-pato-commercial--pv-topic .home-pato-commercial__header span,
body.home .home-pato-commercial--pv-topic .home-pato-commercial__category {
    color: #65727e;
}
/* Os nomes das seções e os links dos títulos das matérias ganham o acento editorial. */
body.home .category-section--pv-topic .category-section__heading,
body.home .category-section--pv-topic .category-section__title a,
body.home .home-pato-commercial--pv-topic .home-pato-commercial__header h2,
body.home .home-pato-commercial--pv-topic .home-pato-featured h3 a,
body.home .home-pato-commercial--pv-topic .home-pato-secondary h3 a {
    color: var(--pv-topic-accent);
}
body.home .category-section--pv-topic .category-section__header,
body.home .home-pato-commercial--pv-topic .home-pato-commercial__header {
    border-bottom-color: var(--pv-topic-edge);
}
body.home .category-section--pv-topic .category-section__article--featured.category-section__article--no-image .category-section__content {
    background: rgba(255,255,255,.82);
    border-left-color: var(--pv-topic-accent);
}
@media (hover: hover) {
    body.home .category-section--pv-topic .category-section__all:hover,
    body.home .home-pato-commercial--pv-topic .home-pato-commercial__header > a:hover {
        color: var(--pv-topic-accent);
    }
    body.home .category-section--pv-topic .category-section__title a:hover,
    body.home .home-pato-commercial--pv-topic h3 a:hover {
        color: var(--pv-topic-accent);
        text-decoration: underline;
        text-decoration-thickness: 1px;
        text-underline-offset: 3px;
    }
}
body.home .category-section--pv-topic :is(a,button):focus-visible,
body.home .home-pato-commercial--pv-topic :is(a,button):focus-visible {
    outline-color: var(--pv-topic-accent);
}
/* No mobile, blocos separados com respiro sem aumentar excessivamente a rolagem. */
@media (max-width: 47.99rem) {
    body.home .category-section--pv-topic,
    body.home .home-pato-commercial--pv-topic {
        border-radius: 9px;
        margin-top: 1.25rem;
        max-width: calc(100% - .85rem);
        padding: 1.35rem .95rem 1.65rem;
        width: calc(100% - .85rem);
    }
    body.home .category-section--pv-topic .category-section__header,
    body.home .home-pato-commercial--pv-topic .home-pato-commercial__header {
        margin-bottom: 1.2rem;
    }
}
