div.health-resorts-cards {
	--hrc-accent: #960a19;
	--hrc-accent-soft: rgba(150, 10, 25, 0.28);
	--hrc-text: #ffffff;
	--hrc-gap: 20px;
	--hrc-visible: 4;
	--hrc-radius: 6px;
	--hrc-ratio: 0.745 / 1;
	--hrc-duration: 0.45s;
	--hrc-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--hrc-transition: var(--hrc-duration) var(--hrc-ease);

	position: relative;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

div.health-resorts-cards *,
div.health-resorts-cards *::before,
div.health-resorts-cards *::after {
	box-sizing: border-box;
}

div.health-resorts-cards .health-resorts-cards__viewport {
	width: 100%;
	overflow: hidden;
}

div.health-resorts-cards .health-resorts-cards__track {
	display: flex;
	align-items: stretch;
	gap: var(--hrc-gap);
	will-change: transform;
	transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

div.health-resorts-cards .health-resorts-cards__slide {
	flex: 0 0 calc((100% - (var(--hrc-gap) * (var(--hrc-visible) - 1))) / var(--hrc-visible));
	width: calc((100% - (var(--hrc-gap) * (var(--hrc-visible) - 1))) / var(--hrc-visible));
	min-width: 0;
}

div.health-resorts-cards .health-resorts-cards__card {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: var(--hrc-ratio);
	min-width: 0;
	border-radius: var(--hrc-radius);
	overflow: hidden;
	text-decoration: none;
	color: var(--hrc-text);
	background: #2a2a2a;
}

div.health-resorts-cards .health-resorts-cards__image {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	background-color: #3a3a3a;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

div.health-resorts-cards .health-resorts-cards__image--placeholder {
	background-color: #3a3a3a;
}

div.health-resorts-cards .health-resorts-cards__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0) 42%,
		rgba(0, 0, 0, 0.55) 100%
	);
	pointer-events: none;
	transition: background var(--hrc-transition);
}

div.health-resorts-cards .health-resorts-cards__content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	width: 100%;
	max-width: 300px;
	padding: 24px 22px 22px;
	pointer-events: none;
}

div.health-resorts-cards .health-resorts-cards__title {
	display: block;
	margin: 0;
	font-family: Ahellya, Georgia, "Times New Roman", serif;
	font-size: 24px;
	font-weight: 400;
	font-style: italic;
	line-height: 1.15;
	color: var(--hrc-text);
}

div.health-resorts-cards .health-resorts-cards__description {
	display: block;
	margin: 12px 0 0;
	font-family: "TikTok Sans", sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--hrc-text);
}

div.health-resorts-cards .health-resorts-cards__cta {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	max-height: 0;
	margin: 0;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	font-family: "TikTok Sans", sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--hrc-text);
	pointer-events: none;
	transition:
		opacity var(--hrc-transition),
		transform var(--hrc-transition),
		max-height var(--hrc-transition),
		margin var(--hrc-transition),
		visibility 0s linear var(--hrc-duration);
}

div.health-resorts-cards .health-resorts-cards__cta-icon {
	display: block;
	flex: 0 0 auto;
	width: 17px;
	height: auto;
}

div.health-resorts-cards .health-resorts-cards__card:hover .health-resorts-cards__overlay,
div.health-resorts-cards .health-resorts-cards__card:focus-visible .health-resorts-cards__overlay {
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0) 32%,
		rgba(0, 0, 0, 0.62) 100%
	);
}

div.health-resorts-cards .health-resorts-cards__card:hover .health-resorts-cards__cta,
div.health-resorts-cards .health-resorts-cards__card:focus-visible .health-resorts-cards__cta {
	max-height: 40px;
	margin-top: 22px;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition:
		opacity var(--hrc-transition),
		transform var(--hrc-transition),
		max-height var(--hrc-transition),
		margin var(--hrc-transition),
		visibility 0s linear 0s;
}

div.health-resorts-cards .health-resorts-cards__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	margin-top: 38px;
}

div.health-resorts-cards .health-resorts-cards__progress {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	height: 1px;
	background: var(--hrc-accent-soft);
}

div.health-resorts-cards .health-resorts-cards__progress-fill {
	display: block;
	width: 0;
	height: 100%;
	background: var(--hrc-accent);
	transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

div.health-resorts-cards .health-resorts-cards__nav {
	display: flex;
	flex-shrink: 0;
	gap: 10px;
}

div.health-resorts-cards .health-resorts-cards__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 1px solid var(--hrc-accent);
	border-radius: 50%;
	background: transparent !important;
	background-color: transparent !important;
	color: var(--hrc-accent);
	cursor: pointer;
	opacity: 1;
	box-shadow: none;
	transition: opacity 0.2s ease;
}

div.health-resorts-cards .health-resorts-cards__arrow:hover:not(:disabled):not([aria-disabled="true"]),
div.health-resorts-cards .health-resorts-cards__arrow:focus-visible:not(:disabled):not([aria-disabled="true"]),
div.health-resorts-cards .health-resorts-cards__arrow:active:not(:disabled):not([aria-disabled="true"]) {
	background: transparent !important;
	background-color: transparent !important;
	color: var(--hrc-accent);
	outline: none;
	box-shadow: none;
}

div.health-resorts-cards .health-resorts-cards__arrow:disabled,
div.health-resorts-cards .health-resorts-cards__arrow[aria-disabled="true"] {
	opacity: 0.35;
	cursor: default;
}

@media (max-width: 1199px) {
	div.health-resorts-cards {
		--hrc-visible: 2;
	}
}

@media (max-width: 767px) {
	div.health-resorts-cards {
		--hrc-visible: 1;
		--hrc-gap: 16px;
	}

	div.health-resorts-cards .health-resorts-cards__title {
		font-size: 22px;
	}

	div.health-resorts-cards .health-resorts-cards__content {
		padding: 20px 18px 18px;
	}

	div.health-resorts-cards .health-resorts-cards__footer {
		margin-top: 24px;
		gap: 16px;
	}
}

@media (hover: none) {
	div.health-resorts-cards .health-resorts-cards__cta {
		max-height: 40px;
		margin-top: 16px;
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	div.health-resorts-cards .health-resorts-cards__track,
	div.health-resorts-cards .health-resorts-cards__overlay,
	div.health-resorts-cards .health-resorts-cards__cta,
	div.health-resorts-cards .health-resorts-cards__progress-fill {
		transition: none;
	}
}
