.vf-adventure-carousel {
	--vf-carousel-blue: #128add;
	--vf-carousel-gap: 20px;
	box-sizing: border-box;
	width: calc(100% - 32px);
	max-width: 1170px;
	margin: 0 auto 72px;
	background: var(--vf-carousel-blue);
	border-radius: 18px;
	overflow: hidden;
	padding: 48px 32px 52px;
}

.vf-adventure-carousel__inner {
	width: 100%;
	max-width: none;
	margin: 0 auto;
	padding: 0;
}

.vf-adventure-carousel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: 30px;
}

.vf-adventure-carousel__header h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(28px, 3.2vw, 44px);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.05;
}

.vf-adventure-carousel__heading-highlight {
	color: #ffbc00;
}

.vf-adventure-carousel__controls {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
	align-items: center;
	flex: 0 0 auto;
	width: 110px;
	height: 42px;
	min-height: 42px;
	background: #fff;
	border: 1px solid #dce4ed;
	border-radius: 12px;
	box-shadow: 0 10px 24px rgba(16, 27, 43, 0.16);
	overflow: hidden;
	box-sizing: border-box;
}

.vf-adventure-carousel__controls > span {
	height: 24px;
	background: #dce4ed;
}

.vf-adventure-carousel__controls button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 40px;
	padding: 0;
	background: #fff;
	border: 0;
	color: var(--vf-carousel-blue);
	font: inherit;
	cursor: pointer;
	outline: none;
	box-shadow: none;
}

.vf-adventure-carousel__controls button span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 32px;
	font-weight: 300;
	line-height: 1;
	transform: translateY(-2px);
}

.vf-adventure-carousel__controls button:hover,
.vf-adventure-carousel__controls button:focus-visible {
	background: #f2f6fa;
	color: var(--vf-carousel-blue);
	outline: none;
	box-shadow: none;
}

.vf-adventure-carousel__controls button:disabled {
	color: #b8c1cc;
	cursor: default;
	opacity: 1;
}

.vf-adventure-carousel__viewport {
	overflow-x: auto;
	overflow-y: hidden;
	padding: 4px 0 20px;
	padding: 6px 0 28px;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	overscroll-behavior-x: none;
	scrollbar-width: none;
}

.vf-adventure-carousel__viewport::-webkit-scrollbar {
	display: none;
}

.vf-adventure-carousel__track {
	display: inline-flex;
	gap: var(--vf-carousel-gap);
	width: max-content;
	max-width: none;
	vertical-align: top;
}

.vf-adventure-card {
	display: flex;
	flex: 0 0 260px;
	background: #fff;
	border: 1px solid #dce4ed;
	border-radius: 18px;
	box-shadow: 0 14px 30px rgba(16, 27, 43, 0.17);
	box-shadow:
		0 2px 5px rgba(16, 27, 43, 0.05),
		0 8px 18px rgba(16, 27, 43, 0.09);
	overflow: hidden;
	scroll-snap-align: start;
}

.vf-adventure-card__link {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	color: #101b2b;
	text-decoration: none;
}

.vf-adventure-card__media {
	position: relative;
	height: 246px;
	margin: 10px 10px 0;
	border-radius: 12px;
	overflow: hidden;
	background: #d9edf9;
}

.vf-adventure-card__media img,
.vf-adventure-card__media video,
.vf-adventure-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vf-adventure-card__tag {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	padding: 7px 10px;
	background: #128add;
	border: 0;
	border-radius: 6px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

.vf-adventure-card__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 132px;
	padding: 20px 20px 22px;
}

.vf-adventure-card__content h3 {
	margin: 0 0 16px;
	color: #000000;
	font-size: 21px;
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.12;
}

.vf-adventure-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: auto;
	color: #707070;
	font-size: 15px;
}

.vf-adventure-card__location,
.vf-adventure-card__rating {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.vf-adventure-card__location {
	color: #707070;
}

.vf-adventure-card__location .material-symbols-outlined {
	font-size: 19px;
}

.vf-adventure-card__rating {
	color: #707070;
	font-variant-numeric: tabular-nums;
}

.vf-adventure-card__rating > span {
	color: #ffc400;
	font-size: 23px;
}

@media (max-width: 767px) {
	.vf-adventure-carousel {
		width: calc(100% - 24px);
		margin-bottom: 48px;
		padding: 34px 16px 38px;
		border-radius: 14px;
	}

	.vf-adventure-carousel__inner {
		padding: 0;
	}

	.vf-adventure-carousel__header {
		align-items: flex-end;
		margin-bottom: 22px;
	}

	.vf-adventure-carousel__controls {
		grid-template-columns: 44px 1px 44px;
		min-height: 46px;
	}

	.vf-adventure-carousel__controls button {
		width: 44px;
		height: 46px;
	}

	.vf-adventure-card {
		flex-basis: min(82vw, 320px);
	}

	.vf-adventure-card__media {
		height: 280px;
	}
}

/* Match the established Stories container in tablet portrait. */
@media (min-width: 768px) and (max-width: 991px) and (orientation: portrait) {
	.vf-adventure-carousel {
		width: 690px;
		max-width: calc(100% - 30px);
		margin-right: auto;
		margin-left: auto;
	}

	.vf-adventure-carousel__viewport {
		touch-action: pan-x;
		overscroll-behavior-inline: contain;
		-webkit-overflow-scrolling: touch;
	}
}

@media (min-width: 992px) and (max-width: 1199px) and (orientation: landscape) {

	.vf-adventure-carousel {
		width: 960px;
		max-width: calc(100% - 30px);
	}

}

@media (min-width: 1200px) and (max-width: 1366px) and (orientation: landscape) {

	.vf-adventure-carousel {
		width: 1110px;
		max-width: calc(100% - 30px);
	}

	.vf-adventure-card {
		flex-basis: 246px;
	}

	.vf-adventure-card__media {
		height: 232px;
	}

}

@media (prefers-reduced-motion: reduce) {
	.vf-adventure-carousel__viewport {
		scroll-behavior: auto;
	}
}

/* =========================================================
   PHONE SPACING — PORTRAIT AND LANDSCAPE
   ========================================================= */

@media (max-width: 767px),
	(orientation: landscape) and (max-width: 932px) and (max-height: 500px) {
	.vf-adventure-carousel {
		width: calc(100% - 32px);
		max-width: none;
		margin: 0 auto 48px;
		padding: 24px 16px 28px;
		border-radius: 14px;
	}

	.vf-adventure-carousel__header {
		align-items: flex-start;
		gap: 16px;
		margin-bottom: 20px;
	}

	.vf-adventure-carousel__controls {
		grid-template-columns: 44px 1px 44px;
		align-self: flex-start;
		width: 91px;
		height: 44px;
		min-height: 44px;
		margin-top: 2px;
		border-radius: 10px;
	}

	.vf-adventure-carousel__controls button {
		width: 44px;
		height: 100%;
		min-height: 0;
	}

	.vf-adventure-carousel__controls button span {
		font-size: 28px;
		line-height: 1;
		transform: none;
	}

	.vf-adventure-carousel__viewport {
		padding: 4px 0 16px;
	}

	.vf-adventure-carousel__track {
		gap: 16px;
	}

	.vf-adventure-card__content {
		padding: 16px;
	}
}

@media (orientation: landscape) and (max-width: 932px) and (max-height: 500px) {
	.vf-adventure-carousel {
		margin-bottom: 32px;
		padding: 20px 16px 24px;
	}

	.vf-adventure-carousel__header {
		margin-bottom: 16px;
	}
}

/* Match the homepage Stories container on landscape phones. */
@media (orientation: landscape) and (max-width: 932px) and (max-height: 500px) {
	.vf-adventure-carousel {
		width: 688px !important;
		max-width: calc(100vw - 62px) !important;
		margin-right: auto !important;
		margin-left: auto !important;
		box-sizing: border-box !important;
	}
}
