/**
 * Single Tour Package page styles.
 * Scoped under .tour-single so nothing here leaks into the rest of the site.
 * Mobile-first: base rules target small screens, min-width queries layer on
 * tablet/desktop layout.
 */

.tour-single {
	--tour-navy:#3A3B61;
	--tour-navy-soft: #2a3d63;
	--tour-accent: #e0793c;
	--tour-accent-dark: #c85f27;
	--tour-ink: #20262b;
	--tour-ink-soft: #6b7280;
	--tour-line: #e6e8ea;
	--tour-surface: #ffffff;
	--tour-surface-muted: #f6f7f9;
	--tour-highlight-bg: #fbeee6;
	--tour-danger: #c0392b;
	--tour-radius: 14px;
	--tour-radius-sm: 10px;
	--tour-shadow: 0 10px 30px rgba(20, 30, 45, 0.08);
	--tour-max-width: 1180px;
	color: var(--tour-ink);
}

.tour-single * {
	box-sizing: border-box;
}

.tour-single img {
	max-width: 100%;
	height: auto;
	display: block;
}

.tour-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 26px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.92rem;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.tour-btn--secondary {
	background: transparent;
	border-color: var(--tour-navy);
	color: var(--tour-navy);
	width: 100%;
	margin-top: 14px;
}

.tour-btn--secondary:hover,
.tour-btn--secondary:focus-visible {
	background: var(--tour-navy);
	color: #fff;
}

/* -------------------------------------------------- */
/* Breadcrumb (tour-specific placement tweaks only —   */
/* colors/base rules come from the site-wide           */
/* .western-breadcrumb class already in functions.php) */
/* -------------------------------------------------- */

.tour-breadcrumb {
	margin: 20px 0 16px;
}

/* -------------------------------------------------- */
/* Header image grid                                   */
/* -------------------------------------------------- */

.tour-header-gallery {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	border-radius: var(--tour-radius);
	overflow: hidden;
	margin-bottom: 18px;
}
.tour-header-gallery .tour-header-gallery__tile:nth-child(2){
	grid-column: span 2;
    grid-row: 1;
}
.tour-header-gallery__tile {
	background: var(--tour-surface-muted);
	overflow: hidden;
	border-radius: var(--tour-radius-sm);
}

.tour-header-gallery__tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tour-header-gallery--count-1 .tour-header-gallery__tile--main {
	aspect-ratio: 16 / 8;
}

.tour-header-gallery--count-2,
.tour-header-gallery--count-3,
.tour-header-gallery--count-4 {
	grid-template-columns: repeat(2, 1fr);
}

.tour-header-gallery--count-2 .tour-header-gallery__tile,
.tour-header-gallery--count-3 .tour-header-gallery__tile,
.tour-header-gallery--count-4 .tour-header-gallery__tile {
	aspect-ratio: 4 / 3;
}

/* -------------------------------------------------- */
/* Sticky section tabs                                 */
/* -------------------------------------------------- */

.tour-tabs {
	position: sticky;
	top:80px;
	z-index: 10;
	display: flex;
	gap: 40px;
	background: var(--tour-surface);
	border-bottom: 1px solid #F0ECE6;
	padding:0;
	margin-bottom:20px;
	-webkit-overflow-scrolling: touch;overflow:visible;
}

.tour-tabs__link {
	flex-shrink: 0;
	padding: 12px 2px;
	color: #757575;
	text-decoration: none;
	font-weight: 600;
	font-size: 16px;
	border-bottom: 2px solid transparent;position:relative;
	transition: color 0.15s ease, border-color 0.15s ease;
}
.tour-tabs__link::after{content:'';position:absolute;width:0%;height:2px;left:0;background:var(--tour-accent);bottom:-3.5px;transition:all 0.3s ease;}
.tour-tabs__link:hover {
	color: var(--tour-ink);
}
.tour-tabs__link:hover::after, .tour-tabs__link.is-active::after{width:100%;}
.tour-tabs__link.is-active {
	color: var(--tour-accent);
}

/* -------------------------------------------------- */
/* Two-column layout                                   */
/* -------------------------------------------------- */

.tour-layout {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-areas:
		"top"
		"aside"
		"rest";
	gap: 32px;
	padding: 28px 0 0;
}

.tour-layout__top {
	grid-area: top;
	min-width: 0;
}

.tour-layout__aside {
	grid-area: aside;
	min-width: 0;
}

.tour-layout__rest {
	grid-area: rest;
	display: flex;
	flex-direction: column;
	gap: 0px;
	min-width: 0;
}

.tour-title {
	font-size: clamp(1.7rem, 4vw, 2.4rem);
	font-weight: 700;
	margin: 0 0 12px;
	color: var(--tour-navy);margin-bottom:30px;
}

.tour-badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
}

.tour-badge {
	display: inline-flex;
	align-items: center;
	background:#F6F7F9;
	border: 1px solid #EDEEF1;
	color: var(--tour-ink);
	font-size: 0.85rem;
	font-weight: 700;
	padding: 7px 14px;
	border-radius: 50px;
}

.tour-route-summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--tour-ink-soft);
	font-size: 0.92rem;margin-left:15px;
}
.tour-route-summary__item{color:#464C5E;}
.tour-route-summary__item + .tour-route-summary__item::before {
	content: "\2022";
	margin-right: 10px;
	color: #B3B9C6;
}

.tour-lead {
	font-size: 1.02rem;
	line-height: 1.7;
	color: var(--tour-ink-soft);
	margin: 0 0 12px;
}

.tour-content {
	line-height: 1.75;
	margin-bottom: 8px;
}

/* -------------------------------------------------- */
/* Quick glance icon row                               */
/* -------------------------------------------------- */

.tour-quick-glance {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin: 70px 0;
}

.tour-quick-glance__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 8px;
}

.tour-quick-glance__icon {
	color: var(--tour-accent);
}

.tour-quick-glance__label {
	font-size:16px;
	font-weight: 600;
	color: #1A2350;
}

/* -------------------------------------------------- */
/* Highlights box                                      */
/* -------------------------------------------------- */

.tour-highlights-box {
    background: #F9F4F0;
    border-radius: var(--tour-radius);
    padding: 40px;
	margin-bottom: 8px;
}

.tour-highlights-box__title {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 25px;
	color: var(--tour-navy);    font-family: 'Inter';
}

.tour-highlights-box__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
}

.tour-highlights-box__item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 500;
	font-size: 0.94rem;
}

.tour-highlights-box__icon {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--tour-accent);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 1px;
}
.tour-highlights-box__icon svg{width:12px;height:auto;}

/* -------------------------------------------------- */
/* Book This Tour: sticky sidebar card                 */
/* -------------------------------------------------- */

.tour-booking-card {
	background:#1A2350;
	color: #fff;
	border-radius: var(--tour-radius);
	padding: 28px 24px;
	box-shadow: var(--tour-shadow);
}

@media (min-width: 960px) {
	.tour-layout__aside {
		position: sticky;
		top: 180px;
		align-self: start;
	}
}

.tour-booking-card__price {
	font-size: 1.6rem;
	font-weight: 700;
	margin: 0 0 4px;
	color: var(--tour-accent);
}

.tour-booking-card__subtitle {
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.75);
	margin: 0 0 14px;
}

.tour-booking-card__title {
	font-size:24px;
	font-weight: 700;
	margin: 30px 0 30px;
	color: #fff;font-family:Inter;
}

/* CTA button that only appears below 1100px (see the media query below),
   when the card becomes a horizontal bar and the title/form move into a
   popup. 1100px and up keeps the original vertical card layout untouched. */
.tour-booking-card__cta {
	display: none;
	background: var(--tour-accent);
	color: #fff;
	white-space: nowrap;
}

.tour-booking-card__cta:hover,
.tour-booking-card__cta:focus-visible {
	background: var(--tour-accent-dark);
	color: #241c07;
}

/* Below 1100px: the card becomes a single-row price bar — price/caption on
   the left, the CTA on the right — with the title/form hidden here and
   shown in a Magnific Popup instead (see initBookingPopup() in
   tour-single.js). At 1100px and up nothing in this query applies, so the
   card renders as the original vertical layout: price, caption, title and
   form stacked, no CTA button. */
@media (max-width: 1099px) {
	/* Fixed to the bottom of the viewport rather than sitting in the page
	   flow, so it stays reachable while scrolling. .tour-single gets bottom
	   padding below so the bar never permanently covers the last section or
	   the footer. Padding matches the bar's own fixed height (see
	   .tour-booking-card below: ~16px vertical padding + its content). */
	.tour-single {
		padding-bottom: 84px;
	}

	.tour-booking-card {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 999;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		padding: 12px 20px;
		border-radius: 0;
		box-shadow: 0 -4px 16px rgba(20, 30, 45, 0.18);
	}

	/* Price stacked above its caption (not side-by-side) so the bar stays a
	   single row even on narrow phones, with the CTA to the right. */
	.tour-booking-card__price-row {
		display: flex;
		flex-direction: column;
		gap: 2px;
		min-width: 0;
	}

	.tour-booking-card__price {
		font-size: 1.25rem;
	}

	.tour-booking-card__price,
	.tour-booking-card__subtitle {
		margin: 0;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	/* Overrides western-style.css's .tour-booking-card__subtitle rule (a
	   divider line under the price, meant for the 1100px+ vertical card) —
	   qualified with the parent class for higher specificity so it wins
	   regardless of stylesheet load order. Left in place unscoped there;
	   only neutralized here for the fixed bar, where a 20px bottom
	   padding + border was inflating the bar to two lines. */
	.tour-booking-card .tour-booking-card__subtitle {
		padding-bottom: 0;
		border-bottom: none;
	}

	.tour-booking-card__cta {
		display: inline-flex;
		flex-shrink: 0;
		padding: 11px 22px;
	}

	.tour-booking-card__form-wrap {
		display: none;
	}
}

/* Once Magnific Popup moves #tour-booking-form-{id} into its own overlay,
   force it visible again regardless of the max-width:1099px rule above, and
   give it the card's own dark background/padding since it's no longer
   nested inside .tour-booking-card at that point (Magnific detaches it into
   .mfp-content, a plain unstyled wrapper). Scoped to this selector only,
   not the bare .tour-booking-card__form-wrap class, so the inline
   (1100px+) layout inside the card itself is untouched. */
.mfp-content .tour-booking-card__form-wrap {
	display: block;
	background: #1A2350;
	max-width: 480px;
	margin: 0 auto;
	padding: 32px 28px;
	border-radius:15px;position:relative;
}
.tour-packages-template-default .mfp-close-btn-in .mfp-close{color:#fff;}
.mfp-content .tour-booking-card__title {
	margin-top: 0;
}

.tour-booking-card__form input[type="text"],
.tour-booking-card__form input[type="email"],
.tour-booking-card__form input[type="tel"],
.tour-booking-card__form input[type="date"],
.tour-booking-card__form input[type="number"],
.tour-booking-card__form select,
.tour-booking-card__form textarea {
	width: 100%;
	padding: 12px 14px;
	margin-bottom: 12px;
	border-radius: var(--tour-radius-sm);
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	font: inherit;
}

.tour-booking-card__form input::placeholder,
.tour-booking-card__form textarea::placeholder {
	color: rgba(255, 255, 255, 0.55);
}

.tour-booking-card__form label {
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.85rem;
	margin-bottom: 6px;
	display: block;
}

.tour-booking-card__form input[type="submit"],
.tour-booking-card__form button[type="submit"] {
	width: 100%;
	background:#DC834E;
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 14px 20px;
	font-weight: 700;
	font-size:16px;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tour-booking-card__form input[type="submit"]:hover,
.tour-booking-card__form button[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(224, 121, 60, 0.4);
}
.tour-booking-card__form input.wpcf7-submit{width: auto;padding: 14px 50px;margin-top:10px;}
/* -------------------------------------------------- */
/* Shared section styling                              */
/* -------------------------------------------------- */

.tour-section__title {
	font-size: 26px;
	margin:50px 0px 0px;
	font-weight: 700;
	color: var(--tour-navy);font-family:Inter;
}

.tour-section__subtitle {
	color: var(--tour-ink-soft);
	margin: 0 0 20px;
	font-size: 0.9rem;
}

#tour-package-details > * + * {
	margin-top: 40px;
}

/* -------------------------------------------------- */
/* Itinerary timeline                                  */
/* -------------------------------------------------- */

.tour-timeline {
	display: flex;
	flex-direction: column;gap: 20px 0px;
}

.tour-timeline__row {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 40px;
	padding: 22px 0;
	border-bottom: 1px solid var(--tour-line);
}

.tour-timeline__row:last-child {
	border-bottom: none;padding-bottom:0px;
}

.tour-timeline__day {
	text-align: center;
	perspective: 400px;
}

.tour-timeline__day-label {
	display: block;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--tour-ink-soft);
	text-transform: uppercase;
}

.tour-timeline__day-number {
	display: block;font-size: 70px;
	font-weight: 800;
	line-height: 1.1;
	color:#FFC9A9;
	backface-visibility: hidden;
	transform-style: preserve-3d;
}

.tour-timeline__title {
	font-size: 20px;
	font-weight: 700;
	color: var(--tour-navy);font-family: Inter;margin-bottom:0px;
}

.tour-timeline__image {
	border-radius: var(--tour-radius-sm);
	max-height: 200px;
	width: 100%;
	object-fit: cover;
}

.tour-timeline__description {
	line-height: 1.7;
	margin: 0 0 20px;
	color: var(--tour-ink-soft);
}

.tour-timeline__activities {
	margin: 0;
	padding-left: 20px;
	color: var(--tour-ink);
}

.tour-timeline__activities li {
	margin-bottom: 4px;
}

/* -------------------------------------------------- */
/* Package snapshot grid                               */
/* -------------------------------------------------- */

.tour-snapshot-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 22px;
}

.tour-snapshot-grid__heading {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 15px;
	color: var(--tour-navy);font-family:Inter;
}

.tour-snapshot-grid__list {
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--tour-ink-soft);
	font-size: 0.9rem;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.tour-snapshot-grid__list li {
	position: relative;
	padding-left: 14px;color:#666666;
}

.tour-snapshot-grid__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--tour-accent);
}

/* -------------------------------------------------- */
/* Inclusions & exclusions                             */
/* -------------------------------------------------- */

.tour-inc-exc__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

.tour-inc-exc__heading {
	font-size: 1.05rem;
	margin: 0 0 14px;
	color: var(--tour-navy);
}

.tour-inc-exc__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tour-inc-exc__list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.tour-inc-exc__icon {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 1px;
}

.tour-inc-exc__icon--check {
	background: rgba(224, 121, 60, 0.14);
	color: var(--tour-accent-dark);
}

.tour-inc-exc__icon--cross {
	background: rgba(192, 57, 43, 0.1);
	color: var(--tour-danger);
}

/* -------------------------------------------------- */
/* Map                                                 */
/* -------------------------------------------------- */

.tour-map__embed {
	position: relative;
	width: 100%;
	padding-top: 52%;
	border-radius: var(--tour-radius);
	overflow: hidden;
	box-shadow: var(--tour-shadow);
}

.tour-map__embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* -------------------------------------------------- */
/* Terms                                               */
/* -------------------------------------------------- */

.tour-terms__content {
	line-height: 1.7;
	color: var(--tour-ink-soft);
}

/* -------------------------------------------------- */
/* Gallery + lightbox                                  */
/* -------------------------------------------------- */

.tour-gallery__swiper {
	position: relative;
	padding: 0 0 40px;
}

.tour-gallery__swiper .swiper-slide {
	height: auto;
}

.tour-gallery__item {
	display: block;
	width: 100%;
	height: 100%;
	position: relative;
	border: none;
	padding: 0;
	background: var(--tour-surface-muted);
	border-radius: var(--tour-radius-sm);
	overflow: hidden;
	cursor: zoom-in;
	aspect-ratio: 4 / 3;
}

.tour-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* The hover-zoom transition only switches on once the GSAP reveal timeline
   finishes (see initGalleryRevealAnimation() in tour-single.js, which adds
   this class) — a CSS transition on the same "transform" property GSAP is
   actively driving every animation frame would fight it, making the reveal
   look laggy instead of smooth. */
.tour-gallery__item.is-revealed img {
	transition: transform 0.3s ease;
}

.tour-gallery__item:hover img,
.tour-gallery__item:focus-visible img {
	transform: scale(1.06);
}

/* -------------------------------------------------- */
/* Related tours                                       */
/* -------------------------------------------------- */

.tour-related {
	padding: 48px 0;
	border-top: 1px solid var(--tour-line);
	margin-top: 12px;
}

.tour-related__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 35px 20px;
}

.tour-related__card {
	border: 1px solid var(--tour-line);
	border-radius: var(--tour-radius);
	overflow: hidden;
	background: var(--tour-surface);
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.tour-related__card:hover {
	box-shadow: var(--tour-shadow);
	transform: translateY(-3px);
}

.tour-related__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--tour-surface-muted);
}

.tour-related__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tour-related__body {
	padding: 18px;
}

.tour-related__title {
	font-size: 1.1rem;
	margin: 0 0 10px;
}

.tour-related__title a {
	color: var(--tour-navy);
	text-decoration: none;
}

.tour-related__title a:hover {
	text-decoration: underline;
}

.tour-related__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	color: var(--tour-ink-soft);
	font-size: 0.88rem;
}

.tour-related__meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.tour-quick-glance svg{width:50px;height:auto;}
/* -------------------------------------------------- */
/* Tablet and up                                       */
/* -------------------------------------------------- */
.tour-header-gallery {
		height: 450px;
	}

/* Below 768px the grid becomes a Swiper slider; the grid rules above stay
   in effect at 768px and up by making the swiper wrapper levels transparent
   to layout (display: contents), so .tour-header-gallery__tile elements are
   still direct grid items there. */
@media (max-width: 767px) {
	.tour-header-gallery {
		display: block;
		height: auto;
	}

	.tour-header-gallery__swiper {
		overflow: hidden;
		border-radius: var(--tour-radius);
	}

	.tour-header-gallery .swiper-wrapper {
		display: flex;
	}

	.tour-header-gallery .swiper-slide {
		flex: 0 0 100%;
		width: 100%;
	}

	.tour-header-gallery .tour-header-gallery__tile {
		border-radius: 0;
		aspect-ratio: 16 / 10;
	}

	/* Pill pagination — same look as the homepage "Curated journeys for
	   every traveller" slider (.western-destination-slider .swiper-pagination
	   in wp-content/plugins/destination-slider/block/style.css), scoped
	   here so the two never collide. */
	.tour-header-gallery .swiper-pagination {
		position: static;
		margin-top: 12px;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		width: fit-content;
		height: 20px;
		padding: 12px 18px;
		margin-left: auto;
		margin-right: auto;
		background: #ededed;
		border-radius: 20px;
	}

	.tour-header-gallery .swiper-pagination-bullet {
		background: #c2c2c2;
		opacity: 1;
		margin: 0;
	}

	.tour-header-gallery .swiper-pagination-bullet-active {
		background: var(--tour-accent);
	}

	/* Same "hide the pill entirely when there's only one (non-functional)
	   bullet" behavior as the homepage slider: Swiper adds
	   swiper-pagination-lock itself once all slides fit in one view. */
	.tour-header-gallery .swiper-pagination.swiper-pagination-lock {
		display: none;
	}
}

@media (min-width: 768px) {
	.tour-header-gallery__swiper,
	.tour-header-gallery .swiper-wrapper {
		display: contents;
	}

	.tour-header-gallery .swiper-pagination {
		display: none;
	}
}

@media (min-width: 700px) {
	.tour-quick-glance {
		grid-template-columns: repeat(6, 1fr);
	}

	.tour-highlights-box__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.tour-inc-exc__grid {
		grid-template-columns: 1fr 1fr;
	}

	.tour-related__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.tour-header-gallery--count-3,
	.tour-header-gallery--count-4 {
		grid-template-columns: 3fr 1fr 1fr;
		grid-template-rows: repeat(2, 1fr);
	}

	.tour-header-gallery--count-3 .tour-header-gallery__tile--main,
	.tour-header-gallery--count-4 .tour-header-gallery__tile--main {
		grid-row: 1 / span 2;
		aspect-ratio: auto;
	}

	.tour-header-gallery--count-3 .tour-header-gallery__tile--sub,
	.tour-header-gallery--count-4 .tour-header-gallery__tile--sub {
		aspect-ratio: auto;
	}

	

	.tour-header-gallery--count-1 {
		height: auto;
	}

	.tour-snapshot-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* -------------------------------------------------- */
/* Desktop                                             */
/* -------------------------------------------------- */

@media (min-width: 1024px) {
	.tour-related__grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.tour-snapshot-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* -------------------------------------------------- */
/* Heading reveal animation                            */
/* -------------------------------------------------- */

/* Word-by-word reveal (SplitType + GSAP ScrollTrigger, see
   initHeadingRevealAnimation() in tour-single.js) needs each word to be its
   own inline-block so a per-word translateY doesn't pull neighbouring words
   along with it, and overflow:hidden on the heading so words rising into
   place clip cleanly at the line box instead of flashing in from below it.
   The small padding-bottom gives descenders — the tail on "g", "p", "y",
   etc. — room inside that clipped box; without it, overflow:hidden was
   cutting them off flush against the line box's own bottom edge. Deliberately
   NOT compensated with a matching negative margin: each of these three
   selectors already has its own margin-bottom set elsewhere in this file,
   and a blanket override here (later in the cascade, same specificity)
   would replace those values outright rather than adjust them — a few extra
   px of gap below the heading is the safer trade. */
.tour-title,
.tour-section__title,
.tour-highlights-box__title {
	overflow: hidden;
	padding-bottom: 0.2em;
}

.tour-title .word,
.tour-section__title .word,
.tour-highlights-box__title .word {
	display: inline-block;
	will-change: transform, opacity;
}

/* -------------------------------------------------- */
/* Reduced motion                                      */
/* -------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.tour-single * {
		transition: none !important;
	}
}
