/* ═══════════════════════════════════════════════════════════════════════
   MLR — press pages (/press/, /press/clippings/, /press/news/ and each
   item's page); loaded by inc/press.php.
   Tabs bar under the header, items grouped by year under a gold rule,
   three cards per row (two on tablet, one on phones).
   ═══════════════════════════════════════════════════════════════════════ */

.mlr-press-page .milenia-content {
	padding-top: 0 !important;
}

.mlr-press .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* ─── Tabs ─────────────────────────────────────────────────────────── */

/* The tabs line up with the content column; the hairlines run edge to
   edge (clip-path keeps the full-bleed lines from widening the page). */
.mlr-press-tabs {
	position: relative;
	z-index: 0;
}

.mlr-press-tabs::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	bottom: 0;
	left: -100vmax;
	right: -100vmax;
	border-top: 1px solid var(--mlr-line);
	border-bottom: 1px solid var(--mlr-line);
	background: #fff;
}

.mlr-press {
	clip-path: inset(0 -100vmax);
}

.mlr-press-tabs ul {
	display: flex;
	gap: 64px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	overflow-x: auto;
	scrollbar-width: none;
}

.mlr-press-tabs li {
	margin: 0 !important;
	padding: 0 !important;
}

.mlr-press-tabs li::before {
	content: none !important;
}

.mlr-press-tabs a {
	display: block;
	padding: 30px 0 27px;
	border-bottom: 3px solid transparent;
	font-family: "Jost", sans-serif;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.04em;
	white-space: nowrap;
	color: var(--mlr-navy) !important;
	text-decoration: none !important;
	transition: border-color 0.25s ease, color 0.25s ease;
}

.mlr-press-tabs a:hover {
	color: var(--mlr-gold) !important;
}

.mlr-press-tabs a.is-active {
	border-bottom-color: var(--mlr-gold);
}

/* ─── Year groups ──────────────────────────────────────────────────── */

.mlr-press {
	padding-bottom: 96px;
}

.mlr-press-year {
	margin-top: 112px;
}

.mlr-press-year + .mlr-press-year {
	margin-top: 96px;
}

.mlr-press-year__title {
	margin: 0 0 60px !important;
	padding: 0 0 10px !important;
	border-bottom: 1px solid var(--mlr-gold);
	font-family: "Cormorant Garamond", serif !important;
	font-size: 42px !important;
	font-weight: 400 !important;
	line-height: 1.1 !important;
	letter-spacing: 0.01em !important;
	text-transform: none !important;
	color: var(--mlr-navy) !important;
}

.mlr-press__empty {
	margin: 112px 0 0;
	font-family: "Cormorant Garamond", serif;
	font-size: 24px;
	font-style: italic;
	color: var(--mlr-muted);
}

/* ─── Cards ────────────────────────────────────────────────────────── */

.mlr-press-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px 32px;
}

.mlr-press-card {
	margin: 0;
	background: #fff;
	border: 1px solid rgba(14, 27, 46, 0.08);
	box-shadow: 0 2px 14px rgba(14, 27, 46, 0.06);
	transition: box-shadow 0.3s ease;
}

.mlr-press-card:hover {
	box-shadow: 0 14px 36px rgba(14, 27, 46, 0.12);
}

.mlr-press-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit !important;
	text-decoration: none !important;
}

.mlr-press-card__media {
	position: relative;
	aspect-ratio: 5 / 3;
	overflow: hidden;
	background: var(--mlr-cream);
}

.mlr-press-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.mlr-press-card:hover .mlr-press-card__media img {
	transform: scale(1.03);
}

.mlr-press-card__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	color: var(--mlr-gold);
}

.mlr-press-card__ext {
	position: absolute;
	top: 20px;
	right: 22px;
	color: #fff;
	filter: drop-shadow(0 1px 3px rgba(14, 27, 46, 0.5));
	line-height: 0;
}

.mlr-press-card__body {
	flex: 1;
	padding: 28px 24px 44px;
}

.mlr-press-card__meta {
	margin: 0 0 30px !important;
	font-family: "Jost", sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.6 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mlr-gold);
}

.mlr-press-card__title {
	margin: 0 !important;
	font-family: "Cormorant Garamond", serif !important;
	font-size: 26px !important;
	font-weight: 500 !important;
	line-height: 1.25 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: var(--mlr-navy) !important;
	transition: color 0.25s ease;
}

.mlr-press-card:hover .mlr-press-card__title {
	color: var(--mlr-gold) !important;
}

/* ─── An item's own page ───────────────────────────────────────────── */

.mlr-press-item {
	max-width: 920px;
	margin: 96px auto 0;
}

.mlr-press-item__title {
	margin: 0 0 40px !important;
	font-family: "Cormorant Garamond", serif !important;
	font-size: 46px !important;
	font-weight: 400 !important;
	line-height: 1.15 !important;
	letter-spacing: 0.01em !important;
	text-transform: none !important;
	color: var(--mlr-navy) !important;
}

.mlr-press-item__cover {
	margin: 0 0 48px;
}

.mlr-press-item__cover img {
	display: block;
	width: 100%;
	height: auto;
}

.mlr-press-item__content {
	font-size: 16px;
	line-height: 1.8;
	color: var(--mlr-navy);
}

.mlr-press-item__back {
	margin-top: 56px;
	padding-top: 24px;
	border-top: 1px solid var(--mlr-line);
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.mlr-press-item__back a {
	color: var(--mlr-navy) !important;
}

.mlr-press-item__back a:hover {
	color: var(--mlr-gold) !important;
}

/* ─── Tablet & phone ───────────────────────────────────────────────── */

@media (max-width: 991.98px) {
	.mlr-press-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 24px;
	}
	.mlr-press-tabs ul {
		gap: 40px;
	}
	.mlr-press-year {
		margin-top: 72px;
	}
}

@media (max-width: 599.98px) {
	.mlr-press-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.mlr-press-tabs ul {
		gap: 28px;
	}
	.mlr-press-tabs a {
		padding: 20px 0 17px;
		font-size: 14px;
	}
	.mlr-press-year {
		margin-top: 56px;
	}
	.mlr-press-year__title {
		margin-bottom: 32px !important;
		font-size: 34px !important;
	}
	.mlr-press-card__title {
		font-size: 24px !important;
	}
	.mlr-press-item {
		margin-top: 56px;
	}
	.mlr-press-item__title {
		font-size: 34px !important;
	}
}
