/* ==========================================================================
   Trip Tradition — Trek detail page (single-trek.php v3)
   Scoped under .ttk | DM Sans | #ff5e00 orange, #1a365d navy
   Light, clean layout; same building blocks as the tour detail page.
   Container 1240px, 10px gutter on tablet/mobile. Calm motion only.
   ========================================================================== */

.ttk {
	--o: var(--tt-color-brand-orange, #ff5e00);
	--o-deep: #e65400;
	--o-wash: #fff4ed;
	--navy: var(--tt-color-deep-navy, #1a365d);
	--ink: #2d3748;
	--body: #4a5568;
	--muted: #718096;
	--line: #e7ecf2;
	--mist: #f6f8fb;
	--nav-h: 58px;
	font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: #fff;
}
.ttk *, .ttk *::before, .ttk *::after { box-sizing: border-box; }
.ttk :where(h1, h2, h3, h4, p, ul, ol, figure, blockquote) { margin: 0; padding: 0; }
.ttk :where(ul, ol) { list-style: none; }
.ttk :where(h1, h2, h3, h4, p, li, a, span, strong, small, button, summary, select, label) { font-family: inherit; }
.ttk a { color: inherit; text-decoration: none; }
.ttk img { display: block; max-width: 100%; height: auto; }
.ttk .ttk-ic { flex: none; display: block; }
.ttk :focus-visible { outline: 2px solid var(--o); outline-offset: 2px; border-radius: 6px; }
.ttk button { appearance: none; -webkit-appearance: none; border: 0; background: none; color: inherit; padding: 0; font: inherit; cursor: pointer; text-transform: none; }
.ttk button:hover, .ttk button:focus { background-color: transparent; color: inherit; }

.ttk-wrap { width: min(1240px, 100% - 20px); margin: 0 auto; }
.ttk-muted { color: var(--muted); font-weight: 500; }

/* ------------------------------------------------------------------ hero */

.ttk-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: 600px;
	display: flex;
	align-items: flex-end;
	background: linear-gradient(180deg, #f3f7fc 0%, #fff 100%);
}
.ttk-hero__media { position: absolute; inset: 0; z-index: -2; }
.ttk-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }

/* Light wash: white on the text side fading to the photo. Keeps navy text crisp. */
.ttk-hero__wash {
	position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgb(255 255 255 / .96) 0%, rgb(255 255 255 / .9) 34%, rgb(255 255 255 / .55) 56%, rgb(255 255 255 / 0) 78%),
		linear-gradient(0deg, rgb(255 255 255 / .9) 0%, rgb(255 255 255 / 0) 30%);
}
.ttk-hero.is-plain .ttk-hero__wash { display: none; }

.ttk-hero__in { padding: 26px 0 40px; }
.ttk-hero__in > * { max-width: 640px; }

.ttk-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 70px; }
.ttk-crumbs a:hover { color: var(--o); }
.ttk-crumbs [aria-current] { color: var(--o); font-weight: 700; }

.ttk-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ttk-pill {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 12px; border-radius: 999px;
	font-size: 12.5px; font-weight: 700; color: var(--navy);
	background: #fff; border: 1px solid var(--line);
	box-shadow: 0 1px 2px rgb(18 41 74 / .05);
}
.ttk-pill .ttk-ic { color: var(--o); }
.ttk-pill--solid { background: var(--o); border-color: var(--o); color: #fff; }
.ttk-star .ttk-ic { color: #f5a524; }

.ttk .ttk-h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; font-weight: 800; letter-spacing: -.025em; color: var(--navy); }
.ttk .ttk-sub { margin-top: 14px; font-size: 18px; line-height: 1.6; color: var(--body); }

.ttk-keyfacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 24px; max-width: 760px !important; }
.ttk-keyfacts li {
	display: flex; align-items: center; gap: 10px; min-width: 0;
	padding: 10px 12px; border-radius: 14px;
	background: rgb(255 255 255 / .92); border: 1px solid var(--line);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ttk-keyfacts__ic { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--o-wash); color: var(--o); }
.ttk-keyfacts small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ttk-keyfacts strong { display: block; font-size: 14px; color: var(--navy); line-height: 1.3; overflow-wrap: anywhere; }

.ttk-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 26px; }
.ttk-hero__price small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ttk-hero__price strong { font-size: 32px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.ttk-hero__price span { margin-left: 4px; font-size: 13.5px; color: var(--muted); }
.ttk-hero__btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* --------------------------------------------------------------- buttons */

.ttk .ttk-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 50px; padding: 0 26px; border-radius: 999px;
	border: 1.5px solid transparent;
	font-size: 15.5px; font-weight: 700; line-height: 1.2; white-space: nowrap;
	transition: background-color .2s, border-color .2s, color .2s;
}
.ttk .ttk-btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.ttk .ttk-btn--primary, .ttk .ttk-btn--primary:visited { background: var(--o); color: #fff; }
.ttk .ttk-btn--primary:hover, .ttk .ttk-btn--primary:focus { background: var(--o-deep); color: #fff; }
.ttk .ttk-btn--ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.ttk .ttk-btn--ghost:hover, .ttk .ttk-btn--ghost:focus { background: #fff; border-color: var(--navy); color: var(--navy); }
.ttk .ttk-btn--ghost .ttk-ic { color: var(--o); }
.ttk .ttk-btn--wa { background: #25d366; color: #fff; }
.ttk .ttk-btn--wa:hover, .ttk .ttk-btn--wa:focus { background: #1fb457; color: #fff; }
.ttk .ttk-btn--line { background: #fff; color: var(--navy); border-color: var(--line); }
.ttk .ttk-btn--line:hover { border-color: var(--navy); }
.ttk .ttk-btn--disabled { background: var(--mist); color: var(--muted); cursor: default; }
.ttk .ttk-link { color: var(--o); font-size: 14px; font-weight: 700; }
.ttk .ttk-link:hover, .ttk .ttk-link:focus { color: var(--o-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------- glance grid */

.ttk-glance { margin-top: 28px; padding: 24px; background: var(--mist); border-radius: 22px; }
.ttk .ttk-glance__title { margin-bottom: 16px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--o); }
.ttk-glance__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.ttk-glance__grid li,
.ttk-reach li { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; background: #fff; border-radius: 14px; }
.ttk-glance__ic { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--o-wash); color: var(--o); }
.ttk-glance__grid small,
.ttk-reach small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ttk-glance__grid strong,
.ttk-reach strong { display: block; font-size: 14.5px; line-height: 1.35; color: var(--navy); overflow-wrap: anywhere; }

/* ------------------------------------------------------------ section nav */

.ttk-nav {
	position: sticky; top: 0; z-index: 30;
	margin-top: 32px;
	background: rgb(255 255 255 / .97);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.admin-bar .ttk-nav { top: var(--wp-admin--admin-bar--height, 32px); }
.ttk-nav__in { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 9px 0; }
.ttk-nav__in::-webkit-scrollbar { display: none; }
.ttk-nav a { flex: none; padding: 8px 16px; border-radius: 12px; font-size: 14px; font-weight: 700; color: var(--muted); transition: background-color .2s, color .2s; }
.ttk-nav a:hover { background: var(--mist); color: var(--navy); }
.ttk-nav a.is-on { background: var(--o); color: #fff; }

/* ---------------------------------------------------------------- layout */

.ttk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 44px; align-items: start; padding-top: 40px; }
.ttk-main { display: flex; flex-direction: column; gap: 56px; min-width: 0; }
.ttk-sec { display: flex; flex-direction: column; gap: 20px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.admin-bar .ttk-sec { scroll-margin-top: calc(var(--nav-h) + 52px); }
.ttk-sec__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }

.ttk .ttk-h2 { position: relative; padding-left: 18px; font-size: clamp(23px, 2.6vw, 30px); font-weight: 800; line-height: 1.2; letter-spacing: -.015em; color: var(--navy); }
.ttk .ttk-h2::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 6px; border-radius: 6px; background: var(--o); }
.ttk .ttk-h3 { margin-top: 8px; font-size: 20px; font-weight: 800; color: var(--navy); }
.ttk-eyebrow { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ttk-eyebrow.is-brand { color: var(--o); }
.ttk .ttk-hint { font-size: 13px; color: var(--muted); }

.ttk-prose { font-size: 16.5px; line-height: 1.8; color: var(--body); }
.ttk-prose > * + * { margin-top: 14px; }
.ttk-prose :where(h2, h3, h4) { margin-top: 24px; color: var(--navy); font-weight: 800; line-height: 1.3; }
.ttk-prose h2 { font-size: 22px; } .ttk-prose h3 { font-size: 19px; } .ttk-prose h4 { font-size: 17px; }
.ttk-prose :where(strong, b) { color: var(--ink); }
.ttk-prose a { color: var(--o-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ttk-prose ul { list-style: disc; padding-left: 22px; }
.ttk-prose ol { list-style: decimal; padding-left: 22px; }
.ttk-prose li + li { margin-top: 6px; }
.ttk-prose li::marker { color: var(--o); }
.ttk-prose img { border-radius: 16px; }
.ttk-prose table { width: 100%; border-collapse: collapse; font-size: 15px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: block; overflow-x: auto; }
.ttk-prose th { background: var(--mist); color: var(--navy); text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.ttk-prose th, .ttk-prose td { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.ttk-prose--sm { font-size: 15.5px; line-height: 1.75; }

.ttk-clamp.is-clamped { max-height: 330px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.ttk .ttk-more { align-self: flex-start; color: var(--o); font-weight: 700; font-size: 15px; }
.ttk .ttk-more:hover { color: var(--o-deep); }

.ttk-ideal { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 8px 14px; border-radius: 999px; background: var(--o-wash); color: var(--o-deep); font-size: 14px; }
.ttk-ideal strong { color: var(--navy); }

.ttk-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: #fffbeb; border: 1px dashed #f59e0b; color: #92400e; font-size: 14.5px; }
.ttk-note .ttk-ic { color: #d97706; margin-top: 2px; }

/* Highlights */
.ttk-hl { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.ttk-hl__card { display: flex; flex-direction: column; background: var(--mist); border-radius: 20px; overflow: hidden; }
.ttk-hl__img { aspect-ratio: 16 / 10; background: #e9eef4; }
.ttk-hl__img img { width: 100%; height: 100%; object-fit: cover; }
.ttk-hl__num { margin: 20px 20px 0; font-size: 28px; font-weight: 800; color: var(--o); line-height: 1; }
.ttk-hl__txt { display: flex; flex-direction: column; gap: 6px; padding: 16px 20px 20px; }
.ttk-hl__txt .ttk-eyebrow { color: var(--o); }
.ttk .ttk-hl__txt h4 { font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.ttk-hl__txt p { font-size: 14.5px; color: var(--body); line-height: 1.6; }

/* Route */
.ttk-route { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 20px; }
.ttk-route__line { display: flex; align-items: center; gap: 14px; }
.ttk-route__lbl { flex: none; display: inline-flex; align-items: center; gap: 6px; padding-right: 14px; border-right: 1px solid var(--line); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ttk-route__lbl .ttk-ic { color: var(--o); }
.ttk-route ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 4px; }
.ttk-route li { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 700; color: var(--navy); }
.ttk-route li + li::before { content: ""; width: 18px; border-top: 2px dashed rgb(255 94 0 / .5); margin-right: 4px; }
.ttk-route__map { display: block; border-radius: 14px; overflow: hidden; background: var(--mist); }

/* Itinerary accordion */
.ttk-itin { display: flex; flex-direction: column; gap: 10px; }
.ttk-day { border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: border-color .2s; }
.ttk-day[open] { border-color: rgb(255 94 0 / .4); }
.ttk-day summary { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; cursor: pointer; list-style: none; }
.ttk-day summary::-webkit-details-marker { display: none; }
.ttk-day__num { flex: none; min-width: 64px; padding: 6px 10px; border-radius: 10px; background: var(--o-wash); color: var(--o-deep); font-size: 13px; font-weight: 800; text-align: center; }
.ttk-day[open] .ttk-day__num { background: var(--o); color: #fff; }
.ttk-day__head { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ttk-day__head strong { font-size: 17.5px; font-weight: 700; line-height: 1.35; color: var(--navy); }
.ttk-day__chips { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; font-weight: 600; color: var(--body); }
.ttk-day__chips span { display: inline-flex; align-items: center; gap: 5px; }
.ttk-day__chips .ttk-ic { color: var(--o); }
.ttk-day__chev { flex: none; margin-top: 4px; color: var(--muted); transition: transform .2s; }
.ttk-day[open] .ttk-day__chev { transform: rotate(180deg); color: var(--o); }
.ttk-day__body { display: flex; flex-direction: column; gap: 14px; padding: 0 18px 18px 96px; }
.ttk-day__meta { display: flex; flex-wrap: wrap; gap: 10px; }
.ttk-day__meta li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--mist); font-size: 14px; font-weight: 600; color: var(--ink); }
.ttk-day__meta .ttk-ic { color: var(--o); }
.ttk-day__meta small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* Batches */
.ttk-batches { display: flex; flex-direction: column; gap: 10px; }
.ttk-batch {
	display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 16px;
	padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: #fff;
}
.ttk-batch.is-off { opacity: .6; }
.ttk-batch__date { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ttk-batch__ic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--o-wash); color: var(--o); }
.ttk-batch__date strong { display: block; font-size: 16px; color: var(--navy); }
.ttk-batch__date small { display: block; font-size: 13px; color: var(--muted); }
.ttk-batch__price strong { font-size: 20px; font-weight: 800; color: var(--navy); }
.ttk-batch__price strong.is-quote { font-size: 15px; }
.ttk-batch__price small { margin-left: 3px; font-size: 12.5px; color: var(--muted); }
.ttk-status { padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.ttk-status.is-ok { background: #e7f7ee; color: #157347; }
.ttk-status.is-warn { background: #fff1e6; color: #c2410c; }
.ttk-status.is-info { background: #e8f1fb; color: #1d5fa8; }
.ttk-status.is-off { background: #eef1f5; color: var(--muted); }

/* Panels, checklists */
.ttk-panel { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: var(--mist); border-radius: 20px; }
.ttk .ttk-sub { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--navy); }
.ttk .ttk-sub .ttk-ic { color: var(--o); }
.ttk .ttk-sub.is-ok { color: var(--o-deep); }
.ttk .ttk-sub.is-no { color: #c53030; }
.ttk-incex { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ttk-checks { display: flex; flex-direction: column; gap: 9px; font-size: 15px; color: var(--body); }
.ttk-checks li { display: flex; align-items: flex-start; gap: 10px; }
.ttk-checks .ttk-ic { margin-top: 3px; color: var(--o); }
.ttk-checks.is-no .ttk-ic { color: #c53030; }
.ttk-addons { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border: 1px dashed var(--line); border-radius: 18px; }
.ttk-addons li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--body); }
.ttk-addons li:first-child { border-top: 0; }
.ttk-addons strong { color: var(--navy); white-space: nowrap; }
.ttk-carry { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }

/* Photos */
.ttk-photos { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; gap: 10px; }
.ttk-photo { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 16px; background: var(--mist); cursor: zoom-in; }
.ttk-photo:first-child { grid-column: span 2; grid-row: span 2; }
.ttk-photo img { width: 100%; height: 100%; object-fit: cover; transition: filter .2s; }
.ttk-photo:hover img { filter: brightness(.94); }
.ttk-photo__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgb(18 41 74 / .55); color: #fff; font-size: 24px; font-weight: 800; }

/* Reach list */
.ttk-reach { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.ttk-reach li { background: var(--mist); }

/* Grade bar */
.ttk-grade { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; }
.ttk-grade__lbl { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ttk-grade__bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.ttk-grade__bar li { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 600; color: var(--muted); }
.ttk-grade__bar li::before { content: ""; height: 8px; border-radius: 8px; background: #e7ecf2; }
/* Standard trek-grade colours: green (easy) to red (difficult). */
.ttk-grade__bar li:nth-child(1) { --grade: #2e9e4f; }
.ttk-grade__bar li:nth-child(2) { --grade: #8cc63f; }
.ttk-grade__bar li:nth-child(3) { --grade: #f5b301; }
.ttk-grade__bar li:nth-child(4) { --grade: #f57c00; }
.ttk-grade__bar li:nth-child(5) { --grade: #d32f2f; }
.ttk-grade__bar li.is-on::before { background: var(--grade); }
.ttk-grade__bar li.is-cur { color: var(--grade); }
.ttk-grade__bar li.is-cur::before { box-shadow: 0 0 0 3px color-mix(in srgb, var(--grade) 22%, transparent); }
.ttk-grade__bar li.is-cur { color: var(--navy); font-weight: 800; }

/* Seasons */
.ttk-seasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.ttk-season { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--mist); border-radius: 20px; }
.ttk-season .ttk-eyebrow { color: var(--o); }
.ttk .ttk-season h3 { font-size: 19px; font-weight: 800; color: var(--navy); }
.ttk-season__temp { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ttk-season__temp .ttk-ic { color: var(--o); }
.ttk-season p { font-size: 14.5px; color: var(--body); line-height: 1.6; }

/* Leaders */
.ttk-leaders { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.ttk-leader { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--mist); border-radius: 20px; }
.ttk-leader__img { width: 64px; height: 64px; flex: none; border-radius: 50%; object-fit: cover; border: 3px solid #fff; }
.ttk-leader__ph { display: grid; place-items: center; background: var(--o); color: #fff; font-size: 22px; font-weight: 800; }
.ttk-leader strong { display: block; font-size: 16px; color: var(--navy); }
.ttk-leader .ttk-eyebrow { color: var(--o); margin-top: 2px; }
.ttk-leader p { margin-top: 6px; font-size: 14px; color: var(--body); line-height: 1.6; }

/* FAQ / policy accordion */
.ttk-faq { border: 1px solid var(--line); border-radius: 20px; padding: 0 22px; }
.ttk-faq details { border-bottom: 1px solid var(--line); }
.ttk-faq details:last-child { border-bottom: 0; }
.ttk-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 19px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 700; color: var(--navy); }
.ttk-faq summary::-webkit-details-marker { display: none; }
.ttk-faq summary::after { content: "+"; flex: none; color: var(--o); font-size: 24px; line-height: 1; }
.ttk-faq details[open] summary::after { content: "\2212"; }
.ttk-faq details > div { padding-bottom: 20px; max-width: 74ch; }

/* Reviews */
.ttk-arrows { display: flex; gap: 8px; }
.ttk .ttk-arrows button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--o); color: #fff; transition: background-color .2s; }
.ttk .ttk-arrows button:hover { background: var(--o-deep); color: #fff; }
.ttk .ttk-arrows button:disabled { background: #fff; color: #9aa5b4; border: 1px solid var(--line); cursor: default; }
.ttk-revs { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 8px; }
.ttk-revs::-webkit-scrollbar { display: none; }
.ttk-rev { flex: 0 0 calc((100% - 14px) / 2); scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.ttk-rev__stars { display: flex; gap: 2px; color: #f5a524; }
.ttk-rev blockquote { flex: 1; font-size: 15px; line-height: 1.7; color: var(--body); border: 0; font-style: normal; }
.ttk-rev figcaption { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.ttk-rev__av { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--o); color: #fff; font-weight: 800; }
.ttk-rev figcaption strong { display: block; font-size: 15px; color: var(--navy); }
.ttk-rev figcaption small { display: block; font-size: 12.5px; color: var(--muted); }

/* ---------------------------------------------------------------- booking */

.ttk-aside { position: sticky; top: calc(var(--nav-h) + 20px); }
.admin-bar .ttk-aside { top: calc(var(--nav-h) + 52px); }
.ttk-book { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 2px 16px rgb(0 0 0 / .08); scroll-margin-top: calc(var(--nav-h) + 20px); }
.ttk-book__price small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ttk-book__price strong { font-size: 32px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.ttk-book__price strong.is-quote { font-size: 22px; }
.ttk-book__price span { margin-left: 4px; font-size: 13px; color: var(--muted); }
.ttk-book__lbl { font-size: 13px; font-weight: 700; color: var(--ink); }
.ttk .ttk-book__select {
	width: 100%; height: 46px; padding: 0 40px 0 14px; margin-top: -6px;
	font-size: 14.5px; font-weight: 600; color: var(--navy);
	background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5e00' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
	border: 1px solid var(--line); border-radius: 12px; -webkit-appearance: none; appearance: none; cursor: pointer;
}
.ttk-book__facts { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 10px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ttk-book__facts li { display: inline-flex; align-items: center; gap: 6px; }
.ttk-book__facts .ttk-ic { color: var(--o); }
.ttk-book__alt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ttk .ttk-book__alt .ttk-btn { min-height: 44px; padding: 0 12px; font-size: 14px; }
.ttk-book__safe { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.ttk-book__safe .ttk-ic { color: #157347; }

/* FormForge inside the booking card (compact, theme style) */
.ttk-form .ff-form__title,
.ttk-form .ff-label { display: none !important; }
.ttk-form .ff-form-wrap, .ttk-form .ff-form { margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
.ttk-form .ff-form__fields { display: grid !important; grid-template-columns: 1fr; gap: 8px; }
.ttk-form .ff-field { margin: 0 !important; }
.ttk-form .ff-field--hidden { display: none; }
.ttk-form .ff-input, .ttk-form input, .ttk-form select, .ttk-form textarea {
	width: 100%; min-height: 44px; padding: 10px 14px !important;
	font: inherit; font-size: 14.5px; color: var(--ink);
	background: var(--mist) !important; border: 1px solid var(--line) !important; border-radius: 12px !important; box-shadow: none !important;
}
.ttk-form textarea { min-height: 76px; height: 76px; resize: none; }
.ttk-form .ff-input:focus, .ttk-form input:focus, .ttk-form select:focus, .ttk-form textarea:focus { outline: none; background: #fff !important; border-color: var(--o) !important; box-shadow: 0 0 0 3px rgb(255 94 0 / .14) !important; }
.ttk-form .ff-phone { display: flex; gap: 8px; }
.ttk-form .ff-phone__code { flex: 0 0 96px; width: 96px; }
.ttk-form .ff-error { margin-top: 4px; font-size: 12.5px; color: #c62828; }
.ttk-form button[type="submit"], .ttk-form .ff-button {
	width: 100%; min-height: 50px; margin-top: 8px; padding: 0 20px !important;
	font: inherit; font-size: 16px; font-weight: 700; color: #fff !important;
	background: var(--o) !important; border: 0 !important; border-radius: 999px !important; cursor: pointer;
}
.ttk-form button[type="submit"]:hover, .ttk-form .ff-button:hover { background: var(--o-deep) !important; }

/* --------------------------------------------------------- related + CTA */

.ttk-related { display: flex; flex-direction: column; gap: 22px; margin-top: 72px; }
.ttk-related .ttc:hover { transform: none; }
.ttk-related .ttc:hover .ttc__media img { transform: none; }
/* `.ttk img { height: auto }` must not shrink the card cover image. */
.ttk .ttc__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }

.ttk-cta {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	margin-top: 64px; margin-bottom: 64px; padding: 34px 36px;
	background: var(--o-wash); border: 1px solid #ffdcc5; border-radius: 24px;
}
.ttk .ttk-cta h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; color: var(--navy); letter-spacing: -.015em; }
.ttk-cta p { margin-top: 6px; color: var(--body); }
.ttk-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }

/* Mobile bar */
.ttk-bar { display: none; }

/* ------------------------------------------------------------ photo viewer */

.ttk-lb { position: fixed; inset: 0; z-index: 100200; display: flex; align-items: center; justify-content: center; background: rgb(12 22 38 / .94); }
.ttk-lb[hidden] { display: none; }
.ttk-lb__fig { max-width: min(1100px, 92vw); max-height: 86vh; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ttk-lb__fig img { max-width: 100%; max-height: 80vh; border-radius: 12px; object-fit: contain; }
.ttk-lb__fig figcaption { color: rgb(255 255 255 / .75); font-size: 14px; }
.ttk .ttk-lb__x, .ttk .ttk-lb__nav { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgb(255 255 255 / .12); color: #fff; }
.ttk .ttk-lb__x:hover, .ttk .ttk-lb__nav:hover { background: var(--o); color: #fff; }
.ttk-lb__x { top: 18px; right: 18px; }
.ttk-lb__nav.is-prev { left: 18px; }
.ttk-lb__nav.is-next { right: 18px; }

/* ================================================================ tablet */

@media (max-width: 1100px) {
	.ttk-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; }
	.ttk-keyfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px !important; }
}

@media (max-width: 960px) {
	.ttk-layout { grid-template-columns: 1fr; }
	.ttk-aside, .admin-bar .ttk-aside { position: static; }
	.ttk-hero { min-height: 540px; }
	.ttk-hero__wash { background: linear-gradient(180deg, rgb(255 255 255 / .2) 0%, rgb(255 255 255 / .82) 42%, rgb(255 255 255 / .97) 70%); }
	.ttk-crumbs { margin-bottom: 140px; }
	.ttk-hero__in > * { max-width: none; }
}

/* ================================================================ mobile */

@media (max-width: 680px) {
	/* Photo on top, text on plain white below: easiest to read on phones. */
	.ttk-hero { display: block; min-height: 0; background: #fff; }
	.ttk-hero__media { position: relative; inset: auto; z-index: 0; height: 280px; }
	.ttk-hero__wash { display: none; }
	.ttk-hero__in { padding: 0 0 24px; }
	.ttk-crumbs { margin: 0 0 14px; padding-top: 14px; font-size: 12.5px; }
	.ttk .ttk-h1 { font-size: 32px; }
	.ttk .ttk-sub { font-size: 16px; }
	.ttk-keyfacts { gap: 8px; margin-top: 18px; }
	.ttk-keyfacts li { padding: 9px 10px; gap: 8px; }
	.ttk-keyfacts__ic { width: 28px; height: 28px; }
	.ttk-hero__cta { margin-top: 20px; gap: 14px; }
	.ttk-hero__btns { width: 100%; }
	.ttk-hero__btns .ttk-btn { flex: 1 1 auto; }

	.ttk-glance { margin-top: 8px; padding: 16px; border-radius: 18px; }
	.ttk-glance__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
	.ttk-glance__grid li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }

	.ttk-nav { margin-top: 24px; }
	.ttk-layout { padding-top: 28px; }
	.ttk-main { gap: 44px; }
	.ttk .ttk-h2 { padding-left: 14px; font-size: 23px; }
	.ttk .ttk-h2::before { width: 5px; }
	.ttk-prose { font-size: 15.5px; }

	.ttk-day summary { flex-wrap: wrap; padding: 14px; gap: 10px; }
	.ttk-day__num { min-width: 0; }
	.ttk-day__head { flex-basis: calc(100% - 40px); order: 3; }
	.ttk-day__chev { margin-left: auto; }
	.ttk-day__body { padding: 0 14px 14px; }

	.ttk-batch { grid-template-columns: 1fr auto; gap: 10px 12px; }
	.ttk-batch__date { grid-column: 1 / -1; }
	.ttk-batch .ttk-btn { grid-column: 1 / -1; width: 100%; }
	.ttk-status { justify-self: start; }

	.ttk-incex { grid-template-columns: 1fr; }
	.ttk-panel { padding: 18px; }
	.ttk-photos { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
	.ttk-rev { flex-basis: 86%; }
	.ttk-faq { padding: 0 16px; }
	.ttk-faq summary { font-size: 16px; padding: 16px 0; }
	.ttk-grade__bar li span { font-size: 10.5px; }
	.ttk-book { padding: 18px; border-radius: 20px; }

	.ttk-cta { flex-direction: column; align-items: flex-start; padding: 24px 20px; margin-bottom: 90px; }
	.ttk-cta__btns { width: 100%; }
	.ttk-cta__btns .ttk-btn { flex: 1; }

	.ttk-bar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
		display: flex; align-items: center; justify-content: space-between; gap: 12px;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
		background: #fff; border-top: 1px solid var(--line);
		box-shadow: 0 -8px 24px rgb(18 41 74 / .08);
	}
	.ttk-bar__price small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
	.ttk-bar__price strong { font-size: 20px; font-weight: 800; color: var(--navy); }
	.ttk .ttk-bar .ttk-btn { min-height: 46px; }
}

/* ==========================================================================
   v3.1 refinements: hero lede, tour-style pin itinerary, tabbed
   inclusions/policies, 4-tile photo grid.
   ========================================================================== */

.ttk .ttk-lede { margin-top: 14px; font-size: 18px; line-height: 1.6; color: var(--body); text-transform: none; letter-spacing: 0; font-weight: 400; }

/* Itinerary: same pin timeline as the tour detail page. */
.ttk-itin { gap: 0; }
.ttk-day,
.ttk-day[open] { position: relative; padding: 0 0 6px 40px; border: 0; border-radius: 0; background: none; }
.ttk-day::before { content: ""; position: absolute; left: 11px; top: 32px; bottom: -2px; border-left: 2px dashed #cbd5e0; }
.ttk-day:last-child::before { display: none; }
.ttk-day.is-open::before { border-left-color: rgb(255 94 0 / .55); }
.ttk-day summary { display: flex; align-items: flex-start; gap: 12px; padding: 6px 0 12px; cursor: pointer; list-style: none; }
.ttk-day summary::-webkit-details-marker { display: none; }
.ttk-day__pin { position: absolute; left: 0; top: 8px; width: 24px; height: 24px; display: grid; place-items: center; background: #fff; color: #a0aec0; transition: color .2s; }
.ttk-day.is-open .ttk-day__pin,
.ttk-day summary:hover .ttk-day__pin { color: var(--o); }
.ttk-day__head { flex: 1; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ttk-day__head small { font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--o-deep); }
.ttk-day__head strong { font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--navy); }
.ttk-day.is-open .ttk-day__head strong { color: var(--o); }
.ttk-day__chev { flex: none; margin-top: 12px; color: var(--muted); transition: transform .25s; }
.ttk-day details[open] .ttk-day__chev { transform: rotate(180deg); color: var(--o); }
.ttk-day__body { display: flex; flex-direction: column; gap: 14px; padding: 0 0 22px; }
.ttk-day__meta {
	display: flex; flex-wrap: wrap; gap: 8px 22px;
	width: fit-content; max-width: 100%;
	padding: 14px 18px; border-radius: 12px; background: var(--mist);
}
.ttk-day__meta span { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--ink); }
.ttk-day__meta .ttk-ic { color: var(--o); }

/* Tabs + bordered panel, as on the tour page. */
.ttk-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--mist); border-radius: 16px; width: fit-content; max-width: 100%; }
.ttk .ttk-tabs button { padding: 10px 18px; border-radius: 12px; font-size: 14px; font-weight: 700; color: var(--muted); white-space: nowrap; transition: background-color .2s, color .2s; }
.ttk .ttk-tabs button:hover, .ttk .ttk-tabs button:focus { background: #fff; color: var(--navy); }
.ttk .ttk-tabs button.is-on, .ttk .ttk-tabs button.is-on:hover, .ttk .ttk-tabs button.is-on:focus { background: var(--o); color: #fff; }
.ttk-tabpanel { display: none; flex-direction: column; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; }
.ttk-tabpanel.is-on { display: flex; }
.ttk-tabpanel[hidden] { display: none; }
.ttk-tabpanel .ttk-sub { font-size: 13.5px; letter-spacing: .06em; }
.ttk-tabpanel .ttk-sub.is-no { margin-top: 8px; }
.ttk-checks--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }

/* Photos: 1 large + 3 tiles, "+N more photos" on the last tile. */
.ttk-photos,
.ttk-photos[class*="--n"] {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: 1fr 1fr;
	grid-auto-rows: auto;
	height: clamp(340px, 34vw, 460px);
	gap: 10px;
	border-radius: 20px;
	overflow: hidden;
}
.ttk-photo { border-radius: 6px; }
/* 2 x 2 grid: every tile the same size. */
.ttk-photos .ttk-photo,
.ttk-photos .ttk-photo:first-child { grid-column: auto; grid-row: auto; }
.ttk-photos--n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.ttk-photos--n2 { grid-template-rows: 1fr; }
.ttk-photos--n3 .ttk-photo:nth-child(3) { grid-column: 1 / -1; }

.ttk-photo__more { flex-direction: column; gap: 2px; background: rgb(18 41 74 / .55); }
.ttk-photo__more strong { font-size: 28px; font-weight: 800; }
.ttk-photo__more span { font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.ttk-photo__more { display: flex; align-items: center; justify-content: center; }

@media (max-width: 680px) {
	.ttk-day,
	.ttk-day[open] { padding-left: 34px; }
	.ttk-day::before { left: 10px; }
	.ttk-day summary { flex-wrap: nowrap; padding: 6px 0 10px; }
	.ttk-day__head { flex-basis: auto; order: 0; }
	.ttk-day__head strong { font-size: 16.5px; }
	.ttk-day__body { padding: 0 0 18px; }
	.ttk-day__meta { gap: 8px 16px; padding: 12px 14px; }
	.ttk-day__meta span { font-size: 13.5px; }

	.ttk-tabs { width: 100%; }
	.ttk .ttk-tabs button { flex: 1; padding: 10px 12px; font-size: 13.5px; }
	.ttk-tabpanel { padding: 18px; }
	.ttk-checks--2 { grid-template-columns: 1fr; }

	.ttk-photos,
	.ttk-photos[class*="--n"] { height: 300px; border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.ttk *, .ttk *::before, .ttk *::after { transition: none !important; scroll-behavior: auto !important; }
}
