/* Portal Editorial CGN — estilos base e componentes. Variáveis em light-mode.css / dark-mode.css / Personalizar. */

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.pec-lock,
html.pec-lock body { overflow: hidden; }

body {
	margin: 0;
	background: var(--background);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.5;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: var(--title-weight);
	letter-spacing: var(--ls);
	line-height: 1.2;
	text-transform: none;
}
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

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

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100000; background: #fff; color: #000; padding: 10px 14px; font-weight: 700; border-radius: 4px; }
.skip-link:focus { left: 8px; clip: auto; width: auto; height: auto; margin: 0; }
[hidden] { display: none !important; }

.pec-wrap { width: 100%; max-width: var(--container-width); margin-inline: auto; padding-inline: 20px; }
.pec-main { outline: none; min-height: 50vh; padding-bottom: 72px; }

/* Cor da editoria: --cat vem do elemento; no modo noturno clareia para manter contraste. */
:root { --lift: 0%; }
:root[data-theme="dark"] { --lift: 40%; }
@supports (color: color-mix(in srgb, red, white)) {
	[style*="--cat:"] { --cat-ink: color-mix(in srgb, var(--cat), #fff var(--lift)); }
}

/* ===== Cabeçalho ===== */
.pec-top { position: relative; z-index: 100; }
.pec-sticky .pec-top { position: sticky; top: 0; }
.admin-bar.pec-sticky .pec-top { top: 32px; }
.pec-header {
	position: relative;
	background: var(--header-bg);
	color: var(--header-text);
	border-bottom: var(--header-border-w, 0) solid var(--header-border);
}
.pec-header__in {
	position: relative;
	display: grid;
	grid-template-columns: auto auto 1fr auto;
	align-items: center;
	column-gap: 20px;
	min-height: var(--header-h);
}
.pec-header__left { display: flex; align-items: center; min-width: 0; }
.pec-header__brand { display: flex; align-items: center; min-width: 0; }
.pec-header__tools { display: flex; align-items: center; gap: 2px; justify-self: end; }

.pec-burger, .pec-iconbtn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px;
	padding: 0; border: 0; border-radius: 6px;
	background: transparent; color: inherit;
}
.pec-burger:hover, .pec-iconbtn:hover { background: rgba(255, 255, 255, .12); }
.pec-burger__bars { display: grid; gap: 5px; width: 26px; }
.pec-burger__bars i { display: block; height: 3px; background: currentColor; border-radius: 1px; }
.pec-burger__bars i:nth-child(1) { width: 26px; }
.pec-burger__bars i:nth-child(2) { width: 20px; }
.pec-burger__bars i:nth-child(3) { width: 26px; }

.pec-brand { display: inline-flex; align-items: center; color: var(--header-text); text-decoration: none; }
.pec-brand:hover { text-decoration: none; }
.pec-brand--mobile { display: none; }
.pec-logo { display: inline-block; max-width: 100%; line-height: 0; }
.pec-logo__img { width: 100%; height: auto; max-width: 100%; object-fit: contain; }
.pec-logo__img--dark { display: none; }
:root[data-theme="dark"] .pec-logo__img--light { display: none; }
:root[data-theme="dark"] .pec-logo__img--dark { display: block; }
.pec-logo--text { font-weight: 900; font-size: 22px; line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; color: inherit; }

.pec-nav { min-width: 0; }
.pec-menu, .pec-nav ul { list-style: none; margin: 0; padding: 0; }
.pec-nav > .menu, .pec-nav > ul { display: flex; flex-wrap: nowrap; align-items: stretch; gap: 0; }
.pec-nav li { position: relative; }
.pec-nav a {
	display: block; padding: 0 7px;
	line-height: var(--header-h);
	font-size: 13px; font-weight: 600; letter-spacing: 0;
	text-transform: uppercase; white-space: nowrap;
	color: var(--header-text); text-decoration: none;
}
.pec-nav a:hover { text-decoration: none; background: rgba(255, 255, 255, .1); }
.pec-nav .current-menu-item > a,
.pec-nav .current-menu-ancestor > a,
.pec-nav .current-cat > a,
.pec-nav .current-post-ancestor > a,
.pec-nav .current-category-ancestor > a { box-shadow: inset 0 -3px 0 currentColor; }
.pec-nav .sub-menu {
	display: none; position: absolute; top: 100%; left: 0; z-index: 20;
	min-width: 220px; padding: 6px 0;
	background: var(--header-bg); box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
}
.pec-nav li:hover > .sub-menu,
.pec-nav li:focus-within > .sub-menu { display: block; }
.pec-nav .sub-menu a { line-height: 1.3; padding: 10px 16px; white-space: normal; text-transform: none; font-weight: 500; font-size: 14px; }
.pec-nav .sub-menu .sub-menu { top: 0; left: 100%; }

.pec-mode__sun { display: none; }
:root[data-theme="dark"] .pec-mode__moon { display: none; }
:root[data-theme="dark"] .pec-mode__sun { display: inline-flex; }
.pec-mode__moon, .pec-mode__sun { align-items: center; justify-content: center; }
.pec-mode__moon { display: inline-flex; }

.pec-hsearch {
	position: absolute; inset: 0; z-index: 3;
	display: flex; align-items: center; gap: 4px;
	background: var(--header-bg);
}
.pec-hsearch__input {
	flex: 1; min-width: 0; height: 40px;
	padding: 0 14px; border: 0; border-radius: 6px;
	background: #fff; color: #181818; font-size: 16px;
	animation: pec-grow .22s ease-out;
	transform-origin: right center;
}
@keyframes pec-grow { from { opacity: 0; transform: scaleX(.4); } to { opacity: 1; transform: none; } }
.pec-hsearch__input::placeholder { color: #6b6b6b; }

/* Ticker */
.pec-ticker { background: var(--ticker-bg); color: var(--ticker-text); font-size: 14px; }
.pec-sticky.pec-hide-secondary .pec-top.is-scrolled .pec-ticker { display: none; }
.pec-ticker__in { display: flex; align-items: center; gap: 14px; height: 36px; }
.pec-ticker__label { flex: none; font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: .04em; }
.pec-ticker__viewport { position: relative; flex: 1; min-width: 0; overflow: hidden; }
.pec-ticker__viewport.is-static { overflow-x: auto; }
.pec-ticker__track { display: flex; width: max-content; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.pec-ticker__track.is-running { animation: pec-ticker var(--pec-ticker-dur, 40s) linear infinite; }
@keyframes pec-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.pec-ticker--hover-pause:hover .pec-ticker__track.is-running,
.pec-ticker.is-paused .pec-ticker__track.is-running,
.pec-ticker:focus-within .pec-ticker__track.is-running { animation-play-state: paused; }
.pec-ticker__item { padding-right: 44px; }
.pec-ticker__item a { color: inherit; }
.pec-ticker__cat { margin-right: 8px; font-size: 12px; text-transform: uppercase; opacity: .85; }
.pec-ticker__toggle { flex: none; display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .18); color: inherit; padding: 0; }
.pec-ticker__toggle[aria-pressed="true"] { background: rgba(255, 255, 255, .35); }

/* Gaveta */
.pec-overlay { position: fixed; inset: 0; z-index: 900; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .22s; }
.pec-overlay.is-open { opacity: 1; }
.pec-drawer {
	position: fixed; top: 0; bottom: 0; left: 0; z-index: 910;
	display: flex; flex-direction: column;
	width: min(88vw, 360px);
	background: var(--background); color: var(--text);
	transform: translateX(-100%); visibility: hidden;
	transition: transform .25s ease, visibility 0s linear .25s;
	box-shadow: 4px 0 24px rgba(0, 0, 0, .3);
	outline: none;
}
.admin-bar .pec-drawer, .admin-bar .pec-overlay { top: 32px; }
.pec-drawer.is-open { transform: none; visibility: visible; transition: transform .25s ease; }
.pec-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: var(--header-bg); color: var(--header-text); min-height: var(--header-h); }
.pec-drawer__head .pec-brand { color: var(--header-text); }
.pec-drawer__body { flex: 1; overflow-y: auto; padding: 16px 18px 28px; overscroll-behavior: contain; }
.pec-drawer__nav { margin-top: 18px; }
.pec-drawer__nav--secondary { padding-top: 14px; border-top: 1px solid var(--border); }
.pec-menu--drawer a { display: block; padding: 11px 0; font-weight: 700; font-size: 16px; text-transform: uppercase; border-bottom: 1px solid var(--border); text-decoration: none; }
.pec-menu--drawer li { position: relative; }
.pec-menu--drawer .sub-menu { display: none; padding-left: 14px; }
.pec-menu--drawer li.is-open > .sub-menu { display: block; }
.pec-menu--drawer .sub-menu a { text-transform: none; font-weight: 500; font-size: 15px; }
.pec-sub-toggle { position: absolute; right: 0; top: 4px; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: inherit; }
.pec-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Busca (formulário genérico) */
.pec-searchform { display: flex; align-items: stretch; max-width: 100%; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--background); overflow: hidden; }
.pec-searchform__input { flex: 1; min-width: 0; border: 0; padding: 12px 14px; background: transparent; font-size: 16px; }
.pec-searchform__input:focus { outline: none; }
.pec-searchform:focus-within { outline: 3px solid var(--focus); outline-offset: 1px; }
.pec-searchform__btn { flex: none; width: 48px; border: 0; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.pec-searchform__btn:hover { background: var(--primary-hover); }

/* Social */
.pec-social { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; margin: 0; padding: 0; }
.pec-social__link { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #333; color: #fff; text-decoration: none; }
.pec-social__link:hover { background: #4a4a4a; text-decoration: none; }
.pec-social--drawer { margin-top: 22px; }
.pec-social--drawer .pec-social__link { background: var(--surface-2); color: var(--text); }

/* Rodapé */
.pec-footer { background: var(--footer-bg); color: var(--footer-text); }
.pec-footer__main { padding: var(--footer-pad) 0; }
.pec-footer__in { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.pec-footer__logo { align-self: stretch; display: flex; justify-content: var(--logo-f-justify, center); }
.pec-footer .pec-brand { color: var(--footer-text); }
.pec-footer .pec-social { justify-content: center; }
.pec-footer__menus { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; }
.pec-footer__menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
.pec-footer__bottom { background: var(--footer-bottom-bg); padding: 22px 0 26px; text-align: center; font-size: 14px; }
.pec-footer__exp a { color: var(--footer-text); text-decoration: underline; }
.pec-footer__copy { margin-top: 10px; color: #9a9a9a; }

/* ===== Seções ===== */
.pec-sec { margin-top: 64px; }
.pec-home > .pec-home__main > :first-child { margin-top: 36px; }
.pec-sechead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); margin-bottom: 30px; }
.pec-sechead__title { font-family: var(--font-body); font-size: 14px; font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.pec-sechead__more { font-size: 14px; font-weight: 800; white-space: nowrap; }
.pec-hint { padding: 10px 14px; margin: 16px 0; background: #fff6d6; color: #5a4600; border: 1px dashed #c9a400; font-size: 13px; }
.pec-empty { padding: 40px 0; color: var(--muted); }

/* ===== Mídia e cards ===== */
.pec-media { position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--card-radius); background: var(--surface-2); }
.pec-media--hero { aspect-ratio: 584 / 402; }
.pec-media--square { aspect-ratio: 1 / 1; }
.pec-media--rank { aspect-ratio: 1 / 1; }
.pec-media--item { aspect-ratio: 4 / 3; border-radius: 18px; }
.pec-media__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pec-media__ph { position: absolute; inset: 0; background: var(--ph-bg) url("../images/sem-foto.svg") center / clamp(28px, 22%, 84px) auto no-repeat; }
.pec-card__media { display: block; text-decoration: none; position: relative; }
.pec-card__media:hover { text-decoration: none; }
.pec-card__body { padding-top: 12px; }
.pec-card__title { font-size: var(--card-title-size); line-height: 1.25; font-weight: var(--title-weight); }
.pec-card__title a { color: var(--cat-ink, var(--cat, var(--primary))); }
.pec-card__title--plain a { color: var(--text); }
.pec-card__title a:hover { text-decoration: underline; }
@supports (-webkit-line-clamp: 2) {
	.pec-card__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--title-clamp, 99); overflow: hidden; }
}
.pec-kicker { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 400; letter-spacing: .01em; text-transform: uppercase; color: var(--text); line-height: 1.3; }
.pec-meta { display: block; margin-bottom: 6px; font-size: 13px; text-transform: uppercase; color: var(--text); line-height: 1.3; }
.pec-card__excerpt { margin-top: 10px; font-size: 20px; line-height: 1.4; color: var(--text-soft); }
.pec-card__play { position: absolute; inset: auto 10px 10px auto; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(0, 0, 0, .65); color: #fff; }

.pec-grid { display: grid; gap: 30px; }
.pec-grid--c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pec-grid--c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pec-grid--c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pec-local .pec-grid { row-gap: 26px; }
.pec-mais .pec-grid { row-gap: 32px; }

.pec-links { list-style: none; margin: 0; padding: 0; }
.pec-links li { position: relative; padding: 9px 0 9px 26px; font-size: 17px; line-height: 1.4; }
.pec-links li::before { content: ""; position: absolute; left: 6px; top: 1.05em; width: 6px; height: 6px; border-top: 2px solid var(--cat-ink, var(--cat, var(--primary))); border-right: 2px solid var(--cat-ink, var(--cat, var(--primary))); transform: rotate(45deg); }
.pec-links a:hover { text-decoration: underline; }

/* Hero */
.pec-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.pec-hero--solo { grid-template-columns: minmax(0, 1fr); }
.pec-hero__side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.pec-card--hero .pec-card__body { padding-top: 14px; }
.pec-card--hero .pec-card__title { font-size: 36px; line-height: 1.13; }

/* Boletins */
.pec-bol__grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 34px; align-items: start; }
.pec-bol__title { font-family: var(--font-body); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 8px; }
.pec-bol__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pec-bcard {
	position: relative; display: grid; gap: 2px; text-align: left;
	padding: 10px 10px 8px 12px; min-height: 94px;
	border: 1px solid var(--border); border-radius: 12px;
	background: var(--background); color: var(--text);
}
.pec-bcard:hover { border-color: var(--bol, var(--primary)); }
.pec-bcard.is-active { border: 2px solid var(--bol, var(--primary)); padding: 9px 9px 7px 11px; }
.pec-bcard__mic { color: var(--bol, var(--primary)); line-height: 0; }
.pec-bcard__title { font-size: 12px; font-weight: 700; line-height: 1.2; }
.pec-bcard__when { font-size: 11px; color: var(--muted); }
.pec-bcard__play { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-top: 4px; }
.pec-bcard__play svg { width: 18px; height: 18px; padding: 4px; border-radius: 50%; background: var(--text); color: var(--background); }
.pec-bcard.is-playing .pec-bcard__play svg { background: var(--bol, var(--primary)); color: #fff; }

.pec-player { border: 1px solid var(--border); border-radius: 20px; padding: 24px 30px 20px; background: var(--background); }
.pec-player__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.pec-player__heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-width: 0; }
.pec-player__title { font-size: 28px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.pec-player__badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--bol, var(--primary)); color: #fff; font-size: 11px; font-weight: 700; white-space: nowrap; }
.pec-player__radio img { max-height: 48px; width: auto; }
.pec-player__desc { margin-top: 8px; color: var(--muted); font-size: 15px; }
.pec-player__main { display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.pec-player__cover { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 12px; overflow: hidden; color: #fff; background: linear-gradient(160deg, var(--bol, var(--primary)), var(--primary-hover)); }
.pec-player__cover img { width: 100%; height: 100%; object-fit: cover; }
.pec-player__play { flex: none; width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--bol, var(--primary)); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.pec-player__play:hover { filter: brightness(.9); }
.pec-player__i-pause { display: none; }
.pec-player.is-playing .pec-player__i-play { display: none; }
.pec-player.is-playing .pec-player__i-pause { display: inline-flex; }
.pec-player__track { flex: 1; min-width: 0; }
.pec-player__wave { display: flex; align-items: center; gap: 2px; height: 44px; }
.pec-player__wave i { flex: 1; min-width: 1px; max-width: 5px; border-radius: 2px; background: var(--wave); }
.pec-player__wave i.on { background: var(--bol, var(--primary)); }
.pec-player__seek { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 18px; margin: 4px 0 0; background: transparent; cursor: pointer; --p: 0%; }
.pec-player__seek::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--bol, var(--primary)) var(--p), var(--wave) var(--p)); }
.pec-player__seek::-moz-range-track { height: 3px; border-radius: 2px; background: var(--wave); }
.pec-player__seek::-moz-range-progress { height: 3px; background: var(--bol, var(--primary)); }
.pec-player__seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5.5px; border-radius: 50%; border: 2px solid var(--bol, var(--primary)); background: var(--background); }
.pec-player__seek::-moz-range-thumb { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--bol, var(--primary)); background: var(--background); }
.pec-player__seek:disabled { cursor: default; opacity: .7; }
.pec-player__times { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pec-player__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; margin-top: 8px; position: relative; }
.pec-player__skip, .pec-player__mute { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent; color: var(--text); }
.pec-player__skip:hover, .pec-player__mute:hover { background: var(--surface-2); }
.pec-player__speed { min-width: 68px; height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--surface-2); font-weight: 700; font-size: 15px; color: var(--text); }
.pec-player__vol { display: inline-flex; align-items: center; gap: 4px; }
.pec-player__volume { width: 84px; accent-color: var(--bol, var(--primary)); }
.pec-player__follow { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 11px; font-weight: 800; margin-left: auto; }
.pec-player__follow a { display: inline-flex; align-items: center; gap: 6px; }
.pec-player__follow svg { color: #1db954; }

/* Bloco de editoria */
.pec-eb__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; margin-bottom: 36px; }
.pec-eb__top.has-ad { grid-template-columns: minmax(0, 1fr) 300px; }
.pec-eb__h { font-size: 36px; line-height: 1.17; font-weight: var(--title-weight); }
.pec-eb__h a { color: var(--cat-ink, var(--cat, var(--primary))); }
.pec-eb__label { margin: 18px 0 4px; font-size: 14px; font-weight: 800; }
.pec-eb__ad .pec-ad { margin: 0; }
.pec-eb__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr); gap: 30px; align-items: start; }
.pec-eb--espelhado .pec-eb__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
.pec-eb--espelhado .pec-eb__feature { order: 1; }
.pec-eb--espelhado .pec-eb__list { order: 2; }
.pec-eb--espelhado .pec-eb__cards { order: 3; }
.pec-eb__cards { display: grid; gap: 30px; }
.pec-eb__list .pec-eb__label { margin-top: 0; }
.pec-eb__list .pec-card--horizontal { padding: 14px 0; border-bottom: 1px solid var(--border); }
.pec-eb__list .pec-card--horizontal:first-of-type { padding-top: 10px; }
.pec-card--horizontal { display: flex; align-items: center; gap: 14px; }
.pec-card--horizontal .pec-card__media { flex: none; width: 70px; }
.pec-card--horizontal .pec-card__title { font-size: 15px; font-weight: 400; line-height: 1.4; }
.pec-card--horizontal .pec-card__title a { color: var(--text); }
.pec-eb__feature .pec-card--hero .pec-card__title { font-size: 30px; line-height: 1.18; }
.pec-eb__feature .pec-card__excerpt { font-size: 18px; }
.pec-related { margin-top: 14px; }
.pec-related__label { font-size: 14px; font-weight: 800; margin-bottom: 2px; }

/* Três colunas textuais */
.pec-tri { display: grid; gap: 0; border-top: 0; }
.pec-tri--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pec-tri--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pec-tri--n1 { grid-template-columns: minmax(0, 1fr); }
.pec-tri__col { padding: 0 24px; border-left: 1px solid var(--border); }
.pec-tri__col:first-child { padding-left: 0; border-left: 0; }
.pec-tri__title { font-size: 26px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.pec-tri__title a, .pec-tri__head a { color: var(--cat-ink, var(--cat, var(--primary))); }
.pec-tri__head { margin-top: 14px; font-size: 22px; line-height: 1.3; font-weight: 600; min-height: 3.9em; }
.pec-tri .pec-links li { font-size: 16px; padding-block: 8px; }
.pec-tri .pec-links a { color: var(--cat-ink, var(--cat, var(--primary))); }
.pec-sec.pec-tri { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); }

/* ===== Anúncios ===== */
.pec-ad { position: relative; margin: 34px auto; max-width: 100%; text-align: center; }
.pec-ad__label { display: block; margin-bottom: 4px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: left; }
.pec-ad__body { display: flex; justify-content: center; max-width: 100%; overflow: hidden; }
.pec-ad__img, .pec-ad img { max-width: 100%; height: auto; }
.pec-ad__link { display: inline-block; max-width: 100%; }
.pec-ad--wide { padding: 20px; background: repeating-linear-gradient(135deg, var(--stripe-a), var(--stripe-a) 2px, var(--stripe-b) 2px, var(--stripe-b) 4px); }
.pec-ad--wide .pec-ad__label { text-align: center; }
.pec-ad--inlist { width: calc(100vw - 32px); max-width: 970px; margin: 40px 0 40px 50%; transform: translateX(-50%); }
.pec-topad .pec-ad { margin-top: 20px; margin-bottom: 0; }

/* ===== Editoria ===== */
.pec-cat__layout { display: grid; grid-template-columns: minmax(0, 1fr); }
.pec-cat__col { width: 100%; max-width: var(--cat-col, 840px); margin: 0 auto; padding-top: 44px; }
.pec-cat__title { font-size: 44px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; color: var(--cat-ink, var(--cat, var(--primary))); }
.pec-cat__desc { margin-top: 12px; color: var(--muted); }
.pec-catsearch, .pec-cat__col > .pec-searchform { display: flex; width: 100%; max-width: 588px; margin: 38px auto 34px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--background); overflow: hidden; }
.pec-catsearch:focus-within { outline: 3px solid var(--focus); outline-offset: 1px; }
.pec-catsearch__input { flex: 1; min-width: 0; height: 64px; padding: 0 22px; border: 0; background: transparent; font-size: 18px; }
.pec-catsearch__input:focus { outline: none; }
.pec-catsearch__btn { flex: none; width: 60px; border: 0; background: transparent; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; }
.pec-catsearch__btn:hover { color: var(--cat-ink, var(--cat, var(--primary))); }
.pec-catsearch__info { margin: -14px 0 24px; text-align: center; color: var(--muted); font-size: 15px; }
.pec-catsearch__info a { margin-left: 8px; text-decoration: underline; color: var(--cat-ink, var(--cat)); font-weight: 700; }
.pec-dayhead { margin: 30px 0 22px; padding-right: 24px; text-align: right; font-size: 20px; font-weight: 800; letter-spacing: 0; color: var(--cat-ink, var(--cat, var(--primary))); }
.pec-item { display: flex; align-items: flex-start; gap: 38px; padding: 0 0 48px; margin-bottom: 48px; border-bottom: 1px solid var(--border-strong); }
.pec-item__media { flex: none; width: 200px; }
.pec-item__body { flex: 1; min-width: 0; }
.pec-item .pec-meta { font-size: 13px; text-transform: none; margin-bottom: 8px; }
.pec-item__title { font-size: 30px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; }
.pec-item__title a { color: var(--cat-ink, var(--cat, var(--primary))); }
.pec-item__title a:hover { text-decoration: underline; }
.pec-item__excerpt { margin-top: 16px; font-size: 18px; line-height: 1.4; color: var(--text-soft); max-width: 36em; }
.pec-item .pec-related { margin-top: 18px; }
.pec-item .pec-links li { font-size: 16px; padding-block: 7px; }
.pec-item .pec-links a { color: var(--text); }
.pec-more { margin: 10px 0 0; text-align: center; }
.pec-more__status { min-height: 1.5em; margin-top: 10px; color: var(--muted); font-size: 14px; }
.pec-more__prev { margin-top: 20px; text-align: center; }
.pec-btn, .wpcf7-submit {
	display: inline-block; padding: 14px 34px; border: 0; border-radius: 10px;
	background: var(--cat-ink, var(--cat, var(--primary))); color: #fff;
	font-weight: 800; font-size: 17px; letter-spacing: .01em; text-transform: uppercase; text-decoration: none; text-align: center;
	box-shadow: 2px 2px 3px rgba(0, 0, 0, .35);
}
.pec-btn:hover, .wpcf7-submit:hover { filter: brightness(.92); text-decoration: none; }
.pec-btn.is-loading { opacity: .7; cursor: progress; }
.pagination, .navigation.pagination { margin: 40px 0 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.nav-links .page-numbers { padding: 8px 14px; border: 1px solid var(--border-strong); border-radius: 8px; font-weight: 700; }
.nav-links .current { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ===== Notícia ===== */
.pec-article { width: 100%; max-width: var(--article-width); margin-inline: auto; }
.pec-single-wrap { padding-top: 36px; }
.pec-single__title { font-size: var(--h1-size); line-height: 1.14; font-weight: 800; letter-spacing: -.015em; color: var(--cat-ink, var(--cat, var(--primary))); overflow-wrap: break-word; }
.pec-single__pub { margin-top: 22px; font-size: 14px; }
.pec-lead { margin-top: 24px; font-size: 20px; line-height: 1.5; color: var(--text); }
.pec-single__figure { margin: 28px 0 0; }
.pec-single__figure img { width: 100%; border-radius: 12px; }
.pec-single__figure figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.pec-video { position: relative; left: 50%; width: min(1000px, calc(100vw - 32px)); max-width: none; margin: 28px 0 0; transform: translateX(-50%); }
.pec-video__el { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 15px; background: #0f0f0f; }
.pec-video__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 15px; background: #0f0f0f; }
.pec-video__frame iframe, .pec-video__frame video, .pec-video__frame embed, .pec-video__frame object { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pec-article > .pec-ad { margin-block: 26px; }
.pec-article > .pec-ad .pec-ad__label { text-align: center; }
.pec-byline { display: flex; align-items: center; gap: 12px; margin: 34px 0 18px; font-size: 14px; line-height: 1.4; }
.pec-byline__avatar img { width: 40px; height: 40px; border-radius: 50%; }
.pec-byline__upd { font-size: 13.5px; color: var(--text); }

.pec-content { font-size: var(--body-size); line-height: var(--body-lh); overflow-wrap: break-word; word-wrap: break-word; }
.pec-content > * { max-width: 100%; }
.pec-content p { margin: 0 0 20px; }
.pec-justify .pec-content > p,
.pec-justify .pec-content > .wp-block-group p,
.pec-justify .pec-content li > p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.pec-content a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.pec-content h2 { margin: 38px 0 14px; font-size: 1.55em; line-height: 1.2; }
.pec-content h3 { margin: 32px 0 12px; font-size: 1.3em; line-height: 1.25; }
.pec-content h4 { margin: 28px 0 10px; font-size: 1.12em; }
.pec-content h5, .pec-content h6 { margin: 24px 0 8px; font-size: 1em; }
.pec-content ul, .pec-content ol { margin: 0 0 22px; padding-left: 1.4em; }
.pec-content li { margin-bottom: 6px; }
.pec-content blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--cat-ink, var(--cat, var(--primary))); font-size: 1.08em; font-style: italic; }
.pec-content blockquote p:last-child { margin-bottom: 0; }
.pec-content figure, .pec-content .wp-block-image { margin: 28px 0; }
.pec-content img { height: auto; border-radius: 12px; }
.pec-content figcaption, .pec-content .wp-caption-text { margin-top: 8px; font-size: 13.5px; line-height: 1.4; color: var(--muted); text-align: left; }
.pec-content .alignleft { float: left; margin: 4px 22px 14px 0; max-width: 50%; }
.pec-content .alignright { float: right; margin: 4px 0 14px 22px; max-width: 50%; }
.pec-content .aligncenter { display: block; margin-inline: auto; }
.pec-content iframe, .pec-content video, .pec-content embed { max-width: 100%; border: 0; }
.pec-content .wp-block-embed__wrapper, .pec-content .is-type-video .wp-block-embed__wrapper { position: relative; }
.pec-content .wp-has-aspect-ratio .wp-block-embed__wrapper::before { content: ""; display: block; padding-top: 56.25%; }
.pec-content .wp-has-aspect-ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.pec-content video { width: 100%; height: auto; border-radius: 12px; background: #000; }
.pec-content table { display: block; width: 100%; max-width: 100%; overflow-x: auto; margin: 0 0 24px; border-collapse: collapse; font-size: .92em; line-height: 1.4; }
.pec-content th, .pec-content td { padding: 9px 12px; border: 1px solid var(--border-strong); text-align: left; }
.pec-content th { background: var(--surface); }
.pec-content pre { margin: 0 0 24px; padding: 16px; max-width: 100%; overflow-x: auto; background: var(--surface-2); border-radius: 8px; font-size: 14px; line-height: 1.5; white-space: pre; }
.pec-content code { font-size: .9em; padding: .1em .35em; border-radius: 4px; background: var(--surface-2); }
.pec-content pre code { padding: 0; background: transparent; }
.pec-content hr { margin: 34px 0; border: 0; border-top: 1px solid var(--border-strong); }
.pec-content .wp-block-button__link { border-radius: 8px; }
.pec-content::after { content: ""; display: block; clear: both; }
.pec-tags { margin-top: 20px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 14px; }
.pec-tags a { color: var(--muted); }

/* Autor responsável (cartão) */
.pec-content .pec-resp { clear: both; margin: 40px 0 8px; overflow: hidden; border: 1px solid var(--border-strong); border-radius: var(--card-radius); background: var(--background); text-align: left; }
.pec-content .pec-resp::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--c-cascavel) 0 25%, var(--c-brasil) 25% 50%, var(--c-esportes) 50% 75%, var(--c-parana) 75% 100%); }
.pec-content .pec-resp__body { padding: 20px; }
.pec-content .pec-resp p { margin: 0; }
.pec-content .pec-resp__label { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pec-content .pec-resp__id { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.pec-content .pec-resp__avatar { flex: none; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--header-bg); color: #fff; font-size: 20px; font-weight: 600; line-height: 1; }
.pec-content .pec-resp__who { display: flex; flex-direction: column; min-width: 0; }
.pec-content .pec-resp__name { font-size: 20px; line-height: 26px; font-weight: 700; color: var(--text); overflow-wrap: anywhere; }
.pec-content .pec-resp__role { margin-top: 2px; font-size: 14px; line-height: 20px; color: var(--muted); }
.pec-content .pec-resp__list { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 0; padding: 20px 0 0; list-style: none; border-top: 1px solid var(--border); }
.pec-content .pec-resp__item { margin: 0; }
.pec-content .pec-resp__link { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 14px 8px 8px; border: 1px solid var(--border-strong); border-radius: var(--card-radius); color: var(--text); font-size: 15px; line-height: 20px; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.pec-content .pec-resp__link:hover { border-color: var(--primary); text-decoration: none; }
.pec-content .pec-resp__link:hover .pec-resp__text { text-decoration: underline; text-underline-offset: 3px; }
.pec-content .pec-resp__icon { flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); color: var(--primary); }
.pec-content .pec-resp__text { min-width: 0; }

/* Compartilhar */
.pec-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 30px 0 0; }
.pec-share--top { margin: 22px 0 0; }
.pec-share__label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.pec-share__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pec-share__btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--text); text-decoration: none; }
.pec-share__btn:hover { background: var(--header-bg); color: #fff; text-decoration: none; }
.pec-share__btn--whatsapp:hover { background: #25d366; }
.pec-share__btn--facebook:hover { background: #1877f2; }
.pec-share__btn--linkedin:hover { background: #0a66c2; }
.pec-share__btn--telegram:hover { background: #229ed9; }
.pec-share__status { min-height: 1.3em; font-size: 13px; font-weight: 700; color: var(--text); opacity: 0; transition: opacity .2s; }
.pec-share__status.is-on { opacity: 1; }

/* Módulos finais da notícia */
.pec-after { padding-top: 8px; }
.pec-vt { margin-top: 56px; }
.pec-vt .pec-tri__title { font-size: 28px; }
.pec-strip { margin-top: 44px; }
.pec-strip .pec-sechead { margin-bottom: 18px; }
.pec-strip__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pec-card--ranking { display: flex; align-items: flex-start; gap: 12px; }
.pec-card--ranking .pec-card__media { flex: none; width: 128px; }
.pec-card--ranking .pec-media { border-radius: 14px; }
.pec-card--ranking .pec-card__title { font-size: 15px; font-weight: 400; line-height: 1.35; }
.pec-rec { margin-top: 44px; }
.pec-rec .pec-grid { gap: 26px 30px; }
.pec-rec--compact { margin-top: 44px; }
.pec-article .pec-rec .pec-card--horizontal { align-items: flex-start; }
.pec-article .pec-rec .pec-card--horizontal .pec-card__media { width: 110px; }
.pec-article .pec-rec .pec-card--horizontal .pec-card__title { font-size: 17px; line-height: 1.3; }
.pec-card--resumo .pec-card__title { font-size: 20px; font-weight: 400; line-height: 1.3; }
.pec-card--resumo .pec-card__excerpt { margin-top: 6px; font-size: 16px; }
.pec-card--resumo .pec-kicker { margin: 6px 0 0; color: var(--muted); font-size: 12px; text-transform: none; }
.pec-sp { margin-top: 44px; }
.pec-sp__tag { margin: -14px 0 18px; font-size: 12px; color: var(--muted); text-align: right; }
.pec-card--sponsored .pec-card__title { font-size: 17px; font-weight: 400; }
.pec-card--sponsored .pec-card__excerpt { font-size: 15px; margin-top: 6px; }
.pec-card__sp { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 12px; }
.pec-card__adv { color: var(--sponsor); }
.pec-card__cta { padding: 4px 16px; border: 2px solid var(--text); border-radius: 999px; font-weight: 700; text-decoration: none; color: var(--text); font-size: 13px; }
.pec-card__cta:hover { background: var(--text); color: var(--background); text-decoration: none; }

/* Com sidebar */
.pec-with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) var(--sidebar-w-cat, 300px); gap: 40px; align-items: start; }
.pec-single-wrap.pec-with-sidebar { grid-template-columns: minmax(0, var(--article-width)) var(--sidebar-w-single, 300px); justify-content: center; }
.pec-single-wrap.pec-with-sidebar .pec-article { margin: 0; }
.pec-sidebar { min-width: 0; }
.pec-widget { margin-bottom: 30px; }
.pec-widget__title { font-size: 14px; font-weight: 800; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); }

/* Fatos (vaga / achado) */
.pec-facts { display: grid; gap: 8px; margin: 22px 0; padding: 16px 18px; border: 1px solid var(--border-strong); border-radius: 8px; }
.pec-facts div { display: flex; gap: 12px; }
.pec-facts dt { min-width: 110px; font-weight: 800; }
.pec-facts dd { margin: 0; }

/* Comentários */
.pec-comments { margin-top: 48px; }
.pec-comments__title { font-size: 20px; margin-bottom: 18px; }
.pec-comments__list { list-style: none; padding: 0; }
.pec-comments__list .comment-body { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.pec-comments .children { list-style: none; padding-left: 22px; }
.pec-comments .comment-form input[type="text"], .pec-comments .comment-form input[type="email"], .pec-comments .comment-form textarea { width: 100%; }

/* 404 */
.pec-notfound { padding-top: 56px; }
.pec-notfound__code { font-size: 96px; font-weight: 900; line-height: 1; color: var(--primary); }
.pec-notfound .pec-searchform { margin: 26px 0; }

/* Contact Form 7 */
.wpcf7 form p { margin: 0 0 18px; }
.wpcf7 label { display: block; font-weight: 700; font-size: 15px; }
.wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"], .wpcf7 input[type="number"], .wpcf7 input[type="date"], .wpcf7 select, .wpcf7 textarea {
	display: block; width: 100%; max-width: 100%; padding: 12px 14px;
	border: 1px solid var(--border-strong); border-radius: 10px;
	background: var(--background); color: var(--text); font-size: 16px; line-height: 1.4;
}
.wpcf7 textarea { min-height: 160px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; }
.wpcf7 .wpcf7-list-item { display: block; margin: 6px 0 0; }
.wpcf7 input[type="checkbox"], .wpcf7 input[type="radio"] { width: 18px; height: 18px; margin-right: 8px; accent-color: var(--primary); vertical-align: -3px; }
.wpcf7-submit { cursor: pointer; background: var(--primary); }
.wpcf7-not-valid-tip { margin-top: 6px; font-size: 14px; color: #c0392b; }
.wpcf7 form .wpcf7-response-output { margin: 20px 0 0; padding: 12px 16px; border: 2px solid var(--border-strong); border-radius: 8px; font-size: 15px; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: #c0392b; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #1e8a3b; }

/* Gutenberg */
.alignwide { max-width: var(--container-width); }
.has-text-align-center { text-align: center; }
.wp-block-quote { border-left: 4px solid var(--primary); }
.wp-block-separator { opacity: .5; }

/* Palavras longas sem espaço (URLs, códigos) nunca estouram a coluna nem geram rolagem horizontal. */
.pec-card__title, .pec-card__excerpt, .pec-item__title, .pec-item__excerpt, .pec-item__body, .pec-card__body, .pec-hero__title, .pec-lead, .pec-article__title { overflow-wrap: anywhere; }
