.mhs-slider {
	--mhs-red: #f12f35;
	--mhs-duration: 1100ms;
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
	overflow: hidden;
	background: #07121d;
	color: #111820;
}

.mhs-slides {
	position: relative;
	aspect-ratio: 1920 / 700;
	min-height: 420px;
}

.mhs-slide {
	position: absolute;
	inset: 0;
	z-index: 0;
	visibility: hidden;
	pointer-events: none;
}

.mhs-slide.is-active {
	z-index: 1;
	visibility: visible;
	pointer-events: auto;
}

.mhs-slide.is-entering {
	z-index: 2;
	visibility: visible;
}

.mhs-media,
.mhs-media::after {
	position: absolute;
	inset: 0;
}

.mhs-media {
	background: #07121d;
	overflow: hidden;
	will-change: clip-path;
}

.mhs-media::after {
	content: "";
	background: linear-gradient(90deg, rgba(250, 248, 244, 0.98) 0 32%, transparent 58%);
	pointer-events: none;
}

.mhs-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.mhs-slide.enter-from-right .mhs-media {
	clip-path: inset(0 0 0 100%);
}

.mhs-slide.enter-from-left .mhs-media {
	clip-path: inset(0 100% 0 0);
}

.mhs-slide.is-revealing .mhs-media {
	clip-path: inset(0 0 0 0);
	transition: clip-path var(--mhs-duration) cubic-bezier(0.77, 0, 0.18, 1);
}

.mhs-content {
	position: absolute;
	z-index: 3;
	left: clamp(24px, 4.5vw, 90px);
	top: 50%;
	width: min(46vw, 860px);
	transform: translateY(-50%);
	transition:
		opacity 350ms ease,
		transform 350ms ease;
}

.mhs-slide:not(.is-active) .mhs-content,
.mhs-slide.is-content-hidden .mhs-content {
	opacity: 0;
	transform: translate(-28px, -50%);
}

.mhs-title {
	display: inline-block;
	margin: 0;
	padding: 0.08em 0.25em 0.12em;
	background: var(--mhs-red);
	color: #fff;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(42px, 5.3vw, 104px);
	font-weight: 400;
	line-height: 0.98;
	letter-spacing: -0.035em;
	text-transform: uppercase;
}

.mhs-description {
	max-width: 560px;
	margin-top: clamp(20px, 3vw, 42px);
	font-size: clamp(17px, 1.25vw, 24px);
	line-height: 1.35;
}

.mhs-description > :first-child {
	margin-top: 0;
}

.mhs-description > :last-child {
	margin-bottom: 0;
}

.mhs-button {
	display: inline-block;
	margin-top: clamp(20px, 2.2vw, 34px);
	padding-bottom: 5px;
	border-bottom: 2px solid var(--mhs-red);
	color: inherit;
	font-weight: 700;
	text-decoration: none;
}

.mhs-arrow {
	position: absolute;
	z-index: 5;
	right: 24px;
	bottom: 22px;
	display: grid;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: 0;
	background: rgba(5, 14, 23, 0.72);
	color: #fff;
	backdrop-filter: blur(6px);
	font-size: 24px;
	line-height: 1;
	place-items: center;
	cursor: pointer;
	transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.mhs-arrow:hover,
.mhs-arrow:focus-visible {
	border-color: #fff;
	background: var(--mhs-red);
	transform: translateY(-2px);
}

.mhs-prev {
	right: 78px;
}

.mhs-next {
	right: 24px;
}

.mhs-pagination {
	position: absolute;
	z-index: 5;
	bottom: 40px;
	left: 28px;
	display: flex;
	gap: 9px;
}

.mhs-dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 1px solid #fff;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.mhs-dot.is-active {
	background: #fff;
}

.mhs-empty {
	padding: 1rem;
	border-left: 4px solid #d63638;
	background: #fff;
}

@media (max-width: 782px) {
	.mhs-slides {
		aspect-ratio: 4 / 5;
		min-height: 620px;
	}

	.mhs-media::after {
		background: linear-gradient(0deg, rgba(250, 248, 244, 0.98) 0 39%, transparent 68%);
	}

	.mhs-media img {
		object-position: 65% center;
	}

	.mhs-content {
		top: auto;
		right: 24px;
		bottom: 72px;
		left: 24px;
		width: auto;
		transform: none;
	}

	.mhs-slide:not(.is-active) .mhs-content,
	.mhs-slide.is-content-hidden .mhs-content {
		transform: translateY(20px);
	}

	.mhs-title {
		font-size: clamp(36px, 12vw, 64px);
	}

	.mhs-description {
		font-size: 17px;
	}

	.mhs-arrow {
		width: 42px;
		height: 42px;
	}

	.mhs-prev {
		right: 70px;
	}

	.mhs-next {
		right: 20px;
	}
}
