/**
 * Spurwing Tour Prototype — day-tour experience layer (v0.11.0)
 *
 * Printed after tour.css and scoped to .spw-tour--day, so multi-day
 * packages (room_occupancy pricing) and the locked base stylesheet are
 * untouched. Experience first, booking second: a cinematic full-bleed
 * hero with one action, an editorial story, compact "At a glance" rows,
 * a narrative day, plain inclusion lists, a quiet booking panel and an
 * editorial "Continue exploring" chapter. Typography, spacing and rules
 * do the work — no decorative icons, no card walls, no forced overrides.
 */

/* ---------------------------------------------------------- Tokens */
.spw-tour--day {
	--spw-x-ink: #1F1F1B;
	--spw-x-copy: #4A4A44;
	--spw-x-muted: #6B6B62;
	--spw-x-line: #D8D3C8;
	--spw-x-stone: #EBE7DC;
	--spw-x-paper: #F7F5EF;
	--spw-x-olive: #5F6238;
	--spw-x-gold: #A98A4B;
}

/* ---------------------------------------------------------- Hero: full-bleed, text left, one action */
.spw-tour--day .spw-hero {
	max-width: none;
	margin: 0;
	border-radius: 0;
	min-height: clamp(560px, 68vh, 720px);
	overflow: hidden;
	background: var(--spw-x-ink);
	display: flex;
	align-items: center;
}
.spw-tour--day .spw-hero__media {
	border-radius: 0;
}
.spw-tour--day .spw-hero__image {
	object-position: var(--spw-x-hero-pos, 50% 50%);
}
.spw-tour--day .spw-hero__overlay {
	background:
		linear-gradient(90deg, rgba(20, 18, 10, 0.82) 0%, rgba(20, 18, 10, 0.64) 46%, rgba(20, 18, 10, 0.22) 72%, rgba(20, 18, 10, 0.04) 100%),
		linear-gradient(0deg, rgba(20, 18, 10, 0.38) 0%, rgba(20, 18, 10, 0) 42%);
}
.spw-tour--day .spw-hero__content {
	width: var(--spw-container);
	max-width: none;
	margin: 0 auto;
	padding: clamp(3rem, 6vw, 5.5rem) 0;
	justify-content: center;
	min-height: 0;
}
.spw-tour--day .spw-hero__content > * {
	max-width: 640px;
}
.spw-tour--day .spw-breadcrumb {
	max-width: none;
	margin: 0 0 clamp(1.75rem, 3vw, 3rem);
}
.spw-tour--day .spw-breadcrumb ol {
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.8rem;
	letter-spacing: 0.04em;
}
.spw-tour--day .spw-breadcrumb a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.28);
	padding: 12px 0;
	margin: -12px 0;
	line-height: 20px;
	display: inline-block;
}
.spw-tour--day .spw-breadcrumb a:hover {
	color: #fff;
	border-bottom-color: #fff;
}
.spw-tour--day .spw-breadcrumb [aria-current] {
	color: #fff;
}
.spw-tour--day .spw-hero .spw-eyebrow--on-dark {
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	margin-bottom: 1rem;
}
.spw-tour--day .spw-hero__heading {
	font-size: clamp(2.5rem, 1.6rem + 3vw, 4.125rem);
	line-height: 1.02;
	letter-spacing: -0.03em;
	max-width: 15ch;
	margin: 0 0 1.1rem;
	text-shadow: 0 1px 24px rgba(0, 0, 0, 0.25);
}
.spw-tour--day .spw-hero__subtitle {
	font-size: clamp(1rem, 0.9rem + 0.35vw, 1.15rem);
	line-height: 1.6;
	max-width: 36rem;
	margin: 0 0 1.25rem;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
}
.spw-tour--day .spw-hero__meta {
	gap: 0.6rem 1.5rem;
	margin: 0 0 1.75rem;
	font-family: Inter, sans-serif;
}
.spw-tour--day .spw-hero__meta li {
	gap: 0;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.88);
}
.spw-tour--day .spw-hero__meta strong {
	display: inline;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.62);
	margin-right: 0.5rem;
}
.spw-tour--day .spw-x-hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.9rem 1.5rem;
}
.spw-tour--day .spw-x-hero-btn {
	background: var(--spw-x-olive);
	border: 1px solid var(--spw-x-olive);
	color: #fff;
	border-radius: 4px;
	padding: 0.95rem 1.5rem;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	box-sizing: border-box;
}
.spw-tour--day .spw-x-hero-btn:hover {
	background: #4E512E;
	border-color: #4E512E;
	color: #fff;
}
.spw-tour--day .spw-x-hero-price {
	margin: 0;
	font-family: Inter, sans-serif;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.9);
}
/* v0.11.2: a bookable tour's quiet alternative — the contextual enquiry route, as a text link beside the price line */
.spw-tour--day .spw-x-hero-alt {
	margin: 0;
	font-family: Inter, sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.92);
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.55);
	padding-bottom: 2px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}
.spw-tour--day .spw-x-hero-alt:hover {
	color: #fff;
	border-bottom-color: #fff;
}
/* the booking card stays in the DOM (the booking script binds to it) but the hero shows one action; the panel below carries the flow */
.spw-tour--day .spw-booking-card {
	display: none;
}

/* ---------------------------------------------------------- The experience */
.spw-tour--day .spw-story {
	grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
	align-items: center;
	padding-top: clamp(3.5rem, 3rem + 2vw, 5rem);
}
.spw-tour--day .spw-story .spw-heading {
	font-size: clamp(2rem, 1.4rem + 1.8vw, 2.875rem);
	letter-spacing: -0.02em;
	line-height: 1.08;
	margin-bottom: 1.25rem;
}
.spw-tour--day .spw-story .spw-body {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--spw-x-copy);
	max-width: 34rem;
}
.spw-tour--day .spw-story__media img {
	border-radius: 6px;
	aspect-ratio: 4 / 3;
	height: auto; /* v0.11.9: the width/height attributes reserve the box; the CSS ratio still governs the rendered frame */
}

/* ---------------------------------------------------------- At a glance */
.spw-tour--day .spw-x-glance {
	padding-top: 0;
	padding-bottom: clamp(2rem, 1.25rem + 2.5vw, 3.25rem);
}
.spw-tour--day .spw-x-glance .spw-eyebrow {
	margin: 0 0 0.9rem;
}
.spw-tour--day .spw-x-glance__list {
	margin: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	border-top: 1px solid var(--spw-x-line);
	border-bottom: 1px solid var(--spw-x-line);
}
.spw-tour--day .spw-x-glance__row {
	padding: 1rem 1.5rem 1rem 0;
	border-left: 1px solid var(--spw-x-line);
	padding-left: 1.5rem;
	min-width: 0;
}
.spw-tour--day .spw-x-glance__row:first-child {
	border-left: 0;
	padding-left: 0;
}
.spw-tour--day .spw-x-glance__row:nth-child(4n + 1) {
	border-left: 0;
	padding-left: 0;
}
.spw-tour--day .spw-x-glance__row:nth-child(n + 5) {
	border-top: 1px solid var(--spw-x-line);
}
.spw-tour--day .spw-x-glance dt {
	font-family: Inter, sans-serif;
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--spw-x-muted);
	margin: 0 0 0.35rem;
}
.spw-tour--day .spw-x-glance dd {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--spw-x-ink);
	overflow-wrap: anywhere;
}

/* ---------------------------------------------------------- What your day looks like */
.spw-tour--day .spw-itinerary {
	background: var(--spw-x-stone);
	max-width: none;
	padding: clamp(2.5rem, 2rem + 1.6vw, 3.6rem) 0; /* v0.11.4: ~18 % less field around the journey */
}
.spw-tour--day .spw-itinerary > * {
	width: var(--spw-container);
	margin-left: auto;
	margin-right: auto;
}
.spw-tour--day .spw-itinerary .spw-section__header {
	max-width: none;
	width: var(--spw-container);
}
.spw-tour--day .spw-itinerary .spw-heading {
	font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem);
	letter-spacing: -0.02em;
	max-width: 20ch;
}
/* ---------------------------------------------------------- Your day at a glance (v0.11.7): a compact journey strip.
   One card per stop, chronological, every card carrying its own bound photograph (3:2) or none — a summary
   chapter, not an editorial image story. Desktop: up to five equal columns on one connecting line with
   numbered markers; tablet: three columns; phone: a single compact sequence, each stop's photograph beside
   its own copy. Card count = stop count; state classes (--img3/2/1/--text) follow the imagery the record has. */
.spw-tour--day .spw-x-journey__strip {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1.5rem clamp(1rem, 1.6vw, 1.5rem);
}
.spw-tour--day .spw-x-journey--n1 .spw-x-journey__strip { grid-template-columns: minmax(0, 1fr); max-width: 22rem; }
.spw-tour--day .spw-x-journey--n2 .spw-x-journey__strip { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 46rem; }
.spw-tour--day .spw-x-journey--n3 .spw-x-journey__strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.spw-tour--day .spw-x-journey--n4 .spw-x-journey__strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* the connecting line runs through the markers, from the first marker's centre to the last's */
.spw-tour--day .spw-x-journey__strip::before {
	content: "";
	position: absolute;
	top: 14px;
	left: 10%;
	right: 10%;
	height: 1px;
	background: rgba(31, 31, 27, 0.22);
}
.spw-tour--day .spw-x-journey--n4 .spw-x-journey__strip::before { left: 12.5%; right: 12.5%; }
.spw-tour--day .spw-x-journey--n3 .spw-x-journey__strip::before { left: 16.7%; right: 16.7%; }
.spw-tour--day .spw-x-journey--n2 .spw-x-journey__strip::before { left: 25%; right: 25%; }
.spw-tour--day .spw-x-journey--n1 .spw-x-journey__strip::before,
.spw-tour--day .spw-x-journey--many .spw-x-journey__strip::before { content: none; } /* one card, or more than one row: no line */
.spw-tour--day .spw-x-journey__stop {
	position: relative;
	min-width: 0;
	margin: 0;
	padding: 0;
}
.spw-tour--day .spw-x-journey__num {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background: var(--spw-x-olive);
	color: #fff;
	font-family: Inter, sans-serif;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1;
}
.spw-tour--day .spw-x-journey__fig {
	margin: 0 0 0.85rem;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: 4px;
	background: rgba(31, 31, 27, 0.06);
}
.spw-tour--day .spw-x-journey__fig img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.spw-tour--day .spw-x-journey__title {
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.3;
	margin: 0 0 0.35rem;
}
.spw-tour--day .spw-x-journey__body {
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--spw-x-copy);
	margin: 0;
}
.spw-tour--day .spw-x-journey__title:last-child {
	margin-bottom: 0;
}
/* tablet: three across, the line no longer reads across rows */
@media (max-width: 1100px) {
	.spw-tour--day .spw-x-journey__strip,
	.spw-tour--day .spw-x-journey--n4 .spw-x-journey__strip {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.spw-tour--day .spw-x-journey__strip::before {
		content: none;
	}
}
/* phone: a single compact sequence — number, then the stop's own photograph beside its own copy */
@media (max-width: 700px) {
	.spw-tour--day .spw-x-journey__strip,
	.spw-tour--day .spw-x-journey--n2 .spw-x-journey__strip,
	.spw-tour--day .spw-x-journey--n3 .spw-x-journey__strip,
	.spw-tour--day .spw-x-journey--n4 .spw-x-journey__strip {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		max-width: none;
	}
	.spw-tour--day .spw-x-journey__stop {
		display: grid;
		grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
		column-gap: 0.9rem;
		align-items: start;
		padding: 0.9rem 0;
		border-top: 1px solid rgba(31, 31, 27, 0.14);
	}
	.spw-tour--day .spw-x-journey__stop:first-child {
		border-top: 0;
		padding-top: 0;
	}
	.spw-tour--day .spw-x-journey__num {
		grid-column: 1 / -1;
		margin: 0 0 0.6rem;
		width: 26px;
		height: 26px;
	}
	.spw-tour--day .spw-x-journey__fig {
		grid-column: 1;
		grid-row: 2 / span 2;
		margin: 0;
	}
	.spw-tour--day .spw-x-journey__stop--text .spw-x-journey__title,
	.spw-tour--day .spw-x-journey__stop--text .spw-x-journey__body {
		grid-column: 1 / -1;
	}
	.spw-tour--day .spw-x-journey__stop--image .spw-x-journey__title,
	.spw-tour--day .spw-x-journey__stop--image .spw-x-journey__body {
		grid-column: 2;
	}
}
/* ---------------------------------------------------------- Included / not included */
.spw-tour--day .spw-x-details {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(2rem, 4vw, 4rem);
	align-items: start;
}
.spw-tour--day .spw-x-details .spw-card {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
}
.spw-tour--day .spw-x-details .spw-card__title {
	font-size: 0.72rem;
	font-family: Inter, sans-serif;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--spw-x-muted);
	margin: 0 0 0.6rem;
}
.spw-tour--day .spw-x-details .spw-check-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.spw-tour--day .spw-x-details .spw-check-list li {
	display: block;
	padding: 0.7rem 0;
	border-top: 1px solid var(--spw-x-line);
	font-size: 0.98rem;
	line-height: 1.55;
	color: var(--spw-x-ink);
}
.spw-tour--day .spw-x-details .spw-check-list li:last-child {
	border-bottom: 1px solid var(--spw-x-line);
}
.spw-tour--day .spw-x-details .spw-check-list--no li {
	color: var(--spw-x-copy);
}

/* ---------------------------------------------------------- Booking / enquiry: quiet panel */
.spw-tour--day .spw-booking-expanded .spw-section__header {
	max-width: 40rem;
}
.spw-tour--day .spw-booking-panel {
	background: var(--spw-x-paper);
	border: 1px solid var(--spw-x-line);
	border-radius: 6px;
	box-shadow: none;
}
.spw-tour--day .spw-booking-panel .spw-card {
	background: #fff;
	border-color: var(--spw-x-line);
	border-radius: 6px;
	box-shadow: none;
}
.spw-tour--day .spw-summary--enquiry,
.spw-tour--day .spw-summary--contact {
	max-width: 40rem;
}
.spw-tour--day .spw-x-ref {
	margin: -0.75rem 0 1rem;
	font-family: Inter, sans-serif;
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	color: var(--spw-x-muted);
}
.spw-tour--day .spw-summary__secure,
.spw-tour--day .spw-reassurance {
	font-family: Inter, sans-serif;
	font-size: 0.82rem;
	color: var(--spw-x-muted);
}

/* ---------------------------------------------------------- Continue exploring */
.spw-tour--day .spw-continue .spw-section__header {
	max-width: none;
	display: flex;
	flex-direction: column;
}
.spw-tour--day .spw-continue .spw-heading {
	font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem);
	letter-spacing: -0.02em;
}

/* ---------------------------------------------------------- Responsive */
@media (max-width: 900px) {
	.spw-tour--day .spw-hero {
		min-height: clamp(520px, 64vh, 640px);
	}
	.spw-tour--day .spw-story {
		grid-template-columns: 1fr;
	}
	.spw-tour--day .spw-story__media {
		order: -1;
	}
	.spw-tour--day .spw-x-glance__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.spw-tour--day .spw-x-glance__row:nth-child(4n + 1) {
		border-left: 1px solid var(--spw-x-line);
		padding-left: 1.5rem;
	}
	.spw-tour--day .spw-x-glance__row:nth-child(2n + 1) {
		border-left: 0;
		padding-left: 0;
	}
	.spw-tour--day .spw-x-glance__row:nth-child(n + 3) {
		border-top: 1px solid var(--spw-x-line);
	}
	.spw-tour--day .spw-x-details {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}
@media (max-width: 640px) {
	.spw-tour--day .spw-hero {
		min-height: min(84vh, 640px);
		align-items: flex-end;
	}
	.spw-tour--day .spw-hero__image {
		object-position: var(--spw-x-hero-pos-m, 60% 50%);
	}
	.spw-tour--day .spw-hero__overlay {
		background: linear-gradient(0deg, rgba(20, 18, 10, 0.88) 0%, rgba(20, 18, 10, 0.62) 46%, rgba(20, 18, 10, 0.12) 100%);
	}
	.spw-tour--day .spw-hero__content {
		padding: 2.5rem 0 2.75rem;
		justify-content: flex-end;
	}
	.spw-tour--day .spw-breadcrumb {
		margin-bottom: 1.5rem;
	}
	.spw-tour--day .spw-hero__heading {
		font-size: clamp(2.125rem, 9vw, 2.625rem);
		max-width: none;
	}
	.spw-tour--day .spw-hero__subtitle {
		-webkit-line-clamp: 3;
		font-size: 1rem;
	}
	.spw-tour--day .spw-hero__meta {
		flex-direction: column;
		gap: 0.4rem;
	}
	.spw-tour--day .spw-x-hero-actions {
		flex-direction: column;
		align-items: stretch;
	}
	.spw-tour--day .spw-x-hero-btn {
		justify-content: center;
		width: 100%;
	}
	.spw-tour--day .spw-x-hero-alt {
		align-self: flex-start;
	}
	.spw-tour--day .spw-x-glance__list {
		grid-template-columns: 1fr;
	}
	.spw-tour--day .spw-x-glance__row,
	.spw-tour--day .spw-x-glance__row:nth-child(4n + 1),
	.spw-tour--day .spw-x-glance__row:nth-child(2n + 1) {
		border-left: 0;
		padding-left: 0;
		padding-right: 0;
		border-top: 1px solid var(--spw-x-line);
	}
	.spw-tour--day .spw-x-glance__row:first-child {
		border-top: 0;
	}
}

/* ---------------------------------------------------------- Full-bleed bands (the host keeps the theme's root padding; these two chapters run edge to edge) */
.spw-tour--day .spw-hero,
.spw-tour--day .spw-itinerary {
	margin-left: calc(-1 * var(--wp--style--root--padding-left, 0px));
	margin-right: calc(-1 * var(--wp--style--root--padding-right, 0px));
}

/* ---------------------------------------------------------- Tablet / phone: the cinematic hero keeps its overlay composition (the base stylesheet stacks the photo above dark text below 1024 px) */
@media (max-width: 1024px) {
	.spw-tour--day .spw-hero {
		min-height: clamp(520px, 64vh, 640px);
		border-radius: 0;
	}
	.spw-tour--day .spw-hero__media {
		position: absolute;
		inset: 0;
		height: auto;
		max-height: none;
		border-radius: 0;
	}
	.spw-tour--day .spw-hero__content {
		position: relative;
		width: var(--spw-container);
		margin: 0 auto;
		padding: clamp(2.5rem, 6vw, 4rem) 0;
		min-height: 0;
	}
	.spw-tour--day .spw-hero__overlay {
		display: block;
	}
	.spw-tour--day .spw-hero__heading,
	.spw-tour--day .spw-hero__subtitle,
	.spw-tour--day .spw-hero__meta li {
		color: #fff;
	}
}
@media (max-width: 640px) {
	.spw-tour--day .spw-hero {
		min-height: min(84vh, 640px);
	}
	.spw-tour--day .spw-hero__content {
		padding: 2.5rem 0 2.75rem;
	}
}
.spw-tour--day {
	overflow-x: visible; /* the base wrapper clips horizontally; the two full-bleed bands need the root-padding margins to show */
}
@media (max-width: 640px) {
	.spw-tour--day .spw-booking-panel {
		padding: 0.75rem;
	}
	.spw-tour--day .spw-booking-panel .spw-card {
		padding: 1.25rem 1rem;
	}
}
/* the base container leaves 48 px inside the theme's own root padding; on small screens that is too narrow a column */
@media (max-width: 1024px) {
	.spw-tour--day {
		--spw-container: min(1280px, 100% - 24px);
	}
}
@media (max-width: 640px) {
	.spw-tour--day {
		--spw-container: min(1280px, 100% - 8px);
	}
}
@media (max-width: 900px) {
	.spw-tour--day .spw-story__media img {
		aspect-ratio: 16 / 10;
	}
}

/* ---------------------------------------------------------- v0.11.1 polish */
/* a tour without a photograph does not need a full-height field */
.spw-tour--day .spw-hero--no-image {
	min-height: clamp(400px, 46vh, 520px);
}
@media (max-width: 640px) {
	.spw-tour--day .spw-hero--no-image {
		min-height: min(58vh, 460px);
	}
}
