/**
 * Objetivo en la Cocina — editorial magazine
 * Mood: pimentón + pizarra + horno de leña
 */

:root {
	--oelc-ink: #14110f;
	--oelc-pimenton: #c43b1d;
	--oelc-azafran: #e0a106;
	--oelc-pizarra: #2a2623;
	--oelc-stone: #e4e2de;
	--oelc-paper: #eef0f2;
	--oelc-white: #fff;
	--oelc-muted: #6b6560;
	--oelc-display: "Fraunces", Georgia, serif;
	--oelc-body: "Schibsted Grotesk", system-ui, sans-serif;
	--oelc-wrap: 1200px;
	--oelc-narrow: 680px;
	--oelc-radius: 2px;
	--oelc-ease: cubic-bezier(0.22, 1, 0.36, 1);
	/* aliases for older class hooks */
	--oelc-forest: var(--oelc-pimenton);
	--oelc-leaf: #a83318;
	--oelc-butter: var(--oelc-azafran);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--oelc-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--oelc-ink);
	background:
		linear-gradient(180deg, #e8eaed 0%, var(--oelc-paper) 28%),
		var(--oelc-paper);
}

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

a {
	color: var(--oelc-pimenton);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--oelc-leaf);
}

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

.oelc-skip {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--oelc-ink);
	color: var(--oelc-white);
	padding: 0.75rem 1rem;
	z-index: 100;
}

.oelc-skip:focus {
	left: 0;
}

.oelc-wrap {
	width: min(100% - 2rem, var(--oelc-wrap));
	margin-inline: auto;
}

.oelc-wrap--narrow {
	width: min(100% - 2rem, var(--oelc-narrow));
}

/* ——— Header ——— */
.oelc-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: color-mix(in srgb, var(--oelc-paper) 90%, transparent);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid color-mix(in srgb, var(--oelc-ink) 10%, transparent);
}

.oelc-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	min-height: 4.5rem;
}

.oelc-brand__name,
.oelc-brand .custom-logo-link {
	font-family: var(--oelc-display);
	font-size: clamp(1.15rem, 2.2vw, 1.55rem);
	font-weight: 700;
	color: var(--oelc-ink);
	text-decoration: none;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.oelc-brand__link {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	text-decoration: none;
	color: inherit;
}

.oelc-brand__logo {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--oelc-pimenton);
}

.oelc-brand img,
.oelc-brand .custom-logo {
	max-height: 44px;
	width: auto;
}

.oelc-nav-toggle {
	display: none;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid color-mix(in srgb, var(--oelc-ink) 18%, transparent);
	border-radius: var(--oelc-radius);
	background: var(--oelc-white);
	cursor: pointer;
}

.oelc-nav-toggle span:not(.screen-reader-text) {
	display: block;
	width: 1.1rem;
	height: 2px;
	margin: 0 auto;
	background: var(--oelc-ink);
	box-shadow: 0 -6px 0 var(--oelc-ink), 0 6px 0 var(--oelc-ink);
}

.oelc-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.2rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.oelc-nav__list a {
	color: var(--oelc-ink);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.oelc-nav__list a:hover {
	color: var(--oelc-pimenton);
}

/* ——— Buttons ——— */
.oelc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.78rem 1.25rem;
	border-radius: var(--oelc-radius);
	font-family: var(--oelc-body);
	font-weight: 700;
	font-size: 0.9rem;
	letter-spacing: 0.02em;
	line-height: 1.2;
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.28s var(--oelc-ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.oelc-btn:hover {
	transform: translateY(-2px);
	text-decoration: none;
}

.oelc-btn--primary {
	background: var(--oelc-pimenton);
	color: var(--oelc-white);
}

.oelc-btn--primary:hover {
	background: var(--oelc-leaf);
	color: var(--oelc-white);
}

.oelc-btn--ghost {
	background: transparent;
	border-color: color-mix(in srgb, var(--oelc-ink) 22%, transparent);
	color: var(--oelc-ink);
}

.oelc-btn--ghost:hover {
	border-color: var(--oelc-pimenton);
	color: var(--oelc-pimenton);
}

.oelc-btn--azafran {
	background: var(--oelc-azafran);
	color: var(--oelc-ink);
}

/* ——— Home magazine cover ——— */
.oelc-cover {
	position: relative;
	isolation: isolate;
	min-height: 100svh;
	min-height: 100vh;
	display: grid;
	align-items: end;
	overflow: hidden;
	color: var(--oelc-white);
	background: var(--oelc-ink);
}

.oelc-cover__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.oelc-cover__photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 42%;
	animation: oelc-ken 14s var(--oelc-ease) both;
}

.oelc-cover__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(105deg, rgba(20, 17, 15, 0.88) 0%, rgba(20, 17, 15, 0.55) 42%, rgba(20, 17, 15, 0.22) 72%),
		linear-gradient(180deg, rgba(20, 17, 15, 0.15) 0%, rgba(20, 17, 15, 0.72) 100%);
}

.oelc-cover__content {
	position: relative;
	z-index: 1;
	padding: clamp(5rem, 12vw, 8rem) 0 clamp(2.75rem, 7vw, 4rem);
	max-width: 38rem;
	animation: oelc-rise 1s var(--oelc-ease) 0.12s both;
}

.oelc-cover__kicker {
	margin: 0 0 1rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--oelc-azafran);
}

.oelc-cover__brand {
	margin: 0 0 0.85rem;
	font-family: var(--oelc-display);
	font-size: clamp(2.4rem, 7vw, 4.6rem);
	font-weight: 900;
	letter-spacing: -0.045em;
	line-height: 0.92;
	color: var(--oelc-white);
	text-wrap: balance;
}

.oelc-cover__title {
	margin: 0 0 1.1rem;
	font-family: var(--oelc-display);
	font-size: clamp(1.65rem, 3.8vw, 2.35rem);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: color-mix(in srgb, var(--oelc-white) 92%, var(--oelc-azafran));
	max-width: 16ch;
}

.oelc-cover__lead {
	margin: 0 0 1.6rem;
	font-size: 1.08rem;
	line-height: 1.55;
	color: color-mix(in srgb, var(--oelc-white) 82%, transparent);
	max-width: 32rem;
}

.oelc-cover__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1.75rem;
}

.oelc-cover .oelc-btn--ghost {
	color: var(--oelc-white);
	border-color: color-mix(in srgb, var(--oelc-white) 42%, transparent);
}

.oelc-cover .oelc-btn--ghost:hover {
	color: var(--oelc-white);
	border-color: var(--oelc-white);
	background: color-mix(in srgb, var(--oelc-white) 10%, transparent);
}

.oelc-cover__search {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	max-width: 28rem;
	padding-top: 0.25rem;
	border-top: 1px solid color-mix(in srgb, var(--oelc-white) 18%, transparent);
}

.oelc-cover__search input[type="search"] {
	flex: 1 1 12rem;
	min-height: 2.85rem;
	padding: 0.65rem 0.95rem;
	border: 0;
	border-radius: var(--oelc-radius);
	background: color-mix(in srgb, var(--oelc-white) 94%, transparent);
	font: inherit;
	color: var(--oelc-ink);
}

.oelc-cover__search input:focus {
	outline: 2px solid var(--oelc-azafran);
	outline-offset: 1px;
}

.oelc-cover__scroll {
	position: absolute;
	right: clamp(1rem, 4vw, 2.5rem);
	bottom: 1.5rem;
	z-index: 2;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--oelc-white) 70%, transparent);
	text-decoration: none;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	animation: oelc-fade-in 1.2s var(--oelc-ease) 0.6s both;
}

.oelc-cover__scroll:hover {
	color: var(--oelc-azafran);
}

/* ——— Mag sections ——— */
.oelc-section {
	padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.oelc-section__head {
	display: grid;
	gap: 0.35rem;
	margin-bottom: 2rem;
	max-width: 36rem;
}

.oelc-section__head h2 {
	margin: 0;
	font-family: var(--oelc-display);
	font-size: clamp(2rem, 4.5vw, 3.1rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
}

.oelc-section__head p {
	margin: 0;
	color: var(--oelc-muted);
}

.oelc-section__more {
	margin: 2rem 0 0;
	text-align: center;
}

.oelc-rail {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.65rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.oelc-rail a {
	display: inline-block;
	padding: 0.4rem 0;
	color: var(--oelc-ink);
	text-decoration: none;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-bottom: 2px solid transparent;
}

.oelc-rail a:hover {
	color: var(--oelc-pimenton);
	border-bottom-color: var(--oelc-pimenton);
}

.oelc-cats {
	padding-top: 1.5rem;
	padding-bottom: 0;
	border-bottom: 1px solid color-mix(in srgb, var(--oelc-ink) 8%, transparent);
}

/* ——— Editorial feature + grid ——— */
.oelc-feature {
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	gap: clamp(1.25rem, 3vw, 2.5rem);
	align-items: stretch;
	margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
	text-decoration: none;
	color: inherit;
	background: var(--oelc-white);
	border: 1px solid color-mix(in srgb, var(--oelc-ink) 8%, transparent);
	overflow: hidden;
	transition: border-color 0.25s ease, transform 0.4s var(--oelc-ease);
}

.oelc-feature:hover {
	border-color: var(--oelc-pimenton);
	transform: translateY(-3px);
	text-decoration: none;
	color: inherit;
}

.oelc-feature__media {
	min-height: 18rem;
	background: var(--oelc-stone);
	overflow: hidden;
}

.oelc-feature__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--oelc-ease);
}

.oelc-feature:hover .oelc-feature__media img {
	transform: scale(1.05);
}

.oelc-feature__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(1.25rem, 3vw, 2.25rem);
}

.oelc-feature__label {
	margin: 0 0 0.75rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--oelc-pimenton);
}

.oelc-feature__title {
	margin: 0 0 0.85rem;
	font-family: var(--oelc-display);
	font-size: clamp(1.75rem, 3.5vw, 2.6rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.05;
}

.oelc-feature__excerpt {
	margin: 0 0 1.1rem;
	color: var(--oelc-muted);
	font-size: 1rem;
}

.oelc-feature__meta {
	margin: 0;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--oelc-ink);
}

.oelc-mag {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.35rem 1.25rem;
}

.oelc-card {
	margin: 0;
	background: transparent;
	border: 0;
	overflow: visible;
	transition: transform 0.35s var(--oelc-ease);
}

.oelc-card:hover {
	transform: translateY(-5px);
}

.oelc-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
	height: 100%;
}

.oelc-card__media {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--oelc-stone);
	border-radius: var(--oelc-radius);
}

.oelc-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s var(--oelc-ease);
}

.oelc-card:hover .oelc-card__img {
	transform: scale(1.06);
}

.oelc-card__placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(145deg, var(--oelc-stone), color-mix(in srgb, var(--oelc-pimenton) 18%, var(--oelc-stone)));
}

.oelc-card__body {
	padding: 0.9rem 0.1rem 0.35rem;
}

.oelc-card__cat {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--oelc-pimenton);
	margin-bottom: 0.35rem;
}

.oelc-card__title {
	margin: 0;
	font-family: var(--oelc-display);
	font-size: 1.28rem;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.oelc-card__meta {
	margin: 0.4rem 0 0;
	font-size: 0.82rem;
	color: var(--oelc-muted);
}

.oelc-card--feature .oelc-card__media {
	aspect-ratio: 16 / 10;
}

/* ——— Single cinematic ——— */
.oelc-recipe-hero {
	position: relative;
	min-height: clamp(28rem, 78vh, 42rem);
	display: grid;
	align-items: end;
	color: var(--oelc-white);
	background: var(--oelc-ink);
	overflow: hidden;
}

.oelc-recipe-hero__media {
	position: absolute;
	inset: 0;
}

.oelc-recipe-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: oelc-ken 16s var(--oelc-ease) both;
}

.oelc-recipe-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(20, 17, 15, 0.1) 0%, rgba(20, 17, 15, 0.82) 100%),
		linear-gradient(90deg, rgba(20, 17, 15, 0.45) 0%, transparent 55%);
}

.oelc-recipe-hero__media--empty {
	background:
		radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--oelc-pimenton) 55%, transparent), transparent 55%),
		var(--oelc-pizarra);
}

.oelc-recipe-hero__content {
	position: relative;
	z-index: 1;
	padding: 3.5rem 0 2.75rem;
	animation: oelc-rise 0.9s var(--oelc-ease) 0.1s both;
}

.oelc-recipe-hero .oelc-breadcrumbs,
.oelc-recipe-hero .oelc-breadcrumbs a {
	color: color-mix(in srgb, var(--oelc-white) 78%, transparent);
}

.oelc-back {
	margin: 0 0 0.65rem;
}

.oelc-back__link {
	display: inline-flex;
	align-items: center;
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-decoration: none;
	color: color-mix(in srgb, var(--oelc-white) 88%, transparent);
}

.oelc-back__link:hover {
	color: var(--oelc-azafran);
}

.oelc-recipe-hero__title {
	margin: 0.55rem 0 0.85rem;
	font-family: var(--oelc-display);
	font-size: clamp(2.35rem, 6.5vw, 4.2rem);
	font-weight: 900;
	line-height: 0.98;
	letter-spacing: -0.04em;
	max-width: 14ch;
	text-wrap: balance;
}

.oelc-recipe-hero__byline {
	margin: 0 0 1.35rem;
	opacity: 0.88;
	font-size: 0.95rem;
}

.oelc-sticky-bar {
	position: sticky;
	top: 4.5rem;
	z-index: 30;
	background: color-mix(in srgb, var(--oelc-paper) 92%, transparent);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid color-mix(in srgb, var(--oelc-ink) 10%, transparent);
	transform: translateY(-100%);
	opacity: 0;
	transition: transform 0.35s var(--oelc-ease), opacity 0.35s ease;
}

.oelc-sticky-bar.is-visible {
	transform: translateY(0);
	opacity: 1;
}

.oelc-sticky-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 3.35rem;
	font-weight: 700;
	font-size: 0.92rem;
}

.oelc-recipe__intro {
	padding: 2.25rem 0 1.25rem;
}

.oelc-prose > *:first-child { margin-top: 0; }
.oelc-prose > *:last-child { margin-bottom: 0; }

.oelc-prose h2,
.oelc-prose h3 {
	font-family: var(--oelc-display);
	letter-spacing: -0.03em;
}

/* YouTube mode */
.oelc-youtube {
	margin: 1.25rem auto 2.25rem;
}

.oelc-youtube--mode {
	width: min(100% - 2rem, var(--oelc-wrap));
	padding: 1.25rem;
	background: var(--oelc-pizarra);
	color: var(--oelc-white);
	border-radius: var(--oelc-radius);
}

.oelc-youtube__label {
	margin: 0 0 0.85rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--oelc-azafran);
}

.oelc-youtube__facade {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: var(--oelc-radius);
	overflow: hidden;
	cursor: pointer;
	background: var(--oelc-ink);
	aspect-ratio: 16 / 9;
}

.oelc-youtube__facade img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.88;
}

.oelc-youtube__play {
	position: absolute;
	inset: 50% auto auto 50%;
	width: 4.25rem;
	height: 4.25rem;
	margin: -2.125rem 0 0 -2.125rem;
	border-radius: 50%;
	background: var(--oelc-pimenton);
}

.oelc-youtube__play::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-35%, -50%);
	border-style: solid;
	border-width: 0.55rem 0 0.55rem 0.95rem;
	border-color: transparent transparent transparent var(--oelc-white);
}

.oelc-youtube iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: var(--oelc-radius);
}

.oelc-youtube__cta {
	margin: 0.9rem 0 0;
	font-size: 0.95rem;
}

.oelc-youtube__cta a {
	color: var(--oelc-azafran);
}

/* Recipe panel */
.oelc-recipe-card {
	margin: 1.25rem auto 3.25rem;
	padding: clamp(1.35rem, 3vw, 2rem);
	background: var(--oelc-white);
	border: 1px solid color-mix(in srgb, var(--oelc-ink) 10%, transparent);
	border-left: 5px solid var(--oelc-pimenton);
	border-radius: var(--oelc-radius);
	scroll-margin-top: 7.5rem;
}

.oelc-recipe-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.35rem;
}

.oelc-recipe-card__head h2 {
	margin: 0;
	font-family: var(--oelc-display);
	font-size: clamp(1.85rem, 3vw, 2.35rem);
	font-weight: 900;
	letter-spacing: -0.04em;
}

.oelc-recipe-meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
	gap: 0.65rem;
	list-style: none;
	margin: 0 0 1.75rem;
	padding: 0;
}

.oelc-recipe-meta li {
	padding: 0.8rem 0.85rem;
	background: var(--oelc-paper);
	border-radius: var(--oelc-radius);
	border-top: 2px solid var(--oelc-azafran);
}

.oelc-recipe-meta span {
	display: block;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--oelc-muted);
	margin-bottom: 0.25rem;
}

.oelc-recipe-meta strong {
	font-size: 1.02rem;
}

.oelc-recipe-card__grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 2rem;
}

.oelc-ingredients h3,
.oelc-steps h3 {
	margin: 0 0 0.9rem;
	font-family: var(--oelc-display);
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.03em;
}

.oelc-ingredients ul,
.oelc-steps ol {
	margin: 0;
	padding-left: 1.15rem;
}

.oelc-ingredients li,
.oelc-steps li {
	margin-bottom: 0.6rem;
}

.oelc-steps li::marker {
	font-weight: 700;
	color: var(--oelc-pimenton);
}

.oelc-thermomix {
	margin-top: 1.5rem;
	padding: 1rem 1.1rem;
	background: color-mix(in srgb, var(--oelc-azafran) 16%, var(--oelc-paper));
	border-radius: var(--oelc-radius);
}

.oelc-thermomix summary {
	cursor: pointer;
	font-weight: 700;
}

/* Related magazine strip */
.oelc-related h2 {
	font-family: var(--oelc-display);
	font-size: clamp(1.85rem, 3.5vw, 2.5rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	margin: 0 0 1.35rem;
}

.oelc-related .oelc-mag {
	grid-template-columns: repeat(3, 1fr);
}

/* Breadcrumbs / archive / page */
.oelc-breadcrumbs {
	font-size: 0.85rem;
	margin-bottom: 0.75rem;
}

.oelc-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

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

.oelc-archive-hero,
.oelc-page__header {
	padding: 2.75rem 0 1rem;
}

.oelc-archive-hero__title,
.oelc-page__title {
	margin: 0;
	font-family: var(--oelc-display);
	font-size: clamp(2.2rem, 5vw, 3.4rem);
	font-weight: 900;
	letter-spacing: -0.04em;
	line-height: 1;
}

.oelc-archive-hero__desc {
	color: var(--oelc-muted);
	margin-top: 0.55rem;
}

.oelc-pagination {
	margin-top: 2rem;
}

.oelc-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.oelc-pagination a,
.oelc-pagination span {
	display: inline-flex;
	padding: 0.45rem 0.75rem;
	border: 1px solid color-mix(in srgb, var(--oelc-ink) 14%, transparent);
	border-radius: var(--oelc-radius);
	text-decoration: none;
	color: var(--oelc-ink);
	font-weight: 600;
}

.oelc-empty {
	padding: 2rem;
	background: var(--oelc-white);
	border-radius: var(--oelc-radius);
	border: 1px dashed color-mix(in srgb, var(--oelc-ink) 22%, transparent);
}

.oelc-404 {
	padding-top: 4rem;
}

.oelc-404 h1 {
	font-family: var(--oelc-display);
	font-size: clamp(2.2rem, 5vw, 3.2rem);
	font-weight: 900;
	letter-spacing: -0.04em;
}

/* ——— Footer ——— */
.oelc-footer {
	margin-top: 3.5rem;
	padding: 3.5rem 0 1.5rem;
	background: var(--oelc-ink);
	color: color-mix(in srgb, var(--oelc-white) 88%, transparent);
}

.oelc-footer a {
	color: var(--oelc-white);
}

.oelc-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 2rem;
	align-items: start;
}

.oelc-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.5rem;
}

.oelc-footer__list a {
	text-decoration: none;
	font-weight: 600;
	font-size: 0.85rem;
	letter-spacing: 0.04em;
}

.oelc-footer__name {
	margin: 0 0 0.55rem;
	font-family: var(--oelc-display);
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	font-weight: 900;
	letter-spacing: -0.04em;
	line-height: 1;
	color: var(--oelc-white);
}

.oelc-footer__tag {
	margin: 0 0 1.15rem;
	color: color-mix(in srgb, var(--oelc-white) 68%, transparent);
	max-width: 28rem;
}

.oelc-footer__nav-title {
	margin: 0 0 0.75rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--oelc-azafran);
}

.oelc-footer__legal-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.5rem;
}

.oelc-footer__legal-list a {
	text-decoration: none;
	font-weight: 600;
	font-size: 0.85rem;
	letter-spacing: 0.04em;
}

.oelc-footer__legal {
	margin-top: 2.25rem;
	padding-top: 1.1rem;
	border-top: 1px solid color-mix(in srgb, var(--oelc-white) 12%, transparent);
	font-size: 0.85rem;
	opacity: 0.7;
}

.oelc-footer .oelc-btn--ghost {
	color: var(--oelc-white);
	border-color: color-mix(in srgb, var(--oelc-white) 35%, transparent);
}

.oelc-footer .oelc-btn--ghost:hover {
	border-color: var(--oelc-azafran);
	color: var(--oelc-azafran);
}

/* Search form reuse */
.oelc-search {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	max-width: 32rem;
}

.oelc-search input[type="search"] {
	flex: 1 1 12rem;
	min-height: 2.75rem;
	padding: 0.65rem 0.9rem;
	border: 1px solid color-mix(in srgb, var(--oelc-ink) 15%, transparent);
	border-radius: var(--oelc-radius);
	background: var(--oelc-white);
	font: inherit;
}

.oelc-search input:focus {
	outline: 2px solid var(--oelc-pimenton);
	outline-offset: 1px;
}

/* Legacy hero aliases (archives etc.) */
.oelc-hero {
	position: relative;
	isolation: isolate;
	padding: clamp(3.5rem, 10vw, 7rem) 0 clamp(2.5rem, 6vw, 4rem);
	overflow: hidden;
}

.oelc-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.35rem 1.25rem;
}

@keyframes oelc-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes oelc-rise {
	from {
		opacity: 0;
		transform: translateY(22px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes oelc-ken {
	from { transform: scale(1.06); }
	to { transform: scale(1); }
}

@media (max-width: 960px) {
	.oelc-feature,
	.oelc-recipe-card__grid,
	.oelc-footer__grid {
		grid-template-columns: 1fr;
	}

	.oelc-mag,
	.oelc-grid,
	.oelc-related .oelc-mag {
		grid-template-columns: repeat(2, 1fr);
	}

	.oelc-feature__media {
		min-height: 14rem;
		aspect-ratio: 16 / 10;
	}
}

@media (max-width: 700px) {
	.oelc-nav-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.oelc-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: var(--oelc-paper);
		border-bottom: 1px solid color-mix(in srgb, var(--oelc-ink) 10%, transparent);
		padding: 1rem;
	}

	.oelc-nav.is-open {
		display: block;
	}

	.oelc-nav__list {
		flex-direction: column;
		gap: 0.85rem;
	}

	.oelc-mag,
	.oelc-grid,
	.oelc-related .oelc-mag {
		grid-template-columns: 1fr;
	}

	.oelc-header {
		position: relative;
	}

	.oelc-sticky-bar {
		top: 0;
	}

	.oelc-cover {
		min-height: 92svh;
	}

	.oelc-cover__scroll {
		display: none;
	}

	.oelc-card__media {
		aspect-ratio: 4 / 3;
	}
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}
