/*
 * Shared Pedro Editorial visual system. Brand identity enters only through
 * the --pedro-* properties generated from BrandConfig in inc/enqueue.php.
 */

:root {
	--pedro-primary: #172033;
	--pedro-secondary: #0d1526;
	--pedro-accent: #b4232b;
	--pedro-text: #171a21;
	--pedro-background: #f7f8fa;
	--pedro-surface: #ffffff;
	--pedro-border: #dfe3e8;
	--pedro-muted: #69717f;
	--pedro-on-primary: #ffffff;
	--pedro-font-heading: Georgia, 'Times New Roman', serif;
	--pedro-font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--pedro-shadow-sm: 0 1px 2px rgb( 10 20 35 / 6% ), 0 8px 24px rgb( 10 20 35 / 5% );
	--pedro-shadow-lg: 0 18px 55px rgb( 10 20 35 / 16% );
	--pedro-radius-sm: 0.5rem;
	--pedro-radius-md: 0.8rem;
	--pedro-radius-lg: 1rem;
	--pedro-shell: 1440px;
	--pedro-gutter: clamp( 1rem, 3vw, 2.5rem );
	--pedro-space-1: 0.5rem;
	--pedro-space-2: 1rem;
	--pedro-space-3: 1.5rem;
	--pedro-space-4: 2rem;
	--pedro-space-5: 3rem;
	color-scheme: light;
}

:root[data-theme='dark'] {
	--pedro-text: #f4f6f9;
	--pedro-background: #0b1019;
	--pedro-surface: #111925;
	--pedro-border: #2b3747;
	--pedro-muted: #a9b4c3;
	/*
	 * Brand primary/accent are chosen for contrast against a light
	 * background; against the near-black dark-mode surface above they fall
	 * well under WCAG AA (confirmed via axe-core: logo ~1.6:1, accent CTAs
	 * ~2.7:1, both need ≥3:1/4.5:1). Lightening toward white keeps each
	 * brand's actual hue while restoring legible contrast, without ever
	 * hardcoding a brand-specific value here.
	 */
	--pedro-primary: color-mix( in srgb, var( --pedro-primary ) 55%, white );
	--pedro-accent: color-mix( in srgb, var( --pedro-accent ) 65%, white );
	--pedro-shadow-sm: 0 1px 2px rgb( 0 0 0 / 25% ), 0 8px 24px rgb( 0 0 0 / 18% );
	--pedro-shadow-lg: 0 18px 55px rgb( 0 0 0 / 38% );
	color-scheme: dark;
}

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

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	margin: 0;
	min-width: 320px;
	color: var( --pedro-text );
	background: var( --pedro-background );
	font-family: var( --pedro-font-body );
	font-size: 1rem;
	line-height: 1.58;
	-webkit-font-smoothing: antialiased;
}

body,
.pedro-main-header,
.pedro-ticker-wrap,
.pedro-secondary-card,
.pedro-most-read,
.pedro-widget {
	transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	font-family: var( --pedro-font-heading );
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.025em;
}

p {
	margin: 0;
}

a {
	color: inherit;
}

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

button,
input {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

.pedro-shell,
.pedro-listing,
.pedro-single,
.pedro-404 {
	width: min( 100%, var( --pedro-shell ) );
	margin-inline: auto;
	padding-inline: var( --pedro-gutter );
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect( 0, 0, 0, 0 );
	white-space: nowrap;
	border: 0;
}

.pedro-skip-link:focus {
	position: fixed;
	top: 1rem;
	left: 1rem;
	z-index: 1000;
	width: auto;
	height: auto;
	clip: auto;
	margin: 0;
	padding: 0.7rem 1rem;
	background: var( --pedro-surface );
	color: var( --pedro-text );
	border-radius: var( --pedro-radius-sm );
}

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

.pedro-icon {
	width: 1.25rem;
	height: 1.25rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.pedro-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.68rem 1.25rem;
	border: 1px solid transparent;
	border-radius: var( --pedro-radius-sm );
	background: var( --pedro-accent );
	color: var( --pedro-on-primary );
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
}

.pedro-button:hover {
	filter: brightness( 1.08 );
}

.pedro-button--secondary {
	border-color: currentColor;
	background: transparent;
	color: inherit;
}

.pedro-icon-button {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var( --pedro-text );
	cursor: pointer;
}

.pedro-icon-button:hover {
	background: color-mix( in srgb, var( --pedro-text ) 7%, transparent );
}

/* Header */

.pedro-site-header {
	position: relative;
	z-index: 20;
}

.pedro-topbar {
	background: var( --pedro-secondary );
	color: var( --pedro-on-primary );
	font-size: 0.78rem;
}

.pedro-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 40px;
	gap: 1.5rem;
}

.pedro-topbar__links,
.pedro-social {
	display: flex;
	align-items: center;
	gap: clamp( 0.75rem, 2vw, 1.5rem );
}

.pedro-topbar a,
.pedro-footer a {
	text-decoration: none;
}

.pedro-topbar a:hover,
.pedro-footer a:hover {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.pedro-social a {
	display: inline-grid;
	place-items: center;
	min-width: 32px;
	min-height: 32px;
}

.pedro-prefooter .pedro-social a,
.pedro-footer__social a {
	min-width: 44px;
	min-height: 44px;
	border: 1px solid color-mix( in srgb, var( --pedro-on-primary ) 30%, transparent );
	border-radius: 50%;
	transition: background-color 160ms ease, border-color 160ms ease;
}

.pedro-prefooter .pedro-social a:hover,
.pedro-footer__social a:hover {
	background: color-mix( in srgb, var( --pedro-accent ) 85%, transparent );
	border-color: var( --pedro-accent );
}

.pedro-prefooter .pedro-icon,
.pedro-footer__social .pedro-icon {
	width: 1.15rem;
	height: 1.15rem;
}

.pedro-main-header {
	background: var( --pedro-surface );
	border-bottom: 1px solid var( --pedro-border );
}

.pedro-main-header__inner {
	display: grid;
	grid-template-columns: minmax( 180px, 0.85fr ) minmax( 0, 2fr ) auto;
	align-items: center;
	gap: clamp( 1rem, 2.5vw, 2.5rem );
	min-height: 108px;
}

.pedro-brand-link,
.pedro-main-header__brand {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
}

.pedro-brand-link {
	color: var( --pedro-primary );
	text-decoration: none;
}

.pedro-logo,
.pedro-footer-logo,
.custom-logo {
	width: auto;
	max-width: min( 260px, 100% );
	max-height: 56px;
	font-family: var( --pedro-font-heading );
	font-size: clamp( 1.55rem, 2.5vw, 2.35rem );
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.04em;
}

.pedro-brand-description {
	margin-top: 0.42rem;
	color: var( --pedro-text );
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.055em;
	line-height: 1.25;
	text-transform: uppercase;
}

.pedro-header__menu-list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp( 0.8rem, 1.65vw, 1.8rem );
	margin: 0;
	padding: 0;
	list-style: none;
}

.pedro-header__menu-list li {
	position: relative;
}

.pedro-header__menu-list a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 0.82rem;
	font-weight: 850;
	letter-spacing: 0.02em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.pedro-header__menu-list a::after {
	position: absolute;
	bottom: -0.35rem;
	left: 0;
	width: 0;
	height: 2px;
	background: var( --pedro-accent );
	content: '';
	transition: width 160ms ease;
}

.pedro-header__menu-list a:hover::after,
.pedro-header__menu-list .current-menu-item > a::after {
	width: 100%;
}

.pedro-header__actions {
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.pedro-header__contact {
	margin-inline: 0.45rem;
}

.pedro-header__menu-toggle {
	display: none;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var( --pedro-border );
	border-radius: var( --pedro-radius-sm );
	background: var( --pedro-surface );
	color: var( --pedro-text );
	cursor: pointer;
}

.pedro-menu-icon {
	display: inline-grid;
}

.pedro-menu-icon--close,
.pedro-header__menu-toggle[aria-expanded='true'] .pedro-menu-icon--open {
	display: none;
}

.pedro-header__menu-toggle[aria-expanded='true'] .pedro-menu-icon--close {
	display: inline-grid;
}

.pedro-header-search {
	border-top: 1px solid var( --pedro-border );
	background: var( --pedro-surface );
}

.pedro-header-search__form {
	display: grid;
	gap: 0.5rem;
	padding-block: 1rem;
}

.pedro-header-search__form > label {
	font-size: 0.8rem;
	font-weight: 800;
}

.pedro-header-search__controls {
	display: flex;
	gap: 0.6rem;
}

.pedro-header-search input,
.pedro-newsletter input,
.pedro-404 input {
	width: 100%;
	min-height: 46px;
	padding: 0.7rem 0.9rem;
	border: 1px solid var( --pedro-border );
	border-radius: var( --pedro-radius-sm );
	background: var( --pedro-surface );
	color: var( --pedro-text );
}

.pedro-ticker-wrap {
	padding-block: 1rem;
	background: var( --pedro-background );
}

.pedro-ticker {
	display: flex;
	align-items: stretch;
	min-width: 0;
}

.pedro-ticker__label {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	padding: 0.65rem 1rem;
	border-radius: var( --pedro-radius-sm ) 0 0 var( --pedro-radius-sm );
	background: var( --pedro-accent );
	color: var( --pedro-on-primary );
	font-size: 0.74rem;
	font-weight: 900;
	letter-spacing: 0.035em;
	text-transform: uppercase;
}

.pedro-ticker__story {
	display: flex;
	align-items: center;
	min-width: 0;
	gap: 0.5rem;
	padding: 0.65rem 1rem;
	border-radius: 0 var( --pedro-radius-sm ) var( --pedro-radius-sm ) 0;
	background: color-mix( in srgb, var( --pedro-text ) 4%, var( --pedro-surface ) );
	font-size: 0.85rem;
	text-decoration: none;
	overflow: hidden;
}

.pedro-ticker__story strong {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pedro-ticker__story span:last-child {
	flex: 0 0 auto;
	color: var( --pedro-muted );
}

/* Home */

.pedro-home {
	display: block;
	padding-top: 0.45rem;
	padding-bottom: var( --pedro-space-5 );
}

.pedro-editorial-lead {
	display: grid;
	grid-template-columns: minmax( 0, 1.65fr ) minmax( 270px, 0.82fr ) minmax( 250px, 0.72fr );
	align-items: stretch;
	gap: clamp( 0.8rem, 1.5vw, 1.25rem );
}

.pedro-editorial-lead--no-secondary {
	grid-template-columns: minmax( 0, 2fr ) minmax( 260px, 0.72fr );
}

.pedro-lead-card,
.pedro-lead-card__link {
	position: relative;
	min-height: clamp( 510px, 45vw, 660px );
	overflow: hidden;
	border-radius: var( --pedro-radius-md );
}

.pedro-lead-card {
	background: var( --pedro-secondary );
	box-shadow: var( --pedro-shadow-sm );
}

.pedro-lead-card__link {
	display: block;
	color: var( --pedro-on-primary );
	text-decoration: none;
}

.pedro-lead-card__media,
.pedro-lead-card__media img,
.pedro-lead-card__media .pedro-media-placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.pedro-lead-card__media img {
	object-fit: cover;
	transition: transform 500ms ease;
}

.pedro-lead-card__link:hover .pedro-lead-card__media img {
	transform: scale( 1.025 );
}

.pedro-media-placeholder {
	display: block;
	background:
		linear-gradient( 135deg, color-mix( in srgb, var( --pedro-primary ) 88%, black ), var( --pedro-secondary ) ),
		repeating-linear-gradient( 45deg, transparent, transparent 12px, rgb( 255 255 255 / 4% ) 12px, rgb( 255 255 255 / 4% ) 24px );
}

.pedro-lead-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient( 180deg, rgb( 0 0 0 / 10% ) 18%, rgb( 0 0 0 / 84% ) 100% );
}

.pedro-lead-card__body {
	position: absolute;
	right: clamp( 1.25rem, 3vw, 3rem );
	bottom: clamp( 1.4rem, 3vw, 3rem );
	left: clamp( 1.25rem, 3vw, 3rem );
	z-index: 2;
	max-width: 850px;
}

.pedro-eyebrow {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	margin-bottom: 0.8rem;
	padding: 0.28rem 0.55rem;
	border-radius: 0.25rem;
	background: var( --pedro-primary );
	color: var( --pedro-on-primary );
	font-size: 0.67rem;
	font-weight: 900;
	letter-spacing: 0.045em;
	line-height: 1.2;
	text-transform: uppercase;
}

.pedro-lead-card .pedro-eyebrow,
.pedro-overlay-card .pedro-eyebrow {
	background: var( --pedro-accent );
}

.pedro-lead-card__title {
	font-size: clamp( 2rem, 3.8vw, 3.65rem );
	overflow-wrap: anywhere;
}

.pedro-lead-card__excerpt {
	max-width: 65ch;
	margin-top: 1rem;
	font-size: clamp( 1rem, 1.35vw, 1.2rem );
	line-height: 1.5;
}

.pedro-lead-card__meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.pedro-lead-card__meta span:last-child {
	display: grid;
}

.pedro-lead-card__meta small {
	font-size: 0.78rem;
	opacity: 0.82;
}

.pedro-author-avatar {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 2px solid rgb( 255 255 255 / 75% );
	border-radius: 50%;
	object-fit: cover;
}

.pedro-author-avatar--fallback {
	background: var( --pedro-surface );
	color: var( --pedro-primary );
	font-weight: 900;
}

.pedro-editorial-lead__secondary {
	display: grid;
	grid-template-rows: repeat( 3, minmax( 0, 1fr ) );
	gap: clamp( 0.75rem, 1.25vw, 1rem );
}

.pedro-secondary-card {
	min-height: 0;
	overflow: hidden;
	border: 1px solid var( --pedro-border );
	border-radius: var( --pedro-radius-md );
	background: var( --pedro-surface );
	box-shadow: var( --pedro-shadow-sm );
}

.pedro-secondary-card__link {
	display: grid;
	grid-template-columns: minmax( 0, 1.05fr ) minmax( 100px, 0.8fr );
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.pedro-secondary-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-width: 0;
	padding: clamp( 0.8rem, 1.5vw, 1.2rem );
}

.pedro-secondary-card h2 {
	font-size: clamp( 0.95rem, 1.25vw, 1.12rem );
	overflow-wrap: anywhere;
}

.pedro-secondary-card time,
.pedro-most-read time,
.pedro-overlay-card time {
	margin-top: 0.6rem;
	color: var( --pedro-muted );
	font-size: 0.75rem;
}

.pedro-secondary-card__media,
.pedro-secondary-card__media img,
.pedro-secondary-card__media .pedro-media-placeholder {
	width: 100%;
	height: 100%;
	min-height: 150px;
}

.pedro-secondary-card__media img {
	object-fit: cover;
}

.pedro-editorial-lead__rail {
	display: grid;
	align-content: start;
	gap: 1rem;
}

.pedro-most-read {
	padding: clamp( 1rem, 1.8vw, 1.5rem );
	border: 1px solid var( --pedro-border );
	border-radius: var( --pedro-radius-md );
	background: var( --pedro-surface );
	box-shadow: var( --pedro-shadow-sm );
}

.pedro-section-heading {
	position: relative;
	padding-bottom: 0.75rem;
	font-size: 1.1rem;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.pedro-section-heading::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 2rem;
	height: 3px;
	background: var( --pedro-accent );
	content: '';
}

.pedro-most-read__list {
	display: grid;
	gap: 0;
	margin: 0.75rem 0 0;
	padding: 0;
	list-style: none;
}

.pedro-most-read__list li {
	display: grid;
	grid-template-columns: 2.25rem minmax( 0, 1fr );
	align-items: start;
	gap: 0.65rem;
	padding: 0.8rem 0;
	border-bottom: 1px solid var( --pedro-border );
}

.pedro-most-read__list li:last-child {
	border-bottom: 0;
}

.pedro-most-read__number {
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var( --pedro-background );
	font-family: var( --pedro-font-heading );
	font-size: 1.15rem;
	font-weight: 900;
}

.pedro-most-read__list a {
	display: grid;
	font-size: 0.88rem;
	line-height: 1.35;
	text-decoration: none;
}

.pedro-most-read__list a:hover strong {
	color: var( --pedro-accent );
}

.pedro-newsletter {
	padding: clamp( 1rem, 1.8vw, 1.5rem );
	border-radius: var( --pedro-radius-md );
	background: linear-gradient( 145deg, var( --pedro-primary ), var( --pedro-secondary ) );
	color: var( --pedro-on-primary );
	box-shadow: var( --pedro-shadow-sm );
}

.pedro-newsletter__icon {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 0.85rem;
	border-radius: 50%;
	background: color-mix( in srgb, var( --pedro-on-primary ) 16%, transparent );
}

.pedro-newsletter__icon .pedro-icon {
	stroke: var( --pedro-on-primary );
}

.pedro-newsletter h2 {
	font-size: 1rem;
	letter-spacing: 0;
	text-transform: uppercase;
}

.pedro-newsletter__copy > p {
	margin-top: 0.6rem;
	font-size: 0.82rem;
}

.pedro-newsletter__benefits {
	display: grid;
	gap: 0.4rem;
	margin: 0.9rem 0 0;
	padding: 0;
	list-style: none;
}

.pedro-newsletter__benefits li {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.78rem;
	opacity: 0.92;
}

.pedro-newsletter__benefits .pedro-icon {
	flex-shrink: 0;
	width: 0.9rem;
	height: 0.9rem;
	margin-top: 0.15rem;
	stroke: var( --pedro-accent );
}

.pedro-newsletter--wide .pedro-newsletter__benefits {
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 0.5rem 1rem;
}

.pedro-newsletter__form {
	display: grid;
	gap: 0.55rem;
	margin-top: 1rem;
}

.pedro-newsletter input {
	background: var( --pedro-on-primary );
	color: #151922;
}

.pedro-newsletter__status {
	min-height: 1.25em;
	font-size: 0.76rem;
}

.pedro-newsletter small {
	display: block;
	margin-top: 0.65rem;
	font-size: 0.68rem;
	opacity: 0.8;
}

.pedro-newsletter--wide {
	display: grid;
	grid-template-columns: minmax( 0, 0.9fr ) minmax( 320px, 1.1fr );
	align-items: center;
	gap: clamp( 1.5rem, 5vw, 5rem );
	margin-top: clamp( 2.5rem, 5vw, 4.5rem );
	padding: clamp( 1.5rem, 4vw, 3rem );
}

.pedro-newsletter--wide h2 {
	font-size: clamp( 1.45rem, 3vw, 2.4rem );
	text-transform: none;
}

.pedro-newsletter--wide .pedro-newsletter__copy > p {
	font-size: 1rem;
}

.pedro-newsletter--wide .pedro-newsletter__form {
	grid-template-columns: minmax( 0, 1fr ) auto;
}

.pedro-newsletter--wide .pedro-newsletter__status {
	grid-column: 1 / -1;
}

.pedro-latest {
	margin-top: clamp( 2.5rem, 5vw, 4.5rem );
}

/* Low-content editorial foundation */

.pedro-category-explorer,
.pedro-latest-posts,
.pedro-coming-soon,
.pedro-editorial-values,
.pedro-prefooter {
	margin-top: clamp( 2.5rem, 5vw, 4.5rem );
}

.pedro-section-title-row--action {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
}

.pedro-section-title-row--action > a,
.pedro-text-link {
	padding-bottom: 0.75rem;
	color: var( --pedro-accent );
	font-size: 0.82rem;
	font-weight: 850;
	text-decoration: none;
}

.pedro-category-explorer__grid {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: clamp( 0.75rem, 1.5vw, 1rem );
	margin-top: 1rem;
}

.pedro-category-tile {
	position: relative;
	display: grid;
	grid-template-columns: 76px minmax( 0, 1fr );
	align-items: center;
	min-height: 128px;
	overflow: hidden;
	border: 1px solid var( --pedro-border );
	border-radius: var( --pedro-radius-md );
	background: var( --pedro-surface );
	box-shadow: var( --pedro-shadow-sm );
	text-decoration: none;
}

.pedro-category-tile:hover {
	border-color: color-mix( in srgb, var( --pedro-accent ) 55%, var( --pedro-border ) );
	transform: translateY( -2px );
}

.pedro-category-tile__art {
	position: relative;
	display: grid;
	align-self: stretch;
	place-items: center;
	background: linear-gradient( 145deg, var( --pedro-primary ), var( --pedro-secondary ) );
}

.pedro-category-tile__art .pedro-icon {
	width: 1.75rem;
	height: 1.75rem;
	stroke: var( --pedro-on-primary );
}

.pedro-category-tile__art--1 {
	background: linear-gradient( 145deg, var( --pedro-secondary ), color-mix( in srgb, var( --pedro-accent ) 55%, var( --pedro-primary ) ) );
}

.pedro-category-tile__art--2 {
	background: linear-gradient( 145deg, color-mix( in srgb, var( --pedro-primary ) 70%, var( --pedro-accent ) ), var( --pedro-primary ) );
}

.pedro-category-tile__body {
	display: grid;
	gap: 0.25rem;
	min-width: 0;
	padding: 1rem;
}

.pedro-category-tile__body strong {
	font-family: var( --pedro-font-heading );
	font-size: 1.08rem;
	overflow-wrap: anywhere;
}

.pedro-category-tile__body > span {
	color: var( --pedro-muted );
	font-size: 0.76rem;
	line-height: 1.35;
}

.pedro-category-tile__cta {
	color: var( --pedro-accent );
	font-size: 0.76rem;
	font-weight: 800;
}

.pedro-category-tile:hover .pedro-category-tile__cta span {
	margin-left: 0.3em;
}

.pedro-latest-posts__list {
	display: grid;
	gap: clamp( 0.85rem, 1.8vw, 1.25rem );
	margin-top: 1rem;
}

.pedro-latest-posts__empty {
	display: grid;
	grid-template-columns: 120px minmax( 0, 1fr );
	align-items: center;
	gap: clamp( 1rem, 3vw, 2rem );
	min-height: 170px;
	margin-top: 1rem;
	padding: clamp( 1.25rem, 3vw, 2rem );
	border: 1px solid var( --pedro-border );
	border-radius: var( --pedro-radius-md );
	background: color-mix( in srgb, var( --pedro-primary ) 5%, var( --pedro-surface ) );
}

.pedro-latest-posts__empty h3 {
	font-size: clamp( 1.25rem, 2.5vw, 1.8rem );
}

.pedro-latest-posts__empty-lede {
	margin-top: 0.6rem;
	color: var( --pedro-muted );
	font-size: 0.85rem;
	font-weight: 800;
}

.pedro-latest-posts__empty-topics {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0.6rem 0 0;
	padding: 0;
	list-style: none;
}

.pedro-latest-posts__empty-topics li {
	padding: 0.3rem 0.7rem;
	border: 1px solid var( --pedro-border );
	border-radius: 999px;
	background: var( --pedro-surface );
	color: var( --pedro-text );
	font-size: 0.74rem;
	font-weight: 700;
	text-transform: capitalize;
}

.pedro-latest-posts__empty .pedro-text-link {
	display: inline-block;
	margin-top: 0.8rem;
	padding: 0;
}

.pedro-latest-posts__empty-art {
	position: relative;
	display: block;
	width: 100px;
	height: 84px;
	border: 2px solid var( --pedro-primary );
	border-radius: var( --pedro-radius-sm );
}

.pedro-latest-posts__empty-art::before,
.pedro-latest-posts__empty-art::after {
	position: absolute;
	left: 18px;
	height: 3px;
	background: var( --pedro-accent );
	content: '';
}

.pedro-latest-posts__empty-art::before {
	top: 24px;
	width: 60px;
}

.pedro-latest-posts__empty-art::after {
	top: 42px;
	width: 42px;
}

.pedro-horizontal-card {
	overflow: hidden;
	border: 1px solid var( --pedro-border );
	border-radius: var( --pedro-radius-md );
	background: var( --pedro-surface );
	box-shadow: var( --pedro-shadow-sm );
}

.pedro-horizontal-card > a {
	display: grid;
	grid-template-columns: minmax( 280px, 0.85fr ) minmax( 0, 1.15fr );
	min-height: 290px;
	text-decoration: none;
}

.pedro-horizontal-card__media,
.pedro-horizontal-card__media img,
.pedro-horizontal-card__media .pedro-media-placeholder {
	width: 100%;
	height: 100%;
}

.pedro-horizontal-card__media img {
	object-fit: cover;
}

.pedro-horizontal-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: clamp( 1.25rem, 4vw, 3rem );
}

.pedro-horizontal-card__body h3 {
	font-size: clamp( 1.45rem, 3vw, 2.4rem );
	overflow-wrap: anywhere;
}

.pedro-horizontal-card__body p {
	margin-top: 0.8rem;
	color: var( --pedro-muted );
}

.pedro-horizontal-card__meta {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 1rem;
	color: var( --pedro-muted );
	font-size: 0.78rem;
}

.pedro-horizontal-card__author {
	font-weight: 700;
}

.pedro-coming-soon__grid {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: clamp( 0.75rem, 1.5vw, 1rem );
	margin-top: 1rem;
}

.pedro-coming-card {
	position: relative;
	min-height: 220px;
	overflow: hidden;
	padding: clamp( 1.25rem, 3vw, 2rem );
	border: 1px solid var( --pedro-border );
	border-radius: var( --pedro-radius-md );
	background: linear-gradient( 145deg, color-mix( in srgb, var( --pedro-primary ) 8%, var( --pedro-surface ) ), var( --pedro-surface ) );
}

.pedro-coming-card::after {
	position: absolute;
	top: -28px;
	right: -18px;
	width: 130px;
	height: 130px;
	border: 2px solid color-mix( in srgb, var( --pedro-primary ) 20%, transparent );
	border-radius: 50%;
	content: '';
}

.pedro-coming-card__art {
	position: relative;
	z-index: 1;
	display: inline-grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 1rem;
	border-radius: 50%;
	background: color-mix( in srgb, var( --pedro-primary ) 12%, var( --pedro-surface ) );
}

.pedro-coming-card__art .pedro-icon {
	width: 1.4rem;
	height: 1.4rem;
	stroke: var( --pedro-primary );
}

.pedro-coming-card__art--1 {
	background: color-mix( in srgb, var( --pedro-accent ) 14%, var( --pedro-surface ) );
}

.pedro-coming-card__art--1 .pedro-icon {
	stroke: var( --pedro-accent );
}

.pedro-coming-card__label {
	position: relative;
	z-index: 1;
	color: var( --pedro-accent );
	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.pedro-coming-card h3 {
	position: relative;
	z-index: 1;
	max-width: 12ch;
	margin-top: 5.5rem;
	font-size: clamp( 1.3rem, 2.3vw, 1.8rem );
}

.pedro-editorial-values {
	position: relative;
	min-height: 360px;
	overflow: hidden;
	border-radius: var( --pedro-radius-lg );
	background: linear-gradient( 155deg, var( --pedro-secondary ), var( --pedro-primary ) 65%, color-mix( in srgb, var( --pedro-accent ) 35%, var( --pedro-primary ) ) );
}

.pedro-editorial-values__art {
	position: absolute;
	inset: 0;
	overflow: hidden;
	opacity: 0.55;
}

.pedro-editorial-values__dot {
	position: absolute;
	border: 1.5px solid color-mix( in srgb, var( --pedro-on-primary ) 55%, transparent );
	border-radius: 50%;
}

.pedro-editorial-values__dot::before {
	position: absolute;
	inset: 30%;
	background: color-mix( in srgb, var( --pedro-on-primary ) 80%, transparent );
	border-radius: 50%;
	content: '';
}

.pedro-editorial-values__dot--1 {
	top: 12%;
	left: 8%;
	width: 10px;
	height: 10px;
}

.pedro-editorial-values__dot--2 {
	top: 28%;
	left: 32%;
	width: 6px;
	height: 6px;
}

.pedro-editorial-values__dot--3 {
	top: 18%;
	right: 14%;
	width: 8px;
	height: 8px;
}

.pedro-editorial-values__dot--4 {
	bottom: 22%;
	left: 20%;
	width: 7px;
	height: 7px;
}

.pedro-editorial-values__dot--5 {
	right: 22%;
	bottom: 16%;
	width: 11px;
	height: 11px;
}

.pedro-editorial-values__art::before,
.pedro-editorial-values__art::after {
	position: absolute;
	background: linear-gradient( 90deg, transparent, color-mix( in srgb, var( --pedro-on-primary ) 45%, transparent ), transparent );
	content: '';
}

.pedro-editorial-values__art::before {
	top: 22%;
	left: 5%;
	width: 55%;
	height: 1px;
	transform: rotate( 8deg );
}

.pedro-editorial-values__art::after {
	right: 10%;
	bottom: 24%;
	width: 40%;
	height: 1px;
	transform: rotate( -14deg );
}

.pedro-editorial-values__body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	max-width: 760px;
	padding: clamp( 2rem, 6vw, 4.5rem );
	color: var( --pedro-on-primary );
}

.pedro-kicker {
	color: var( --pedro-accent );
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.pedro-kicker--on-dark {
	color: color-mix( in srgb, var( --pedro-on-primary ) 82%, transparent );
}

.pedro-editorial-values h2 {
	max-width: 18ch;
	margin-top: 0.6rem;
	font-size: clamp( 1.8rem, 4vw, 3.2rem );
}

.pedro-editorial-values p {
	max-width: 56ch;
	margin-top: 1rem;
	color: color-mix( in srgb, var( --pedro-on-primary ) 78%, transparent );
}

.pedro-editorial-values__list {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 0.75rem 2rem;
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
}

.pedro-editorial-values__list li {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 700;
}

.pedro-editorial-values__check {
	display: inline-grid;
	flex-shrink: 0;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: color-mix( in srgb, var( --pedro-on-primary ) 16%, transparent );
}

.pedro-editorial-values__check .pedro-icon {
	width: 1rem;
	height: 1rem;
	stroke: var( --pedro-on-primary );
}

.pedro-editorial-values__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}

.pedro-editorial-values .pedro-button--secondary {
	border-color: color-mix( in srgb, var( --pedro-on-primary ) 55%, transparent );
	color: var( --pedro-on-primary );
}

.pedro-prefooter {
	display: grid;
	grid-template-columns: minmax( 190px, 0.8fr ) minmax( 0, 1.3fr ) auto;
	align-items: center;
	gap: clamp( 1rem, 3vw, 2.5rem );
	padding: clamp( 1.25rem, 3vw, 2rem );
	border-top: 1px solid var( --pedro-border );
	border-bottom: 1px solid var( --pedro-border );
}

.pedro-prefooter h2 {
	margin-top: 0.2rem;
	font-size: clamp( 1.1rem, 2vw, 1.5rem );
}

.pedro-prefooter__categories,
.pedro-prefooter__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.65rem 1rem;
}

.pedro-prefooter__categories a,
.pedro-prefooter__actions > a {
	font-size: 0.78rem;
	font-weight: 800;
	text-decoration: none;
}

.pedro-prefooter__actions {
	justify-content: flex-end;
}

.pedro-section-title-row {
	border-bottom: 1px solid var( --pedro-border );
}

.pedro-section-title-row .pedro-section-heading {
	display: inline-block;
}

.pedro-category-filters {
	display: flex;
	gap: 0.55rem;
	margin-block: 1rem;
	padding-bottom: 0.2rem;
	overflow-x: auto;
	scrollbar-width: thin;
}

.pedro-category-filters a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0.5rem 1rem;
	border: 1px solid var( --pedro-border );
	border-radius: var( --pedro-radius-sm );
	background: var( --pedro-surface );
	font-size: 0.75rem;
	font-weight: 800;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.pedro-category-filters a:hover,
.pedro-category-filters .is-active {
	border-color: var( --pedro-accent );
	background: var( --pedro-accent );
	color: var( --pedro-on-primary );
}

.pedro-latest__grid {
	display: grid;
	grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
	gap: clamp( 0.85rem, 1.8vw, 1.25rem );
}

.pedro-overlay-card,
.pedro-overlay-card > a {
	position: relative;
	min-height: 250px;
	overflow: hidden;
	border-radius: var( --pedro-radius-md );
}

.pedro-overlay-card {
	background: var( --pedro-secondary );
	box-shadow: var( --pedro-shadow-sm );
}

.pedro-overlay-card > a {
	display: block;
	color: var( --pedro-on-primary );
	text-decoration: none;
}

.pedro-overlay-card__media,
.pedro-overlay-card__media img,
.pedro-overlay-card__media .pedro-media-placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.pedro-overlay-card__media img {
	object-fit: cover;
	transition: transform 400ms ease;
}

.pedro-overlay-card:hover img {
	transform: scale( 1.035 );
}

.pedro-overlay-card__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient( 180deg, rgb( 0 0 0 / 5% ), rgb( 0 0 0 / 78% ) );
}

.pedro-overlay-card__body {
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	left: 1rem;
	z-index: 2;
}

.pedro-overlay-card h3 {
	font-size: clamp( 1rem, 1.4vw, 1.25rem );
	overflow-wrap: anywhere;
}

.pedro-overlay-card time {
	display: block;
	color: rgb( 255 255 255 / 78% );
}

/* Shared listings and article cards */

.pedro-listing,
.pedro-single {
	display: grid;
	grid-template-columns: minmax( 0, 2fr ) minmax( 270px, 0.72fr );
	gap: clamp( 1.5rem, 4vw, 4rem );
	padding-block: clamp( 2rem, 5vw, 4rem );
}

.pedro-listing__main > h1 {
	margin-bottom: 2rem;
	font-size: clamp( 2rem, 5vw, 4rem );
}

.pedro-single__category {
	color: var( --pedro-accent );
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.pedro-sidebar {
	display: grid;
	align-content: start;
	gap: 1rem;
}

.pedro-widget,
.widget {
	padding: 1.25rem;
	border: 1px solid var( --pedro-border );
	border-radius: var( --pedro-radius-md );
	background: var( --pedro-surface );
}

.pedro-widget--ad-placeholder {
	color: var( --pedro-muted );
	text-align: center;
}

/* Single article */

.pedro-single__header {
	margin-bottom: 1.5rem;
}

.pedro-single__title {
	margin-top: 0.75rem;
	font-size: clamp( 2rem, 5vw, 4rem );
	overflow-wrap: anywhere;
}

.pedro-single__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem 1.25rem;
	margin-top: 1.25rem;
	color: var( --pedro-muted );
	font-size: 0.88rem;
}

.pedro-single__media img {
	width: 100%;
	border-radius: var( --pedro-radius-md );
}

.pedro-single__content {
	max-width: 72ch;
	margin-top: 2rem;
	font-size: 1.06rem;
}

.pedro-single__content > * + * {
	margin-top: 1.25em;
}

.pedro-single__tags,
.pedro-single__share {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 2rem;
	padding: 0;
	list-style: none;
}

.pedro-single__tags li {
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	background: var( --pedro-surface );
	font-size: 0.8rem;
}

.pedro-single__tags li a {
	text-decoration: none;
}

.pedro-single__tags li:hover {
	background: color-mix( in srgb, var( --pedro-accent ) 12%, var( --pedro-surface ) );
}

.pedro-single__subtitle {
	max-width: 65ch;
	margin-top: 0.75rem;
	color: var( --pedro-muted );
	font-size: clamp( 1.05rem, 1.6vw, 1.3rem );
	line-height: 1.5;
}

.pedro-single__toc {
	margin-top: 2rem;
	padding: 1.25rem 1.5rem;
	border: 1px solid var( --pedro-border );
	border-radius: var( --pedro-radius-md );
	background: color-mix( in srgb, var( --pedro-primary ) 4%, var( --pedro-surface ) );
}

.pedro-single__toc h2 {
	font-size: 0.85rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.pedro-single__toc ol {
	display: grid;
	gap: 0.5rem;
	margin: 0.9rem 0 0;
	padding-left: 1.2rem;
	font-size: 0.9rem;
}

.pedro-single__toc a {
	text-decoration: none;
}

.pedro-single__toc a:hover {
	color: var( --pedro-accent );
	text-decoration: underline;
}

.pedro-single__ad {
	margin-top: 2rem;
}

.pedro-single__adjacent {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 1rem;
	margin-top: 2.5rem;
}

.pedro-related {
	margin-top: 2.5rem;
}

.pedro-related .pedro-section-heading {
	margin-bottom: 1rem;
}

.pedro-single__adjacent-link {
	display: grid;
	gap: 0.5rem;
	padding: 1.25rem;
	border: 1px solid var( --pedro-border );
	border-radius: var( --pedro-radius-md );
	text-decoration: none;
	transition: border-color 160ms ease, transform 160ms ease;
}

.pedro-single__adjacent-link:hover {
	border-color: color-mix( in srgb, var( --pedro-accent ) 55%, var( --pedro-border ) );
	transform: translateY( -2px );
}

.pedro-single__adjacent-link--next {
	text-align: right;
}

.pedro-single__adjacent-label {
	color: var( --pedro-accent );
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.pedro-single__adjacent-title {
	font-family: var( --pedro-font-heading );
	font-size: 1rem;
	overflow-wrap: anywhere;
}

.pedro-single__comments-placeholder {
	margin-top: 2.5rem;
	padding: 1.5rem;
	border: 1px dashed var( --pedro-border );
	border-radius: var( --pedro-radius-md );
	color: var( --pedro-muted );
	text-align: center;
}

.pedro-single__comments-placeholder h2 {
	color: var( --pedro-text );
	font-size: 1rem;
}

.pedro-single__comments-placeholder p {
	margin-top: 0.5rem;
	font-size: 0.85rem;
}

/* Term/search/author hero and modern pagination */

.pedro-term-hero,
.pedro-author-hero {
	margin-bottom: clamp( 1.5rem, 4vw, 2.5rem );
}

.pedro-term-hero__title,
.pedro-author-hero__name {
	font-size: clamp( 2rem, 4.5vw, 3.25rem );
}

.pedro-term-hero__description {
	max-width: 65ch;
	margin-top: 0.85rem;
	color: var( --pedro-muted );
	font-size: 1.05rem;
}

.pedro-term-hero__count {
	margin-top: 0.5rem;
	color: var( --pedro-muted );
	font-size: 0.85rem;
	font-weight: 700;
}

.pedro-author-hero__profile {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	margin-top: 1rem;
}

.pedro-author-hero__avatar {
	border-radius: 50%;
}

.pedro-author-hero__count {
	margin-top: 0.4rem;
	color: var( --pedro-muted );
	font-size: 0.85rem;
}

.pedro-author-hero__bio {
	max-width: 65ch;
	margin-top: 1.25rem;
	color: var( --pedro-muted );
	font-size: 1rem;
	line-height: 1.6;
}

.pedro-editorial-listing {
	display: grid;
	gap: clamp( 1.5rem, 4vw, 2.5rem );
	margin-top: 1.5rem;
}

.pedro-pagination {
	margin-top: clamp( 2rem, 4vw, 3rem );
}

.pedro-pagination__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0;
	list-style: none;
}

.pedro-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 0.75rem;
	border: 1px solid var( --pedro-border );
	border-radius: var( --pedro-radius-sm );
	text-decoration: none;
	font-weight: 700;
}

a.page-numbers:hover {
	border-color: color-mix( in srgb, var( --pedro-accent ) 55%, var( --pedro-border ) );
	background: color-mix( in srgb, var( --pedro-accent ) 8%, var( --pedro-surface ) );
}

.pedro-pagination .page-numbers.current {
	border-color: var( --pedro-accent );
	background: var( --pedro-accent );
	color: var( --pedro-on-primary );
}

.pedro-pagination .page-numbers.dots {
	border-color: transparent;
}

/* Sidebar featured categories */

.pedro-sidebar-categories__list {
	display: grid;
	gap: 0.5rem;
	margin: 0.9rem 0 0;
	padding: 0;
	list-style: none;
}

.pedro-sidebar-categories__list a {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.5rem 0;
	text-decoration: none;
	font-size: 0.88rem;
	font-weight: 700;
}

.pedro-sidebar-categories__list a:hover {
	color: var( --pedro-accent );
}

.pedro-sidebar-categories__icon {
	display: inline-grid;
	flex-shrink: 0;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: color-mix( in srgb, var( --pedro-primary ) 10%, var( --pedro-surface ) );
}

.pedro-sidebar-categories__icon .pedro-icon {
	width: 1rem;
	height: 1rem;
}

/* 404 */

.pedro-404__illustration {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}

.pedro-404__digit {
	font-family: var( --pedro-font-heading );
	font-size: clamp( 3.5rem, 10vw, 6rem );
	font-weight: 900;
	color: var( --pedro-primary );
}

.pedro-404__mark {
	display: inline-block;
	width: clamp( 3.5rem, 9vw, 5.5rem );
	height: clamp( 3.5rem, 9vw, 5.5rem );
	border: 6px solid var( --pedro-accent );
	border-radius: 50%;
}

.pedro-404__lede {
	max-width: 55ch;
	margin: 0.75rem auto 0;
	color: var( --pedro-muted );
}

.pedro-404__search {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6rem;
	max-width: 480px;
	margin: 1.75rem auto 0;
}

.pedro-404__search input {
	flex: 1 1 240px;
	min-height: 46px;
	padding: 0.7rem 0.9rem;
	border: 1px solid var( --pedro-border );
	border-radius: var( --pedro-radius-sm );
	background: var( --pedro-surface );
	color: var( --pedro-text );
}

.pedro-404__home {
	margin-top: 1rem;
}

.pedro-404 .pedro-latest-posts,
.pedro-404 .pedro-category-explorer {
	margin-top: clamp( 3rem, 6vw, 5rem );
	text-align: left;
}

.pedro-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 1rem;
	padding: 0;
	color: var( --pedro-muted );
	font-size: 0.82rem;
	list-style: none;
}

.pedro-breadcrumbs li:not( :last-child )::after {
	margin-left: 0.5rem;
	content: '/';
}

.pedro-no-results,
.pedro-404 {
	padding-block: clamp( 4rem, 12vw, 8rem );
	text-align: center;
}

/* Footer */

.pedro-footer {
	margin-top: 2rem;
	background: var( --pedro-secondary );
	color: var( --pedro-on-primary );
}

.pedro-footer__grid {
	display: grid;
	grid-template-columns: minmax( 220px, 1.3fr ) repeat( 4, minmax( 140px, 0.68fr ) );
	gap: clamp( 1.5rem, 4vw, 3.5rem );
	padding-block: clamp( 3rem, 7vw, 5rem );
}

.pedro-footer__brand p {
	max-width: 34ch;
	margin-top: 1rem;
	opacity: 0.78;
}

.pedro-footer-logo {
	color: var( --pedro-on-primary );
}

.pedro-footer__column h2 {
	margin-bottom: 1rem;
	font-size: 0.9rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.pedro-footer__column ul {
	display: grid;
	gap: 0.65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pedro-footer__column a {
	font-size: 0.88rem;
	opacity: 0.82;
}

.pedro-footer__column > a {
	display: block;
	margin-top: 0.65rem;
}

.pedro-footer__column > a:first-of-type {
	margin-top: 0;
}

.pedro-footer__social {
	justify-content: flex-start;
}

.pedro-footer__social-empty {
	font-size: 0.85rem;
	opacity: 0.7;
}

.pedro-footer__bottom {
	padding-block: 1rem;
	border-top: 1px solid rgb( 255 255 255 / 13% );
	font-size: 0.76rem;
	opacity: 0.78;
}

/* Tablet */

@media ( max-width: 1180px ) {
	.pedro-category-explorer__grid,
	.pedro-coming-soon__grid {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}

	.pedro-prefooter {
		grid-template-columns: minmax( 190px, 0.7fr ) minmax( 0, 1.3fr );
	}

	.pedro-prefooter__actions {
		grid-column: 1 / -1;
		justify-content: flex-start;
	}

	.pedro-footer__grid {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}

	.pedro-main-header__inner {
		grid-template-columns: minmax( 180px, 1fr ) auto auto;
	}

	.pedro-header__menu-toggle {
		display: grid;
		grid-column: 2;
		grid-row: 1;
	}

	.pedro-header__actions {
		grid-column: 3;
		grid-row: 1;
	}

	.pedro-header__menu {
		display: none;
		grid-column: 1 / -1;
		width: 100%;
		padding-bottom: 1rem;
	}

	.pedro-header__menu.is-open {
		display: block;
	}

	.pedro-header__menu-list {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
	}

	.pedro-header__menu-list a {
		width: 100%;
		border-bottom: 1px solid var( --pedro-border );
	}

	.pedro-editorial-lead {
		grid-template-columns: minmax( 0, 1.55fr ) minmax( 280px, 0.85fr );
	}

	.pedro-editorial-lead--no-secondary {
		grid-template-columns: minmax( 0, 1.55fr ) minmax( 280px, 0.7fr );
	}

	.pedro-editorial-lead__rail {
		grid-column: 1 / -1;
		grid-template-columns: minmax( 0, 1.5fr ) minmax( 280px, 0.7fr );
	}

	.pedro-most-read__list {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
		column-gap: 1rem;
	}

	.pedro-latest__grid {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}
}

/*
 * Between 768px and 1023px, `.pedro-listing`/`.pedro-single` still reserve
 * a fixed-minimum sidebar column, which leaves too little room for
 * `.pedro-horizontal-card`'s side-by-side image/text split (280px image
 * minimum) — title text collapses into an unreadably narrow column.
 * Stacking the card only where a sidebar is actually present keeps Home's
 * own (sidebar-less, full-width) use of the same component untouched.
 */
@media ( max-width: 1023px ) {
	.pedro-listing .pedro-horizontal-card > a,
	.pedro-single .pedro-horizontal-card > a {
		grid-template-columns: 1fr;
	}

	.pedro-listing .pedro-horizontal-card__media,
	.pedro-listing .pedro-horizontal-card__media img,
	.pedro-listing .pedro-horizontal-card__media .pedro-media-placeholder,
	.pedro-single .pedro-horizontal-card__media,
	.pedro-single .pedro-horizontal-card__media img,
	.pedro-single .pedro-horizontal-card__media .pedro-media-placeholder {
		height: 230px;
	}
}

@media ( max-width: 767px ) {
	:root {
		--pedro-gutter: 1rem;
	}

	.pedro-topbar__inner {
		justify-content: center;
		min-height: 36px;
		overflow-x: auto;
	}

	.pedro-topbar__links a:first-child,
	.pedro-topbar .pedro-social {
		display: none;
	}

	.pedro-main-header__inner {
		grid-template-columns: minmax( 0, 1fr ) auto auto;
		gap: 0.35rem;
		min-height: 82px;
	}

	.pedro-brand-description,
	.pedro-header__contact {
		display: none;
	}

	.pedro-logo,
	.custom-logo {
		max-width: 145px;
		max-height: 42px;
		font-size: 1.55rem;
	}

	.pedro-header__menu-toggle {
		grid-column: 3;
	}

	.pedro-header__actions {
		grid-column: 2;
		gap: 0;
	}

	.pedro-icon-button {
		width: 40px;
		height: 40px;
	}

	.pedro-ticker {
		padding-right: 0;
	}

	.pedro-ticker__label {
		padding-inline: 0.75rem;
	}

	.pedro-ticker__story {
		border-radius: 0;
	}

	.pedro-ticker__story span {
		display: none;
	}

	.pedro-home {
		padding-top: 0;
	}

	.pedro-editorial-lead,
	.pedro-editorial-lead__rail {
		grid-template-columns: 1fr;
	}

	.pedro-category-explorer__grid,
	.pedro-coming-soon__grid,
	.pedro-newsletter--wide,
	.pedro-prefooter {
		grid-template-columns: 1fr;
	}

	.pedro-editorial-values__list {
		grid-template-columns: 1fr;
	}

	.pedro-newsletter--wide .pedro-newsletter__form {
		grid-template-columns: 1fr;
	}

	.pedro-newsletter--wide .pedro-newsletter__status {
		grid-column: auto;
	}

	.pedro-newsletter--wide .pedro-newsletter__benefits {
		grid-template-columns: 1fr;
	}

	.pedro-latest-posts__empty {
		grid-template-columns: 76px minmax( 0, 1fr );
	}

	.pedro-latest-posts__empty-art {
		width: 68px;
		height: 64px;
	}

	.pedro-horizontal-card > a {
		grid-template-columns: 1fr;
	}

	.pedro-horizontal-card__media,
	.pedro-horizontal-card__media img,
	.pedro-horizontal-card__media .pedro-media-placeholder {
		height: 230px;
	}

	.pedro-prefooter__actions {
		grid-column: auto;
	}

	.pedro-lead-card,
	.pedro-lead-card__link {
		min-height: 480px;
	}

	.pedro-lead-card__excerpt {
		display: -webkit-box;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
	}

	.pedro-editorial-lead__secondary {
		grid-template-rows: none;
	}

	.pedro-secondary-card__link {
		grid-template-columns: minmax( 0, 1.3fr ) minmax( 110px, 0.7fr );
	}

	.pedro-editorial-lead__rail {
		grid-column: auto;
	}

	.pedro-most-read__list {
		grid-template-columns: 1fr;
	}

	.pedro-latest__grid,
	.pedro-listing,
	.pedro-single,
	.pedro-footer__grid {
		grid-template-columns: 1fr;
	}

	.pedro-overlay-card,
	.pedro-overlay-card > a {
		min-height: 290px;
	}

	.pedro-listing,
	.pedro-single {
		padding-block: 2rem;
	}

	.pedro-footer__grid {
		gap: 2rem;
	}

	.pedro-single__adjacent {
		grid-template-columns: 1fr;
	}

	.pedro-single__adjacent-link--next {
		text-align: left;
	}

	.pedro-author-hero__profile {
		align-items: flex-start;
	}

	.pedro-author-hero__avatar {
		width: 64px;
		height: 64px;
	}
}

@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;
	}
}
