/*
 * Places slider — stacked cards: square image, title, text, outline CTA.
 * Themes: .places-slider--theme-dark (default), .places-slider--theme-light
 */
div.places-slider {
	--ps-accent: #ffffff;
	--ps-text: #ffffff;
	--ps-muted: rgba(255, 255, 255, 0.68);
	--ps-gap: 20px;
	--ps-slides-visible: 4;
	--ps-slide-width: calc((100% - ((var(--ps-slides-visible) - 1) * var(--ps-gap))) / var(--ps-slides-visible));
	--ps-image-radius: 10px;
	--ps-transition: 0.65s cubic-bezier(0.4, 0, 0.2, 1);
	--ps-progress-track: rgba(255, 255, 255, 0.22);
	--ps-arrow-border: rgba(255, 255, 255, 0.35);
	--ps-arrow-color: rgba(255, 255, 255, 0.75);
	--ps-cta-border: rgba(255, 255, 255, 0.85);
	--ps-cta-hover-bg: rgba(255, 255, 255, 0.1);
	--ps-title-style: italic;

	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0;
	overflow: hidden;
	box-sizing: border-box;
	color: var(--ps-text);
}

div.places-slider.places-slider--theme-light {
	--ps-accent: #960a19;
	--ps-text: #2b2b2b;
	--ps-muted: #545454;
	--ps-image-radius: 0;
	--ps-progress-track: rgba(43, 43, 43, 0.18);
	--ps-arrow-border: rgba(43, 43, 43, 0.22);
	--ps-arrow-color: rgba(43, 43, 43, 0.35);
	--ps-cta-border: #960a19;
	--ps-cta-hover-bg: rgba(150, 10, 25, 0.06);
}

div.places-slider.places-slider--no-cta .places-slider__body {
	justify-content: flex-start;
	gap: 14px;
}

div.places-slider.places-slider--no-cta .places-slider__footer {
	margin-top: 17px;
}

div.places-slider *,
div.places-slider *::before,
div.places-slider *::after {
	box-sizing: border-box;
}

div.places-slider .places-slider__viewport {
	width: 100%;
	max-width: 100%;
	margin: 0;
	overflow: hidden;
}

div.places-slider .places-slider__track {
	display: flex;
	align-items: stretch;
	gap: var(--ps-gap);
	will-change: transform;
}

div.places-slider.is-animating .places-slider__track {
	transition: none;
}

div.places-slider .places-slider__track.is-snapping {
	transition: none;
}

div.places-slider .places-slider__slide {
	display: flex;
	flex: 0 0 var(--ps-slide-width);
	width: var(--ps-slide-width);
	min-width: 0;
	height: auto;
	align-self: stretch;
	margin: 0;
	padding: 0 0 20px;
	border: 0;
}

div.places-slider .places-slider__card {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	height: 100%;
	min-height: 100%;
}

div.places-slider .places-slider__media {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 6px;
	background-color: rgba(255, 255, 255, 0.06);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

div.places-slider .places-slider__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	object-position: center;
}

div.places-slider .places-slider__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	gap: 17px;
	width: 100%;
	min-height: 0;
	padding-top: 20px;
}

div.places-slider .places-slider__copy {
	width: 100%;
}

div.places-slider .places-slider__title {
	margin: 0;
	font-family: Ahellya, Georgia, "Times New Roman", serif;
	font-size: 24px;
	font-weight: 400;
	font-style: var(--ps-title-style);
	line-height: 1.15;
	color: var(--ps-text);
	word-break: break-word;
}

div.places-slider .places-slider__title p {
	margin: 0;
}

div.places-slider .places-slider__title p + p {
	margin-top: 0.35em;
}

div.places-slider .places-slider__text {
	margin: 5px 0 0;
	font-family: "TikTok Sans", sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--ps-muted);
}

div.places-slider .places-slider__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 0;
	padding: 17px 34px;
	border: 1px solid var(--ps-cta-border);
	border-radius: 6px;
	background: transparent;
	font-family: "TikTok Sans", sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	color: var(--ps-text);
	line-height: 1;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

div.places-slider .places-slider__cta:hover {
	background: #ffffff;
	border-color: var(--ps-accent);
	color: #323439;
}

div.places-slider.places-slider--theme-light .places-slider__cta {
	color: var(--ps-accent);
}

div.places-slider.places-slider--theme-light .places-slider__cta:hover {
	background: #ffffff;
	color: #323439;
}

div.places-slider .places-slider__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	width: 100%;
	max-width: 100%;
	margin: 40px 0 0;
	padding: 0;
}

div.places-slider .places-slider__progress {
	flex: 1;
	height: 1px;
	background: var(--ps-progress-track);
}

div.places-slider .places-slider__progress-fill {
	display: block;
	height: 100%;
	width: 0;
	background: var(--ps-accent);
	will-change: width;
}

div.places-slider .places-slider__nav {
	display: flex;
	flex-shrink: 0;
	gap: 10px;
}

div.places-slider .places-slider__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	padding: 16px;
	border: 1px solid var(--ps-accent);
	border-radius: 50%;
	background: transparent;
	color: var(--ps-arrow-color);
	cursor: pointer;
	opacity: 1;
	transition: border-color 0.2s ease, opacity 0.2s ease;
}

div.places-slider .places-slider__arrow:not(:disabled):not([aria-disabled="true"]) {
	border-color: var(--ps-accent);
	color: var(--ps-accent);
}

div.places-slider .places-slider__arrow:hover:not(:disabled):not([aria-disabled="true"]),
div.places-slider .places-slider__arrow:focus-visible:not(:disabled):not([aria-disabled="true"]) {
	background: transparent;
	border-color: var(--ps-accent);
	outline: none;
}

div.places-slider .places-slider__arrow:disabled,
div.places-slider .places-slider__arrow[aria-disabled="true"] {
	opacity: 0.3;
	cursor: default;
}

@media (max-width: 1199px) {
	div.places-slider {
		--ps-gap: 20px;
		--ps-slides-visible: 3;
	}
}

@media (max-width: 991px) {
	div.places-slider {
		--ps-gap: 16px;
		--ps-slides-visible: 2;
	}

	div.places-slider .places-slider__title {
		font-size: 22px;
	}

	div.places-slider .places-slider__text {
		font-size: 14px;
	}

	div.places-slider .places-slider__cta {
		padding: 13px 24px;
		font-size: 14px;
	}
}

@media (max-width: 767px) {
	div.places-slider {
		--ps-gap: 12px;
		--ps-slides-visible: 1.15;
	}

	div.places-slider .places-slider__body {
		padding-top: 16px;
	}

	div.places-slider .places-slider__title {
		font-size: 20px;
	}

	div.places-slider .places-slider__footer {
		margin-top: 28px;
		gap: 20px;
	}
}
