/**
 * Shared homepage sections used by Glass + V2.
 * — Why split (v2-why)
 * — Popular journeys horizontal scroll (gl-scroll-section)
 */

/* ── Why split ── */
.v2-eyebrow {
	margin: 0 0 0.65rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--st-gold, #c4a052);
}

.v2-why {
	padding: clamp(3.75rem, 8vw, 6rem) 0;
	background: #fff;
}

.v2-why__layout {
	display: grid;
	gap: clamp(1.75rem, 4vw, 3.25rem);
	align-items: center;
}

@media (min-width: 960px) {
	.v2-why__layout {
		grid-template-columns: 0.95fr 1.05fr;
	}
}

.v2-why__media {
	margin: 0;
	border-radius: 18px;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: var(--st-v2-soft, #f6f3ee);
}

@media (min-width: 960px) {
	.v2-why__media {
		aspect-ratio: 5 / 6;
		max-height: 36rem;
	}
}

.v2-why__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.v2-why__copy h2 {
	margin: 0 0 0.85rem;
	font-family: var(--st-font-display);
	font-size: clamp(1.85rem, 3.2vw, 2.55rem);
	font-weight: 400;
	letter-spacing: var(--st-heading-ls);
	line-height: 1.15;
	color: var(--st-v2-ink, var(--st-ink));
}

.v2-why__lead {
	margin: 0 0 1.75rem;
	color: var(--st-v2-muted, var(--st-muted));
	line-height: 1.7;
	font-size: 1.02rem;
}

.v2-why__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0;
}

.v2-why__list li {
	display: grid;
	gap: 0.35rem;
	padding: 1.1rem 0;
	border-top: 1px solid var(--st-v2-line, var(--st-line));
}

.v2-why__list li:last-child {
	border-bottom: 1px solid var(--st-v2-line, var(--st-line));
}

.v2-why__list strong {
	font-size: 1rem;
	color: var(--st-accent);
}

.v2-why__list span {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--st-v2-muted, var(--st-muted));
}

/* ── Tours hscroll (card layout) ── */
.gl-scroll-section {
	padding: var(--st-section-y) 0;
	background: transparent;
	border: none;
}

.gl-section-head--editorial {
	align-items: flex-end;
	margin-bottom: 2rem;
}

.gl-section-eyebrow {
	margin: 0 0 0.4rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: none;
	color: var(--st-muted);
}

.gl-section-title {
	margin: 0;
	font-family: var(--st-font-display);
	font-size: var(--st-h2);
	font-weight: var(--st-font-display-weight);
	line-height: 1.1;
	letter-spacing: var(--st-heading-ls);
	color: var(--st-ink);
}

.gl-scroll-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.85rem 1.25rem;
}

.gl-scroll-nav {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

.gl-scroll-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 1px solid var(--st-line-strong);
	border-radius: 999px;
	background: var(--st-surface);
	color: var(--st-ink);
	cursor: pointer;
	transition:
		background var(--st-duration),
		border-color var(--st-duration),
		color var(--st-duration),
		opacity var(--st-duration);
}

.gl-scroll-btn:hover:not(:disabled) {
	background: var(--st-accent);
	border-color: var(--st-accent);
	color: #fff;
}

.gl-scroll-btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.gl-hscroll-wrap {
	position: relative;
}

.gl-hscroll {
	display: flex;
	gap: 1.25rem;
	overflow-x: auto;
	padding: 0.15rem clamp(1.25rem, 3vw, 2.5rem) 0.85rem;
	scroll-padding-inline: clamp(1.25rem, 3vw, 2.5rem);
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-overflow-scrolling: touch;
}

.gl-hscroll::-webkit-scrollbar {
	display: none;
}

.gl-hcard {
	flex: 0 0 min(78vw, 300px);
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	position: relative;
	background: var(--st-surface);
	border: 1px solid var(--st-line-strong);
	border-radius: var(--st-radius);
	color: var(--st-ink);
	min-height: auto;
	box-shadow: none;
	text-decoration: none;
	overflow: hidden;
}

@media (min-width: 768px) {
	.gl-hcard {
		flex-basis: min(42vw, 300px);
	}
}

.gl-hcard:hover {
	transform: none;
	border-color: rgb(20 18 16 / 0.2);
}

.gl-hcard > img,
.gl-hcard-overlay {
	display: none;
}

.gl-hcard-media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.gl-hcard-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s var(--st-ease);
}

.gl-hcard:hover .gl-hcard-media img {
	transform: scale(1.05);
}

.gl-hcard-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.25rem 1.35rem 1.35rem;
}

.gl-hcard-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.75rem;
	margin: 0 0 0.5rem;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: var(--st-muted);
}

.gl-hcard-meta span:not(:last-child)::after {
	content: "·";
	margin-left: 0.75rem;
	color: rgb(20 18 16 / 0.25);
}

.gl-hcard-body h3 {
	margin: 0;
	flex: 1;
	font-family: var(--st-font-display);
	font-size: 1.1875rem;
	font-weight: 400;
	line-height: 1.28;
	color: var(--st-ink);
}

.gl-hcard-link {
	margin-top: 0.85rem;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--st-muted);
	transition: color var(--st-duration);
}

.gl-hcard:hover .gl-hcard-link {
	color: var(--st-accent);
}

.st-home--v2 .gl-scroll-section {
	background: var(--st-v2-soft, #f6f3ee);
}

/* ── Trips grid (V2 card layout — used on Glass) ── */
.v2-link {
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--st-accent);
	text-decoration: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	white-space: nowrap;
}

.v2-link:hover {
	text-decoration: underline;
}

.v2-sec {
	margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
	max-width: 46rem;
}

.v2-sec h2 {
	margin: 0 0 0.65rem;
	font-family: var(--st-font-display);
	font-size: clamp(1.85rem, 3.4vw, 2.65rem);
	font-weight: 400;
	letter-spacing: var(--st-heading-ls);
	color: var(--st-v2-ink, var(--st-ink));
	line-height: 1.15;
}

.v2-sec--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	max-width: none;
}

.v2-sec--row > div {
	max-width: 34rem;
}

.v2-trips {
	padding: clamp(3.5rem, 7vw, 5.5rem) 0;
	background: var(--st-v2-soft, #f6f3ee);
}

.st-home--glass .v2-trips {
	background: transparent;
}

.v2-trip-grid {
	display: grid;
	gap: 1.15rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.v2-trip-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1100px) {
	.v2-trip-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.v2-trip-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--st-line-strong, transparent);
	box-shadow: 0 10px 28px rgb(20 18 16 / 0.06);
}

.st-home--glass .v2-trip-card {
	border-radius: var(--st-radius, 10px);
	box-shadow: none;
}

.v2-trip-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.v2-trip-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s var(--st-ease, ease);
}

.v2-trip-card:hover .v2-trip-card__media img {
	transform: scale(1.04);
}

.v2-trip-card__tag {
	position: absolute;
	top: 0.85rem;
	left: 0.85rem;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	background: rgb(255 255 255 / 0.94);
	font-size: 0.7rem;
	font-weight: 700;
	color: var(--st-v2-ink, var(--st-ink));
}

.v2-trip-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.15rem 1.15rem 1.25rem;
	flex: 1;
}

.v2-trip-card__region {
	margin: 0;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--st-gold, #c4a052);
}

.v2-trip-card h3 {
	margin: 0;
	font-family: var(--st-font-display);
	font-size: 1.15rem;
	font-weight: 400;
	line-height: 1.3;
	flex: 1;
}

.v2-trip-card h3 a {
	color: var(--st-v2-ink, var(--st-ink));
	text-decoration: none;
}

.v2-trip-card h3 a:hover {
	color: var(--st-accent);
}

.v2-trip-card__cta {
	margin-top: 0.35rem;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--st-accent);
	text-decoration: none;
}

.v2-trip-card__cta:hover {
	text-decoration: underline;
}
