/* ==========================================================================
   Voyageo Tours — inner pages: Customize your trip, Contact, About, policies, 404
   ========================================================================== */

.vt-page-intro { padding-block-start: 1.5rem; }
/* Intro text under a page title: aligned with the title, one reading column wide. */
.vt-container.vt-prose { max-width: calc(var(--vt-container) + 2 * var(--vt-gutter)); }
.vt-container.vt-prose > * { max-width: 44rem; }
/* Customize your trip: the form continues the sand section above it, without a second gap. */
.vt-custom + .vt-form-section { padding-block-start: 0; }

/* Form card (both pages) */
.vt-form-card {
	max-width: 52rem;
	padding: clamp(1.25rem, .75rem + 2vw, 2.25rem);
	border: 1px solid var(--vt-line);
	border-radius: var(--vt-radius);
	background: var(--vt-cream);
	box-shadow: var(--vt-shadow);
}
.vt-form-card__title { margin-block-end: 1.25rem; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
.vt-form-section .vt-form-card { margin-inline: auto; }

/* Contact: form beside the contact card */
.vt-contact { display: grid; gap: 2rem; padding-block-start: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }
@media (min-width: 64rem) {
	.vt-contact { grid-template-columns: minmax(0, 1fr) 20rem; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
	.vt-contact-card { position: sticky; top: calc(var(--vt-header-h) + 1.5rem); }
}
.vt-contact__intro { margin-block-end: 1.5rem; }

.vt-contact-card {
	display: grid;
	gap: 1.25rem;
	padding: 1.5rem;
	border-radius: var(--vt-radius);
	background: var(--vt-navy);
	color: rgba(255, 255, 255, .85);
}
.vt-contact-card__title { margin: 0; color: #fff; font-size: 1.5rem; }
.vt-contact-card a { color: #fff; }
.vt-contact-card .vt-btn--primary { background: var(--vt-whatsapp); color: #06301A; }
.vt-contact-card .vt-btn--primary:hover { background: #1EBE5A; color: #06301A; }
.vt-contact-card__wa .vt-icon { width: 1.25rem; height: 1.25rem; }
.vt-contact-card__details, .vt-contact-card__social { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.vt-contact-card__details li { display: flex; align-items: flex-start; gap: .6rem; overflow-wrap: anywhere; }
.vt-contact-card__details .vt-icon { flex: none; width: 1.15rem; height: 1.15rem; margin-block-start: .2rem; color: var(--vt-copper-soft); }
.vt-contact-card__social { grid-auto-flow: column; justify-content: start; }
.vt-contact-card__social a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; }
.vt-contact-card__social .vt-icon { width: 1.2rem; height: 1.2rem; }
.vt-contact-card :focus-visible { box-shadow: 0 0 0 2px var(--vt-navy), 0 0 0 4px var(--vt-copper-soft); }
.vt-contact-card .vt-missing { color: rgba(255, 255, 255, .8); }

/* ---------- Block content (About, policies): one reading column, wide blocks use the container ---------- */
.vt-blocks > * { max-width: 44rem; margin-block: 0; }
.vt-blocks > * + * { margin-block-start: 1.25em; }
.vt-blocks > .alignwide { max-width: none; }
.vt-blocks > h2 { margin-block-start: 2em; font-size: var(--vt-fs-h2); }
.vt-blocks > h3 { margin-block-start: 1.75em; font-size: var(--vt-fs-h3); }
.vt-blocks > :is(h2, h3) + * { margin-block-start: .6em; }
.vt-blocks > :first-child { margin-block-start: 0; }
.vt-blocks .wp-block-image img { border-radius: var(--vt-radius); }

/* About: "Photo collage and text" pattern — same composition as the homepage custom-trip section */
.vt-blocks .vt-story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 1rem + 4vw, 5rem); }
.vt-blocks .vt-story > .wp-block-column { flex-basis: auto; }
.vt-blocks .vt-story h2 { margin: 0 0 .6rem; font-size: var(--vt-fs-h1); }
.vt-blocks .vt-story p { max-width: 30em; font-size: var(--vt-fs-lead); }
.vt-blocks .vt-story + * { margin-block-start: var(--vt-section); }
@media (max-width: 56rem) {
	.vt-blocks .vt-story { grid-template-columns: 1fr; }
	.vt-collage { max-width: 36rem; }
}
.vt-collage { position: relative; padding-block-end: 2.5rem; padding-inline-end: 10%; }
.vt-collage > * { overflow: hidden; margin: 0; border-radius: var(--vt-radius); box-shadow: var(--vt-shadow); background: #D9D3C8; }
.vt-collage > :first-child { aspect-ratio: 16 / 9.5; }
.vt-collage > :nth-child(2) {
	position: absolute;
	inset-inline-end: 0;
	bottom: 0;
	width: 41%;
	aspect-ratio: 11 / 10;
	border: 4px solid var(--vt-cream);
}
.vt-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.vt-collage__ph {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: .75rem;
	background: repeating-linear-gradient(135deg, #D9D3C8 0 14px, #D3CCC0 14px 28px) !important;
	color: #6E675D;
	font-size: .8125rem;
	font-weight: 500;
	text-align: center;
}
.vt-collage__ph p { margin: 0; }
.vt-collage__ph:first-child { padding-inline-end: 45%; } /* keeps the label clear of the small photo */

/* ---------- Policies ---------- */
.vt-policy { padding-block-end: var(--vt-section); }
.vt-policy__updated { margin-block: 0 1.75rem; color: var(--vt-muted); font-size: var(--vt-fs-small); }
.vt-policy__draft { grid-area: notice; max-width: 44rem; margin-block-end: 2rem; }
.vt-policy__body h2 { scroll-margin-top: calc(var(--vt-header-h) + 1.5rem); font-size: clamp(1.4rem, 1.25rem + .6vw, 1.75rem); }

.vt-toc { margin-block-end: 2rem; padding: 1rem 1.25rem; border: 1px solid var(--vt-line); border-radius: var(--vt-radius); background: var(--vt-paper); }
.vt-toc__title { margin: 0 0 .6rem; color: var(--vt-navy); font-family: var(--vt-sans); font-size: .9375rem; font-weight: 600; }
.vt-toc__list { display: grid; gap: .1rem; margin: 0; padding: 0; list-style: none; }
.vt-toc__list a { display: block; padding-block: .4rem; color: var(--vt-text); font-size: var(--vt-fs-ui); line-height: 1.4; text-decoration: none; }
.vt-toc__list a:hover { color: var(--vt-copper-text); }
.vt-toc__list a:focus-visible { outline: none; box-shadow: var(--vt-focus); }

@media (min-width: 64rem) {
	.vt-policy--toc .vt-policy__layout {
		display: grid;
		grid-template: "toc notice" auto "toc body" 1fr / 15rem minmax(0, 44rem);
		column-gap: clamp(2.5rem, 1rem + 3vw, 4.5rem);
		align-items: start;
	}
	.vt-policy--toc .vt-policy__body { grid-area: body; }
	.vt-policy--toc .vt-toc {
		grid-area: toc;
		position: sticky;
		top: calc(var(--vt-header-h) + 1.5rem);
		margin: 0;
		padding: 0 0 0 1.1rem;
		border: 0;
		border-inline-start: 2px solid var(--vt-line);
		border-radius: 0;
		background: none;
	}
	[dir="rtl"] .vt-policy--toc .vt-toc { padding: 0 1.1rem 0 0; }
}

/* ---------- 404 ---------- */
/* ---------- 404: the logo's road leads nowhere ---------- */
.vt-lost {
	padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(2rem, 1.5rem + 2vw, 3.5rem);
	background: radial-gradient(ellipse 70% 60% at 50% 35%, #FFFFFF 0%, var(--vt-sand) 70%);
	text-align: center;
}
.vt-lost__inner { display: flex; flex-direction: column; align-items: center; }
.vt-lost__art { display: block; width: min(100%, 42rem); height: auto; margin-block-end: 1.25rem; overflow: visible; }
.vt-lost__dune { fill: url(#vt-lost-sand); }
.vt-lost__digit { fill: none; stroke: var(--vt-navy); stroke-width: 36; stroke-linecap: round; stroke-linejoin: round; }
.vt-lost__road { fill: none; stroke: var(--vt-copper); stroke-width: 12; stroke-linecap: round; }
.vt-lost__offroad { fill: none; stroke: var(--vt-copper); stroke-width: 5; stroke-linecap: round; stroke-dasharray: .1 12; opacity: .8; }
.vt-lost__body { fill: var(--vt-copper); }
.vt-lost__rack { stroke: var(--vt-navy); stroke-width: 2.5; stroke-linecap: round; }
.vt-lost__window, .vt-lost__hub { fill: #FFFFFF; }
.vt-lost__wheel { fill: var(--vt-navy); }
.vt-lost__title { margin: 0; font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem); }
.vt-lost__lead { max-width: 34rem; margin: .75rem auto 0; color: var(--vt-text); font-size: 1.125rem; }
.vt-404__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.vt-btn--outline { border-color: var(--vt-navy); background: transparent; color: var(--vt-navy); }
.vt-btn--outline:hover { background: var(--vt-navy); color: #FFFFFF; }
.vt-404__search { padding-block-start: clamp(2rem, 1.5rem + 2vw, 3rem); }
.vt-404__title { margin-block-end: 1rem; font-size: var(--vt-fs-h3); }

/* One moment of motion: the road draws itself, the 4×4 rolls in and stops where the road ends. */
@media (prefers-reduced-motion: no-preference) {
	.vt-lost__road { stroke-dasharray: 1; stroke-dashoffset: 1; animation: vt-road 1.6s cubic-bezier(.6, 0, .3, 1) .2s forwards; }
	.vt-lost__car { opacity: 0; animation: vt-car .7s cubic-bezier(.2, .8, .3, 1.2) 1.5s forwards; }
	.vt-lost__offroad { opacity: 0; animation: vt-fade .5s ease 2.1s forwards; }
}
@keyframes vt-road { to { stroke-dashoffset: 0; } }
@keyframes vt-car { from { opacity: 0; translate: -30px 4px; } to { opacity: 1; translate: 0 0; } }
@keyframes vt-fade { to { opacity: .8; } }

/* ---------- About: lists, value cards, buttons ---------- */
.vt-blocks > :is(ul, ol) { padding-inline-start: 1.25rem; }
.vt-blocks > :is(ul, ol) li + li { margin-block-start: .5rem; }
.vt-blocks > ul li::marker { color: var(--vt-copper); }
.vt-blocks > ol li::marker { color: var(--vt-copper-text); font-weight: 600; }

.vt-blocks .vt-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.25rem; margin-block: 2.5rem; }
.vt-blocks .vt-values > .wp-block-column {
	flex-basis: auto;
	margin: 0;
	padding: 1.5rem 1.4rem;
	border: 1px solid var(--vt-line);
	border-block-start: 3px solid var(--vt-copper);
	border-radius: var(--vt-radius);
	background: var(--vt-paper);
	box-shadow: var(--vt-shadow);
}
.vt-blocks .vt-values h3 { margin: 0 0 .45rem; font-size: var(--vt-fs-h3); }
.vt-blocks .vt-values p { margin: 0; }

.vt-blocks .wp-block-buttons { display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin-block-start: 2.5rem; }
.vt-blocks .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 3rem;
	padding: .75rem 1.5rem;
	border: 1px solid var(--vt-copper);
	border-radius: var(--vt-radius);
	background: var(--vt-copper);
	color: var(--vt-navy);
	font-family: var(--vt-sans);
	font-size: var(--vt-fs-ui);
	font-weight: 600;
	text-decoration: none;
}
.vt-blocks .wp-block-button__link:hover { border-color: #FF9F2E; background: #FF9F2E; color: var(--vt-navy); }
.vt-blocks .is-style-outline .wp-block-button__link { border-color: var(--vt-navy); background: transparent; color: var(--vt-navy); }
.vt-blocks .is-style-outline .wp-block-button__link:hover { border-color: var(--vt-navy); background: var(--vt-navy); color: #fff; }
