/* Compact theme toggle: gold sun, navy sky and teal horizon.
   The visual is smaller while the button keeps a 44 px touch target. */
.theme-control { position: relative; flex-shrink: 0; display: flex; align-items: center; }
:root:not([data-theme-ready]) .theme-control { visibility: hidden; }
.no-js .theme-control { display: none; }
.theme-toggle { position: relative; display: grid; place-items: center; width: 46px; height: 44px; }
.theme-toggle__sky { position: relative; width: 46px; height: 26px; overflow: hidden; isolation: isolate; border-radius: 999px; background: #DDE8EF; box-shadow: inset 0 0 0 1px rgba(18,49,74,.12); }
.theme-toggle__sky::before { content: ""; position: absolute; inset: 15px -2px 0; background: #399892; opacity: .55; clip-path: polygon(0 100%, 0 70%, 20% 20%, 35% 65%, 59% 0, 78% 70%, 90% 35%, 100% 65%, 100% 100%); }
.theme-toggle__sky::after { content: ""; position: absolute; inset: 20px -2px 0; background: #12314A; clip-path: polygon(0 100%, 0 50%, 22% 0, 45% 75%, 74% 15%, 100% 60%, 100% 100%); }
.theme-toggle__orb { position: absolute; z-index: 1; top: 3px; left: 3px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-hi); color: #12314A; box-shadow: 0 1px 3px rgba(11,29,46,.2); }
.theme-toggle__orb .ph { position: absolute; font-size: 15px; }
.theme-toggle__moon { opacity: 0; transform: rotate(-70deg) scale(.5); }
.theme-toggle__stars { position: absolute; top: 7px; left: 11px; width: 2px; height: 2px; border-radius: 50%; background: #EEF2F5; box-shadow: 10px -2px #EEF2F5, 16px 5px #A9BFD1; opacity: 0; }
[data-theme="dark"] .theme-toggle__sky { background: #112A40; box-shadow: inset 0 0 0 1px rgba(238,242,245,.18); }
[data-theme="dark"] .theme-toggle__orb { transform: translateX(20px); background: #E8EEF3; }
[data-theme="dark"] .theme-toggle__sun { opacity: 0; transform: rotate(70deg) scale(.5); }
[data-theme="dark"] .theme-toggle__moon { opacity: 1; transform: none; }
[data-theme="dark"] .theme-toggle__stars { opacity: 1; }
.theme-toggle:hover .theme-toggle__sky { filter: brightness(1.1); }
.theme-toggle:focus-visible { outline: none; }
.theme-toggle:focus-visible .theme-toggle__sky { outline: 2px solid currentColor; outline-offset: 3px; }
.theme-status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* The live CookieAdmin plugin supplies inline colours. Override appearance only;
   its content, consent logic, visibility and focus management remain plugin-owned. */
.cookieadmin_consent_inside, .cookieadmin_cookie_modal {
  background-color: var(--paper) !important; color: var(--ink) !important;
  border-color: var(--line-strong) !important; box-shadow: var(--shadow);
}
:where(.cookieadmin_consent_inside, .cookieadmin_cookie_modal) :is(p, span, div, label, button, a) { color: var(--ink) !important; }
.cookieadmin_cookie_modal * { border-color: var(--line-strong) !important; }
.cookieadmin_desc, #cookieadmin_notice, #cookieadmin_preference { color: var(--muted) !important; }
.cookieadmin_modal_footer, .cookieadmin-modal-cookies-list { background-color: var(--bg-2) !important; }
:where(.cookieadmin_consent_inside, .cookieadmin_cookie_modal) .cookieadmin_btn {
  background-color: var(--paper) !important; border-color: var(--line-strong) !important;
  color: var(--ink) !important;
}
:where(.cookieadmin_consent_inside, .cookieadmin_cookie_modal) :is(.cookieadmin_accept_btn, .cookieadmin_save_btn) {
  background-color: var(--gold) !important; border-color: var(--gold) !important; color: #12314A !important;
}
.cookieadmin_toggle .cookieadmin_slider { background-color: var(--muted) !important; }
.cookieadmin_toggle input:checked + .cookieadmin_slider { background-color: var(--teal-text) !important; }
.cookieadmin_close_pref { color: var(--ink) !important; }
.cookieadmin-poweredby svg { background: var(--snow); border-radius: 4px; padding: 2px; box-sizing: content-box; }
/* Preserve room for the existing navigation at its narrow desktop breakpoint. */
@media (min-width: 1280px) and (max-width: 1439px) {
  .site-header__inner { gap: 18px; }
  .nav { gap: 18px; }
  .site-header__end { gap: 12px; }
  .site-header .btn--header { padding-inline: 16px; }
}
@media (max-width: 767px) {
  .site-header__end { gap: 8px; }
  .site-header__inner { gap: 8px; }
  .menu-toggle { min-width: 48px; padding-inline: 12px; }
  .menu-toggle [data-menu-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (max-width: 359px) {
  .brand__name { font-size: 11px; }
  .brand__name span { font-size: 9px; letter-spacing: .12em; }
  .brand { gap: 6px; }
  .brand__badge { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: no-preference) {
  .theme-toggle__orb { transition: transform .5s var(--ease), background-color .4s; }
  .theme-toggle__orb .ph { transition: transform .5s var(--ease), opacity .25s; }
  .theme-toggle__sky { transition: background-color .4s, box-shadow .4s; }
  .theme-toggle__stars { transition: opacity .4s; }
  html.theme-changing body, html.theme-changing :where(section, footer, header, header::before, .nav-panel, .nav-surface, .mobile-menu, .form, .stepper, .segmented, .segmented__pill, .trip-enquiry-card, .trip-mobile-action, .cookieadmin_consent_inside, .cookieadmin_cookie_modal, .cookieadmin_modal_footer, .cookieadmin-modal-cookies-list, input, select, textarea, button, a, p, h1, h2, h3, h4, span, dt, dd, th, td, summary, .chips span) {
    transition: color .5s ease, background-color .5s ease, border-color .5s ease, box-shadow .5s ease, fill .5s ease, stroke .5s ease;
  }
}
html.theme-revealing::view-transition-group(root) { animation: none; }
html.theme-revealing::view-transition-old(root), html.theme-revealing::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.theme-revealing::view-transition-old(root) { z-index: 1; }
html.theme-revealing::view-transition-new(root) { z-index: 2; }
@media print { .theme-control { display: none; } }
