/**
 * On tour (/ontour/): the five-city tour page, autumn 2026. Built from the
 * standalone tour landing page as Beaver Builder custom modules with the site
 * header and footer. Enqueued on the page by inc/hos-ontour.php, so the
 * sections carry no CSS of their own. Design-system tokens throughout.
 * Anchor and heading colours use !important where the design system's base
 * link and heading rules would otherwise win (see hos-components.css).
 */

/* ---- Shared ---- */
.hos-ot-inner { max-width: var(--ds-width-container); margin: 0 auto; padding: 0 var(--ds-space-gutter); }
.hos-ot-section { padding: clamp(48px, 7vw, 88px) 0; }
.hos-ot-intro { max-width: 62ch; display: flex; flex-direction: column; gap: 20px; margin-bottom: clamp(28px, 4vw, 44px); }
.fl-ds-page .hos-ot-intro h2, .hos-ot-intro h2 { margin: 0; font-family: var(--ds-font-heading); font-weight: var(--ds-weight-bold); font-size: clamp(1.75rem, 3.2vw, 2.375rem); line-height: 1.15; color: var(--ds-color-heading); }
.hos-ot-intro__body { display: flex; flex-direction: column; gap: 20px; }
.fl-ds-page .hos-ot-intro p, .hos-ot-intro p { margin: 0; }

/* Buttons */
.hos-ot-btn { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 28px; border: 2px solid transparent; border-radius: var(--ds-radius-pill); font-family: var(--ds-font-heading); font-weight: var(--ds-weight-semibold); font-size: var(--ds-text-base); line-height: 1.2; text-align: center; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
a.hos-ot-btn { text-decoration: none !important; font-family: var(--ds-font-heading) !important; font-weight: var(--ds-weight-semibold) !important; }
a.hos-ot-btn--primary { background: var(--ds-color-red-dark); border-color: var(--ds-color-red-dark); color: var(--ds-color-white) !important; }
a.hos-ot-btn--primary:hover { background: var(--ds-color-red-hover); border-color: var(--ds-color-red-hover); color: var(--ds-color-white) !important; }
.hos-ot-hero__action--white a.hos-ot-btn { background: var(--ds-color-white); border-color: var(--ds-color-white); color: var(--ds-color-red-dark) !important; }
.hos-ot-hero__action--white a.hos-ot-btn:hover { background: var(--ds-color-red-tint); border-color: var(--ds-color-red-tint); color: var(--ds-color-red-hover) !important; }
.hos-ot-hero__action--tint a.hos-ot-btn { background: var(--ds-color-red-tint); border-color: var(--ds-color-red-tint); color: var(--ds-color-red-hover) !important; }
.hos-ot-hero__action--tint a.hos-ot-btn:hover { background: var(--ds-color-white); border-color: var(--ds-color-white); color: var(--ds-color-red-hover) !important; }
a.hos-ot-btn--onteal { min-height: 60px; padding: 18px 40px; font-size: var(--ds-text-intro); background: var(--ds-color-white); border-color: var(--ds-color-white); color: var(--ds-color-blue-dark) !important; }
a.hos-ot-btn--onteal:hover { background: var(--ds-color-blue-tint-deep); border-color: var(--ds-color-blue-tint-deep); color: var(--ds-color-blue-dark) !important; }
.hos-ot-hero a.hos-ot-btn:focus-visible { outline: 3px solid var(--ds-color-white); outline-offset: 3px; box-shadow: 0 0 0 6px var(--ds-color-blue-dark); }
.hos-ot-booking a.hos-ot-btn:focus-visible { outline: 3px solid var(--ds-color-white); outline-offset: 3px; }

/* Time labels with a colour key: warm = morning, cool = afternoon */
.fl-ds-page .hos-ot-time, .hos-ot-time { margin: 0; display: inline-flex; align-items: center; gap: 12px; flex: none; font-weight: var(--ds-weight-semibold); font-size: var(--ds-text-sm); line-height: 1.5; color: var(--ds-color-heading); }
.hos-ot-time::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 3px; background: var(--ds-color-red-tint); }
.hos-ot-session--afternoon .hos-ot-time::before, .hos-ot-stop__row--afternoon .hos-ot-time::before { background: var(--ds-color-blue-tint-deep); }

/* ---- Hero ---- */
.hos-ot-hero { background: var(--ds-color-red-core); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); align-items: stretch; }
.hos-ot-hero__text { display: flex; padding: clamp(48px, 7vw, 96px) clamp(28px, 4vw, 64px) clamp(48px, 7vw, 96px) max(var(--ds-space-gutter), calc(50vw - 568px)); }
.hos-ot-hero__inner { width: 100%; max-width: 600px; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 3.5vw, 40px); }
.fl-ds-page .hos-ot-hero h1, .hos-ot-hero h1 { margin: 0; font-family: var(--ds-font-heading); font-weight: var(--ds-weight-bold); font-size: clamp(2.25rem, 4.4vw, 3.5rem); line-height: 1.1; letter-spacing: var(--ds-letter-display); color: var(--ds-color-white) !important; }
.fl-ds-page .hos-ot-hero__standfirst, .hos-ot-hero__standfirst { margin: 0; max-width: 32ch; font-size: clamp(1.5rem, 2.2vw, 1.625rem); line-height: var(--ds-line-lead); color: var(--ds-color-white) !important; }
.hos-ot-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hos-ot-hero__media { position: relative; min-height: 420px; }

/* Hero photos: manual slider, no auto-advance (js/hos-ontour.js). Without
   JavaScript, and in the page builder, the first photo shows on its own. */
.hos-ot-slides, .hos-ot-slides__track { position: absolute; inset: 0; }
.hos-ot-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 420ms ease-in-out; }
.hos-ot-slide:first-child, .hos-ot-slides.is-live .hos-ot-slide.is-active { opacity: 1; }
.hos-ot-slides.is-live .hos-ot-slide:not(.is-active) { opacity: 0; }
.fl-ds-page .hos-ot-slide img, .hos-ot-slide img { display: block; width: 100%; height: 100% !important; max-width: none; object-fit: cover; }
.hos-ot-slides__controls { position: absolute; left: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--ds-color-white); border-top-right-radius: 14px; }
.hos-ot-slides__controls[hidden] { display: none; }
.fl-ds-page .hos-ot-slides__count, .hos-ot-slides__count { margin: 0; min-width: 44px; font-family: var(--ds-font-heading); font-weight: var(--ds-weight-semibold); font-size: var(--ds-text-label); line-height: 1; color: var(--ds-color-heading); }
.hos-ot-slides__controls button.hos-ot-slides__btn { box-sizing: border-box; width: 38px !important; height: 38px !important; min-height: 0 !important; flex: 0 0 38px; display: inline-flex; align-items: center; justify-content: center; margin: 0; padding: 0 !important; border: 1px solid var(--ds-color-border-hover) !important; border-radius: 50% !important; background: var(--ds-color-white) !important; color: var(--ds-color-heading) !important; cursor: pointer; box-shadow: none; transition: background 140ms ease, border-color 140ms ease; }
.hos-ot-slides__controls button.hos-ot-slides__btn svg, .hos-ot-slides__controls button.hos-ot-slides__btn svg * { color: var(--ds-color-heading) !important; stroke: var(--ds-color-heading) !important; fill: none !important; }
.hos-ot-slides__controls button.hos-ot-slides__btn:hover { background: var(--ds-color-surface) !important; border-color: var(--ds-color-muted) !important; }
.hos-ot-slides__controls button.hos-ot-slides__btn:focus-visible { outline: 3px solid var(--ds-color-red-dark); outline-offset: 2px; }
@media (max-width: 520px) {
	.hos-ot-slides__controls { padding: 11px 14px; gap: 8px; }
	.hos-ot-slides__controls button.hos-ot-slides__btn { width: 34px !important; height: 34px !important; flex-basis: 34px; }
}

/* ---- Cities strip ---- */
.hos-ot-cities { background: var(--ds-color-red-tint); padding: clamp(24px, 3vw, 32px) 0; }
.hos-ot-cities__inner { max-width: var(--ds-width-container); margin: 0 auto; padding: 0 var(--ds-space-gutter); display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; }
.fl-ds-page .hos-ot-cities__list, .hos-ot-cities__list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-weight: var(--ds-weight-semibold); font-size: clamp(1.125rem, 1.8vw, 1.375rem); color: var(--ds-color-heading); }
.fl-ds-page .hos-ot-cities__city, .hos-ot-cities__city { margin: 0; display: inline-flex; align-items: center; gap: 16px; }
.hos-ot-cities__city + .hos-ot-cities__city::before { content: "\00B7"; color: var(--ds-color-red-hover); }
.fl-ds-page .hos-ot-cities__note, .hos-ot-cities__note { margin: 0; display: flex; align-items: center; gap: 12px; font-size: var(--ds-text-sm); line-height: var(--ds-line-snug); color: var(--ds-color-heading); }
.hos-ot-cities__note::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 3px; background: var(--ds-color-blue-dark); }

/* ---- Two sessions ---- */
.hos-ot-sessions { background: var(--ds-color-surface); }
.hos-ot-sessions__grid { display: flex; flex-wrap: wrap; gap: 24px; }
.hos-ot-session { flex: 1 1 380px; min-width: 0; background: var(--ds-color-white); border: 1px solid var(--ds-color-border); border-radius: var(--ds-radius-lg); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 20px; }
.fl-ds-page .hos-ot-session h3, .hos-ot-session h3 { margin: 0; font-family: var(--ds-font-heading); font-weight: var(--ds-weight-bold); font-size: clamp(1.5rem, 2.6vw, 1.875rem); line-height: 1.2; color: var(--ds-color-heading); }
.fl-ds-page .hos-ot-session p, .hos-ot-session p { margin: 0; }
.fl-ds-page .hos-ot-ticks, .hos-ot-ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: var(--ds-text-sm); }
.fl-ds-page .hos-ot-ticks__item, .hos-ot-ticks__item { margin: 0; display: flex; gap: 12px; }
.hos-ot-ticks__item::before { content: "\00B7"; flex: none; font-weight: var(--ds-weight-bold); color: var(--ds-color-red-dark); }
.hos-ot-session--afternoon .hos-ot-ticks__item::before { color: var(--ds-color-blue-dark); }

/* ---- Five dates ---- */
.fl-ds-page .hos-ot-dates__list, .hos-ot-dates__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 20px; }
.fl-ds-page .hos-ot-stop, .hos-ot-stop { margin: 0; display: flex; flex-wrap: wrap; border: 1px solid var(--ds-color-border); border-radius: var(--ds-radius-lg); overflow: hidden; background: var(--ds-color-white); }
.hos-ot-stop__side { flex: 1 1 280px; min-width: 0; background: var(--ds-color-surface); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 6px; }
.hos-ot-stop__label { font-size: var(--ds-text-xs); color: var(--ds-color-body); }
.fl-ds-page .hos-ot-stop__city, .hos-ot-stop__city { margin: 0; font-family: var(--ds-font-heading); font-weight: var(--ds-weight-bold); font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.15; color: var(--ds-color-heading); }
.fl-ds-page .hos-ot-stop__when, .hos-ot-stop__when { margin: 0; font-weight: var(--ds-weight-semibold); font-size: var(--ds-text-intro); color: var(--ds-color-heading); }
.fl-ds-page .hos-ot-stop__where, .hos-ot-stop__where { margin: 0; font-size: var(--ds-text-xs); line-height: var(--ds-line-snug); }
.hos-ot-stop__where span { display: block; }
.hos-ot-stop__body { flex: 2 1 420px; min-width: 0; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 20px; }
.hos-ot-stop__sessions { display: flex; flex-direction: column; gap: 20px; }
.hos-ot-stop__row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: baseline; }
.hos-ot-stop__for { flex: 1 1 220px; }
.hos-ot-stop__body a.hos-ot-btn { align-self: flex-start; margin-top: auto; min-width: 220px; min-height: 48px; }

/* ---- Booking band ---- */
.hos-ot-booking { background: var(--ds-color-blue-dark); padding: clamp(48px, 7vw, 88px) 0; }
.hos-ot-booking__inner { max-width: var(--ds-width-container); margin: 0 auto; padding: 0 var(--ds-space-gutter); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.hos-ot-booking__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.fl-ds-page .hos-ot-booking h2, .hos-ot-booking h2 { margin: 0; font-family: var(--ds-font-heading); font-weight: var(--ds-weight-bold); font-size: clamp(1.75rem, 3.2vw, 2.375rem); line-height: 1.15; color: var(--ds-color-white) !important; }
.fl-ds-page .hos-ot-booking__text p, .hos-ot-booking__text p { margin: 0; max-width: 46ch; font-size: var(--ds-text-intro); line-height: var(--ds-line-snug); color: var(--ds-color-blue-on-dark) !important; }
.hos-ot-booking__action { flex: 0 1 auto; display: flex; flex-direction: column; gap: 12px; }
.fl-ds-page .hos-ot-booking__note, .hos-ot-booking__note { margin: 0; text-align: center; font-size: var(--ds-text-xs); color: var(--ds-color-blue-on-dark) !important; }

/* ---- Get help strip ---- */
.hos-ot-gethelp { background: var(--ds-color-surface); padding: clamp(44px, 6vw, 80px) 0; }
.hos-ot-gethelp__inner { max-width: var(--ds-width-container); margin: 0 auto; padding: 0 var(--ds-space-gutter); display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 48px); align-items: center; }
.fl-ds-page .hos-ot-gethelp__img, .hos-ot-gethelp__img { flex: 1 1 320px; width: 100%; max-width: 400px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--ds-radius-lg); display: block; }
.hos-ot-gethelp__text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.fl-ds-page .hos-ot-gethelp h2, .hos-ot-gethelp h2 { margin: 0; font-family: var(--ds-font-heading); font-weight: var(--ds-weight-bold); font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.2; color: var(--ds-color-heading); }
.fl-ds-page .hos-ot-gethelp__text p, .hos-ot-gethelp__text p { margin: 0; }
.hos-ot-gethelp__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hos-ot-gethelp__phone { font-size: var(--ds-text-sm); }

@media (prefers-reduced-motion: reduce) {
	.hos-ot-slide, .hos-ot-btn { transition: none; }
}

/* News release link in the cities strip: darker red so it passes AA on the peach band. */
.fl-ds-page .hos-ot-cities__note a, .hos-ot-cities__note a { color: var(--ds-color-red-hover) !important; text-decoration: underline; text-underline-offset: 2px; }
