/* Unenhanced slides remain a native, keyboard-accessible horizontal scroll track. */
.sr-event-hero {
	--sr-hero-night: #102332;
	--sr-hero-ivory: #fffaf0;
	--sr-hero-gold: #f3d4a1;
	--sr-hero-gutter: clamp(1.15rem, 7%, 7rem);
	position: relative;
	isolation: isolate;
	container: sr-hero / inline-size;
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	color: var(--sr-hero-ivory);
	background: var(--sr-hero-night);
}
.sr-event-hero *,
.sr-event-hero *::before,
.sr-event-hero *::after { box-sizing: inherit; }
.sr-event-hero .sr-event-hero__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	border: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
.sr-event-hero__viewport {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 100%;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
}
.sr-event-hero__slide {
	position: relative;
	isolation: isolate;
	display: grid;
	align-items: center;
	min-width: 0;
	min-height: clamp(29rem, 42vw, 40rem);
	margin: 0;
	background: var(--sr-hero-night);
	scroll-snap-align: start;
}
.sr-event-hero__slide--overlay .sr-event-hero__image,
.sr-event-hero__slide--overlay::before {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.sr-event-hero__slide--overlay .sr-event-hero__image {
	z-index: -2;
	display: block;
	object-fit: cover;
	object-position: 70% 46%;
}
.sr-event-hero__slide--overlay::before {
	z-index: -1;
	content: '';
	background: linear-gradient(90deg, rgb(9 21 33 / 96%) 0%, rgb(9 21 33 / 86%) 25%, rgb(9 21 33 / 74%) 45%, rgb(9 21 33 / 37%) 64%, rgb(9 21 33 / 2%) 85%),
		linear-gradient(0deg, rgb(9 21 33 / 34%), transparent 38%);
}
.sr-event-hero__content {
	position: relative;
	width: 63%;
	min-width: 0;
	padding: clamp(2.5rem, 5vw, 5rem) 0 clamp(2.5rem, 5vw, 5rem) var(--sr-hero-gutter);
	overflow-wrap: anywhere;
}
.sr-event-hero--carousel .sr-event-hero__content { padding-bottom: 6.65rem; }
.sr-event-hero .sr-event-hero__category {
	display: flex;
	align-items: center;
	gap: .8em;
	margin: 0 0 clamp(.8rem, 1.3vw, 1.4rem);
	color: var(--sr-hero-gold);
	font-size: .75rem;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.sr-event-hero__category::before {
	flex: 0 0 1.9em;
	height: 1px;
	background: currentColor;
	content: '';
}
.sr-event-hero .sr-event-hero__title {
	max-width: 17ch;
	margin: 0;
	color: var(--sr-hero-ivory);
	font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	font-size: clamp(2.5rem, 5.5vw, 5.25rem);
	font-size: clamp(2.5rem, 5.5cqw, 5.25rem);
	font-weight: 400;
	letter-spacing: -.043em;
	line-height: 1.025;
	text-transform: none;
	text-wrap: balance;
}
.sr-event-hero .sr-event-hero__description {
	max-width: 48ch;
	margin: 1.05rem 0 0;
	color: #f7f5ef;
	font-size: clamp(1rem, 1.24vw, 1.2rem);
	line-height: 1.55;
}
.sr-event-hero .sr-event-hero__date {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: .56em;
	row-gap: .12em;
	max-width: 52ch;
	margin: 1.15rem 0 0;
	color: #f3dfbc;
	font-size: .93rem;
	font-weight: 600;
	line-height: 1.5;
}
.sr-event-hero__clock::before { content: ''; display: inline-block; height: .75em; margin-inline-end: .56em; border-inline-start: 1px solid currentColor; }
.sr-event-hero .sr-event-hero__slide .sr-event-hero__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	min-height: 46px;
	margin-top: 1.45rem;
	padding: .75rem 1.2rem;
	border: 1px solid transparent;
	border-radius: .32rem;
	background: var(--sr-hero-ivory);
	color: #152b38;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}
.sr-event-hero .sr-event-hero__cta::after {
	display: block;
	width: 1.15rem;
	height: .8rem;
	background: currentColor;
	clip-path: polygon(0 43%, 78% 43%, 51% 9%, 59% 0, 100% 50%, 59% 100%, 51% 91%, 78% 57%, 0 57%);
	content: '';
}
.sr-event-hero .sr-event-hero__cta:visited { color: #152b38; }
.sr-event-hero .sr-event-hero__cta:is(:hover, :focus-visible) { background: var(--sr-hero-gold); color: #102332; }
.sr-event-hero__slide--split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.sr-event-hero__slide--split .sr-event-hero__image {
	grid-area: 1 / 2;
	display: block;
	width: 100%;
	height: auto;
	max-height: 33rem;
	object-fit: contain;
}
.sr-event-hero__slide--split .sr-event-hero__content { grid-area: 1 / 1; width: auto; padding-inline: clamp(1.15rem, 6.8cqw, 7rem) clamp(1rem, 2.5cqw, 3rem); }
.sr-event-hero__slide--plain { background: linear-gradient(115deg, #102332, #213d49); }
.sr-event-hero__slide--plain .sr-event-hero__content { width: min(100%, 62rem); padding-inline-end: var(--sr-hero-gutter); }
.sr-event-hero__controls {
	position: absolute;
	z-index: 1;
	inset-inline-start: var(--sr-hero-gutter);
	bottom: clamp(1rem, 2.5vw, 2rem);
	display: flex;
	align-items: center;
	gap: .55rem;
	color: var(--sr-hero-ivory);
}
.sr-event-hero__controls[hidden] { display: none; }
.sr-event-hero .sr-event-hero__controls button {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px;
	min-width: 44px;
	height: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 1px solid rgb(255 250 240 / 62%);
	border-radius: 50%;
	background: rgb(11 26 39 / 60%);
	box-shadow: none;
	color: var(--sr-hero-ivory);
	line-height: 1;
	cursor: pointer;
}
.sr-event-hero .sr-event-hero__controls button:is(:hover, :focus-visible) { background: var(--sr-hero-ivory); color: var(--sr-hero-night); }
.sr-event-hero__controls :is([data-hero-prev], [data-hero-next])::after {
	display: block;
	width: .58rem;
	height: .58rem;
	margin-inline-end: .18rem;
	border: solid currentColor;
	border-width: 1.7px 1.7px 0 0;
	transform: rotate(45deg);
	content: '';
}
.sr-event-hero__controls [data-hero-prev]::after { margin-inline: .18rem 0; transform: rotate(-135deg); }
.sr-event-hero:dir(rtl) :is([data-hero-prev], [data-hero-next]), .sr-event-hero:dir(rtl) .sr-event-hero__cta::after { transform: scaleX(-1); }
.sr-event-hero__controls [data-hero-toggle]::after {
	content: '';
	width: 0;
	height: 0;
	border-block: 6px solid transparent;
	border-inline-start: 9px solid currentColor;
}
.sr-event-hero__controls [data-playing="true"]::after { width: 10px; height: 12px; border: solid currentColor; border-width: 0 3px; }
.sr-event-hero__progress { display: flex; align-items: center; gap: 3px; width: 2.65rem; }
.sr-event-hero__progress i { flex: 1; height: 2px; background: rgb(255 255 255 / 55%); }
.sr-event-hero__progress .is-current { flex: 2; height: 3px; background: var(--sr-hero-gold); }
.sr-event-hero :is(a, button):focus-visible { outline: 2px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 5px #122432; }
.sr-event-hero .sr-event-hero__editor-note { margin: .8rem 0 0; color: white; }

/* All slides share the tallest slide's space. Hidden links leave the focus order. */
.sr-event-hero.is-enhanced .sr-event-hero__viewport {
	grid-template-columns: minmax(0, 1fr);
	overflow: clip;
	touch-action: pan-y pinch-zoom;
}
.sr-event-hero.is-enhanced .sr-event-hero__slide { grid-area: 1 / 1; }
.sr-event-hero.is-enhanced .sr-event-hero__slide[aria-hidden="true"] { visibility: hidden; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
	.sr-event-hero.is-enhanced .sr-event-hero__slide.is-entering { animation: sr-hero-enter .28s ease-out; }
	@keyframes sr-hero-enter { from { opacity: .65; } to { opacity: 1; } }
}

/* The photo opens the mobile composition; the bottom fade keeps every line readable. */
@container sr-hero (max-width: 680px) {
	.sr-event-hero__slide { min-height: 0; }
	.sr-event-hero__slide--overlay { --sr-hero-photo: clamp(11rem, 52cqw, 18.5rem); }
	.sr-event-hero__slide--overlay .sr-event-hero__image {
		height: calc(var(--sr-hero-photo) + 5rem);
		object-position: 80% 50%;
	}
	.sr-event-hero__slide--overlay::before {
		height: calc(var(--sr-hero-photo) + 5rem + 1px);
		background: linear-gradient(0deg, var(--sr-hero-night) 0%, rgb(16 35 50 / 94%) 9%, rgb(16 35 50 / 42%) 36%, transparent 69%);
	}
	.sr-event-hero__content { width: 100%; padding: 1.4rem var(--sr-hero-gutter) 2rem; }
	.sr-event-hero__slide--overlay .sr-event-hero__content { align-self: start; padding-top: var(--sr-hero-photo); }
	.sr-event-hero--carousel .sr-event-hero__content { padding-bottom: 5.45rem; }
	.sr-event-hero .sr-event-hero__title { max-width: 20ch; font-size: clamp(2.15rem, 8.8cqw, 3.25rem); line-height: 1.04; }
	.sr-event-hero .sr-event-hero__category { margin-bottom: .7rem; font-size: .75rem; letter-spacing: .11em; }
	.sr-event-hero .sr-event-hero__description { margin-top: .8rem; font-size: 1rem; line-height: 1.48; }
	.sr-event-hero .sr-event-hero__date { margin-top: .9rem; font-size: .85rem; }
	.sr-event-hero .sr-event-hero__slide .sr-event-hero__cta { margin-top: 1rem; }
	.sr-event-hero__controls { gap: .3rem; bottom: 1.2rem; inset-inline-start: min(5cqw, 1.4rem); }
	.sr-event-hero__progress { width: 2rem; }
	.sr-event-hero__slide--split { grid-template-columns: minmax(0, 1fr); align-content: start; }
	.sr-event-hero__slide--split .sr-event-hero__image { grid-area: auto; max-height: 19rem; }
	.sr-event-hero__slide--split .sr-event-hero__content { grid-area: auto; padding-inline: var(--sr-hero-gutter); }
}
@media (scripting: none) {
	.sr-event-hero--carousel .sr-event-hero__content { padding-bottom: 2.25rem; }
}
.sr-hero-editor-preview .sr-event-hero__slide ~ .sr-event-hero__slide { display: none; }
@media print {
	.sr-event-hero .sr-event-hero__viewport { display: block; overflow: visible; }
	.sr-event-hero.is-enhanced .sr-event-hero__slide[aria-hidden="true"] { visibility: visible; }
	.sr-event-hero__controls { display: none; }
}
