/* AFS Trip Engine v2 — Churchill mockup design system.
   All trip-page sections render from shortcodes; Elementor supplies only the
   structural containers. Tokens follow the AFS Brand Guide handoff. */

:root {
	--afs-red: #BF2431;
	--afs-red-dark: #A11F2A;
	--afs-blue: #3050A6;
	--afs-navy: #22376F;
	--afs-green: #0AA536;
	--afs-sky: #AFC2EE;
	--afs-coral: #E57A81;
	--afs-gold: #DFC158;
	--afs-gold-dark: #B8952E;
	--afs-ink: #222222;
	--afs-slate: #5E6473;
	--afs-mist: #E9EBF0;
	--afs-paper: #FAFAF8;
	--afs-font-head: "Poppins", Helvetica, Arial, sans-serif;
	--afs-font-body: "Lora", Georgia, serif;
}

/* ---------- shared layout ---------- */
.afs-wrap { max-width: 1140px; margin: 0 auto; padding: 0 32px; }
.afs-sec { padding: 72px 0; }
.afs-sec--overview { background: var(--afs-paper); }
.afs-sec--itinerary { background: #fff; }
.afs-sec--about { background: var(--afs-navy); }
.afs-sec--tips { background: var(--afs-paper); }
.afs-sec--photos { background: #fff; }
.afs-sec--pricing { background: var(--afs-mist); }
.afs-sec--finalcta { background: var(--afs-paper); border-top: 1px solid var(--afs-mist); text-align: center; }

.afs-eyebrow {
	font-family: var(--afs-font-head);
	font-weight: 600;
	font-size: 18px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--afs-red);
	margin-bottom: 8px;
}
/* !important: the Elementor kit's h2 rules load after this sheet */
h2.afs-sec__title, .afs-sec__title {
	font-family: var(--afs-font-head) !important;
	font-weight: 600;
	font-size: clamp(28px, 3.4vw, 38px);
	line-height: 1.15;
	color: var(--afs-navy) !important;
	margin: 0 0 28px;
}
h2.afs-sec__title--light, .afs-sec__title--light { color: var(--afs-paper) !important; }
.afs-sec p, .afs-day__desc, .afs-tips__content { font-family: var(--afs-font-body); }
/* 18px floor everywhere — audience skews older; theme lists default smaller */
.afs-sec li, .afs-includes-card li { font-size: 18px; line-height: 1.6; }

/* ---------- status pill CTA (green avail / red sold out / slate past) ---------- */
.afs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 36px;
	border-radius: 8px;
	font-family: var(--afs-font-head);
	font-weight: 600;
	font-size: 18px;
	text-decoration: none;
	transition: background-color .15s ease, filter .15s ease, color .15s ease;
}
.afs-btn--primary { background: var(--afs-red); color: var(--afs-paper) !important; }
.afs-btn--primary:hover { background: var(--afs-red-dark); color: var(--afs-paper) !important; }
.afs-btn--secondary { background: transparent; color: var(--afs-blue) !important; box-shadow: inset 0 0 0 2px var(--afs-blue); }
.afs-btn--secondary:hover { background: var(--afs-blue); color: #fff !important; }
.afs-btn--avail { background: var(--afs-green); color: #fff !important; }
.afs-btn--avail:hover { filter: brightness(1.08); color: #fff !important; }
.afs-btn--soldout { background: var(--afs-red); color: #fff !important; cursor: default; }
.afs-btn--waitlist { background: var(--afs-gold-dark); color: #fff !important; }
.afs-btn--waitlist:hover { filter: brightness(1.1); color: #fff !important; }
.afs-btn--past { background: var(--afs-slate); color: #fff !important; cursor: default; }
.afs-cta { display: inline-flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }

/* ---------- hero ---------- */
.afs-hero {
	position: relative;
	background: var(--afs-navy);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.afs-hero__photo, .afs-hero__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.afs-hero__photo { opacity: .68; }
.afs-hero__gradient {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(34,55,111,0.28) 0%, rgba(34,55,111,0.42) 55%, rgba(34,55,111,0.82) 100%);
}
.afs-hero__content {
	position: relative;
	z-index: 1;
	width: 100%;
	min-height: 580px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding-top: 96px;
	padding-bottom: 56px;
}
.afs-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-family: var(--afs-font-head);
	font-weight: 600;
	font-size: 18px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--afs-gold);
	margin-bottom: 20px;
}
.afs-hero__rule { display: inline-block; width: 28px; height: 2px; background: var(--afs-gold); }
/* !important: the Elementor kit's h1 typography loads after this sheet */
h1.afs-hero__title, .afs-hero__title {
	font-family: var(--afs-font-head) !important;
	font-weight: 700 !important;
	font-size: clamp(36px, 5vw, 58px) !important;
	line-height: 1.08 !important;
	letter-spacing: -0.02em;
	color: var(--afs-paper) !important;
	margin: 0 0 16px;
}
.afs-hero__sub {
	font-family: var(--afs-font-body) !important;
	font-style: italic;
	font-size: clamp(19px, 2.2vw, 24px) !important;
	line-height: 1.4;
	color: var(--afs-sky) !important;
	margin: 0 auto 32px;
	max-width: 720px;
}
.afs-hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; }
/* secondary buttons sit on navy inside the hero — use a light outline there */
.afs-hero .afs-btn--secondary { color: var(--afs-paper) !important; box-shadow: inset 0 0 0 2px rgba(250, 250, 248, 0.65); }
.afs-hero .afs-btn--secondary:hover { background: var(--afs-paper); color: var(--afs-navy) !important; }
.afs-hero__meta { font-family: var(--afs-font-head); font-size: 18px; color: var(--afs-sky); }
.afs-hero__tabs {
	position: relative;
	z-index: 1;
	background: rgba(34, 55, 111, 0.6);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border-top: 1px solid rgba(175, 194, 238, 0.25);
}
.afs-hero__tabs-inner { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.afs-hero__tabs a {
	font-family: var(--afs-font-head);
	font-weight: 600;
	font-size: 18px;
	color: var(--afs-sky) !important;
	text-decoration: none;
	padding: 16px 22px 13px;
	border-bottom: 3px solid transparent;
	transition: color .15s ease, border-color .15s ease;
}
.afs-hero__tabs a:hover, .afs-hero__tabs a:focus,
.afs-hero__tabs a.is-active {
	color: var(--afs-paper) !important;
	border-bottom-color: var(--afs-gold);
}
/* pinned state once the bar scrolls out of the hero (toggled by trip-nav.js) */
.afs-hero__tabs.is-fixed {
	position: fixed;
	top: var(--afs-header-h, 0px); /* docks under the pinned global header */
	left: 0;
	right: 0;
	z-index: 90;
	background: rgba(34, 55, 111, 0.94);
	border-top: none;
	box-shadow: 0 2px 12px rgba(15, 23, 48, 0.25);
}

/* ---------- meta strip (dates + print buttons, under the hero) ---------- */
.afs-trip-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	font-family: var(--afs-font-head);
}
.afs-trip-meta__dates { font-weight: 600; font-size: 18px; color: var(--afs-navy); }
.afs-print-actions { display: inline-flex; gap: 8px; }
/* !important guards against the Elementor kit's global <button> styling */
button.afs-print-btn {
	background: transparent !important;
	border: 1px solid var(--afs-slate) !important;
	border-radius: 999px !important;
	padding: 8px 18px !important;
	font-family: var(--afs-font-head) !important; font-weight: 500 !important; font-size: 18px !important;
	color: var(--afs-slate) !important;
	cursor: pointer;
}
button.afs-print-btn:hover { border-color: var(--afs-blue) !important; color: var(--afs-blue) !important; }

/* ---------- legacy standalone anchor nav (kept for non-trip placements) ---------- */
.afs-anchor-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	padding: 14px 0;
}
.afs-anchor-nav a {
	white-space: nowrap;
	padding: 12px 28px;
	border-radius: 999px;
	font-family: var(--afs-font-head);
	font-weight: 700;
	font-size: 18px;
	line-height: 1;
	color: var(--afs-navy) !important;
	text-decoration: none;
	background: var(--afs-mist);
	transition: background-color .15s ease, color .15s ease;
}
.afs-anchor-nav a:hover, .afs-anchor-nav a:focus { background: var(--afs-navy); color: #fff !important; }

/* ---------- overview: copy with woven images ---------- */
.afs-overview__single { max-width: 800px; margin: 0 auto; }
.afs-overview__grid {
	display: grid;
	gap: 56px;
	align-items: start;
	margin-bottom: 48px;
}
.afs-overview__grid--a { grid-template-columns: 1.4fr 1fr; }
.afs-overview__grid--b { grid-template-columns: 1fr 1.4fr; }
.afs-overview__quote {
	font-family: var(--afs-font-body);
	font-style: italic;
	font-size: clamp(22px, 2.6vw, 28px);
	line-height: 1.45;
	color: var(--afs-navy);
	margin-bottom: 24px;
}
.afs-overview__quote p { font-size: inherit; margin: 0; }
.afs-overview__text p {
	font-family: var(--afs-font-body);
	font-size: 19px;
	line-height: 1.75;
	color: var(--afs-ink);
	margin: 0 0 18px;
}
/* overview photos below the text (horizontal / masonry layout choice) */
.afs-overview__below { margin: 16px 0 44px; }
.afs-stat--inline { max-width: 380px; margin: 0 0 44px; }

.afs-overview__media { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 100px; }
.afs-overview__media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.afs-overview__img { margin: 0; border-radius: 14px; overflow: hidden; }
.afs-overview__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.afs-stat {
	background: var(--afs-navy);
	border-radius: 14px;
	padding: 22px 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
}
.afs-stat__value { font-family: var(--afs-font-head); font-weight: 700; font-size: 34px; line-height: 1; color: var(--afs-gold); }
.afs-stat__caption { font-family: var(--afs-font-head); font-size: 18px; line-height: 1.4; color: var(--afs-sky); }

.afs-includes-card {
	background: #fff;
	border: 1px solid var(--afs-mist);
	border-radius: 14px;
	padding: 36px 40px;
	margin-top: 16px;
}
.afs-includes-card h3 {
	font-family: var(--afs-font-head);
	font-weight: 600;
	font-size: 24px;
	color: var(--afs-navy);
	margin: 0 0 20px;
}
.afs-includes-card__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.afs-includes-card__item {
	display: flex;
	gap: 12px;
	align-items: baseline;
	font-family: var(--afs-font-head);
	font-size: 18px;
	line-height: 1.5;
	color: var(--afs-ink);
}
.afs-check { font-weight: 700; font-size: 18px; color: var(--afs-green); }

/* ---------- itinerary timeline ---------- */
.afs-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	margin: -8px 0 40px;
	font-family: var(--afs-font-head);
	font-size: 18px;
	color: var(--afs-slate);
}
.afs-legend__item { display: inline-flex; align-items: center; gap: 8px; }
.afs-legend__dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }

.afs-day {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 28px;
}
.afs-day__rail { display: flex; flex-direction: column; align-items: center; }
.afs-day__node {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #fff;
	border: 2.5px solid currentColor;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}
.afs-day__node svg { display: block; }
.afs-day__connector {
	width: 0;
	border-left: 3px dotted var(--afs-sky);
	flex: 1;
	margin: 8px 0;
}
.afs-day__body { padding-bottom: 48px; min-width: 0; }
.afs-day:last-child .afs-day__body { padding-bottom: 0; }
.afs-day__label {
	font-family: var(--afs-font-head);
	font-weight: 600;
	font-size: 18px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin: 8px 0 6px;
}
h3.afs-day__title, .afs-day__title {
	font-family: var(--afs-font-head);
	font-weight: 600;
	font-size: clamp(21px, 2.4vw, 26px);
	line-height: 1.25;
	color: var(--afs-navy);
	margin: 0 0 14px;
}
.afs-day__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.afs-day__grid--img-left { grid-template-columns: 1fr 1.5fr; }
.afs-day__grid--img-left .afs-day__text { order: 2; }
.afs-day__grid--img-left .afs-day__photo { order: 1; }
.afs-day--compact .afs-day__text { max-width: 720px; }
.afs-day__desc, .afs-day__desc p, .afs-day__text > p {
	font-family: var(--afs-font-body);
	font-size: 19px;
	line-height: 1.75;
	color: var(--afs-ink);
}
.afs-day__desc p { margin: 0 0 14px; }
.afs-day__photo { margin: 0; border-radius: 14px; overflow: hidden; }
.afs-day__photo img { width: 100%; height: 100%; max-height: 320px; object-fit: cover; display: block; }
.afs-day__callout {
	background: var(--afs-mist);
	border-radius: 12px;
	padding: 20px 24px;
	margin: 14px 0;
}
.afs-day__callout-label {
	font-family: var(--afs-font-head);
	font-weight: 600;
	font-size: 18px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--afs-navy);
	margin-bottom: 6px;
}
.afs-day__callout p { font-family: var(--afs-font-body); font-size: 18px; line-height: 1.65; color: var(--afs-ink); margin: 0; }
.afs-day__meals {
	font-family: var(--afs-font-head);
	font-size: 18px;
	color: var(--afs-slate);
	margin-top: 14px;
}
.afs-day__meals strong { color: var(--afs-navy); }
.afs-day__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.afs-chip {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	padding: 8px 18px;
	font-family: var(--afs-font-head);
	font-weight: 600;
	font-size: 18px;
	letter-spacing: 0.03em;
	text-decoration: none;
}
.afs-chip--meals { background: var(--afs-sky); color: var(--afs-navy) !important; }
a.afs-chip--hotel, .afs-chip--hotel { background: var(--afs-navy); color: var(--afs-paper) !important; }
a.afs-chip--hotel:hover { background: var(--afs-blue); color: #fff !important; }

/* ---------- about band ---------- */
.afs-about__cols { columns: 2; column-gap: 48px; }
.afs-about__cols p {
	font-family: var(--afs-font-body);
	font-size: 19px;
	line-height: 1.8;
	color: #DCE4F5;
	margin: 0 0 16px;
}
.afs-sec--about .afs-sec__title--light { font-size: clamp(26px, 3vw, 34px); }

/* ---------- trip tips ---------- */
.afs-tips__intro {
	font-family: var(--afs-font-body);
	font-style: italic;
	font-size: 19px;
	line-height: 1.7;
	color: var(--afs-ink);
	max-width: 860px;
	margin-bottom: 22px;
}
.afs-tips__warning {
	background: #FDF3F4;
	border: 1px solid var(--afs-coral);
	border-radius: 12px;
	padding: 18px 24px;
	font-family: var(--afs-font-head);
	font-size: 18px;
	line-height: 1.6;
	color: var(--afs-ink);
	margin-bottom: 28px;
}
.afs-tips__warning strong { color: var(--afs-red); }
.afs-tips { display: flex; flex-direction: column; gap: 14px; }
.afs-tips__section {
	background: #fff;
	border: 1px solid var(--afs-mist);
	border-radius: 12px;
	overflow: hidden;
}
.afs-tips__section summary {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 18px 24px;
	cursor: pointer;
	list-style: none;
}
.afs-tips__section summary::-webkit-details-marker { display: none; }
.afs-tips__chip {
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-family: var(--afs-font-head);
	font-weight: 700;
	font-size: 18px;
	line-height: 1;
}
.afs-tips__heading {
	flex: 1;
	font-family: var(--afs-font-head);
	font-weight: 600;
	font-size: 19px;
	color: var(--afs-navy);
}
.afs-tips__toggle {
	font-family: var(--afs-font-head);
	font-weight: 600;
	font-size: 22px;
	color: var(--afs-slate);
	transition: transform .2s ease;
}
.afs-tips__section[open] .afs-tips__toggle { transform: rotate(45deg); }
.afs-tips__content {
	padding: 0 24px 22px 78px;
	font-family: var(--afs-font-body);
	font-size: 18px;
	line-height: 1.75;
	color: var(--afs-ink);
}
.afs-tips__content p { margin: 0 0 12px; font-size: 18px; }
.afs-tips__content ul, .afs-tips__content ol { margin: 0 0 12px; padding-left: 1.3em; }

/* ---------- shared gallery layouts (horizontal / vertical; masonry below) ---------- */
.afs-gal { display: grid; gap: 16px; }
.afs-gal--h { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 230px; }
.afs-gal--v { grid-template-columns: 1fr; }
.afs-gal__tile { display: block; border-radius: 14px; overflow: hidden; }
.afs-gal__tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.afs-gal__tile:hover img { transform: scale(1.04); }
.afs-gal--v .afs-gal__tile img { height: auto; max-height: 560px; }

/* itinerary-day galleries */
.afs-day__gallery { margin-top: 20px; }
.afs-day__gallery .afs-masonry { grid-auto-rows: 140px; }
.afs-day__gallery .afs-gal--h { grid-auto-rows: 200px; }
.afs-day__photocol .afs-gal--v .afs-gal__tile img { max-height: 280px; height: 100%; }

/* ---------- masonry gallery ---------- */
.afs-galleries__h {
	font-family: var(--afs-font-head);
	font-weight: 600;
	font-size: 24px;
	color: var(--afs-navy);
	margin: 40px 0 20px;
}
.afs-masonry {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 170px;
	grid-auto-flow: dense;
	gap: 16px;
}
.afs-masonry__tile {
	display: block;
	border-radius: 14px;
	overflow: hidden;
}
.afs-masonry__tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.afs-masonry__tile:hover img { transform: scale(1.04); }
.afs-masonry__tile--feature { grid-column: span 2; grid-row: span 2; }
.afs-masonry__tile--tall { grid-row: span 2; }
.afs-masonry__tile--wide { grid-column: span 2; }

/* ---------- pricing ---------- */
.afs-price-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
	margin-bottom: 28px;
}
.afs-price-card {
	background: #fff;
	border: 1px solid var(--afs-mist);
	border-radius: 14px;
	padding: 30px 28px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.afs-price-card--early { background: var(--afs-navy); border-color: var(--afs-navy); }
.afs-price-card__label {
	font-family: var(--afs-font-head);
	font-weight: 600;
	font-size: 18px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--afs-slate);
}
.afs-price-card--early .afs-price-card__label { color: var(--afs-gold); }
.afs-price-card__value {
	font-family: var(--afs-font-head);
	font-weight: 700;
	font-size: 44px;
	line-height: 1.1;
	color: var(--afs-navy);
}
.afs-price-card--early .afs-price-card__value { color: var(--afs-paper); }
.afs-price-card__meta { font-family: var(--afs-font-head); font-size: 18px; color: var(--afs-slate); }
.afs-price-card--early .afs-price-card__meta { color: var(--afs-sky); }

.afs-info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.afs-info-card {
	background: #fff;
	border: 1px solid var(--afs-mist);
	border-radius: 14px;
	padding: 28px 30px;
}
.afs-info-card--full { grid-column: 1 / -1; margin-top: 24px; }
.afs-info-card h3 {
	font-family: var(--afs-font-head);
	font-weight: 600;
	font-size: 20px;
	color: var(--afs-navy);
	margin: 0 0 16px;
}
.afs-info-card__rows { display: flex; flex-direction: column; gap: 12px; }
.afs-info-card__row {
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 14px;
	font-family: var(--afs-font-head);
	font-size: 18px;
	line-height: 1.55;
	color: var(--afs-ink);
}
.afs-info-card__date { font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--afs-red); }
.afs-info-card__fine { font-family: var(--afs-font-head); font-size: 18px; line-height: 1.6; color: var(--afs-slate); margin: 16px 0 0; }
.afs-info-card__body { font-family: var(--afs-font-body); font-size: 18px; line-height: 1.7; color: var(--afs-ink); margin: 0; }

/* ---------- final CTA band ---------- */
.afs-sec--finalcta h2 {
	font-family: var(--afs-font-head) !important;
	font-weight: 700;
	font-size: clamp(30px, 3.6vw, 40px);
	color: var(--afs-navy) !important;
	margin: 0 0 12px;
}
.afs-finalcta__tagline {
	font-family: var(--afs-font-body);
	font-style: italic;
	font-size: 20px;
	color: var(--afs-slate);
	margin: 0 0 28px;
}

/* ---------- misc ---------- */
.afs-protected-note {
	background: var(--afs-mist);
	border-radius: 12px;
	padding: 24px 28px;
	font-family: var(--afs-font-body);
	font-size: 18px;
	color: var(--afs-ink);
}
.afs-protected-note a { color: var(--afs-blue); }

/* smooth anchor scrolling with room for the sticky site header */
html { scroll-behavior: smooth; }
#itinerary, #trip-tips, #photos, #pricing { scroll-margin-top: 90px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
	.afs-overview__grid--a, .afs-overview__grid--b { gap: 36px; }
	.afs-masonry { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 150px; }
}
@media (max-width: 767px) {
	.afs-wrap { padding: 0 20px; }
	.afs-sec { padding: 48px 0; }
	/* extra top padding: the floating logo card overlays the hero on phones */
	.afs-hero__content { min-height: 460px; padding-top: 130px; padding-bottom: 44px; }
	/* keep the tab bar one row, swipeable, instead of wrapping to two rows */
	.afs-hero__tabs-inner { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	.afs-hero__tabs-inner::-webkit-scrollbar { display: none; }
	.afs-hero__tabs a { padding: 14px 16px 11px; white-space: nowrap; }
	.afs-overview__grid--a, .afs-overview__grid--b { grid-template-columns: 1fr; }
	.afs-overview__grid--b .afs-overview__media { order: 2; }
	.afs-overview__media { position: static; }
	.afs-includes-card { padding: 26px 22px; }
	.afs-includes-card__grid { grid-template-columns: 1fr; }
	.afs-day { grid-template-columns: 48px 1fr; gap: 18px; }
	.afs-day__node { width: 48px; height: 48px; }
	.afs-day__node svg { width: 24px; height: 24px; }
	.afs-day__grid, .afs-day__grid--img-left { grid-template-columns: 1fr; gap: 18px; }
	.afs-day__grid .afs-day__photo, .afs-day__grid--img-left .afs-day__photo { order: -1; }
	.afs-day__grid .afs-day__text, .afs-day__grid--img-left .afs-day__text { order: 0; }
	.afs-about__cols { columns: 1; }
	.afs-tips__content { padding-left: 24px; }
	.afs-masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
	.afs-gal--h { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
	.afs-info-cards { grid-template-columns: 1fr; }
	.afs-price-card__value { font-size: 36px; }
	.afs-trip-meta { justify-content: center; }
}

/* ---------- listing pages (trip card grid) ---------- */
.afs-listing-hero { background: var(--afs-navy); padding: 56px 0; text-align: center; }
.afs-listing-hero__crumb {
	font-family: var(--afs-font-head);
	font-size: 13px;
	color: var(--afs-sky);
	margin: 0 0 14px;
	letter-spacing: 0.02em;
}
.afs-listing-hero h1 {
	font-family: var(--afs-font-head) !important;
	font-weight: 700;
	font-size: clamp(34px, 4.4vw, 52px);
	line-height: 1.12;
	color: var(--afs-paper) !important;
	margin: 0;
}
.afs-listing-hero__sub {
	font-family: var(--afs-font-body);
	font-style: italic;
	font-size: 19px;
	color: var(--afs-sky);
	margin: 14px auto 0;
	max-width: 640px;
	line-height: 1.45;
}

/* year filter chips */
.afs-year-chips { background: var(--afs-paper); padding: 28px 0 8px; }
.afs-year-chips__inner { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.afs-year-chip {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0 18px;
	border-radius: 999px;
	font-family: var(--afs-font-head);
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	color: var(--afs-navy);
	background: #fff;
	border: 1.5px solid var(--afs-mist);
	transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.afs-year-chip:hover { border-color: var(--afs-blue); color: var(--afs-blue); }
.afs-year-chip.is-active { background: var(--afs-navy); color: var(--afs-paper); border-color: var(--afs-navy); }

/* cross-sell band */
.afs-cross-sell { background: var(--afs-paper); padding: 0 0 72px; }
.afs-cross-sell__inner {
	text-align: center;
	max-width: 720px;
	margin: 0 auto;
	border-radius: 16px;
	padding: 40px 32px;
	background: var(--afs-mist);
}
.afs-cross-sell h2 {
	font-family: var(--afs-font-head);
	font-weight: 600;
	font-size: 20px;
	color: var(--afs-navy);
	margin: 0 0 10px;
}
.afs-cross-sell__sub {
	font-family: var(--afs-font-body);
	font-style: italic;
	font-size: 17px;
	color: var(--afs-slate);
	margin: 0 0 24px;
}

.afs-sec--listing { background: var(--afs-paper); }
.afs-listing__heading {
	font-family: var(--afs-font-head) !important;
	font-weight: 600;
	font-size: clamp(26px, 3vw, 34px);
	color: var(--afs-navy) !important;
	margin: 0 0 32px;
}
.afs-listing__empty { text-align: center; padding: 48px 0; }
.afs-listing__empty p { font-family: var(--afs-font-body); font-size: 20px; color: var(--afs-slate); margin: 0 0 28px; }

.afs-trip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.afs-tcard {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(34, 55, 111, 0.08);
	transition: transform .15s ease, box-shadow .15s ease;
}
.afs-tcard:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(34, 55, 111, 0.16); }
.afs-tcard__media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; }
img.afs-tcard__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.afs-tcard__img--empty { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--afs-navy), var(--afs-blue)); }
.afs-tcard__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 6px 14px;
	border-radius: 999px;
	font-family: var(--afs-font-head);
	font-weight: 600;
	font-size: 18px;
	color: #fff;
}
.afs-tcard__badge--open { background: var(--afs-green); }
.afs-tcard__badge--soldout { background: var(--afs-red); }
.afs-tcard__badge--waitlist { background: var(--afs-gold-dark); }
.afs-tcard__badge--past { background: var(--afs-slate); }
.afs-tcard__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 28px; }
.afs-tcard__dates {
	font-family: var(--afs-font-head);
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--afs-red);
	margin-bottom: 8px;
}
.afs-tcard__title { margin: 0 0 6px; }
h3.afs-tcard__title, .afs-tcard__title a {
	font-family: var(--afs-font-head) !important;
	font-weight: 600;
	font-size: 24px;
	line-height: 1.25;
	color: var(--afs-navy) !important;
	text-decoration: none;
}
.afs-tcard__title a:hover { color: var(--afs-blue) !important; }
.afs-tcard__tagline {
	font-family: var(--afs-font-body);
	font-style: italic;
	font-size: 18px;
	color: var(--afs-slate);
	margin: 0 0 10px;
}
.afs-tcard__blurb { font-family: var(--afs-font-body); font-size: 18px; line-height: 1.6; color: var(--afs-ink); margin: 0 0 20px; }
.afs-tcard__cta { margin-top: auto; }
.afs-btn--card {
	background: transparent;
	color: var(--afs-blue) !important;
	box-shadow: inset 0 0 0 2px var(--afs-blue);
	min-height: 46px;
	padding: 0 26px;
}
.afs-btn--card:hover { background: var(--afs-blue); color: #fff !important; }

/* completed-trip cards (Recent archive) */
.afs-trip-grid--recent .afs-tcard--completed .afs-tcard__media { aspect-ratio: auto; height: 220px; }
.afs-tcard--completed { border-radius: 14px; border: 1px solid var(--afs-mist); overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.afs-tcard--completed:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(34,55,111,0.14); }
.afs-tcard--completed .afs-tcard__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.afs-tcard__badge--completed {
	background: rgba(34,55,111,0.85);
	color: #fff;
	font-size: 11.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 6px 12px;
}
.afs-tcard__eyebrow {
	font-family: var(--afs-font-head);
	font-weight: 600;
	font-size: 11.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--afs-blue);
	margin-bottom: 8px;
	display: block;
}
.afs-tcard--completed .afs-tcard__tagline { font-size: 14px; font-style: italic; color: var(--afs-slate); margin: 0 0 16px; }
.afs-tcard__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 8px;
}
.afs-tcard__count { font-family: var(--afs-font-head); font-size: 12.5px; color: var(--afs-slate); }
.afs-tcard__highlights { font-family: var(--afs-font-head); font-weight: 600; font-size: 13.5px; color: var(--afs-red); }

@media (max-width: 1024px) {
	.afs-trip-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 640px) {
	.afs-trip-grid { grid-template-columns: 1fr; }
	.afs-listing-hero { padding: 120px 0 48px; }
}

/* ---------- print (browser print of the whole page) ---------- */
@media print {
	.afs-no-print { display: none !important; }
	.afs-sec { padding: 24px 0; }
	.afs-sec--about, .afs-sec--finalcta { background: #fff; }
	.afs-about__cols p { color: var(--afs-ink); }
	.afs-sec__title--light { color: var(--afs-navy); }
	.afs-tips__section { border: none; }
	.afs-tips__section summary { padding: 8px 0; }
	.afs-tips__content { padding: 0 0 16px; }
	.afs-day__connector { border-left-color: #bbb; }
}
