/*
Theme Name: VIVAGO 2027
Theme URI: https://vivagotravel.com/
Author: VIVAGO Travel
Description: Custom block theme for VIVAGO Digital Travel 2027 (Design System V1). Presentation only: tours, destinations and sales data live in the VIVAGO plugins.
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 8.1
Version: 0.40.2
License: Proprietary
Text Domain: vivago-2027
*/

/* Component styles that theme.json cannot express. Tokens come from theme.json (--wp--preset--*). */

:root {
	--vg-focus: var(--wp--preset--color--accent);
	--vg-radius-s: var(--wp--custom--radius--small);
	--vg-radius-m: var(--wp--custom--radius--medium);
	--vg-radius-l: var(--wp--custom--radius--large);
	--vg-tap: var(--wp--custom--tap-target, 44px);
}

/* ---------- Base ---------- */
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--vg-focus);
	outline-offset: 3px;
	border-radius: 2px;
}
/* UI-01: no focus ring after a mouse click or tap; keyboard focus (:focus-visible) keeps it. */
:where(a, button, summary, [tabindex], .wp-element-button):focus:not(:focus-visible) { outline: none; box-shadow: none; }
.vivago-main { overflow-x: clip; }
/* Header, main and footer sit flush: sections own their spacing. */
.wp-site-blocks > * + * { margin-block-start: 0; }
.vivago-main > .alignfull:first-child { margin-top: 0; }
.vivago-main > * { margin-block: 0; }
.vivago-lead { font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--text-muted); max-width: 46rem; }
.vivago-muted { color: var(--wp--preset--color--text-muted); }
.screen-reader-text:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* Eyebrow label above headings */
.is-style-eyebrow {
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-strong);
	margin-bottom: 0.5rem !important;
}
.has-primary-depth-gradient-background .is-style-eyebrow,
.has-primary-dark-background-color .is-style-eyebrow,
.wp-block-cover .is-style-eyebrow { color: var(--wp--preset--color--accent-soft); }

/* ---------- Sections ---------- */
.vivago-section { padding-top: var(--wp--preset--spacing--section); padding-bottom: var(--wp--preset--spacing--section); }
.vivago-section--surface { background: var(--wp--preset--color--surface); }
.vivago-section-head { margin-bottom: var(--wp--preset--spacing--60); }
.vivago-section-head h2 { margin-top: 0; }
.vivago-section-head .vivago-lead { margin-top: 0.75rem; }
.vivago-section-link { margin: 0; font-weight: 600; }
.vivago-section-link a { text-decoration: none; }

/* Grids built on core/columns: 3 or 4 equal cards, stack on mobile */
.vivago-grid-3, .vivago-grid-4 { gap: var(--wp--preset--spacing--50) !important; }
@media (min-width: 782px) and (max-width: 1023px) {
	.vivago-grid-4 { flex-wrap: wrap !important; }
	.vivago-grid-4 > .wp-block-column { flex-basis: calc(50% - 0.75rem) !important; }
}
.vivago-grid-3 > .wp-block-column > :is(.is-style-card, .vivago-feature-card) { height: 100%; }

/* ---------- Header ---------- */
.vivago-header {
	position: sticky; top: 0; z-index: 50;
	padding-top: 0.75rem; padding-bottom: 0.75rem;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--wp--preset--color--border);
}
.admin-bar .vivago-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .vivago-header { top: 0; } }
.vivago-header .wp-block-site-title { white-space: nowrap; margin: 0; }
.vivago-header .wp-block-navigation { --wp--style--block-gap: 1.5rem; }
.vivago-header .wp-block-navigation-item__content { padding: 0.5rem 0; min-height: var(--vg-tap); display: inline-flex; align-items: center; }
.vivago-header .wp-block-navigation .wp-block-navigation__submenu-container {
	border: 1px solid var(--wp--preset--color--border) !important;
	border-radius: var(--vg-radius-m);
	box-shadow: var(--wp--preset--shadow--card);
	padding: 0.5rem 0;
	min-width: 12rem;
}
.vivago-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 0.5rem 1rem; width: 100%; }
.vivago-header .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--secondary); }
.vivago-header .wp-block-navigation__responsive-container-open,
.vivago-header .wp-block-navigation__responsive-container-close {
	min-width: var(--vg-tap); min-height: var(--vg-tap); justify-content: center; align-items: center;
}
.vivago-header .wp-block-navigation__responsive-container-close { display: flex; }
.vivago-header .wp-block-navigation__responsive-container.is-menu-open { padding: 1.25rem; }
.vivago-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.125rem; }
.vivago-header-cta .wp-block-button__link { padding: 0.625rem 1.125rem; min-height: var(--vg-tap); }
@media (max-width: 599px) {
	.vivago-header-nav { gap: 0.25rem; }
	.vivago-header-nav .vivago-nav { order: 2; }
	.vivago-header-cta .wp-block-button__link { padding: 0.5rem 0.875rem; font-size: 0.9375rem; }
}

/* ---------- Buttons ---------- */
.wp-element-button, .wp-block-button__link { min-height: var(--vg-tap); display: inline-flex; align-items: center; justify-content: center; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent; color: var(--wp--preset--color--primary);
	border: 2px solid currentColor;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--primary); color: #fff;
}
.wp-block-cover .wp-block-button.is-style-outline > .wp-block-button__link,
.has-primary-depth-gradient-background .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; }
.wp-block-cover .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--wp--preset--color--primary); border-color: #fff; }
.wp-block-button.is-style-secondary > .wp-block-button__link {
	background: var(--wp--preset--color--surface); color: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--surface-deep);
}
.wp-block-button.is-style-secondary > .wp-block-button__link:hover { background: var(--wp--preset--color--surface-deep); color: var(--wp--preset--color--primary-dark); }
.wp-block-button.has-base-background-color > .wp-block-button__link,
.wp-block-button__link.has-base-background-color { border-color: #fff; }
.wp-block-button__link.has-base-background-color:hover { background: var(--wp--preset--color--surface) !important; border-color: var(--wp--preset--color--surface); }
.wp-block-button.is-disabled > .wp-block-button__link,
.wp-block-button__link[aria-disabled="true"] {
	background: var(--wp--preset--color--surface-deep); border-color: var(--wp--preset--color--surface-deep);
	color: var(--wp--preset--color--text-muted); cursor: not-allowed; pointer-events: none;
}
.wp-block-button.is-loading > .wp-block-button__link { pointer-events: none; gap: 0.6rem; }
.wp-block-button.is-loading > .wp-block-button__link::before {
	content: ""; width: 1em; height: 1em; border-radius: 50%;
	border: 2px solid currentColor; border-right-color: transparent;
	animation: vg-spin .8s linear infinite;
}
@keyframes vg-spin { to { transform: rotate(360deg); } }

/* ---------- Hero ---------- */
.vivago-hero { padding-top: var(--wp--preset--spacing--90); padding-bottom: var(--wp--preset--spacing--80); }
.vivago-hero h1 { margin-top: 0.25rem; max-width: 18ch; }
.vivago-hero .has-large-font-size { max-width: 38rem; color: #E7EEEC; }
.vivago-hero .wp-block-buttons { margin-top: var(--wp--preset--spacing--60); }
@media (max-width: 599px) {
	.vivago-hero { min-height: 72vh !important; padding-top: var(--wp--preset--spacing--80); }
	.vivago-hero .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.vivago-hero .wp-block-button, .vivago-hero .wp-block-button__link { width: 100%; }
}

/* ---------- Cards ---------- */
.is-style-card {
	position: relative;
	display: flex; flex-direction: column;
	background: var(--wp--preset--color--background);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--vg-radius-m);
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}
.is-style-card > * { margin-block: 0 !important; }
.is-style-card:hover { box-shadow: var(--wp--preset--shadow--card); transform: translateY(-2px); }
.is-style-card:has(:focus-visible) { box-shadow: 0 0 0 3px var(--vg-focus); }
.is-style-card .wp-block-post-featured-image, .is-style-card .wp-block-image { margin: 0; border-radius: 0; }
.is-style-card .wp-block-post-featured-image img { border-radius: 0; }
/* Whole card clickable through its title link (one link, one tab stop). */
.is-style-card :is(h2, h3, .wp-block-post-title) a { text-decoration: none; color: inherit; }
.is-style-card :is(h2, h3, .wp-block-post-title) a::after { content: ""; position: absolute; inset: 0; }
.is-style-card :is(h2, h3, .wp-block-post-title) a:focus-visible { outline: none; }
.is-style-card:hover :is(h2, h3) a { color: var(--wp--preset--color--primary); }
.vivago-card-body { padding: var(--wp--preset--spacing--50); display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.vivago-card-body > * { margin: 0 !important; }
.vivago-card-body h3 { font-size: var(--wp--preset--font-size--x-large); }
.vivago-card-more { margin-top: auto !important; font-weight: 600; color: var(--wp--preset--color--primary); }

/* Image placeholder (demo) and real images share the same ratio box, so nothing shifts. */
.vivago-media-ph {
	position: relative; display: grid; place-items: end start; padding: 0.75rem;
	background: var(--wp--preset--gradient--placeholder); color: #fff;
}
.vivago-ratio-4-3 { aspect-ratio: 4 / 3; }
.vivago-ratio-4-5 { aspect-ratio: 4 / 3; }
.vivago-ratio-3-2 { aspect-ratio: 3 / 2; }
@media (min-width: 782px) { .vivago-ratio-4-5 { aspect-ratio: 4 / 5; } }
.vivago-media-label {
	margin: 0; padding: 0.25rem 0.6rem; border-radius: var(--wp--custom--radius--pill);
	background: rgba(15, 54, 50, 0.72); font-size: var(--wp--preset--font-size--x-small); font-weight: 600;
}
.vivago-tour-card .wp-block-post-featured-image:empty,
.vivago-tour-card:not(:has(img)) > .wp-block-post-featured-image { display: none; }

/* Destination card */
.vivago-dest-card h3 { font-size: var(--wp--preset--font-size--xx-large); }

/* Feature card (Travel your way) */
.vivago-feature-card {
	height: 100%; padding: var(--wp--preset--spacing--60);
	background: var(--wp--preset--color--background);
	border-radius: var(--vg-radius-m);
	border-top: 4px solid var(--wp--preset--color--secondary);
}
.vivago-feature-card > * { margin-block: 0 0.75rem; }
.vivago-feature-card h3 { margin-top: 0.25rem; }
.vivago-feature-num { font-family: var(--wp--preset--font-family--heading); font-size: var(--wp--preset--font-size--x-large); color: var(--wp--preset--color--accent-strong); margin: 0; }
.vivago-feature-card a { font-weight: 600; text-decoration: none; }

/* Facts, price, badges */
.vivago-facts { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--text-muted); }
.vivago-facts p { margin: 0; }
.vivago-facts p + p::before { content: "·"; margin-right: 1rem; color: var(--wp--preset--color--border-strong); }
.vivago-price { font-weight: 600; color: var(--wp--preset--color--ink); }
.vivago-price-note { font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--text-muted); }
.vivago-badge {
	display: inline-block; padding: 0.2rem 0.6rem; border-radius: var(--wp--custom--radius--pill);
	font-size: var(--wp--preset--font-size--x-small); font-weight: 600;
	background: var(--wp--preset--color--surface); color: var(--wp--preset--color--primary);
}
/* Demo marker: dashed outline + text, so it is never colour-only. */
.vivago-demo-flag {
	margin-left: 0 !important;
	display: inline-flex; align-self: flex-start; gap: 0.4rem; align-items: center;
	padding: 0.15rem 0.6rem; border: 1.5px dashed var(--wp--preset--color--warning);
	border-radius: var(--wp--custom--radius--pill);
	font-size: var(--wp--preset--font-size--x-small) !important; font-weight: 600;
	color: var(--wp--preset--color--warning); background: #FFF8EC;
}
.vivago-demo-flag::before { content: "DEMO"; letter-spacing: .08em; white-space: nowrap; }

/* Trust section */
.vivago-trust-item { padding-top: var(--wp--preset--spacing--40); border-top: 2px solid var(--wp--preset--color--secondary); }
.vivago-trust-item h3 { margin-top: 0; }
.vivago-trust .vivago-demo-flag { margin-bottom: var(--wp--preset--spacing--50); }

/* Multi-country band */
.vivago-multi-band { border-radius: var(--vg-radius-l); padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--60); }
.vivago-multi-band h2 { margin-top: 0; max-width: 22ch; }
.vivago-multi-band p:not(.is-style-eyebrow) { color: #E7EEEC; max-width: 40rem; }
.vivago-band-action { display: flex; align-items: flex-end; justify-content: flex-end; }
@media (max-width: 781px) { .vivago-band-action { justify-content: flex-start; } }

/* Closing CTA */
.vivago-cta-box {
	text-align: center; padding: var(--wp--preset--spacing--80) var(--wp--preset--spacing--50);
	background: var(--wp--preset--color--surface); border-radius: var(--vg-radius-l);
	border: 1px solid var(--wp--preset--color--border);
}
.vivago-cta-box .vivago-lead { margin-inline: auto; }
.vivago-cta-box .wp-block-buttons { justify-content: center; margin-top: var(--wp--preset--spacing--60); }

/* Lists */
.vivago-list { list-style: none; padding-left: 0; }
.vivago-list li { position: relative; padding-left: 1.75rem; margin-bottom: 0.5rem; }
.vivago-list li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: var(--wp--preset--color--success); }
.vivago-list--exclusions li::before { content: "✕"; color: var(--wp--preset--color--text-muted); }
.vivago-link-list { list-style: none; padding-left: 0; line-height: 2; }

/* Breadcrumb */
.vivago-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; list-style: none; padding: 0; margin: 0; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--text-muted); }
.vivago-breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--wp--preset--color--border-strong); }
.vivago-breadcrumb a { color: var(--wp--preset--color--text-muted); }
.vivago-breadcrumb [aria-current] { color: var(--wp--preset--color--ink); font-weight: 500; }

/* Accordion (core/details) */
.wp-block-details summary {
	cursor: pointer; list-style: none; position: relative; padding-right: 2.5rem;
	font-weight: 600; min-height: var(--vg-tap); display: flex; align-items: center;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "+"; position: absolute; right: 0.5rem; font-size: 1.5rem; font-weight: 400; color: var(--wp--preset--color--primary);
}
.wp-block-details[open] summary::after { content: "−"; }

/* Form fields (used by the Sales plugin forms in G4) */
.vivago-form { display: grid; gap: var(--wp--preset--spacing--50); max-width: 36rem; }
.vivago-field { display: grid; gap: 0.375rem; }
.vivago-field label { font-weight: 600; font-size: var(--wp--preset--font-size--small); }
.vivago-field input, .vivago-field select, .vivago-field textarea {
	font: inherit; color: var(--wp--preset--color--ink); background: #fff;
	min-height: var(--vg-tap); padding: 0.625rem 0.875rem;
	border: 1.5px solid var(--wp--preset--color--border-strong); border-radius: var(--vg-radius-s);
}
.vivago-field input:focus, .vivago-field textarea:focus, .vivago-field select:focus { border-color: var(--wp--preset--color--primary); }
.vivago-field-help, .vivago-field-msg { margin: 0; font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--text-muted); }
.vivago-field.is-invalid input, .vivago-field.is-invalid textarea { border-color: var(--wp--preset--color--error); border-width: 2px; }
.vivago-field.is-invalid .vivago-field-msg { color: var(--wp--preset--color--error); font-weight: 600; }
.vivago-field.is-valid input { border-color: var(--wp--preset--color--success); }
.vivago-field.is-valid .vivago-field-msg { color: var(--wp--preset--color--success); font-weight: 600; }
.vivago-field.is-disabled input { background: var(--wp--preset--color--surface); color: var(--wp--preset--color--text-muted); cursor: not-allowed; }

/* Notices */
.vivago-notice { padding: 0.75rem 1rem; border-radius: var(--vg-radius-s); border-left: 4px solid; font-weight: 500; }
.vivago-notice--success { border-color: var(--wp--preset--color--success); background: #EEF6F1; color: #1F5A38; }
.vivago-notice--warning { border-color: var(--wp--preset--color--warning); background: #FFF8EC; color: #6B4600; }
.vivago-notice--error { border-color: var(--wp--preset--color--error); background: #FCEFEE; color: #8C1D17; }

/* Design system preview page */
.vivago-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.vivago-swatch { display: grid; gap: 0.15rem; font-size: var(--wp--preset--font-size--x-small); }
.vivago-swatch span { height: 64px; border-radius: var(--vg-radius-s); border: 1px solid var(--wp--preset--color--border); }
.vivago-swatch code { color: var(--wp--preset--color--text-muted); }
.vivago-ds h2 { margin-top: var(--wp--preset--spacing--80); padding-top: var(--wp--preset--spacing--50); border-top: 1px solid var(--wp--preset--color--border); }

/* ---------- Tour page (G2 templates) ---------- */
.vivago-page-intro { margin-bottom: var(--wp--preset--spacing--70); }
.vivago-back a { text-decoration: none; }
.vivago-tour-layout { gap: var(--wp--preset--spacing--70) !important; }
.vivago-enquiry-box { padding: var(--wp--preset--spacing--50); gap: 0.5rem; }
.vivago-enquiry-box p { margin: 0; }
.vivago-price--large { font-size: var(--wp--preset--font-size--x-large); font-family: var(--wp--preset--font-family--heading); }
.vivago-full-buttons .wp-block-button { width: 100%; }
.vivago-full-buttons .wp-block-button__link { width: 100%; }
.vivago-placeholder { padding: 1rem; border: 1.5px dashed var(--wp--preset--color--border-strong); border-radius: var(--vg-radius-s); color: var(--wp--preset--color--text-muted); }
.vivago-byline { color: var(--wp--preset--color--text-muted); }
@media (min-width: 782px) { .vivago-sticky { position: sticky; top: calc(var(--wp--custom--header--height) + 1.5rem); } }
.vivago-itinerary { counter-reset: day; list-style: none; padding-left: 0; }
.vivago-itinerary > li { counter-increment: day; position: relative; padding: 0 0 1.5rem 3.25rem; border-left: 1px solid var(--wp--preset--color--border); margin-left: 1rem; }
.vivago-itinerary > li::before {
	content: counter(day); position: absolute; left: -1rem; top: 0; width: 2rem; height: 2rem; border-radius: 50%;
	background: var(--wp--preset--color--primary); color: #fff; font-weight: 600; font-size: var(--wp--preset--font-size--small);
	display: grid; place-items: center;
}

/* ---------- Footer ---------- */
.vivago-footer { padding-top: var(--wp--preset--spacing--80); padding-bottom: var(--wp--preset--spacing--50); }
.vivago-footer a { color: var(--wp--preset--color--surface); text-decoration: none; display: inline-block; padding-block: 0.25rem; }
.vivago-footer a:hover { color: #fff; }
.vivago-footer .wp-block-site-title a { color: #fff; }
.vivago-footer p:not(.is-style-eyebrow) { color: #D7E2DF; }
.vivago-footer .is-style-eyebrow { color: var(--wp--preset--color--accent-soft); }
.vivago-footer-bottom { margin-top: var(--wp--preset--spacing--70); padding-top: var(--wp--preset--spacing--50); border-top: 1px solid rgba(255, 255, 255, 0.16); }
.vivago-footer-bottom p { color: #C3D2CE !important; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
	.is-style-card:hover { transform: none; }
}

/* Mobile overlay menu: left-aligned list, submenu shown inline (no dropdown card). */
.vivago-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	align-items: flex-start; --wp--style--block-gap: 0.25rem; padding-top: 2.5rem;
}
.vivago-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.vivago-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { align-items: flex-start; }
.vivago-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	border: 0 !important; box-shadow: none; padding: 0 0 0 1rem !important; min-width: 0;
}
.vivago-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.25rem; font-weight: 500; }
.vivago-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 1.0625rem; color: var(--wp--preset--color--text-muted); }
.vivago-form { margin-inline: 0 !important; }

/* 0.5.0: breathing room under the tour photo before the first heading */
.single-vivago_tour .wp-block-post-featured-image { margin-bottom: var(--wp--preset--spacing--60); }

/* ===== 0.6.0 UX refresh (G1-05-UX-REFRESH-01) ===== */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

/* 01 Hero strip: quick discovery + Tripadvisor trust bar */
.vivago-hero-wrap { margin-block-start: 0; }
.vivago-hero-strip { background: var(--wp--preset--color--base); border-bottom: 1px solid var(--wp--preset--color--border); padding: var(--wp--preset--spacing--50) var(--wp--style--root--padding-right) var(--wp--preset--spacing--50) var(--wp--style--root--padding-left); }
.vivago-hero-strip > * + * { margin-block-start: var(--wp--preset--spacing--40); }
.vivago-quick { gap: 0.5rem 1rem; }
.vivago-quick-label, .vivago-filter-label { margin: 0; font-weight: 600; font-size: var(--wp--preset--font-size--small); }
.vivago-quick-list, .vivago-chip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.vivago-quick-list a, .vivago-chip-list a { display: inline-flex; align-items: center; min-height: var(--vg-tap, 44px); padding: 0 1.1rem; border: 1px solid var(--wp--preset--color--border-strong); border-radius: 999px; text-decoration: none; color: var(--wp--preset--color--primary); font-weight: 600; font-size: var(--wp--preset--font-size--small); background: var(--wp--preset--color--base); }
.vivago-quick-list a:hover, .vivago-chip-list a:hover { background: var(--wp--preset--color--surface); border-color: var(--wp--preset--color--primary); }
.vivago-trustbar { gap: 0.25rem 1rem; padding: 0.75rem 1rem; border-radius: var(--vg-radius-m, 12px); background: var(--wp--preset--color--surface); font-size: var(--wp--preset--font-size--small); }
.vivago-trustbar p { margin: 0; }
.vivago-trustbar-link { margin-left: auto !important; font-weight: 600; }
@media (max-width: 599px) {
	.vivago-hero { min-height: 58vh !important; padding-top: var(--wp--preset--spacing--70); }
	.vivago-trustbar-link { margin-left: 0 !important; }
	.vivago-quick, .vivago-quick-list { width: 100%; }
	.vivago-quick-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vivago-quick-list a { width: 100%; justify-content: center; box-sizing: border-box; }
}

/* 04 Tour Card V2 */
.vivago-tour-card .wp-block-post-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vivago-card-highlight { margin: 0.25rem 0 0; color: var(--wp--preset--color--text-muted); }
.vivago-card-highlight:empty { display: none; }
.vivago-card-foot { margin-top: auto !important; padding-top: var(--wp--preset--spacing--30); gap: 0.75rem; }
.vivago-card-foot .vivago-price { margin: 0; }
.vivago-tour-card .vivago-card-body, .vivago-dest-card .vivago-card-body { display: flex; flex-direction: column; flex: 1; }
.vivago-tour-card, .vivago-dest-card { display: flex; flex-direction: column; height: 100%; }
.wp-block-read-more.vivago-card-cta { font-weight: 600; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--primary); text-decoration: none; white-space: nowrap; }
.wp-block-read-more.vivago-card-cta::after { content: " →"; }
.vivago-dest-card .wp-block-read-more { margin-top: auto; padding-top: var(--wp--preset--spacing--30); }
.vivago-demo-badge { display: inline-flex; gap: 0.4rem; align-items: center; margin: 0 0 0.25rem; font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--warning); }
.vivago-demo-badge span { font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; background: #FFF3D6; border: 1px solid #E5C77A; border-radius: 4px; padding: 0 0.4rem; }
@media (min-width: 600px) and (max-width: 1023px) {
	.vivago-tour-grid .wp-block-post-template.is-layout-grid, .vivago-dest-grid .wp-block-post-template.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 05 Why VIVAGO proof */
.vivago-proof { margin-top: var(--wp--preset--spacing--60) !important; padding-top: var(--wp--preset--spacing--50); border-top: 1px solid var(--wp--preset--color--border); }
.vivago-proof p { margin: 0.25rem 0; }
.vivago-proof-links { font-weight: 600; }

/* 06 Multi-country photo band */
.wp-block-cover.vivago-multi-band { border-radius: var(--vg-radius-l, 16px); overflow: hidden; padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--60); }
.vivago-multi-band h2 { max-width: 24ch; }
.vivago-multi-band p:not(.is-style-eyebrow) { color: #E7EEEC; }

/* Catalog */
.vivago-filter-bar { gap: 0.5rem 1rem; margin-bottom: var(--wp--preset--spacing--50) !important; }
.vivago-query-total { color: var(--wp--preset--color--text-muted); font-size: var(--wp--preset--font-size--small); margin-bottom: var(--wp--preset--spacing--40); }
.vivago-empty-state { padding: var(--wp--preset--spacing--60); border: 1px dashed var(--wp--preset--color--border-strong); border-radius: var(--vg-radius-m, 12px); text-align: center; }
.vivago-empty-state .wp-block-buttons { justify-content: center; }

/* Tour detail: section nav, anchors, mobile CTA */
.vivago-section-nav-wrap { position: sticky; top: var(--wp--custom--header--height, 64px); z-index: 5; background: var(--wp--preset--color--base); border-bottom: 1px solid var(--wp--preset--color--border); }
.vivago-section-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem 1.5rem; overflow-x: auto; }
.vivago-section-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 600; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--ink); white-space: nowrap; }
.vivago-tour-layout { margin-top: var(--wp--preset--spacing--50) !important; }
.vivago-anchor { scroll-margin-top: calc(var(--wp--custom--header--height, 64px) + 64px); }
.vivago-mobile-cta { display: none; }
@media (max-width: 781px) {
	.vivago-section-nav-wrap { position: static; }
	.vivago-mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; gap: 1rem; padding: 0.6rem var(--wp--style--root--padding-left); background: var(--wp--preset--color--base); border-top: 1px solid var(--wp--preset--color--border); box-shadow: 0 -4px 16px rgb(0 0 0 / 0.06); }
	.vivago-mobile-cta p { margin: 0; }
	.single-vivago_tour .vivago-footer { padding-bottom: 88px; }
}

/* Travel guide: updated date + table of contents */
.vivago-updated::before { content: "Updated "; }
.vivago-toc { border: 1px solid var(--wp--preset--color--border); border-radius: var(--vg-radius-m, 12px); padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50); background: var(--wp--preset--color--surface); }
.vivago-toc p { margin: 0 0 0.5rem; font-weight: 600; }
.vivago-toc ol { margin: 0; padding-left: 1.25rem; }
.vivago-toc li { margin: 0.25rem 0; }
.vivago-article h2 { scroll-margin-top: calc(var(--wp--custom--header--height, 64px) + 16px); }

/* ===== 0.7.0 UI refresh 02 (UI-01 to UI-14) ===== */
:root { --vg-header-h: var(--wp--custom--header--height, 72px); --vg-nav-h: 60px; }

/* UI-02 Links: one rule. Links inside running text are underlined; interface links (menus, cards,
   chips, buttons, footer, breadcrumbs) are not, and only change colour on hover. */
:where(.wp-block-post-content, .vivago-overview-text, .vivago-day-body, .vivago-tour-section--enquire, .vivago-cta-box, .vivago-dest-content, .vivago-toc) :where(p, li, dd, td, figcaption) a:where(:not(.wp-element-button)) {
	text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em;
}
:where(.wp-block-post-content, .vivago-overview-text, .vivago-day-body, .vivago-tour-section--enquire, .vivago-cta-box, .vivago-dest-content, .vivago-toc) :where(p, li, dd, td, figcaption) a:where(:not(.wp-element-button)):hover { text-decoration-thickness: 2px; }
.vivago-breadcrumb a:hover { color: var(--wp--preset--color--primary); }
.wp-element-button, .wp-block-button__link { text-decoration: none !important; }

/* UI-11 / UI-14 Rhythm: blocks inside sections and pages always have space between them. */
.vivago-section > * + *, .vivago-page-intro > * + * { margin-block-start: var(--wp--preset--spacing--50); }
.wp-block-post-content > * + * { margin-block-start: var(--wp--preset--spacing--40); }
.wp-block-post-content > :is(h2, h3) { margin-block-start: var(--wp--preset--spacing--60); }
.vivago-section-head { margin-bottom: var(--wp--preset--spacing--60) !important; }
.vivago-footer .wp-block-columns { gap: var(--wp--preset--spacing--60); }
@media (max-width: 781px) {
	.vivago-footer .wp-block-columns { gap: var(--wp--preset--spacing--50); }
	.vivago-section-head.is-layout-flex { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}
.wp-block-buttons.is-layout-flex { gap: 0.75rem; }
@media (max-width: 479px) {
	.vivago-tour-section--enquire .wp-block-buttons, .vivago-cta-box .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.vivago-tour-section--enquire .wp-block-button__link, .vivago-cta-box .wp-block-button__link { width: 100%; }
}

/* UI-03 Cards: one link (the title, stretched over the card), CTA pinned to the bottom. */
.wp-block-post-template > li { display: flex; flex-direction: column; }
.wp-block-post-template > li > .is-style-card { flex: 1; height: auto; }
.is-style-card .wp-block-post-featured-image { overflow: hidden; }
.is-style-card .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.is-style-card:hover .wp-block-post-featured-image img { transform: scale(1.03); }
.vivago-card-facts { color: var(--wp--preset--color--text-muted); margin: 0; }
.vivago-card-facts:empty { display: none; }
.vivago-card-cta { margin: 0; font-weight: 600; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--primary); white-space: nowrap; }
.vivago-card-cta::after { content: " →"; display: inline-block; transition: transform .15s ease; }
.is-style-card:hover .vivago-card-cta::after { transform: translateX(3px); }
.vivago-dest-card .vivago-card-cta { margin-top: auto !important; padding-top: var(--wp--preset--spacing--30); }
.vivago-tour-card .vivago-card-foot { border-top: 1px solid var(--wp--preset--color--border); padding-top: var(--wp--preset--spacing--40); }

/* UI-04 Country cards: same 3:2 crop everywhere. */
.vivago-dest-card .wp-block-post-featured-image { aspect-ratio: 3 / 2; }
.vivago-dest-card h3 { margin: 0; }

/* Mobile CTA bar: phones only (the group's flex layout must not show it on desktop). */
.wp-block-group.vivago-mobile-cta { display: none; }
@media (max-width: 781px) { .wp-block-group.vivago-mobile-cta { display: flex; } }

/* UI-13 Tour gallery: one large photo and up to four thumbnails; the rest open in the lightbox. */
.vivago-gallery-wrap { margin-top: var(--wp--preset--spacing--50) !important; }
.vivago-gallery { display: grid; gap: 0.5rem; border-radius: var(--vg-radius-m); overflow: hidden; }
.vivago-gallery-item { position: relative; margin: 0; overflow: hidden; background: var(--wp--preset--color--surface); }
.vivago-gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.vivago-gallery-link { display: block; height: 100%; cursor: zoom-in; }
.vivago-gallery-link:hover img { transform: scale(1.03); }
.vivago-gallery-link:focus-visible { outline-offset: -4px; }
.vivago-gallery--single .vivago-gallery-item { aspect-ratio: 16 / 9; }
.vivago-gallery-item.is-extra { display: none; }
.vivago-gallery-more {
	position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
	background: rgb(15 54 50 / 0.55); color: #fff; font-size: var(--wp--preset--font-size--x-large); font-weight: 600;
}
@media (min-width: 782px) {
	.vivago-gallery--multi { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); aspect-ratio: 2.4 / 1; }
	.vivago-gallery--multi .is-main { grid-row: 1 / span 2; }
	.vivago-gallery--multi[data-count="2"] { grid-template-columns: 2fr 1fr; }
	.vivago-gallery--multi[data-count="2"] .vivago-gallery-item:not(.is-main) { grid-row: 1 / span 2; }
	.vivago-gallery--multi[data-count="3"] { grid-template-columns: 2fr 1fr; }
	.vivago-gallery--multi[data-count="4"] .vivago-gallery-item:nth-child(4) { grid-column: 2 / span 2; }
}
@media (max-width: 781px) {
	.vivago-gallery { margin-inline: calc(-1 * var(--wp--style--root--padding-left)); border-radius: 0; }
	.vivago-gallery--multi { grid-template-columns: repeat(4, 1fr); }
	.vivago-gallery--multi .is-main { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
	.vivago-gallery--multi .vivago-gallery-item:not(.is-main) { aspect-ratio: 1; }
	.vivago-gallery--multi[data-count="2"] .vivago-gallery-item:not(.is-main) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
	.vivago-gallery--multi[data-count="3"] .vivago-gallery-item:not(.is-main) { grid-column: span 2; aspect-ratio: 3 / 2; }
	.vivago-gallery--multi[data-count="4"] { grid-template-columns: repeat(3, 1fr); }
}
/* Lightbox (dialog created by the theme script) */
.vivago-lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(10 20 18 / 0.94); color: #fff; }
.vivago-lightbox::backdrop { background: rgb(10 20 18 / 0.94); }
.vivago-lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.vivago-lightbox figure { margin: 0; display: grid; place-items: center; min-height: 0; padding: 3.5rem 4rem 0; }
.vivago-lightbox img { max-width: 100%; max-height: calc(100vh - 8rem); object-fit: contain; }
.vivago-lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.75rem 1.25rem 1rem; font-size: var(--wp--preset--font-size--small); color: #D7E2DF; }
.vivago-lightbox button {
	font: inherit; color: #fff; background: rgb(255 255 255 / 0.12); border: 0; border-radius: 999px;
	min-width: 44px; min-height: 44px; cursor: pointer; display: inline-grid; place-items: center; font-size: 1.25rem;
}
.vivago-lightbox button:hover { background: rgb(255 255 255 / 0.24); }
.vivago-lightbox-close { position: absolute; top: 0.75rem; right: 0.75rem; }
.vivago-lightbox-prev, .vivago-lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); }
.vivago-lightbox-prev { left: 0.75rem; }
.vivago-lightbox-next { right: 0.75rem; }
@media (max-width: 599px) { .vivago-lightbox figure { padding: 3.5rem 0.5rem 0; } .vivago-lightbox-prev, .vivago-lightbox-next { top: auto; bottom: 4rem; transform: none; } }

/* UI-05 to UI-07 Section navigation: centred capsules, sticky under the header, active section highlighted. */
.wp-block-group.vivago-section-nav-wrap {
	position: sticky; top: var(--vg-header-h); z-index: 30; margin-top: var(--wp--preset--spacing--50) !important;
	padding: 0.5rem var(--wp--style--root--padding-right) 0.5rem var(--wp--style--root--padding-left);
	background: rgb(255 255 255 / 0.96); border-bottom: 1px solid var(--wp--preset--color--border);
	backdrop-filter: saturate(1.2) blur(6px);
}
.admin-bar .wp-block-group.vivago-section-nav-wrap { top: calc(var(--vg-header-h) + var(--wp-admin--admin-bar--height, 32px)); }
@media (max-width: 600px) { .admin-bar .wp-block-group.vivago-section-nav-wrap { top: var(--vg-header-h); } }
.vivago-section-nav ul { justify-content: center; gap: 0.5rem; padding: 2px; scrollbar-width: none; scroll-behavior: smooth; }
.vivago-section-nav ul::-webkit-scrollbar { display: none; }
.vivago-section-nav li { flex: 0 0 auto; }
.vivago-section-nav a {
	min-height: 40px; padding: 0 1.1rem; border-radius: 999px; border: 1px solid var(--wp--preset--color--border-strong);
	background: var(--wp--preset--color--base); color: var(--wp--preset--color--primary); transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.vivago-section-nav a:hover { background: var(--wp--preset--color--surface); border-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--primary); }
.vivago-section-nav a.is-active, .vivago-section-nav a[aria-current="true"] { background: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--primary); color: #fff; }
@media (max-width: 781px) {
	.vivago-section-nav ul { justify-content: flex-start; }
	.vivago-section-nav a { min-height: 40px; padding: 0 0.9rem; }
}
.vivago-tour-section, .vivago-anchor { scroll-margin-top: calc(var(--vg-header-h) + var(--vg-nav-h) + 1.5rem); }
.admin-bar .vivago-tour-section { scroll-margin-top: calc(var(--vg-header-h) + var(--vg-nav-h) + 1.5rem + 32px); }

/* UI-08 / UI-11 Tour sections: clear separation and spacing. */
.vivago-tour-layout { margin-top: var(--wp--preset--spacing--60) !important; align-items: flex-start !important; }
.vivago-tour-main > .vivago-tour-section { margin: 0; padding-block: var(--wp--preset--spacing--70); border-top: 1px solid var(--wp--preset--color--border); }
.vivago-tour-main > .vivago-tour-section:first-child { padding-top: 0; border-top: 0; }
.vivago-tour-section-title { margin: 0 0 var(--wp--preset--spacing--50); }
.vivago-tour-section h3 { font-size: var(--wp--preset--font-size--large); margin: var(--wp--preset--spacing--50) 0 var(--wp--preset--spacing--30); }
.vivago-overview-text > * { margin-block: 0 1rem; }
.vivago-overview-text > :last-child { margin-bottom: 0; }
.vivago-list--highlights li { margin-bottom: 0.625rem; }
.vivago-itinerary { margin: 0; }
.vivago-itinerary > li { padding-bottom: var(--wp--preset--spacing--50); }
.vivago-itinerary > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.vivago-day-label { display: block; font-size: var(--wp--preset--font-size--x-small); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--accent-strong); line-height: 2rem; }
.vivago-tour-section .vivago-day-title { margin: 0 0 0.5rem; font-size: var(--wp--preset--font-size--large); }
.vivago-day-body > * { margin-block: 0 0.75rem; }
.vivago-day-body > :last-child { margin-bottom: 0; }
.vivago-included-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--wp--preset--spacing--50) var(--wp--preset--spacing--60); }
.vivago-included-cols h3 { margin-top: 0; }
.vivago-facts-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--wp--preset--color--border); }
.vivago-facts-list > div { padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30) var(--wp--preset--spacing--40) 0; border-bottom: 1px solid var(--wp--preset--color--border); }
.vivago-facts-list dt { font-size: var(--wp--preset--font-size--x-small); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--text-muted); }
.vivago-facts-list dd { margin: 0.25rem 0 0; }
.vivago-tour-section--enquire { background: var(--wp--preset--color--surface); border-radius: var(--vg-radius-l); padding: var(--wp--preset--spacing--60) !important; border-top: 0 !important; margin-top: var(--wp--preset--spacing--50) !important; }
.vivago-tour-section--enquire > * { margin-block: 0 1rem; }
.vivago-tour-section--enquire h2 { margin-top: 0; }

/* UI-09 Enquiry box */
.vivago-enquiry-box .vivago-price--large { margin-bottom: 0.25rem; }
.vivago-enquiry-box .wp-block-buttons { margin-top: 0.75rem; }
.vivago-side-facts { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1rem; align-items: baseline; }
.vivago-side-facts p { margin: 0; }
.vivago-side-value { font-weight: 600; }
.vivago-side-value:empty { display: none; }
.vivago-side-facts .vivago-price-note:has(+ .vivago-side-value:empty) { display: none; }
@media (min-width: 782px) { .vivago-sticky { top: calc(var(--vg-header-h) + var(--vg-nav-h) + 1.5rem); } }


/* UI-10 Related tours */
.vivago-related .vivago-section-head h2 { font-size: var(--wp--preset--font-size--xx-large); }
/* Itinerary: the "Day N" label carries the number, the timeline shows a dot. */
.vivago-tour-section .vivago-itinerary > li::before { content: ""; left: -0.4375rem; top: 0.6rem; width: 0.875rem; height: 0.875rem; background: var(--wp--preset--color--secondary); box-shadow: 0 0 0 4px var(--wp--preset--color--base); }
.vivago-tour-section .vivago-itinerary > li { padding-left: 2rem; margin-left: 0.4375rem; }

/* ===== 0.7.1 Tripadvisor proof (verified 17 Nov 2026) ===== */
.vivago-stars { color: #00aa6c; letter-spacing: 0.05em; }

/* ===== 0.8.0 G2-A tour search (form from VIVAGO Core [vivago_tour_search]) ===== */
.vivago-tour-search { display: grid; grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(150px, 1fr)) auto; gap: 0.75rem 1rem; align-items: end; padding: 1rem; border: 1px solid var(--wp--preset--color--border); border-radius: var(--vg-radius-m, 12px); background: var(--wp--preset--color--surface); }
.vivago-tour-search p { margin: 0; }
.vivago-search-field label { display: block; margin-bottom: 0.3rem; font-weight: 600; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--ink); }
.vivago-search-field input, .vivago-search-field select { width: 100%; min-height: var(--vg-tap, 44px); padding: 0 0.75rem; border: 1px solid var(--wp--preset--color--border-strong); border-radius: 8px; background: var(--wp--preset--color--base); color: var(--wp--preset--color--ink); font: inherit; font-size: var(--wp--preset--font-size--small); }
.vivago-search-field input:focus-visible, .vivago-search-field select:focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 2px; }
.vivago-search-actions { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.vivago-search-actions .wp-element-button { min-height: var(--vg-tap, 44px); padding: 0 1.4rem; border: 0; border-radius: 999px; background: var(--wp--preset--color--primary); color: var(--wp--preset--color--base); font-weight: 600; cursor: pointer; }
.vivago-search-clear { font-size: var(--wp--preset--font-size--small); font-weight: 600; }
@media (max-width: 960px) {
	.vivago-tour-search { grid-template-columns: 1fr 1fr; }
	.vivago-search-field--q, .vivago-search-actions { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
	.vivago-tour-search { grid-template-columns: 1fr; }
}

/* ===== 0.9.0 G3 tour page in three tiers (blocks from VIVAGO Core 0.10.0) ===== */
/* Tier 1: chips under the title, "Is this tour right for you?" */
.vivago-chips-row { list-style: none; margin: 0.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.vivago-chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 0.85rem; border: 1px solid var(--wp--preset--color--border); border-radius: 999px; background: var(--wp--preset--color--base); font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--ink); }
.vivago-chip--fit { background: var(--wp--preset--color--surface); border-color: transparent; font-weight: 600; }
.vivago-fit-wrap { margin-top: var(--wp--preset--spacing--50) !important; }
.vivago-fit { padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--60); border: 1px solid var(--wp--preset--color--border); border-radius: var(--vg-radius-m, 12px); }
.vivago-fit-title { margin: 0 0 var(--wp--preset--spacing--40); font-size: var(--wp--preset--font-size--x-large); }
.vivago-fit-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--wp--preset--spacing--40) var(--wp--preset--spacing--60); }
.vivago-fit-label { margin: 0 0 0.4rem; font-size: var(--wp--preset--font-size--x-small); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--text-muted); }
.vivago-fit-label:not(:first-child) { margin-top: var(--wp--preset--spacing--40); }
.vivago-fit .vivago-chips-row { margin-top: 0; }
.vivago-pace { display: flex; align-items: center; gap: 0.6rem; margin: 0; }
.vivago-pace-meter { display: inline-flex; gap: 3px; }
.vivago-pace-meter i { width: 18px; height: 6px; border-radius: 3px; background: var(--wp--preset--color--border); }
.vivago-pace[data-level="1"] i:nth-child(-n+1), .vivago-pace[data-level="2"] i:nth-child(-n+2), .vivago-pace[data-level="3"] i { background: var(--wp--preset--color--secondary); }
.vivago-list--not-for { margin: 0; padding-left: 1.1rem; }
.vivago-list--not-for li { margin-bottom: 0.35rem; }

/* Tier 2: route diagram as a timeline: dot per stop, leg (day · transport) above the line, border leg marked */
.vivago-route { list-style: none; margin: 0 0 var(--wp--preset--spacing--40); padding: 1rem 0.5rem 1.1rem; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(104px, 1fr); overflow-x: auto; background: var(--wp--preset--color--surface); border-radius: var(--vg-radius-m, 12px); scrollbar-width: thin; }
.vivago-route-stop { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 0.35rem; min-width: 0; }
.vivago-route-leg { order: 1; height: 1.1rem; font-size: 0.75rem; line-height: 1.1rem; color: var(--wp--preset--color--text-muted); white-space: nowrap; transform: translateX(-50%); }
.vivago-route-stop:first-child .vivago-route-leg, .vivago-route-stop:first-child::before { display: none; }
.vivago-route-stop::after { content: ""; order: 2; position: relative; z-index: 1; width: 12px; height: 12px; margin: 0.35rem 0; border-radius: 50%; background: var(--wp--preset--color--secondary); box-shadow: 0 0 0 3px var(--wp--preset--color--surface); }
.vivago-route-stop::before { content: ""; position: absolute; top: calc(1.1rem + 0.35rem + 5px); left: -50%; right: 50%; height: 2px; background: var(--wp--preset--color--border-strong); }
.vivago-route-stop.is-border::before { background: repeating-linear-gradient(90deg, var(--wp--preset--color--accent-strong) 0 6px, transparent 6px 10px); }
.vivago-route-stop:first-child { padding-top: 1.1rem; } /* no leg label before the start */
.vivago-route-place { order: 3; font-size: var(--wp--preset--font-size--small); font-weight: 600; line-height: 1.3; }
.vivago-route-border { order: 4; margin-top: 0.25rem; padding: 0 0.4rem; border-radius: 4px; background: var(--wp--preset--color--accent-strong); color: var(--wp--preset--color--base); font-size: 0.6875rem; font-weight: 600; line-height: 1.4; }
@media (max-width: 599px) {
	.vivago-route { grid-auto-flow: row; grid-auto-columns: auto; padding: 0.75rem 1rem; }
	.vivago-route-stop { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 0.5rem; text-align: left; padding: 0 0 0.6rem 1.4rem; }
	.vivago-route-stop::after { position: absolute; left: 0; top: 0.3rem; margin: 0; }
	.vivago-route-stop::before { top: calc(0.3rem + 6px - 100%); left: 5px; right: auto; width: 2px; height: 100%; }
	.vivago-route-stop.is-border::before { background: repeating-linear-gradient(180deg, var(--wp--preset--color--accent-strong) 0 5px, transparent 5px 9px); }
	.vivago-route-place { order: 1; }
	.vivago-route-leg { order: 2; height: auto; transform: none; }
	.vivago-route-stop:first-child { padding-top: 0; }
	.vivago-route-border { order: 3; margin: 0; }
}

/* Tier 2: itinerary accordion (day 1 open) */
.vivago-days-tools { display: flex; justify-content: flex-end; margin: 0 0 0.5rem; }
.vivago-expand-all { min-height: 44px; padding: 0 0.25rem; border: 0; background: none; color: var(--wp--preset--color--primary); font: inherit; font-size: var(--wp--preset--font-size--small); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.vivago-itinerary--structured { border-top: 1px solid var(--wp--preset--color--border); }
.vivago-day { border-bottom: 1px solid var(--wp--preset--color--border); }
.vivago-day > summary { display: grid; grid-template-columns: 5rem 1fr auto; align-items: baseline; gap: 0.5rem; min-height: 56px; padding: 0.9rem 0; cursor: pointer; list-style: none; }
.vivago-day > summary::-webkit-details-marker { display: none; }
.vivago-day > summary::after { content: "+"; font-size: 1.25rem; line-height: 1; color: var(--wp--preset--color--text-muted); }
.vivago-day[open] > summary::after { content: "−"; }
.vivago-day > summary:focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 2px; }
.vivago-day .vivago-day-label { line-height: inherit; }
.vivago-day .vivago-day-title { font-weight: 600; font-size: var(--wp--preset--font-size--medium); }
.vivago-day-meta { margin: 0 0 0.75rem 5.5rem; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--text-muted); }
.vivago-day .vivago-day-body { margin: 0 0 1.25rem 5.5rem; }
@media (max-width: 599px) {
	.vivago-day > summary { grid-template-columns: 1fr auto; }
	.vivago-day .vivago-day-label { grid-column: 1 / -1; }
	.vivago-day-meta, .vivago-day .vivago-day-body { margin-left: 0; }
}

/* Tier 3: questions, before you book, FAQs */
.vivago-concerns { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--wp--preset--spacing--40); }
.vivago-concern { padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50); background: var(--wp--preset--color--surface); border-radius: var(--vg-radius-m, 12px); }
.vivago-tour-section .vivago-concern-q { margin: 0 0 0.5rem; font-size: var(--wp--preset--font-size--medium); }
.vivago-concern p { margin: 0; }
.vivago-practical { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 var(--wp--preset--spacing--60); }
.vivago-practical > div > h3:first-child { margin-top: 0; }
.vivago-practical .vivago-facts-list { grid-template-columns: 1fr; }
.vivago-support { margin-top: var(--wp--preset--spacing--40); }
.vivago-support p { margin: 0 0 0.5rem; }
.vivago-faqs { border-top: 1px solid var(--wp--preset--color--border); }
.vivago-faq { border-bottom: 1px solid var(--wp--preset--color--border); }
.vivago-faq > summary { min-height: 52px; padding: 0.9rem 2rem 0.9rem 0; position: relative; font-weight: 600; cursor: pointer; list-style: none; }
.vivago-faq > summary::-webkit-details-marker { display: none; }
.vivago-faq > summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.85rem; color: var(--wp--preset--color--text-muted); }
.vivago-faq[open] > summary::after { content: "−"; }
.vivago-faq p { margin: 0 0 1rem; }

/* Booking card (sidebar) and the phone bar */
.vivago-booking > p { margin: 0; }
.vivago-booking .vivago-price--large { margin-bottom: 0.25rem; }
.vivago-booking-actions { display: grid; gap: 0.5rem; margin: 1rem 0 0.5rem !important; }
.vivago-booking-actions .wp-element-button { display: flex; justify-content: center; text-align: center; text-decoration: none; }
.vivago-button-outline { background: transparent !important; color: var(--wp--preset--color--primary) !important; border: 1px solid currentColor !important; }
.vivago-booking .vivago-muted { font-size: var(--wp--preset--font-size--x-small); }
.vivago-booking .vivago-side-facts { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--wp--preset--color--border); }
.vivago-booking .vivago-side-facts > div { display: contents; }
.vivago-booking .vivago-side-facts dt { color: var(--wp--preset--color--text-muted); font-size: var(--wp--preset--font-size--small); }
.vivago-booking .vivago-side-facts dd { margin: 0; font-weight: 600; }
.vivago-booking-contact { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--wp--preset--color--border); }
.vivago-booking-contact p { margin: 0 0 0.25rem; }
.vivago-reviews-link { margin-top: 1rem !important; font-size: var(--wp--preset--font-size--small); font-weight: 600; }
.vivago-mobile-bar { display: none; }
@media (max-width: 781px) {
	.vivago-mobile-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 0.6rem var(--wp--style--root--padding-left); background: var(--wp--preset--color--base); border-top: 1px solid var(--wp--preset--color--border); box-shadow: 0 -4px 16px rgb(0 0 0 / 0.06); }
	.vivago-mobile-bar-price { font-weight: 600; }
	.vivago-mobile-bar .wp-element-button { min-height: 44px; display: inline-flex; align-items: center; padding: 0 1.4rem; text-decoration: none; }
	.vivago-tour-side { order: 2; }
}

/* ===== 0.9.1 Denser tour page (type scale in theme.json; compact days; floating section nav; sticky booking card) ===== */
.vivago-tour-head .wp-block-post-title { font-size: var(--wp--preset--font-size--display) !important; }
.vivago-tour-main > .vivago-tour-section { padding-block: var(--wp--preset--spacing--60); }
.vivago-tour .vivago-tour-section-title { font-size: var(--wp--preset--font-size--xx-large); margin-bottom: var(--wp--preset--spacing--40); }
.vivago-tour-section h3 { font-size: var(--wp--preset--font-size--large); margin: var(--wp--preset--spacing--40) 0 var(--wp--preset--spacing--20); }
.vivago-fit { padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50); }
.vivago-fit-title { font-size: var(--wp--preset--font-size--x-large); }
.vivago-chip { min-height: 28px; padding: 0 0.7rem; font-size: 0.8125rem; }

/* Days: one compact row each; overnight and meals visible while closed. */
.vivago-days-tools { margin: 0 0 0.25rem; }
.vivago-expand-all { min-height: 36px; font-size: var(--wp--preset--font-size--x-small); }
.vivago-day > summary { grid-template-columns: 4rem minmax(0, 1fr) auto 1rem; gap: 0.25rem 0.75rem; min-height: 0; padding: 0.7rem 0; align-items: baseline; }
.vivago-day .vivago-day-label { font-size: 0.75rem; line-height: 1.4; }
.vivago-tour-section .vivago-day .vivago-day-title { margin: 0; font-size: var(--wp--preset--font-size--medium); font-weight: 600; line-height: 1.4; }
.vivago-day-sum { font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--text-muted); white-space: nowrap; }
.vivago-day > summary::after { font-size: 1.1rem; text-align: right; }
.vivago-day-meta { margin: 0 0 0.4rem 4.75rem; font-size: var(--wp--preset--font-size--x-small); }
.vivago-day .vivago-day-body { margin: 0 0 0.9rem 4.75rem; }
.vivago-day .vivago-day-body > * { margin-block: 0 0.5rem; }
@media (max-width: 781px) {
	.vivago-day > summary { grid-template-columns: minmax(0, 1fr) 1rem; }
	.vivago-day .vivago-day-label { grid-column: 1 / -1; }
	.vivago-day .vivago-day-title { grid-column: 1; }
	.vivago-day-sum { grid-column: 1; white-space: normal; }
	.vivago-day > summary::after { grid-column: 2; grid-row: 2; }
	.vivago-day-meta, .vivago-day .vivago-day-body { margin-left: 0; }
}

/* Questions in two columns; lists tighter. */
.vivago-concerns { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--wp--preset--spacing--30); }
.vivago-concern { padding: var(--wp--preset--spacing--40); }
.vivago-tour-section .vivago-concern-q { font-size: 1.0625rem; margin-bottom: 0.35rem; }
.vivago-facts-list > div { padding: 0.6rem 0.75rem 0.6rem 0; }
.vivago-faq > summary { min-height: 0; padding: 0.75rem 2rem 0.75rem 0; }
.vivago-tour-section--enquire { padding: var(--wp--preset--spacing--50) !important; margin-bottom: var(--wp--preset--spacing--80) !important; }
.vivago-tour-section--enquire h2 { font-size: var(--wp--preset--font-size--x-large); }

/* Booking card: the whole column sticks (the card alone could not move inside a column of its own height). */
@media (min-width: 782px) {
	.vivago-tour-layout > .vivago-tour-side { position: sticky; top: calc(var(--vg-header-h) + 1rem); align-self: flex-start; }
	.admin-bar .vivago-tour-layout > .vivago-tour-side { top: calc(var(--vg-header-h) + 1rem + 32px); }
	.vivago-tour-side .vivago-sticky { position: static; }
}
.vivago-enquiry-box { padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50); }
.vivago-booking .vivago-price--large { font-size: var(--wp--preset--font-size--x-large); }
.vivago-booking .vivago-price-note { font-size: var(--wp--preset--font-size--x-small); }
.vivago-booking-actions { margin: 0.75rem 0 0.4rem !important; }
.vivago-booking-actions .wp-element-button { min-height: 40px; padding: 0.5rem 1rem; }
.vivago-booking .vivago-side-facts, .vivago-booking-contact { margin-top: 0.75rem; padding-top: 0.75rem; }
.vivago-reviews-link { margin-top: 0.75rem !important; }

/* Section nav: a small floating capsule at the bottom centre, shown between the gallery and Related tours. Hidden on phones (the price bar is there). */
.wp-block-group.vivago-section-nav-wrap {
	position: fixed; top: auto; bottom: 16px; left: 50%; z-index: 40; width: max-content !important; max-width: calc(100vw - 32px) !important; margin: 0 !important; padding: 4px;
	background: rgb(255 255 255 / 0.97); border: 1px solid var(--wp--preset--color--border); border-radius: 999px; box-shadow: 0 6px 24px rgb(0 0 0 / 0.12);
	backdrop-filter: none; transform: translate(-50%, 12px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.admin-bar .wp-block-group.vivago-section-nav-wrap { top: auto; }
.wp-block-group.vivago-section-nav-wrap.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.vivago-section-nav ul { justify-content: flex-start; gap: 2px; padding: 0; }
.vivago-section-nav a { min-height: 32px; padding: 0 0.8rem; border: 0; font-size: 0.8125rem; background: transparent; }
.vivago-section-nav a:hover { background: var(--wp--preset--color--surface); }
.vivago-tour-section, .vivago-anchor, .admin-bar .vivago-tour-section { scroll-margin-top: calc(var(--vg-header-h) + 1rem); }
@media (max-width: 781px) { .wp-block-group.vivago-section-nav-wrap { display: none; } }
@media (prefers-reduced-motion: reduce) { .wp-block-group.vivago-section-nav-wrap { transition: none; } }

/* ===== 0.10.0 Value-first homepage (Homepage 1.1): 7 sections, calm editorial layout ===== */
.vg-home > .vivago-section, .vg-home > .vg-hero { margin-block: 0; }
.vg-home .vivago-section { padding-block: clamp(3rem, 6vw, 5rem); }
.vg-section-intro { margin-bottom: var(--wp--preset--spacing--60) !important; }
.vg-section-intro > * { margin-block: 0 0.75rem; }
.vg-section-intro h2 { margin-bottom: 1rem; }

/* 02 Needs: tabs (JS) or a 2×2 grid (no JS) */
.vg-needs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--wp--preset--spacing--40); }
.vg-need { padding: var(--wp--preset--spacing--50); border: 1px solid var(--wp--preset--color--border); border-radius: var(--vg-radius-m, 12px); }
.vg-need > * { margin-block: 0 0.75rem; }
.vg-need-title { font-size: var(--wp--preset--font-size--large); }
.vg-need-lead { font-weight: 600; }
.vg-need-link { margin-bottom: 0 !important; font-weight: 600; }
.vg-need-link a, .vg-exp-link a, .vg-text-link a { text-decoration: none; color: var(--wp--preset--color--primary); }
.vg-need-link a:hover, .vg-exp-link a:hover, .vg-text-link a:hover { text-decoration: underline; }
.vg-needs.is-tabbed { display: grid; grid-template-columns: minmax(240px, 0.9fr) 1.6fr; gap: var(--wp--preset--spacing--50); align-items: start; }
.vg-needs-tabs { display: flex; flex-direction: column; gap: 0.5rem; }
.vg-needs-tab { text-align: left; padding: 0.9rem 1rem; border: 1px solid var(--wp--preset--color--border); border-radius: var(--vg-radius-m, 12px); background: var(--wp--preset--color--base); color: var(--wp--preset--color--ink); font: inherit; font-weight: 600; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.vg-needs-tab:hover { border-color: var(--wp--preset--color--primary); }
.vg-needs-tab[aria-selected="true"] { background: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--primary); color: #fff; }
.vg-needs-tab:focus-visible, .vg-need:focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 2px; }
.vg-needs.is-tabbed .vg-need { background: var(--wp--preset--color--surface); border-color: transparent; padding: var(--wp--preset--spacing--60); min-height: 100%; }
.vg-needs.is-tabbed .vg-need-title { font-size: var(--wp--preset--font-size--x-large); }
@media (max-width: 781px) {
	.vg-needs.is-tabbed { grid-template-columns: 1fr; }
	.vg-needs-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
	.vg-needs-tab { flex: 0 0 auto; max-width: 78vw; font-size: var(--wp--preset--font-size--small); }
}

/* 03 Approach: four values, each with a photo */
.vg-home-approach { scroll-margin-top: calc(var(--vg-header-h) + 1rem); }
.vg-approach-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--wp--preset--spacing--50); margin-bottom: var(--wp--preset--spacing--50) !important; }
.vg-approach-item > * { margin-block: 0 0.6rem; }
.vg-approach-image { margin: 0 0 1rem !important; }
.vg-approach-image img, .vg-exp-image img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--vg-radius-m, 12px); }
.vg-approach-item h3, .vg-exp-card h3 { font-size: var(--wp--preset--font-size--large); }
.vg-approach-sub, .vg-exp-sub { font-weight: 600; color: var(--wp--preset--color--accent-strong); }

/* 04 Proof */
.vg-proof-cols { gap: var(--wp--preset--spacing--60) !important; }
.vg-proof-cols .wp-block-column > * { margin-block: 0 1rem; }
.vg-proof-figures { font-size: var(--wp--preset--font-size--large); }
.vg-proof-date { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--text-muted); }
.vg-proof-team { padding: var(--wp--preset--spacing--50); background: var(--wp--preset--color--base); border-radius: var(--vg-radius-m, 12px); }
.vivago-proof-list { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 1rem; }
.vivago-proof-item blockquote { margin: 0; padding: 0 0 0 1rem; border-left: 3px solid var(--wp--preset--color--secondary); font-family: var(--wp--preset--font-family--heading); font-size: var(--wp--preset--font-size--large); }
.vivago-proof-item blockquote p { margin: 0; }
.vivago-proof-meta { margin: 0.35rem 0 0 1rem; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--text-muted); }

/* 05 Experiences */
.vg-exp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--wp--preset--spacing--50); }
.vg-exp-card > * { margin-block: 0 0.6rem; }
.vg-exp-image { margin: 0 0 1rem !important; }
.vg-exp-link { font-weight: 600; }
.vg-start-title { margin-top: var(--wp--preset--spacing--70) !important; margin-bottom: var(--wp--preset--spacing--40) !important; font-size: var(--wp--preset--font-size--x-large); }
.vg-start-grid .wp-block-post-title { font-size: var(--wp--preset--font-size--medium) !important; line-height: 1.35; }
.vg-start-grid { margin-bottom: var(--wp--preset--spacing--50) !important; }

/* 06 How it works */
.vg-home-how { background: var(--wp--preset--color--surface); }
.vg-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--wp--preset--spacing--50); counter-reset: none; margin-bottom: var(--wp--preset--spacing--50) !important; }
.vg-step { padding-top: 1rem; border-top: 2px solid var(--wp--preset--color--secondary); }
.vg-step > * { margin-block: 0 0.5rem; }
.vg-step-number { font-family: var(--wp--preset--font-family--heading); font-size: var(--wp--preset--font-size--x-large); color: var(--wp--preset--color--secondary); }
.vg-step h3 { font-size: var(--wp--preset--font-size--large); }

/* 07 Final CTA */
.vg-cta-box { padding: clamp(2rem, 5vw, 3.5rem) !important; border-radius: var(--vg-radius-l, 16px); text-align: center; }
.vg-cta-box > * { margin-block: 0 1rem; }
.vg-cta-box .is-style-eyebrow { color: var(--wp--preset--color--accent-soft); }
.vg-cta-box h2 { color: #fff; }
.vg-cta-box .wp-block-buttons { justify-content: center; }
.vg-cta-box .wp-block-button:not(.is-style-outline) .wp-element-button { background: #fff; color: var(--wp--preset--color--primary); }
.vg-cta-box .is-style-outline .wp-element-button { color: #fff; border-color: rgb(255 255 255 / 0.7); }
.vg-cta-note { font-size: var(--wp--preset--font-size--small); opacity: 0.85; margin-bottom: 0 !important; }

/* Tours page: the need chosen on the homepage */
.vivago-need-intro { margin: 0 0 1rem; padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50); border-radius: var(--vg-radius-m, 12px); background: var(--wp--preset--color--surface); }
.vivago-need-intro > * { margin: 0 0 0.4rem; }
.vivago-need-intro-label { font-size: var(--wp--preset--font-size--x-small); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--accent-strong); }
.vivago-need-intro-title { font-size: var(--wp--preset--font-size--x-large); }
.vivago-need-intro-links { margin-bottom: 0 !important; font-size: var(--wp--preset--font-size--small); font-weight: 600; }
.vivago-tour-search { grid-template-columns: minmax(200px, 2fr) repeat(5, minmax(120px, 1fr)) auto; }
@media (max-width: 1180px) { .vivago-tour-search { grid-template-columns: repeat(3, 1fr); } .vivago-search-field--q, .vivago-search-actions { grid-column: 1 / -1; } }

/* Draft pages and credits */
.vivago-sample-note { padding: 0.6rem 0.9rem; border-left: 3px solid var(--wp--preset--color--warning); background: #FFF8E6; font-size: var(--wp--preset--font-size--small); }
.vg-credits { font-size: var(--wp--preset--font-size--small); }
@media (max-width: 599px) { .vivago-tour-search { grid-template-columns: 1fr; } }

/* ===== 0.10.1 Homepage V2 · Wave 1: full-width hero with overlay, typography, trust line ===== */
.vg-home .vivago-section { padding-block: clamp(2.5rem, 6vw, 5.5rem); }
.vg-hero.wp-block-cover { min-height: clamp(560px, 80vh, 680px) !important; padding-block: clamp(3rem, 8vh, 5rem); margin-block: 0 !important; }
.vg-hero .wp-block-cover__image-background { object-position: 60% 55%; }
.vg-hero .wp-block-cover__inner-container { width: 100%; }
.vg-hero-content { max-width: 560px; color: #fff; }
.vg-hero-content > * { margin-block: 0 1rem; }
.vg-hero-eyebrow.is-style-eyebrow { color: var(--wp--preset--color--accent-soft); }
.vg-hero .vg-hero-title { font-size: clamp(2.125rem, 1.25rem + 3.2vw, 4rem); line-height: 1.06; letter-spacing: -0.02em; color: #fff; margin-bottom: 1.1rem; text-wrap: balance; }
.vg-hero-lead { font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem); line-height: 1.5; color: rgb(255 255 255 / 0.92); max-width: 30em; }
.vg-hero-actions { gap: 0.75rem; margin-top: 1.5rem !important; }
.vg-hero .is-style-outline .wp-element-button { color: #fff; border-color: rgb(255 255 255 / 0.75); background: rgb(255 255 255 / 0.06); }
.vg-hero .is-style-outline .wp-element-button:hover { background: rgb(255 255 255 / 0.16); }
.vg-hero .wp-block-button:not(.is-style-outline) .wp-element-button { background: #fff; color: var(--wp--preset--color--primary); }
.vivago-trust { margin: 0; font-size: var(--wp--preset--font-size--small); }
.vivago-trust-line { text-decoration: none; color: inherit; }
.vivago-trust-line:hover { text-decoration: underline; }
.vivago-trust-stars { color: #00aa6c; letter-spacing: 0.05em; }
.vg-hero .vivago-trust { margin-top: 1.25rem; color: rgb(255 255 255 / 0.92); }
.vg-hero .vivago-trust-stars { color: #34e0a1; }
.vivago-trust-date { opacity: 0.75; font-size: 0.9em; }
.vg-home-proof .vivago-trust { font-size: var(--wp--preset--font-size--medium); }
@media (max-width: 781px) {
	.vg-hero.wp-block-cover { min-height: clamp(500px, 86vh, 620px) !important; align-items: flex-end; padding-block: 2rem 2.25rem; }
	.vg-hero .wp-block-cover__image-background { object-position: 66% 50%; }
	.vg-hero .wp-block-cover__background.has-hero-overlay-gradient-background { background: linear-gradient(0deg, rgba(8, 28, 26, 0.86) 0%, rgba(8, 28, 26, 0.6) 42%, rgba(8, 28, 26, 0.1) 75%, rgba(8, 28, 26, 0) 100%) !important; }
	.vg-hero-actions .wp-block-button { flex: 1 1 auto; }
	.vg-hero-actions .wp-element-button { width: 100%; padding-inline: 1rem !important; }
}

/* ===== Wave 2: Card Design Standard V1 (grid per group, equal heights, same image ratio, 2-line title area, CTA on the bottom line) ===== */
:root { --vg-card-pad: 20px; --vg-card-gap: 24px; --vg-card-radius: 12px; }
.vg-approach-grid, .vg-exp-grid, .vg-steps, .vg-start-grid .wp-block-post-template.is-layout-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: var(--vg-card-gap) !important; align-items: stretch; }
.vg-start-grid .wp-block-post-template.is-layout-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
@media (max-width: 1023px) {
	.vg-approach-grid, .vg-exp-grid, .vg-steps, .vg-start-grid .wp-block-post-template.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 599px) {
	.vg-approach-grid, .vg-exp-grid, .vg-steps, .vg-start-grid .wp-block-post-template.is-layout-grid { grid-template-columns: 1fr !important; }
}
.vg-approach-item, .vg-exp-card { display: flex; flex-direction: column; height: 100%; margin: 0 !important; padding: 0 var(--vg-card-pad) var(--vg-card-pad); background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--border); border-radius: var(--vg-card-radius); overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
.vg-approach-item:hover, .vg-exp-card:hover { box-shadow: 0 8px 24px rgb(15 54 50 / 0.08); border-color: var(--wp--preset--color--border-strong); }
.vg-exp-card:focus-within { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 2px; }
.vg-approach-item > *, .vg-exp-card > * { margin-block: 0 0.5rem !important; }
.vg-approach-image, .vg-exp-image { margin: 0 calc(-1 * var(--vg-card-pad)) 1rem !important; }
.vg-approach-image img, .vg-exp-image img { border-radius: 0; aspect-ratio: 3 / 2; width: 100%; height: auto; object-fit: cover; display: block; }
.vg-approach-item h3, .vg-exp-card h3, .vg-step h3 { font-size: var(--wp--preset--font-size--large); line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vg-approach-sub, .vg-exp-sub { font-size: var(--wp--preset--font-size--small); line-height: 1.45; }
.vg-exp-card > p:not([class]), .vg-approach-item > p:not([class]) { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--text-muted); }
.vg-exp-link { margin-top: auto !important; margin-bottom: 0 !important; padding-top: 0.5rem; }
.vg-approach-item > :last-child { margin-bottom: 0 !important; }
.vg-home-proof .vg-proof-cols { align-items: stretch; }
.vg-proof-team { display: flex; flex-direction: column; border-radius: var(--vg-card-radius); }
.vg-proof-team .vg-text-link { margin-top: auto !important; }
.vg-step { display: flex; flex-direction: column; height: 100%; }
.vg-step h3 { min-height: 0; }
.vg-start-grid .vivago-tour-card { border-radius: var(--vg-card-radius); }
.vg-start-grid .vivago-card-body { padding: var(--vg-card-pad); }
.vg-start-grid .wp-block-post-title { min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vg-start-grid .wp-block-post-featured-image { aspect-ratio: 3 / 2 !important; }
.vg-needs:not(.is-tabbed) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--vg-card-gap); }
.vg-needs:not(.is-tabbed) .vg-need { display: flex; flex-direction: column; border-radius: var(--vg-card-radius); }
.vg-needs:not(.is-tabbed) .vg-need-link { margin-top: auto !important; }
@media (max-width: 599px) { .vg-needs:not(.is-tabbed) { grid-template-columns: 1fr; } }
.vivago-trust-date { white-space: nowrap; }
.vivago-header-cta .wp-element-button { white-space: nowrap; }
@media (max-width: 781px) {
	.vg-hero-actions { flex-wrap: nowrap !important; }
	.vg-hero-actions .wp-block-button { flex: 0 1 auto; min-width: 0; }
	.vg-hero-actions .wp-element-button { font-size: 0.875rem !important; padding: 0.65rem 0.85rem !important; white-space: nowrap; }
}
@media (max-width: 359px) { .vg-hero-actions { flex-wrap: wrap !important; } }

/* ===== 0.10.2 Homepage V2 fixes (staging review 18 Nov 2026) and Card Content Standard ===== */
/* Fix 1: hero text sits in the same 1240px container as every section and never wider than 560px. */
.vg-hero.wp-block-cover { padding-left: var(--wp--style--root--padding-left, 24px); padding-right: var(--wp--style--root--padding-right, 24px); }
/* Core sets width:auto on the inner container of a cover with a content position (higher specificity), which shrinks it to the text and centres it. */
.wp-block-cover.vg-hero.has-custom-content-position .wp-block-cover__inner-container { width: 100% !important; max-width: var(--wp--style--global--wide-size, 1240px) !important; margin-left: auto !important; margin-right: auto !important; }
.vg-hero .vg-hero-content { max-width: 560px !important; margin-left: 0 !important; margin-right: auto !important; }
/* Fix 2-3: WordPress adds a block gap above every child after the first; grid children must start on the same line. */
.vg-approach-grid > *, .vg-exp-grid > *, .vg-steps > *, .vg-needs > *, .vg-needs-tabs > *, .vg-proof-cols > * { margin-block-start: 0 !important; }
/* Fix 5: featured tours follow the number of verified tours: 1 wide card, 2 half-width cards, 3 or more in thirds. */
@media (min-width: 600px) {
	.vg-start-grid .wp-block-post-template:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.vg-start-grid .wp-block-post-template:has(> li:nth-child(2):last-child) .wp-block-post-featured-image { aspect-ratio: 16 / 9 !important; }
	.vg-start-grid .wp-block-post-template:has(> li:only-child) { grid-template-columns: minmax(0, 1fr) !important; }
	.vg-start-grid li:only-child .vivago-tour-card { flex-direction: row; }
	.vg-start-grid li:only-child .wp-block-post-featured-image { flex: 0 0 50%; aspect-ratio: 16 / 10 !important; }
}

/* Card Content Standard: short visible text; "Read more" (core Details block) keeps the rest one click away. */
.vg-approach-item .vg-approach-sub { margin-bottom: 0.35rem !important; }
.vg-readmore { margin-top: auto !important; margin-bottom: 0 !important; padding-top: 0.5rem; }
.vg-readmore > summary { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 32px; cursor: pointer; list-style: none; font-size: var(--wp--preset--font-size--small); font-weight: 600; color: var(--wp--preset--color--primary); }
.vg-readmore > summary::-webkit-details-marker { display: none; }
.vg-readmore > summary::after { content: ""; width: 0.45em; height: 0.45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s ease; }
.vg-readmore[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.vg-readmore > summary:hover { text-decoration: underline; }
.vg-readmore > summary:focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 2px; border-radius: 4px; }
.vg-readmore > p { margin: 0.35rem 0 0; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--text-muted); }
.vg-step-title { font-size: var(--wp--preset--font-size--large) !important; min-height: 0 !important; }
.vg-steps .vg-step > p:last-child { font-size: var(--wp--preset--font-size--medium); color: var(--wp--preset--color--ink); }
@media (prefers-reduced-motion: reduce) { .vg-readmore > summary::after { transition: none; } }
/* One column: no neighbour to align with, so titles take only the lines they need. */
@media (max-width: 599px) {
	.vg-approach-item h3, .vg-exp-card h3, .vg-start-grid .wp-block-post-title { min-height: 0; }
}

/* ===== 0.11.0 Homepage V2 · Wave 3 (Customer Needs) and review fixes ===== */
/* Needs: three directions. Tabs on top; the panel changes photo, message, proof and link. Without JS: three cards. */
.vg-needs:not(.is-tabbed) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vg-needs:not(.is-tabbed) .vg-need { padding: 0; overflow: hidden; }
.vg-need-image { margin: 0 !important; }
.vg-need-image img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.vg-need-body { display: flex; flex-direction: column; padding: var(--vg-card-pad); }
.vg-need-body > * { margin: 0 0 0.6rem !important; }
.vg-need-body .vivago-proof-list { margin: 0.25rem 0 0.75rem !important; }
.vg-need-body .vivago-proof-item blockquote { font-size: var(--wp--preset--font-size--medium); }
.vivago-need-link { margin-top: auto !important; margin-bottom: 0 !important; font-weight: 600; }
.vivago-need-link a { color: var(--wp--preset--color--primary); text-decoration: none; }
.vivago-need-link a:hover { text-decoration: underline; }
.vivago-need-count { font-weight: 400; color: var(--wp--preset--color--text-muted); }
.vg-needs.is-tabbed { display: block; }
.vg-needs.is-tabbed .vg-needs-tabs { display: flex; flex-direction: row; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.vg-needs.is-tabbed .vg-needs-tab { flex: 0 1 auto; padding: 0.7rem 1.1rem; border-radius: 999px; font-size: var(--wp--preset--font-size--small); }
.vg-needs.is-tabbed .vg-need { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); padding: 0; min-height: 0; overflow: hidden; border-radius: var(--vg-card-radius); background: var(--wp--preset--color--surface); }
.vg-needs.is-tabbed .vg-need-image img { aspect-ratio: auto; min-height: 340px; }
.vg-needs.is-tabbed .vg-need-body { padding: clamp(1.5rem, 3vw, 2.5rem); justify-content: center; }
.vg-needs.is-tabbed .vg-need-title { font-size: var(--wp--preset--font-size--x-large); }
.vg-needs.is-tabbed .vg-need[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .vg-needs.is-tabbed .vg-need:not([hidden]) { animation: vg-fade .25s ease; } }
@keyframes vg-fade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 781px) {
	.vg-needs:not(.is-tabbed) { grid-template-columns: 1fr; }
	.vg-needs.is-tabbed .vg-needs-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
	.vg-needs.is-tabbed .vg-needs-tab { flex: 0 0 auto; max-width: none; white-space: nowrap; }
	.vg-needs.is-tabbed .vg-need { grid-template-columns: 1fr; }
	.vg-needs.is-tabbed .vg-need-image img { min-height: 0; aspect-ratio: 16 / 10; }
}

/* Difference cards: title + benefit line; the small arrow at the end of the line opens the explanation. */
.vg-reveal { margin: 0 !important; border: 0 !important; padding: 0 !important; }
.vg-reveal > summary { display: block; cursor: pointer; list-style: none; font-size: var(--wp--preset--font-size--small); font-weight: 600; line-height: 1.45; color: var(--wp--preset--color--accent-strong); }
.vg-reveal > summary::-webkit-details-marker { display: none; }
.vg-reveal > summary::after { content: ""; display: inline-block; width: 0.42em; height: 0.42em; margin-left: 0.45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-0.2em) rotate(45deg); transition: transform .15s ease; }
.vg-reveal[open] > summary::after { transform: translateY(0.05em) rotate(-135deg); }
.vg-reveal > summary:hover { color: var(--wp--preset--color--primary); }
.vg-reveal > summary:focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 2px; border-radius: 4px; }
.vg-reveal > p { margin: 0.5rem 0 0 !important; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--text-muted); }
.vg-approach-item { padding-bottom: var(--vg-card-pad); }
.vg-approach-item h3 { margin-bottom: 0.4rem !important; }
@media (prefers-reduced-motion: reduce) { .vg-reveal > summary::after { transition: none; } }

/* How it works: compact timeline beside a short heading. */
.vg-home .vg-home-how { padding-block: clamp(2.5rem, 5vw, 4rem); }
.vg-how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.vg-how > * { margin: 0 !important; }
.vg-how-intro > * { margin: 0 0 0.6rem !important; }
.vg-how .vg-how-title { font-size: var(--wp--preset--font-size--x-large); line-height: 1.25; }
.vg-timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; position: relative; }
.vg-timeline > * { margin: 0 !important; }
.vg-tl-step { position: relative; padding-top: 0; }
.vg-tl-step > * { margin: 0 !important; }
.vg-tl-num { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1.5px solid var(--wp--preset--color--secondary); background: var(--wp--preset--color--surface); color: var(--wp--preset--color--secondary); font-size: 0.8125rem; font-weight: 600; position: relative; z-index: 1; }
.vg-tl-step:not(:last-child)::after { content: ""; position: absolute; top: 1.125rem; left: 2.75rem; right: -0.75rem; height: 1.5px; background: var(--wp--preset--color--border-strong); opacity: 0.6; }
.vg-tl-title { margin-top: 0.85rem !important; font-size: var(--wp--preset--font-size--medium) !important; font-weight: 600; font-family: var(--wp--preset--font-family--body); }
.vg-tl-text { margin-top: 0.25rem !important; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--text-muted); }
@media (max-width: 1023px) { .vg-how { grid-template-columns: 1fr; } }
@media (max-width: 599px) {
	.vg-timeline { grid-template-columns: 1fr; gap: 1rem; }
	.vg-tl-step { display: grid; grid-template-columns: 2.25rem 1fr; column-gap: 0.85rem; }
	.vg-tl-num { grid-row: 1 / span 2; }
	.vg-tl-title { margin-top: 0.3rem !important; }
	.vg-tl-step:not(:last-child)::after { top: 2.5rem; bottom: -0.85rem; left: 1.1rem; right: auto; width: 1.5px; height: auto; }
}

/* Final call to action on a photo background. */
.vg-home .vg-home-cta { padding-top: 0; }
.vg-cta-cover.wp-block-cover { border-radius: var(--vg-radius-l, 16px); overflow: hidden; padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem); text-align: center; }
.vg-cta-cover .wp-block-cover__inner-container > * { margin-block: 0 1rem; color: #fff; }
.vg-cta-cover .is-style-eyebrow { color: var(--wp--preset--color--accent-soft) !important; }
.vg-cta-cover h2 { font-size: var(--wp--preset--font-size--xx-large); }
.vg-cta-cover .wp-block-buttons { justify-content: center; margin-bottom: 0 !important; }
.vg-cta-cover .wp-block-button:not(.is-style-outline) .wp-element-button { background: #fff; color: var(--wp--preset--color--primary); }
.vg-cta-cover .is-style-outline .wp-element-button { color: #fff; border-color: rgb(255 255 255 / 0.75); }
/* Review fixes: arrow right after the benefit line (core details CSS makes the summary a flex row). */
.vg-reveal > summary { display: block !important; }
.vg-reveal > summary::after { vertical-align: middle; }
.vg-home .vg-home-cta { padding-top: clamp(2.5rem, 5vw, 4rem); }
.vg-cta-cover h2, .vg-hero .vg-hero-title, .vg-section-intro h2, .vg-how-title { text-wrap: balance; }
.vg-how .vg-text-link a { font-weight: 600; }
.vg-needs.is-tabbed .vivago-need-link { margin-top: 0.75rem !important; }
/* The generic accordion style (+/− pinned to the right) must not apply to the inline reveal arrow. */
.wp-block-details.vg-reveal > summary { padding-right: 0; min-height: 0; font-weight: 600; }
.wp-block-details.vg-reveal > summary::after, .wp-block-details.vg-reveal[open] > summary::after { content: ""; position: static; right: auto; font-size: inherit; }

/* ===== 0.12.0 Homepage V2 · Wave 4 (storytelling) and Wave 5 (experiences, featured tours) ===== */
/* BR4: one story, one large photo, three short benefits, one link. */
.vg-story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.vg-story-grid > * { margin: 0 !important; }
.vg-story-image img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--vg-radius-l, 16px); }
.vg-story-body > * { margin: 0 0 1rem !important; }
.vg-story .vg-story-title { font-size: var(--wp--preset--font-size--xx-large); line-height: 1.2; text-wrap: balance; }
.vg-story-text { font-size: var(--wp--preset--font-size--medium); line-height: 1.65; color: var(--wp--preset--color--ink); max-width: 36em; }
.vg-story-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--wp--preset--color--border); }
.vg-story-benefits > * { margin: 0 !important; }
.vg-story-benefit > * { margin: 0 !important; }
.vg-story-benefit .vg-story-benefit-title { font-family: var(--wp--preset--font-family--body); font-size: var(--wp--preset--font-size--small); font-weight: 700; letter-spacing: 0.02em; color: var(--wp--preset--color--primary); margin-bottom: 0.25rem !important; min-height: 0; }
.vg-story-benefit p { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--text-muted); line-height: 1.45; }
.vg-story-body .vivago-proof-list { margin: 0 0 1rem !important; }
.vg-story-body .vg-text-link a { font-weight: 600; }
@media (max-width: 781px) {
	.vg-story-grid { grid-template-columns: 1fr; }
	.vg-story-benefits { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* BR6: image-led experience tiles, same size, title and one line on the photo, the whole tile is the link. */
.vg-exp-grid--overlay { gap: var(--vg-card-gap) !important; }
.vg-exp-tile { position: relative; margin: 0 !important; border-radius: var(--vg-card-radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--wp--preset--color--primary-dark); isolation: isolate; }
.vg-exp-tile-image { position: absolute !important; inset: 0; margin: 0 !important; z-index: -1; }
.vg-exp-tile-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.vg-exp-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 28, 26, 0) 35%, rgba(8, 28, 26, 0.82) 100%); pointer-events: none; }
.vg-exp-tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--vg-card-pad); color: #fff; }
.vg-exp-tile-body > * { margin: 0 !important; }
.vg-exp-tile .vg-exp-tile-title { font-size: var(--wp--preset--font-size--large); line-height: 1.25; min-height: 0; display: block; color: #fff; }
.vg-exp-tile-title a { color: #fff; text-decoration: none; }
.vg-exp-tile-title a::after { content: ""; position: absolute; inset: 0; }
.vg-exp-tile-title a::before { content: "→"; float: right; margin-left: 0.5rem; transition: transform .15s ease; }
.vg-exp-tile-line { margin-top: 0.3rem !important; font-size: var(--wp--preset--font-size--small); line-height: 1.4; color: rgb(255 255 255 / 0.88); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vg-exp-tile:hover .vg-exp-tile-image img { transform: scale(1.04); }
.vg-exp-tile:hover .vg-exp-tile-title a::before { transform: translateX(3px); }
.vg-exp-tile:focus-within { outline: 3px solid var(--wp--preset--color--accent-soft); outline-offset: 2px; }
.vg-exp-tile-title a:focus-visible { outline: none; }
@media (max-width: 599px) { .vg-exp-tile { aspect-ratio: 16 / 10; } }
@media (prefers-reduced-motion: reduce) { .vg-exp-tile-image img, .vg-exp-tile-title a::before { transition: none; } }

/* Featured tours: duration, one highlight, price and the link on the bottom line. */
.vg-start-grid .vivago-card-highlight { margin: 0 !important; color: var(--wp--preset--color--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vg-start-grid .vivago-card-highlight:empty { display: none; }
.vg-start-grid .vivago-card-highlight::before { content: "✓ "; color: var(--wp--preset--color--secondary); font-weight: 700; }
.vg-exp-tile-line { min-height: 2.8em; }
@media (max-width: 599px) { .vg-exp-tile-line { min-height: 0; } }

/* ===== 0.12.1 Story: compact and distinct from the needs panel (text left, photo right, benefits in one numbered row) ===== */
.vg-story .vg-story-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
.vg-story-image img { aspect-ratio: 3 / 2; border-radius: var(--vg-radius-l, 16px); }
.vg-story .vg-story-title { font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.375rem); line-height: 1.15; }
.vg-story-text { font-size: var(--wp--preset--font-size--large); line-height: 1.6; color: var(--wp--preset--color--text-muted); max-width: 32em; }
.vg-story-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); margin-top: clamp(1.75rem, 4vw, 3rem) !important; padding-top: 0; border-top: 0; }
.vg-story-benefit { display: grid; grid-template-columns: auto 1fr; column-gap: 0.85rem; padding-top: 1rem; border-top: 1px solid var(--wp--preset--color--border); }
.vg-story-benefit-num { grid-row: 1 / span 2; font-family: var(--wp--preset--font-family--heading); font-size: var(--wp--preset--font-size--large); line-height: 1.1; color: var(--wp--preset--color--accent-strong); }
.vg-story-benefit .vg-story-benefit-title { font-size: var(--wp--preset--font-size--medium); letter-spacing: 0; }
@media (max-width: 781px) {
	.vg-story .vg-story-grid { grid-template-columns: 1fr; }
	.vg-story-image { order: -1; }
	.vg-story-benefits { grid-template-columns: 1fr; gap: 0; }
	.vg-story-benefit { padding-block: 0.85rem; }
}
/* Story follows another white section: share the gap instead of doubling it. */
.vg-home .vivago-section.vg-story { padding-top: clamp(0.5rem, 2vw, 1.5rem); }

/* ===== 0.13.0 Homepage review (BR4) ===== */
/* BR4-02: evidence from the tours inside each need. */
.vivago-need-evidence { margin: 0.25rem 0 0.75rem !important; padding: 0.85rem 1rem; background: var(--wp--preset--color--base); border-radius: var(--vg-radius-m, 12px); border-left: 3px solid var(--wp--preset--color--secondary); }
.vivago-need-evidence > * { margin: 0 !important; }
.vivago-need-evidence-q { font-size: var(--wp--preset--font-size--x-small); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wp--preset--color--accent-strong); }
.vivago-need-evidence blockquote { margin: 0.35rem 0 !important; padding: 0; border: 0; }
.vivago-need-evidence blockquote p { margin: 0; font-size: var(--wp--preset--font-size--medium); line-height: 1.5; color: var(--wp--preset--color--ink); }
.vivago-need-evidence-src { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--text-muted); }
.vivago-need-evidence a { color: var(--wp--preset--color--primary); font-weight: 600; text-decoration: none; }
.vivago-need-evidence a:hover { text-decoration: underline; }
.vivago-need-evidence-list { list-style: none; margin: 0.4rem 0 0 !important; padding: 0; display: grid; gap: 0.45rem; }
.vivago-need-evidence-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.15rem 0.75rem; font-size: var(--wp--preset--font-size--small); }
.vivago-need-evidence-list span { color: var(--wp--preset--color--text-muted); }
/* BR4-04: short trust line in the hero, readable size. */
.vg-hero .vivago-trust--compact { font-size: var(--wp--preset--font-size--medium); }
/* BR4-06: larger text on the experience tiles, stronger gradient. */
.vg-exp-tile .vg-exp-tile-title { font-size: var(--wp--preset--font-size--x-large); }
.vg-exp-tile-line { font-size: 0.9375rem; color: #fff; }
.vg-exp-tile::after { background: linear-gradient(180deg, rgba(8, 28, 26, 0) 30%, rgba(8, 28, 26, 0.9) 100%); }

/* ===== 0.13.1 Travelers' Choice 2026 award badge (from Core trust line) ===== */
.vivago-trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin: 0 0 1rem; }
.vivago-trust-row .vivago-trust { margin: 0 !important; }
.vivago-award { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.4rem 0.9rem 0.4rem 0.55rem; border-radius: 999px; background: #E8F7EF; color: #0B6B45; text-decoration: none; border: 1px solid #BFE6D1; }
.vivago-award:hover { background: #D9F2E5; }
.vivago-award:focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 2px; }
.vivago-award-icon { flex: 0 0 auto; color: #00AA6C; }
.vivago-award-text { display: flex; flex-direction: column; line-height: 1.15; }
.vivago-award-name { font-weight: 700; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--ink); }
.vivago-award-src { font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: uppercase; color: #0B6B45; }
.vg-hero .vivago-trust-row { margin-top: 1.25rem; }
.vg-hero .vivago-award { background: rgb(255 255 255 / 0.95); border-color: transparent; box-shadow: 0 4px 14px rgb(0 0 0 / 0.18); }
.vg-hero .vivago-trust { margin-top: 0 !important; }

/* =====================================================================
   0.14.0 TYPE SYSTEM — one role per piece of text, site-wide (public pages).
   Families: Source Serif 4 (headings, quotes) · Inter (everything else).
   Components use these roles; do not set font sizes per component.
   ===================================================================== */
:root {
	--vg-t-h1: clamp(1.875rem, 1.5rem + 1.2vw, 2.75rem);   /* page title 30–44 */
	--vg-t-h2: clamp(1.5rem, 1.3rem + 0.6vw, 1.875rem);    /* section 24–30 */
	--vg-t-h3: clamp(1.125rem, 1.07rem + 0.2vw, 1.25rem);  /* block 18–20 */
	--vg-t-lead: clamp(1.0625rem, 1.03rem + 0.12vw, 1.125rem); /* 17–18 */
	--vg-t-body: 1rem;                                     /* 16 */
	--vg-t-quote: 0.9375rem;                               /* 15, serif italic */
	--vg-t-meta: 0.875rem;                                 /* 14 */
	--vg-t-label: 0.8125rem;                               /* 13, uppercase */
	--vg-t-button: 0.9375rem;                              /* 15 */
	--vg-quote-color: #3B4845;
}

/* Role classes (usable in the editor via Additional CSS class). */
.vg-t-lead { font-family: var(--wp--preset--font-family--body); font-size: var(--vg-t-lead) !important; line-height: 1.6; font-weight: 400; color: var(--wp--preset--color--ink); }
.vg-t-meta { font-family: var(--wp--preset--font-family--body); font-size: var(--vg-t-meta) !important; line-height: 1.5; color: var(--wp--preset--color--text-muted); }
.vg-t-label { font-family: var(--wp--preset--font-family--body); font-size: var(--vg-t-label) !important; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--accent-strong); }
.vg-quote { font-family: var(--wp--preset--font-family--heading); font-style: italic; font-size: var(--vg-t-quote) !important; line-height: 1.6; font-weight: 400; color: var(--vg-quote-color); }

/* H2: every section heading. */
.vg-home .vivago-section h2, .vg-story .vg-story-title, .vg-how .vg-how-title, .vg-cta-cover h2, .vivago-tour-section-title, .vivago-fit-title { font-size: var(--vg-t-h2) !important; line-height: 1.2; }
/* H3: titles of cards, panels, steps and benefits — serif. */
.vg-need-title, .vg-needs.is-tabbed .vg-need-title, .vg-exp-card h3, .vg-approach-item h3, .vg-tl-title, .vg-story-benefit .vg-story-benefit-title, .vivago-tour-section h3, .vivago-concern-q, .vg-how .vg-tl-title {
	font-family: var(--wp--preset--font-family--heading) !important; font-size: var(--vg-t-h3) !important; font-weight: 600 !important; line-height: 1.3; letter-spacing: 0; color: var(--wp--preset--color--ink);
}
.vg-exp-tile .vg-exp-tile-title { font-size: var(--vg-t-h3) !important; }
/* Lead: the sentence under a page or section heading. */
.vg-hero-lead, .vg-story-text, .vg-section-intro > p:not(.is-style-eyebrow), .vivago-lead, .vg-need-lead { font-size: var(--vg-t-lead) !important; line-height: 1.6; }
.vg-story-text { color: var(--wp--preset--color--ink); }
.vg-need-lead { font-weight: 600; }
/* Body. */
.vg-need-body > p:not([class]), .vg-step > p, .vivago-concern p, .vg-proof-team p:not(.vg-text-link) { font-size: var(--vg-t-body); line-height: 1.6; }
/* Quotes: traveller quotes and answers taken from tour pages — serif italic, one size below body. */
.vivago-proof-item blockquote, .vivago-proof-item blockquote p, .vivago-need-evidence blockquote p, .vg-need-body .vivago-proof-item blockquote, .vg-story-body .vivago-proof-item blockquote {
	font-family: var(--wp--preset--font-family--heading) !important; font-style: italic; font-size: var(--vg-t-quote) !important; line-height: 1.6 !important; font-weight: 400; color: var(--vg-quote-color);
}
/* Meta: who, when, where from, small facts. */
.vivago-proof-meta, .vivago-need-evidence-src, .vivago-card-facts, .vg-tl-text, .vg-story-benefit p, .vivago-trust, .vivago-need-count, .vg-approach-sub, .vg-exp-sub { font-size: var(--vg-t-meta) !important; line-height: 1.5; }
/* Labels. */
.is-style-eyebrow, .vivago-need-evidence-q, .vivago-fit-label, .vivago-day-label { font-size: var(--vg-t-label) !important; letter-spacing: 0.08em; }
/* Buttons and action links. */
.wp-element-button, .vg-text-link a, .vivago-need-link a, .vivago-card-cta { font-size: var(--vg-t-button) !important; }

/* ===== 0.14.0 "Real experiences. Real voices." as one compact horizontal panel ===== */
.vg-home .vg-home-proof { padding-block: clamp(2.5rem, 5vw, 4rem); }
.vg-proof-panel { padding: clamp(1.25rem, 3vw, 2rem); background: var(--wp--preset--color--base); border-radius: var(--vg-radius-l, 16px); box-shadow: 0 1px 0 rgb(0 0 0 / 0.03); }
.vg-proof-panel > * { margin: 0 !important; }
.vg-proof-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2.5rem; align-items: end; padding-bottom: 1.25rem; border-bottom: 1px solid var(--wp--preset--color--border); }
.vg-proof-head > *, .vg-proof-intro > *, .vg-proof-score > * { margin: 0 !important; }
.vg-proof-intro h2 { margin: 0.35rem 0 0.35rem !important; }
.vg-proof-score { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; text-align: right; }
.vg-proof-score .vivago-trust-row { margin: 0; justify-content: flex-end; }
.vg-proof-score .vg-text-link a { font-weight: 600; text-decoration: none; color: var(--wp--preset--color--primary); }
.vg-proof-panel .vivago-proof-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 1.25rem 0 !important; }
.vg-proof-panel .vivago-proof-item { display: flex; flex-direction: column; padding-left: 0.9rem; border-left: 2px solid var(--wp--preset--color--secondary); }
.vg-proof-panel .vivago-proof-item blockquote { padding: 0; border: 0; margin: 0; }
.vg-proof-panel .vivago-proof-meta { margin: 0.5rem 0 0; }
.vg-home-proof .vg-proof-team { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem; padding: 1rem 0 0; background: none; border-radius: 0; border-top: 1px solid var(--wp--preset--color--border); }
.vg-home-proof .vg-proof-team > * { margin: 0 !important; }
.vg-proof-team .vg-text-link a { font-weight: 600; text-decoration: none; color: var(--wp--preset--color--primary); white-space: nowrap; }
.vg-proof-panel:not(:has(.vivago-proof-list)) .vg-proof-team { margin-top: 1.25rem !important; }
@media (max-width: 1023px) {
	.vg-proof-head { grid-template-columns: 1fr; align-items: start; }
	.vg-proof-score { align-items: flex-start; text-align: left; }
	.vg-proof-score .vivago-trust-row { justify-content: flex-start; }
	.vg-proof-panel .vivago-proof-list { grid-template-columns: 1fr; gap: 1rem; }
}
.vg-proof-score .vivago-trust-row { flex-direction: column; align-items: flex-end; gap: 0.4rem; }
.vg-proof-intro h2 { text-wrap: balance; }
.vg-need-lead { font-size: var(--vg-t-body) !important; font-weight: 600; }
@media (max-width: 1023px) { .vg-proof-score .vivago-trust-row { align-items: flex-start; } }

/* ===== 0.15.0 Content Flow V2: five chapters ===== */
/* Chapter 1: policy line under the hero actions (each policy with its condition). */
.vivago-policies { list-style: none; margin: 1rem 0 0 !important; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; }
.vivago-policy { display: inline-flex; align-items: baseline; gap: 0.35rem; font-size: var(--vg-t-meta); }
.vivago-policy::before { content: "✓"; font-weight: 700; color: var(--wp--preset--color--secondary); }
.vivago-policy-label { font-weight: 600; }
.vivago-policy-note { color: var(--wp--preset--color--text-muted); }
.vg-hero .vivago-policy, .vg-hero .vivago-policy-note { color: rgb(255 255 255 / 0.85); }
.vg-hero .vivago-policy-label { color: #fff; }
.vg-hero .vivago-policy::before { color: #34e0a1; }
.vg-hero .vivago-policies { margin-top: 1.1rem !important; }
.vg-hero .vivago-trust-row { margin-top: 0.85rem; }

/* Chapter 2: concern → how we help → what to expect (from tours) → next step. */
.vg-home-needs { scroll-margin-top: calc(var(--vg-header-h) + 1rem); }
.vg-need-help { font-size: var(--vg-t-body); }
.vg-need-help strong { color: var(--wp--preset--color--ink); }
.vg-need-body .vivago-policies { margin: 0 0 0.75rem !important; }
.vivago-need-evidence-facts { margin: 0.4rem 0 0 !important; display: grid; gap: 0.4rem; }
.vivago-need-evidence-facts > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 0.75rem; }
.vivago-need-evidence-facts dt { font-size: var(--vg-t-meta); font-weight: 600; color: var(--wp--preset--color--ink); }
.vivago-need-evidence-facts dd { margin: 0; font-family: var(--wp--preset--font-family--heading); font-style: italic; font-size: var(--vg-t-quote); line-height: 1.55; color: var(--vg-quote-color); }
@media (max-width: 599px) { .vivago-need-evidence-facts > div { grid-template-columns: 1fr; gap: 0.1rem; } }

/* Chapter 3: value & proof — three values, each with its verified quote. */
.vg-value .vg-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 1.25rem 0 !important; }
.vg-value .vg-values > * { margin: 0 !important; }
.vg-value-item { display: flex; flex-direction: column; padding-top: 0.25rem; }
.vg-value-item > * { margin: 0 !important; }
.vg-value-line { margin-top: 0.25rem !important; font-size: var(--vg-t-meta); color: var(--wp--preset--color--text-muted); }
.vg-value-item .vivago-proof-list { display: block; margin: 0.85rem 0 0 !important; }
.vg-value-item .vivago-proof-item { padding-left: 0.9rem; border-left: 2px solid var(--wp--preset--color--secondary); }
.vg-value-item .vivago-proof-meta { margin: 0.45rem 0 0; }
.vg-home .vg-value { padding-block: clamp(2.5rem, 5vw, 4rem); }
@media (max-width: 1023px) { .vg-value .vg-values { grid-template-columns: 1fr; gap: 1.25rem; } }

/* Chapter 4: tiles select a group; the tours below follow. */
.vg-exp-tile.is-selected { outline: 3px solid var(--wp--preset--color--primary); outline-offset: 3px; }
.vg-exp-tile.is-selected .vg-exp-tile-title a::before { content: "✓"; }
.vg-discover { margin-top: var(--wp--preset--spacing--60) !important; }
.vg-discover-heading { margin: 0 0 1rem; font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: var(--vg-t-h3); color: var(--wp--preset--color--ink); }
.vg-discover-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--vg-card-gap, 24px); }
.vg-discover-cards > li[hidden] { display: none; }
.vg-discover-card .vivago-tour-card { height: 100%; display: flex; flex-direction: column; border-radius: var(--vg-card-radius, 12px); overflow: hidden; }
.vg-discover-image { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--wp--preset--color--surface); }
.vg-discover-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.vg-discover-card:hover .vg-discover-image img { transform: scale(1.03); }
.vg-discover-card .vivago-card-body { padding: var(--vg-card-pad, 20px); }
.vg-discover-card .wp-block-post-title { margin: 0; font-size: var(--vg-t-body) !important; font-family: var(--wp--preset--font-family--body); font-weight: 600; line-height: 1.35; min-height: 2.7em; }
.vg-discover-card .wp-block-post-title a { color: var(--wp--preset--color--ink); text-decoration: none; }
.vg-discover-card .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; }
.vg-discover-card .vivago-tour-card { position: relative; }
.vg-why { margin: 0 !important; font-size: var(--vg-t-meta); color: var(--wp--preset--color--ink); }
.vg-why::before { content: "✓ "; color: var(--wp--preset--color--secondary); font-weight: 700; }
.vg-match { margin: 0 0 0.25rem !important; align-self: flex-start; padding: 0.15rem 0.6rem; border-radius: 999px; background: #E8F7EF; color: #0B6B45; font-size: var(--vg-t-label); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.vg-discover-none, .vg-discover-empty { margin: 0 0 1rem; color: var(--wp--preset--color--text-muted); }
.vg-discover-more { margin: 1.25rem 0 0; font-weight: 600; }
.vg-discover-more a, .vg-discover-none a, .vg-discover-empty a { color: var(--wp--preset--color--primary); text-decoration: none; }
@media (max-width: 1023px) { .vg-discover-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .vg-discover-cards { grid-template-columns: 1fr; } .vg-discover-card .wp-block-post-title { min-height: 0; } }

/* Chapter 5: plan & book — steps and the two actions together. */
.vg-plan-steps { list-style: none; counter-reset: vgstep; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 0; margin: 0.5rem auto 1.25rem !important; padding: 0; }
.vg-plan-steps li { counter-increment: vgstep; display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; color: #fff; }
.vg-plan-steps li::before { content: counter(vgstep, decimal-leading-zero); display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / 0.6); font-size: 0.75rem; }
.vg-plan-steps li:not(:last-child)::after { content: ""; width: 2.25rem; height: 1px; margin: 0 0.75rem; background: rgb(255 255 255 / 0.45); }
.vg-home .vg-plan { padding-top: clamp(2.5rem, 5vw, 4rem); }
/* The discover list is a shortcode block inside a constrained section: give it the wide size like the tiles. */
.vg-home-experiences > .vg-discover, .vg-home-experiences > .vg-discover-empty { max-width: var(--wp--style--global--wide-size, 1240px) !important; }

/* Chapter 4: one or two matching tours use the full width instead of leaving empty columns (BR6). */
@media (min-width: 600px) {
	.vg-discover-cards[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vg-discover-cards[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
	.vg-discover-cards[data-count="1"] .vivago-tour-card { flex-direction: row; }
	.vg-discover-cards[data-count="1"] .vg-discover-image { flex: 0 0 46%; aspect-ratio: auto; min-height: 260px; }
	.vg-discover-cards[data-count="1"] .vivago-card-body { justify-content: center; }
	.vg-discover-cards[data-count="1"] .wp-block-post-title { min-height: 0; font-size: var(--vg-t-h3) !important; font-family: var(--wp--preset--font-family--heading); }
}


/* ===== VIVAGO UI V2 / Compact 2026-11-18 (theme 0.19.0) ===== */
:root {
  --vg-ui-navy: #0B1B2B;
  --vg-ui-blue: #195AB5;
  --vg-ui-surface: #F4F6F8;
  --vg-ui-border: #E1E5EB;
}
.vivago-header { box-shadow: 0 1px 0 rgba(11,27,43,.06); }
.vivago-header .wp-block-navigation { --wp--style--block-gap: clamp(.65rem,1.5vw,1.35rem); }
.vivago-header .wp-block-navigation-item__content { font-size: .9rem; }
.vivago-header-cta .wp-block-button__link { min-height: 40px; padding: .5rem .95rem; border-radius: 8px; font-size: .875rem; }
.vivago-footer.has-primary-dark-background-color { background: var(--vg-ui-navy) !important; padding-block: 2.75rem 1.25rem; }
.vivago-footer .wp-block-columns { gap: clamp(1.4rem,3vw,3.5rem); }
.vivago-footer .wp-block-site-title { font-size: 1.35rem; }
.vivago-footer .is-style-eyebrow { color: #C9D8E8 !important; }
.vivago-footer p:not(.is-style-eyebrow), .vivago-footer-bottom p { color: #C6D3E0 !important; font-size: .875rem; line-height: 1.55; }
.vivago-footer a { color: #E6EDF5; }
.vivago-footer-bottom { margin-top: 2.3rem; padding-top: 1.1rem; border-top-color: rgba(255,255,255,.13); }
.vg-home .vivago-section { padding-block: clamp(2.3rem,4.2vw,3.8rem); }
.vg-home .vg-section-intro { margin-bottom: 1.35rem !important; }
.vg-home .vg-section-intro h2 { font-size: clamp(1.55rem,2.4vw,2rem); line-height: 1.2; margin-bottom: .4rem; }
.vg-home .vg-section-intro > * { margin-bottom: .35rem; }
/* Search is a compact utility, not an extra long chapter. */
.vg-home-search { padding: clamp(1.2rem,2.4vw,2rem) 24px clamp(1.35rem,2.8vw,2.25rem); background:#fff; margin:0 !important; }
.vg-home-search-inner { max-width: 990px; margin-inline:auto !important; }
.vg-home-search-heading { font-family: var(--wp--preset--font-family--body), sans-serif !important; font-weight: 700; font-size: clamp(1.35rem,2.3vw,1.85rem) !important; line-height: 1.25; letter-spacing: -.025em; text-align:center; margin:0 0 .95rem !important; color: var(--vg-ui-navy); }
.vg-global-search { display:flex; gap:.4rem; align-items:center; min-height:58px; padding:.35rem .35rem .35rem 1rem; border:1px solid #9CA9B8; border-radius: 999px; box-shadow:0 3px 12px rgba(11,27,43,.07); background:#fff; }
.vg-global-search:focus-within { border-color:var(--vg-ui-blue); box-shadow:0 0 0 3px rgba(25,90,181,.13); }
.vg-global-search-icon { flex:0 0 auto; color:#516678; }
.vg-global-search input[type=search] { min-width:0; flex:1 1 auto; appearance:none; outline:none !important; border:0 !important; background:transparent !important; box-shadow:none !important; padding:.45rem .4rem !important; font:inherit; font-size:.97rem; color:#172B3D; }
.vg-global-search button { flex:0 0 auto; min-height:43px; border-radius:999px; padding:.45rem 1.35rem; border:1px solid var(--vg-ui-blue); font:inherit; font-size:.875rem; font-weight:700; cursor:pointer; }
.vg-global-search .vg-search-submit { background:var(--vg-ui-blue); color:#fff; }
.vg-global-search .vg-search-submit:hover { background:#12488F; }
.vg-global-search .vg-ask-ai { background:#EDF1F5; border-color:#CCD5E0; color:#526476; cursor:not-allowed; opacity:1; }
.vg-global-search button:focus-visible { outline:3px solid #12488F; outline-offset:2px; }
/* Hero: no duplicate buttons. Four concise policy commitments stay legible. */
.vg-hero.wp-block-cover { min-height: clamp(380px,38vw,460px) !important; padding-block:2rem; }
.vg-hero-content { max-width:530px; }
.vg-hero-content > * { margin-bottom:.7rem; }
.vg-hero .vg-hero-title { font-size:clamp(2.15rem,3.55vw,3.35rem); line-height:1.08; margin-bottom:.7rem; }
.vg-hero-lead { font-size:clamp(.97rem,1.23vw,1.1rem); max-width:35em; line-height:1.5; }
.vg-hero .vivago-policies--compact { display:grid; grid-template-columns:repeat(2,minmax(0,max-content)); gap:.4rem 1.25rem; margin-top:1rem !important; }
.vg-hero .vivago-policies--compact .vivago-policy { align-items:center; font-size:.78rem; line-height:1.35; white-space:nowrap; }
.vg-hero .vivago-trust-row { margin-top:.7rem; gap:.55rem; }
.vg-hero .vivago-award { transform:scale(.9); transform-origin:left center; }
/* Priorities: a single full-width photo with a translucent 36% panel. */
.vg-home-needs .vg-section-intro { max-width:none; }
.vg-home-needs .vg-section-intro p:not(.is-style-eyebrow) { font-size:.94rem; }
.vg-needs.is-tabbed { display:block; }
.vg-needs.is-tabbed .vg-needs-tabs { display:flex; flex-direction:row; flex-wrap:wrap; gap:.5rem; margin-bottom:.9rem; }
.vg-needs.is-tabbed .vg-needs-tab { padding:.52rem .95rem; font-size:.875rem; font-weight:600; min-height:38px; border-radius:999px; }
.vg-needs.is-tabbed .vg-need { display:grid; position:relative; isolation:isolate; grid-template-columns:minmax(0,1fr) minmax(325px,36%); align-items:stretch; overflow:hidden; min-height:330px; border:0; padding:0; border-radius:12px; background:#d9e2e8; }
.vg-needs.is-tabbed .vg-need[hidden] { display:none; }
.vg-needs.is-tabbed .vg-need-image { position:absolute; inset:0; z-index:-1; margin:0 !important; height:100%; width:100%; }
.vg-needs.is-tabbed .vg-need-image img { width:100%; height:100%; min-height:0; aspect-ratio:auto; object-fit:cover; }
.vg-needs.is-tabbed .vg-need-body { grid-column:2; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; min-width:0; margin:0 !important; padding:clamp(1.2rem,2.1vw,1.9rem); background:rgba(249,251,253,.91); border-left:1px solid rgba(255,255,255,.5); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); }
.vg-needs.is-tabbed .vg-need-title { font-size:clamp(1.23rem,1.75vw,1.55rem); line-height:1.22; margin:0 0 .75rem !important; }
.vg-needs.is-tabbed .vg-need-lead { font-size:.94rem !important; font-weight:400; line-height:1.5; margin:0 0 1rem !important; max-width:32ch; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; }
.vg-needs.is-tabbed .vivago-need-link { font-size:.85rem; line-height:1.35; margin:0 !important; }
.vg-needs.is-tabbed .vivago-need-count { font-size:.8rem; }
.vg-needs.is-tabbed .vg-need-body .vivago-policies, .vg-needs.is-tabbed .vivago-need-evidence { display:none !important; }
/* Cards and chapter spacing: eliminate overly tall panels. */
.vg-proof-panel { padding:clamp(1rem,2.3vw,1.6rem); }
.vg-proof-intro h2 { font-size:clamp(1.45rem,2vw,1.85rem); }
.vg-value .vg-values { gap:1rem; margin:.85rem 0 !important; }
.vg-value-item .vivago-proof-list { margin:.6rem 0 0 !important; }
.vg-exp-grid { gap:1rem; }
.vg-exp-card { padding:0 !important; overflow:hidden; border-radius:12px; }
.vg-exp-card .vg-exp-image { margin:0 !important; }
.vg-exp-card .vg-exp-image img { width:100%; aspect-ratio: 4/3; border-radius:0; }
.vg-exp-card > h3, .vg-exp-card > p { margin-inline:1rem !important; }
.vg-exp-card > h3 { margin-top:.85rem !important; margin-bottom:.35rem !important; font-size:1.08rem; line-height:1.3; }
.vg-exp-card > p { margin-bottom:.6rem !important; font-size:.85rem; line-height:1.45; }
.vg-exp-card > p:not([class]) { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:4; overflow:hidden; }
.vg-exp-card .vg-exp-link { margin-top:auto !important; padding-bottom:.8rem; }
.vg-exp-grid--overlay .vg-exp-tile { border-radius:12px; overflow:hidden; }
.vg-discover .vg-discover-heading { font-size:1.35rem; }
.vg-discover .vivago-card-body { padding:1rem; }
.vg-discover-cards { gap:1rem; }
.vg-home-how .vg-cta-cover { min-height:250px !important; border-radius:12px; }
.vg-plan .vg-plan-steps { margin:.45rem auto 1rem !important; }
.vg-plan .wp-block-buttons { justify-content:center; }
.vg-plan .wp-block-button .wp-element-button { background:#fff !important; border-color:#fff !important; color:#12488F !important; }
/* Dynamic country hub and universal page rhythm. */
.vivago-main.vivago-section:not(.vg-home) { padding-block:clamp(2.5rem,4vw,4rem); }
.vg-destinations-hub { width:100%; }
.vg-destinations-hub h1 { font-size:clamp(2rem,3.5vw,3rem); margin:.45rem 0; }
.vg-destination-grid { margin-top:1.75rem; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.vg-destination-card { display:flex; flex-direction:column; overflow:hidden; min-width:0; background:#fff; border:1px solid var(--vg-ui-border); border-radius:12px; }
.vg-destination-image { aspect-ratio: 16/10; overflow:hidden; background:var(--vg-ui-surface); }
.vg-destination-image img { width:100%; height:100%; object-fit:cover; }
.vg-destination-body { padding:1.1rem; display:flex; flex-direction:column; flex:1; }
.vg-destination-body h2 { font-size:1.25rem; margin:0 0 .5rem; }
.vg-destination-body h2 a { text-decoration:none; color:var(--vg-ui-navy); }
.vg-destination-body h2 a:hover { color:var(--vg-ui-blue); }
.vg-destination-body p { color:#526476; font-size:.9rem; line-height:1.55; margin:.1rem 0 .7rem; }
.vg-destination-body span { color:var(--vg-ui-blue); font-size:.86rem; margin-top:auto; font-weight:600; }
/* Keep design comfortable on intermediate layouts. */
@media (max-width:1023px) {
  .vg-needs.is-tabbed .vg-need { grid-template-columns:minmax(0,1fr) minmax(285px,42%); }
  .vg-destination-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .vg-exp-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:781px) {
  .vg-home-search { padding-inline:16px; }
  .vg-hero.wp-block-cover { min-height:400px !important; }
  .vg-needs.is-tabbed .vg-needs-tabs { flex-wrap:nowrap; overflow-x:auto; gap:.45rem; padding-bottom:.35rem; }
  .vg-needs.is-tabbed .vg-needs-tab { flex:0 0 auto; white-space:nowrap; }
  .vg-needs.is-tabbed .vg-need { min-height:0; grid-template-columns:1fr; }
  .vg-needs.is-tabbed .vg-need-body { grid-column:1; margin-top:165px !important; border-left:0; border-top:1px solid rgba(255,255,255,.65); padding:1.1rem 1.2rem; }
  .vg-needs.is-tabbed .vg-need-lead { max-width:unset; }
  .vg-needs.is-tabbed .vg-need-image img { object-position:center 35%; }
  .vg-value .vg-values { grid-template-columns:1fr; }
  .vivago-footer.has-primary-dark-background-color { padding-top:2.25rem; }
}
@media (max-width:599px) {
  .vg-home-search-heading { font-size:1.3rem !important; }
  .vg-global-search { border-radius:14px; flex-wrap:wrap; padding:.65rem; gap:.45rem; }
  .vg-global-search-icon { margin-left:.15rem; }
  .vg-global-search input[type=search] { flex-basis:calc(100% - 40px); font-size:.9rem; }
  .vg-global-search button { flex:1 1 calc(50% - .3rem); border-radius:9px; min-height:40px; }
  .vg-hero.wp-block-cover { min-height:410px !important; }
  .vg-hero .vg-hero-title { font-size:clamp(2rem,7vw,2.5rem); }
  .vg-hero .vivago-policies--compact { gap:.4rem .65rem; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .vg-hero .vivago-policies--compact .vivago-policy { white-space:normal; font-size:.73rem; }
  .vg-hero .vivago-trust-row { display:flex; flex-wrap:wrap; }
  .vg-needs.is-tabbed .vg-need-body { margin-top:140px !important; }
  .vg-exp-grid, .vg-destination-grid { grid-template-columns:1fr; }
  .vg-home .vivago-section { padding-block:2.1rem; }
  .vg-plan-steps li:not(:last-child)::after { width:.8rem; margin-inline:.2rem; }
}
@media (prefers-reduced-transparency:reduce) { .vg-needs.is-tabbed .vg-need-body { background: #F8FAFC; backdrop-filter:none; } }
@media (prefers-reduced-motion:reduce) { .vg-exp-card, .vg-discover-card img { transition:none !important; animation:none !important; } }

/* Plan My Trip: native, consent-based email enquiry, no booking or payment. */
.vg-enquiry-wrap { max-width:780px; }
.vg-enquiry-wrap h1 { font-size:clamp(2rem,3.5vw,3rem); margin:.45rem 0; }
.vg-enquiry-form { margin-top:1.8rem; background:#F4F6F8; border:1px solid #E1E5EB; border-radius:12px; padding:clamp(1rem,2.6vw,2rem); }
.vg-enquiry-hp { position:absolute !important; width:1px;height:1px;overflow:hidden;left:-10000px; }
.vg-enquiry-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.vg-enquiry-fields p { margin:0; }
.vg-enquiry-fields .vg-enquiry-full { grid-column:1/-1; }
.vg-enquiry-fields label { display:block; font-size:.87rem; font-weight:600; margin:0 0 .38rem; }
.vg-enquiry-fields input, .vg-enquiry-fields textarea { box-sizing:border-box; display:block; width:100%; max-width:none; padding:.75rem .85rem; border:1px solid #8594A6; background:#fff; border-radius:8px; font:inherit; font-size:.94rem; color:#172B3D; }
.vg-enquiry-consent { margin:1.15rem 0; font-size:.875rem; line-height:1.55; }
.vg-enquiry-submit { min-height:44px; padding:.7rem 1.4rem; border:0; border-radius:8px; color:#fff; background:#195AB5; font:inherit; font-weight:700; cursor:pointer; }
.vg-enquiry-submit:hover { background:#12488F; }
.vg-enquiry-note { color:#526476; font-size:.85rem; margin:.8rem 0 0; }
.vg-enquiry-success, .vg-enquiry-error { margin:1rem 0; border-left:4px solid #18734A; background:#E7F5ED; padding:1rem; border-radius:5px; }
.vg-enquiry-error { background:#FBECEC; border-left-color:#B42320; }
@media (max-width:599px) { .vg-enquiry-fields { grid-template-columns:1fr; } }

/* Final responsive and source priority overrides */
.vg-hero .vg-hero-content { max-width:530px !important; }
.vg-hero .vg-hero-lead { font-size:clamp(.97rem,1.23vw,1.1rem) !important; line-height:1.5; }
@media (max-width:781px) {
 .vg-hero .wp-block-cover__background.has-hero-overlay-gradient-background { background:linear-gradient(0deg,rgba(11,27,43,.9) 0%,rgba(11,27,43,.62) 45%,rgba(11,27,43,.06) 100%) !important; }
}


/* =====================================================================
   0.20.0 — VIVAGO UI V2.1. Unify compact layouts across public pages.
   Retain both intentionally placed Tripadvisor signals (Hero + Value).
   All demo/example content remains separate from WordPress production data.
   ===================================================================== */
:root {
  --vg21-width: 1200px;
  --vg21-search: 640px; /* 990px -> 640px = 35.4% shorter */
  --vg21-gap: clamp(.9rem, 1.8vw, 1.4rem);
  --vg21-ink: #1D2A38;
  --vg21-blue: #195AB5;
  --vg21-navy: #0B1B2B;
  --vg21-border: #DFE6EC;
  --vg21-radius: 12px;
}
/* Search is a compact action in the middle of the screen, not a page-width toolbar. */
.vg-home .vg-home-search-inner, .vg-home-search-inner {
  width:min(100%,var(--vg21-search)) !important;
  max-width:var(--vg21-search) !important;
  margin-inline:auto !important;
}
.vg-home-search { padding-block:clamp(1rem, 1.8vw, 1.45rem) !important; }
.vg-home-search-heading { font-size:clamp(1.25rem,1.7vw,1.55rem) !important; margin-bottom:.75rem !important; }
.vg-global-search { width:100%; box-sizing:border-box; min-height:54px; }
.vg-global-search input[type=search] { width:0; flex:1 1 0%; }
.vg-global-search .vg-ask-ai { white-space:nowrap; }
.vg-global-search .vg-search-submit { white-space:nowrap; }
/* Readable, consistent page rhythm for editorial, country and tour pages. */
.vivago-page-intro { margin-bottom:1.5rem !important; }
.vivago-page-intro h1, .vg-destinations-hub h1, .vg-enquiry-wrap h1 { font-size:clamp(2rem,2.8vw,2.65rem) !important; line-height:1.15; }
.vivago-page-intro > p, .vg-enquiry-wrap > p { max-width:64ch; }
.vivago-main .wp-block-post-content > h2 { margin-block:2rem .75rem; }
/* Catalog page: keep filters accessible and cards to uniform grid roles. */
.vivago-search-bar { border-radius:var(--vg21-radius); }
.vivago-tour-grid .wp-block-post-template { gap:var(--vg21-gap) !important; align-items:stretch; }
.vivago-tour-card, .vivago-guide-card { min-width:0; border-radius:var(--vg21-radius); overflow:hidden; border:1px solid var(--vg21-border); }
.vivago-tour-card .wp-block-post-featured-image { margin:0 !important; overflow:hidden; }
.vivago-tour-card .wp-block-post-featured-image img { width:100%; object-fit:cover; aspect-ratio:4/3; }
.vivago-tour-card .vivago-card-body { display:flex; flex-direction:column; height:100%; padding:1rem !important; }
.vivago-tour-card .wp-block-post-title { font-size:clamp(1.03rem,1.2vw,1.16rem) !important; line-height:1.32 !important; min-height:0; margin:.3rem 0 .35rem !important; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.vivago-tour-card .vivago-card-highlight { font-size:.82rem !important; line-height:1.48; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.vivago-tour-card .vivago-card-facts { font-size:.82rem !important; line-height:1.45 !important; }
.vivago-tour-card .vivago-card-foot { margin-top:auto !important; padding-top:.85rem; border-top:1px solid var(--vg21-border); gap:.5rem; }
.vivago-tour-card .vivago-card-foot > p { font-size:.84rem !important; }
/* Country hub: published countries should read as destinations, not blank rows. */
.vg-destination-grid { max-width:var(--vg21-width); margin:1.75rem auto 0 !important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--vg21-gap); }
.vg-destination-card { transition:box-shadow .15s ease, transform .15s ease; }
.vg-destination-card:hover { box-shadow:0 12px 26px rgba(11,27,43,.08); transform:translateY(-2px); }
.vg-destination-card .vg-destination-body { padding:1.2rem; }
.vg-destination-card .vg-destination-body h2 { font-size:1.25rem !important; }
.vg-destination-image--placeholder { display:flex; align-items:flex-end; padding:1.1rem; box-sizing:border-box; color:#fff; background:radial-gradient(circle at 76% 28%,rgba(255,255,255,.2),transparent 42%),linear-gradient(130deg,#174D87,#0B1B2B); }
.vg-destination-image--placeholder span { font-family:var(--wp--preset--font-family--heading),serif; font-size:clamp(1.5rem,2vw,2.1rem); }
/* Destination hero: intentional visual without inventing a location photo. */
.vivago-dest-hero.wp-block-cover { min-height:clamp(300px,32vw,390px) !important; padding-block:2rem !important; background:radial-gradient(ellipse at 78% 22%,rgba(255,255,255,.12) 0,transparent 40%),linear-gradient(135deg,#174D87,#0B1B2B); }
.vivago-dest-hero .wp-block-cover__background { opacity:.65; }
.vivago-dest-hero .wp-block-cover__inner-container { padding-block:1rem; }
.vivago-dest-hero .wp-block-post-title { font-size:clamp(2.2rem,3.8vw,3.7rem) !important; line-height:1.1; }
.vivago-dest-content { min-height:0 !important; padding-block:1.6rem !important; }
.vivago-dest-content:has(> .wp-block-shortcode:only-child) { padding-block:.8rem !important; }
/* Experiences page: preserve existing editorial content but uncramp columns and cards. */
body.vg-page-experiences .vivago-main { padding-block:clamp(2.2rem,3.5vw,3.5rem) !important; }
body.vg-page-experiences .wp-block-post-content > .wp-block-group.alignwide,
body.vg-page-experiences .wp-block-post-content > .wp-block-columns.alignwide { max-width:var(--vg21-width) !important; }
body.vg-page-experiences .wp-block-post-content :is(.vg-exp-grid,.wp-block-columns) { gap:var(--vg21-gap) !important; }
body.vg-page-experiences .wp-block-post-content .vg-exp-card { display:flex; flex-direction:column; height:100%; }
body.vg-page-experiences .vg-exp-card .vg-exp-sub { display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
body.vg-page-experiences .vg-exp-card p:not(.vg-exp-sub):not(.vg-exp-link) { display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden; }
body.vg-page-experiences .vg-exp-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
body.vg-page-experiences .vg-start-grid { margin-top:1.25rem !important; }
/* Editorial pages stay concise and readable, not full-screen empty templates. */
body.vg-page-about-us .vivago-main,body.vg-page-why-vivago .vivago-main,
body.vg-page-contact .vivago-main { padding-block:clamp(2.5rem,5vw,4rem) !important; }
body.vg-page-about-us .wp-block-post-content,body.vg-page-why-vivago .wp-block-post-content,
body.vg-page-contact .wp-block-post-content { max-width:780px; }
body.vg-page-about-us .wp-block-post-content p,body.vg-page-why-vivago .wp-block-post-content p { line-height:1.7; }
/* Every page shares CTA dimensions and a restrained neutral background. */
.vivago-cta-box { max-width:760px; margin-inline:auto !important; padding:clamp(1.75rem,3vw,2.35rem) !important; background:#F4F6F8; border:1px solid var(--vg21-border); border-radius:var(--vg21-radius); }
.vivago-cta-box h2 { font-size:clamp(1.45rem,2vw,1.8rem) !important; line-height:1.24; }
.vivago-cta-box .vivago-lead { font-size:.93rem !important; line-height:1.6; }
.vivago-cta-box .wp-block-buttons { gap:.65rem; }
.vivago-cta-box .wp-block-button__link { min-height:42px; padding:.55rem 1.05rem; }
/* Priority image remains photo-first and text panel overlays exactly the rightmost portion. */
.vg-needs.is-tabbed .vg-need { grid-template-columns:minmax(0,1fr) minmax(290px,35%); }
.vg-needs.is-tabbed .vg-need-body { background:rgba(247,250,252,.87); border-left:1px solid rgba(255,255,255,.4); }
.vg-needs.is-tabbed .vg-need-body :is(.vivago-need-link,.vg-need-link) a { display:inline; overflow-wrap:break-word; }
.vg-needs.is-tabbed .vg-need-link { max-width:100%; }
/* Fixed accessible footer across all templates. */
.vivago-footer.has-primary-dark-background-color { background:var(--vg21-navy) !important; }
@media (max-width:1100px) {
  .vg-home-search-inner { max-width:640px !important; }
  .vg-destination-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:781px) {
  .vg-home-search-inner { width:min(100%,640px) !important; }
  .vg-needs.is-tabbed .vg-need { grid-template-columns:1fr; }
  .vg-needs.is-tabbed .vg-need-body { border-left:0; background:rgba(247,250,252,.93); }
  body.vg-page-experiences .vg-exp-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:599px) {
  .vg-home-search { padding:1.05rem 16px 1.2rem !important; }
  .vg-home-search-heading { font-size:1.22rem !important; }
  .vg-home-search-inner { width:100% !important; max-width:none !important; }
  .vg-global-search input[type=search] { flex:1 1 calc(100% - 40px); width:auto; }
  .vg-destination-grid,body.vg-page-experiences .vg-exp-grid { grid-template-columns:1fr; }
  .vivago-tour-grid .wp-block-post-template { grid-template-columns:1fr !important; }
  .vg-hero .vivago-policies--compact .vivago-policy { font-size:.77rem; }
  .vg-home .vivago-section { padding-block:clamp(1.9rem,5vw,2.4rem); }
}
@media (prefers-reduced-motion:reduce){.vg-destination-card{transform:none !important;transition:none !important}}

/* ===== 0.20.1 (2026-11-18): Plan your trip header aligned with the form ===== */
/* The constrained layout centred each child on its own width (eyebrow, H1, 64ch intro, form), so their left edges differed. */
.vg-enquiry-wrap { width:100%; max-width:780px !important; margin-inline:auto !important; }
.vg-enquiry-wrap > * { margin-left:0 !important; margin-right:0 !important; }
.vg-enquiry-wrap > .vg-enquiry-form, .vg-enquiry-wrap > .wp-block-shortcode, .vg-enquiry-wrap > form { max-width:none; width:100%; box-sizing:border-box; }
/* UI sync 1 · one tour card everywhere: the homepage card ([vivago_discover]) follows the catalog card.
   Image 4:3 · country eyebrow · heading-font title · facts · optional ✓ line · price and "View tour" on one row.
   "Matches your priority" is an optional badge on the image. */
.vivago-tour-card .vivago-card-foot { display:flex; flex-wrap:nowrap; justify-content:space-between; align-items:center; }
.vg-discover-media { position:relative; }
.vg-discover-image { aspect-ratio:4 / 3; }
.vg-discover-media .vg-match { position:absolute; top:.75rem; left:.75rem; z-index:1; margin:0 !important; background:#fff; box-shadow:0 2px 8px rgba(11,27,43,.15); pointer-events:none; }
.vg-discover-card .vivago-tour-card .wp-block-post-title { font-family:var(--wp--preset--font-family--heading); font-weight:600; font-size:clamp(1.03rem,1.2vw,1.16rem) !important; line-height:1.32 !important; min-height:0; margin:.3rem 0 .35rem !important; }
.vg-discover-card .is-style-eyebrow { margin:0 !important; }
.vg-discover-card .vg-why { font-size:.82rem !important; line-height:1.48; color:var(--wp--preset--color--ink); }
/* UI sync 3 · page headers. Three kinds only: the homepage hero; a photo hero for destinations;
   a text header (eyebrow · H1 · one line) for list and tool pages. No breadcrumbs (removed in UI sync 8). */
.vivago-dest-hero:has(> .wp-block-cover__image-background) .wp-block-cover__background { opacity:1 !important; background:linear-gradient(to top,rgba(11,27,43,.88) 0%,rgba(11,27,43,.55) 45%,rgba(11,27,43,.15) 100%) !important; }
.vivago-dest-hero > .wp-block-cover__image-background { object-fit:cover; }
/* UI sync 4 · two CTA levels. Large (plan-cta): the homepage photo band with four steps, on a grey section,
   at the end of Destinations, destination pages and guides. Small (trip-cta): one line and one button, end of Tours. */
.vg-plan-cta { background:var(--wp--preset--color--surface); padding-block:clamp(2.5rem,5vw,4rem) !important; margin-block-start:0 !important; }
.vg-plan-cta .vg-cta-cover { min-height:250px !important; border-radius:12px; }
.vg-cta-small { padding-block:clamp(1.5rem,3vw,2.5rem) !important; }
.vg-cta-small-row { gap:1rem 2rem; padding:clamp(1.1rem,2.2vw,1.5rem) clamp(1.1rem,2.5vw,1.75rem); background:var(--wp--preset--color--base); border:1px solid var(--vg21-border, var(--wp--preset--color--border)); border-left:4px solid var(--wp--preset--color--primary); border-radius:var(--vg-card-radius, 12px); }
.vg-cta-small-text { flex:1 1 22rem; min-width:0; }
.vg-cta-small-text > * { margin:0 !important; }
.vg-cta-small-text h2 { font-size:clamp(1.15rem,1.6vw,1.35rem) !important; line-height:1.3; }
.vg-cta-small-text p { margin-top:.25rem !important; color:var(--wp--preset--color--text-muted); font-size:.93rem; }
.vg-cta-small .wp-block-buttons { margin:0 !important; flex-shrink:0; }
@media (max-width:599px) { .vg-cta-small .wp-block-buttons, .vg-cta-small .wp-block-button, .vg-cta-small .wp-block-button__link { width:100%; } }
/* UI sync 5 · background rhythm: main content on white, supporting sections (proof, related, guides, CTA) on grey,
   never two grey sections in a row. The large CTA sits on white when the section above it is already grey. */
:is(.vivago-section--surface, .has-surface-background-color, .vg-home-how, .vg-plan-cta) + .vg-plan-cta { background:var(--wp--preset--color--base); }
/* UI sync 6 · staging review 2026-11-18 */
/* 1 · Home search: room above and below so it does not crowd the header and the hero; hero 30% taller. */
.vg-home-search { padding-block:clamp(2rem,4vw,3.25rem) clamp(2.25rem,4.5vw,3.5rem) !important; }
.vg-home-search-heading { margin-bottom:clamp(1rem,1.8vw,1.4rem) !important; }
.vg-hero.wp-block-cover { min-height:clamp(494px,49vw,600px) !important; }
@media (max-width:781px) { .vg-hero.wp-block-cover { min-height:530px !important; } }
/* 2 · Priorities panel: text first (40%), photo beside it (60%), taller; no frosted overlay on wide screens. */
@media (min-width:782px) {
  .vg-needs.is-tabbed .vg-need { grid-template-columns:minmax(0,4fr) minmax(0,6fr); min-height:clamp(400px,34vw,460px); background:var(--wp--preset--color--surface); }
  .vg-needs.is-tabbed .vg-need-image { position:relative; inset:auto; z-index:auto; grid-column:2; grid-row:1; }
  .vg-needs.is-tabbed .vg-need-body { grid-column:1; grid-row:1; padding:clamp(1.5rem,3vw,2.75rem); background:var(--wp--preset--color--surface); border-left:0; backdrop-filter:none; -webkit-backdrop-filter:none; }
  .vg-needs.is-tabbed .vg-need-lead { max-width:38ch; }
}
/* 3 · Experiences page: four groups as wide image-and-text rows (2 × 2), then tours in the shared card. */
.vg-xp-page .vivago-page-intro { margin-bottom:clamp(1.75rem,3vw,2.5rem) !important; }
.vg-xp-groups { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--vg21-gap, 1.5rem); }
.vg-xp-groups > * { margin:0 !important; }
.vg-xp-group { display:grid; grid-template-columns:minmax(0,42%) minmax(0,1fr); background:var(--wp--preset--color--base); border:1px solid var(--vg21-border, var(--wp--preset--color--border)); border-radius:var(--vg-card-radius,12px); overflow:hidden; }
.vg-xp-image { margin:0 !important; height:100%; }
.vg-xp-image img { width:100%; height:100%; min-height:220px; object-fit:cover; display:block; }
.vg-xp-body { display:flex; flex-direction:column; padding:clamp(1.1rem,2vw,1.6rem); }
.vg-xp-body > * { margin:0 0 .5rem !important; }
.vg-xp-title { font-size:clamp(1.2rem,1.6vw,1.4rem) !important; line-height:1.25; }
.vg-xp-sub { color:var(--wp--preset--color--accent-strong); font-weight:600; font-size:.95rem; }
.vg-xp-text { color:var(--wp--preset--color--text-muted); font-size:.93rem; line-height:1.6; }
.vg-xp-link { margin:auto 0 0 !important; padding-top:.5rem; font-weight:600; font-size:.93rem; }
.vg-xp-link a { color:var(--wp--preset--color--primary); text-decoration:none; }
.vg-xp-link a:hover { text-decoration:underline; }
.vg-xp-start-head { margin-top:clamp(2.5rem,5vw,3.75rem) !important; margin-bottom:1.25rem !important; }
.vg-xp-tours .wp-block-post-template { gap:var(--vg21-gap, 1.5rem) !important; }
@media (max-width:1023px) { .vg-xp-groups { grid-template-columns:1fr; } }
@media (max-width:599px) { .vg-xp-group { grid-template-columns:1fr; } .vg-xp-image img { min-height:0; aspect-ratio:16/9; } }
/* 4 · Travel guides on destination pages: 4 columns, at most 2 rows (8 guides). */
.vivago-guide-grid .wp-block-post-template { gap:var(--vg21-gap, 1.25rem) !important; }
.vivago-guide-grid .vivago-guide-card { display:flex; flex-direction:column; height:100%; }
.vivago-guide-grid .vivago-card-body { padding:1rem !important; }
.vivago-guide-grid .wp-block-post-title { font-size:1.02rem !important; line-height:1.32; margin:.3rem 0 .4rem !important; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.vivago-guide-grid .wp-block-post-excerpt { font-size:.85rem !important; line-height:1.5; color:var(--wp--preset--color--text-muted); }
.vivago-guide-grid .wp-block-post-excerpt__excerpt { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; margin:0; }
@media (max-width:1023px) { .vivago-guide-grid .wp-block-post-template { grid-template-columns:repeat(2,minmax(0,1fr)) !important; } }
@media (max-width:599px) { .vivago-guide-grid .wp-block-post-template { grid-template-columns:1fr !important; } }
/* 5 · Destination tours: the catalog filter sits between the section title and the tours; no country field (the page is the country). */
.vg-dest-filter { margin-block:0 1.5rem !important; }
@media (min-width:1181px) { .vivago-tour-search--local { grid-template-columns:minmax(200px,2fr) repeat(4,minmax(120px,1fr)) auto; } }
.vivago-empty-filtered { margin-top:0; }
/* UI sync 7 · staging review 2 */
/* 1 · Destination: no empty white band under the hero when the page has no text, and a tighter top on "Tours". */
.vivago-dest-content:not(:has(.wp-block-post-content > *)) { display:none; }
.vivago-dest-hero + .vivago-dest-content + #tours, .vivago-dest-hero + #tours { padding-top:clamp(2rem,3.5vw,3rem) !important; }
#tours .vivago-section-head { margin-bottom:clamp(1rem,1.8vw,1.5rem) !important; }
/* 3 · Priorities panel: 20% lower (320–368 px), one fixed height for all three priorities, the photo framed inside its column. */
.vg-home-needs > .vg-section-intro, .vg-home-needs > .vg-needs { max-width:var(--vg21-width, 1200px) !important; margin-inline:auto !important; }
@media (min-width:782px) {
  .vg-needs.is-tabbed .vg-need { height:clamp(320px,27vw,368px); min-height:0; }
  .vg-needs.is-tabbed .vg-need-image { height:100%; padding:clamp(.75rem,1.2vw,1rem); box-sizing:border-box; overflow:hidden; }
  .vg-needs.is-tabbed .vg-need-image img { width:100%; height:100%; object-fit:cover; border-radius:10px; }
  .vg-needs.is-tabbed .vg-need-body { overflow:hidden; }
}
/* UI sync 8 · tour page. No breadcrumbs anywhere. The gallery opens the page; under it one summary card
   (country · title · facts · "Is this tour right for you?") overlaps the photos' lower edge by about 10%.
   The price card holds only price and actions; policies and contacts sit in their own card below, with line icons. */
.vivago-tour .vivago-gallery-wrap { margin-top:clamp(1.25rem,2.5vw,2rem) !important; }
.vivago-summary-wrap { position:relative; z-index:2; margin-top:calc(-1 * clamp(28px,4vw,56px)) !important; padding-inline:clamp(.75rem,2.5vw,2rem); }
.vivago-summary { background:var(--wp--preset--color--base); border:1px solid var(--wp--preset--color--border); border-radius:var(--vg-card-radius,12px); box-shadow:0 12px 32px rgba(11,27,43,.10); padding:clamp(1.1rem,2.2vw,1.75rem) clamp(1.1rem,2.6vw,2rem); }
.vivago-summary-head > * { margin:0 !important; }
.vivago-summary-head .is-style-eyebrow { margin-bottom:.35rem !important; }
.vivago-summary-title { font-size:clamp(1.6rem,2.6vw,2.3rem) !important; line-height:1.15; letter-spacing:-.01em; }
.vivago-summary-head .vivago-chips-row { margin-top:.75rem !important; gap:.4rem; }
.vivago-summary-head .vivago-chip { font-size:.82rem; padding:.3rem .7rem; }
.vivago-summary .vivago-fit { margin-top:clamp(1rem,1.8vw,1.35rem); padding:clamp(1rem,1.8vw,1.35rem) 0 0; border:0; border-top:1px solid var(--wp--preset--color--border); border-radius:0; }
.vivago-summary .vivago-fit-title { font-size:clamp(1.05rem,1.4vw,1.2rem) !important; margin:0 0 .75rem; }
.vivago-summary .vivago-fit-cols { grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:.75rem 2rem; }
.vivago-summary .vivago-fit-label, .vivago-summary .vivago-fit-label:not(:first-child) { margin:0 0 .4rem; }
.vivago-summary .vivago-fit-col > :last-child { margin-bottom:0; }
.vivago-summary .vivago-chip--fit { font-size:.82rem; padding:.28rem .65rem; }
.vivago-summary .vivago-pace, .vivago-summary .vivago-list--not-for { font-size:.9rem; margin:0; }
.vivago-summary .vivago-list--not-for li { margin-bottom:.2rem; }
@media (max-width:781px) { .vivago-summary-wrap { margin-top:-20px !important; padding-inline:.5rem; } }
.vivago-side-stack { display:flex; flex-direction:column; gap:1rem; }
.vivago-side-stack > * { margin:0 !important; }
.vivago-help-box { padding:clamp(1rem,1.8vw,1.35rem) clamp(1rem,2vw,1.5rem); }
.vivago-support-list { list-style:none; margin:0; padding:0; display:grid; gap:.6rem; }
.vivago-support-list li { display:grid; grid-template-columns:20px minmax(0,1fr); gap:.7rem; align-items:start; font-size:.9rem; line-height:1.45; color:var(--wp--preset--color--ink); }
.vivago-support-list li span span { color:var(--wp--preset--color--text-muted); }
.vivago-icon { color:var(--wp--preset--color--primary); flex-shrink:0; margin-top:1px; }
.vivago-support-list a { color:var(--wp--preset--color--primary); text-decoration:none; overflow-wrap:anywhere; }
.vivago-support-list a:hover { text-decoration:underline; }
.vivago-support-label { margin:1rem 0 .6rem; padding-top:1rem; border-top:1px solid var(--wp--preset--color--border); font-size:.78rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--wp--preset--color--text-muted); }
.vivago-support-policies + .vivago-support-label { margin-top:1rem; }
.vivago-support > .vivago-support-label:first-child { margin-top:0; padding-top:0; border-top:0; }
/* UI sync 10 · tour page: full-width one-photo slider right under the header; the title card is back to full
   width, overlaps the slider's lower edge, and carries the price in its corner and the key facts in a row. */
.vivago-tour .vivago-gallery-wrap { margin-top:0 !important; }
.vivago-slider { position:relative; height:clamp(340px,62vh,640px); background:var(--wp--preset--color--surface-deep); overflow:hidden; }
.vivago-slider-track { display:flex; height:100%; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; -ms-overflow-style:none; overscroll-behavior-x:contain; }
.vivago-slider-track::-webkit-scrollbar { display:none; }
.vivago-slide { flex:0 0 100%; height:100%; margin:0; scroll-snap-align:start; position:relative; overflow:hidden; }
.vivago-slide .vivago-gallery-link { display:block; height:100%; }
.vivago-slide img { width:100%; height:100%; object-fit:cover; display:block; }
.vivago-slide .vivago-gallery-link:hover img { transform:none; }
.vivago-slider-btn { position:absolute; top:42%; transform:translateY(-50%); z-index:3; width:44px; height:44px; display:grid; place-items:center; padding:0; border:1px solid rgba(255,255,255,.45); border-radius:50%; background:rgba(11,27,43,.28); color:#fff; font-size:1.6rem; line-height:1; cursor:pointer; opacity:.75; backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); transition:opacity .15s ease, background .15s ease; }
.vivago-slider-btn:hover, .vivago-slider-btn:focus-visible { opacity:1; background:rgba(11,27,43,.5); }
.vivago-slider-btn span { margin-top:-3px; }
.vivago-slider-prev { left:clamp(.75rem,2vw,1.5rem); }
.vivago-slider-next { right:clamp(.75rem,2vw,1.5rem); }
.vivago-slider-count { position:absolute; top:1rem; right:clamp(.75rem,2vw,1.5rem); z-index:3; margin:0; padding:.2rem .6rem; border-radius:999px; background:rgba(11,27,43,.45); color:#fff; font-size:.8rem; font-weight:600; letter-spacing:.04em; }
@media (prefers-reduced-motion:reduce) { .vivago-slider-track { scroll-behavior:auto; } }
.vivago-summary-wrap { margin-top:calc(-1 * clamp(40px,6vh,64px)) !important; padding-inline:0; }
.vivago-summary { padding:clamp(1.25rem,2.6vw,2.25rem) clamp(1.25rem,3vw,2.5rem); }
.vivago-summary-title { font-size:clamp(1.75rem,3vw,2.6rem) !important; }
@media (max-width:781px) {
  .vivago-slider { height:clamp(260px,52vh,420px); }
  .vivago-slider-btn { width:38px; height:38px; font-size:1.35rem; }
  .vivago-summary-wrap { margin-top:-24px !important; }
}
/* UI sync 11 (G2-C) · tour detail: hero photo · compact summary (Lucide icon + short text) · full-width sections
   (Overview, Itinerary, Included, Good to know…) with readable text width · closing row: Price & Enquire (55%) and
   Travel support (45%), one column on phones. Icons 18 px, neutral. */
.vivago-tour-body { margin-top:clamp(1.5rem,3vw,2.5rem) !important; }
.vivago-tour-body > .vivago-tour-section { margin:0; padding-block:clamp(2rem,4vw,3rem); border-top:1px solid var(--wp--preset--color--border); }
.vivago-tour-body > .vivago-tour-section:first-child { padding-top:0; border-top:0; }

.vivago-tour-body .vivago-included-cols { grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); }
.vivago-tour-body .vivago-practical { grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); }
/* Compact summary */
.vivago-summary { padding:clamp(1.1rem,2.2vw,1.75rem) clamp(1.1rem,2.6vw,2rem); }
.vivago-summary-title { font-size:clamp(1.6rem,2.6vw,2.25rem) !important; }
.vivago-icon { color:var(--wp--preset--color--text-muted); flex-shrink:0; }
.vivago-facts { list-style:none; margin:clamp(.85rem,1.5vw,1.1rem) 0 0; padding:0; display:flex; flex-wrap:wrap; gap:.55rem 1.6rem; }
.vivago-fact { display:flex; align-items:center; gap:.45rem; margin:0; font-size:.9rem; line-height:1.35; }
.vivago-fact-label { color:var(--wp--preset--color--text-muted); }
.vivago-fact-value { font-weight:600; color:var(--wp--preset--color--ink); }
.vivago-suits { margin-top:clamp(.85rem,1.5vw,1.1rem); padding-top:clamp(.85rem,1.5vw,1.1rem); border-top:1px solid var(--wp--preset--color--border); display:grid; gap:.4rem; }
.vivago-suits-row { display:flex; align-items:flex-start; gap:.5rem; margin:0; font-size:.9rem; line-height:1.5; color:var(--wp--preset--color--ink); }
.vivago-suits-row .vivago-icon { margin-top:2px; }
.vivago-suits-row strong { font-weight:600; margin-right:.25rem; }
/* Closing row */
.vivago-tour-closing { display:grid; grid-template-columns:minmax(0,55fr) minmax(0,45fr); gap:clamp(1rem,2.2vw,1.75rem); align-items:stretch; margin-block:clamp(2rem,4vw,3rem) clamp(2.5rem,5vw,4rem) !important; scroll-margin-top:calc(var(--vg-header-h) + var(--vg-nav-h) + 1.5rem); }
.vivago-tour-closing > * { margin:0 !important; }
.vivago-enquiry-box, .vivago-help-box { padding:clamp(1.25rem,2.4vw,1.75rem) !important; }
.vivago-booking .vivago-price--large { font-family:var(--wp--preset--font-family--heading); font-size:clamp(1.6rem,2.6vw,2.2rem); font-weight:700; line-height:1.15; margin:.15rem 0 .35rem; }
.vivago-price-from { font-family:var(--wp--preset--font-family--body); font-size:.95rem; font-weight:500; color:var(--wp--preset--color--text-muted); }
.vivago-booking-actions { display:flex !important; flex-wrap:wrap; align-items:center; gap:.75rem 1.25rem; margin:1rem 0 .6rem !important; }
.vivago-booking-actions .wp-element-button { min-height:44px; padding:.65rem 1.4rem; }
.vivago-booking-custom { font-weight:600; font-size:.95rem; color:var(--wp--preset--color--primary); text-decoration:none; }
.vivago-booking-custom:hover { text-decoration:underline; }
.vivago-card-title { margin:0 0 .85rem; font-size:1.1rem !important; line-height:1.3; }
.vivago-support-list li { grid-template-columns:18px minmax(0,1fr); }
.vivago-support-list .vivago-icon { margin-top:2px; }
@media (max-width:781px) {
  .vivago-tour-closing { grid-template-columns:1fr; }
  .vivago-booking-actions .wp-element-button { flex:1 1 100%; justify-content:center; }
  .vivago-facts { gap:.5rem 1.1rem; }
  .vivago-fact { font-size:.85rem; }
  .vivago-mobile-bar { padding-block:.45rem !important; }
  .vivago-mobile-bar .wp-element-button { min-height:40px; padding:.45rem 1rem !important; font-size:.9rem; }
}
/* UI sync 12 · Editorial Journey Layout for Tour Detail. Page container 1,160 px; running text 720 px (about 70
   characters); one large photo beside the overview (60/40); highlights as short icon points; two balanced columns for
   Included / Not included and Good to know; FAQ in one reading column. Body 16.5 px / 1.65, sections 48–64 px apart. */
.vivago-tour { --vg-tour-w:1160px; --vg-read-w:720px; }
.vivago-tour > .alignwide, .vivago-tour .vivago-related > .alignwide { max-width:var(--vg-tour-w) !important; margin-inline:auto !important; }
.vivago-tour-body { font-size:1.03rem; line-height:1.65; }
.vivago-tour-body > .vivago-tour-section { padding-block:clamp(3rem,5vw,4rem); }
.vivago-tour-body .vivago-tour-section-title { margin:0 0 clamp(1rem,2vw,1.5rem); }
.vivago-tour-body :is(.vivago-overview-text, .vivago-day-body, .vivago-section-lead, .vivago-concern p) { max-width:var(--vg-read-w); }
.vivago-tour-body .vivago-overview-text > :first-child { margin-top:0; }
/* Summary: price back in the corner */
.vivago-summary-top { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.5rem 2rem; align-items:start; }
.vivago-summary-price { margin:0; text-align:right; white-space:nowrap; line-height:1.05; }
.vivago-summary-from { display:block; font-size:.82rem; font-weight:500; color:var(--wp--preset--color--text-muted); }
.vivago-summary-amount { display:block; font-family:var(--wp--preset--font-family--heading); font-size:clamp(1.9rem,3.2vw,2.6rem); font-weight:700; color:var(--wp--preset--color--ink); }
.vivago-summary-price.is-quote .vivago-summary-amount { font-size:clamp(1.15rem,1.7vw,1.4rem); }
/* Overview 60/40 */
.vivago-journey.has-photo { display:grid; grid-template-columns:minmax(0,1fr) minmax(320px,420px); gap:clamp(2rem,3.5vw,2.5rem); align-items:start; }
.vivago-journey-photo { margin:0; }
.vivago-journey-img { display:block; width:100%; aspect-ratio:4 / 5; object-fit:cover; border-radius:var(--vg-card-radius,12px); }
.vivago-highlights-title { margin:clamp(2rem,3.5vw,2.5rem) 0 1rem !important; font-size:1.15rem !important; }
.vivago-highlights { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.85rem 2rem; }
.vivago-highlights li { display:flex; align-items:flex-start; gap:.6rem; margin:0; padding:.9rem 1rem; background:var(--wp--preset--color--surface); border-radius:10px; font-weight:500; line-height:1.45; }
.vivago-highlights .vivago-icon { margin-top:2px; color:var(--wp--preset--color--primary); }
/* Included / Not included: two balanced columns, neutral tick and minus */
.vivago-tour-body .vivago-included-cols { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; border:1px solid var(--wp--preset--color--border); border-radius:var(--vg-card-radius,12px); overflow:hidden; }
.vivago-tour-body .vivago-included-cols > div { padding:clamp(1.1rem,2vw,1.5rem); }
.vivago-tour-body .vivago-included-cols > div + div { border-left:1px solid var(--wp--preset--color--border); }
.vivago-tour-body .vivago-included-cols h3 { font-size:1rem !important; margin:0 0 .75rem; }
.vivago-tour-body .vivago-list--inclusions li::before { content:"✓"; color:var(--wp--preset--color--text-muted); }
.vivago-tour-body .vivago-list--exclusions li::before { content:"−"; color:var(--wp--preset--color--text-muted); }
/* Your questions: three equal cards, short */
.vivago-tour-body .vivago-concerns { grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; }
.vivago-tour-body .vivago-concern { height:100%; }
.vivago-tour-body .vivago-concern p { display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }
/* Good to know: Travel essentials | Policies */
.vivago-tour-body .vivago-practical { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 clamp(2rem,3.5vw,2.5rem); }
/* Itinerary: day rows in the page width, day text at reading width */
.vivago-tour-body .vivago-day-meta { max-width:var(--vg-read-w); }
@media (max-width:1023px) {
  .vivago-tour-body .vivago-concerns { grid-template-columns:1fr; }
}
@media (max-width:781px) {
  .vivago-journey.has-photo { grid-template-columns:1fr; }
  .vivago-journey-img { aspect-ratio:3 / 2; }
  .vivago-highlights, .vivago-tour-body .vivago-practical, .vivago-tour-body .vivago-included-cols { grid-template-columns:1fr; }
  .vivago-tour-body .vivago-included-cols > div + div { border-left:0; border-top:1px solid var(--wp--preset--color--border); }
  .vivago-summary-top { grid-template-columns:1fr; }
  .vivago-summary-price { text-align:left; }
  .vivago-summary-from, .vivago-summary-amount { display:inline; }
}
/* UI sync 13 · G2-D.1 tour detail refinements */
/* Price: smaller currency sign */
.vivago-currency { font-size:.6em; vertical-align:.45em; margin-right:.06em; font-weight:600; }
/* Summary: more air between fact groups, readable size */
.vivago-facts { gap:.7rem 2rem; }
.vivago-fact { font-size:.93rem; }
/* Overview: highlights in the text column; the photo is only as tall as that column */
.vivago-journey.has-photo { align-items:stretch; }
.vivago-journey-text { min-width:0; }
.vivago-journey-text .vivago-highlights-title { margin-top:clamp(1.5rem,2.5vw,2rem) !important; }
.vivago-journey .vivago-highlights { grid-template-columns:1fr; gap:.55rem; }
.vivago-journey .vivago-highlights li { padding:.6rem .85rem; }
.vivago-journey-photo { position:relative; min-height:280px; }
.vivago-journey-img { position:absolute; inset:0; width:100%; height:100%; aspect-ratio:auto; }
/* Included: more space between lines */
.vivago-tour-body .vivago-included-cols .vivago-list li { margin-bottom:.7rem; line-height:1.5; }
/* Your questions: roomier equal cards, shorter text */
.vivago-tour-body .vivago-concern { padding:clamp(1.1rem,2vw,1.5rem) !important; }
.vivago-tour-body .vivago-concern p { -webkit-line-clamp:3; }
/* Good to know: icon + label + value for short facts */
.vivago-essentials { list-style:none; margin:0; padding:0; display:grid; gap:.1rem; }
.vivago-essentials li { display:grid; grid-template-columns:18px minmax(110px,9.5rem) minmax(0,1fr); gap:.65rem; align-items:start; padding:.6rem 0; border-bottom:1px solid var(--wp--preset--color--border); line-height:1.45; }
.vivago-essentials .vivago-icon { margin-top:2px; }
.vivago-essential-label { color:var(--wp--preset--color--text-muted); font-size:.9rem; }
.vivago-essential-value { font-weight:600; color:var(--wp--preset--color--ink); }
.vivago-practical-policies .vivago-facts-list dt { font-size:.78rem; letter-spacing:.06em; }
.vivago-practical-policies .vivago-facts-list > div { padding-block:.75rem; }
/* Price and support cards: same height, even spacing */
.vivago-tour-closing > * { height:100%; }
@media (max-width:781px) {
  .vivago-journey-photo { min-height:0; }
  .vivago-journey-img { position:static; aspect-ratio:3 / 2; height:auto; }
  .vivago-essentials li { grid-template-columns:18px minmax(0,1fr); }
  .vivago-essential-value { grid-column:2; }
}
/* UI sync 14 · itinerary day accordion and Good to know / Policies.
   Closed day: DAY, title, short facts and the toggle, no photo. Open day with a photo: photo on the left (always,
   220 px, 4:3), then DAY, title and every detail on the right; the closed-row text is hidden while open so the title
   is never above the photo. Open day without a photo: text across the full width. */
.vivago-day-photo { margin:0; }
.vivago-day-img { display:block; width:100%; aspect-ratio:4 / 3; height:auto; object-fit:cover; border-radius:10px; }
.vivago-day.has-photo { position:relative; }
.vivago-day.has-photo[open] > summary { position:absolute; top:0; right:0; z-index:1; display:block; min-height:0; padding:1.1rem 0 .5rem 1rem; }
.vivago-day.has-photo[open] > summary > span { position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.vivago-day-story { display:grid; grid-template-columns:220px minmax(0,1fr); gap:22px; align-items:start; padding:1.1rem 0 1.4rem; }
.vivago-day-text { min-width:0; padding-right:2rem; }
.vivago-day-text > * { margin:0 0 .45rem; }
.vivago-day-text .vivago-day-label { display:block; }
.vivago-day-heading { font-weight:600; font-size:var(--wp--preset--font-size--medium); line-height:1.35; color:var(--wp--preset--color--ink); margin-bottom:.35rem !important; }
.vivago-day-facts { font-size:.88rem; color:var(--wp--preset--color--text-muted); }
.vivago-day-story .vivago-day-meta, .vivago-day-story .vivago-day-body { margin-left:0 !important; }
.vivago-day-story .vivago-day-body { margin-bottom:0 !important; max-width:none; }
.vivago-day:not(.has-photo)[open] > .vivago-day-body { padding-bottom:.4rem; }
@media (max-width:781px) {
  .vivago-day-story { grid-template-columns:112px minmax(0,1fr); gap:14px; padding-bottom:1.1rem; }
  .vivago-day-text { padding-right:1.5rem; }
  .vivago-day-heading { font-size:1rem; }
}
/* Good to know: Travel essentials | FAQ */
.vivago-gtk.is-two { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 clamp(2rem,3.5vw,2.5rem); align-items:start; }
.vivago-gtk h3, .vivago-practical h3 { margin:0 0 .75rem !important; font-size:1.05rem !important; }
.vivago-gtk-faqs .vivago-faq > summary { font-weight:600; }
.vivago-gtk-faqs .vivago-faq > p { margin:0 0 .9rem; color:var(--wp--preset--color--ink); }
/* Policies & practical advice: Policies | What to bring + Who helps */
.vivago-tour-body .vivago-practical { display:block; }
.vivago-tour-body .vivago-practical.is-two { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 clamp(2rem,3.5vw,2.5rem); align-items:start; }
.vivago-practical-advice .vivago-support { margin-top:1.5rem; }
@media (max-width:781px) {
  .vivago-gtk.is-two, .vivago-tour-body .vivago-practical.is-two { grid-template-columns:1fr; gap:1.75rem; }
}
/* UI sync 15 · G2-D.4 Tour Summary: title and price on top; below, tour facts (60%) beside suitability (40%).
   No dividing line, no column backgrounds; 36 px between columns; 55/45 on tablets; one column on phones. */
.vivago-summary-body { margin-top:clamp(.9rem,1.6vw,1.25rem); }
.vivago-summary-body.is-two { display:grid; grid-template-columns:minmax(0,6fr) minmax(0,4fr); gap:1rem 36px; align-items:start; }
.vivago-summary-body .vivago-facts { margin:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.8rem 1.5rem; }
.vivago-summary-body .vivago-fact { align-items:flex-start; gap:.55rem; }
.vivago-summary-body .vivago-fact .vivago-icon { margin-top:2px; }
.vivago-summary-body .vivago-fact-text { display:flex; flex-direction:column; gap:.1rem; min-width:0; }
.vivago-summary-body .vivago-fact-label { font-size:.78rem; line-height:1.3; }
.vivago-summary-body .vivago-fact-value { font-size:.95rem; line-height:1.35; }
.vivago-summary-body .vivago-fact--id .vivago-fact-value { font-weight:500; font-size:.88rem; }
.vivago-summary-body .vivago-suits { margin:0; padding:0; border:0; display:grid; gap:.9rem; }
.vivago-suits-group > p { margin:0; }
.vivago-suits-label { display:flex; align-items:center; gap:.45rem; font-size:.78rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--wp--preset--color--text-muted); }
.vivago-suits-text { margin-top:.25rem !important; padding-left:calc(18px + .45rem); font-size:.93rem; line-height:1.5; color:var(--wp--preset--color--ink); }
@media (max-width:1023px) { .vivago-summary-body.is-two { grid-template-columns:minmax(0,55fr) minmax(0,45fr); } }
@media (max-width:781px) { .vivago-summary-body.is-two { grid-template-columns:1fr; gap:1.1rem; } }

/* ===== 0.37.0 · G2-D.5 · tour scan, day service icons and one-row top navigation ===== */
/* Six key facts in a 3 × 2 grid; the quiet Tour ID + tour type are at the bottom. */
.vivago-summary-identity {
  margin:clamp(.8rem,1.6vw,1.1rem) 0 0 !important;
  color:var(--wp--preset--color--text-muted,#64748b);
  font-size:.78rem; line-height:1.4; font-weight:400;
}
.vivago-summary-body + .vivago-summary-identity { margin-top:1rem !important; }
.vivago-price-unit { font-family:inherit; font-size:.43em; font-weight:500; margin-left:.18rem; color:var(--wp--preset--color--text-muted,#64748b); vertical-align:baseline; }
/* One consistent icon language for included/excluded services and day metadata. */
.vivago-tour-body .vivago-list--service-icons { padding:0 !important; list-style:none !important; }
.vivago-tour-body .vivago-list--service-icons li { display:flex; align-items:flex-start; gap:.65rem; padding:0; }
.vivago-tour-body .vivago-list--service-icons li::before { content:none !important; display:none !important; }
.vivago-tour-body .vivago-list--service-icons .vivago-icon { flex:none; width:18px; height:18px; margin-top:.13rem; color:var(--wp--preset--color--text-muted,#64748b); }
.vivago-tour-body .vivago-list--service-icons li span { min-width:0; }
/* Collapsed days stay familiar scan-friendly rows; expanded metadata is last, after the body. */
.vivago-day-sum { min-width:0; }
.vivago-day-facts-icons { display:flex; flex-wrap:wrap; gap:.4rem 1rem; align-items:center; font-size:.85rem; line-height:1.5; color:var(--wp--preset--color--text-muted,#64748b); }
.vivago-day-fact { display:inline-flex; align-items:center; gap:.36rem; min-width:0; }
.vivago-day-fact .vivago-icon { width:17px; height:17px; flex:none; }
.vivago-day-sum .vivago-day-facts-icons { justify-content:flex-end; font-size:.78rem; gap:.3rem .85rem; }
.vivago-day-sum .vivago-day-fact .vivago-icon { width:15px; height:15px; }
.vivago-day-story { align-items:stretch; }
.vivago-day-story.is-no-photo { display:block; padding-left:4.75rem; }
.vivago-day-story .vivago-day-text { display:flex; flex-direction:column; min-width:0; }
.vivago-day-story .vivago-day-body { flex:1 1 auto; }
.vivago-day-story .vivago-day-facts-icons { margin-top:auto; padding-top:.65rem; }
.vivago-day[open] > summary { cursor:pointer; }
.vivago-day:not(.has-photo)[open] > summary .vivago-day-sum { display:none; }
/* Full viewport top navigation. It entirely replaces the bottom capsule. */
.wp-block-group.vivago-section-nav-wrap,
.admin-bar .wp-block-group.vivago-section-nav-wrap {
  display:block; position:fixed; inset:0 0 auto 0; z-index:60;
  width:100vw !important; max-width:100vw !important; min-width:0 !important;
  margin:0 !important; padding:0 clamp(14px,3vw,44px) !important;
  border:0; border-bottom:1px solid var(--wp--preset--color--border,#e2e8f0);
  border-radius:0; box-shadow:0 3px 14px rgb(0 0 0 / .07);
  background:rgba(255,255,255,.98); backdrop-filter:blur(8px);
  opacity:0; transform:translateY(-105%); pointer-events:none;
  transition:opacity .18s ease, transform .18s ease;
}
.admin-bar .wp-block-group.vivago-section-nav-wrap { top:var(--wp-admin--admin-bar--height,32px); }
.wp-block-group.vivago-section-nav-wrap.is-visible { opacity:1; transform:translateY(0); pointer-events:auto; }
.wp-block-group.vivago-section-nav-wrap > .wp-block-shortcode { width:100%; max-width:var(--vg21-width,1200px); margin:0 auto !important; display:flex; align-items:center; justify-content:space-between; gap:1.25rem; }
.wp-block-group.vivago-section-nav-wrap .vivago-section-nav { min-width:0; flex:1 1 auto; }
.wp-block-group.vivago-section-nav-wrap .vivago-section-nav ul { display:flex; overflow-x:auto; flex-wrap:nowrap; align-items:center; gap:.15rem; white-space:nowrap; scrollbar-width:thin; margin:0; padding:0; }
.wp-block-group.vivago-section-nav-wrap .vivago-section-nav li { flex:none; }
.wp-block-group.vivago-section-nav-wrap .vivago-section-nav a { min-height:56px; display:inline-flex; align-items:center; padding:0 .55rem; border:0; border-bottom:2px solid transparent; border-radius:0; font-size:.83rem; }
.wp-block-group.vivago-section-nav-wrap .vivago-section-nav a.is-active { border-bottom-color:var(--wp--preset--color--primary,#195ab5); color:var(--wp--preset--color--primary,#195ab5); }
.vivago-tour-nav-action { flex:none; display:flex; align-items:center; justify-content:flex-end; gap:.8rem; white-space:nowrap; }
.vivago-tour-nav-price { font-size:.92rem; color:var(--wp--preset--color--ink,#1f2937); font-weight:700; }
.vivago-tour-nav-action .wp-element-button { min-height:38px; display:inline-flex; align-items:center; justify-content:center; padding:.42rem 1rem; font-size:.87rem; text-decoration:none; border-radius:7px; }
body.vg-tour-nav-active .vivago-header { transform:translateY(-110%); pointer-events:none; }
body .vivago-header { transition:transform .18s ease; }
body.vg-tour-nav-active .vivago-tour-section,body.vg-tour-nav-active #enquire { scroll-margin-top:74px; }
.vivago-tour-section,#enquire { scroll-margin-top:86px; }
body.admin-bar .vivago-tour-section,body.admin-bar #enquire { scroll-margin-top:calc(86px + var(--wp-admin--admin-bar--height,32px)); }
.vg-enquiry-context { padding:.85rem 1rem; border:1px solid var(--wp--preset--color--border,#e2e8f0); border-radius:10px; background:var(--wp--preset--color--surface,#f5f7f9); }
@media(max-width:1040px){
  .wp-block-group.vivago-section-nav-wrap .vivago-section-nav a { padding:0 .42rem; font-size:.78rem; }
  .wp-block-group.vivago-section-nav-wrap > .wp-block-shortcode { gap:.7rem; }
}
@media(max-width:781px){
  .wp-block-group.vivago-section-nav-wrap,.admin-bar .wp-block-group.vivago-section-nav-wrap { display:block !important; padding:0 8px !important; }
  .wp-block-group.vivago-section-nav-wrap .vivago-section-nav a { min-height:45px; font-size:.8rem; padding:0 .7rem; }
  .wp-block-group.vivago-section-nav-wrap .vivago-tour-nav-action { display:none; }
  .wp-block-group.vivago-section-nav-wrap > .wp-block-shortcode { display:block; }
  .vivago-day-story.is-no-photo { padding-left:0; }
  .vivago-day-story .vivago-day-text { padding-right:1.2rem; }
  .vivago-day-sum .vivago-day-facts-icons { justify-content:flex-start; }
  body.vg-tour-nav-active .vivago-tour-section,body.vg-tour-nav-active #enquire { scroll-margin-top:58px; }
}
@media(max-width:480px){
  .vivago-day-facts-icons { gap:.35rem .75rem; font-size:.8rem; }
  .vivago-day-story { grid-template-columns:96px minmax(0,1fr); gap:12px; }
  .vivago-day-story .vivago-day-text { padding-right:1rem; }
}
@media(prefers-reduced-motion:reduce){
  .wp-block-group.vivago-section-nav-wrap,body .vivago-header { transition:none !important; }
}

/* ===== 0.38.0 · G2-D.6 · precision adjustments after staging UAT ===== */
/* The final identity line is a quiet baseline close to the card's lower edge. */
.vivago-summary { display:flex; flex-direction:column; }
.vivago-summary-identity,
.vivago-summary-body + .vivago-summary-identity {
  margin-top:auto !important; padding-top:.8rem; margin-bottom:-.5rem !important;
  font-size:.78rem; line-height:1.35; color:var(--wp--preset--color--text-muted,#64748b);
}
.vivago-summary-identity a { color:inherit; text-decoration:underline; text-decoration-color:transparent; text-underline-offset:3px; }
.vivago-summary-identity a:hover,.vivago-summary-identity a:focus-visible { color:var(--wp--preset--color--primary,#195ab5); text-decoration-color:currentColor; }
/* Strictly single-row desktop navbar, regardless of legacy floating-pill and WP block rules. */
@media (min-width:782px) {
 .wp-block-group.vivago-section-nav-wrap { min-height:0 !important; height:70px !important; padding-block:0 !important; }
 .wp-block-group.vivago-section-nav-wrap > .wp-block-shortcode {
   display:grid !important; grid-template-columns:minmax(0,1fr) auto !important;
   align-items:center !important; column-gap:clamp(.75rem,1.4vw,1.5rem) !important;
   width:100% !important; height:100% !important; padding:0 !important;
 }
 .wp-block-group.vivago-section-nav-wrap .vivago-section-nav { min-width:0; width:100%; }
 .wp-block-group.vivago-section-nav-wrap .vivago-section-nav ul { justify-content:flex-start !important; height:70px; gap:clamp(1px,.4vw,8px) !important; overflow-x:auto; }
 .wp-block-group.vivago-section-nav-wrap .vivago-section-nav li { height:100%; display:flex; align-items:center; }
 .wp-block-group.vivago-section-nav-wrap .vivago-section-nav a,
 .wp-block-group.vivago-section-nav-wrap .vivago-section-nav a:link,
 .wp-block-group.vivago-section-nav-wrap .vivago-section-nav a:visited {
   background:transparent !important; color:var(--wp--preset--color--primary,#195ab5) !important;
   box-shadow:none !important; border:0 !important; border-bottom:2px solid transparent !important;
   border-radius:0 !important; min-height:54px; height:54px; padding:0 clamp(.3rem,.55vw,.6rem) !important;
   white-space:nowrap; font-size:clamp(.76rem,.83vw,.88rem); font-weight:500;
 }
 .wp-block-group.vivago-section-nav-wrap .vivago-section-nav a.is-active,
 .wp-block-group.vivago-section-nav-wrap .vivago-section-nav a[aria-current="true"] {
   background:transparent !important; color:var(--wp--preset--color--primary,#195ab5) !important;
   border-bottom:2px solid var(--wp--preset--color--primary,#195ab5) !important;
   font-weight:700 !important;
 }
 .wp-block-group.vivago-section-nav-wrap .vivago-tour-nav-action {
   display:flex !important; height:100%; align-items:center; flex-wrap:nowrap; gap:clamp(.7rem,1.4vw,1.25rem);
   margin:0 !important; padding:0 !important;
 }
 .vivago-tour-nav-action .wp-element-button { min-height:42px; height:42px; padding:.6rem 1.05rem; transform:translateY(3px); }
}
.vivago-tour-nav-price { display:inline-flex; align-items:baseline; gap:.2rem; white-space:nowrap; font-weight:500; line-height:1; }
.vivago-tour-nav-from { font-size:.75rem; color:var(--wp--preset--color--text-muted,#64748b); margin-right:.1rem; }
.vivago-tour-nav-amount { display:inline-flex; align-items:baseline; color:var(--wp--preset--color--ink,#1f2937); font-size:clamp(1.35rem,2.05vw,1.75rem); line-height:1; font-weight:750; font-variant-numeric:tabular-nums; letter-spacing:-.03em; }
.vivago-tour-nav-amount .vivago-currency { font-size:.52em; font-weight:600; line-height:1; vertical-align:baseline; align-self:flex-start; transform:translateY(.22em); margin-right:.06em; letter-spacing:0; }
.vivago-tour-nav-unit { font-size:.69rem; font-weight:500; color:var(--wp--preset--color--text-muted,#64748b); }
.vivago-tour-nav-quote { font-size:.84rem; color:var(--wp--preset--color--ink,#1f2937); }
/* Route: START/FINISH visible by icon and text; convey transport with one short Day + icon segment. */
.vivago-route-stop::after { display:none !important; }
.vivago-route-stop .vivago-route-marker { order:2; position:relative; z-index:2; width:16px; height:16px; margin:.25rem 0; border-radius:50%; border:2px solid var(--wp--preset--color--base,#fff); background:var(--wp--preset--color--primary,#195ab5); box-shadow:0 0 0 2px var(--wp--preset--color--surface,#f4f6f8); display:grid; place-items:center; }
.vivago-route-stop.is-start .vivago-route-marker { width:27px; height:27px; background:#18734a; }
.vivago-route-stop.is-finish .vivago-route-marker { width:27px; height:27px; background:#24364a; }
.vivago-route-marker .vivago-icon { color:#fff; width:16px; height:16px; margin:0; }
.vivago-route-leg { display:flex; justify-content:center; gap:.3rem; align-items:center; min-height:22px; height:22px; font-size:.76rem; line-height:1; transform:translateX(-50%); }
.vivago-route-leg--empty { visibility:hidden; }
.vivago-route-leg .vivago-icon { width:15px; height:15px; color:var(--wp--preset--color--primary,#195ab5); margin:0; }
.vivago-route-stop:first-child .vivago-route-leg { display:flex; }
.vivago-route-stop:first-child { padding-top:0; }
.vivago-route-stop::before { top:calc(22px + .25rem + 7px); }
.vivago-route-end-label { order:5; font-size:.65rem; line-height:1.35; margin-top:.25rem; font-weight:650; letter-spacing:.055em; text-transform:uppercase; color:var(--wp--preset--color--text-muted,#64748b); }
.vivago-route-stop.is-start .vivago-route-end-label { color:#18734a; }
.vivago-route-stop.is-finish .vivago-route-end-label { color:#24364a; }
@media (max-width:781px) {
 .wp-block-group.vivago-section-nav-wrap .vivago-section-nav a.is-active,
 .wp-block-group.vivago-section-nav-wrap .vivago-section-nav a[aria-current="true"] { color:var(--wp--preset--color--primary,#195ab5) !important; background:transparent !important; border:0 !important; border-bottom:2px solid currentColor !important; border-radius:0 !important; }
 .vivago-route-stop .vivago-route-marker { position:absolute; left:0; top:.3rem; margin:0; }
 .vivago-route-stop.is-start .vivago-route-marker,.vivago-route-stop.is-finish .vivago-route-marker { left:-5px; top:0; }
 .vivago-route-stop::before { top:0; left:7px; height:100%; }
 .vivago-route-leg { order:2; min-height:0; height:auto; transform:none; justify-content:flex-start; }
 .vivago-route-leg--empty { display:none !important; }
 .vivago-route-stop:first-child .vivago-route-leg { display:none; }
 .vivago-route-end-label { order:4; }
}


/* ===== 0.39.0 / G2-D.7 · fixed navigation & aligned route markers ===== */
/* A single fixed row replaces both old pill and two-tier navigation rules. */
.wp-block-group.vivago-section-nav-wrap,
.admin-bar .wp-block-group.vivago-section-nav-wrap {
  position:fixed !important;
  inset:0 0 auto 0 !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  bottom:auto !important;
  /* WordPress renders this shortcode's nav and CTA as direct siblings. */
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-rows:minmax(0,1fr);
  align-items:center;
  column-gap:clamp(12px,1.6vw,26px);
  width:100% !important;
  max-width:none !important;
  height:64px !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 clamp(14px,2.25vw,36px) !important;
  border:0 !important;
  border-bottom:1px solid var(--wp--preset--color--border,#e2e8f0) !important;
  border-radius:0 !important;
  box-shadow:0 3px 12px rgb(0 0 0 / .06);
  box-sizing:border-box !important;
  background:rgba(255,255,255,.985);
  z-index:70;
  opacity:0;
  transform:translateY(-105%);
  pointer-events:none;
}
.admin-bar .wp-block-group.vivago-section-nav-wrap { top:var(--wp-admin--admin-bar--height,32px) !important; }
.wp-block-group.vivago-section-nav-wrap.is-visible,
.admin-bar .wp-block-group.vivago-section-nav-wrap.is-visible {
  opacity:1;
  transform:translateY(0) !important;
  pointer-events:auto;
}
/* Keep Site Editor overrides that explicitly add a shortcode wrapper working. */
.wp-block-group.vivago-section-nav-wrap > .wp-block-shortcode,
.admin-bar .wp-block-group.vivago-section-nav-wrap > .wp-block-shortcode {
  grid-column:1 / -1;
  grid-template-rows:minmax(0,1fr);
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  align-items:center !important;
  gap:clamp(12px,1.6vw,26px) !important;
  box-sizing:border-box !important;
  height:100% !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  min-width:0;
}
.wp-block-group.vivago-section-nav-wrap .vivago-section-nav { min-width:0; width:100%; height:100%; overflow:hidden; }
.wp-block-group.vivago-section-nav-wrap .vivago-section-nav ul {
  display:flex !important; flex-wrap:nowrap !important; align-items:center !important;
  height:100% !important; min-width:0; margin:0 !important; padding:0 !important;
  overflow-x:auto; overflow-y:hidden; gap:clamp(1px,.3vw,7px) !important;
  scrollbar-width:none; white-space:nowrap;
}
.wp-block-group.vivago-section-nav-wrap .vivago-section-nav ul::-webkit-scrollbar { display:none; }
.wp-block-group.vivago-section-nav-wrap .vivago-section-nav li { flex:0 0 auto; height:100%; display:flex; align-items:center; }
.wp-block-group.vivago-section-nav-wrap .vivago-section-nav a,
.wp-block-group.vivago-section-nav-wrap .vivago-section-nav a:link,
.wp-block-group.vivago-section-nav-wrap .vivago-section-nav a:visited {
  display:inline-flex !important; align-items:center; height:54px !important;
  min-height:0 !important; flex:0 0 auto;
  padding:0 clamp(5px,.52vw,11px) !important;
  background:transparent !important; box-shadow:none !important;
  border:0 !important; border-bottom:2px solid transparent !important;
  border-radius:0 !important; white-space:nowrap;
  font-size:clamp(.78rem,.86vw,.91rem); line-height:1.3; font-weight:500;
  color:var(--wp--preset--color--primary,#195ab5) !important;
}
.wp-block-group.vivago-section-nav-wrap .vivago-section-nav a.is-active,
.wp-block-group.vivago-section-nav-wrap .vivago-section-nav a[aria-current="true"] {
  color:var(--wp--preset--color--primary,#195ab5) !important;
  background:transparent !important;
  border-bottom:2px solid currentColor !important;
  font-weight:700 !important;
}
.wp-block-group.vivago-section-nav-wrap .vivago-tour-nav-action {
  display:flex !important; flex-wrap:nowrap !important;
  align-items:center !important; justify-content:flex-end;
  min-width:0; height:100% !important;
  margin:0 !important; padding:0 !important; gap:clamp(12px,1.2vw,20px);
  white-space:nowrap;
}
.wp-block-group.vivago-section-nav-wrap .vivago-tour-nav-price { display:inline-flex; align-items:baseline; gap:3px; line-height:1; white-space:nowrap; }
.wp-block-group.vivago-section-nav-wrap .vivago-tour-nav-amount { font-size:clamp(1.5rem,2vw,1.75rem); line-height:1; }
.wp-block-group.vivago-section-nav-wrap .vivago-tour-nav-amount .vivago-currency { font-size:.52em; }
.wp-block-group.vivago-section-nav-wrap .vivago-tour-nav-action .wp-element-button {
  box-sizing:border-box; display:inline-flex; justify-content:center; align-items:center;
  height:38px !important; min-height:38px !important;
  padding:0 1rem !important; line-height:1.15;
  font-size:.875rem; margin:0 !important; transform:none !important;
  border-radius:7px;
  background:var(--wp--preset--color--primary,#195ab5) !important;
  color:#fff !important; text-decoration:none !important;
}
body.vg-tour-nav-active .vivago-header { transform:translateY(-110%); pointer-events:none; }
body.vg-tour-nav-active .vivago-tour-section,
body.vg-tour-nav-active #enquire { scroll-margin-top:calc(74px + var(--vg-tour-admin-offset,0px)) !important; }
body.admin-bar { --vg-tour-admin-offset:32px; }
@media(max-width:1024px) {
  body.admin-bar { --vg-tour-admin-offset:46px; }
  .wp-block-group.vivago-section-nav-wrap,
  .admin-bar .wp-block-group.vivago-section-nav-wrap { display:block !important; height:48px !important; padding:0 12px !important; }
  .wp-block-group.vivago-section-nav-wrap > .wp-block-shortcode,
  .admin-bar .wp-block-group.vivago-section-nav-wrap > .wp-block-shortcode {
    display:block !important; height:48px !important;
  }
  .wp-block-group.vivago-section-nav-wrap .vivago-section-nav { width:100%; height:48px; overflow:hidden; }
  .wp-block-group.vivago-section-nav-wrap .vivago-section-nav ul { height:48px !important; }
  .wp-block-group.vivago-section-nav-wrap .vivago-section-nav a { height:44px !important; padding:0 .7rem !important; font-size:.84rem; }
  .wp-block-group.vivago-section-nav-wrap .vivago-tour-nav-action { display:none !important; }
  body.vg-tour-nav-active .vivago-tour-section,
  body.vg-tour-nav-active #enquire { scroll-margin-top:calc(58px + var(--vg-tour-admin-offset,0px)) !important; }
  /* Tablet/mobile uses one top TOC and the existing bottom price CTA. */
  .vivago-mobile-bar { display:flex !important; z-index:65; padding-bottom:max(.45rem,env(safe-area-inset-bottom)) !important; }
  .single-vivago_tour .vivago-mobile-bar .wp-element-button { background:var(--wp--preset--color--primary,#195ab5) !important; color:#fff !important; border-radius:7px; text-decoration:none !important; }
  .single-vivago_tour .vivago-footer { padding-bottom:88px; }
}
@media(max-width:600px) {
  body.admin-bar { --vg-tour-admin-offset:0px; }
  .admin-bar .wp-block-group.vivago-section-nav-wrap { top:0 !important; }
}
/* Route markers use one 30px-high slot, irrespective of endpoint circle diameter.
   Connectors and every marker are drawn through the exact middle of this slot. */
@media(min-width:782px) {
  .vivago-route-stop { padding-top:0 !important; }
  .vivago-route-stop .vivago-route-leg,
  .vivago-route-stop:first-child .vivago-route-leg {
    order:1; display:flex; height:22px !important; min-height:22px !important;
    align-items:center; justify-content:center; margin:0; white-space:nowrap;
  }
  .vivago-route-stop .vivago-route-marker,
  .vivago-route-stop.is-start .vivago-route-marker,
  .vivago-route-stop.is-finish .vivago-route-marker {
    position:relative; order:2; flex:0 0 30px;
    box-sizing:border-box; width:30px !important; height:30px !important;
    margin:0 !important; border:0; box-shadow:none;
    display:grid; place-items:center;
    border-radius:50%; background:transparent;
  }
  .vivago-route-stop .vivago-route-marker::before {
    content:""; position:absolute; inset:auto; width:16px; height:16px;
    border-radius:50%; background:var(--wp--preset--color--primary,#195ab5);
  }
  .vivago-route-stop.is-start .vivago-route-marker,
  .vivago-route-stop.is-finish .vivago-route-marker { background:#18734a; }
  .vivago-route-stop.is-finish .vivago-route-marker { background:#24364a; }
  .vivago-route-stop.is-start .vivago-route-marker::before,
  .vivago-route-stop.is-finish .vivago-route-marker::before { content:none; }
  .vivago-route-marker .vivago-icon { position:relative; z-index:1; color:#fff; }
  .vivago-route-stop::before { top:36px !important; height:2px !important; background:var(--wp--preset--color--border-strong,#8b99aa); }
  .vivago-route-stop:first-child::before { display:none !important; }
}
@media(max-width:781px) {
  /* Vertical timeline: every marker shares the same horizontal centre line. */
  .vivago-route-stop { position:relative; padding-left:32px; }
  .vivago-route-stop .vivago-route-marker,
  .vivago-route-stop.is-start .vivago-route-marker,
  .vivago-route-stop.is-finish .vivago-route-marker {
    position:absolute; top:0 !important; left:0 !important;
    width:30px !important; height:30px !important; margin:0 !important;
    box-sizing:border-box; border:0; box-shadow:none; background:transparent;
    display:grid; place-items:center;
  }
  .vivago-route-stop .vivago-route-marker::before { content:""; width:16px; height:16px; border-radius:50%; background:var(--wp--preset--color--primary,#195ab5); }
  .vivago-route-stop.is-start .vivago-route-marker { background:#18734a; }
  .vivago-route-stop.is-finish .vivago-route-marker { background:#24364a; }
  .vivago-route-stop.is-start .vivago-route-marker::before,
  .vivago-route-stop.is-finish .vivago-route-marker::before { content:none; }
  .vivago-route-marker .vivago-icon { position:relative; z-index:1; color:#fff; }
  .vivago-route-stop::before { left:14px !important; top:15px !important; width:2px !important; height:100% !important; right:auto !important; background:var(--wp--preset--color--border-strong,#8b99aa); }
  .vivago-route-stop:first-child::before { display:none !important; }
}
@media(prefers-reduced-motion:reduce) {
  .wp-block-group.vivago-section-nav-wrap,.vivago-header { transition:none !important; }
}

/* Cross-country legs retain the red dotted connector even when a theme token is absent. */
@media(min-width:782px) {
  .vivago-route-stop.is-border::before {
    background:repeating-linear-gradient(90deg,#bb2e2b 0 6px,transparent 6px 10px) !important;
  }
}
@media(max-width:781px) {
  /* The vertical connector belongs to the whole route, not to differently sized stops. */
  .vivago-route { position:relative; }
  .vivago-route::before {
    content:""; position:absolute; left:calc(1rem + 14px);
    top:calc(.75rem + 15px); bottom:calc(1.35rem + 15px);
    width:2px; background:var(--wp--preset--color--border-strong,#8b99aa);
  }
  .vivago-route-stop { z-index:1; }
  .vivago-route-stop::before { display:none !important; }
}

/* Tour Pricing V1.1: shared price typography contract. The inherited size is the main amount. */
.vivago-price-display { display:inline-flex; flex-wrap:wrap; align-items:baseline; gap:.12em .18em; max-width:100%; font-size:1.8rem; line-height:1.15; color:var(--wp--preset--color--ink,#172b3a); }
.vivago-price-display .vg-price-current { display:inline-flex; align-items:baseline; gap:.06em; white-space:nowrap; font-size:inherit; }
.vivago-price-display .vivago-price-prefix { font-size:.3em; font-family:var(--wp--preset--font-family--body); font-weight:400; color:var(--wp--preset--color--text-muted,#64748b); margin-right:.28em; }
.vivago-price-display .vivago-price-currency { display:inline-block; font-size:.5em; font-weight:600; line-height:1; vertical-align:baseline; transform:translateY(-.28em); margin:0; }
.vivago-price-display .vivago-price-amount { font-size:1em; font-family:var(--wp--preset--font-family--heading); font-weight:700; line-height:1; letter-spacing:-.02em; }
.vivago-price-display .vivago-price-unit { font-size:.35em; font-family:var(--wp--preset--font-family--body); font-weight:400; color:var(--wp--preset--color--text-muted,#64748b); margin-left:.2em; vertical-align:baseline; }
.vivago-price-display .vivago-price-original { font-size:.3em; font-family:var(--wp--preset--font-family--body); font-weight:400; color:var(--wp--preset--color--text-muted,#64748b); white-space:nowrap; text-decoration:line-through; }
.vg-price-promo,.vg-price-child,.vg-price-policy { display:block; flex-basis:100%; font-size:.8rem; line-height:1.5; font-family:var(--wp--preset--font-family--body); font-weight:400; white-space:normal; }
.vg-price-promo { color:#18734a; }
.vivago-summary-price { white-space:normal; max-width:380px; }
.vivago-summary-price .vivago-price-display { justify-content:flex-end; font-size:clamp(2rem,3.2vw,2.6rem); }
.vivago-tour-nav-price .vivago-price-display { flex-wrap:nowrap; font-size:1.4rem; line-height:1; }
.vivago-card-foot .vivago-price-display { font-size:1.65rem; }
.vivago-mobile-bar-price .vivago-price-display { flex-wrap:nowrap; font-size:1.65rem; line-height:1; }
.vivago-mobile-bar-price { min-width:0; }
.vg-enquiry-context .vivago-price-display { margin-top:.35rem; }
@media(max-width:781px) { .vivago-summary-price .vivago-price-display { justify-content:flex-start; } }
@media(max-width:380px) { .vivago-mobile-bar-price .vivago-price-display { font-size:1.45rem; } }

/* Keep the existing header controls within a 320px viewport during mobile enquiry. */
@media (max-width:380px) {
 .vivago-header-row { gap:.25rem !important; }
 .vivago-header .wp-block-site-title { font-size:1rem !important; }
 .vivago-header-nav { gap:0 !important; }
 .vivago-header-cta .wp-block-button__link { font-size:.75rem; padding:.4rem .5rem; }
}
