/*
Theme Name: National Lampoon Experience
Theme URI: https://nationallampoon.com
Author: The National Lampoon Company LLC
Description: Official block theme for NationalLampoon.com. Section switches, cast and alumni galleries, new and legacy media. Built SEO-first.
Version: 0.11.4
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: national-lampoon-experience
*/

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 86px;
}

body {
	margin: 0;
	background-color: var(--wp--preset--color--paper, #f2e7d2);
	background-image: radial-gradient(#8d775520 0.7px, transparent 0.7px);
	background-size: 5px 5px;
	color: var(--wp--preset--color--ink, #12110e);
	-webkit-font-smoothing: antialiased;
}

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

:focus-visible {
	outline: 3px solid var(--wp--preset--color--red, #c62b20);
	outline-offset: 2px;
}

/* The red full stop used after section headings, e.g. "MEDIA." */
.nlx-dot {
	color: var(--wp--preset--color--red, #c62b20);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}

/* ==========================================================================
   Header and navigation
   ========================================================================== */

.nlx-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--wp--preset--color--paper, #f2e7d2);
	border-bottom: 1px solid #27201933;
}

.admin-bar .nlx-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .nlx-header {
		top: 46px;
	}
}

.nlx-header__inner {
	display: flex;
	align-items: center;
	gap: 34px;
	min-height: 90px;
	padding: 18px var(--wp--custom--gutter, 3.3vw);
}

.nlx-logo {
	display: block;
	flex: 0 0 auto;
	line-height: 0;
}

.nlx-logo img {
	display: block;
	width: auto;
	height: clamp(34px, 4vw, 56px);
}

.nlx-nav {
	border-left: 1px solid #28251f;
	padding-left: 34px;
}

.nlx-nav ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(15px, 2.8vw, 48px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.nlx-nav a {
	color: inherit;
	font-family: var(--wp--preset--font-family--body);
	font-size: clamp(12px, 1.15vw, 17px);
	font-weight: 900;
	letter-spacing: 0.02em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
}

.nlx-nav a:hover,
.nlx-nav a:focus-visible,
.nlx-nav a[aria-current] {
	color: var(--wp--preset--color--red, #c62b20);
}

@media (max-width: 700px) {
	.nlx-header__inner {
		flex-wrap: wrap;
		gap: 12px;
		min-height: 76px;
		padding: 13px 4%;
	}

	.nlx-nav {
		flex: 1 1 100%;
		overflow-x: auto;
		border-left: 0;
		padding: 7px 0 3px;
		scrollbar-width: none;
	}

	.nlx-nav ul {
		flex-wrap: nowrap;
		gap: clamp(12px, 3vw, 24px);
	}

	.nlx-nav a {
		font-size: 12px;
		white-space: nowrap;
	}
}

/* ==========================================================================
   Main and homepage sections
   ========================================================================== */

.nlx-main {
	min-height: 60vh;
}

.nlx-lead {
	padding: 18px var(--wp--custom--gutter, 3.3vw) 7px;
}

.nlx-lead__title {
	margin: 0;
	font-size: clamp(25px, 3.25vw, 53px);
}

.nlx-lead__intro {
	max-width: 52ch;
	margin: 12px 0 0;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 14px;
	line-height: 1.4;
}

.nlx-section {
	padding: var(--wp--custom--section-pad, clamp(60px, 8vw, 140px)) var(--wp--custom--gutter, 3.3vw);
	border-top: 2px solid var(--wp--preset--color--ink, #12110e);
}

.nlx-section--banner {
	padding-top: 18px;
	padding-bottom: 18px;
	border-top: 0;
}

.nlx-section__heading {
	margin: 0;
	font-size: clamp(38px, 5.3vw, 82px);
}

.nlx-section__placeholder {
	max-width: 60ch;
	margin: 16px 0 0;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 14px;
	color: var(--wp--preset--color--muted, #675d50);
}

.nlx-banner-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(175px, 22vw, 320px);
	margin-top: 18px;
	background: #1b1914;
	color: #f7eed9;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.nlx-footer {
	border-top: 2px solid var(--wp--preset--color--ink, #12110e);
}

.nlx-footer__inner {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 28px var(--wp--custom--gutter, 3.3vw);
}

.nlx-footer .nlx-nav {
	border-left: 0;
	padding-left: 0;
}

.nlx-footer__copy,
.nlx-footer__disclosure {
	margin: 0;
	font-size: 11px;
	color: var(--wp--preset--color--muted, #675d50);
}

.nlx-footer__disclosure a {
	color: inherit;
	text-decoration: underline;
}

/* ==========================================================================
   Generic page content (pages, posts, archives, search, 404)
   ========================================================================== */

.nlx-page {
	padding: clamp(32px, 5vw, 72px) var(--wp--custom--gutter, 3.3vw);
}

.nlx-page > * {
	max-width: var(--wp--style--global--content-size, 1100px);
}

.nlx-page .wp-block-post-title,
.nlx-page .wp-block-query-title {
	margin: 0 0 24px;
	font-size: clamp(38px, 5.3vw, 82px);
}

.nlx-page .wp-block-post-template {
	padding: 0;
	list-style: none;
}

.nlx-page .wp-block-post-template > li {
	padding: 18px 0;
	border-top: 1px solid #27201933;
}

/* ------------------------------------------------------------------
   Cast profile (follows the V53 profile page)
   ------------------------------------------------------------------ */
.nlx-profile {
	--nlx-p-red: #b52624;
	--nlx-p-ink: #211c1a;
	max-width: 1340px;
	margin: 0 auto;
	padding: 34px clamp(22px, 5vw, 74px) 40px;
	font-family: Arial, Helvetica, sans-serif;
	color: #1b1917;
}
.nlx-profile__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 18px;
	border-bottom: 2px solid #26201d;
	padding-bottom: 20px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .12em;
}
.nlx-profile__back {
	background: var(--nlx-p-ink);
	color: #f5e9d7;
	padding: 14px 20px;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .08em;
	text-decoration: none;
}
.nlx-profile__back:hover { background: var(--nlx-p-red); color: #fff; }
.nlx-profile__hero {
	display: grid;
	grid-template-columns: minmax(220px, 37%) 1fr;
	gap: clamp(25px, 5vw, 72px);
	padding: 48px 0 54px;
	border-bottom: 4px solid var(--nlx-p-ink);
	align-items: center;
}
.nlx-profile__photo {
	aspect-ratio: 1;
	overflow: hidden;
	border: 9px solid #1d1918;
	box-shadow: 12px 12px 0 var(--nlx-p-red);
	background: #e6d9c0;
}
.nlx-profile__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.nlx-profile__nophoto { display: block; width: 100%; height: 100%; }
.nlx-profile__kicker,
.nlx-colhead > span {
	color: var(--nlx-p-red);
	letter-spacing: .2em;
	font-size: 12px;
	font-weight: 900;
}
.nlx-profile__name {
	font-family: var(--wp--preset--font-family--display, Impact, 'Arial Narrow', sans-serif);
	font-weight: 400;
	text-transform: none;
	font-size: clamp(72px, 10vw, 150px);
	letter-spacing: -.01em;
	line-height: .9;
	margin: 20px 0 26px;
}
.nlx-profile__dot { color: var(--nlx-p-red); }
.nlx-profile__rule { height: 9px; width: 95px; background: var(--nlx-p-red); margin-bottom: 25px; }
.nlx-profile__intro h2 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: 900;
	letter-spacing: .13em;
	margin: 0 0 12px;
}
.nlx-profile__bio {
	font-family: Georgia, serif;
	font-size: clamp(16px, 1.65vw, 21px);
	line-height: 1.5;
	max-width: 640px;
}
.nlx-profile__bio > * { margin: 0 0 13px; }
.nlx-profile__bio--muted { font-size: 15px; color: #6d6157; }
.nlx-profile__cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(30px, 6vw, 95px);
	padding: 48px 0 65px;
}
.nlx-colhead { border-bottom: 2px solid #231d1a; padding-bottom: 14px; margin-bottom: 24px; }
.nlx-colhead h2 {
	font-family: var(--wp--preset--font-family--display, Impact, 'Arial Narrow', sans-serif);
	font-weight: 400;
	font-size: clamp(38px, 5vw, 65px);
	line-height: 1;
	margin: 8px 0 0;
}
.nlx-work { border-bottom: 2px solid #2b211d; padding: 0 0 13px; margin-bottom: 16px; }
.nlx-work summary {
	cursor: pointer;
	font: 900 19px/1.4 Arial, sans-serif;
	letter-spacing: .055em;
	padding: 11px 0;
	list-style: none;
}
.nlx-work summary::-webkit-details-marker { display: none; }
.nlx-work summary::after { content: '+'; float: right; color: var(--nlx-p-red); font-size: 24px; }
.nlx-work[open] summary::after { content: '\2212'; }
.nlx-work__items { display: flex; flex-wrap: wrap; gap: 21px 23px; padding: 8px 0 18px; }
.nlx-work__empty { font: italic 14px Georgia, serif; color: #766a60; margin: 0; padding: 0 0 12px; }
.nlx-poster { display: flex; flex-direction: column; gap: 14px; width: min(220px, 100%); color: inherit; text-decoration: none; }
.nlx-poster__art { display: block; border: 8px solid #201b19; box-shadow: 9px 9px 0 var(--nlx-p-red); aspect-ratio: 2 / 3; overflow: hidden; background: #1d1918; box-sizing: border-box; }
.nlx-poster__art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.nlx-poster__blank {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	padding: 25px;
	text-align: center;
	color: #fff;
	background: #1d1918;
	font-family: var(--wp--preset--font-family--display, Impact, sans-serif);
	font-size: 24px;
	line-height: 1.05;
	text-transform: uppercase;
}
.nlx-poster__caption { font-size: 11px; letter-spacing: .08em; font-weight: 900; line-height: 1.6; margin-top: 8px; }
a.nlx-poster:hover .nlx-poster__caption { color: var(--nlx-p-red); }
.nlx-social-list { display: grid; gap: 13px; }
.nlx-social {
	min-height: 82px;
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 15px 20px;
	background: #ba302b;
	color: #fff5e5;
	text-decoration: none;
	border: 2px solid var(--nlx-p-ink);
	box-shadow: 5px 5px 0 var(--nlx-p-ink);
	transition: transform .15s, box-shadow .15s;
}
.nlx-social:nth-child(2) { background: var(--nlx-p-ink); }
.nlx-social:nth-child(3) { background: #b98b57; color: var(--nlx-p-ink); }
.nlx-social:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--nlx-p-ink); }
.nlx-social__icon { width: 47px; height: 47px; flex: none; display: grid; place-items: center; border: 2px solid currentColor; border-radius: 12px; }
.nlx-social__icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.nlx-social__name { font-family: Georgia, serif; font-size: clamp(20px, 2.8vw, 32px); font-weight: 900; }
.nlx-social__arrow { margin-left: auto; font-size: 22px; }
@media (max-width: 650px) {
	.nlx-profile { padding: 20px; }
	.nlx-profile__hero,
	.nlx-profile__cols { grid-template-columns: 1fr; gap: 30px; }
	.nlx-profile__hero { padding: 28px 0 35px; }
	.nlx-profile__name { font-size: clamp(68px, 15vw, 110px); }
	.nlx-profile__top span { display: none; }
	.nlx-profile__photo { max-width: 360px; }
	.nlx-profile__cols { padding-top: 30px; }
}
@media (prefers-reduced-motion: reduce) {
	.nlx-social { transition: none; }
}

/* ------------------------------------------------------------------
   Media detail page (follows the V53 show page)
   ------------------------------------------------------------------ */
.nlx-show {
	background: #101010;
	color: #f6f3eb;
	padding: clamp(20px, 4vw, 62px);
	min-height: 60vh;
}
.nlx-show *, .nlx-show *::before, .nlx-show *::after { box-sizing: border-box; }
.nlx-show__shell { max-width: 1190px; margin: 0 auto; }
.nlx-show-back {
	display: inline-block;
	border: 1px solid #777;
	background: transparent;
	color: #fff;
	font-weight: 700;
	padding: 12px 17px;
	margin-bottom: 32px;
	text-decoration: none;
}
.nlx-show-back:hover { background: #f0c83b; color: #121212; border-color: #f0c83b; }
.nlx-show-layout {
	display: grid;
	grid-template-columns: minmax(195px, 330px) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 64px);
	align-items: start;
}
.nlx-show-poster { width: 100%; height: auto; display: block; object-fit: contain; background: #202020; }
.nlx-show-poster--blank {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 2 / 3;
	padding: 28px;
	text-align: center;
	background: #000;
	border: 1px solid #333;
	color: #fff;
	font-family: var(--wp--preset--font-family--display, Impact, sans-serif);
	font-size: clamp(26px, 3vw, 38px);
	line-height: 1.05;
	text-transform: uppercase;
}
.nlx-show-action {
	display: block;
	text-align: center;
	width: 100%;
	margin-top: 16px;
	background: #f0c83b;
	color: #121212;
	text-decoration: none;
	font-weight: 900;
	letter-spacing: .045em;
	font-size: clamp(14px, 1.5vw, 20px);
	padding: 18px 10px;
}
.nlx-show-action--alt { background: transparent; color: #f0c83b; border: 2px solid #f0c83b; padding: 16px 10px; margin-top: 10px; }
a.nlx-show-action:hover { background: #fff; color: #121212; border-color: #fff; }
.nlx-show-action--off { cursor: default; }
.nlx-show-disclosure { font-size: 12px; color: #bdb8ab; margin: 12px 0 0; line-height: 1.4; }
.nlx-show-title {
	font-weight: 900;
	font-size: clamp(28px, 4.4vw, 58px);
	line-height: 1.07;
	overflow-wrap: anywhere;
	margin: 0 0 12px;
	font-family: var(--wp--preset--font-family--body, inherit);
	text-transform: none;
	letter-spacing: 0;
}
.nlx-show-subtitle { font-size: clamp(16px, 2vw, 23px); margin: 0 0 22px; color: #ddd; }
.nlx-show-section { margin-top: 26px; }
.nlx-show-label {
	font-family: var(--wp--preset--font-family--body, inherit);
	font-size: 14px;
	letter-spacing: .09em;
	font-weight: 900;
	margin: 0 0 12px;
	text-transform: uppercase;
	color: #f0c83b;
}
.nlx-show-copy { font-size: clamp(15px, 1.6vw, 19px); line-height: 1.65; margin: 0; }
.nlx-show-copy > * { margin: 0 0 1em; }
.nlx-show-copy a { color: #f6f3eb; text-decoration-color: #f0c83b; text-underline-offset: 3px; }
.nlx-show-people { display: flex; overflow-x: auto; gap: 16px; padding: 2px 0 14px; margin: 0; list-style: none; scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
.nlx-show-people li { flex: 0 0 112px; scroll-snap-align: start; }
.nlx-show-person { display: block; color: #fff; text-align: center; text-decoration: none; }
.nlx-show-person img, .nlx-show-person__blank { display: block; width: 112px; height: 112px; object-fit: cover; background: #333; }
.nlx-show-person span { display: block; margin-top: 8px; font-size: 12px; font-weight: 700; line-height: 1.3; }
a.nlx-show-person:hover span { color: #f0c83b; }
.nlx-show-media-items { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.nlx-show-media-item { display: flex; gap: 12px; align-items: center; color: #fff; text-decoration: none; border: 1px solid #555; padding: 12px 16px; font-weight: 700; }
.nlx-show-media-item:hover { border-color: #f0c83b; color: #f0c83b; }
@media (max-width: 650px) {
	.nlx-show { padding: 20px 16px 48px; }
	.nlx-show-back { margin-bottom: 22px; }
	.nlx-show-layout { grid-template-columns: 1fr; gap: 28px; }
	.nlx-show-left { width: min(100%, 320px); margin: 0 auto; }
	.nlx-show-title { font-size: 34px; }
	.nlx-show-people li { flex-basis: 96px; }
	.nlx-show-person img, .nlx-show-person__blank { width: 96px; height: 96px; }
}


/* ==========================================================================
   Homepage (0.5.0): hero, cast galleries, stats, media. From V53.
   ========================================================================== */

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

.nlx-section.nlx-hero {
	padding: 0;
	border-top: 0;
}

.nlx-hero__intro {
	display: flex;
	align-items: end;
	gap: 22px;
	min-height: 105px;
	padding: 18px var(--wp--custom--gutter, 3.3vw) 7px;
}

.nlx-hero__now {
	align-self: center;
	color: var(--wp--preset--color--red, #c62b20);
	font-size: 14px;
	font-weight: 900;
	white-space: nowrap;
}

.nlx-hero__now::after {
	content: " ⟶";
	margin-left: 14px;
	color: var(--wp--preset--color--ink, #12110e);
	font-size: 24px;
}

.nlx-hero__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--display, Anton, Impact, sans-serif);
	font-size: clamp(25px, 3.25vw, 53px);
	font-weight: 400;
	line-height: 1;
}

.nlx-banner {
	position: relative;
	width: 100%;
	height: 33svh;
	min-height: 180px;
	overflow: hidden;
	background: #f0e9d7;
}

.nlx-banner__track {
	display: flex;
	width: max-content;
	height: 100%;
	animation: nlx-banner-scroll 80s linear infinite;
	will-change: transform;
}

.nlx-banner__panel {
	flex: 0 0 auto;
	height: 100%;
	aspect-ratio: 2381 / 724;
	overflow: hidden;
}

.nlx-banner__panel img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: fill;
}

@keyframes nlx-banner-scroll {
	to {
		transform: translateX(-50%);
	}
}

.nlx-hero__under {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 14px var(--wp--custom--gutter, 3.3vw) 0;
}

.nlx-hero__legend {
	display: flex;
	flex: 1;
	justify-content: space-around;
	gap: clamp(12px, 2.3vw, 34px);
}

.nlx-hero__legend span {
	font-size: clamp(9px, 1vw, 14px);
	font-weight: 900;
	white-space: nowrap;
}

.nlx-hero__legend b {
	color: var(--wp--preset--color--red, #c62b20);
}

.nlx-banner__controls {
	display: flex;
	align-items: center;
	gap: 15px;
}

.nlx-banner__controls[hidden] {
	display: none;
}

.nlx-banner__controls select {
	max-width: 110px;
	padding: 4px;
	border: 1px solid #8d7865;
	background: transparent;
	color: inherit;
	font: 700 12px Arial, sans-serif;
}

.nlx-banner__controls button {
	padding: 2px;
	border: 0;
	background: none;
	color: var(--wp--preset--color--red, #c62b20);
	font-size: 23px;
	cursor: pointer;
}

.nlx-hero__bottom {
	display: flex;
	align-items: end;
	justify-content: center;
	min-height: 170px;
	padding: 15px 5% 25px;
}

.nlx-hero__pitch {
	max-width: 520px;
	text-align: center;
}

.nlx-hero__pitch-text {
	margin: 0 0 16px;
	font-family: Georgia, serif;
	font-size: clamp(22px, 2.2vw, 34px);
	font-weight: 900;
	letter-spacing: -1px;
	line-height: 0.98;
}

.nlx-hero__pitch-text em {
	color: var(--wp--preset--color--red, #c62b20);
	font-style: normal;
}

.nlx-enter {
	display: inline-block;
	padding: 10px 19px;
	border: 1px solid #1a1815;
	color: inherit;
	font-size: 15px;
	font-weight: 900;
	text-decoration: none;
}

.nlx-enter:hover,
.nlx-enter:focus-visible {
	background: var(--wp--preset--color--ink, #12110e);
	color: var(--wp--preset--color--paper, #f2e7d2);
}

/* ---- Cast ---- */
.nlx-section.nlx-cast {
	--nlx-tile: clamp(112px, 13vw, 190px);
	padding: 0;
	border-top: 2px solid var(--wp--preset--color--ink, #12110e);
}

.nlx-cast__intro {
	display: flex;
	align-items: start;
	gap: 4vw;
	padding: 32px 3vw 30px;
}

.nlx-cast__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--display, Anton, Impact, sans-serif);
	font-size: clamp(38px, 5.3vw, 82px);
	font-weight: 400;
	letter-spacing: -0.6px;
	line-height: 1;
	white-space: nowrap;
}

.nlx-cast__copy {
	max-width: 490px;
	padding-left: 30px;
	border-left: 1px solid #6e6557;
	font-family: var(--wp--preset--font-family--mono, "Special Elite", monospace);
	font-size: 14px;
	line-height: 1.4;
}

.nlx-cast__copy p {
	margin: 0 0 10px;
}

.nlx-cast__hint {
	margin-top: 12px;
	color: var(--wp--preset--color--red, #c62b20);
	font-family: var(--wp--preset--font-family--body, "Roboto Condensed", sans-serif);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.05em;
}

.nlx-gallery__scroller {
	overflow-x: auto;
	overflow-y: hidden;
	padding: 0 0 12px;
	scroll-behavior: smooth;
	scrollbar-color: #a42c22 #e1d6c3;
	scrollbar-width: thin;
	overscroll-behavior-x: contain;
}

.nlx-gallery__track {
	display: flex;
	align-items: stretch;
	width: max-content;
	min-width: 100%;
}

.nlx-group {
	display: flex;
	flex-shrink: 0;
	align-items: stretch;
}

.nlx-group__heading {
	display: flex;
	flex: 0 0 clamp(170px, 18vw, 300px);
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	width: clamp(170px, 18vw, 300px);
	padding: 18px 18px 20px;
	border-right: 1px solid #5c5148;
	border-left: 1px solid #5c5148;
	background: var(--wp--preset--color--paper-deep, #efe4d2);
}

.nlx-group:first-child .nlx-group__heading {
	border-left: 0;
}

.nlx-group__no {
	color: var(--wp--preset--color--red, #c62b20);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.08em;
}

.nlx-group__heading h3 {
	margin: 0;
	font-family: var(--wp--preset--font-family--display, Anton, Impact, sans-serif);
	font-size: clamp(27px, 3vw, 48px);
	font-weight: 400;
	line-height: 0.98;
	overflow-wrap: break-word;
}

.nlx-group__heading p {
	margin: 0;
	font-family: var(--wp--preset--font-family--mono, "Special Elite", monospace);
	font-size: 12px;
	line-height: 1.4;
}

.nlx-group__count {
	margin-top: 15px;
	color: var(--wp--preset--color--red, #c62b20);
	font-size: 12px;
	font-weight: 900;
}

.nlx-group__tiles {
	display: grid;
	grid-auto-columns: var(--nlx-tile);
	grid-auto-flow: column;
	grid-template-rows: repeat(3, var(--nlx-tile));
	align-content: start;
	gap: 2px;
	width: max-content;
	padding: 0 2px;
	background: #e9ddc8;
}

.nlx-tile {
	position: relative;
	display: block;
	width: var(--nlx-tile);
	height: var(--nlx-tile);
	overflow: hidden;
	background: #c5b49a;
	color: #fff;
	text-decoration: none;
}

.nlx-tile img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(0.18);
	transition: transform 0.25s, filter 0.25s;
}

.nlx-tile:hover img,
.nlx-tile:focus-visible img {
	filter: none;
	transform: scale(1.07);
}

.nlx-tile__name {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 7px 8px;
	background: rgba(23, 21, 18, 0.85);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	text-align: left;
	opacity: 0;
	transition: opacity 0.2s;
}

.nlx-tile:hover .nlx-tile__name,
.nlx-tile:focus-visible .nlx-tile__name {
	opacity: 1;
}

.nlx-gallery__nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 13px 3vw 17px;
	border-bottom: 1px solid rgba(64, 60, 52, 0.25);
}

.nlx-gallery__position {
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.08em;
}

.nlx-gallery__buttons {
	display: flex;
	gap: 8px;
}

.nlx-gallery__buttons[hidden] {
	display: none;
}

.nlx-gallery__buttons button,
.nlx-media__buttons button {
	width: 42px;
	height: 35px;
	border: 1px solid #211e19;
	background: transparent;
	color: var(--wp--preset--color--red, #c62b20);
	font-size: 22px;
	cursor: pointer;
}

.nlx-gallery__buttons button:hover,
.nlx-media__buttons button:hover {
	background: var(--wp--preset--color--ink, #12110e);
	color: var(--wp--preset--color--paper, #f2e7d2);
}

.nlx-empty {
	margin: 0;
	padding: 24px 4vw;
	font-family: var(--wp--preset--font-family--mono, "Special Elite", monospace);
}

/* ---- Stats ---- */
.nlx-section.nlx-stats {
	display: flex;
	align-items: center;
	min-height: 118px;
	padding: 22px 3vw;
	border-top: 0;
	background: #0e0e0c;
	color: #f0e7d4;
}

.nlx-stat {
	flex: 1;
	padding: 0 4%;
	border-right: 1px solid #8c887c;
}

.nlx-stat:first-child {
	padding-left: 0;
}

.nlx-stat:last-child {
	border-right: 0;
}

.nlx-stat strong {
	display: block;
	font-family: var(--wp--preset--font-family--display, Anton, Impact, sans-serif);
	font-size: clamp(28px, 4vw, 60px);
	font-weight: 400;
	line-height: 1;
}

.nlx-stat span {
	color: #e2c229;
	font-size: 12px;
	font-weight: 900;
}

/* ---- Media ---- */
.nlx-section.nlx-media {
	padding: clamp(35px, 5vw, 80px) 0 65px;
	overflow: hidden;
}

.nlx-media__heading {
	max-width: 1050px;
	padding: 0 4vw 28px;
}

.nlx-eyebrow {
	color: #c42b21;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.08em;
}

.nlx-media__heading h2 {
	margin: 8px 0 10px;
	color: #171510;
	font-family: var(--wp--preset--font-family--display, Anton, Impact, sans-serif);
	font-size: clamp(38px, 5.3vw, 82px); /* same as the cast heading */
	font-weight: 400;
	letter-spacing: -0.6px;
	line-height: 1;
}

.nlx-media__heading p {
	max-width: 680px;
	margin: 10px 0 0;
	font-family: var(--wp--preset--font-family--mono, "Special Elite", Georgia, serif);
	font-size: 17px;
	line-height: 1.55;
}

.nlx-media__tabs {
	display: flex;
	flex-wrap: wrap;
	margin: 0 4vw 16px;
	border-bottom: 2px solid #b62d21;
}

.nlx-media__tabs[hidden] {
	display: none;
}

.nlx-media__tab {
	padding: 14px 24px 12px;
	border: 0;
	border-bottom: 4px solid transparent;
	background: transparent;
	color: inherit;
	font: 900 clamp(17px, 2.4vw, 26px) / 1.2 Impact, "Arial Narrow", sans-serif;
	letter-spacing: 0.075em;
	opacity: 0.6;
	cursor: pointer;
}

.nlx-media__tab[aria-selected="true"] {
	border-bottom-color: #b62d21;
	opacity: 1;
}

.nlx-media__panel[hidden] {
	display: none;
}

.nlx-media__panel {
	min-height: 250px;
}

.nlx-media__gallery {
	width: 100%;
	padding: 15px 4vw;
	overflow-x: auto;
	overflow-y: hidden;
	background: #181713;
	scroll-behavior: smooth;
	scrollbar-color: #b62d21 #e2d5c0;
	scrollbar-width: thin;
	overscroll-behavior-inline: contain;
}

.nlx-media__track {
	--poster-width: clamp(130px, 15vw, 205px);
	--poster-height: calc(var(--poster-width) * 1.5);
	display: grid;
	grid-auto-columns: var(--poster-width);
	grid-auto-flow: column;
	grid-template-rows: repeat(var(--nlx-rows, 2), var(--poster-height));
	gap: 14px;
	width: max-content;
}

.nlx-mposter {
	position: relative;
	display: block;
	width: var(--poster-width);
	height: var(--poster-height);
	overflow: hidden;
	background: #322c26;
	color: #fff;
	text-decoration: none;
}

.nlx-mposter img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.2s;
}

.nlx-mposter:hover img,
.nlx-mposter:focus-visible img {
	transform: scale(1.035);
}

.nlx-mposter__label {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 8px 10px;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.02em;
}

.nlx-mposter--blank {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px;
	background: #000;
	text-align: center;
}

.nlx-mposter__title {
	color: #fff;
	font: 900 clamp(16px, 1.6vw, 22px) / 1.15 Impact, "Arial Narrow", sans-serif;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.nlx-media__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 4vw;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.04em;
}

.nlx-media__buttons {
	display: flex;
	gap: 8px;
}

.nlx-media__buttons[hidden] {
	display: none;
}

.nlx-kicker {
	color: #b62d21;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.1em;
}

.nlx-audio-heading {
	margin: 8px 4vw 18px;
	font-size: inherit;
	font-weight: 900;
	letter-spacing: 0.09em;
}

.nlx-audio-card {
	display: flex;
	align-items: center;
	gap: clamp(16px, 3vw, 38px);
	width: fit-content;
	max-width: calc(100% - 8vw);
	margin: 0 4vw 32px;
	color: inherit;
	text-decoration: none;
}

.nlx-audio-card img,
.nlx-audio-card__blank {
	display: block;
	flex-shrink: 0;
	width: clamp(170px, 25vw, 300px);
	height: auto;
	aspect-ratio: 1;
	object-fit: contain;
}

.nlx-audio-card__blank {
	background: #000;
}

.nlx-audio-card__copy {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 360px;
}

.nlx-audio-card__copy strong {
	font: 900 clamp(25px, 4vw, 46px) / 1.05 Impact, "Arial Narrow", sans-serif;
}

.nlx-audio-card__go {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.nlx-books-message {
	margin: 0 4vw 32px;
	padding: clamp(24px, 5vw, 65px);
	background: #181713;
	color: #f5e7d0;
	text-align: center;
}

.nlx-books-message h3 {
	margin: 12px 0;
	font: 900 clamp(36px, 6vw, 76px) / 1 Impact, "Arial Narrow", sans-serif;
}

.nlx-books-message h3 span {
	color: #c63728;
}

.nlx-books-message p {
	margin: 12px 0;
	font-size: clamp(17px, 2.3vw, 25px);
}

.nlx-books-message small {
	display: block;
	line-height: 1.5;
	opacity: 0.7;
}

@media (max-width: 650px) {
	.nlx-hero__intro {
		flex-wrap: wrap;
		gap: 8px;
		min-height: 95px;
		padding: 20px 5% 8px;
	}

	.nlx-hero__title {
		font-size: 31px;
	}

	.nlx-hero__now {
		font-size: 11px;
	}

	.nlx-hero__now::after {
		margin-left: 4px;
		font-size: 16px;
	}

	.nlx-banner {
		height: auto;
		min-height: 0;
		aspect-ratio: 2381 / 724;
	}

	.nlx-banner__panel {
		flex: 0 0 100vw;
		width: 100vw;
		height: auto;
	}

	.nlx-hero__under {
		gap: 4px;
		padding: 10px 3% 0;
	}

	.nlx-hero__legend {
		justify-content: flex-start;
		gap: 8px;
		overflow: hidden;
	}

	.nlx-hero__legend span {
		font-size: 9px;
	}

	.nlx-hero__legend span:nth-child(n + 4) {
		display: none;
	}

	.nlx-banner__controls {
		gap: 5px;
	}

	.nlx-banner__controls select {
		display: none;
	}

	.nlx-banner__controls button {
		font-size: 19px;
	}

	.nlx-hero__bottom {
		min-height: 260px;
		padding: 35px 5% 30px;
		align-items: center;
	}

	.nlx-hero__pitch-text {
		font-size: 30px;
	}

	.nlx-section.nlx-cast {
		--nlx-tile: clamp(94px, 30vw, 132px);
	}

	.nlx-cast__intro {
		display: block;
		padding: 23px 4%;
	}

	.nlx-cast__title {
		font-size: min(44px, 11.5vw);
		white-space: normal;
	}

	.nlx-cast__copy {
		margin-top: 15px;
		padding: 13px 0 0;
		border-top: 1px solid #8b7d6c;
		border-left: 0;
		font-size: 12px;
	}

	.nlx-group__heading {
		flex-basis: 145px;
		width: 145px;
		padding: 12px;
	}

	.nlx-group__heading h3 {
		font-size: 27px;
	}

	.nlx-group__heading p {
		font-size: 10px;
	}

	.nlx-gallery__nav {
		padding: 12px 4%;
	}

	.nlx-gallery__position {
		font-size: 10px;
	}

	.nlx-section.nlx-stats {
		min-height: 95px;
		padding: 18px 4%;
	}

	.nlx-stat {
		padding: 0 4%;
	}

	.nlx-stat strong {
		font-size: 26px;
	}

	.nlx-stat span {
		font-size: 9px;
	}

	.nlx-media__heading h2 {
		font-size: min(44px, 11.5vw);
	}

	.nlx-media__heading p {
		font-size: 13px;
	}

	.nlx-media__track {
		--poster-width: 108px;
		gap: 8px;
	}

	.nlx-media__tab {
		flex: 1;
		padding: 12px 8px;
	}

	.nlx-audio-card {
		flex-direction: column;
		align-items: flex-start;
	}

	.nlx-audio-card img,
	.nlx-audio-card__blank {
		width: min(75vw, 280px);
	}
}


/* ---- Live comedy: The Yellow Door (V57) ---- */
.nlx-section.nlx-live {
	padding: clamp(35px, 5vw, 80px) 0 65px;
	overflow: hidden;
}

.nlx-live__heading {
	max-width: none;
	padding-bottom: 24px;
}

.nlx-live__heading h2 {
	font-size: clamp(44px, 7.5vw, 128px);
	line-height: 1.03;
	letter-spacing: -0.025em;
	white-space: nowrap;
}

.nlx-live__heading p {
	max-width: 780px;
}

.nlx-live__art {
	position: relative;
	width: calc(100% - 4.6vw);
	margin: 0 auto;
	line-height: 0;
	overflow: hidden;
}

.nlx-live__art img {
	display: block;
	width: 100%;
	height: auto;
}

.nlx-live__door {
	position: absolute;
	left: 38.5%;
	top: 17%;
	width: 31.5%;
	height: 73%;
	z-index: 2;
	display: block;
	cursor: pointer;
	border-radius: 3px;
}

.nlx-live__door:focus-visible {
	outline: 4px solid #fff;
	outline-offset: -5px;
	box-shadow: 0 0 0 7px #c42b21;
}

@media (max-width: 900px) {
	.nlx-live__heading h2 {
		font-size: clamp(35px, 7.2vw, 72px);
		white-space: normal;
	}
}

@media (max-width: 650px) {
	.nlx-live__heading {
		padding-bottom: 16px;
	}

	.nlx-live__heading h2 {
		font-size: clamp(38px, 9vw, 64px);
		line-height: 1.02;
	}

	.nlx-live__art {
		width: calc(100% - 8vw);
	}

	.nlx-live__heading p {
		font-size: 15px;
	}
}
