/* ===== Page Hero widget (widgets/page-hero-widget.php) - the tour hero's
   look (tour-hero-widget.css) for destination / guide pages, plus a
   breadcrumb capsule that stays visible on phones. The section tabs below it
   reuse the tour sticky nav (tour-sticky-nav-widget.css); .page_sticky_nav
   only adjusts that for a longer, scrolling tab list. ===== */

.page_hero_box {
	position: relative;
	width: 100%;
	min-height: 64vh;
	background-color: var(--ink, #2b2420);
	display: flex;
	align-items: flex-end;
	overflow: hidden;
}

/* Two classes deep - Elementor's ".elementor img { height: auto }" would
   otherwise shrink the photo inside the taller box (same as .tour_hero_img). */
.page_hero_box .page_hero_img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	display: block;
	pointer-events: none;
	-webkit-user-drag: none;
}

.page_hero_overlay {
	position: relative;
	z-index: 1;
	width: 100%;
	box-sizing: border-box;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.75) 100%);
	padding: 96px max(32px, calc((100% - 1340px) / 2)) 36px;
}

.page_hero_content {
	max-width: 900px;
	color: #fff;
}

/* ---- Breadcrumb: a frosted capsule above the title ---- */

.page_hero_breadcrumb {
	margin: 0 0 18px;
	max-width: 100%;
}

.page_hero_crumbs {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 5px 14px 5px 6px;
	list-style: none;
	border-radius: 999px;
	background: rgba(20, 16, 14, 0.32);
	border: 1px solid rgba(255, 255, 255, 0.22);
	-webkit-backdrop-filter: blur(10px) saturate(140%);
	backdrop-filter: blur(10px) saturate(140%);
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.page_hero_crumb {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
	white-space: nowrap;
	font-family: "Noto Sans", sans-serif;
	font-size: 13px;
	/* !important - the sitewide link line-height (~1px, see tour-hero-widget.css) */
	line-height: 1.4 !important;
}

.page_hero_crumb::before,
.page_hero_crumb::after {
	content: none !important;
}

/* !important on color/decoration - the theme's global link colour and
   underline otherwise win (same fight as .tour_hero_breadcrumb a). */
.page_hero_breadcrumb .page_hero_crumb_link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 8px;
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.86) !important;
	text-decoration: none !important;
	line-height: 1.4 !important;
	font-weight: 500;
	transition: background-color 150ms, color 150ms;
}

.page_hero_breadcrumb .page_hero_crumb_link:hover,
.page_hero_breadcrumb .page_hero_crumb_link:focus-visible {
	color: #fff !important;
	background-color: rgba(255, 255, 255, 0.16);
	text-decoration: none !important;
}

.page_hero_breadcrumb .page_hero_crumb_link:focus-visible {
	outline: 2px solid var(--pink-action, #e8334f);
	outline-offset: 1px;
}

.page_hero_crumb_home .page_hero_crumb_link {
	padding: 5px 7px;
}

.page_hero_crumb_icon {
	display: block;
	flex: 0 0 auto;
}

.page_hero_crumb_sep {
	flex: 0 0 auto;
	color: rgba(255, 255, 255, 0.5);
}

.page_hero_crumb_current {
	padding: 4px 4px 4px 8px;
	color: #fff;
	font-weight: 600;
}

.page_hero_breadcrumb .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---- Title, intro, facts, button (tour hero values) ---- */

.page_hero_title {
	margin: 0 0 14px;
	font-family: "Noto Sans", sans-serif;
	font-weight: 700;
	font-size: 44px;
	line-height: 1.12;
	color: #fff !important;
}

.page_hero_intro {
	margin: 0 0 22px;
	max-width: 680px;
	font-size: 17px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.9);
}

.page_hero_facts_row {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 40px;
	margin-bottom: 24px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.page_hero_fact {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.page_hero_fact_label {
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: rgba(255, 255, 255, 0.7);
}

.page_hero_fact_value {
	font-size: 15px;
	font-weight: 600;
}

.page_hero_cta_row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.page_hero_cta_btn {
	display: inline-block;
	font-family: "Noto Sans", sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1 !important;
	background-color: var(--pink-action, #e8334f) !important;
	color: #fff !important;
	padding: 14px 32px;
	border-radius: 0;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background-color 200ms;
}

.page_hero_cta_btn:hover,
.page_hero_cta_btn:focus-visible {
	background-color: var(--e-global-color-e352649, #ca2c45) !important;
	color: #fff !important;
}

/* ---- Section tabs: the tour sticky nav, scrolling for a longer list ---- */

.page_sticky_nav .tour_sticky_nav_tabs {
	scroll-behavior: smooth;
}

@media only screen and (max-width: 819px) {
	.page_sticky_nav .tour_sticky_nav_tabs {
		gap: 22px;
		justify-content: flex-start;
		/* Fade at the right edge - shows there are more tabs to swipe to. */
		-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
		mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
		padding-right: 24px;
	}
}

@media only screen and (max-width: 480px) {
	.page_sticky_nav .tour_sticky_nav_inner {
		padding: 0 16px;
	}

	.page_sticky_nav .tour_sticky_nav_tabs {
		gap: 20px;
		justify-content: flex-start;
	}

	.page_sticky_nav .tour_sticky_nav_tab {
		font-size: 13.5px;
	}
}

/* ---- Phones ---- */

@media only screen and (max-width: 767px) {
	.page_hero_box {
		min-height: 72vh;
	}

	.page_hero_overlay {
		padding: 72px 18px 24px;
	}

	/* One line that scrolls sideways instead of wrapping; the script scrolls
	   it to the end so the current page shows, and .is-scrolled fades the
	   start once the capsule has been scrolled. */
	.page_hero_crumbs {
		display: flex;
		width: max-content;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding: 4px 12px 4px 4px;
	}

	.page_hero_crumbs::-webkit-scrollbar {
		display: none;
	}

	.page_hero_crumbs.is-scrolled {
		-webkit-mask-image: linear-gradient(to right, transparent 0, #000 26px);
		mask-image: linear-gradient(to right, transparent 0, #000 26px);
	}

	.page_hero_crumb {
		font-size: 12.5px;
	}

	.page_hero_breadcrumb .page_hero_crumb_link {
		padding: 4px 6px;
	}

	.page_hero_title {
		font-size: 28px;
	}

	.page_hero_intro {
		font-size: 15px;
		margin-bottom: 18px;
	}

	.page_hero_facts_row {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 14px 18px;
		padding-top: 16px;
		margin-bottom: 20px;
	}

	.page_hero_fact_value {
		font-size: 14px;
	}

	.page_hero_cta_btn {
		width: 100%;
		text-align: center;
		box-sizing: border-box;
	}
}
