/**
 * Marvel UI system — Wave 1+2 (BRAND-TOKENS.md · WCAG focus · WPTE)
 */
@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Source+Sans+3:wght@400;600;700&display=swap");

:root {
	--marvel-primary: #3d8b9a;
	--marvel-primary-hover: #326f7c;
	--marvel-bg: #faf7f2;
	--marvel-cta: #d4a84b;
	--marvel-cta-hover: #c09840;
	--marvel-text: #2c2c2c;
	--marvel-accent: #e07a5f;
	--marvel-surface: #ffffff;
	--marvel-radius: 8px;
	--marvel-shadow: 0 4px 24px rgba(44, 44, 44, 0.08);
	--marvel-font-heading: "Libre Baskerville", Georgia, "Times New Roman", serif;
	--marvel-font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--marvel-font-body);
	color: var(--marvel-text);
	background-color: var(--marvel-bg);
	padding-bottom: 5rem;
}

h1,
h2,
h3,
.entry-title,
.wp-block-heading {
	font-family: var(--marvel-font-heading);
	font-weight: 700;
	color: var(--marvel-text);
}

a {
	color: var(--marvel-primary);
}

a:hover {
	color: var(--marvel-primary-hover);
}

:focus-visible {
	outline: 2px solid var(--marvel-primary);
	outline-offset: 3px;
}

/* Header */
.site-header-row,
#masthead {
	background-color: var(--marvel-surface) !important;
	box-shadow: 0 1px 0 rgba(44, 44, 44, 0.06);
}

/*
 * Desktop: keep header dropdowns ABOVE WPTE archive toolbar
 * (.wte-ordering / .wpte__select-options use z-index 111).
 * Without this, moving the pointer toward Luxor hits the filter bar,
 * :hover drops, and Destinations collapses.
 */
@media (min-width: 1025px) {
	#masthead.site-header,
	.site-header,
	#masthead {
		z-index: 1200 !important;
	}

	.header-navigation .menu-item-has-children {
		position: relative;
	}

	.header-navigation .menu-item-has-children > .sub-menu {
		z-index: 1201;
	}

	/* Hover bridge so the pointer can leave the parent link into the panel */
	.header-navigation .menu-item-has-children > .sub-menu::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: -14px;
		height: 14px;
	}
}

/* Sticky-header offset when jumping to Explore by destination */
#marvel-explore-destination,
.marvel-dest-band {
	scroll-margin-top: 6.5rem;
}

.header-navigation .menu > li > a {
	font-weight: 600;
}

.header-navigation .menu > li > a:hover,
.header-navigation .menu > li.current-menu-item > a {
	color: var(--marvel-primary);
}

.site-header .header-button-wrap a.button,
.site-header .header-button-wrap .button,
.kadence-header-button {
	background-color: var(--marvel-cta) !important;
	color: var(--marvel-text) !important;
	border-radius: var(--marvel-radius);
	font-weight: 600;
	min-height: 44px;
	padding: 0.65rem 1.25rem;
}

.site-header .header-button-wrap a.button:hover,
.kadence-header-button:hover {
	background-color: var(--marvel-cta-hover) !important;
}

/* Buttons (blocks + Kadence) */
.wp-block-button__link,
.button,
.wpte-bf-btn,
.wte-book-now {
	border-radius: var(--marvel-radius);
	min-height: 44px;
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background-color: var(--marvel-cta);
	color: var(--marvel-text);
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	background-color: var(--marvel-cta-hover);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	border-color: var(--marvel-primary);
	color: var(--marvel-primary);
}

/* Home & content cards */
.home .wp-block-column.has-background,
.wp-block-group.has-background {
	border-radius: var(--marvel-radius);
}

.home .wp-block-columns .wp-block-column.has-background {
	box-shadow: var(--marvel-shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home .wp-block-columns .wp-block-column.has-background:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 28px rgba(44, 44, 44, 0.12);
}

.home .wp-block-columns .wp-block-column img {
	border-radius: calc(var(--marvel-radius) - 2px);
}

/*
 * Popular Day Tours — desktop keeps Option B grid (From $X + View tour).
 * Compact swipe rail CSS lives in the mobile block below.
 */
.home .wp-block-columns:has(.marvel-home-card__from) {
	align-items: stretch !important;
}

.home .wp-block-columns .wp-block-column.has-background:has(.marvel-home-card__from) {
	display: flex !important;
	flex-direction: column !important;
	padding: 0.7rem !important;
	gap: 0 !important;
}

.home .wp-block-columns .wp-block-column.has-background:has(.marvel-home-card__from) .wp-block-image {
	margin-top: 0 !important;
	margin-bottom: 0.55rem !important;
}

.home .wp-block-columns .wp-block-column.has-background:has(.marvel-home-card__from) .wp-block-image img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	height: auto;
	object-fit: cover;
}

.home .wp-block-columns .wp-block-column.has-background:has(.marvel-home-card__from) > h3,
.home .wp-block-columns .wp-block-column.has-background:has(.marvel-home-card__from) > .wp-block-heading {
	margin-top: 0.2rem !important;
	margin-bottom: 0.4rem !important;
	line-height: 1.25 !important;
}

.home .wp-block-columns .wp-block-column.has-background:has(.marvel-home-card__from) > p:not(.marvel-home-card__from) {
	margin-top: 0 !important;
	margin-bottom: 0.5rem !important;
	line-height: 1.35 !important;
}

.home .marvel-home-card__from {
	margin-top: auto !important;
	margin-bottom: 0.35rem !important;
	padding-top: 0.2rem !important;
	line-height: 1.25;
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--marvel-primary);
}

.home .marvel-home-card__actions {
	margin-top: 0.1rem !important;
	margin-bottom: 0 !important;
}

.home .marvel-home-card__cta .wp-block-button__link {
	background-color: var(--marvel-primary) !important;
	border-color: var(--marvel-primary) !important;
	color: #fff !important;
	text-align: center;
	font-weight: 700;
	font-size: 0.85rem !important;
	padding: 0.55rem 0.65rem !important;
	width: 100%;
}

.home .marvel-home-card__cta .wp-block-button__link:hover {
	background-color: var(--marvel-primary-hover) !important;
	border-color: var(--marvel-primary-hover) !important;
	color: #fff !important;
}

.home .marvel-home-card__details {
	margin-top: 0.15rem !important;
	margin-bottom: 0 !important;
	font-size: 0.85rem;
	font-weight: 600;
}

.home .marvel-home-card__details a {
	color: var(--marvel-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.home .marvel-home-card__details a:hover {
	color: var(--marvel-primary-hover);
}

/* Home hero — compress height; equal top/bottom padding; keep focal center */
.home .marvel-home-hero.wp-block-cover,
.home .entry-content > .wp-block-cover.alignfull {
	align-items: flex-end !important;
	justify-content: center;
	min-height: 58vh !important;
	padding-top: clamp(1.75rem, 5vh, 3rem) !important;
	padding-bottom: clamp(1.75rem, 5vh, 3rem) !important;
}

.home .marvel-home-hero .wp-block-cover__image-background,
.home .entry-content > .wp-block-cover.alignfull .wp-block-cover__image-background {
	object-fit: cover !important;
	object-position: 50% 50% !important;
	pointer-events: none !important;
}

/* Dim overlay must not swallow Explore tours / Plan your trip clicks */
.home .marvel-home-hero .wp-block-cover__background,
.home .entry-content > .wp-block-cover.alignfull .wp-block-cover__background,
.home .marvel-home-hero .wp-block-cover__gradient-background,
.home .entry-content > .wp-block-cover.alignfull .wp-block-cover__gradient-background {
	pointer-events: none !important;
}

.home .marvel-home-hero .wp-block-cover__inner-container,
.home .entry-content > .wp-block-cover.alignfull .wp-block-cover__inner-container {
	width: 100%;
	margin-bottom: 0.25rem;
	position: relative;
	z-index: 2;
}

@media (max-width: 767px) {
	.home .marvel-home-hero.wp-block-cover,
	.home .entry-content > .wp-block-cover.alignfull {
		min-height: 54vh !important;
		padding-top: clamp(1.5rem, 4.5vh, 2.5rem) !important;
		padding-bottom: clamp(1.5rem, 4.5vh, 2.5rem) !important;
	}
}

/* Section rhythm */
.home .wp-block-group.alignfull.has-background {
	background-color: var(--marvel-bg);
}

/* Talk to us — contact + Ask Egyptologist (all breakpoints) */
.home .marvel-talk-band {
	max-width: 100%;
}

.home .marvel-talk {
	max-width: 920px;
	margin: 0 auto;
}

.home .marvel-talk__head {
	text-align: center;
	margin: 0 0 1.35rem;
}

.home .marvel-talk__title {
	margin: 0 0 0.4rem;
	font-size: clamp(1.35rem, 2.4vw, 1.7rem);
	color: #2c2c2c;
	letter-spacing: 0.01em;
	line-height: 1.2;
}

.home .marvel-talk__sub {
	margin: 0;
	font-family: "Source Sans 3", system-ui, sans-serif;
	font-size: 0.95rem;
	line-height: 1.4;
	color: #6b6560;
}

.home .marvel-talk__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 1rem;
	align-items: stretch;
}

.home .marvel-talk__card {
	background: #fff;
	border: 1px solid #e0d8cc;
	border-radius: 14px;
	padding: 1.15rem 1.2rem 1.25rem;
	box-shadow: 0 6px 20px rgba(44, 44, 44, 0.06);
	min-width: 0;
}

.home .marvel-talk__card--ask {
	border-color: #bfd5da;
	background: linear-gradient(165deg, #fff 0%, #eef7f8 55%, #faf7f2 100%);
	box-shadow: 0 8px 24px rgba(61, 139, 154, 0.12);
	position: relative;
	overflow: hidden;
}

.home .marvel-talk__card--ask::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: linear-gradient(180deg, #3d8b9a 0%, #d4a84b 100%);
}

.home .marvel-talk__card-title {
	margin: 0 0 0.55rem;
	font-family: "Source Sans 3", system-ui, sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: #2c2c2c;
	line-height: 1.25;
}

.home .marvel-talk__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	font-family: "Source Sans 3", system-ui, sans-serif;
}

.home .marvel-talk__list li {
	display: grid;
	grid-template-columns: 5.2rem minmax(0, 1fr);
	gap: 0.45rem;
	align-items: start;
	font-size: 0.92rem;
	line-height: 1.4;
	color: #2c2c2c;
}

.home .marvel-talk__k {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #3d8b9a;
	padding-top: 0.15rem;
}

.home .marvel-talk__list a {
	color: #2c2c2c;
	text-decoration: none;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.home .marvel-talk__list a:hover {
	color: #3d8b9a;
	text-decoration: underline;
}

.home .marvel-talk__policies {
	margin: 0.95rem 0 0;
	font-family: "Source Sans 3", system-ui, sans-serif;
	font-size: 0.84rem;
	color: #6b6560;
}

.home .marvel-talk__policies a {
	color: #3d8b9a;
	text-decoration: none;
	font-weight: 600;
}

.home .marvel-talk__policies a:hover {
	text-decoration: underline;
}

.home .marvel-talk__ask-label {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0 0 0.45rem;
	font-family: "Source Sans 3", system-ui, sans-serif;
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #1a3f46;
}

.home .marvel-talk__ask-badge {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(145deg, #d4a84b 0%, #c4892e 55%, #e07a5f 100%);
	box-shadow: 0 0 0 2px rgba(212, 168, 75, 0.28);
}

.home .marvel-talk__ask-badge svg {
	display: block;
}

.home .marvel-talk__ask-sla {
	margin: 0 0 0.35rem;
	font-family: "Source Sans 3", system-ui, sans-serif;
	font-size: 0.82rem;
	font-weight: 650;
	color: #6b6560;
	line-height: 1.35;
}

.home .marvel-talk__ask-copy {
	margin: 0 0 0.9rem;
	font-family: "Source Sans 3", system-ui, sans-serif;
	font-size: 0.9rem;
	line-height: 1.45;
	color: #2c2c2c;
}

.home .marvel-talk__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.home .marvel-talk__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0.45rem 0.9rem;
	border-radius: 8px;
	font-family: "Source Sans 3", system-ui, sans-serif;
	font-size: 0.86rem;
	font-weight: 700;
	text-decoration: none !important;
	line-height: 1.2;
}

.home .marvel-talk__btn--primary {
	background: #3d8b9a;
	color: #fff !important;
}

.home .marvel-talk__btn--primary:hover {
	background: #2f7380;
	color: #fff !important;
}

.home .marvel-talk__btn--ghost {
	background: transparent;
	color: #3d8b9a !important;
	border: 1.5px solid #3d8b9a;
}

.home .marvel-talk__btn--ghost:hover {
	background: rgba(61, 139, 154, 0.08);
}

@media (max-width: 781px) {
	.home .marvel-talk__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.85rem;
	}

	.home .marvel-talk__list li {
		grid-template-columns: 4.6rem minmax(0, 1fr);
		font-size: 0.88rem;
	}

	.home .marvel-talk__card {
		padding: 1rem 0.95rem 1.1rem;
	}

	.home .marvel-talk__actions {
		flex-direction: column;
	}

	.home .marvel-talk__btn {
		width: 100%;
	}
}

/* Trustindex / Traveler reviews — reduce HEIGHT only (keep full width) */
.home .wp-block-group:has(.marvel-sec-head--reviews) {
	padding-top: 0.9rem !important;
	padding-bottom: 0.85rem !important;
}

.home .marvel-sec-head--reviews {
	/* Keep horizontal auto so the capped head stays centered in the band */
	margin: 0 auto 0.25rem !important;
}

.home .marvel-sec-head--reviews .marvel-sec-head__rule {
	margin-top: 0.35rem !important;
}

.home .wp-block-group:has(.marvel-sec-head--reviews) > p.wp-block-paragraph,
.home .wp-block-group:has(.marvel-sec-head--reviews) > .wp-block-paragraph {
	margin: 0 0 0.55rem !important;
	font-size: 0.9rem !important;
	line-height: 1.35 !important;
}

.ti-widget,
[data-template-id="trustindex-tripadvisor-widget-html"] {
	max-width: 100%;
}

/* Compact review cards (Trustindex layout 4 slider) */
.home .ti-widget .ti-widget-container,
.home .ti-widget .ti-reviews-container,
.home .ti-widget .ti-reviews-container-wrapper {
	min-height: 0 !important;
	height: auto !important;
	max-height: none !important;
}

.home .ti-widget .ti-reviews-container-wrapper {
	/* Cap carousel track height without shrinking column width */
	max-height: 210px !important;
}

.home .ti-widget .ti-review-item,
.home .ti-widget .ti-inner {
	min-height: 0 !important;
	height: auto !important;
	max-height: 200px !important;
	padding: 0.55rem 0.7rem !important;
	box-sizing: border-box !important;
}

.home .ti-widget .ti-review-header {
	margin: 0 0 0.2rem !important;
	padding: 0 !important;
	gap: 0.35rem !important;
}

.home .ti-widget .ti-profile-img,
.home .ti-widget .ti-profile-img img {
	width: 28px !important;
	height: 28px !important;
	min-width: 28px !important;
	min-height: 28px !important;
}

.home .ti-widget .ti-name {
	font-size: 0.82rem !important;
	line-height: 1.2 !important;
}

.home .ti-widget .ti-date {
	font-size: 0.7rem !important;
	line-height: 1.2 !important;
}

.home .ti-widget .ti-stars {
	margin: 0.15rem 0 0.25rem !important;
	transform: scale(0.82);
	transform-origin: center top;
}

.home .ti-widget .ti-review-text-container,
.home .ti-widget .ti-review-content {
	font-size: 0.8rem !important;
	line-height: 1.3 !important;
	max-height: 4.2em !important; /* ~3 lines */
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
}

.home .ti-widget .ti-review-text-container strong,
.home .ti-widget .ti-review-content strong {
	font-size: 0.84rem !important;
	display: block;
	margin-bottom: 0.15rem !important;
}

.home .ti-widget .ti-read-more {
	margin-top: 0.2rem !important;
	font-size: 0.72rem !important;
}

.home .ti-widget .ti-controls .ti-next,
.home .ti-widget .ti-controls .ti-prev {
	transform: scale(0.85);
}

/* Tours archive (WPTE) */
.post-type-archive-trip .content-area,
.post-type-archive-trip .content-wrap {
	background-color: var(--marvel-bg);
}

.post-type-archive-trip .archive-description,
.post-type-archive-trip .page-title,
.post-type-archive-trip .entry-header .entry-title {
	font-family: var(--marvel-font-heading);
	text-align: center;
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
}

.post-type-archive-trip .category-trips-single-inner-wrap {
	background: var(--marvel-surface);
	border-radius: var(--marvel-radius);
	box-shadow: var(--marvel-shadow);
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	height: 100%;
}

.post-type-archive-trip .category-trips-single-inner-wrap:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 32px rgba(44, 44, 44, 0.12);
}

.post-type-archive-trip .category-trip-fig img {
	border-radius: 0;
}

.post-type-archive-trip .category-trip-content-wrap h2,
.post-type-archive-trip .category-trip-content-wrap h3,
.post-type-archive-trip .category-trip-content-wrap .category-trip-title {
	font-family: var(--marvel-font-heading);
	font-size: 1.1rem;
	line-height: 1.35;
}

.post-type-archive-trip .category-trip-content-wrap a {
	color: inherit;
	text-decoration: none;
}

.post-type-archive-trip .category-trip-content-wrap a:hover {
	color: var(--marvel-primary);
}

/* Tours archive price: clean all-in "From $X" only (Hard Stop #5).
   Do not force display on .category-trip-budget — WPTE owns layout (flex). */
.post-type-archive-trip .category-trip-discount,
.post-type-archive-trip .striked-price,
.post-type-archive-trip .saved-price {
	display: none !important;
}

/* List view: showing price must not collapse the title column (WPTE flex). */
.post-type-archive-trip .category-list .category-trips-single-inner-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: stretch;
}

.post-type-archive-trip .category-list .category-trip-fig {
	flex: 0 0 auto;
	width: min(220px, 40%);
	min-width: 140px;
	min-height: 160px;
}

.post-type-archive-trip .category-list .category-trip-content-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: flex-start;
	flex: 1 1 16rem;
	min-width: 0;
}

.post-type-archive-trip .category-list .category-trip-detail-wrap {
	flex: 1 1 12rem;
	min-width: 12rem;
	width: auto;
	max-width: 100%;
}

.post-type-archive-trip .category-list .category-trip-prc-title-wrap,
.post-type-archive-trip .category-list .category-trip-prc-wrap {
	width: auto;
	min-width: 0;
	max-width: 100%;
}

.post-type-archive-trip .category-list .category-trip-budget {
	flex: 0 1 11rem;
	min-width: 9rem;
}

.post-type-archive-trip .price-holder {
	display: inline-flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.35rem;
	font-family: var(--marvel-font-body);
	font-weight: 700;
	color: var(--marvel-text);
}

.post-type-archive-trip .regular-price {
	font-weight: 600;
	color: var(--marvel-text);
}

.post-type-archive-trip .actual-price {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--marvel-primary);
}

.post-type-archive-trip .category-trips-single {
	margin-bottom: 1.5rem;
}

/* Archive quick book */
.post-type-archive-trip .marvel-qb {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	margin-top: 0.35rem;
}

.post-type-archive-trip .marvel-qb__title {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--marvel-text);
}

.post-type-archive-trip .marvel-qb__row {
	display: grid;
	grid-template-columns: 1fr 1.35fr;
	gap: 0.5rem;
}

.post-type-archive-trip .marvel-qb__field {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	font-size: 0.75rem;
	color: rgba(44, 44, 44, 0.72);
}

.post-type-archive-trip .marvel-qb__select {
	min-height: 40px;
	border: 1px solid rgba(44, 44, 44, 0.16);
	border-radius: var(--marvel-radius);
	background: #fff;
	color: var(--marvel-text);
	padding: 0.35rem 0.5rem;
	font-size: 0.9rem;
}

.post-type-archive-trip .marvel-qb__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	font-size: 0.95rem;
}

.post-type-archive-trip .marvel-qb__total-value {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--marvel-primary);
}

.post-type-archive-trip .marvel-qb__unit {
	font-size: 0.78rem;
	color: rgba(44, 44, 44, 0.65);
}

/* Book now: same blue as existing archive card CTA */
.post-type-archive-trip .wpte-button-group {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.45rem;
}

.post-type-archive-trip .wpte-button-group a.wpte-button,
.post-type-archive-trip .wpte-button-group a.marvel-archive-book {
	background-color: var(--marvel-primary) !important;
	border-color: var(--marvel-primary) !important;
	color: #fff !important;
	text-align: center;
}

.post-type-archive-trip .wpte-button-group a.wpte-button:hover,
.post-type-archive-trip .wpte-button-group a.marvel-archive-book:hover {
	background-color: var(--marvel-primary-hover) !important;
	border-color: var(--marvel-primary-hover) !important;
	color: #fff !important;
}

.post-type-archive-trip .marvel-qb__details {
	display: inline-block;
	text-align: center;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--marvel-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.post-type-archive-trip .marvel-qb__details:hover {
	color: var(--marvel-primary-hover);
}

/*
 * Tours archive cards — mobile only
 * List flex (thumb + text) becomes stacked: full-width image, compact title.
 */
@media (max-width: 781px) {
	/* B1 archive H1 — compact stacked hero (see inc/trip-archive-mobile-hero.php) */
	.post-type-archive-trip .page-header {
		margin-bottom: 0.85rem !important;
		padding-inline: 0.35rem;
	}

	.post-type-archive-trip h1.page-title.marvel-archive-hero-wrap,
	.post-type-archive-trip .page-header .page-title {
		font-size: clamp(1.05rem, 4.5vw, 1.35rem) !important;
		line-height: 1.28 !important;
		font-weight: 700 !important;
		max-width: min(20rem, 100%);
		margin-left: auto;
		margin-right: auto;
		padding: 0 !important;
		text-wrap: balance;
	}

	.post-type-archive-trip .marvel-archive-hero {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 0.35rem;
		text-align: center;
	}

	.post-type-archive-trip .marvel-archive-hero__pill {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 0.3em;
		padding: 0.2em 0.55em 0.2em 0.45em;
		border-radius: 999px;
		background: linear-gradient(135deg, rgba(61, 139, 154, 0.12), rgba(212, 168, 75, 0.14));
		border: 1px solid rgba(61, 139, 154, 0.28);
		box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset;
		color: #2a6d7a;
		font-family: var(--marvel-font-body);
		font-size: 0.68rem;
		font-weight: 650;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		line-height: 1.2;
	}

	.post-type-archive-trip .marvel-archive-hero__pill-icon {
		display: inline-flex;
		color: #d4a84b;
		line-height: 0;
	}

	.post-type-archive-trip .marvel-archive-hero__pill-text {
		font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
		font-weight: 700;
		font-size: 0.95em;
		text-transform: none;
		letter-spacing: 0.01em;
	}

	.post-type-archive-trip .marvel-archive-hero__headline {
		font-family: var(--marvel-font-heading);
		font-size: clamp(1.02rem, 4.2vw, 1.22rem);
		font-weight: 700;
		line-height: 1.22;
		color: var(--marvel-text);
		letter-spacing: -0.01em;
	}

	.post-type-archive-trip .marvel-archive-hero__meta {
		font-family: var(--marvel-font-body);
		font-size: 0.68rem;
		font-weight: 500;
		line-height: 1.35;
		color: #6b6560;
		max-width: 16rem;
		text-wrap: balance;
	}

	.post-type-archive-trip .category-list .category-trips-single-inner-wrap {
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
		gap: 0;
		padding: 0.85rem 0.95rem 1rem !important;
		box-sizing: border-box;
	}

	.post-type-archive-trip .category-list .category-trip-fig {
		flex: 0 0 auto;
		width: 100% !important;
		min-width: 0 !important;
		min-height: 0 !important;
		height: auto !important;
		margin: 0 0 0.7rem !important;
		padding: 0 !important;
		overflow: hidden;
		border-radius: 10px;
	}

	/*
	 * WPTE list layout: padding-top:100% !important (square) + absolute Splide
	 * → empty band under 16:10 images. Beat trip-archive.css specificity.
	 */
	.post-type-archive-trip .category-list .category-trips-single.wpte_new-layout .category-trips-single-inner-wrap .category-trip-fig .wpte-gallery-wrapper,
	.post-type-archive-trip .category-list .category-trips-single.wpte_new-layout .category-trips-single-inner-wrap .category-trip-fig .wpte-gallery-wrapper.banner-layout-default,
	.post-type-archive-trip .category-list .category-trip-fig .wpte-gallery-wrapper,
	.post-type-archive-trip .category-list .category-trip-fig .wpte-gallery-wrapper.banner-layout-default {
		position: relative !important;
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		overflow: hidden;
	}

	.post-type-archive-trip .category-list .category-trips-single.wpte_new-layout .category-trips-single-inner-wrap .category-trip-fig .splide,
	.post-type-archive-trip .category-list .category-trip-fig .splide {
		position: relative !important;
		top: auto !important;
		left: auto !important;
		right: auto !important;
		bottom: auto !important;
		inset: auto !important;
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		margin: 0 !important;
	}

	.post-type-archive-trip .category-list .category-trip-fig .splide__track,
	.post-type-archive-trip .category-list .category-trip-fig .splide__list {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	/* Kill side-peek carousel so image matches title width */
	.post-type-archive-trip .category-list .category-trip-fig .splide__track {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.post-type-archive-trip .category-list .category-trip-fig .splide__slide {
		width: 100% !important;
		height: auto !important;
		margin: 0 !important;
	}

	.post-type-archive-trip .category-list .category-trip-fig .splide__slide img,
	.post-type-archive-trip .category-list .category-trip-fig img {
		width: 100% !important;
		max-width: 100% !important;
		aspect-ratio: 16 / 10;
		object-fit: cover;
		object-position: center;
		height: auto !important;
		display: block;
		vertical-align: middle;
	}

	.post-type-archive-trip .category-list .category-trip-fig .splide__pagination {
		position: absolute !important;
		left: 0;
		right: 0;
		bottom: 0.4rem !important;
		padding: 0 !important;
		margin: 0 !important;
		z-index: 2;
	}

	.post-type-archive-trip .category-list .category-trip-content-wrap {
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
		gap: 0.65rem;
		flex: 0 0 auto;
		width: 100% !important;
		min-width: 0 !important;
		padding: 0 !important;
		box-sizing: border-box;
	}

	.post-type-archive-trip .category-list .category-trip-detail-wrap,
	.post-type-archive-trip .category-list .category-trip-budget,
	.post-type-archive-trip .category-list .category-trip-prc-title-wrap,
	.post-type-archive-trip .category-list .category-trip-prc-wrap {
		flex: 0 0 auto;
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
	}

	/* Beat WPTE trip-archive.css 20px !important */
	.post-type-archive-trip .category-trips-single-inner-wrap .category-trip-prc-title-wrap .category-trip-title,
	.post-type-archive-trip .category-trips-single-inner-wrap .category-trip-prc-title-wrap .category-trip-title a,
	.post-type-archive-trip .category-trip-content-wrap h2.category-trip-title,
	.post-type-archive-trip .category-trip-content-wrap h2.category-trip-title a {
		font-size: 1rem !important; /* 16px */
		line-height: 1.3 !important;
		margin: 0 0 0.2rem !important;
		font-weight: 700 !important;
	}

	.post-type-archive-trip .category-trip-content-wrap .category-trip-title a {
		display: block;
	}

	.post-type-archive-trip .category-trip-desc {
		font-size: 0.875rem !important;
		line-height: 1.45 !important;
		margin: 0 0 0.4rem !important;
		padding: 0 !important;
		border: none !important;
		border-left: none !important;
		color: rgba(44, 44, 44, 0.78);
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		overflow: hidden;
	}

	.post-type-archive-trip .category-trip-desti {
		margin: 0.1rem 0 0.3rem;
		font-size: 0.85rem;
	}

	.post-type-archive-trip .category-list .category-trip-budget {
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0.65rem;
		padding-top: 0.15rem;
		width: 100% !important;
	}

	.post-type-archive-trip .category-list .wpte-trip-price-wrapper {
		display: flex;
		flex-wrap: wrap;
		align-items: flex-end;
		justify-content: space-between;
		gap: 0.5rem 1rem;
		width: 100%;
	}

	.post-type-archive-trip .category-list .wpte-trip-duration {
		display: flex;
		flex-direction: row;
		align-items: center;
		flex-wrap: wrap;
		gap: 0.3rem 0.4rem;
		font-size: 0.72rem;
		color: rgba(44, 44, 44, 0.72);
	}

	.post-type-archive-trip .category-list .wpte-trip-duration-value {
		display: inline-flex;
		align-items: center;
		padding: 0.1rem 0.42rem;
		border: 1px solid rgba(61, 139, 154, 0.32);
		border-radius: 5px;
		background: rgba(61, 139, 154, 0.06);
		font-size: 0.7rem;
		font-weight: 650;
		color: var(--marvel-text);
		line-height: 1.25;
		white-space: nowrap;
	}

	.post-type-archive-trip .category-list .wpte-button-group {
		width: 100%;
	}

	.post-type-archive-trip .actual-price {
		font-size: 1.15rem !important;
	}

	.post-type-archive-trip .category-trip-aval-time {
		width: 100%;
		padding: 0.35rem 0 0;
		box-sizing: border-box;
	}

	.post-type-archive-trip .marvel-qb {
		margin-top: 0.1rem;
	}

	.post-type-archive-trip .marvel-qb__row {
		grid-template-columns: 1fr 1fr;
	}

	.post-type-archive-trip .wpte-button-group a.wpte-button,
	.post-type-archive-trip .wpte-button-group a.marvel-archive-book {
		border-radius: 999px !important;
		min-height: 44px;
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
	}
}

/* Single trip */
/* Duration badge — compact horizontal chip (desktop + base; WPTE default is tall blue stack) */
.single-trip .entry-header .wte-title-duration,
.single-trip .wte-title-duration.marvel-duration-range,
.single-trip .wte-title-duration {
	position: static !important;
	right: auto !important;
	top: auto !important;
	float: none !important;
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: center !important;
	flex-wrap: nowrap !important;
	gap: 0.3rem !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: 100%;
	height: auto !important;
	margin: 0.35rem 0 0.15rem !important;
	padding: 0.15rem 0.55rem 0.15rem 0.15rem !important;
	border: 1px solid rgba(61, 139, 154, 0.28) !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	background: #fff !important;
	overflow: visible !important;
	vertical-align: middle;
}

.single-trip .wte-title-duration .duration {
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	height: auto !important;
	min-width: 0 !important;
	padding: 0.18rem 0.48rem !important;
	border-radius: 999px !important;
	border-bottom: none !important;
	background-color: var(--marvel-primary, #3d8b9a) !important;
	color: #fff !important;
	white-space: nowrap;
	line-height: 1.2 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.single-trip .wte-title-duration .days {
	height: auto !important;
	font-size: 0.75rem !important;
	font-weight: 600 !important;
	color: var(--marvel-text, #2c2c2c) !important;
	padding: 0 0.2rem 0 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	white-space: nowrap;
}

/* WPTE reserved space for absolute duration badge — no longer needed */
.single-trip .entry-header:has(.wte-title-duration) {
	padding-right: 0 !important;
}

.single-trip .entry-hero .entry-title,
.single-trip h1.entry-title {
	font-family: var(--marvel-font-heading);
}

/* Short blurb under H1 (e.g. Skip the Line) */
.single-trip .entry-header .marvel-trip-tagline {
	margin: 0.35rem 0 0;
	padding: 0;
	font-family: var(--marvel-font-body, "Source Sans 3", sans-serif);
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--marvel-primary);
	letter-spacing: 0.01em;
}

/* Tour overview moved into post content — hide duplicate WPTE tab */
.single-trip .wpte-tabs-container .tab-anchor-wrapper.marvel-tab-hidden {
	display: none !important;
}

.single-trip .marvel-inline-overview {
	margin: 0 0 1.25rem;
}

.single-trip .marvel-inline-overview h2 {
	margin: 0 0 0.65rem;
}

.single-trip .marvel-inline-overview h3 {
	margin: 1.1rem 0 0.5rem;
}

/* Enquiry as attention tab */
.single-trip .marvel-enquiry-tab-anchor {
	margin-left: 0.15rem;
}

.single-trip .marvel-enquiry-tab {
	background: linear-gradient(135deg, #3d8b9a 0%, #2f6f7c 100%) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 999px !important;
	padding: 0.45rem 1rem !important;
	box-shadow: 0 4px 14px rgba(61, 139, 154, 0.28);
	font-weight: 700 !important;
	letter-spacing: 0.01em;
}

.single-trip .marvel-enquiry-tab .tab-icon {
	display: none;
}

.single-trip .marvel-enquiry-tab:hover,
.single-trip .marvel-enquiry-tab:focus-visible,
.single-trip .marvel-enquiry-tab.nav-tab-active {
	background: linear-gradient(135deg, #d4a84b 0%, #b8892f 100%) !important;
	color: #1a1a1a !important;
	box-shadow: 0 6px 18px rgba(212, 168, 75, 0.35);
}

.single-trip .marvel-enquiry-panel {
	border: 1px solid rgba(61, 139, 154, 0.22);
	border-radius: 14px;
	padding: 1.1rem 1.15rem 1.25rem;
	background:
		linear-gradient(180deg, rgba(61, 139, 154, 0.08), rgba(250, 247, 242, 0.4)),
		#fff;
	box-shadow: 0 10px 28px rgba(26, 26, 26, 0.06);
}

.single-trip .marvel-enquiry-panel .enquiry-form-title {
	font-family: var(--marvel-font-heading, "Libre Baskerville", serif);
	font-size: clamp(1.2rem, 2.4vw, 1.45rem);
	line-height: 1.3;
	margin: 0 0 0.85rem;
	color: var(--marvel-text, #1a1a1a);
}

.single-trip .marvel-enquiry-panel .wte_enquiry_contact_form-wrap {
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	box-shadow: none;
}

@media (max-width: 781px) {
	.single-trip .marvel-enquiry-tab-anchor {
		margin: 0.55rem 0 0;
		order: 99 !important;
	}

	.single-trip .marvel-enquiry-tab {
		display: flex !important;
		justify-content: center;
		width: 100%;
		border-radius: 12px !important;
		padding: 0.7rem 1rem !important;
	}

	.single-trip .marvel-enquiry-panel {
		border-radius: 12px;
		padding: 0.95rem 0.9rem 1.1rem;
		/* Sit under Ask us trigger in WPTE mobile flex accordion */
		order: 100 !important;
	}
}

/*
 * Single trip — mobile content typography & reading layout
 * (H1 was ~40px / 3–4 lines — too large for phone)
 */
@media (max-width: 781px) {
	.single-trip .content-area,
	.single-trip .trip-content-area,
	.single-trip .site-main,
	.single-trip article.trip {
		max-width: 100%;
		min-width: 0;
	}

	/* Title sits tight under gallery (was ~32px content-area margin) */
	.single-trip .trip-content-area .content-area {
		margin-top: 0.4rem !important;
		margin-bottom: 1rem !important;
	}

	.single-trip .wpte-gallery-wrapper.banner-layout-default,
	.single-trip .wpte-gallery-wrapper__multi-banners {
		margin-bottom: 0 !important;
	}

	.single-trip .entry-header {
		margin: 0.15rem 0 0.55rem !important;
		padding: 0 !important;
	}

	.single-trip h1.entry-title,
	.single-trip .entry-hero .entry-title {
		font-size: clamp(1.15rem, 4.4vw, 1.35rem) !important; /* ~18–22px — lighter on phone */
		line-height: 1.25 !important;
		letter-spacing: -0.015em;
		font-weight: 700 !important;
		margin: 0 0 0.4rem !important;
		overflow-wrap: anywhere;
		hyphens: auto;
		max-width: 100%;
	}

	/* Duration badge — compact pill, not a tall 32px block */
	.single-trip .wte-title-duration {
		width: auto !important;
		min-width: 0 !important;
		max-width: 100%;
		flex-direction: row !important;
		align-items: center !important;
		flex-wrap: wrap;
		gap: 0.3rem;
		border-radius: 999px !important;
		padding: 0.2rem 0.65rem 0.2rem 0.2rem !important;
		border: 1px solid rgba(61, 139, 154, 0.28) !important;
		box-shadow: none !important;
		background: #fff !important;
	}

	.single-trip .wte-title-duration .duration {
		font-size: 0.82rem !important;
		font-weight: 700 !important;
		height: auto !important;
		min-width: 0;
		padding: 0.2rem 0.5rem !important;
		border-radius: 999px !important;
		border-bottom: none !important;
		background-color: var(--marvel-primary) !important;
		color: #fff !important;
		white-space: nowrap;
		line-height: 1.2;
	}

	.single-trip .wte-title-duration .days {
		height: auto !important;
		font-size: 0.78rem !important;
		font-weight: 600 !important;
		color: var(--marvel-text) !important;
		padding-right: 0.15rem;
	}

	.single-trip h2,
	.single-trip .wpte-tabs-container h2,
	.single-trip .trip-content-area h2 {
		font-size: clamp(1.12rem, 4.2vw, 1.28rem) !important; /* ~18–20px */
		line-height: 1.3 !important;
		margin: 1.1rem 0 0.45rem !important;
		overflow-wrap: anywhere;
	}

	.single-trip h3,
	.single-trip .trip-content-area h3,
	.single-trip .wpte-tabs-container h3 {
		font-size: clamp(1.02rem, 3.8vw, 1.12rem) !important; /* ~16–18px */
		line-height: 1.35 !important;
		margin: 0.9rem 0 0.35rem !important;
		overflow-wrap: anywhere;
	}

	.single-trip h4,
	.single-trip .trip-content-area h4 {
		font-size: 1rem !important;
		line-height: 1.4 !important;
		margin: 0.75rem 0 0.3rem !important;
	}

	.single-trip .trip-content-area p,
	.single-trip .wpte-tabs-container .tab-content p,
	.single-trip .entry-content p,
	.single-trip .wpte-tabs-container .tab-content li,
	.single-trip .trip-content-area li {
		font-size: 0.98rem !important; /* ~15.5–16px */
		line-height: 1.55 !important;
		margin-bottom: 0.65rem !important;
		overflow-wrap: anywhere;
	}

	.single-trip .wpte-tabs-container .tab-content ul,
	.single-trip .trip-content-area ul {
		padding-left: 1.15rem !important;
		margin: 0.35rem 0 0.85rem !important;
	}

	.single-trip .wpte-tabs-container .tab-content {
		line-height: 1.55 !important;
		font-size: 0.98rem !important;
	}

	/* Tabs as compact UI chips, not giant serif headings */
	.single-trip .wpte-tabs-container [role="tab"],
	.single-trip .wpte-tabs-container .wte-nav-tab,
	.single-trip .wpte-tabs-container .nav-tab,
	.single-trip .wte-tabs a,
	.single-trip .wpte-tabs-container .tab-label {
		font-family: var(--marvel-font-body), system-ui, sans-serif !important;
		font-size: 0.88rem !important;
		line-height: 1.25 !important;
		font-weight: 600 !important;
	}

	.single-trip .wpte-tabs-container {
		margin-top: 0.75rem !important;
	}

	/*
	 * Trip gallery ↔ title: same horizontal extent (mobile only).
	 * Desktop keeps WPTE/Kadence gallery layout as before mobile polish.
	 */
	.single-trip .wpte-gallery-wrapper.banner-layout-default {
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		left: auto !important;
		right: auto !important;
		position: relative !important;
		border-radius: 8px;
		overflow: hidden;
	}

	.single-trip .wpte-gallery-wrapper__multi-banners {
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.single-trip .wpte-gallery-wrapper .splide.single-trip-main-carousel,
	.single-trip .wpte-gallery-wrapper .splide__track,
	.single-trip .wpte-gallery-wrapper .splide__list,
	.single-trip .wpte-gallery-wrapper .splide__slide {
		width: 100% !important;
		max-width: 100% !important;
	}

	.single-trip .wpte-gallery-wrapper .splide__slide img {
		display: block;
		width: 100% !important;
		max-width: 100% !important;
		object-fit: cover;
	}
}

/* Brand chrome that predated mobile trip polish — keep on all viewports */
.single-trip .wpte-booking-area-wrapper,
.single-trip .wpte-booking-area {
	border-radius: var(--marvel-radius);
	box-shadow: var(--marvel-shadow);
	border: 1px solid rgba(44, 44, 44, 0.08);
}

@media (min-width: 1024px) {
	.single-trip .wpte-booking-area-wrapper {
		position: sticky;
		top: 6rem;
	}
}

.single-trip .wpte-tabs-container .tab-content {
	line-height: 1.65;
}

/*
 * Single trip — mobile-only polish (gallery arrows, section chevrons, sticky booking)
 * Desktop keeps WPTE/Kadence defaults.
 */
@media (max-width: 781px) {
	.single-trip .wpte-gallery-wrapper .splide__arrow {
		background: rgba(255, 255, 255, 0.88) !important;
		border-radius: 50% !important;
		width: 2.25rem !important;
		height: 2.25rem !important;
		opacity: 0.92 !important;
		box-shadow: 0 2px 10px rgba(44, 44, 44, 0.18);
	}

	.single-trip .wpte-gallery-wrapper .splide__arrow svg {
		fill: var(--marvel-text) !important;
		width: 1rem !important;
		height: 1rem !important;
	}

	.single-trip .wpte-gallery-wrapper .splide__arrow:hover:not(:disabled) {
		opacity: 1 !important;
		background: #fff !important;
	}

	/* Itinerary stop toggles — dashicons were collapsing to 0 width */
	.single-trip .custom-toggle-tabs.dashicons,
	.single-trip .dashicons.custom-toggle-tabs {
		width: 1.35rem !important;
		height: 1.35rem !important;
		font-size: 1.35rem !important;
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		color: var(--marvel-primary) !important;
		opacity: 1 !important;
		flex: 0 0 auto;
		line-height: 1 !important;
	}

	.single-trip .accordion-tabs-toggle {
		cursor: pointer;
		display: inline-flex;
		align-items: center;
		gap: 0.4rem;
	}

	/* Main section titles (Tour overview / Itinerary / Cost / FAQs) — clear chevron */
	.single-trip .wpte-tabs-container .wte-tab-title > a.nav-tab {
		position: relative;
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		gap: 0.75rem;
		padding: 0.85rem 2.75rem 0.85rem 0.9rem !important;
		border: 1px solid rgba(44, 44, 44, 0.1) !important;
		border-radius: var(--marvel-radius) !important;
		background: #fff !important;
		margin: 0 0 0.4rem !important;
		color: var(--marvel-text) !important;
		font-family: var(--marvel-font-body), system-ui, sans-serif !important;
		font-size: 1rem !important;
		font-weight: 650 !important;
		line-height: 1.3 !important;
		text-decoration: none !important;
	}

	.single-trip .wpte-tabs-container .wte-tab-title > a.nav-tab::after {
		content: "" !important;
		position: absolute !important;
		right: 0.85rem !important;
		top: 50% !important;
		width: 0.7rem !important;
		height: 0.7rem !important;
		margin: 0 !important;
		border-right: 2.5px solid var(--marvel-primary) !important;
		border-bottom: 2.5px solid var(--marvel-primary) !important;
		background: none !important;
		background-image: none !important;
		transform: translateY(-65%) rotate(45deg) !important;
		transition: transform 0.2s ease !important;
		opacity: 1 !important;
	}

	.single-trip .wpte-tabs-container .wte-tab-title > a.nav-tab.nav-tab-active,
	.single-trip .wpte-tabs-container .wte-tab-title.marvel-tab-open > a.nav-tab {
		border-color: rgba(61, 139, 154, 0.45) !important;
		box-shadow: 0 1px 0 rgba(61, 139, 154, 0.08);
	}

	.single-trip .wpte-tabs-container .wte-tab-title > a.nav-tab.nav-tab-active::after,
	.single-trip .wpte-tabs-container .wte-tab-title.marvel-tab-open > a.nav-tab::after {
		transform: translateY(-20%) rotate(225deg) !important;
	}

	.single-trip .wpte-tabs-container .wte-tab-title > a.nav-tab.marvel-tab-collapsed::after {
		transform: translateY(-65%) rotate(45deg) !important;
	}

	/* Sticky booking bar — compact price + CTA (all trips, mobile) */
	.single-trip .wpte-booking-area.wpte-form-layout-1,
	.single-trip .wpte-booking-area-wrapper .wpte-booking-area {
		box-shadow: 0 -4px 16px rgba(44, 44, 44, 0.1) !important;
		border-radius: 10px 10px 0 0 !important;
		border: 1px solid rgba(44, 44, 44, 0.08) !important;
		background: #fff !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	/* Remove collapse handle — no “Show Prices” / re-open bubble on mobile (all trips) */
	.single-trip .wpte_price-toggle-btn-mb,
	.single-trip #wpte_price-toggle-btn-mb,
	body.single-trip .wpte-booking-area .wpte_price-toggle-btn-mb {
		display: none !important;
		visibility: hidden !important;
		pointer-events: none !important;
		position: absolute !important;
		width: 0 !important;
		height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: hidden !important;
		clip: rect(0, 0, 0, 0) !important;
		opacity: 0 !important;
		border: 0 !important;
		box-shadow: none !important;
	}
	.single-trip .wpte_price-toggle-btn-mb::before,
	.single-trip .wpte_price-toggle-btn-mb::after,
	.single-trip #wpte_price-toggle-btn-mb::before,
	.single-trip #wpte_price-toggle-btn-mb::after {
		content: none !important;
		display: none !important;
	}

	.single-trip .wpte-booking-area .wpte-booking-inner-wrapper {
		display: flex !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 0.5rem !important;
		padding: 0.28rem 0.55rem calc(0.28rem + env(safe-area-inset-bottom, 0px)) !important;
		height: auto !important;
		max-height: none !important;
		min-height: 0 !important;
	}

	.single-trip .wpte-booking-area .wpte-bf-price-wrap {
		max-height: none !important;
		height: auto !important;
		overflow: visible !important;
		margin: 0 !important;
		padding: 0 !important;
		border: none !important;
		flex: 1 1 auto !important;
		min-width: 0;
	}

	.single-trip .wpte-booking-area .wpte-bf-price-wrap .wpte-bf-price {
		padding: 0 !important;
		margin: 0 !important;
		width: auto !important;
		flex-flow: row wrap !important;
		align-items: baseline !important;
		gap: 0.25rem 0.4rem !important;
	}

	.single-trip .wpte-booking-area .wpte-bf-reg-price {
		margin: 0 !important;
		font-size: 0.72rem !important;
		line-height: 1.15 !important;
	}

	.single-trip .wpte-booking-area .wpte-bf-offer-amount {
		font-size: 1.05rem !important;
		font-weight: 800 !important;
		line-height: 1.1 !important;
	}

	.single-trip .wpte-booking-area .wpte-bf-pqty {
		font-size: 0.72rem !important;
		line-height: 1.15 !important;
	}

	.single-trip .wpte-booking-area .wpte-bf-gd-text,
	.single-trip .wpte-booking-area .wpte-bf-content,
	.single-trip .wpte-booking-area .wpte-booking-footer-text {
		display: none !important;
	}

	.single-trip .wpte-booking-area .wpte-bf-btn-wrap {
		padding: 0 !important;
		flex: 0 0 auto !important;
		width: auto !important;
	}

	.single-trip .wpte-booking-area .wpte-bf-btn {
		width: auto !important;
		min-width: 7.75rem !important;
		min-height: 32px !important;
		padding: 0.35rem 0.65rem !important;
		font-size: 0.78rem !important;
		line-height: 1.15 !important;
		text-transform: none !important;
		border-radius: 999px !important;
		background: var(--marvel-primary) !important;
		white-space: nowrap;
	}
}

/* WhatsApp float — markup from inc/whatsapp-float.php.
   The custom properties below are the contract with that module's script:
   it reads them to clamp dragging inside the safe area and above the sticky
   booking bar. Without JS the button stays a plain corner float. */
.marvel-wa {
	--wa-size: 3.5rem;
	--wa-handle-w: 34px;
	--wa-handle-h: 50px;
	--wa-margin: 18px;
	--wa-gutter-bottom: 0px;
	--wa-ease: cubic-bezier(0.22, 1, 0.36, 1);
	position: fixed;
	right: calc(var(--wa-margin) + env(safe-area-inset-right, 0px));
	bottom: calc(var(--wa-margin) + var(--wa-gutter-bottom) + env(safe-area-inset-bottom, 0px));
	z-index: 2147483000;
	width: var(--wa-size);
	height: var(--wa-size);
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
	text-decoration: none;
	isolation: isolate;
	-webkit-tap-highlight-color: transparent;
}

.marvel-wa:hover,
.marvel-wa:focus-visible {
	background: #1ebe57;
	color: #fff;
	outline: 2px solid var(--marvel-cta);
	outline-offset: 3px;
}

.marvel-wa__icon {
	position: relative;
	z-index: 1;
	display: block;
	width: 28px;
	height: 28px;
	transition: width 0.28s var(--wa-ease), height 0.28s var(--wa-ease);
}

.marvel-wa__chev {
	position: relative;
	z-index: 1;
	display: flex;
	width: 0;
	height: 0;
	overflow: hidden;
	opacity: 0;
	transition: width 0.28s var(--wa-ease), height 0.28s var(--wa-ease), opacity 0.18s ease;
}

.marvel-wa__pulse {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: #25d366;
	z-index: 0;
	animation: marvel-wa-blink 1.6s ease-in-out infinite;
}

@keyframes marvel-wa-blink {
	0%,
	100% {
		opacity: 0.35;
		transform: scale(1);
	}
	50% {
		opacity: 0;
		transform: scale(1.45);
	}
}

/* Script-driven mode: the module owns the position through transform. */
.marvel-wa.is-enhanced {
	right: auto;
	bottom: auto;
	top: 0;
	left: 0;
	cursor: grab;
	touch-action: none;
	user-select: none;
	-webkit-user-select: none;
	-webkit-user-drag: none;
	transition:
		transform 0.42s var(--wa-ease),
		width 0.28s var(--wa-ease),
		height 0.28s var(--wa-ease),
		border-radius 0.28s var(--wa-ease),
		box-shadow 0.24s ease,
		background-color 0.2s ease;
}

.marvel-wa.no-anim,
.marvel-wa.is-dragging {
	transition: none;
}

.marvel-wa.is-dragging {
	cursor: grabbing;
	will-change: transform;
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

/* Idle state: a pull tab flush against the edge, still unmistakably WhatsApp. */
.marvel-wa.is-collapsed {
	width: var(--wa-handle-w);
	height: var(--wa-handle-h);
	flex-direction: column;
	gap: 1px;
	border-radius: 999px 0 0 999px;
	box-shadow: -3px 6px 16px rgba(0, 0, 0, 0.22);
	/* Soft attention pulse so the wall handle stays noticeable (mobile + desktop). */
	animation: marvel-wa-peek-attention 2.4s ease-in-out infinite;
}

.marvel-wa.is-collapsed.is-left {
	border-radius: 0 999px 999px 0;
	box-shadow: 3px 6px 16px rgba(0, 0, 0, 0.22);
}

.marvel-wa.is-collapsed .marvel-wa__icon {
	width: 20px;
	height: 20px;
}

.marvel-wa.is-collapsed .marvel-wa__chev {
	width: 12px;
	height: 12px;
	opacity: 0.95;
	flex-shrink: 0;
	animation: marvel-wa-chev-nudge 2.4s ease-in-out infinite;
}

.marvel-wa.is-collapsed.is-left .marvel-wa__chev {
	transform: rotate(180deg);
	animation-name: marvel-wa-chev-nudge-left;
}

/* Keep a gentle green halo while docked (was fully disabled before). */
.marvel-wa.is-collapsed .marvel-wa__pulse {
	opacity: 0.45;
	animation: marvel-wa-blink 2.4s ease-in-out infinite;
}

@keyframes marvel-wa-peek-attention {
	0%,
	100% {
		filter: brightness(1);
		box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22), 0 0 0 0 rgba(37, 211, 102, 0.4);
	}
	50% {
		filter: brightness(1.1);
		box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28), 0 0 0 10px rgba(37, 211, 102, 0);
	}
}

@keyframes marvel-wa-chev-nudge {
	0%,
	100% {
		transform: translateX(0);
		opacity: 0.85;
	}
	50% {
		transform: translateX(-2px);
		opacity: 1;
	}
}

@keyframes marvel-wa-chev-nudge-left {
	0%,
	100% {
		transform: rotate(180deg) translateX(0);
		opacity: 0.85;
	}
	50% {
		transform: rotate(180deg) translateX(-2px);
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.marvel-wa__pulse {
		animation: none;
		opacity: 0;
	}

	.marvel-wa.is-collapsed,
	.marvel-wa.is-collapsed .marvel-wa__chev,
	.marvel-wa.is-collapsed .marvel-wa__pulse {
		animation: none;
	}

	.marvel-wa.is-enhanced,
	.marvel-wa__icon,
	.marvel-wa__chev {
		transition-duration: 0.01ms;
	}
}

@media (max-width: 480px) {
	.marvel-wa {
		--wa-size: 3.25rem;
		--wa-margin: 14px;
	}
}

/* Trip pages keep a ~92px sticky booking bar on phones — the gutter keeps both
   the static fallback and the dragged button clear of Check Availability. */
@media (max-width: 781px) {
	body.single-trip .marvel-wa {
		--wa-gutter-bottom: 92px;
	}
}

/* Footer */
.site-footer,
#colophon {
	background-color: var(--marvel-bg);
	border-top: 1px solid rgba(44, 44, 44, 0.08);
}

/* Traveler moments shortcode section */
.marvel-traveler-moments {
	padding: 2.5rem 1.5rem;
	background: var(--marvel-surface);
}

.marvel-traveler-moments h2 {
	text-align: center;
	margin-bottom: 1.25rem;
}

.marvel-traveler-moments__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 1rem;
	max-width: 960px;
	margin: 0 auto;
}

.marvel-traveler-moments__item {
	border-radius: var(--marvel-radius);
	overflow: hidden;
	box-shadow: var(--marvel-shadow);
}

.marvel-traveler-moments__item img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
}

/* Home — mobile polish (AIT-MOBILE-PRESENTATION-STANDARD) */
@media (max-width: 781px) {
	html,
	body {
		overflow-x: clip;
	}

	.home .site,
	.home .content-area,
	.home .entry-content,
	.home .wp-block-group,
	.home .wp-block-columns,
	.home .wp-block-column {
		max-width: 100%;
		min-width: 0;
	}

	.home .wp-block-columns .wp-block-column.has-background:hover {
		transform: none; /* avoid hover lift jank / overflow on touch */
	}

	/*
	 * Home content frames — same inset as Popular Day Tours
	 * (5px from viewport · 0.75rem pad · 6px radius). Hero stays full-bleed.
	 * Popular rail = mobile-only; desktop grid untouched.
	 */
	.home .entry-content > .wp-block-group {
		width: calc(100vw - 10px) !important;
		max-width: calc(100vw - 10px) !important;
		margin-left: calc(50% - 50vw + 5px) !important;
		margin-right: calc(50% - 50vw + 5px) !important;
		padding-left: 0.75rem !important;
		padding-right: 0.75rem !important;
		border-radius: 6px !important;
		box-sizing: border-box !important;
	}

	.home .entry-content > .wp-block-cover.alignfull,
	.home .entry-content > .marvel-home-hero.wp-block-cover {
		width: 100vw !important;
		max-width: 100vw !important;
		margin-left: calc(50% - 50vw) !important;
		margin-right: calc(50% - 50vw) !important;
		border-radius: 0 !important;
	}

	.home .wp-block-group:has(.marvel-sec-head--popular) > .wp-block-buttons {
		padding-inline: 0.15rem;
	}

	.home .marvel-popular-rail {
		display: flex;
		align-items: stretch; /* equal card height so View tour shares one baseline */
		gap: 0.65rem;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 0.15rem;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-x: contain;
		padding: 0.1rem 0.15rem 0.7rem;
		margin: 0;
		width: 100%;
		scrollbar-width: thin;
		scrollbar-color: #c9bfb0 transparent;
	}

	.home .marvel-popular-rail::-webkit-scrollbar {
		height: 5px;
	}

	.home .marvel-popular-rail::-webkit-scrollbar-thumb {
		background: #c9bfb0;
		border-radius: 99px;
	}

	.home .marvel-popular-rail > .marvel-popular-rail__card,
	.home .marvel-popular-rail > .wp-block-column.marvel-popular-rail__card {
		flex: 0 0 calc(48% - 0.25rem) !important;
		flex-basis: calc(48% - 0.25rem) !important;
		flex-grow: 0 !important;
		flex-shrink: 0 !important;
		width: calc(48% - 0.25rem) !important;
		max-width: calc(48% - 0.25rem) !important;
		scroll-snap-align: start;
		/* Fixed rows keep View tour on one baseline across uneven titles */
		display: grid !important;
		grid-template-rows:
			auto
			calc(0.88rem * 1.32 * 3)
			1.15em
			1.35em
			auto !important;
		align-content: stretch !important;
		align-items: stretch !important;
		row-gap: 0.22rem !important;
		background: transparent !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		padding: 0 !important;
		min-width: 0 !important;
	}

	.home .marvel-popular-rail > .marvel-popular-rail__card .wp-block-image,
	.home .marvel-popular-rail > .wp-block-column.marvel-popular-rail__card .wp-block-image {
		margin: 0 !important;
		width: 100%;
		aspect-ratio: 4 / 5;
		overflow: hidden;
		border-radius: 12px;
		grid-row: 1;
		align-self: start;
	}

	.home .marvel-popular-rail > .marvel-popular-rail__card .wp-block-image img,
	.home .marvel-popular-rail > .wp-block-column.marvel-popular-rail__card .wp-block-image img {
		display: block;
		width: 100%;
		height: 100%;
		aspect-ratio: 4 / 5;
		object-fit: cover;
		border-radius: 12px;
	}

	.home .marvel-popular-rail > .marvel-popular-rail__card h3,
	.home .marvel-popular-rail > .wp-block-column.marvel-popular-rail__card h3 {
		font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
		font-size: 0.88rem !important;
		font-weight: 700 !important;
		line-height: 1.32 !important;
		letter-spacing: -0.01em;
		margin: 0 !important;
		/* Exact 3-line band — no taller/shorter titles shifting View tour */
		height: calc(0.88rem * 1.32 * 3) !important;
		min-height: calc(0.88rem * 1.32 * 3) !important;
		max-height: calc(0.88rem * 1.32 * 3) !important;
		color: #1a1a1a !important;
		display: -webkit-box !important;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis;
		overflow-wrap: anywhere;
		hyphens: auto;
		grid-row: 2;
	}

	.home .marvel-popular-rail > .marvel-popular-rail__card h3 a,
	.home .marvel-popular-rail > .wp-block-column.marvel-popular-rail__card h3 a {
		color: inherit !important;
		text-decoration: none !important;
	}

	.home .marvel-popular-rail > .marvel-popular-rail__card > p:not(.marvel-home-card__from):not(.marvel-home-card__duration),
	.home .marvel-popular-rail > .marvel-popular-rail__card .marvel-home-card__actions,
	.home .marvel-popular-rail > .marvel-popular-rail__card .marvel-home-card__cta,
	.home .marvel-popular-rail > .marvel-popular-rail__card .marvel-home-card__details,
	.home .marvel-popular-rail > .marvel-popular-rail__card .wp-block-buttons,
	.home .marvel-popular-rail > .wp-block-column.marvel-popular-rail__card > p:not(.marvel-home-card__from):not(.marvel-home-card__duration),
	.home .marvel-popular-rail > .wp-block-column.marvel-popular-rail__card .marvel-home-card__actions,
	.home .marvel-popular-rail > .wp-block-column.marvel-popular-rail__card .marvel-home-card__cta,
	.home .marvel-popular-rail > .wp-block-column.marvel-popular-rail__card .marvel-home-card__details,
	.home .marvel-popular-rail > .wp-block-column.marvel-popular-rail__card .wp-block-buttons {
		display: none !important;
	}

	.home .marvel-popular-rail > .marvel-popular-rail__card .marvel-home-card__duration,
	.home .marvel-popular-rail > .wp-block-column.marvel-popular-rail__card .marvel-home-card__duration {
		display: block !important;
		margin: 0 !important;
		padding: 0 !important;
		font-size: 0.68rem !important;
		font-weight: 500 !important;
		line-height: 1.15em !important;
		height: 1.15em !important;
		color: rgba(44, 44, 44, 0.62) !important;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		grid-row: 3;
	}

	.home .marvel-popular-rail > .marvel-popular-rail__card .marvel-home-card__from,
	.home .marvel-popular-rail > .wp-block-column.marvel-popular-rail__card .marvel-home-card__from {
		margin: 0 !important;
		padding: 0 !important;
		font-size: 0.8rem !important;
		font-weight: 600 !important;
		line-height: 1.35em !important;
		height: 1.35em !important;
		color: #2a2a2a !important;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		grid-row: 4;
	}

	.home .marvel-popular-rail > .marvel-popular-rail__card .marvel-home-card__view,
	.home .marvel-popular-rail > .wp-block-column.marvel-popular-rail__card .marvel-home-card__view {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		justify-self: start;
		align-self: start;
		margin: 0.12rem 0 0 !important;
		padding: 0.28rem 0.7rem !important;
		font-size: 0.7rem !important;
		font-weight: 700 !important;
		line-height: 1.2 !important;
		letter-spacing: 0.01em;
		color: #fff !important;
		background: var(--marvel-primary) !important;
		border-radius: 999px !important;
		text-decoration: none !important;
		white-space: nowrap;
		grid-row: 5;
	}

	.home .marvel-popular-rail > .marvel-popular-rail__card .marvel-home-card__view:hover,
	.home .marvel-popular-rail > .marvel-popular-rail__card .marvel-home-card__view:focus,
	.home .marvel-popular-rail > .wp-block-column.marvel-popular-rail__card .marvel-home-card__view:hover,
	.home .marvel-popular-rail > .wp-block-column.marvel-popular-rail__card .marvel-home-card__view:focus {
		background: var(--marvel-primary-hover) !important;
		color: #fff !important;
	}

	.home .wp-block-buttons {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0.65rem;
	}

	.home .wp-block-buttons .wp-block-button,
	.home .wp-block-buttons .wp-block-button__link {
		width: 100%;
		text-align: center;
	}

	.home h1.wp-block-heading {
		font-size: clamp(1.55rem, 6.6vw, 2.05rem);
		line-height: 1.2;
		padding: 0 0.15rem;
		overflow-wrap: anywhere;
	}

	.home .marvel-home-hero.wp-block-cover,
	.home .entry-content > .wp-block-cover.alignfull {
		min-height: 52vh !important;
		padding-top: clamp(1.5rem, 4.5vh, 2.5rem) !important;
		padding-bottom: clamp(1.5rem, 4.5vh, 2.5rem) !important;
		padding-left: 1rem !important;
		padding-right: 1rem !important;
	}

	.home .marvel-home-hero .wp-block-cover__inner-container p,
	.home .entry-content > .wp-block-cover.alignfull .wp-block-cover__inner-container p {
		font-size: clamp(0.92rem, 3.6vw, 1.05rem);
		line-height: 1.4;
		max-width: 36rem;
		margin-left: auto;
		margin-right: auto;
	}

	.home .wp-block-column.has-background {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
	}

	.home .wp-block-column.has-background h3 {
		overflow-wrap: anywhere;
		hyphens: auto;
	}

	.home .marvel-sec-head {
		max-width: 100%;
		padding-inline: 0.25rem;
	}

	.home .marvel-sec-head__title {
		font-size: clamp(1.25rem, 5.5vw, 1.55rem);
		line-height: 1.25;
		overflow-wrap: anywhere;
	}

	/*
	 * Popular Day Tours subtitle — Egyptologist seal (mobile only).
	 * Chip on its own row; rest of the line balanced below (no orphan “-led”).
	 */
	.marvel-sec-head--popular .marvel-sec-head__sub {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 0.32rem;
		font-size: 0.68rem;
		line-height: 1.4;
		letter-spacing: 0.004em;
		color: #5c5750;
		max-width: min(19.5rem, 100%);
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}

	.marvel-sec-head--popular .marvel-egyptologist-mark {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 0.26em;
		padding: 0.16em 0.5em 0.16em 0.38em;
		margin: 0;
		border-radius: 999px;
		background: linear-gradient(135deg, rgba(61, 139, 154, 0.14), rgba(212, 168, 75, 0.16));
		border: 1px solid rgba(61, 139, 154, 0.32);
		box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
		color: #2a6d7a;
		font-weight: 650;
		font-size: 0.88em;
		letter-spacing: 0.01em;
		line-height: 1.2;
		white-space: nowrap;
		max-width: 100%;
	}

	.marvel-sec-head--popular .marvel-sec-head__sub-rest {
		display: block;
		max-width: 100%;
		text-wrap: balance;
		padding-inline: 0.1rem;
		font-size: 0.96em;
		color: #6b6560;
	}

	.marvel-sec-head--popular .marvel-sec-head__sub-line {
		display: block;
		font-family: var(--marvel-font-heading);
		font-size: 0.92em;
		font-weight: 700;
		line-height: 1.25;
		color: var(--marvel-text);
		text-wrap: balance;
	}

	.marvel-sec-head--popular .marvel-sec-head__sub-meta {
		display: block;
		font-size: 0.92em;
		line-height: 1.35;
		color: #6b6560;
		text-wrap: balance;
		max-width: 15rem;
		margin-inline: auto;
	}

	.marvel-sec-head--popular .marvel-egyptologist-mark__icon {
		display: block;
		width: 1.05em;
		height: 1.05em;
		flex: 0 0 auto;
		color: #d4a84b;
		filter: drop-shadow(0 0 0.5px rgba(44, 44, 44, 0.25));
	}

	.marvel-sec-head--popular .marvel-egyptologist-mark__word {
		font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
		font-weight: 700;
		font-size: 0.96em;
	}

	.home .marvel-sec-head__jewel svg {
		width: 28px;
		height: 28px;
	}

	.home .wp-block-group:has(.marvel-sec-head--reviews) {
		overflow-x: hidden;
	}

	/* Cairo time under brand + Plan your trip alignment: owned by cairo-time.php */
	#mobile-header .header-button-wrap a.button,
	#mobile-header .kadence-header-button {
		min-height: 40px;
		padding: 0.45rem 0.7rem;
		font-size: 0.8rem;
		white-space: nowrap;
	}

	/*
	 * Why travel with Marvel — attention swipe rail (mobile only).
	 * Desktop/tablet columns stay stacked/grid as Gutenberg renders them above 800.
	 */
	.home .wp-block-columns:has(.marvel-why-card),
	.home .wp-block-columns.marvel-why-rail {
		display: flex !important;
		flex-wrap: nowrap !important;
		align-items: stretch !important;
		gap: 0.75rem !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		/* no scroll-snap — fights slow auto-scroll */
		scroll-snap-type: none;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-x: contain;
		padding: 0.35rem 0.15rem 0.85rem !important;
		margin: 0.35rem -0.15rem 0.15rem !important;
		scrollbar-width: thin;
		scrollbar-color: #c9bfb0 transparent;
	}

	.home .wp-block-columns:has(.marvel-why-card)::-webkit-scrollbar,
	.home .wp-block-columns.marvel-why-rail::-webkit-scrollbar {
		height: 4px;
	}

	.home .wp-block-columns:has(.marvel-why-card)::-webkit-scrollbar-thumb,
	.home .wp-block-columns.marvel-why-rail::-webkit-scrollbar-thumb {
		background: #c9bfb0;
		border-radius: 99px;
	}

	.home .wp-block-columns:has(.marvel-why-card) > .wp-block-column.marvel-why-card,
	.home .marvel-why-rail > .marvel-why-card {
		flex: 0 0 min(78%, 17.5rem) !important;
		width: min(78%, 17.5rem) !important;
		max-width: min(78%, 17.5rem) !important;
		scroll-snap-align: none;
		margin: 0 !important;
		padding: 1.05rem 1rem 1.1rem !important;
		border-radius: 16px !important;
		border: 1px solid #d5cdc0 !important;
		background: linear-gradient(165deg, #ffffff 0%, #faf7f2 55%, #eef6f8 100%) !important;
		box-shadow: 0 10px 26px rgba(44, 44, 44, 0.1), 0 1px 0 rgba(255, 255, 255, 0.8) inset !important;
		position: relative;
		overflow: hidden;
		text-align: left !important;
	}

	.home .wp-block-columns:has(.marvel-why-card) > .wp-block-column.marvel-why-card::before,
	.home .marvel-why-rail > .marvel-why-card::before {
		content: "";
		position: absolute;
		left: 0;
		top: 0;
		bottom: 0;
		width: 4px;
		background: linear-gradient(180deg, #3d8b9a 0%, #d4a84b 100%);
	}

	.home .wp-block-columns:has(.marvel-why-card) > .wp-block-column.marvel-why-card:nth-child(even),
	.home .marvel-why-rail > .marvel-why-card:nth-child(even) {
		background: linear-gradient(165deg, #ffffff 0%, #eef7f8 48%, #f8f1e6 100%) !important;
		border-color: #bfd5da !important;
		box-shadow: 0 12px 28px rgba(61, 139, 154, 0.16) !important;
	}

	.home .wp-block-columns:has(.marvel-why-card) > .wp-block-column.marvel-why-card:nth-child(even)::before,
	.home .marvel-why-rail > .marvel-why-card:nth-child(even)::before {
		background: linear-gradient(180deg, #d4a84b 0%, #e07a5f 100%);
	}

	.home .marvel-why-card .marvel-why-icon {
		justify-content: flex-start !important;
		margin: 0 0 0.55rem !important;
	}

	.home .marvel-why-card .marvel-why-icon svg {
		width: 40px;
		height: 40px;
		filter: drop-shadow(0 2px 4px rgba(61, 139, 154, 0.18));
	}

	.home .marvel-why-card h3.wp-block-heading {
		text-align: left !important;
		font-size: 1.05rem !important;
		font-weight: 750 !important;
		letter-spacing: -0.015em;
		margin: 0 0 0.4rem !important;
		line-height: 1.25 !important;
		color: #2c2c2c !important;
	}

	.home .marvel-why-card p {
		text-align: left !important;
		font-size: 0.86rem !important;
		line-height: 1.45 !important;
		margin: 0 !important;
		color: #3a3632 !important;
	}

	/* Auto-scroll owned by why-marvel-rail.js — no swipe hint */
	.home .marvel-why-rail-hint {
		display: none !important;
	}
}

@media (max-width: 480px) {
	.home .entry-content > .wp-block-group.alignfull.has-background {
		padding-left: 0.75rem !important;
		padding-right: 0.75rem !important;
	}

	.home .marvel-home-hero.wp-block-cover,
	.home .entry-content > .wp-block-cover.alignfull {
		min-height: 48vh !important;
		padding-top: clamp(1.25rem, 4vh, 2.25rem) !important;
		padding-bottom: clamp(1.25rem, 4vh, 2.25rem) !important;
	}

	.ti-widget {
		overflow-x: hidden;
		max-width: 100%;
	}

	/* WA position owned by inc/whatsapp-float.php (drag all viewports; mobile default left) */
}

/* Cairo clock: only show when the header has real room between the logo and the menu. */
@media (max-width:1299px){
	.site-header-wrap .marvel-cairo-time--header{display:none!important}
}

/* WPTE ships a blue enquiry submit; the rest of the site books in brand gold. */
.wte_enquiry_contact_form .wpte-button.enquiry-submit {
	background-color: var(--marvel-cta) !important;
	color: var(--marvel-text) !important;
	border: none !important;
	border-radius: var(--marvel-radius) !important;
	min-height: 44px;
	font-weight: 700;
}

.wte_enquiry_contact_form .wpte-button.enquiry-submit:hover,
.wte_enquiry_contact_form .wpte-button.enquiry-submit:focus-visible {
	background-color: var(--marvel-cta-hover) !important;
	color: var(--marvel-text) !important;
}

/* Plugin markup runs "our" straight into the policy link with no space. */
.wte_enquiry_contact_form .privacy-policy-link {
	margin-left: 0.25em;
}

/* ==========================================================================
   Archive / trip content gutters — align with crumbs + pull column left a bit
   (WPTE defaults: .trip-content-area 20px; archive-repeater-wrap 40px desktop)
   ========================================================================== */

#wp-travel-trip-wrapper.trip-content-area {
	padding-left: 12px !important;
	padding-right: 12px !important;
}

@media (min-width: 1025px) {
	#wp-travel-trip-wrapper.trip-content-area {
		padding-left: 24px !important;
		padding-right: 24px !important;
	}

	/* Beat WPTE: .archive-outer-wrap .advanced-search-wrapper + .archive-repeater-wrap */
	.post-type-archive-trip .wp-travel-engine-archive-outer-wrap .advanced-search-wrapper + .wp-travel-engine-archive-repeater-wrap,
	.post-type-archive-trip .wp-travel-engine-archive-outer-wrap .wp-travel-engine-archive-repeater-wrap,
	.tax-destination .wp-travel-engine-archive-outer-wrap .wp-travel-engine-archive-repeater-wrap,
	.tax-activities .wp-travel-engine-archive-outer-wrap .wp-travel-engine-archive-repeater-wrap,
	.tax-trip_types .wp-travel-engine-archive-outer-wrap .wp-travel-engine-archive-repeater-wrap {
		padding-left: 16px !important;
	}
}

@media (max-width: 1024px) {
	.post-type-archive-trip .wp-travel-engine-archive-repeater-wrap,
	.tax-destination .wp-travel-engine-archive-repeater-wrap,
	.tax-activities .wp-travel-engine-archive-repeater-wrap,
	.tax-trip_types .wp-travel-engine-archive-repeater-wrap {
		padding-left: 0 !important;
	}
}

/* ==========================================================================
   Advertised price condition (inc/trip-pricing.php)
   The "From" figure is the group rate, so the party size that unlocks it has
   to travel with the number everywhere it appears.
   ========================================================================== */

.marvel-bf-price-note {
	margin-top: 0.3rem;
	font-size: 0.8rem;
	line-height: 1.35;
	font-weight: 500;
	color: #6b6355;
}

.marvel-bf-price-note__compact {
	display: none;
}

@media (max-width: 781px) {
	/* Sticky booking bar: keep the condition, drop the long wording. */
	.single-trip .wpte-booking-area .marvel-bf-price-note {
		margin-top: 0.05rem !important;
		font-size: 0.62rem !important;
		line-height: 1.15 !important;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.single-trip .wpte-booking-area .marvel-bf-price-note__full {
		display: none;
	}

	.single-trip .wpte-booking-area .marvel-bf-price-note__compact {
		display: inline;
	}
}
