/**
 * Vertical Explorers — 18-page redesign design system
 * ---------------------------------------------------------------------------
 * Shared component system for the 18 redesigned pages. Scoped under .ve18 so
 * nothing outside these pages is affected. Additive only: no parent-theme or
 * existing child-theme CSS is modified.
 *
 * Palette comes from the existing brand: deep forest green #174106 (primary)
 * and orange #ff7700 (restrained accent) on neutral backgrounds.
 */

/* ---------------------------------------------------------------------------
 * 1. Tokens and base
 * ------------------------------------------------------------------------ */

.ve18 {
	--ve-green: #174106;
	--ve-green-mid: #2a6b12;
	--ve-green-soft: #eef4ea;
	--ve-orange: #ff7700;
	--ve-orange-dark: #b84800;
	--ve-orange-soft: #fff4e8;

	--ve-ink: #1c1f1a;
	--ve-ink-soft: #4a5147;
	--ve-ink-mute: #6b7268;
	--ve-rule: #e2e5dd;
	--ve-paper: #ffffff;
	--ve-paper-alt: #f7f8f4;

	--ve-radius: 4px;
	--ve-radius-lg: 10px;
	--ve-shadow: 0 1px 2px rgba(23, 65, 6, 0.06), 0 4px 14px rgba(23, 65, 6, 0.05);
	--ve-shadow-lift: 0 2px 4px rgba(23, 65, 6, 0.08), 0 10px 28px rgba(23, 65, 6, 0.09);

	/* Fluid type scale */
	--ve-t-hero: clamp(2.1rem, 5.2vw, 3.6rem);
	--ve-t-h2: clamp(1.5rem, 3.2vw, 2.15rem);
	--ve-t-h3: clamp(1.16rem, 2.1vw, 1.4rem);
	--ve-t-body: clamp(1rem, 0.45vw + 0.92rem, 1.075rem);
	--ve-t-sm: 0.9375rem;
	--ve-t-xs: 0.8125rem;

	--ve-lead: 68ch;
	--ve-prose: 72ch;
	--ve-gap: clamp(1.5rem, 4vw, 3rem);
	--ve-section: clamp(2.5rem, 6vw, 4.5rem);

	color: var(--ve-ink);
	font-size: var(--ve-t-body);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

.ve18 *,
.ve18 *::before,
.ve18 *::after {
	box-sizing: border-box;
}

.ve18 p {
	margin: 0 0 1.15em;
}

.ve18 a {
	color: var(--ve-green-mid);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
	transition: color 0.15s ease;
}

.ve18 a:hover {
	color: var(--ve-orange-dark);
	text-decoration-thickness: 2px;
}

.ve18 :focus-visible {
	outline: 3px solid var(--ve-orange);
	outline-offset: 3px;
	border-radius: 2px;
}

/* Skip link: visible only on focus */
.ve18-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--ve-green);
	color: #fff;
	padding: 0.75rem 1.25rem;
	border-radius: 0 0 var(--ve-radius) 0;
	font-weight: 600;
}

.ve18-skip:focus {
	left: 0;
	color: #fff;
}

/* ---------------------------------------------------------------------------
 * 2. Layout primitives
 * ------------------------------------------------------------------------ */

.ve18-wrap {
	width: 100%;
	max-width: 1180px;
	margin-inline: auto;
	padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

.ve18-prose {
	max-width: var(--ve-prose);
}

.ve18-prose > h2,
.ve18-prose > h3,
.ve18-prose > h4 {
	margin: 2.2em 0 0.7em;
	line-height: 1.25;
}

.ve18-prose > h2 {
	font-size: var(--ve-t-h2);
	color: var(--ve-green);
	margin-top: 0;
}

.ve18-prose > h3 {
	font-size: var(--ve-t-h3);
	color: var(--ve-green);
}

.ve18-prose > h4 {
	font-size: 1.05em;
	color: var(--ve-ink);
	font-weight: 700;
}

.ve18-prose > :first-child {
	margin-top: 0;
}

.ve18-lead {
	font-size: clamp(1.075rem, 1.1vw + 0.85rem, 1.3rem);
	line-height: 1.6;
	color: var(--ve-ink-soft);
	max-width: var(--ve-lead);
	margin-bottom: 1.6em;
}

.ve18-section {
	padding-block: var(--ve-section);
	border-top: 1px solid var(--ve-rule);
}

.ve18-section:first-of-type {
	border-top: 0;
}

.ve18-section--alt {
	background: var(--ve-paper-alt);
}

.ve18-eyebrow {
	display: block;
	font-size: var(--ve-t-xs);
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--ve-orange-dark);
	margin-bottom: 0.6em;
}

/* ---------------------------------------------------------------------------
 * 3. Hero — editorial and destination variants
 * ------------------------------------------------------------------------ */

.ve18-hero {
	position: relative;
	margin: 0;
	overflow: hidden;
}

.ve18-hero--editorial {
	background: linear-gradient(165deg, var(--ve-green) 0%, #0d2b04 100%);
	color: #fff;
	padding: clamp(2.75rem, 8vw, 5.5rem) 0 clamp(2.25rem, 5vw, 3.75rem);
}

.ve18-hero--editorial::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 3px;
	background: var(--ve-orange);
}

.ve18-hero--destination {
	background:
		linear-gradient(to top, rgba(12, 34, 5, 0.82) 0%, rgba(12, 34, 5, 0.35) 45%, rgba(12, 34, 5, 0.12) 100%),
		var(--ve-hero-img, none) center / cover no-repeat var(--ve-green);
	color: #fff;
	min-height: clamp(340px, 52vh, 620px);
	display: flex;
	align-items: flex-end;
	padding-block: clamp(1.75rem, 6vw, 4.5rem);
}

.ve18-hero__eyebrow {
	font-size: var(--ve-t-xs);
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: var(--ve-orange);
	margin: 0 0 0.75rem;
}

.ve18-hero__title {
	font-size: var(--ve-t-hero);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.015em;
	margin: 0 0 0.6rem;
	max-width: 22ch;
	text-wrap: balance;
}

.ve18-hero__sub {
	font-size: clamp(1rem, 1.4vw + 0.7rem, 1.2rem);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.92);
	max-width: 60ch;
	margin: 0;
}

.ve18-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin: 1.35rem 0 0;
	padding: 0;
	list-style: none;
	font-size: var(--ve-t-sm);
	color: rgba(255, 255, 255, 0.85);
}

.ve18-hero__meta li {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

/* ---------------------------------------------------------------------------
 * 4. Breadcrumbs
 * ------------------------------------------------------------------------ */

.ve18-crumbs {
	padding: 0.85rem 0;
	font-size: var(--ve-t-sm);
	color: var(--ve-ink-mute);
}

.ve18-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.15rem 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ve18-crumbs li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.ve18-crumbs li:not(:last-child)::after {
	content: "/";
	color: var(--ve-rule);
}

.ve18-crumbs [aria-current="page"] {
	color: var(--ve-ink);
	font-weight: 600;
}

/* ---------------------------------------------------------------------------
 * 5. Key facts panel
 * ------------------------------------------------------------------------ */

.ve18-facts {
	background: var(--ve-paper);
	border: 1px solid var(--ve-rule);
	border-radius: var(--ve-radius-lg);
	box-shadow: var(--ve-shadow);
	padding: 0;
	overflow: hidden;
	margin: 0;
}

.ve18-facts__title {
	font-size: var(--ve-t-sm);
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--ve-green);
	margin: 0;
	padding: 0.9rem 1.35rem;
	background: var(--ve-green-soft);
	border-bottom: 1px solid var(--ve-rule);
}

.ve18-facts__list {
	margin: 0;
	padding: 0.35rem 1.35rem 0.9rem;
}

.ve18-facts__list > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.25rem 1rem;
	padding: 0.7rem 0;
	border-bottom: 1px solid var(--ve-rule);
	font-size: var(--ve-t-sm);
}

.ve18-facts__list > div:last-child {
	border-bottom: 0;
}

.ve18-facts__list dt {
	color: var(--ve-ink-mute);
	font-weight: 500;
}

.ve18-facts__list dd {
	margin: 0;
	font-weight: 600;
	color: var(--ve-ink);
	text-align: end;
}

/* Two-column layout: prose + sticky facts */
.ve18-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--ve-gap);
	align-items: start;
}

@media (min-width: 62rem) {
	.ve18-split {
		grid-template-columns: minmax(0, 1fr) 320px;
	}

	.ve18-split > .ve18-facts {
		position: sticky;
		top: 1.5rem;
	}
}

.ve18-split--wide-aside {
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 75rem) {
	.ve18-split--wide-aside {
		grid-template-columns: minmax(0, 1fr) 360px;
	}
}

/* ---------------------------------------------------------------------------
 * 6. Table of contents and section navigation
 * ------------------------------------------------------------------------ */

.ve18-toc {
	background: var(--ve-paper-alt);
	border: 1px solid var(--ve-rule);
	border-left: 3px solid var(--ve-orange);
	border-radius: var(--ve-radius);
	padding: 1.1rem 1.35rem;
	margin: 0 0 2rem;
}

.ve18-toc__title {
	font-size: var(--ve-t-sm);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ve-ink-soft);
	margin: 0 0 0.6rem;
}

.ve18-toc ol {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: ve18-toc;
	display: grid;
	gap: 0.35rem;
}

@media (min-width: 48rem) {
	.ve18-toc ol {
		grid-template-columns: 1fr 1fr;
		gap: 0.35rem 1.5rem;
	}
}

.ve18-toc li {
	counter-increment: ve18-toc;
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
	font-size: var(--ve-t-sm);
}

.ve18-toc li::before {
	content: counter(ve18-toc);
	flex: none;
	width: 1.4em;
	height: 1.4em;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--ve-green-soft);
	color: var(--ve-green);
	font-size: 0.75em;
	font-weight: 700;
}

.ve18-toc a {
	color: var(--ve-ink);
	text-decoration: none;
}

.ve18-toc a:hover {
	color: var(--ve-orange-dark);
	text-decoration: underline;
}

/* Sticky section rail */
.ve18-rail {
	position: sticky;
	top: 1.5rem;
	align-self: start;
	background: var(--ve-paper);
	border: 1px solid var(--ve-rule);
	border-radius: var(--ve-radius-lg);
	padding: 1rem 1.1rem;
}

.ve18-rail__title {
	font-size: var(--ve-t-xs);
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--ve-ink-mute);
	margin: 0 0 0.6rem;
}

.ve18-rail ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.1rem;
}

.ve18-rail a {
	display: block;
	padding: 0.45rem 0.6rem;
	border-radius: var(--ve-radius);
	font-size: var(--ve-t-sm);
	line-height: 1.35;
	color: var(--ve-ink-soft);
	text-decoration: none;
	border-left: 2px solid transparent;
}

.ve18-rail a:hover,
.ve18-rail a.is-current {
	background: var(--ve-green-soft);
	color: var(--ve-green);
	border-left-color: var(--ve-orange);
	text-decoration: none;
}

/* ---------------------------------------------------------------------------
 * 7. Cards
 * ------------------------------------------------------------------------ */

.ve18-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: clamp(1rem, 2.5vw, 1.6rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.ve18-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--ve-paper);
	border: 1px solid var(--ve-rule);
	border-radius: var(--ve-radius-lg);
	overflow: hidden;
	box-shadow: var(--ve-shadow);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ve18-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--ve-shadow-lift);
}

.ve18-card__media {
	aspect-ratio: 16 / 10;
	background: var(--ve-green-soft) center / cover no-repeat;
	margin: 0;
}

.ve18-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.15rem 1.25rem 1.35rem;
	flex: 1;
}

.ve18-card__kicker {
	font-size: var(--ve-t-xs);
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--ve-orange-dark);
	margin: 0;
}

.ve18-card__title {
	font-size: 1.075rem;
	line-height: 1.3;
	margin: 0;
}

.ve18-card__title a {
	color: var(--ve-green);
	text-decoration: none;
}

.ve18-card__title a:hover {
	text-decoration: underline;
}

.ve18-card__text {
	font-size: var(--ve-t-sm);
	color: var(--ve-ink-soft);
	margin: 0;
}

.ve18-card__foot {
	margin-top: auto;
	padding-top: 0.6rem;
	font-size: var(--ve-t-sm);
}

.ve18-card__link {
	font-weight: 700;
	color: var(--ve-green);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.ve18-card__link:hover {
	color: var(--ve-orange-dark);
}

.ve18-card__link::after {
	content: "\2192";
	transition: transform 0.15s ease;
}

.ve18-card__link:hover::after {
	transform: translateX(3px);
}

/* Feature card — icon + heading + text */
.ve18-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
	gap: clamp(1.1rem, 2.5vw, 1.75rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.ve18-feature {
	background: var(--ve-paper);
	border: 1px solid var(--ve-rule);
	border-radius: var(--ve-radius-lg);
	padding: 1.35rem;
}

.ve18-feature h3 {
	font-size: 1.05rem;
	margin: 0 0 0.45rem;
	color: var(--ve-green);
}

.ve18-feature p {
	margin: 0;
	font-size: var(--ve-t-sm);
	color: var(--ve-ink-soft);
}

.ve18-feature__icon {
	width: 2.4rem;
	height: 2.4rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--ve-orange-soft);
	color: var(--ve-orange-dark);
	font-size: 1.15rem;
	margin-bottom: 0.8rem;
	flex: none;
}

/* ---------------------------------------------------------------------------
 * 8. Tables — comparison, month-by-month
 * ------------------------------------------------------------------------ */

.ve18-table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--ve-rule);
	border-radius: var(--ve-radius-lg);
	background: var(--ve-paper);
	margin: 0 0 1.5rem;
}

.ve18-table {
	width: 100%;
	min-width: 34rem;
	border-collapse: collapse;
	font-size: var(--ve-t-sm);
	margin: 0;
}

.ve18-table caption {
	text-align: start;
	padding: 0.85rem 1rem;
	font-size: var(--ve-t-sm);
	font-weight: 600;
	color: var(--ve-green);
	background: var(--ve-green-soft);
	border-bottom: 1px solid var(--ve-rule);
}

.ve18-table th,
.ve18-table td {
	padding: 0.7rem 0.9rem;
	text-align: start;
	border-bottom: 1px solid var(--ve-rule);
	vertical-align: top;
}

.ve18-table thead th {
	background: var(--ve-paper-alt);
	font-size: var(--ve-t-xs);
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--ve-ink-soft);
	white-space: nowrap;
}

.ve18-table tbody tr:last-child th,
.ve18-table tbody tr:last-child td {
	border-bottom: 0;
}

.ve18-table tbody tr:hover {
	background: var(--ve-paper-alt);
}

.ve18-table th[scope="row"] {
	font-weight: 700;
	color: var(--ve-green);
	white-space: nowrap;
}

/* Condition pills for month tables */
.ve18-pill {
	display: inline-block;
	padding: 0.15em 0.6em;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

.ve18-pill--good {
	background: var(--ve-green-soft);
	color: var(--ve-green);
}

.ve18-pill--mixed {
	background: var(--ve-orange-soft);
	color: var(--ve-orange-dark);
}

.ve18-pill--poor {
	background: #f2f2f0;
	color: var(--ve-ink-mute);
}

/* ---------------------------------------------------------------------------
 * 9. Steps, checklists, notices
 * ------------------------------------------------------------------------ */

.ve18-steps {
	counter-reset: ve18-step;
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 1.25rem;
}

.ve18-steps > li {
	counter-increment: ve18-step;
	position: relative;
	padding-inline-start: 3.1rem;
}

.ve18-steps > li::before {
	content: counter(ve18-step);
	position: absolute;
	inset-inline-start: 0;
	top: 0;
	width: 2.1rem;
	height: 2.1rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--ve-green);
	color: #fff;
	font-weight: 700;
	font-size: 0.9rem;
}

.ve18-steps h3 {
	margin: 0.15rem 0 0.35rem;
	font-size: 1.05rem;
	color: var(--ve-green);
}

.ve18-steps p {
	margin: 0;
	font-size: var(--ve-t-sm);
	color: var(--ve-ink-soft);
}

.ve18-check {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.55rem;
}

.ve18-check li {
	position: relative;
	padding-inline-start: 1.75rem;
	font-size: var(--ve-t-sm);
}

.ve18-check li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 0.42em;
	width: 0.7rem;
	height: 0.7rem;
	border: 2px solid var(--ve-green);
	border-radius: 3px;
	background: var(--ve-green-soft);
}

/* Accessible interactive checklist (label + checkbox) */
.ve18-check--interactive li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	padding-inline-start: 0;
}

.ve18-check--interactive input[type="checkbox"] {
	flex: none;
	width: 1.15rem;
	height: 1.15rem;
	margin-top: 0.2em;
	accent-color: var(--ve-green);
	cursor: pointer;
}

.ve18-check--interactive li::before {
	display: none;
}

/* Notices */
.ve18-note {
	border: 1px solid var(--ve-rule);
	border-left: 4px solid var(--ve-green);
	border-radius: var(--ve-radius);
	background: var(--ve-green-soft);
	padding: 1rem 1.25rem;
	margin: 0 0 1.5rem;
	font-size: var(--ve-t-sm);
}

.ve18-note__title {
	display: block;
	font-weight: 700;
	color: var(--ve-green);
	margin: 0 0 0.3rem;
}

.ve18-note p:last-child {
	margin-bottom: 0;
}

.ve18-note--safety {
	background: #fff4e8;
	border-left-color: var(--ve-orange-dark);
}

.ve18-note--safety .ve18-note__title {
	color: var(--ve-orange-dark);
}

.ve18-note--important {
	background: var(--ve-paper-alt);
	border-left-color: var(--ve-green);
}

.ve18-note--review {
	background: #fbf7ec;
	border-left-color: #b58900;
}

.ve18-note--review .ve18-note__title {
	color: #8a6700;
}

/* ---------------------------------------------------------------------------
 * 10. Trust points and source notes
 * ------------------------------------------------------------------------ */

.ve18-trust {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 1rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ve18-trust li {
	position: relative;
	padding-inline-start: 1.9rem;
	font-size: var(--ve-t-sm);
	color: var(--ve-ink-soft);
}

.ve18-trust li::before {
	content: "\2713";
	position: absolute;
	inset-inline-start: 0;
	top: 0;
	width: 1.3rem;
	height: 1.3rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--ve-green);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
}

.ve18-sources {
	font-size: var(--ve-t-sm);
	color: var(--ve-ink-mute);
	border-top: 1px solid var(--ve-rule);
	padding-top: 1rem;
	margin-top: 2rem;
}

.ve18-sources ul {
	margin: 0.4rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.3rem;
}

.ve18-sources p {
	margin: 0 0 0.4rem;
}

/* ---------------------------------------------------------------------------
 * 11. FAQ accordion (accessible, native details/summary)
 * ------------------------------------------------------------------------ */

.ve18-faq {
	display: grid;
	gap: 0.6rem;
	margin: 0;
}

.ve18-faq details {
	background: var(--ve-paper);
	border: 1px solid var(--ve-rule);
	border-radius: var(--ve-radius);
	overflow: hidden;
}

.ve18-faq details[open] {
	border-color: var(--ve-green-mid);
	box-shadow: var(--ve-shadow);
}

.ve18-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.9rem 1.1rem;
	cursor: pointer;
	font-weight: 600;
	font-size: var(--ve-t-sm);
	color: var(--ve-ink);
	list-style: none;
}

.ve18-faq summary::-webkit-details-marker {
	display: none;
}

.ve18-faq summary::after {
	content: "+";
	flex: none;
	display: grid;
	place-items: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background: var(--ve-green-soft);
	color: var(--ve-green);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
}

.ve18-faq details[open] summary::after {
	content: "\2212";
	background: var(--ve-green);
	color: #fff;
}

.ve18-faq summary:hover {
	background: var(--ve-paper-alt);
}

.ve18-faq__answer {
	padding: 0 1.1rem 1rem;
	font-size: var(--ve-t-sm);
	color: var(--ve-ink-soft);
}

.ve18-faq__answer > :last-child {
	margin-bottom: 0;
}

/* ---------------------------------------------------------------------------
 * 12. CTA
 * ------------------------------------------------------------------------ */

.ve18-cta {
	background: linear-gradient(160deg, var(--ve-green) 0%, #0e2f05 100%);
	color: #fff;
	border-radius: var(--ve-radius-lg);
	padding: clamp(1.75rem, 4vw, 2.75rem);
	display: grid;
	gap: 1.25rem;
	align-items: center;
}

@media (min-width: 52rem) {
	.ve18-cta {
		grid-template-columns: 1fr auto;
		gap: 2rem;
	}
}

.ve18-cta__title {
	font-size: var(--ve-t-h3);
	margin: 0 0 0.4rem;
	color: #fff;
	line-height: 1.2;
}

.ve18-cta__text {
	margin: 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: var(--ve-t-sm);
	max-width: 52ch;
}

.ve18-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.ve18-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	padding: 0.8rem 1.5rem;
	border-radius: var(--ve-radius);
	font-size: var(--ve-t-sm);
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	min-height: 2.85rem;
	transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.ve18-btn--primary {
	background: var(--ve-orange);
	color: #1c1200;
	border-color: var(--ve-orange);
}

.ve18-btn--primary:hover {
	background: var(--ve-orange-dark);
	border-color: var(--ve-orange-dark);
	color: #fff;
	transform: translateY(-1px);
}

.ve18-btn--ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.55);
}

.ve18-btn--ghost:hover {
	border-color: #fff;
	color: #fff;
	transform: translateY(-1px);
}

.ve18-btn--outline {
	background: transparent;
	color: var(--ve-green);
	border-color: var(--ve-green);
}

.ve18-btn--outline:hover {
	background: var(--ve-green);
	color: #fff;
}

/* ---------------------------------------------------------------------------
 * 13. Figures, media, two-up image rows, dividers
 * ------------------------------------------------------------------------ */

.ve18-figure {
	margin: 0 0 1.75rem;
}

.ve18-figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--ve-radius-lg);
	background: var(--ve-paper-alt);
}

.ve18-figure figcaption {
	font-size: var(--ve-t-xs);
	color: var(--ve-ink-mute);
	margin-top: 0.55rem;
	line-height: 1.5;
}

.ve18-media-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin: 0 0 1.75rem;
}

@media (min-width: 40rem) {
	.ve18-media-row {
		grid-template-columns: 1fr 1fr;
	}
}

.ve18-divider {
	border: 0;
	height: 1px;
	background: var(--ve-rule);
	margin: 2rem 0;
}

/* Editorial pull quote */
.ve18-quote {
	margin: 2rem 0;
	padding-inline-start: 1.35rem;
	border-inline-start: 3px solid var(--ve-orange);
	font-size: 1.1rem;
	line-height: 1.55;
	color: var(--ve-green);
	font-weight: 600;
	max-width: var(--ve-lead);
}

/* ---------------------------------------------------------------------------
 * 14. Back to top
 * ------------------------------------------------------------------------ */

.ve18-totop {
	position: fixed;
	inset-inline-end: clamp(1rem, 3vw, 2rem);
	bottom: clamp(1rem, 3vw, 2rem);
	z-index: 60;
	width: 2.85rem;
	height: 2.85rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	border: 1px solid var(--ve-rule);
	background: var(--ve-paper);
	color: var(--ve-green);
	font-size: 1.1rem;
	cursor: pointer;
	box-shadow: var(--ve-shadow-lift);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.ve18-totop.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ve18-totop:hover {
	background: var(--ve-green);
	color: #fff;
	border-color: var(--ve-green);
}

/* ---------------------------------------------------------------------------
 * 15. Print
 * ------------------------------------------------------------------------ */

@media print {
	.ve18-totop,
	.ve18-rail,
	.ve18-cta__actions {
		display: none;
	}

	.ve18-hero--destination {
		background: var(--ve-green);
		color: #fff;
	}

	.ve18-cta {
		background: #fff;
		color: #000;
		border: 1px solid #000;
	}
}

/* ---------------------------------------------------------------------------
 * 16. Reduced motion
 * ------------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
	.ve18 *,
	.ve18 *::before,
	.ve18 *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.ve18-card:hover,
	.ve18-btn:hover {
		transform: none;
	}
}

/* ---------------------------------------------------------------------------
 * 17. RTL
 * ------------------------------------------------------------------------ */

[dir="rtl"] .ve18-card__link::after {
	content: "\2190";
}

[dir="rtl"] .ve18-card__link:hover::after {
	transform: translateX(-3px);
}

[dir="rtl"] .ve18-facts__list dd {
	text-align: start;
}

[dir="rtl"] .ve18-table th,
[dir="rtl"] .ve18-table td {
	text-align: start;
}

/* ---------------------------------------------------------------------------
 * 18. Parent-theme page banner as the immersive hero
 * ---------------------------------------------------------------------------
 * The Traveler parent theme renders its own banner (image + <h1> + breadcrumb)
 * above the_content(). Authoring a second hero would duplicate the H1, so the
 * theme's banner IS the hero on these pages and is styled from here. This is
 * additive only — no parent-theme file is touched.
 */

.ve18-page #st-content-wrapper > .banner,
.ve18-page .st-page-default > .banner {
	position: relative;
	min-height: clamp(320px, 52vw, 620px);
	display: flex;
	align-items: flex-end;
	padding-top: clamp(2.5rem, 8vw, 5rem);
	padding-bottom: clamp(2rem, 6vw, 4rem);
	background-color: var(--ve-green);
	background-size: cover;
	background-position: center;
}

/* Darkening scrim so white text stays legible over any photograph */
.ve18-page #st-content-wrapper > .banner::before,
.ve18-page .st-page-default > .banner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(12, 34, 5, 0.88) 0%, rgba(12, 34, 5, 0.45) 45%, rgba(12, 34, 5, 0.15) 100%);
	pointer-events: none;
}

.ve18-page .banner .container {
	position: relative;
	z-index: 1;
}

.ve18-page .banner .banner-content h1,
.ve18-page .banner .banner-content h1.h1 {
	font-size: var(--ve-t-hero);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.015em;
	color: #fff;
	margin: 0 0 0.5rem;
	max-width: 22ch;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
	text-wrap: balance;
}

.ve18-page .banner .banner-content p {
	color: rgba(255, 255, 255, 0.92);
	max-width: 60ch;
	margin: 0;
}

/* Orange rule under the banner, matching the design system */
.ve18-page #st-content-wrapper > .banner::after,
.ve18-page .st-page-default > .banner::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 3px;
	background: var(--ve-orange);
	z-index: 2;
}

/* Keep the theme's breadcrumb inside the dark hero readable */
.ve18-page .banner + .st-breadcrumb,
.ve18-page .banner ~ .breadcrumb {
	background: var(--ve-green);
	color: rgba(255, 255, 255, 0.85);
}

.ve18-page .banner + .st-breadcrumb a,
.ve18-page .banner ~ .breadcrumb a {
	color: rgba(255, 255, 255, 0.85);
}
/* ---------------------------------------------------------------------------
 * 19. Trek Comparison Centre (Block B)
 * ------------------------------------------------------------------------ */

.ve18-cmp__controls {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
	gap: 1rem 1.25rem;
	align-items: end;
	margin: 0 0 1.5rem;
	padding: 1.25rem;
	border: 1px solid var(--ve-rule);
	border-radius: var(--ve-radius-lg);
	background: var(--ve-paper);
}

.ve18-cmp__legend {
	font-size: var(--ve-t-xs);
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--ve-ink-mute);
	padding: 0 0.4rem;
}

.ve18-cmp__field {
	display: grid;
	gap: 0.35rem;
	margin: 0;
}

.ve18-cmp__field label {
	font-size: var(--ve-t-sm);
	font-weight: 600;
	color: var(--ve-ink);
}

.ve18-cmp__field input,
.ve18-cmp__field select {
	font: inherit;
	font-size: var(--ve-t-sm);
	padding: 0.6rem 0.7rem;
	border: 1px solid var(--ve-rule);
	border-radius: var(--ve-radius);
	background: var(--ve-paper);
	color: var(--ve-ink);
	min-height: 2.75rem;
}

.ve18-cmp__field input[type="range"] {
	padding: 0;
	accent-color: var(--ve-green);
	min-height: 2.2rem;
}

.ve18-cmp__field output {
	font-size: var(--ve-t-xs);
	color: var(--ve-ink-mute);
}

.ve18-cmp__status {
	font-size: var(--ve-t-sm);
	color: var(--ve-ink-soft);
	margin: 0 0 1.25rem;
}

.ve18-cmp__results {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: 1rem;
}

.ve18-cmp__card {
	display: grid;
	gap: 0.5rem;
	padding: 1.15rem;
	border: 1px solid var(--ve-rule);
	border-radius: var(--ve-radius-lg);
	background: var(--ve-paper);
	box-shadow: var(--ve-shadow);
}

.ve18-cmp__card[hidden] { display: none; }

.ve18-cmp__card.is-selected {
	border-color: var(--ve-orange);
	box-shadow: var(--ve-shadow-lift);
}

.ve18-cmp__card h3 {
	font-size: 1.02rem;
	line-height: 1.3;
	margin: 0;
}

.ve18-cmp__card h3 a {
	color: var(--ve-green);
	text-decoration: none;
}

.ve18-cmp__card h3 a:hover { text-decoration: underline; }

.ve18-cmp__dl {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.2rem 0.75rem;
	margin: 0;
	font-size: var(--ve-t-sm);
}

.ve18-cmp__dl dt {
	color: var(--ve-ink-mute);
}

.ve18-cmp__dl dd {
	margin: 0;
	text-align: end;
	font-weight: 600;
}

.ve18-cmp__dl .ve18-na {
	color: var(--ve-ink-mute);
	font-weight: 500;
	font-style: italic;
}

.ve18-cmp__pick {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: var(--ve-t-sm);
	font-weight: 600;
	color: var(--ve-green);
	cursor: pointer;
}

.ve18-cmp__pick input {
	flex: none;
	width: 1.15rem;
	height: 1.15rem;
	accent-color: var(--ve-green);
	cursor: pointer;
}

.ve18-cmp__hint {
	font-size: var(--ve-t-sm);
	color: var(--ve-ink-mute);
	margin: 0.5rem 0 0;
}

.ve18-cmp__selected {
	display: grid;
	gap: 1rem;
}

.ve18-cmp__grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
}

@media (min-width: 56rem) {
	.ve18-cmp__grid {
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	}
}

.ve18-cmp__col {
	display: grid;
	gap: 0.4rem;
	padding: 1.15rem;
	border: 1px solid var(--ve-rule);
	border-radius: var(--ve-radius-lg);
	background: var(--ve-paper);
}

.ve18-cmp__col h3 {
	font-size: 1rem;
	margin: 0;
	color: var(--ve-green);
}

.ve18-cmp__col dl {
	margin: 0;
	font-size: var(--ve-t-sm);
}

.ve18-cmp__col dt {
	color: var(--ve-ink-mute);
	font-size: var(--ve-t-xs);
	margin-top: 0.5rem;
}

.ve18-cmp__col dd {
	margin: 0;
	font-weight: 600;
}

.ve18-quiz {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 1rem 1.25rem;
	align-items: end;
	margin: 0 0 1.75rem;
	padding: 1.25rem;
	border: 1px solid var(--ve-rule);
	border-radius: var(--ve-radius-lg);
	background: var(--ve-paper);
}

.ve18-quiz .ve18-cmp__field { margin: 0; }

#ve18-quiz-out ul {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

#ve18-quiz-out li {
	padding: 1rem 1.15rem;
	border: 1px solid var(--ve-rule);
	border-left: 3px solid var(--ve-orange);
	border-radius: var(--ve-radius);
	background: var(--ve-paper);
	font-size: var(--ve-t-sm);
}

#ve18-quiz-out b {
	color: var(--ve-green);
	font-size: 1rem;
}

.ve18-empty {
	padding: 1.15rem 1.25rem;
	border: 1px dashed var(--ve-rule);
	border-radius: var(--ve-radius-lg);
	background: var(--ve-paper-alt);
	color: var(--ve-ink-soft);
	font-size: var(--ve-t-sm);
}
