/* Portal Editorial Bubbles — base: tokens, reset, tipografia e componentes globais */
:root {
	--pe-primary: #ed145b;
	--pe-primary-hover: #c80c49;
	--pe-bg: #ffffff;
	--pe-surface: #ffffff;
	--pe-surface-2: #f7f7f9;
	--pe-text: #191919;
	--pe-muted: #555555;
	--pe-border: #ececec;
	--pe-border-strong: #d9d9df;
	--pe-title-alt: #2b1a4f;
	--pe-header-bg: #ffffff;
	--pe-footer-bg: #f0eff5;
	--pe-footer-text: #1f1f1f;
	--pe-topbar-bg: #f6f7f8;
	--pe-topbar-color: #1f1f1f;
	--pe-topbar-h: 32px;
	--pe-ticker-bg: #191919;
	--pe-ticker-color: #ffffff;
	--pe-nl-bg: #000000;
	--pe-ph-bg: #dcdde2;
	--pe-ph-fg: #8d9099;
	--pe-input-bg: #ffffff;
	--pe-mark-bg: #fff45c;
	--pe-mark-text: #111111;
	--pe-stripe-a: #f1f1f1;
	--pe-stripe-b: #ffffff;
	--pe-tag-bg: #eceef3;

	--pe-container: 1200px;
	--pe-narrow: 1040px;
	--pe-article: 760px;
	--pe-card-radius: 0px;

	--pe-font-heading: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--pe-font-body: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--pe-font-menu: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--pe-h1: 30px;
	--pe-h2: 24px;
	--pe-headline: 32px;
	--pe-excerpt: 14px;
	--pe-body: 17px;
	--pe-hw: 600;
	--pe-h1-weight: 600;
	--pe-h1-color: #000000;
	--pe-h1-lh: 1.25;
	--pe-h1-align: left;
	--pe-lh: 1.75;
	--pe-sec-size: 60px;
	--pe-sec-color: #000000;
	--pe-sec-line: #f06292;
	--pe-sec-shadow: 2px 3px 4px rgba(0, 0, 0, 0.28);
	--pe-logo-w: 190px;
	--pe-logo-wm: 140px;
	--pe-logo-wf: 190px;
	--pe-hero-h: 66%;
	--pe-hero-gap: 24px;
	--pe-header-pad: 18px;
	--pe-cat-size: 32px;
	--pe-cat-desc-w: 960px;
	--pe-cat-space: 56px;
	--pe-justify: justify;
	--pe-story-w: 128px;
	--pe-ticker-dur: 40s;
	--pe-sticky-h: 0px;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: var(--pe-sticky-h);
	color-scheme: light;
}
html[data-theme="dark"] { color-scheme: dark; }

body {
	margin: 0;
	font-family: var(--pe-font-body);
	font-size: 16px;
	line-height: 1.55;
	color: var(--pe-text);
	background: var(--pe-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.pe-lock { overflow: hidden; }

.pe-site { overflow-x: clip; min-height: 100vh; display: flex; flex-direction: column; }
.pe-main { flex: 1 0 auto; outline: 0; }

img, video, svg, iframe, embed, object { max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--pe-primary); }
h1, h2, h3, h4, h5, h6 { font-family: var(--pe-font-heading); margin: 0; line-height: 1.25; overflow-wrap: break-word; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--pe-primary); outline-offset: 2px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	background: var(--pe-surface); clip: auto; clip-path: none; color: var(--pe-text); display: block;
	height: auto; left: 8px; padding: 12px 18px; top: 8px; width: auto; z-index: 100000; font-weight: 600;
}

.pe-wrap { width: 100%; max-width: var(--pe-container); margin-inline: auto; padding-inline: 20px; }
.pe-wrap--narrow { max-width: calc(var(--pe-narrow) + 40px); }
.pe-wrap--article { max-width: calc(var(--pe-article) + 40px); }

@media (max-width: 700px) { .pe-hide-mobile { display: none !important; } }
@media (min-width: 701px) { .pe-hide-desktop { display: none !important; } }

/* Imagens e placeholder 16:9 */
.pe-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pe-ph {
	display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16 / 9;
	background: var(--pe-ph-bg); color: var(--pe-ph-fg);
}
.pe-ph--story { aspect-ratio: 9 / 16; }

/* Etiquetas de categoria */
.pe-label {
	font-family: var(--pe-font-heading); font-size: 10px; font-weight: 600; letter-spacing: 0.05em;
	text-transform: uppercase; line-height: 1.3; color: var(--pe-primary);
}
.pe-label a:hover, .pe-cats a:hover { text-decoration: underline; color: inherit; }
.pe-cats__sep { opacity: 0.8; }
.pe-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.pe-badge {
	display: inline-block; background: var(--pe-primary); color: #fff; padding: 3px 7px;
	font-family: var(--pe-font-heading); font-size: 9.5px; font-weight: 600; letter-spacing: 0.05em;
	text-transform: uppercase; line-height: 1.3;
}
.pe-badge:hover { background: var(--pe-primary-hover); color: #fff; }

/* Botões */
.pe-btn {
	display: inline-block; border: 1px solid var(--pe-text); background: transparent; color: var(--pe-text);
	padding: 10px 22px; font-family: var(--pe-font-heading); font-size: 12px; font-weight: 600;
	letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.pe-btn:hover { background: var(--pe-primary); border-color: var(--pe-primary); color: #fff; }
.pe-btn--solid { background: var(--pe-primary); border-color: var(--pe-primary); color: #fff; }
.pe-btn--solid:hover { background: var(--pe-primary-hover); border-color: var(--pe-primary-hover); }

/* Títulos de bloco */
.pe-block-title { font-size: var(--pe-h2); font-weight: var(--pe-hw); margin: 0 0 20px; color: var(--pe-text); }
.pe-block-title--small { font-size: 18px; }
.pe-side-title {
	font-family: var(--pe-font-heading); font-size: 18px; font-weight: calc(var(--pe-hw) - 100);
	text-transform: uppercase; letter-spacing: 0.01em; margin: 0 0 16px; color: var(--pe-text);
}

/* Título gigante de editoria */
.pe-st { display: flex; flex-direction: column; margin-bottom: 42px; }
.pe-st__title {
	font-size: var(--pe-sec-size); font-weight: 700; line-height: 1.05; text-transform: uppercase;
	letter-spacing: -0.005em; color: var(--pe-sec-color); text-shadow: var(--pe-sec-shadow);
}
.pe-st__title a { color: inherit; }
.pe-st__title a:hover { color: inherit; opacity: 0.85; }
.pe-st__line { display: block; height: 1px; background: var(--pe-sec-line); width: 75%; margin-top: 16px; }
.pe-st--left { align-items: flex-start; text-align: left; }
.pe-st--right { align-items: flex-end; text-align: right; }
.pe-st--right .pe-st__line { align-self: flex-end; }
.pe-st--center { align-items: center; text-align: center; margin-bottom: 30px; }
.pe-st--center .pe-st__title { font-size: 24px; font-weight: 600; text-shadow: none; color: var(--pe-text); }
.pe-st--center .pe-st__line { order: -1; width: 30px; height: 2px; margin: 0 0 16px; background: var(--pe-primary); }
@media (max-width: 700px) {
	.pe-st__title { font-size: min(var(--pe-sec-size), 11vw); }
	.pe-st { margin-bottom: 28px; }
	.pe-st__line { width: 100%; }
}

/* Publicidade */
.pe-ad { max-width: var(--pe-narrow); margin: 28px auto; }
.pe-ad.pe-wrap { max-width: var(--pe-container); }
.pe-ad__label { display: block; font-size: 9px; line-height: 1.6; color: var(--pe-muted); }
.pe-ad__box {
	display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: 100%;
	margin-inline: auto; overflow: hidden;
	background: repeating-linear-gradient(135deg, var(--pe-stripe-a) 0 2px, var(--pe-stripe-b) 2px 5px);
}
.pe-ad__box img, .pe-ad__box iframe, .pe-ad__box ins { max-width: 100%; height: auto; display: block; }
.pe-ad__box a { display: block; max-width: 100%; }
.pe-ad--stripes { margin-block: 0; max-width: none; }
.pe-ad--stripes .pe-ad__box { margin: 0; }
.pe-ad--stripes .pe-ad__label { display: none; }

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