.voyaren-trip-detail__days {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin: 1.5rem 0;
}

.voyaren-trip-detail__day-card {
	display: block;
}

.voyaren-trip-detail__day-card .voyaren-experience-finder__cta {
	display: inline-block;
	margin: 0.4rem 0 0.75rem;
}

/* ---- Editorial trip guide (trips with approved content, e.g. The First-Timer's Italy) ---- */

.voyaren-trip-detail--editorial {
	max-width: 760px;
}

.voyaren-trip-detail__section {
	margin: 0 0 2.25rem;
}

.voyaren-trip-detail__kicker {
	margin: 0 0 0.25rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #4a5a57;
}

.voyaren-trip-detail__h2 {
	margin: 0 0 0.6rem;
	font-size: 1.6rem;
	line-height: 1.2;
}

.voyaren-trip-detail__h3 {
	margin: 1.5rem 0 0.4rem;
	font-size: 1.15rem;
	line-height: 1.3;
}

.voyaren-trip-detail__lead {
	font-size: 1.05rem;
	margin: 0 0 1rem;
}

.voyaren-trip-detail__facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 0.75rem;
	margin: 1rem 0;
}

.voyaren-trip-detail__facts > div {
	background: #f2f6f5;
	border-radius: 8px;
	padding: 0.6rem 0.85rem;
}

.voyaren-trip-detail__facts dt {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #4a5a57;
}

.voyaren-trip-detail__facts dd {
	margin: 0.15rem 0 0;
	font-weight: 600;
}

.voyaren-trip-detail__bases {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	list-style: none;
	margin: 0.5rem 0;
	padding: 0;
}

.voyaren-trip-detail__bases li {
	display: flex;
	flex-direction: column;
	border: 1px solid #E4DDD1;
	border-radius: 8px;
	padding: 0.5rem 0.9rem;
	min-width: 8.5rem;
}

.voyaren-trip-detail__base-name {
	font-weight: 700;
}

.voyaren-trip-detail__base-nights {
	font-size: 0.85rem;
	color: #4a5a57;
}

.voyaren-trip-detail__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 0.75rem;
	align-items: center;
	margin: 1.25rem 0 0.4rem;
}

.voyaren-trip-detail__actions .voyaren-quiz__btn,
.voyaren-trip-detail__pdf .voyaren-quiz__btn {
	min-height: 44px;
}

.voyaren-trip-detail__text-link {
	display: inline-block;
	padding: 0.4rem 0;
	text-decoration: underline;
}

.voyaren-trip-detail__callout {
	background: #f2f6f5;
	border-left: 4px solid #4a5a57;
	border-radius: 0 8px 8px 0;
	padding: 0.65rem 0.9rem;
	margin: 1rem 0;
}

.voyaren-trip-detail__days--editorial {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.voyaren-trip-detail__day-title {
	margin: 0 0 0.4rem;
	font-size: 1.15rem;
	line-height: 1.3;
}

.voyaren-trip-detail__day-num {
	display: inline-block;
	margin-right: 0.35rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #4a5a57;
}

.voyaren-trip-detail__day-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0 0 0.6rem;
}

.voyaren-trip-detail__chip {
	display: inline-block;
	border: 1px solid #E4DDD1;
	border-radius: 999px;
	padding: 0.15rem 0.7rem;
	font-size: 0.85rem;
	background: #fff;
}

.voyaren-trip-detail__chip--night {
	background: #f2f6f5;
}

.voyaren-trip-detail__leg {
	background: #f2f6f5;
	border-radius: 8px;
	padding: 0.5rem 0.8rem;
	margin: 0 0 0.6rem;
	font-size: 0.95rem;
}

.voyaren-trip-detail__label {
	margin: 0.5rem 0 0.2rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #4a5a57;
}

.voyaren-trip-detail__optional {
	margin: 0 0 0.5rem;
	padding-left: 1.2rem;
}

.voyaren-trip-detail__note {
	font-size: 0.92rem;
	color: #4a5a57;
	margin: 0.5rem 0 0;
}

.voyaren-trip-detail__stay {
	padding-left: 1.2rem;
	margin: 0.4rem 0 1rem;
}

.voyaren-trip-detail__stay li {
	margin: 0.4rem 0;
}

.voyaren-trip-detail__table-wrap {
	overflow-x: auto;
	margin: 1rem 0;
}

.voyaren-trip-detail__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.voyaren-trip-detail__table caption {
	text-align: left;
	font-weight: 700;
	padding: 0 0 0.5rem;
}

.voyaren-trip-detail__table th,
.voyaren-trip-detail__table td {
	text-align: left;
	vertical-align: top;
	padding: 0.55rem 0.6rem;
	border-bottom: 1px solid #E4DDD1;
}

.voyaren-trip-detail__table thead th {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #4a5a57;
}

.voyaren-trip-detail__table tbody th {
	font-weight: 600;
}

.voyaren-trip-detail__table .voyaren-trip-detail__num {
	text-align: right;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.voyaren-trip-detail__sub {
	font-weight: 400;
	font-size: 0.85rem;
	color: #4a5a57;
}

.voyaren-trip-detail__sum th,
.voyaren-trip-detail__sum td,
.voyaren-trip-detail__total th,
.voyaren-trip-detail__total td {
	font-weight: 700;
}

.voyaren-trip-detail__total th,
.voyaren-trip-detail__total td {
	border-top: 2px solid #4a5a57;
	background: #f2f6f5;
}

.voyaren-trip-detail__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.voyaren-trip-detail--editorial a:focus-visible {
	outline: 3px solid #1f5f5b;
	outline-offset: 2px;
}

@media (max-width: 520px) {
	.voyaren-trip-detail__h2 {
		font-size: 1.4rem;
	}
	.voyaren-trip-detail__actions .voyaren-quiz__btn {
		flex: 1 1 100%;
		text-align: center;
	}
	.voyaren-trip-detail__bases li {
		flex: 1 1 100%;
	}
}

/* ---- Section nav, city groups and the download card ---- */

.voyaren-trip-detail--editorial [id^="vtd-"] {
	scroll-margin-top: 4.25rem;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

.voyaren-trip-detail__nav {
	position: sticky;
	top: 0;
	z-index: 5;
	background: #FBF8F3;
	border-bottom: 1px solid #E4DDD1;
	margin: 0 0 1.5rem;
}

.voyaren-trip-detail__nav ul {
	display: flex;
	gap: 0.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	scrollbar-width: thin;
}

.voyaren-trip-detail__nav a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 0.85rem;
	white-space: nowrap;
	font-weight: 600;
	font-size: 0.92rem;
	text-decoration: none;
	color: #1B2A2E;
	border-bottom: 3px solid transparent;
}

.voyaren-trip-detail__nav a:hover {
	border-bottom-color: #E4DDD1;
}

.voyaren-trip-detail__nav a[aria-current="location"] {
	border-bottom-color: #AD5325;
}

.voyaren-trip-detail__assumption {
	margin: 0.25rem 0 1.25rem;
	padding: 0.65rem 0.9rem;
	background: #fff;
	border: 1px solid #E4DDD1;
	border-radius: 8px;
}

.voyaren-trip-detail__city {
	margin: 1.75rem 0 0;
	padding-left: 1rem;
	border-left: 4px solid #6b6157;
}

.voyaren-trip-detail__city--rome { border-left-color: #AD5325; }
.voyaren-trip-detail__city--florence { border-left-color: #2F6F62; }
.voyaren-trip-detail__city--venice { border-left-color: #1B2A2E; }

.voyaren-trip-detail__city-head {
	margin: 0 0 0.75rem;
}

.voyaren-trip-detail__city-title {
	margin: 0;
	font-size: 1.35rem;
	line-height: 1.2;
}

.voyaren-trip-detail__city-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1rem;
	margin: 0.25rem 0 0;
	font-size: 0.9rem;
	color: #4a5a57;
}

.voyaren-trip-detail__city .voyaren-trip-detail__days--editorial {
	margin-top: 0;
}

.voyaren-trip-detail__pdf {
	margin: 2.25rem 0;
	padding: 1.25rem 1.25rem 0.75rem;
	border: 1px solid #E4DDD1;
	border-radius: 12px;
	background: #f2f6f5;
}

.voyaren-trip-detail__h2--small {
	font-size: 1.2rem;
}

.voyaren-trip-detail__pdf-note {
	margin: 0.5rem 0 1rem;
}

.voyaren-trip-detail__pdf-note p {
	margin: 0 0 0.6rem;
	font-size: 0.95rem;
}

.voyaren-trip-detail__pdf-facts {
	display: inline-block;
	padding: 0.15rem 0.7rem;
	border: 1px solid #c9d6d2;
	border-radius: 999px;
	background: #fff;
	font-weight: 700;
	font-size: 0.85rem;
	white-space: nowrap;
}

.voyaren-trip-detail__sample-label {
	color: #4a5a57;
	font-style: italic;
}

/* ---- Route diagram, booking priorities, sources, retired-trip notice ---- */

.voyaren-trip-detail__route {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.25rem;
	list-style: none;
	margin: 0.5rem 0 0.75rem;
	padding: 0;
	counter-reset: vtd-route;
}

.voyaren-trip-detail__route li {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	flex: 1 1 11rem;
	min-width: 0;
	padding: 0.7rem 0.85rem;
	border: 1px solid #d8d5cb;
	border-radius: 10px;
	background: #fffdf8;
}

.voyaren-trip-detail__route li + li::before {
	content: "\2192";
	position: absolute;
	left: -0.95rem;
	top: 0.7rem;
	color: #a95731;
	font-weight: 700;
}

.voyaren-trip-detail__route-name {
	font-weight: 700;
	color: #204d40;
}

.voyaren-trip-detail__route-nights {
	font-size: 0.9rem;
	color: #223e35;
}

.voyaren-trip-detail__route-area {
	font-size: 0.85rem;
	color: #596661;
}

.voyaren-trip-detail__facts--card dd {
	font-size: 0.95rem;
}

.voyaren-trip-detail__priorities {
	padding-left: 1.25rem;
}

.voyaren-trip-detail__priorities li {
	margin: 0 0 0.4rem;
}

.voyaren-trip-detail__sources {
	margin: 1.25rem 0;
	font-size: 0.9rem;
	color: #596661;
}

.voyaren-trip-detail__sources summary {
	cursor: pointer;
}

.voyaren-trip-detail__retired {
	margin: 0 0 1.25rem;
	padding: 0.9rem 1rem;
	border-left: 4px solid #a95731;
	background: #fbf3ea;
	border-radius: 0 8px 8px 0;
}

@media (max-width: 560px) {
	.voyaren-trip-detail__route li {
		flex-basis: 100%;
	}

	.voyaren-trip-detail__route li + li::before {
		content: "\2193";
		left: 0.85rem;
		top: -0.8rem;
	}
}

/* Five section links fit a 360px phone without sideways scrolling */
@media (max-width: 480px) {
	.voyaren-trip-detail__nav ul {
		gap: 0;
		justify-content: space-between;
	}

	.voyaren-trip-detail__nav a {
		padding: 0 0.4rem;
		font-size: 0.82rem;
	}
}

@media (max-width: 400px) {
	.voyaren-trip-detail__nav a {
		padding: 0 0.25rem;
		font-size: 0.78rem;
	}
}

@media (max-width: 365px) {
	.voyaren-trip-detail__nav a {
		font-size: 0.75rem;
	}
}

/* Text links on the itinerary pages need 4.5:1 on the cream background (the theme's link orange measures 3.9:1) */
.voyaren-trip-detail a:not(.voyaren-quiz__btn),
.voyaren-trip-detail__retired a,
.voyaren-trip-detail .voyaren-experience-finder__disclosure a {
	color: #9b4a1d;
}

/* Accessibility and walking: five aspects, each with its own state */
.voyaren-trip-detail__access {
	margin: 0.5rem 0 1rem;
}

.voyaren-trip-detail__access-row {
	display: grid;
	grid-template-columns: 11rem 1fr;
	gap: 0.25rem 1rem;
	padding: 0.55rem 0;
	border-top: 1px solid #e4ddd1;
}

.voyaren-trip-detail__access dt {
	font-weight: 700;
}

.voyaren-trip-detail__access dd {
	margin: 0;
}

.voyaren-trip-detail__access-state {
	display: inline-block;
	padding: 0.05rem 0.5rem;
	margin-right: 0.35rem;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 700;
	background: #f1ede4;
	color: #3b3b3b;
}

.voyaren-trip-detail__access-state--verified_accessible {
	background: #dcebe3;
	color: #17382e;
}

.voyaren-trip-detail__access-state--not_accessible {
	background: #f6e1d6;
	color: #6c2f12;
}

.voyaren-trip-detail__access-src {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.85rem;
	color: #596661;
}

@media (max-width: 560px) {
	.voyaren-trip-detail__access-row {
		grid-template-columns: 1fr;
	}
}

/* ---- Simplified detail page: summary facts, access at a glance, "what you get", expandable details ---- */

.voyaren-trip-detail__facts--feel {
	margin-top: 0;
}

.voyaren-trip-detail__access-essentials {
	margin: 0.25rem 0 1.25rem;
	padding: 0.7rem 0.95rem;
	border: 1px solid #e4ddd1;
	border-left: 4px solid #a95731;
	border-radius: 0 8px 8px 0;
	background: #fffdf8;
}

.voyaren-trip-detail__access-essentials p {
	margin: 0;
}

.voyaren-trip-detail__access-essentials a {
	color: #8a3f1c;
	font-weight: 600;
	text-decoration: underline;
}

/* The PDF, the saved trip and the Excel planner, said once, beside the buttons they explain. */
.voyaren-trip-detail__three {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 0.6rem 0.9rem;
	margin: 0.6rem 0 1.5rem;
	font-size: 0.92rem;
}

.voyaren-trip-detail__three > div {
	padding: 0.6rem 0.8rem;
	border-top: 3px solid #d8d5cb;
}

.voyaren-trip-detail__three dt {
	font-weight: 700;
	color: #204d40;
}

.voyaren-trip-detail__three dd {
	margin: 0.15rem 0 0;
	color: #3b4743;
}

/* Route as a simple diagram: numbered stops joined by a line, nights on each. Plain list markup underneath. */
.voyaren-trip-detail__route {
	counter-reset: vtd-route;
}

.voyaren-trip-detail__route li {
	counter-increment: vtd-route;
	padding-top: 1.35rem;
}

.voyaren-trip-detail__route li::after {
	content: counter(vtd-route);
	position: absolute;
	top: -0.55rem;
	left: 0.8rem;
	display: grid;
	place-items: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background: #204d40;
	color: #fff;
	font-size: 0.8rem;
	font-weight: 700;
}

/* Expandable details: native disclosure elements, keyboard operable, folded but never removed. */
.voyaren-trip-detail__more {
	margin: 0 0 0.6rem;
	border: 1px solid #e4ddd1;
	border-radius: 10px;
	background: #fffdf8;
}

.voyaren-trip-detail__more > summary {
	cursor: pointer;
	min-height: 44px;
	padding: 0.65rem 0.95rem;
	font-weight: 700;
	color: #204d40;
	list-style-position: inside;
}

.voyaren-trip-detail__more > summary:focus-visible {
	outline: 3px solid #a95731;
	outline-offset: 2px;
	border-radius: 8px;
}

.voyaren-trip-detail__more[open] > summary {
	border-bottom: 1px solid #e4ddd1;
}

.voyaren-trip-detail__more-body {
	padding: 0.4rem 0.95rem 0.8rem;
}

.voyaren-trip-detail__more-body > p:first-child {
	margin-top: 0.4rem;
}

.voyaren-trip-detail__facts > .voyaren-trip-detail__wide {
	grid-column: span 2;
}

@media (max-width: 560px) {
	.voyaren-trip-detail__facts > .voyaren-trip-detail__wide {
		grid-column: auto;
	}
}

/* ---- Tours worth a look (affiliate links, labelled; off until switched on) ---- */
.voyaren-trip-detail__offers {
	margin: 1.5rem 0;
	padding: 1rem 1.1rem;
	border: 1px solid #e4ddd1;
	border-radius: 12px;
	background: #fffdf8;
}

.voyaren-trip-detail__disclosure {
	margin: 0 0 0.9rem;
	font-size: 0.9rem;
	color: #3b4743;
}

.voyaren-trip-detail__offer-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1rem;
}

.voyaren-trip-detail__offer {
	padding-top: 0.8rem;
	border-top: 1px solid #efe9de;
}

.voyaren-trip-detail__offer:first-child {
	padding-top: 0;
	border-top: 0;
}

.voyaren-trip-detail__offer p {
	margin: 0 0 0.45rem;
}

/* ---- Your trip at a glance + Book these first (1.14.0) ---- */
.voyaren-trip-detail__h3--glance {
	margin-top: 0.5rem;
}

.voyaren-trip-detail__facts--glance {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.voyaren-trip-detail__facts--glance dd {
	font-weight: 500;
	line-height: 1.45;
}

.voyaren-trip-detail__book-first {
	margin: 1.25rem 0;
	padding: 0.9rem 1.1rem;
	background: #fff;
	border: 1px solid #e4ddd1;
	border-radius: 10px;
}

.voyaren-trip-detail__book-first .voyaren-trip-detail__h3 {
	margin-top: 0;
}

.voyaren-trip-detail__checklist {
	list-style: none;
	margin: 0.5rem 0;
	padding: 0;
}

.voyaren-trip-detail__checklist li {
	position: relative;
	padding: 0.35rem 0 0.35rem 1.9rem;
	border-top: 1px solid #f0ebe2;
}

.voyaren-trip-detail__checklist li:first-child {
	border-top: 0;
}

.voyaren-trip-detail__checklist li::before {
	content: "";
	position: absolute;
	left: 0.15rem;
	top: 0.55rem;
	width: 1rem;
	height: 1rem;
	border: 2px solid #2F6F62;
	border-radius: 3px;
	box-sizing: border-box;
}

.voyaren-trip-detail__check-label {
	font-weight: 700;
	color: #2F6F62;
}

.voyaren-trip-detail__check-label::after {
	content: ":";
}


/* ---- Optional tour inside a day card (1.14.0) ---- */
.voyaren-trip-detail__day-card .voyaren-trip-detail__offer,
.voyaren-trip-detail__day-card .voyaren-trip-detail__offer:first-child {
	margin: 0.9rem 0 0;
	padding: 0.8rem 0.95rem;
	border: 1px solid #e4ddd1;
	border-left: 4px solid #2F6F62;
	border-radius: 0 10px 10px 0;
	background: #fffdf8;
}

.voyaren-trip-detail__offer-facts {
	margin: 0.3rem 0 0.6rem;
	font-size: 0.92rem;
}

.voyaren-trip-detail__offer-facts div {
	margin-top: 0.3rem;
}

.voyaren-trip-detail__offer-facts dt {
	font-weight: 700;
	display: inline;
}

.voyaren-trip-detail__offer-facts dt::after {
	content: ": ";
}

.voyaren-trip-detail__offer-facts dd {
	display: inline;
	margin: 0;
}

.voyaren-trip-detail__offer-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
}

.voyaren-trip-detail__offer-official {
	font-weight: 600;
	color: #2F6F62;
}

.voyaren-trip-detail__offer .voyaren-trip-detail__disclosure {
	margin: 0.4rem 0 0;
	font-size: 0.85rem;
}

.voyaren-trip-detail__offer a:focus-visible {
	outline: 3px solid #2F6F62;
	outline-offset: 2px;
}
