/* ==========================================================================
   Imahodophile – site header & footer (from the approved design)
   Phone first; desktop layout from 1024px.
   Brand tokens (--tp-*) are defined in packages.css.
   ========================================================================== */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.skip-link:focus {
	clip: auto;
	width: auto;
	height: auto;
	z-index: 100000;
	top: 8px;
	left: 8px;
	padding: 10px 16px;
	background: #fff;
	color: var(--tp-navy);
}

/* ---- Brand (logo mark + wordmark) --------------------------------------- */
.imh-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--tp-navy);
	text-decoration: none;
}
.imh-brand:hover,
.imh-brand:focus { color: var(--tp-navy); }
.imh-brand .imh-brand__mark {
	flex: 0 0 auto;
	width: 48px;
	height: 32px;
	object-fit: contain;
}
.imh-brand__wordmark { display: block; line-height: 1; }
.imh-brand__wordmark b {
	display: block;
	font-family: var(--tp-font-script);
	font-size: 23px;
	font-weight: 700;
	letter-spacing: .01em;
	color: var(--tp-navy);
}
.imh-brand__wordmark i {
	display: block;
	margin-top: 2px;
	font-family: var(--tp-font-body);
	font-style: normal;
	font-size: 7px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--tp-muted);
}

/* ---- EN / GR pills (links once Polylang is active) ----------------------- */
.imh-langs {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 4px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(15, 22, 38, .10);
	font-family: var(--tp-font-body);
}
.imh-langs a,
.imh-langs span {
	padding: 6px 16px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	line-height: normal;
	color: var(--tp-muted);
	text-decoration: none;
}
.imh-langs .is-current { background: var(--tp-btn); color: #fff; }
.imh-langs .is-disabled { cursor: default; }

/* ---- Header -------------------------------------------------------------- */
.imh-header {
	position: relative;
	z-index: 50;
	background: #fff;
	border-bottom: 1px solid rgba(15, 22, 38, .06);
	font-family: var(--tp-font-body);
}
.imh-header__inner {
	display: flex;
	align-items: center;
	max-width: 1440px;
	margin: 0 auto;
	padding: 12px 18px;
}
.imh-header__right {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-left: auto;
}

/* Menu: hidden on phones until the burger opens it */
.imh-nav { display: none; }
.imh-nav ul { margin: 0; padding: 0; list-style: none; line-height: normal; }
.imh-nav a {
	font-size: 15px;
	font-weight: 400;
	line-height: normal;
	color: var(--tp-body);
	text-decoration: none;
}
.imh-nav a:hover,
.imh-nav .current-menu-item > a { color: var(--tp-btn); }

.imh-header.is-open .imh-nav {
	display: block;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	box-shadow: 0 12px 24px rgba(15, 22, 38, .10);
}
.imh-header.is-open .imh-nav li { border-top: 1px solid var(--tp-line); }
.imh-header.is-open .imh-nav a { display: block; padding: 14px 18px; }

/* Burger */
.imh-header .imh-burger {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 24px;
	padding: 4px 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-sizing: content-box;
	cursor: pointer;
}
.imh-header .imh-burger:hover,
.imh-header .imh-burger:focus { background: none; }
.imh-burger i {
	display: block;
	height: 2.5px;
	border-radius: 2px;
	background: var(--tp-btn);
}
.imh-burger i:nth-of-type(2) { width: 78%; }

@media (min-width: 1024px) {
	.imh-header__inner {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		padding: 14px 44px;
	}
	.imh-brand__wordmark b { font-size: 29px; }
	.imh-nav,
	.imh-header.is-open .imh-nav {
		display: block;
		position: static;
		justify-self: center;
		box-shadow: none;
	}
	.imh-nav ul { display: flex; gap: 34px; }
	.imh-header.is-open .imh-nav li { border-top: 0; }
	.imh-header.is-open .imh-nav a { display: inline; padding: 0; }
	.imh-header__right { justify-self: end; margin-left: 0; }
	.imh-header .imh-burger { display: none; }
}

/* Tablets (768–1023px): the menu is shown in the bar (no burger), between the logo and EN / GR. */
@media (min-width: 768px) and (max-width: 1023px) {
	.imh-header__inner { padding: 12px 28px; }
	.imh-nav,
	.imh-header.is-open .imh-nav {
		display: block;
		position: static;
		margin-left: auto;
		box-shadow: none;
	}
	.imh-nav ul { display: flex; gap: 24px; }
	.imh-header.is-open .imh-nav li { border-top: 0; }
	.imh-header.is-open .imh-nav a { display: inline; padding: 0; }
	.imh-header__right { margin-left: 28px; }
	.imh-header .imh-burger { display: none; }
}

/* ---- Header logo: bigger, hanging a little below the header onto the page ----
   The negative margins keep the header bar its normal height; the logo overflows below it. */
.imh-header .imh-brand { position: relative; z-index: 2; gap: 12px; }
.imh-header .imh-brand .imh-brand__mark {
	width: 70px;
	height: 66px;
	margin: -2px 0 -28px;
	object-fit: contain;
}
@media (min-width: 1024px) {
	.imh-header .imh-brand .imh-brand__mark {
		width: 110px;
		height: 104px;
		margin: -6px 0 -58px;
	}
}
/* ---- Phones and tablets: sticky header, stays at the top while scrolling -------
   Once the page is scrolled (site-menu.js adds .is-stuck), the hanging logo shrinks into the bar
   so it doesn't cover the content underneath. Computers keep the normal header. */
@media (max-width: 1023px) {
	.imh-header {
		position: sticky;
		top: 0;
		z-index: 8000; /* Above page content (maps, cards), below the WhatsApp button and booking popup. */
		transition: box-shadow .25s ease;
	}
	/* Below the WordPress admin bar for logged-in staff (on small phones that bar scrolls away). */
	body.admin-bar .imh-header { top: 0; }
	@media (min-width: 601px) { body.admin-bar .imh-header { top: 46px; } }
	@media (min-width: 783px) { body.admin-bar .imh-header { top: 32px; } }
	.imh-header .imh-brand .imh-brand__mark { transition: width .25s ease, height .25s ease, margin .25s ease; }
	.imh-header.is-stuck { box-shadow: 0 6px 20px rgba(15, 22, 38, .08); }
	.imh-header.is-stuck .imh-brand .imh-brand__mark { width: 46px; height: 42px; margin: -4px 0; }
	/* Links to a section (#packages, #book ...) stop below the sticky header, not under it. */
	html { scroll-padding-top: 76px; }
}
@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
	.imh-header,
	.imh-header .imh-brand .imh-brand__mark { transition: none; }
}
@media print { .imh-header { position: static; } }

/* Pages whose title starts at the left edge (trips, Info, Contact, the trips list): room for the
   logo. Elementor pages (Home) start with a photo, so the logo simply overlaps it there. */
main.tp-trip,
main.tp-archive { padding-top: 26px; }
@media (min-width: 1024px) {
	main.tp-trip { padding-top: 46px; }
	main.tp-archive { padding-top: 0; } /* Its title starts right of the logo. */
}
/* ---- Footer (the footer design), over soft palms / mountains / sea. Phones: centred, top to bottom
   (closing quote + plane, big logo, footer text, ©; no footer menu). Tablets and computers: two columns (below). */
.imh-footer {
	position: relative;
	z-index: 2;
	overflow: hidden; /* Clips the decorative fronds and hills. */
	background: linear-gradient(180deg, #fff 0, #F5F9FD 90px, #F3F8FC 100%);
	font-family: var(--tp-font-body);
	text-align: center;
}
.imh-footer__inner {
	position: relative;
	z-index: 1;
	max-width: 820px;
	margin: 0 auto;
	padding: 44px 18px 96px; /* Bottom: room for the hills and the WhatsApp button. */
}
.imh-footer__top { display: flex; flex-direction: column; align-items: center; }

/* Backdrop */
.imh-footer__scene { position: absolute; inset: 0; pointer-events: none; }
.imh-footer__frond { position: absolute; color: #DCE8F4; }
.imh-footer__frond--left { left: -90px; top: 120px; width: 220px; opacity: .7; transform: rotate(-28deg); }
.imh-footer__frond--right { right: -70px; top: 10px; width: 230px; opacity: .8; transform: scaleX(-1) rotate(-18deg); }
.imh-footer__hills { position: absolute; left: 0; bottom: 0; width: 100%; height: 120px; }
.imh-footer__island { position: absolute; left: 6px; bottom: 6px; width: 150px; height: auto; }

/* Quote + plane divider */
.imh-footer__quote { margin: 0 0 40px; }
.imh-footer__quote blockquote {
	position: relative;
	display: inline-block;
	margin: 0;
	padding: 18px 30px 0;
	border: 0;
}
.imh-footer .imh-footer__quote p {
	margin: 0;
	font-family: var(--tp-font-script);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.35;
	color: #2B3140;
}
.imh-footer__mark {
	position: absolute;
	font-family: Georgia, serif;
	font-size: 64px;
	font-weight: 700;
	line-height: 1;
	color: #2F6690;
}
.imh-footer__mark--open { left: -6px; top: 0; }
.imh-footer__mark--close { right: -6px; bottom: -40px; }
.imh-footer__plane {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-top: 26px;
	color: #7D93AE;
}
.imh-footer__plane::before,
.imh-footer__plane::after {
	content: "";
	width: 72px;
	height: 1.5px;
	background: #C6D4E3;
}
.imh-footer__plane svg { display: block; }

/* Brand: big logo + wordmark, then the footer text */
.imh-footer__brand .imh-brand { display: inline-flex; gap: 16px; text-align: left; }
.imh-footer .imh-brand .imh-brand__mark { width: 104px; height: 100px; }
.imh-footer .imh-brand__wordmark b { font-size: 38px; }
.imh-footer .imh-brand__wordmark i { margin-top: 6px; font-size: 10px; letter-spacing: .3em; }
.imh-footer .imh-footer__tag {
	max-width: 34ch;
	margin: 18px auto 0;
	font-size: 17px;
	line-height: 1.45;
	color: var(--tp-muted);
}

/* Footer menu: hidden on phones (the header menu is enough there) */
.imh-footer__nav { display: none; }
.imh-footer__nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: normal;
}
.imh-footer__nav a { font-size: 15px; color: var(--tp-body); text-decoration: none; }
.imh-footer__nav a:hover { color: var(--tp-btn); }

.imh-footer__bottom {
	margin-top: 30px;
	padding-top: 22px;
	border-top: 1px solid #D9E2EC;
	font-size: 14px;
	color: var(--tp-muted);
}

/* Tablets and computers: a slimmer footer in two columns: the logo, footer text and menu on the
   left, the quote and plane on the right, then the © line across the bottom. */
/* Tablets: no footer menu either (the header menu is enough); computers show it. */
@media (max-width: 1023px) {
	.imh-footer .imh-footer__nav { display: none; }
}
@media (min-width: 768px) {
	.imh-footer__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-template-areas: "brand quote" "bottom bottom";
		align-items: center;
		gap: 0 48px;
		max-width: 1200px;
		padding: 36px 40px 70px;
	}
	.imh-footer__top { grid-area: brand; align-items: flex-start; text-align: left; }
	.imh-footer__quote { grid-area: quote; margin: 0; justify-self: end; text-align: center; }
	.imh-footer__bottom { grid-area: bottom; margin-top: 26px; padding-top: 18px; }
	.imh-footer .imh-brand .imh-brand__mark { width: 84px; height: 80px; }
	.imh-footer .imh-brand__wordmark b { font-size: 32px; }
	.imh-footer .imh-brand__wordmark i { font-size: 9px; }
	.imh-footer .imh-footer__tag { margin: 12px 0 0; font-size: 15px; }
	.imh-footer__nav { display: block; margin-top: 16px; }
	.imh-footer__nav ul { justify-content: flex-start; gap: 8px 24px; }
	.imh-footer .imh-footer__quote p { font-size: 26px; }
	.imh-footer__mark { font-size: 60px; }
	.imh-footer__mark--close { bottom: -36px; }
	.imh-footer__plane { margin-top: 18px; }
	.imh-footer__frond--left { top: 40px; width: 200px; opacity: .55; }
	.imh-footer__frond--right { top: -40px; width: 210px; opacity: .6; }
	.imh-footer__hills { height: 80px; }
	.imh-footer__island { width: 120px; bottom: 4px; }
}
@media (min-width: 1024px) {
	.imh-footer__inner { gap: 0 80px; padding: 44px 44px 84px; }
	.imh-footer__frond--left { left: -50px; width: 240px; }
	.imh-footer__frond--right { right: -40px; width: 250px; }
	.imh-footer__hills { height: 100px; }
	.imh-footer__island { left: 40px; width: 150px; }
	.imh-footer__quote blockquote { padding: 18px 52px 0; }
	.imh-footer .imh-footer__quote p { font-size: 32px; }
	.imh-footer__mark { font-size: 72px; }
	.imh-footer__mark--close { bottom: -44px; }
	.imh-footer .imh-brand .imh-brand__mark { width: 100px; height: 96px; }
	.imh-footer .imh-brand__wordmark b { font-size: 38px; }
	.imh-footer .imh-brand__wordmark i { font-size: 10px; }
	.imh-footer .imh-footer__tag { font-size: 16px; }
}

/* ---- Elementor templates ---------------------------------------------------
   Rounded video card in the Home template (Video widget with CSS class "imh-rounded-video"). */
.imh-rounded-video .elementor-widget-container,
.imh-rounded-video .elementor-wrapper { border-radius: 20px; overflow: hidden; }

/* ---- Floating WhatsApp button (Customize > Imahodophile brand) ------------ */
.imh-wa {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 9000; /* Below the booking popup (9990+). */
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px;
	border-radius: 999px;
	background: #25D366;
	box-shadow: 0 10px 26px rgba(15, 22, 38, .25);
	color: #fff;
	font-family: var(--tp-font-body);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease;
}
.imh-wa:hover,
.imh-wa:focus { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15, 22, 38, .3); }
.imh-wa__icon { flex: 0 0 auto; display: block; }
.imh-wa__label { display: none; }
@media (min-width: 1024px) {
	.imh-wa { right: 24px; bottom: 24px; padding: 12px 20px 12px 14px; }
	.imh-wa__label { display: inline; }
}
/* Out of the way while booking (popup or order summary open) and when printing. */
html.tp-no-scroll .imh-wa,
html:has(.tp-bk-modal:target) .imh-wa { display: none; }
@media print { .imh-wa { display: none !important; } }

/* ---- Home: phone-only sticky "Explore trips" bar (appears after the hero) --- */
.imh-mbar { display: none; }
@media (max-width: 1023px) {
	.imh-mbar {
		position: fixed;
		left: 12px;
		right: 84px; /* Leaves room for the WhatsApp button. */
		bottom: 16px;
		z-index: 8990;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		padding: 14px 18px;
		border-radius: 999px;
		background: var(--tp-btn);
		box-shadow: 0 10px 26px rgba(15, 22, 38, .25);
		color: #fff;
		font-family: var(--tp-font-body);
		font-size: 16px;
		font-weight: 700;
		text-decoration: none;
		transform: translateY(140%);
		transition: transform .3s ease;
	}
	.imh-mbar:hover,
	.imh-mbar:focus { color: #fff; }
	.imh-mbar.is-shown { transform: none; }
	html:not(:has(.imh-wa)) .imh-mbar { right: 12px; }
}
@media print { .imh-mbar { display: none !important; } }

/* ---- Computers only: the "Ready when you are" buttons (trip pages' closing band, and the Home
   section with the CSS class "imh-desktop-only") are hidden on phones and tablets. */
@media (max-width: 1023px) {
	.tp-trip .tp-cta-band,
	.elementor .imh-desktop-only { display: none; }
}

/* "TRIPS · PEOPLE · STORIES" never breaks; on narrow screens (e.g. in-app browsers like Messenger's)
   the header gets a little more compact so the logo, EN / GR and the menu button fit one row. */
.imh-brand__wordmark i { white-space: nowrap; }
@media (max-width: 389px) {
	.imh-header__inner { padding-left: 12px; padding-right: 12px; }
	.imh-header .imh-brand { gap: 8px; }
	.imh-header .imh-brand .imh-brand__mark { width: 56px; height: 54px; margin-bottom: -22px; }
	.imh-header .imh-brand__wordmark b { font-size: 20px; }
	.imh-header .imh-brand__wordmark i { font-size: 6.5px; letter-spacing: .16em; }
	.imh-header__right { gap: 10px; }
	.imh-langs a,
	.imh-langs span { padding: 5px 11px; font-size: 12px; }
}

/* Footer text under the logo: always exactly two lines (split in footer.php). Each line never wraps;
   the size is the normal one or smaller if the longer line would not fit (Source Sans letters average
   about .43 of the font size; Greek about .45; a little margin is kept). */
.imh-footer .imh-footer__tag { container-type: inline-size; width: 100%; max-width: 360px; }
.imh-2l > span { display: block; white-space: nowrap; }
.imh-2l { --tp-k: .45; font-size: min(1em, calc(100cqi / (var(--tp-chars) * var(--tp-k)))); }
.imh-2l:lang(el) { --tp-k: .47; }
@media (max-width: 767px) {
	.imh-footer .imh-footer__tag { margin-left: auto; margin-right: auto; }
}
/* The same two-line text in Elementor sections (e.g. the Home sign-up band): the paragraph is the width. */
.imh-2l-wrap { container-type: inline-size; }

/* ---- Home sign-up band, Greek page ("Προτεραιότητα" / "στα νέα ταξίδια") ------------------------
   The title's two lines never wrap (sized to fit), and the "Ενημερώστε με" button sits centred under
   the email field with a little more space above it. English is unchanged. */
#first-dibs:lang(el) h2.elementor-heading-title { white-space: nowrap; font-size: min(26px, 12cqi); } /* Its longer line ≈ 7.9 × the font size wide. */
@media (min-width: 768px) {
	#first-dibs:lang(el) h2.elementor-heading-title { font-size: min(36px, 12cqi); }
}
#first-dibs .tp-signup { justify-content: center; }
#first-dibs .tp-signup .tp-signup__btn { flex: 0 0 auto; margin-top: 10px; } /* Both languages. */
/* English: "Get first dibs on new trips" on one line on every screen (sized to fit). */
#first-dibs .elementor-widget-heading { container-type: inline-size; } /* The heading box: the width the titles fit. */
#first-dibs:lang(en) h2.elementor-heading-title { white-space: nowrap; font-size: min(26px, 8.4cqi); } /* The title ≈ 11.4 × the font size wide. */
@media (min-width: 768px) {
	#first-dibs:lang(en) h2.elementor-heading-title { font-size: min(36px, 8.4cqi); }
}

/* Home "More than a trip" photo (Image widget with CSS class "imh-photo-34"): 3:4 portrait like every
   photo on the site, rounded with a soft shadow; not wider than 420px. */
.imh-photo-34 img {
	display: block;
	width: 100%;
	max-width: 420px;
	height: auto;
	margin: 0 auto;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: 20px;
	box-shadow: 0 14px 34px rgba(15, 22, 38, .16);
}

/* ---- Home "Explore destinations" (#trips-map): the title is always one line, at its normal size or
   smaller if the screen is narrow (English ≈ 9.3 × the font size wide, Greek ≈ 13.6 ×). */
#trips-map .elementor-widget-heading { container-type: inline-size; } /* The heading box: the width the title fits. */
#trips-map h2.elementor-heading-title { white-space: nowrap; font-size: min(26px, 10.4cqi); }
#trips-map:lang(el) h2.elementor-heading-title { font-size: min(26px, 7.25cqi); }
@media (min-width: 768px) {
	#trips-map h2.elementor-heading-title { font-size: min(38px, 10.4cqi); }
	#trips-map:lang(el) h2.elementor-heading-title { font-size: min(38px, 7.25cqi); }
}

/* ---- Home "How it works" (#how-it-works): every step has a line icon between its number and its title,
   on every screen. Computers show the steps as white cards. Phones and tablets instead show open steps
   as in the design: the number in a pale blue circle with a thin line running from it (towards the next
   step on tablets, where the three steps sit side by side; phones stack them), then the icon, the title
   and the text.
   (The number's box is the widget itself, or its .elementor-widget-container on older Elementor.) */
#how-it-works .imh-step__icon { margin-bottom: 12px; color: var(--tp-btn); } /* Same blue as the number. */
#how-it-works .imh-step__icon svg { display: block; }
@media (max-width: 1023px) {
	#how-it-works .imh-step > .elementor-widget-wrap {
		margin: 0;
		padding: 0 0 30px;
		border-radius: 0;
		background: none;
		box-shadow: none;
	}
	#how-it-works .imh-step:last-child > .elementor-widget-wrap { padding-bottom: 0; }
	#how-it-works .imh-step__num,
	#how-it-works .imh-step__num > .elementor-widget-container { display: flex; align-items: center; gap: 20px; }
	#how-it-works .imh-step__num { margin-bottom: 22px; }
	#how-it-works .imh-step__num > .elementor-widget-container { flex: 1 1 auto; }
	#how-it-works .imh-step__num .elementor-heading-title {
		flex: 0 0 auto;
		display: grid;
		place-items: center;
		width: 60px;
		height: 60px;
		border-radius: 50%;
		background: #EAF2FA;
		color: #1F4E79;
		font-size: 36px;
	}
	#how-it-works .imh-step__num:not(:has(> .elementor-widget-container))::after,
	#how-it-works .imh-step__num > .elementor-widget-container::after { content: ""; flex: 1 1 auto; height: 1px; background: #BCD4EA; }
	#how-it-works .imh-step__icon { color: #1F4E79; }
	#how-it-works .imh-step .elementor-widget-text-editor { color: var(--tp-muted); }
}
@media (min-width: 768px) and (max-width: 1023px) {
	#how-it-works .imh-step > .elementor-widget-wrap { padding: 0 20px 0 0; }
	#how-it-works .imh-step:last-child > .elementor-widget-wrap { padding-right: 0; }
	#how-it-works .imh-step__num { margin-bottom: 26px; }
	#how-it-works .imh-step__num .elementor-heading-title { width: 64px; height: 64px; font-size: 38px; }
	#how-it-works .imh-step h3.elementor-heading-title { font-size: 23px; }
	#how-it-works .imh-step .elementor-widget-text-editor { font-size: 16px; line-height: 1.7; }
}

/* ---- Home "More than a trip" (#more-than-a-trip): the story on the left, the 3:4 photo on the right
   (tablets and computers; on phones the photo comes under the story). The callout under the text is
   always two lines: each line never wraps, so on phones (and in Greek, which is wider) the writing is a
   little smaller. */
#more-than-a-trip .tp-callout__lines { white-space: normal; text-align: center; }
#more-than-a-trip .tp-callout__lines > span > span { display: block; white-space: nowrap; }
#more-than-a-trip .tp-callout__lines > span > span + span::before { content: none; }
@media (max-width: 767px) {
	#more-than-a-trip .tp-callout__lines { font-size: min(24px, 6.4vw); }
	#more-than-a-trip:lang(el) .tp-callout__lines { font-size: min(21px, 4.9vw); }
}
@media (min-width: 768px) and (max-width: 1023px) {
	#more-than-a-trip:lang(el) .tp-callout__lines { font-size: 19px; }
}
@media (min-width: 1024px) {
	#more-than-a-trip:lang(el) .tp-callout__lines { font-size: 26px; }
}
/* A pale blue brush stroke under the start of the eyebrow, as in the design. */
#more-than-a-trip .imh-story__eyebrow .elementor-heading-title { position: relative; display: inline-block; padding-bottom: 16px; }
#more-than-a-trip .imh-story__eyebrow .elementor-heading-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 2px;
	width: 110px;
	height: 10px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 10' preserveAspectRatio='none'%3E%3Cpath d='M3 7C30 2 74 1 107 4' stroke='%23B5D3EF' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
/* The big title. English: one line, sized to fit its column (≈ 8.7 × the font size wide).
   Greek is longer: it keeps a large size and may take two balanced lines. */
#more-than-a-trip .elementor-widget-heading { container-type: inline-size; }
#more-than-a-trip h2.elementor-heading-title { white-space: nowrap; font-size: min(52px, 11.2cqi); }
#more-than-a-trip:lang(el) h2.elementor-heading-title { white-space: normal; text-wrap: balance; font-size: min(46px, 11.2cqi); }
/* Phones: "Come for the destination. Stay for the people." is one line on every phone (the line break is
   dropped and the size fits the width: English ≈ 20.8 × the font size wide, Greek ≈ 23.2 ×), and the
   pieces of the story sit closer together. */
@media (max-width: 767px) {
	#more-than-a-trip .imh-story__sub br { display: none; }
	#more-than-a-trip .imh-story__sub .elementor-heading-title { white-space: nowrap; font-size: min(20px, 4.7cqi); }
	#more-than-a-trip:lang(el) .imh-story__sub .elementor-heading-title { font-size: min(20px, 4.2cqi); }
	#more-than-a-trip .imh-story__eyebrow { margin-bottom: 12px; }
	#more-than-a-trip .elementor-widget-heading:has(h2) { margin-bottom: 18px; }
	#more-than-a-trip .imh-story__sub { margin-bottom: 14px; }
	#more-than-a-trip .elementor-widget-text-editor { margin-bottom: 0; }
	#more-than-a-trip .elementor-widget-text-editor p { margin-bottom: 0; }
	#more-than-a-trip .tp-callout { margin-top: 20px; }
}

/* ---- Video hero: the bottom of any Elementor section with a background video (the Home hero, English
   and Greek) fades softly into the white page below instead of ending in a hard edge. On every screen.
   The fade lies over the video and its dark overlay but under the section's text and button. */
.elementor-section:has(> .elementor-background-video-container) { position: relative; }
.elementor-section:has(> .elementor-background-video-container)::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px; /* No hairline of video under the fade. */
	z-index: 1;
	height: clamp(80px, 14vw, 170px);
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .18) 30%, rgba(255, 255, 255, .55) 62%, rgba(255, 255, 255, .86) 84%, #fff 100%);
	pointer-events: none;
}
.elementor-section:has(> .elementor-background-video-container) > .elementor-container { position: relative; z-index: 2; }
