/* =========================================================
   Hero Slider & Ticker v2 — front end
   ========================================================= */
.hst {
	--hst-red: #e10600;
	--hst-red-dark: #8a0010;
	--hst-badge: linear-gradient(105deg, #ff3b30 0%, #e10600 45%, #8a0010 100%);
	--hst-font: "Barlow Condensed", "Oswald", "Roboto Condensed", "Arial Narrow", Impact, sans-serif;
	--hst-w: var(--hst-w-d, 80%);
	--hst-gap: var(--hst-gap-d, 32px);
	--hst-radius: 0px;
	--hst-dur: var(--hst-dur-d, 700ms);
	--hst-ease: cubic-bezier(.22, .8, .24, 1);
	position: relative;
	width: 100%;
	font-family: var(--hst-font);
	color: #fff;
	-webkit-font-smoothing: antialiased;
	box-sizing: border-box;
}
.hst *, .hst *::before, .hst *::after { box-sizing: border-box; }
.hst.hst--theme-font { --hst-font: inherit; }
.hst--fullbleed { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

/* ---------------- TICKER ---------------- */
.hst-ticker {
	position: relative;
	background: #0a0a0a;
	height: 48px;
	overflow: hidden;
	display: flex;
	align-items: center;
	border-bottom: 2px solid var(--hst-red);
}
.hst-ticker__track {
	display: flex;
	flex-wrap: nowrap;
	width: max-content;
	will-change: transform;
	animation: hst-marquee var(--hst-tdur, 40s) linear infinite;
}
.hst-ticker[data-dir="right"] .hst-ticker__track { animation-direction: reverse; }
.hst-ticker[data-pause="1"]:hover .hst-ticker__track { animation-play-state: paused; }
.hst-ticker.is-paused .hst-ticker__track { animation-play-state: paused; }
@keyframes hst-marquee {
	from { transform: translate3d(0, 0, 0); }
	to   { transform: translate3d(calc(-1 * var(--hst-shift, 50%)), 0, 0); }
}
.hst-ticker__group { display: flex; flex: none; align-items: center; }
.hst-tick {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding-right: 36px;
	white-space: nowrap;
	text-decoration: none !important;
	color: #fff !important;
	line-height: 1;
}
.hst-tick__label {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: var(--hst-tick, #e10600);
	background-image: linear-gradient(180deg, rgba(255,255,255,.14), rgba(0,0,0,.12));
	color: #fff;
	font-weight: 700;
	font-style: normal;
	font-size: 20px;
	letter-spacing: .01em;
	text-transform: uppercase;
	padding: 5px 9px 4px;
}
.hst-tick__info {
	font-weight: 600;
	font-size: 20px;
	letter-spacing: .01em;
	text-transform: uppercase;
	color: #f2f2f2;
}
a.hst-tick:hover .hst-tick__info { color: #ff6b6b; }
.hst-tick--breaking .hst-tick__label::before {
	content: "";
	width: 7px; height: 7px; border-radius: 50%;
	background: #fff;
	animation: hst-pulse 1.2s ease-in-out infinite;
}
@keyframes hst-pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }

/* ---------------- SLIDER ---------------- */
.hst-slider { position: relative; padding-top: 24px; }
.hst-stage {
	position: relative;
	overflow: hidden;
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
}
.hst-sizer {
	width: var(--hst-w);
	margin: 0 auto;
	aspect-ratio: 16 / 9;
}
@supports not (aspect-ratio: 1) {
	.hst-sizer { height: 0; padding-top: calc(var(--hst-w) * .5625); }
}

.hst-slide {
	--rel: 0;
	position: absolute;
	top: 0;
	left: calc((100% - var(--hst-w)) / 2);
	width: var(--hst-w);
	height: 100%;
	transform: translate3d(calc(var(--rel) * (100% + var(--hst-gap)) + var(--hst-drag, 0px)), 0, 0);
	transition: transform var(--hst-dur) var(--hst-ease);
	z-index: 1;
}
.hst-slide.is-active { z-index: 2; }
.hst-slide.is-far { visibility: hidden; pointer-events: none; }
.hst-slide.no-anim, .hst-stage.is-dragging .hst-slide { transition: none !important; }

.hst-card {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	border-radius: var(--hst-radius);
	overflow: hidden;
	background: #111;
	isolation: isolate;
	text-decoration: none !important;
	color: #fff !important;
	-webkit-tap-highlight-color: transparent;
}
.hst-media, .hst-media picture { position: absolute; inset: 0; display: block; }
.hst-media img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	object-position: 50% var(--hst-focus, center);
	border-radius: 0 !important;
	transform: scale(1.001);
	transition: transform 1.2s var(--hst-ease);
	-webkit-user-drag: none;
}
.hst-placeholder {
	position: absolute; inset: 0;
	background:
		radial-gradient(120% 90% at 20% 10%, #3a0008 0%, transparent 60%),
		radial-gradient(90% 80% at 85% 30%, #7a0014 0%, transparent 55%),
		linear-gradient(160deg, #1a1a1a, #050505);
}

/* subtle life on the active image */
.hst--zoom .hst-slide .hst-media img { transform: scale(1.09); }
.hst--zoom .hst-slide.is-active .hst-media img { transform: scale(1); transition: transform 7s cubic-bezier(.2,.6,.3,1); }
.hst--zoom .hst-card:hover .hst-media img { transform: scale(1.03); transition-duration: .8s; }

.hst-shade {
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.6) 26%, rgba(0,0,0,.12) 52%, rgba(0,0,0,0) 65%);
	z-index: 1;
	pointer-events: none;
}
/* neighbours: faded like the reference */
.hst-card::after {
	content: "";
	position: absolute; inset: 0;
	background: rgba(245, 245, 245, .38);
	backdrop-filter: grayscale(.6);
	-webkit-backdrop-filter: grayscale(.6);
	opacity: 0;
	transition: opacity var(--hst-dur) var(--hst-ease);
	z-index: 3;
	pointer-events: none;
}
.hst-slide:not(.is-active) .hst-card::after { opacity: 1; }
.hst-slide:not(.is-active) .hst-card { cursor: pointer; }

.hst-content {
	position: absolute;
	left: 0; bottom: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(10px, .9vw, 18px);
	width: 100%;
	max-width: 72%;
	padding: 0 clamp(24px, 3vw, 60px) clamp(26px, 3vw, 58px);
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .5s ease, transform .6s var(--hst-ease);
}
.hst-slide.is-active .hst-content {
	opacity: 1;
	transform: none;
	transition-delay: calc(var(--hst-dur) * .45);
}

.hst-badge {
	display: inline-flex;
	background: var(--hst-badge);
	padding: .34em .78em .3em;
	box-shadow: 0 6px 18px rgba(225, 6, 0, .35);
	font-size: clamp(14px, 1.15vw, 23px);
	line-height: 1;
}
.hst-badge span {
	font-weight: 800;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: .02em;
	color: #fff;
}
.hst-title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	font-weight: 700;
	font-size: clamp(28px, 3.25vw, 68px);
	line-height: 1.06;
	letter-spacing: -.003em;
	color: #fff;
	text-wrap: balance;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.hst-card:hover .hst-title { text-decoration: underline; text-decoration-color: var(--hst-red); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.hst-slide:not(.is-active) .hst-card:hover .hst-title { text-decoration: none; }

/* arrows — centred in the peek area on each side */
.hst-arrow {
	--sz: clamp(44px, 3.1vw, 60px);
	position: absolute;
	top: 50%;
	z-index: 5;
	width: var(--sz);
	height: var(--sz);
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 50% !important;
	background: #fff !important;
	color: var(--hst-red);
	display: flex !important;
	align-items: center;
	justify-content: center;
	font-size: 0 !important;
	line-height: 0 !important;
	cursor: pointer;
	box-shadow: 0 6px 24px rgba(0, 0, 0, .22);
	transform: translateY(-50%);
	transition: background .25s, color .25s, transform .25s;
}
.hst-arrow--prev { left: max(12px, calc((100% - var(--hst-w)) / 4 - var(--sz) / 2)); }
.hst-arrow--next { right: max(12px, calc((100% - var(--hst-w)) / 4 - var(--sz) / 2)); }
/* chevron drawn with borders so no theme can blank it out */
.hst-arrow .hst-chev {
	display: block !important;
	width: 32% !important;
	height: 32% !important;
	border: 0 solid #e10600 !important;
	border-top-width: 3px !important;
	border-right-width: 3px !important;
	background: none !important;
	transition: border-color .25s;
}
.hst-arrow--next .hst-chev { transform: translateX(-18%) rotate(45deg); }
.hst-arrow--prev .hst-chev { transform: translateX(18%) rotate(-135deg); }
.hst-arrow:hover, .hst-arrow:focus-visible { background: var(--hst-red) !important; transform: translateY(-50%) scale(1.06); outline: none; }
.hst-arrow:hover .hst-chev, .hst-arrow:focus-visible .hst-chev { border-color: #fff !important; }

/* dots */
.hst-dots { display: flex; justify-content: center; align-items: center; gap: 9px; padding: 18px 0 6px; }
.hst-dot {
	width: 10px; height: 10px;
	padding: 0; margin: 0;
	border: 0 !important;
	border-radius: 10px !important;
	background: #f3c3c3 !important;
	cursor: pointer;
	transition: width .35s var(--hst-ease), background .35s;
}
.hst-dot.is-active { width: 28px; background: var(--hst-badge) !important; }
.hst-dot:focus-visible { outline: 2px solid var(--hst-red); outline-offset: 2px; }

.hst-slider--single .hst-arrow, .hst-slider--single .hst-dots { display: none; }
.hst-empty { color: #333; background: #fff3f3; border: 1px dashed #e10600; padding: 14px; font-family: sans-serif; }

/* ---------------- TABLET ---------------- */
@media (max-width: 1024px) {
	.hst { --hst-w: max(var(--hst-w-d, 80%), 86%); --hst-gap: min(var(--hst-gap-d, 32px), 18px); }
	.hst-tick__label, .hst-tick__info { font-size: 18px; }
	.hst-content { max-width: 85%; }
}

/* ---------------- MOBILE (1080 × 1600 artwork) ---------------- */
@media (max-width: 767px) {
	.hst { --hst-w: 100%; --hst-gap: 10px; }
	.hst-ticker { height: 40px; }
	.hst-tick { padding-right: 24px; gap: 8px; }
	.hst-tick__label, .hst-tick__info { font-size: 16px; }
	.hst-tick__label { padding: 4px 7px 3px; }

	.hst-slider { padding-top: 0; }
	.hst-sizer { aspect-ratio: 1080 / 1600; }
	.hst-card { border-radius: 0; }
	.hst-slide:not(.is-active) .hst-card::after { opacity: 0; }

	.hst-shade {
		background: linear-gradient(to top, #000 0%, rgba(0,0,0,.94) 22%, rgba(0,0,0,.55) 38%, rgba(0,0,0,0) 56%);
	}
	.hst-content {
		left: 0; right: 0;
		max-width: 100%;
		align-items: center;
		text-align: center;
		gap: 14px;
		padding: 0 22px 30px;
	}
	.hst-badge { font-size: 17px; }
	.hst-title {
		font-size: clamp(25px, 7.6vw, 38px);
		line-height: 1.1;
		-webkit-line-clamp: 4;
	}
	.hst-card:hover .hst-title { text-decoration: none; }
	.hst-arrow { display: none; }
	.hst-dots { padding: 14px 0 4px; }
	.hst-dot { width: 9px; height: 9px; }
	.hst-dot.is-active { width: 24px; }
}

@media (prefers-reduced-motion: reduce) {
	.hst-slide, .hst-content, .hst-media img { transition-duration: .01ms !important; }
	.hst--zoom .hst-slide .hst-media img { transform: none; }
	.hst-ticker__track { animation-duration: calc(var(--hst-tdur, 40s) * 2); }
}
