@font-face{font-family:'Public Sans';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/public-sans-latin-400-normal.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Public Sans';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/public-sans-latin-600-normal.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Public Sans';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/public-sans-latin-700-normal.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Public Sans';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/public-sans-latin-ext-400-normal.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Public Sans';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/public-sans-latin-ext-600-normal.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Public Sans';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/public-sans-latin-ext-700-normal.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/jetbrains-mono-cyrillic-400-normal.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/jetbrains-mono-cyrillic-500-normal.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Noto Sans JP Subset';font-style:normal;font-weight:400 700;font-display:swap;src:url('/assets/fonts/noto-sans-jp-subset.299eff19f579.woff2') format('woff2');}

:root {
  
  --primary: #004B87;          
  --secondary: #0F8A8B;        
  --accent: #F7C66C;           
  --charcoal: #2C3A47;         
  --sand: #F6F1E9;             
  --white: #FFFFFF;

  
  --primary-hover: #003A68;
  --primary-tint: #E6EEF4;
  --secondary-hover: #0C6F70;
  --secondary-tint: #E3F3F3;
  --accent-hover: #EAB44C;
  --accent-tint: #FDF3E0;
  --charcoal-muted: #5B6B79;
  --charcoal-border: #E3E7EA;

  
  --status-ok: #1B7F4C;
  --status-ok-tint: #E4F5EC;
  --status-warn: #B45309;
  --status-warn-tint: #FBEEDD;
  --status-bad: #C4341F;
  --status-bad-tint: #FBE7E4;

  
  --font-ui: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-data: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --size-display: 36px;  --lh-display: 44px;
  --size-h1: 28px;       --lh-h1: 36px;
  --size-h2: 22px;       --lh-h2: 30px;
  --size-h3: 18px;       --lh-h3: 26px;
  --size-body-l: 16px;   --lh-body-l: 24px;
  --size-body-m: 14px;   --lh-body-m: 20px;
  --size-body-s: 12px;   --lh-body-s: 18px;
  --size-caption: 11px;  --lh-caption: 16px;
  --size-data-l: 20px;   --lh-data-l: 26px;
  --size-data-m: 14px;   --lh-data-m: 20px;

  
  --size-display-fluid: clamp(28px, 1.15rem + 1.5vw, 36px);

  
  --track-display: -0.02em;
  --track-tight: -0.01em;

  
  --rule-hair: 1px;
  --rule-heavy: 2px;

  
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 120ms;
  --dur-mid: 240ms;
  --dur-slow: 640ms;

  
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px;

  
  --radius-control: 8px;
  --radius-card: 12px;
  --radius-sheet: 16px;
  --radius-pill: 999px;

  
  --elev-1: 0 2px 8px rgba(44, 58, 71, 0.08);

  
  --container-max: 1200px;
  --gutter-mobile: 16px;
  --gutter-tablet: 20px;
  --gutter-desktop: 24px;
  --margin-mobile: 16px;
  --margin-tablet: 24px;
  --margin-desktop: 32px;

  
  --measure: 68ch;
}

html[lang="ja"] {
  --font-ui: "Noto Sans JP Subset", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
             "Yu Gothic Medium", "Yu Gothic", Meiryo, sans-serif;
}
html[lang="ko"] {
  --font-ui: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Nanum Gothic", sans-serif;
}
html[lang="ru"] {
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--charcoal);
  font-family: var(--font-ui);
  font-size: var(--size-body-l);
  line-height: var(--lh-body-l);
  font-weight: 400;
}

.skip-link {
  position: absolute; left: -9999px;
  background: var(--primary); color: var(--white);
  padding: var(--space-3) var(--space-4); border-radius: 0 0 var(--radius-control) 0;
  z-index: 100;
}
.skip-link:focus { left: 0; top: 0; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--white);
}
.site-header :focus-visible, .site-footer :focus-visible {
  outline-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(44, 58, 71, 0.6);
}

::selection { background: var(--primary); color: var(--white); }
.site-footer ::selection { background: var(--accent); color: var(--charcoal); }
input, select, textarea { caret-color: var(--primary); }
html { scrollbar-color: var(--charcoal-muted) var(--sand); scrollbar-width: thin; }

a { text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3 { color: var(--charcoal); margin: 0 0 var(--space-4); font-weight: 600; }

h1 {
  font-size: var(--size-display-fluid); line-height: 1.22; font-weight: 700;
  letter-spacing: var(--track-display); text-wrap: balance;
}
h2 {
  font-size: var(--size-h2); line-height: var(--lh-h2); margin-top: var(--space-12);
  letter-spacing: var(--track-tight); text-wrap: balance;
}
h3 { font-size: var(--size-h3); line-height: var(--lh-h3); margin-top: var(--space-8); }
p { margin: 0 0 var(--space-4); max-width: var(--measure); }
a { color: var(--primary); text-underline-offset: 2px; }
a:hover { color: var(--primary-hover); }

.data, time, .fare, .duration { font-family: var(--font-data); font-variant-numeric: tabular-nums; }

.container {
  width: 100%; max-width: var(--container-max);
  margin-inline: auto; padding-inline: var(--margin-mobile);
}
@media (min-width: 768px) { .container { padding-inline: var(--margin-tablet); } }
@media (min-width: 1024px) { .container { padding-inline: var(--margin-desktop); } }

.site-header { background: var(--primary); color: var(--white); }
.site-header a { color: var(--white); }

.site-header__inner {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "brand lang" "nav nav";
  gap: var(--space-2) var(--space-4);
  padding-block: var(--space-3);
}
@media (min-width: 768px) {
  .site-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand nav lang";
    gap: var(--space-6);
    min-height: 64px; padding-block: 0;
  }
}
.site-header__logo { grid-area: brand; }
.site-nav { grid-area: nav; min-width: 0; }
.site-header .lang-switcher { grid-area: lang; justify-self: end; margin-left: 0; }

.site-header__logo { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; }
.site-header__wordmark {
  font-size: var(--size-body-l); line-height: 1.1; font-weight: 700;
  letter-spacing: var(--track-display); white-space: nowrap;
}
.site-header__wordmark span { font-weight: 400; }

@media (max-width: 359px) { .site-header__wordmark { display: none; } }

.site-nav ul { display: flex; flex-wrap: wrap; gap: var(--space-4); list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: inline-block; padding: var(--space-2) 0; text-decoration: none;
  font-size: var(--size-body-m); font-weight: 600;
  border-bottom: var(--rule-heavy) solid transparent;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.site-nav a:hover { border-bottom-color: rgba(255, 255, 255, 0.45); }

.site-nav a[aria-current="page"] { border-bottom-color: var(--accent); }

.card {
  background: var(--white); border: 1px solid var(--charcoal-border);
  border-radius: var(--radius-card); padding: var(--space-4);
}
@media (min-width: 1024px) { .card { padding: var(--space-6); } }
.card--raised { box-shadow: var(--elev-1); }

.option-card { display: grid; gap: var(--space-3); }
.option-card__head { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.option-card__mode { width: 24px; height: 24px; color: var(--secondary); flex: none; }
.option-card__journey { display: flex; align-items: baseline; gap: var(--space-3); flex-wrap: wrap; }
.option-card__time { font-family: var(--font-data); font-variant-numeric: tabular-nums; font-size: var(--size-data-l); line-height: var(--lh-data-l); }
.option-card__meta { color: var(--charcoal-muted); font-size: var(--size-body-m); }
.option-card__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.option-card--cancelled { border-color: var(--status-bad); }

.status {
  display: inline-flex; align-items: center; gap: var(--space-1);
  padding: var(--space-1) var(--space-3); border-radius: var(--radius-pill);
  font-size: var(--size-body-s); line-height: var(--lh-body-s); font-weight: 500;
}
.status svg { width: 14px; height: 14px; flex: none; }
.status--ok { background: var(--status-ok-tint); color: var(--status-ok); }
.status--warn { background: var(--status-warn-tint); color: var(--status-warn); }
.status--bad { background: var(--status-bad-tint); color: var(--status-bad); }
.status--neutral { background: var(--charcoal-border); color: var(--charcoal-muted); }
.status--info { background: var(--secondary-tint); color: var(--secondary); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 40px; padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-control); border: 1px solid transparent;
  font-family: inherit; font-size: var(--size-body-m); font-weight: 600;
  text-decoration: none; cursor: pointer;
  
  position: relative;
}
@media (pointer: coarse) { .btn { min-height: 44px; } }
.btn--primary { background: var(--primary); color: var(--white); }
.btn--primary:hover { background: var(--primary-hover); color: var(--white); }
.btn--secondary { background: var(--white); color: var(--primary); border-color: var(--primary); }
.btn--secondary:hover { background: var(--primary-tint); }

.btn--accent { background: var(--accent); color: var(--charcoal); }
.btn--accent:hover { background: var(--accent-hover); color: var(--charcoal); }
.btn:active { transform: scale(0.98); }

.booking-cta--pair { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-block: var(--space-4) var(--space-6); }
.route-section { scroll-margin-top: var(--space-8, 48px); }
.btn[aria-disabled="true"] { opacity: 0.4; pointer-events: none; }

.quick-answer { margin-bottom: var(--space-6); }
.quick-answer p { margin-bottom: 0; }

.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
caption { text-align: left; color: var(--charcoal-muted); font-size: var(--size-body-s); padding-bottom: var(--space-2); }
th, td { text-align: left; padding: var(--space-3); border-bottom: 1px solid var(--charcoal-border); vertical-align: top; }
th { font-weight: 600; }
tbody tr:nth-child(even) { background: var(--sand); }
td.num, th.num { font-family: var(--font-data); font-variant-numeric: tabular-nums; }

@media (max-width: 767px) {
  .table--responsive thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table--responsive tr {
    display: block; background: var(--white); border: 1px solid var(--charcoal-border);
    border-radius: var(--radius-card); padding: var(--space-3); margin-bottom: var(--space-3);
  }
  .table--responsive td { display: flex; justify-content: space-between; gap: var(--space-4); border: 0; padding: var(--space-1) 0; }
  .table--responsive td::before { content: attr(data-label); font-weight: 600; color: var(--charcoal-muted); }
  
  .table--responsive tbody th[scope="row"] {
    display: block; padding: 0 0 var(--space-1); border: 0;
    font-size: var(--size-body-s); line-height: var(--lh-body-s); color: var(--charcoal-muted);
  }
  .table--responsive tbody th[scope="row"] + td::before { content: none; }
  .table--responsive tbody th[scope="row"] + td { display: block; padding-top: 0; }
}

.notice { border-radius: var(--radius-card); padding: var(--space-4); margin-bottom: var(--space-6); border: 1px solid; }
.notice h2, .notice h3 { margin-top: 0; }
.notice--info { background: var(--primary-tint); border-color: var(--primary); }
.notice--warn { background: var(--status-warn-tint); border-color: var(--status-warn); }
.notice--bad { background: var(--status-bad-tint); border-color: var(--status-bad); }

.journey-diagram { margin: var(--space-6) 0; }
figure { margin: var(--space-6) 0; }
figure img { display: block; width: 100%; height: auto; border-radius: var(--radius-card); }
figcaption { color: var(--charcoal-muted); font-size: var(--size-body-s); padding-top: var(--space-2); }

.search-row { display: grid; gap: var(--space-3); }
@media (min-width: 1024px) { .search-row { grid-template-columns: 1fr auto 1fr auto auto; align-items: end; } }
.field { display: grid; gap: var(--space-1); }
.field label { font-size: var(--size-body-m); font-weight: 600; }
.field input, .field select {
  min-height: 40px; padding: var(--space-3); font-family: inherit; font-size: var(--size-body-m);
  border: 1px solid var(--charcoal-border); border-radius: var(--radius-control); background: var(--white); color: var(--charcoal);
}
@media (pointer: coarse) { .field input, .field select { min-height: 48px; } }
.field input:focus, .field select:focus { border-color: var(--primary); border-width: 2px; }

.widget-slot { margin: var(--space-8) 0; }
.widget-slot__fallback { color: var(--charcoal-muted); font-size: var(--size-body-m); }

.widget-slot__reserve { min-height: 362px; }
@media (min-width: 768px) { .widget-slot__reserve { min-height: 200px; } }

.widget-slot__reserve {
  background: var(--white);
  border: var(--rule-hair) solid var(--charcoal-border);
  border-top: var(--rule-heavy) solid var(--primary);
  padding: var(--space-4);
  position: relative; overflow: hidden;
}

.widget-slot__mount[data-widget-state="loading"] .widget-slot__reserve::after {
  content: ""; position: absolute; inset-inline-start: 0; top: 0;
  height: var(--rule-heavy); width: 40%; background: var(--secondary);
  animation: slot-scan 1.4s var(--ease-out) infinite;
}
@keyframes slot-scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}
@media (prefers-reduced-motion: reduce) {
  .widget-slot__mount[data-widget-state="loading"] .widget-slot__reserve::after { animation: none; width: 100%; opacity: 0.4; }
}

.sources ol { padding-left: var(--space-6); }
.sources li { margin-bottom: var(--space-2); }
.source-meta { color: var(--charcoal-muted); font-size: var(--size-body-s); }

.site-footer {
  position: relative; margin-top: var(--space-16); padding-block: var(--space-12);
  color: var(--sand);
  background: linear-gradient(180deg, #003A68 0%, #002A4D 100%);
}
.site-footer::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary) 55%, var(--accent) 100%);
}
.site-footer a { color: var(--sand); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.site-footer__top { display: grid; gap: var(--space-8); }
@media (min-width: 1024px) { .site-footer__top { grid-template-columns: minmax(220px, 1fr) 3fr; gap: var(--space-12); } }

.site-footer__logo { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--white) !important; text-decoration: none !important; }
.site-footer__logo img { width: 36px; height: 36px; }
.site-footer__tagline {
  margin: var(--space-3) 0 var(--space-4); max-width: 34ch;
  font-size: var(--size-body-m); line-height: var(--lh-body-m); color: rgba(246, 241, 233, 0.8);
}
.site-footer__mail {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-3); border: var(--rule-hair) solid rgba(246, 241, 233, 0.3);
  border-radius: var(--radius-pill); font-size: var(--size-body-m);
}
.site-footer__mail svg { width: 16px; height: 16px; color: var(--accent); }
.site-footer__mail:hover { border-color: var(--accent); text-decoration: none !important; }

.site-footer__cols { display: grid; gap: var(--space-8) var(--space-6); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .site-footer__cols { grid-template-columns: 0.9fr 1.3fr 1.2fr 1fr; } }
.site-footer__heading {
  margin: 0 0 var(--space-3); color: var(--accent);
  font-size: var(--size-caption); line-height: var(--lh-caption); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.site-footer__col ul + .site-footer__heading { margin-top: var(--space-6); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: var(--space-2); font-size: var(--size-body-m); line-height: var(--lh-body-m); }
.site-footer__list--two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-4); }
.site-footer__mode { display: inline-flex; align-items: center; gap: var(--space-2); }
.site-footer__mode svg {
  width: 28px; height: 28px; padding: 5px; flex: none; border-radius: var(--radius-pill);
  background: rgba(15, 138, 139, 0.25); color: #7FD6D6;
}

.site-footer__bottom {
  margin-top: var(--space-12); padding-top: var(--space-4);
  border-top: var(--rule-hair) solid rgba(246, 241, 233, 0.15);
  display: grid; gap: var(--space-2);
}
@media (min-width: 768px) { .site-footer__bottom { grid-template-columns: 1fr auto; align-items: baseline; gap: var(--space-6); } }
.site-footer__disclosure, .site-footer__legal {
  margin: 0; font-size: var(--size-body-s); line-height: var(--lh-body-s); color: rgba(246, 241, 233, 0.65);
}

.lang-switcher { display: inline-flex; align-items: center; gap: var(--space-2); }
.lang-switcher img { width: 20px; height: auto; }

.layout { display: grid; gap: var(--space-8); }

.layout > * { min-width: 0; }
@media (min-width: 1024px) { .layout--with-aside { grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr); align-items: start; } }
main { padding-block: var(--space-8); }
section { margin-bottom: var(--space-12); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.page-hero { margin: 0 0 var(--space-8); }
.page-hero img {
  width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  background: var(--charcoal-border); display: block;
}
@media (min-width: 768px) { .page-hero img { aspect-ratio: 2.4 / 1; } }
@media (max-width: 767px) {
  .page-hero { margin-inline: calc(var(--margin-mobile) * -1); }
}

.page-hero figcaption {
  border-top: var(--rule-hair) solid var(--charcoal-border);
  margin-top: var(--space-2); padding-top: var(--space-2);
  font-size: var(--size-caption); line-height: var(--lh-caption);
}
@media (max-width: 767px) { .page-hero figcaption { margin-inline: var(--margin-mobile); } }

.journey { list-style: none; margin: 0; padding: var(--space-4); background: var(--white);
  border: var(--rule-hair) solid var(--charcoal-border); border-radius: var(--radius-card); }
.journey li { margin: 0; }
.journey__stop { display: flex; align-items: center; gap: var(--space-3); }
.journey__dot { flex: none; width: 12px; height: 12px; border-radius: var(--radius-pill);
  background: var(--white); border: 2px solid var(--charcoal-muted); }
.journey__stop--end .journey__dot { width: 16px; height: 16px; border: 0; background: var(--primary); }
.journey__name { font-weight: 600; color: var(--charcoal); }
.journey__stop:not(.journey__stop--end) .journey__name { font-weight: 500; }
.journey__leg { display: flex; align-items: center; gap: var(--space-3);
  margin-left: 7px !important; padding: var(--space-3) 0 var(--space-3) var(--space-4);
  border-left: 2px solid var(--secondary); }
.journey__mode { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px;
  border-radius: var(--radius-pill); background: var(--secondary-tint); color: var(--secondary); }
.journey__mode svg { width: 18px; height: 18px; }
.journey__label { color: var(--charcoal-muted); font-size: var(--size-body-m); }
.journey__time { font-size: var(--size-body-m); font-weight: 600; color: var(--charcoal); }
.journey { max-width: 28rem; }

.lang-switcher { position: relative; margin-left: auto; }
.lang-switcher__button {
  display: inline-flex; align-items: center; gap: var(--space-2);
  min-height: 40px; padding: var(--space-2) var(--space-3);
  background: var(--white); color: var(--charcoal);
  border: 1px solid var(--charcoal-border); border-radius: var(--radius-control);
  font-family: inherit; font-size: var(--size-body-m); font-weight: 600;
  cursor: pointer; max-width: 100%;
}
@media (pointer: coarse) { .lang-switcher__button { min-height: 44px; } }
.lang-switcher__button:hover { background: var(--primary-tint); }
.lang-switcher__chevron { flex: none; transition: transform 120ms ease; }
.lang-switcher__button[aria-expanded="true"] .lang-switcher__chevron { transform: rotate(180deg); }
.lang-switcher__flag { width: 20px; height: auto; border-radius: 2px; flex: none; }

.lang-switcher__menu {
  position: absolute; right: 0; top: calc(100% + var(--space-2)); z-index: 50;
  min-width: 100%; margin: 0; padding: var(--space-1);
  list-style: none; background: var(--white);
  border: 1px solid var(--charcoal-border); border-radius: var(--radius-card);
  box-shadow: var(--elev-1);
}
.lang-switcher__menu a {
  display: flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-3); border-radius: var(--radius-control);
  color: var(--charcoal); text-decoration: none; white-space: nowrap;
}
.lang-switcher__menu a:hover { background: var(--primary-tint); color: var(--primary); }
.lang-switcher__menu img { width: 20px; height: auto; border-radius: 2px; flex: none; }
.lang-switcher__menu [aria-selected="true"] a { font-weight: 600; }

.lang-switcher__menu--static { position: static; box-shadow: none; border: 0; padding: 0; margin-top: var(--space-2); }
.lang-switcher__menu--static a { color: var(--sand); }

.btn, .status, .site-nav a, .breadcrumbs li, .lang-switcher select {
  width: auto;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
}
.btn { white-space: normal; text-align: center; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0; padding: var(--space-3) 0; font-size: var(--size-body-s); }
.breadcrumbs li + li::before { content: "/"; color: var(--charcoal-muted); padding-right: var(--space-2); }

.card-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
@media (min-width: 768px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.site-header__logo img { height: 32px; width: auto; display: block; }
@media (min-width: 768px) { .site-header__logo img { height: 40px; } }
.lang-switcher__flag { width: 20px; height: auto; border-radius: 2px; }
.lang-switcher__list img { width: 18px; height: auto; vertical-align: middle; }

.page-header {
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-3);
  border-bottom: var(--rule-heavy) solid var(--charcoal);
}
.page-header h1 { margin-bottom: var(--space-3); }
.page-header > p:last-child { margin-bottom: 0; }

.page-header .verified-badge { margin: 0 0 var(--space-3); }
.page-header .last-checked {
  display: flex; align-items: baseline; gap: var(--space-2); flex-wrap: wrap;
  margin: 0; font-size: var(--size-caption); line-height: var(--lh-caption);
}

.home-page .page-header p { font-size: var(--size-body-l); color: var(--charcoal); }

.index-board {
  list-style: none; margin: 0 0 var(--space-4); padding: 0;
  border-top: var(--rule-heavy) solid var(--charcoal);
  border-bottom: var(--rule-heavy) solid var(--charcoal);
}
.index-board li + li { border-top: var(--rule-hair) solid var(--charcoal-border); }

.index-board__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "name arrow" "summary arrow";
  gap: var(--space-1) var(--space-4);
  padding: var(--space-4) var(--space-3);
  text-decoration: none; color: var(--charcoal);
  transition: background-color var(--dur-fast) var(--ease-out);
}
@media (min-width: 768px) {
  
  .index-board__link {
    grid-template-columns: minmax(8rem, 15rem) minmax(0, 1fr) auto;
    grid-template-areas: "name summary arrow";
    align-items: center;
    padding-inline: var(--space-4);
  }
}
.index-board__name { grid-area: name; }
.index-board__summary { grid-area: summary; }
.index-board__name {
  font-size: var(--size-h3); line-height: var(--lh-h3); font-weight: 600;
  color: var(--primary); letter-spacing: var(--track-tight);
}
.index-board__summary {
  color: var(--charcoal-muted);
  font-size: var(--size-body-m); line-height: var(--lh-body-m);
  max-width: var(--measure);
}
.index-board__arrow {
  grid-area: arrow; align-self: center;
  width: 20px; height: 20px; flex: none; color: var(--charcoal-muted);
  transition: transform var(--dur-mid) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.index-board__link:hover { background: var(--white); }
.index-board__link:hover .index-board__name { color: var(--primary-hover); text-decoration: underline; }
.index-board__link:hover .index-board__arrow { transform: translateX(4px); color: var(--primary); }
.index-board__link:focus-visible { outline-offset: -2px; background: var(--white); }

thead th {
  border-bottom: var(--rule-heavy) solid var(--charcoal);
  color: var(--charcoal-muted);
  font-size: var(--size-body-s); line-height: var(--lh-body-s);
  font-weight: 600; vertical-align: bottom;
}
tbody tr:nth-child(even) { background: transparent; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
@media (min-width: 768px) {
  tbody tr { transition: background-color var(--dur-fast) var(--ease-out); }
  tbody tr:hover { background: var(--white); }
}

.data, time, .fare, .duration, td.num, th.num {
  font-variant-numeric: tabular-nums; letter-spacing: var(--track-tight);
}

caption, figcaption, .source-meta, .last-checked {
  font-size: var(--size-caption); line-height: var(--lh-caption); font-weight: 500;
}

.quick-answer {
  border-top: var(--rule-heavy) solid var(--primary);
  border-bottom: var(--rule-hair) solid var(--charcoal-border);
  padding: var(--space-4) 0 var(--space-4) 0;
  background: transparent;
}
.quick-answer p { font-size: var(--size-h3); line-height: var(--lh-h3); max-width: var(--measure); }

.notice { border-radius: 0; border-width: 0; border-top-width: var(--rule-heavy); }
.notice h2 { font-size: var(--size-h3); line-height: var(--lh-h3); margin-top: 0; }
.notice p:last-child { margin-bottom: 0; }

figure img { border-radius: 0; }
figcaption {
  border-top: var(--rule-hair) solid var(--charcoal-border);
  margin-top: var(--space-2); padding-top: var(--space-2);
  font-size: var(--size-caption); line-height: var(--lh-caption);
}

section { margin-bottom: var(--space-12); }
section > h2:first-child { margin-top: 0; }
main { padding-block: var(--space-6) var(--space-16); }

.card { border-radius: var(--radius-control); }
.option-card__time { letter-spacing: var(--track-tight); }

.faq__reported {
  border-top: var(--rule-hair) solid var(--secondary);
  margin-top: var(--space-3); padding-top: var(--space-2);
  font-size: var(--size-body-m); line-height: var(--lh-body-m);
  color: var(--charcoal-muted); max-width: var(--measure);
}
.faq__check { color: var(--secondary); font-weight: 600; }

.book-fab {
  position: fixed; z-index: 60;
  right: var(--margin-mobile); bottom: var(--margin-mobile);
  
  bottom: calc(var(--margin-mobile) + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: var(--space-2);
  min-height: 48px; padding: var(--space-3) var(--space-4);
  background: var(--accent); color: var(--charcoal);
  border-radius: var(--radius-pill);
  font-size: var(--size-body-m); font-weight: 700; letter-spacing: var(--track-tight);
  text-decoration: none; max-width: calc(100% - var(--margin-mobile) * 2);
  
  box-shadow: 0 1px 2px rgba(44, 58, 71, 0.24), 0 8px 24px rgba(44, 58, 71, 0.20);
  transition: transform var(--dur-mid) var(--ease-out), box-shadow var(--dur-mid) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out), opacity var(--dur-mid) var(--ease-out);
}
@media (min-width: 768px) {
  .book-fab {
    right: var(--margin-desktop); bottom: var(--margin-desktop);
    padding: var(--space-3) var(--space-6);
  }
}

.site-footer { padding-bottom: calc(var(--space-12) + 64px + env(safe-area-inset-bottom, 0px)); }
.book-fab:hover {
  background: var(--accent-hover); color: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(44, 58, 71, 0.26), 0 14px 32px rgba(44, 58, 71, 0.24);
}
.book-fab:active { transform: translateY(0); }
.book-fab__icon { width: 18px; height: 18px; flex: none; }

.book-fab[data-book-fab="near"] {
  opacity: 0; transform: translateY(8px); pointer-events: none;
}

#book { scroll-margin-top: var(--space-6); }

@media (prefers-reduced-motion: no-preference) {
  .page-header { border-bottom-color: transparent; position: relative; }
  .page-header::after {
    content: ""; position: absolute; left: 0; bottom: calc(var(--rule-heavy) * -1);
    height: var(--rule-heavy); width: 100%; background: var(--charcoal);
    transform: scaleX(0); transform-origin: left;
    animation: rule-draw var(--dur-slow) var(--ease-out) 120ms forwards;
  }
}
@keyframes rule-draw { to { transform: scaleX(1); } }

.route-page > section:nth-of-type(even),
.destination-page > section:nth-of-type(even),
.transport-page > section:nth-of-type(even),
.home-page > section:nth-of-type(even),
.guide-page > section:nth-of-type(even) {
  background: color-mix(in srgb, var(--white) 72%, var(--sand));
  border-radius: var(--radius-card);
  padding: var(--space-8);
  box-shadow: inset 0 0 0 var(--rule-hair) var(--charcoal-border);
}
.route-page > section.widget-slot, .destination-page > section.widget-slot,
.transport-page > section.widget-slot, .home-page > section.widget-slot {
  background: transparent; box-shadow: none; padding: 0; border-radius: 0;
}
@media (max-width: 767px) {
  .route-page > section:nth-of-type(even),
  .destination-page > section:nth-of-type(even),
  .transport-page > section:nth-of-type(even),
  .home-page > section:nth-of-type(even),
  .guide-page > section:nth-of-type(even) {
    margin-inline: calc(var(--margin-mobile) * -1);
    padding: var(--space-6) var(--margin-mobile);
    border-radius: 0;
    box-shadow: inset 0 var(--rule-hair) 0 var(--charcoal-border), inset 0 calc(var(--rule-hair) * -1) 0 var(--charcoal-border);
  }
}

article section > h2 {
  font-weight: 700; margin-top: var(--space-12);
}
article section > h2::before {
  content: ""; display: block; width: 32px; height: 3px; margin-bottom: var(--space-3);
  background: var(--secondary); border-radius: var(--radius-pill);
}
article > section > h2:first-child, article > section > .direction > h2:first-child { margin-top: 0; }
article section h3 {
  color: var(--primary); font-weight: 650; letter-spacing: var(--track-tight);
}
.notice h2::before, .quick-facts h2::before { content: none; }
.page-header h1 { color: var(--charcoal); }

.faq__item { padding-block: var(--space-4); border-bottom: var(--rule-hair) solid var(--charcoal-border); }
.faq__item:last-child { border-bottom: 0; }
.faq__item h3 { margin-top: 0; margin-bottom: var(--space-2); }
.faq__item p:last-child { margin-bottom: 0; }

.route-section .table-scroll { margin-bottom: var(--space-6); }

article section > h2.h2--icon { display: flex; align-items: center; gap: var(--space-3); }
article section > h2.h2--icon::before { content: none; }
.h-icon {
  flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px;
  border-radius: var(--radius-control); background: var(--secondary-tint); color: var(--secondary);
}
.h-icon svg { width: 20px; height: 20px; }
.quick-facts .h-icon, .faq .h-icon { background: var(--primary-tint); color: var(--primary); }
.route-status .h-icon { background: var(--accent-tint); color: var(--status-warn); }

.tips { display: grid; gap: var(--space-3); margin-block: var(--space-4) var(--space-6); }
.tips:not(.tips--grid) { max-width: calc(var(--measure) + 72px); }
@media (min-width: 768px) { .tips--grid { grid-template-columns: repeat(2, 1fr); } }
.tip {
  display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4);
  background: var(--white); border: var(--rule-hair) solid var(--charcoal-border);
  border-radius: var(--radius-card); box-shadow: var(--elev-1);
}
.tip__icon {
  flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px;
  border-radius: var(--radius-pill); background: var(--secondary-tint); color: var(--secondary);
}
.tip__icon svg { width: 18px; height: 18px; }
.tip:has(use[href="#icon-warning"]) { background: #FFF4DC; }
.tip:has(use[href="#icon-warning"]) .tip__icon { background: var(--accent-tint); color: var(--status-warn); }
.tip__body p { margin: 0; }
.tip__body strong:first-child { display: block; color: var(--charcoal); margin-bottom: var(--space-1); }

.timestrip {
  margin-block: var(--space-4) var(--space-6); padding: var(--space-4);
  background: var(--white); border: var(--rule-hair) solid var(--charcoal-border); border-radius: var(--radius-card);
}
.timestrip__label { display: flex; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-4); }
.timestrip__icon { display: inline-grid; color: var(--secondary); }
.timestrip__icon svg { width: 18px; height: 18px; }
.timestrip__track {
  position: relative; height: 6px; margin: var(--space-2) var(--space-2) var(--space-8);
  background: var(--secondary-tint); border-radius: var(--radius-pill);
}
.timestrip__dot {
  position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px;
  background: var(--secondary); border: 2px solid var(--white); border-radius: var(--radius-pill);
}
.timestrip__hour {
  position: absolute; top: 14px; transform: translateX(-50%);
  font-family: var(--font-data); font-size: var(--size-caption); color: var(--charcoal-muted);
}
.timestrip__times { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.timestrip__times li {
  margin: 0; padding: 2px var(--space-2); border-radius: var(--radius-pill);
  background: var(--primary-tint); color: var(--primary); font-size: var(--size-body-m);
}

.fare-bars { list-style: none; padding: 0; margin-block: var(--space-3) var(--space-6); display: grid; gap: var(--space-3); }
.fare-bar {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-3); row-gap: var(--space-1);
  align-items: baseline; margin: 0;
}
.fare-bar__label { min-width: 0; }
.fare-bar__track { grid-column: 1 / -1; position: relative; height: 10px; background: var(--charcoal-border); border-radius: var(--radius-pill); }
.fare-bar__fill { position: absolute; top: 0; bottom: 0; background: var(--secondary); border-radius: var(--radius-pill); }
.fare-bar__value { font-weight: 600; white-space: nowrap; color: var(--charcoal); }
.fare-bar__note { grid-column: 1 / -1; font-size: var(--size-body-s); line-height: var(--lh-body-s); color: var(--charcoal-muted); }
@media (min-width: 768px) {
  .fare-bars { max-width: 44rem; }
}

.timeline { list-style: none; padding: 0; margin-block: var(--space-4) var(--space-6); position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--secondary-tint);
}
.timeline li { position: relative; padding-left: var(--space-8); margin-bottom: var(--space-4); }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px;
  background: var(--white); border: 3px solid var(--secondary); border-radius: var(--radius-pill);
}
.timeline li strong:first-child { color: var(--primary); }
.timeline li.has-lead strong:first-child { display: block; }

.page-header {
  position: relative; overflow: hidden;
  margin: 0 0 var(--space-8); padding: var(--space-8) var(--space-8) var(--space-6);
  border: 0; border-radius: var(--radius-sheet); color: var(--white);
  background:
    radial-gradient(110% 160% at 100% 0%, rgba(247, 198, 108, 0.38) 0%, rgba(247, 198, 108, 0) 48%),
    linear-gradient(135deg, #004B87 0%, #0B6C8C 58%, #0F8A8B 100%);
  box-shadow: 0 10px 30px rgba(0, 75, 135, 0.18);
}
.page-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: auto; height: 5px; width: auto;
  transform: none; animation: none;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 30%, rgba(247, 198, 108, 0) 100%);
}
.page-header h1, .page-header .page-header h1 { color: var(--white); margin-bottom: 0; text-wrap: balance; }
.page-header p, .home-page .page-header p { color: rgba(255, 255, 255, 0.92); }
.page-header a { color: var(--accent); }
.page-header .verified-badge {
  background: rgba(255, 255, 255, 0.14); color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}
.page-header .verified-badge svg { color: #9BE8C4; }
.page-header .verified-badge time { color: var(--accent); }
@media (max-width: 767px) {
  .page-header { margin-inline: calc(var(--margin-mobile) * -1); border-radius: 0; padding: var(--space-6) var(--margin-mobile) var(--space-6); }
}

.quick-answer {
  border: 0; border-radius: var(--radius-card);
  padding: var(--space-4) var(--space-6); background: var(--white); box-shadow: var(--elev-1);
}

.h-icon { width: 40px; height: 40px; border-radius: 12px; }
.route-schedule .h-icon, .destination-leave .h-icon, .route-connections .h-icon, .home-updates .h-icon { background: var(--primary-tint); color: var(--primary); }
.route-price .h-icon, .transport-options .h-icon, .mode-operators .h-icon, .home-overview .h-icon { background: var(--accent-tint); color: #B7791F; }
.route-status .h-icon { background: var(--status-bad-tint); color: var(--status-bad); }
.destination-arrive .h-icon, .sources .h-icon, .home-destinations .h-icon { background: var(--status-ok-tint); color: var(--status-ok); }

.option-card { box-shadow: var(--elev-1); }
.option-card--cancelled { border-top-color: var(--status-bad); }
.option-card .fare { font-size: var(--size-data-l); line-height: var(--lh-data-l); font-weight: 700; color: var(--primary); }
.quick-facts td.num { color: var(--primary); font-weight: 600; }

.tip:nth-child(3n+2) .tip__icon { background: var(--primary-tint); color: var(--primary); }
.tip:nth-child(3n) .tip__icon { background: var(--accent-tint); color: #B7791F; }
.fare-bar__fill { background: linear-gradient(90deg, var(--secondary), var(--primary)); }
.timestrip__dot { background: var(--primary); }
.timestrip__times li:first-child, .timestrip__times li:last-child { background: var(--accent); color: var(--charcoal); font-weight: 600; }

main section.widget-slot.widget-slot {
  padding: var(--space-6); border-radius: var(--radius-sheet);
  background: linear-gradient(135deg, var(--accent-tint) 0%, #FFFBF3 100%);
  box-shadow: inset 0 0 0 1px #F2DDB0;
}
.widget-slot > h2::before { background: var(--accent); width: 44px; }
@media (max-width: 767px) {
  main section.widget-slot.widget-slot {
    margin-inline: calc(var(--margin-mobile) * -1); border-radius: 0; padding: var(--space-6) var(--margin-mobile);
  }
}

.option-card__head h3 { margin: 0; line-height: 1.2; }
.option-card__head .status { align-self: center; }

:root { --col: 780px; --band-pad: 64px; --card: var(--white); }
@media (max-width: 767px) { :root { --band-pad: 44px; } }
body { overflow-x: clip; }
.site-footer { margin-top: 0; }

#main { display: block; }
#main > article { display: block; }
#main .home-page { --col: var(--container-max); }

#main article > * {
  box-sizing: border-box; margin: 0;
  padding-inline: max(var(--margin-mobile), calc((100% - var(--col)) / 2));
}
@media (min-width: 768px) {
  #main article > * { padding-inline: max(var(--margin-tablet), calc((100% - var(--col)) / 2)); }
}

body:not(:has(.home-page)) .container > .breadcrumbs { max-width: var(--col); margin-inline: auto; }

#main article > section { padding-block: var(--band-pad); background: var(--sand); --card: var(--white); }
#main article > section:nth-of-type(odd) { background: var(--white); --card: #F9F5EE; }
#main article > section.widget-slot {
  background: linear-gradient(135deg, var(--accent-tint) 0%, #FFF9EE 100%);
  border-radius: 0; box-shadow: none; --card: var(--white);
}
#main article > .notice, #main article > .alert-banner { padding-block: var(--space-6); }

#main article > .page-header {
  border: 0; border-radius: 0;
  padding-block: 56px 52px;
}
#main .page-header h1 {
  font-size: clamp(30px, 1.4rem + 1.6vw, 46px); line-height: 1.12;
  letter-spacing: -0.02em; text-wrap: balance;
}
#main .page-header p { font-size: 18px; line-height: 1.6; max-width: 62ch; margin-top: var(--space-4); }
#main .page-header .verified-badge,
#main .page-header .verified-badge time,
#main .page-header .verified-badge svg { color: var(--white); }

#main article > .page-hero { padding-block: var(--space-8) 0; background: var(--white); }
#main article > .page-hero img { border-radius: var(--radius-sheet); width: 100%; height: auto; }
#main article > .page-hero + section:nth-of-type(odd) { padding-top: var(--space-8); }

#main article p, #main article li { max-width: none; text-wrap: pretty; }
#main article > section p, #main article > section li { font-size: 17px; line-height: 1.7; }
#main article h2, #main article h3 { text-wrap: balance; }
#main article > section > h2 {
  font-size: clamp(23px, 1.05rem + 0.9vw, 30px); line-height: 1.22; letter-spacing: -0.015em;
  margin: 0 0 var(--space-6);
}
#main article > section h2:not(:first-child) { margin-top: var(--space-12); font-size: clamp(21px, 1rem + 0.6vw, 25px); }
#main article > section h3 { font-size: 20px; line-height: 1.3; margin: var(--space-8) 0 var(--space-3); }
#main article > section > h2 + p { color: var(--charcoal); }

#main .tip, #main .option-card, #main .timestrip, #main .journey, #main .quick-answer,
#main .route-card__link, #main .dest-card__link, #main .dest-card__body { background: var(--card); }
#main .tips:not(.tips--grid) { max-width: none; }
#main .quick-answer { max-width: none; }
#main .quick-answer p { font-size: 19px; line-height: 1.6; }
#main .tip { padding: var(--space-5, 20px); }
#main .tip__body p { font-size: 16px; line-height: 1.65; }

#main .faq__item { padding-block: var(--space-6); }
#main .faq__item h3 { margin-top: 0; }

.route-cards, .dest-cards { list-style: none; margin: var(--space-6) 0 var(--space-4); padding: 0; display: grid; gap: var(--space-4); }
.route-cards { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.dest-cards { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--space-6); }
#main .route-card, #main .dest-card { margin: 0; font-size: inherit; }
.route-card__link {
  display: flex; flex-direction: column; gap: var(--space-2); height: 100%;
  padding: var(--space-6); border-radius: var(--radius-card);
  box-shadow: inset 0 0 0 1px var(--charcoal-border); color: var(--charcoal); text-decoration: none;
  transition: box-shadow var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.route-card__link:hover { box-shadow: inset 0 0 0 2px var(--secondary), var(--elev-1); transform: translateY(-2px); color: var(--charcoal); }
.route-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-2); }
.route-card__mode { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--secondary-tint); color: var(--secondary); }
.route-card__mode svg { width: 22px; height: 22px; }
.route-card__pair { font-size: 20px; line-height: 1.25; font-weight: 700; color: var(--primary); }
.route-card__way { font-size: 15px; line-height: 1.5; color: var(--charcoal-muted); }
.route-card__time { display: flex; align-items: flex-start; gap: var(--space-2); margin-top: auto; padding-top: var(--space-3); border-top: 1px solid var(--charcoal-border); font-size: 15px; line-height: 1.45; font-weight: 600; color: var(--charcoal); }
.route-card__time svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--secondary); }

.dest-card__link {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  border-radius: var(--radius-sheet); color: var(--charcoal); text-decoration: none;
  box-shadow: 0 1px 2px rgba(44, 58, 71, 0.06), 0 0 0 1px var(--charcoal-border);
  transition: box-shadow var(--dur-mid) var(--ease-out), transform var(--dur-mid) var(--ease-out);
}
.dest-card__link:hover { box-shadow: 0 14px 30px rgba(0, 75, 135, 0.16); transform: translateY(-4px); color: var(--charcoal); }
.dest-card__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.dest-card__link:hover .dest-card__img { transform: scale(1.05); }
.dest-card__body { position: relative; display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-4) var(--space-6) var(--space-6); flex: 1; }
.dest-card__name { display: flex; align-items: center; justify-content: space-between; font-size: 21px; line-height: 1.25; font-weight: 700; color: var(--primary); }
.dest-card__name svg { width: 20px; height: 20px; color: var(--secondary); transition: transform var(--dur-fast) var(--ease-out); }
.dest-card__link:hover .dest-card__name svg { transform: translateX(3px); }
.dest-card__summary { font-size: 15px; line-height: 1.55; color: var(--charcoal-muted); }

@media (min-width: 900px) {
  #main .home-page .timeline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); max-width: none; }
  #main .home-page .timeline::before { content: none; }
  #main .home-page .timeline li { margin: 0; padding: var(--space-6); border-radius: var(--radius-card); background: var(--card); box-shadow: inset 0 0 0 1px var(--charcoal-border); }
  #main .home-page .timeline li::before { content: none; }
  #main .home-page .faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); align-items: stretch; }
  #main .home-page .faq > :not(.faq__item) { grid-column: 1 / -1; }
  #main .home-page .faq__item { padding: var(--space-6); border: 0; border-radius: var(--radius-card); background: var(--card); box-shadow: inset 0 0 0 1px var(--charcoal-border); }
  #main .home-page article > section > p { max-width: 70ch; }
}
#main .home-page > section > p { max-width: 72ch; }

@media (prefers-reduced-motion: reduce) {
  .route-card__link, .dest-card__link, .dest-card__img, .dest-card__name svg { transition: none; }
  .route-card__link:hover, .dest-card__link:hover, .dest-card__link:hover .dest-card__img { transform: none; }
}

:root { --col: 720px; --band-b: #E6F0F7; }
body { background: var(--white); }
.breadcrumbs ol { padding-block: var(--space-4); }

#main article > section { background: var(--white); --card: #F1F6FA; }
#main article > section:nth-of-type(odd) { background: var(--white); --card: #F1F6FA; }
#main article > section:nth-of-type(even) { background: var(--band-b); --card: var(--white); }
#main article > section.widget-slot { background: linear-gradient(135deg, #FDEBC4 0%, #FFF6E2 100%); --card: var(--white); }
#main article > .page-hero { background: var(--white); }

#main .tip, #main .option-card, #main .timestrip, #main .journey,
#main .route-card__link, #main .dest-card__link {
  border: 0; box-shadow: 0 1px 2px rgba(0, 45, 80, 0.06), 0 0 0 1px rgba(0, 45, 80, 0.08);
}
#main .option-card { border-top: 0; overflow: hidden; position: relative; }
#main .tip:has(use[href="#icon-warning"]) { border-left: 0; background: #FFF4DC; }
#main .quick-answer {
  border: 0; border-radius: var(--radius-sheet); padding: var(--space-6) var(--space-8);
  background: #FFF4DC; box-shadow: 0 1px 2px rgba(120, 80, 0, 0.08);
}
@media (max-width: 767px) { #main .quick-answer { padding: var(--space-4) var(--space-6); } }
#main .quick-answer p { color: #2C3A47; }

#main article > section > h2 { margin-bottom: var(--space-8); }
#main article > section h2:not(:first-child) { margin-top: 56px; margin-bottom: var(--space-4); }
#main article > section > * + .tips, #main article > section > * + .fare-bars,
#main article > section > * + .timestrip { margin-top: var(--space-6); }

#main .home-page .page-header p { max-width: 60ch; }

.site-header { position: relative; z-index: 40; }
.site-nav summary { list-style: none; cursor: pointer; }
.site-nav summary::-webkit-details-marker { display: none; }
.nav-group__chevron { width: 16px; height: 16px; flex: none; transition: transform var(--dur-fast) var(--ease-out); }
.nav-group[open] .nav-group__chevron { transform: rotate(180deg); }
.nav-toggle {
  grid-area: toggle; display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.14); color: var(--white); cursor: pointer;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.24); }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle__close, .site-header[data-nav-open] .nav-toggle__open { display: none; }
.site-header[data-nav-open] .nav-toggle__close { display: block; }

@media (max-width: 1023px) {
  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "brand lang toggle" "nav nav nav";
    gap: 0 var(--space-2); min-height: 64px; padding-block: 10px;
  }
  .site-nav { display: none; }
  .site-header[data-nav-open] .site-nav {
    display: block; margin-top: 10px; padding: var(--space-2) 0 var(--space-4);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
  .site-nav .site-nav__list { display: block; }
  .site-nav .site-nav__link {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    padding: 14px 4px; font-size: 17px; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  }
  .site-nav .site-nav__link[aria-current="page"] { color: var(--accent); border-bottom-color: rgba(255, 255, 255, 0.10); }
  .site-nav .nav-group__panel {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-4);
    list-style: none; margin: 0; padding: var(--space-2) 4px var(--space-3);
  }
  .site-nav .nav-group--routes .nav-group__panel { grid-template-columns: 1fr; }
  .site-nav .nav-group__panel a { display: block; padding: 10px 0; font-size: 16px; font-weight: 500; color: rgba(255, 255, 255, 0.9); border: 0; }
  .site-header .lang-switcher__current { display: none; }
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand nav lang"; gap: var(--space-8); min-height: 68px; padding-block: 0;
  }
  .site-nav .site-nav__list { display: flex; flex-wrap: nowrap; align-items: center; gap: 2px; }
  .site-nav .site-nav__link {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 0; border-radius: 10px;
    font-size: 15px; font-weight: 600; white-space: nowrap; color: var(--white);
  }
  .site-nav .site-nav__link:hover, .site-nav .nav-group[open] > summary { background: rgba(255, 255, 255, 0.14); }
  .site-nav .site-nav__link[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent); border-radius: 10px 10px 4px 4px; }
  .nav-group { position: relative; }
  .site-nav .nav-group__panel {
    position: absolute; top: calc(100% + 10px); left: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr; gap: 2px; min-width: 250px;
    list-style: none; margin: 0; padding: var(--space-2);
    background: var(--white); border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 30, 60, 0.22), 0 0 0 1px rgba(0, 45, 80, 0.08);
  }
  .site-nav .nav-group--destinations .nav-group__panel { grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 320px; }
  .site-nav .nav-group__panel a {
    display: block; padding: 10px 12px; border: 0; border-radius: 8px;
    color: var(--charcoal); font-size: 15px; font-weight: 500; white-space: nowrap;
  }
  .site-nav .nav-group__panel a:hover { background: var(--primary-tint); color: var(--primary); }
}
.lang-switcher__menu { z-index: 70; }

#main article > .quick-answer, #main article > .notice, #main article > .status-notice {
  margin-block: var(--space-8);
  margin-inline: max(var(--margin-mobile), calc((100% - var(--col)) / 2));
}
#main article > .quick-answer { padding: var(--space-6) var(--space-8); }
@media (max-width: 767px) { #main article > .quick-answer { padding: var(--space-4) var(--space-6); } }

#main .transport-options { display: grid; gap: var(--space-4); }
#main .transport-options > h2 { margin-bottom: var(--space-4); }
#main .option-card { margin: 0; padding: var(--space-6); border-radius: var(--radius-card); }

#main article > section.home-search { background: linear-gradient(135deg, #FDEBC4 0%, #FFF6E2 100%); }
#main .home-search .widget-slot { background: none; box-shadow: none; padding: 0; margin: 0; border-radius: 0; }

.dest-cards--modes { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.dest-cards--modes .dest-card__img { aspect-ratio: 16 / 9; }

.link-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
#main .link-cards li { margin: 0; }
.link-card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-4); align-items: center;
  padding: var(--space-4) var(--space-6); border-radius: var(--radius-card); background: var(--card);
  box-shadow: 0 1px 2px rgba(0, 45, 80, 0.06), 0 0 0 1px rgba(0, 45, 80, 0.08);
  color: var(--charcoal); text-decoration: none;
  transition: box-shadow var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.link-card:hover { box-shadow: 0 8px 20px rgba(0, 75, 135, 0.14), 0 0 0 1px var(--secondary); transform: translateY(-2px); color: var(--charcoal); }
.link-card__title { font-weight: 700; font-size: 18px; color: var(--primary); }
.link-card__summary { grid-column: 1; font-size: 15px; line-height: 1.5; color: var(--charcoal-muted); }
.link-card svg { grid-column: 2; grid-row: 1 / span 2; width: 20px; height: 20px; color: var(--secondary); }
@media (prefers-reduced-motion: reduce) { .link-card { transition: none; } .link-card:hover { transform: none; } }

@media (min-width: 1024px) {
  
  .site-nav .nav-group__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
}
#main article > .page-hero figcaption { display: none; }

.terminal-photo { margin: var(--space-6) 0 var(--space-8); }
.terminal-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-sheet); }
.terminal-photo figcaption { margin-top: var(--space-2); font-size: 14px; line-height: 1.5; color: var(--charcoal-muted); }

:root {
  --sea-950: #06283A;
  --sea-900: #0A3550;
  --sea-700: #0D5677;
  --lagoon-600: #0C8C8A;
  --lagoon-500: #12A7A2;
  --lagoon-100: #DCF3EF;
  --lagoon-50: #EEF9F7;
  --sun-400: #FFC53D;
  --sun-300: #FFD66E;
  --sun-100: #FFF1CC;
  --coral-500: #EE6A4D;
  --coral-100: #FDE6E0;
  --ink: #122536;
  --ink-2: #445A6B;
  --line: #D8E4E8;

  --primary: var(--sea-700);
  --primary-hover: var(--sea-900);
  --primary-tint: #E2EFF5;
  --secondary: var(--lagoon-600);
  --secondary-tint: var(--lagoon-100);
  --accent: var(--sun-400);
  --accent-hover: #F2B21F;
  --accent-tint: var(--sun-100);
  --charcoal: var(--ink);
  --charcoal-muted: var(--ink-2);
  --charcoal-border: var(--line);
  --band-b: var(--lagoon-50);
}
body { color: var(--ink); }
a { color: var(--sea-700); }
::selection { background: var(--sun-300); color: var(--ink); }

.site-header { background: var(--sea-950); }
.site-footer { background: linear-gradient(180deg, var(--sea-900) 0%, var(--sea-950) 100%); }

#main article > .page-header {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: 40px 56px; color: var(--white);
  background: linear-gradient(135deg, var(--sea-900) 0%, var(--sea-700) 55%, var(--lagoon-600) 100%);
  box-shadow: none;
}
#main article > .page-header::after { content: none; }
#main article > .page-header--photo { min-height: clamp(360px, 44vw, 540px); display: flex; flex-direction: column; justify-content: flex-end; padding-block: 28px 56px; }
#main .home-page > .page-header--photo { min-height: clamp(460px, 56vw, 680px); }
#main .page-header .page-hero { position: absolute; inset: 0; z-index: -2; margin: 0; padding: 0; background: var(--sea-900); }
#main .page-header .page-hero img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
#main .page-header .page-hero figcaption { display: none; }
#main .page-header--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 40, 58, 0.55) 0%, rgba(6, 40, 58, 0.10) 32%, rgba(6, 40, 58, 0.25) 55%, rgba(6, 40, 58, 0.88) 100%);
}
#main .page-header__inner { position: relative; width: 100%; }
#main .page-header--photo .page-header__inner { margin-top: auto; }
#main .page-header h1 {
  color: var(--white); margin: 0; max-width: 20ch;
  font-size: clamp(32px, 1.2rem + 2.6vw, 56px); line-height: 1.06; letter-spacing: -0.025em;
  text-shadow: 0 2px 24px rgba(6, 40, 58, 0.35);
}
#main .home-page .page-header h1 { max-width: 16ch; font-size: clamp(36px, 1.2rem + 3.4vw, 68px); }
#main .page-header p { color: rgba(255, 255, 255, 0.92); font-size: clamp(17px, 1rem + 0.3vw, 20px); max-width: 52ch; margin-top: var(--space-4); }

#main .page-header .breadcrumbs { position: absolute; top: 0; left: 0; right: 0; }
#main .page-header--photo .breadcrumbs { position: static; margin-bottom: auto; }
#main .page-header .breadcrumbs ol { padding: 0 0 var(--space-6); margin: 0; font-size: 14px; color: rgba(255, 255, 255, 0.78); }
#main .page-header .breadcrumbs a { color: var(--white); text-decoration-color: rgba(255, 255, 255, 0.45); }
#main .page-header .breadcrumbs li + li::before { color: rgba(255, 255, 255, 0.5); }
#main .page-header:not(.page-header--photo) .breadcrumbs { position: static; }
#main article > .page-header--photo { justify-content: space-between; }
#main .page-header--photo .page-header__inner { display: flex; flex-direction: column; min-height: inherit; }

#main .page-header .verified-badge {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 var(--space-4);
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: rgba(6, 40, 58, 0.45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  font-family: var(--font-ui); font-size: 14px; line-height: 1.2; font-weight: 600; letter-spacing: 0; color: var(--white);
}
#main .page-header .verified-badge time, #main .page-header .verified-badge .data {
  font-family: inherit; font-size: inherit; font-weight: inherit; letter-spacing: inherit; color: inherit; font-variant-numeric: normal;
}
#main .page-header .verified-badge svg { width: 16px; height: 16px; color: var(--sun-300); }

#main article > .page-toc { padding-block: var(--space-8); background: var(--white); border-bottom: 1px solid var(--line); }
.page-toc__label { margin: 0 0 var(--space-3); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lagoon-600); }
.page-toc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px var(--space-6); counter-reset: toc; }
@media (min-width: 768px) { .page-toc__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
#main .page-toc__list li { margin: 0; counter-increment: toc; font-size: 16px; line-height: 1.35; }
.page-toc__list a {
  display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: baseline; gap: 6px;
  padding: 10px 8px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600;
}
.page-toc__list a::before { content: counter(toc, decimal-leading-zero); font-size: 13px; font-weight: 700; color: var(--lagoon-600); font-variant-numeric: tabular-nums; }
.page-toc__list a:hover { background: var(--lagoon-50); color: var(--sea-700); }
#main section[id], #main h2[id] { scroll-margin-top: 16px; }

#main article > section { background: var(--white); --card: var(--lagoon-50); }
#main article > section:nth-of-type(even) { background: var(--lagoon-50); --card: var(--white); }
#main article > section > h2 {
  font-size: clamp(26px, 1.1rem + 1.2vw, 36px); line-height: 1.15; letter-spacing: -0.02em; color: var(--sea-900);
  margin-bottom: var(--space-8);
}
#main article > section h2:not(:first-child) { font-size: clamp(22px, 1rem + 0.7vw, 27px); color: var(--sea-900); margin-top: 64px; }
#main article > section h3 { font-size: 21px; color: var(--sea-700); margin-top: 40px; }
#main .h-icon { width: 44px; height: 44px; border-radius: 14px; background: var(--lagoon-100); color: var(--lagoon-600); }
#main .route-schedule .h-icon, #main .destination-leave .h-icon, #main .route-connections .h-icon, #main .home-updates .h-icon { background: #DDEBF6; color: var(--sea-700); }
#main .route-price .h-icon, #main .transport-options .h-icon, #main .mode-operators .h-icon, #main .home-overview .h-icon { background: var(--sun-100); color: #A86F00; }
#main .route-status .h-icon { background: var(--coral-100); color: #B8452B; }

#main article > section p, #main article > section li { color: var(--ink); }
#main .fact {
  padding: 0 5px; border-radius: 6px; white-space: nowrap;
  background: var(--sun-100); color: #5A3E00; font-weight: 600;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
#main article > section p + p { margin-top: var(--space-5, 20px); }

#main .quick-answer, #main article > .quick-answer {
  background: var(--sun-100); box-shadow: none; border-radius: 20px;
}
#main .quick-answer p { font-size: clamp(18px, 1rem + 0.3vw, 21px); line-height: 1.55; font-weight: 500; color: var(--ink); }
#main .quick-answer .fact { background: var(--white); }

#main .tips, #main .tips.tips--grid {
  display: block; max-width: none; padding: var(--space-2) var(--space-6);
  background: var(--card); border-radius: 20px; box-shadow: 0 0 0 1px rgba(10, 53, 80, 0.06);
}
#main .tip, #main .tip:has(use[href="#icon-warning"]) {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--space-4); align-items: start;
  padding: var(--space-5, 20px) 0; margin: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none;
}
#main .tip + .tip { border-top: 1px solid var(--line); }
#main .tip__icon { width: 40px; height: 40px; background: var(--lagoon-100); color: var(--lagoon-600); }
#main .tip:has(use[href="#icon-warning"]) .tip__icon { background: var(--coral-100); color: #B8452B; }
#main .tip__body strong:first-child { font-size: 18px; color: var(--sea-900); margin-bottom: 4px; }
#main .tip__body p { font-size: 16.5px; line-height: 1.65; }
@media (max-width: 767px) { #main .tips, #main .tips.tips--grid { padding: 0 var(--space-4); } }

#main .option-card { background: var(--white); border-radius: 18px; box-shadow: 0 1px 2px rgba(10, 53, 80, 0.06), 0 0 0 1px var(--line); }
#main .option-card .fare { color: var(--sea-900); }
#main .option-card__mode { color: var(--lagoon-600); }

#main .link-cards { display: grid; gap: var(--space-3); grid-template-columns: 1fr; margin: var(--space-4) 0 var(--space-6); }
#main .link-card { background: var(--card); border-radius: 16px; padding: 18px 22px; }
#main .link-card__title { color: var(--sea-900); font-size: 18px; }
#main .link-card:hover { box-shadow: 0 10px 24px rgba(10, 53, 80, 0.12), 0 0 0 2px var(--lagoon-500); }

#main .booking-cta, #main .booking-cta--pair {
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin: var(--space-8) 0 var(--space-4);
}
#main .booking-cta .btn {
  min-height: 56px; padding: 16px 32px; border-radius: 999px; font-size: 17px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
}
#main .booking-cta .btn--accent { background: var(--sun-400); color: var(--ink); box-shadow: 0 6px 18px rgba(242, 178, 31, 0.35); }
#main .booking-cta .btn--accent:hover { background: var(--sun-300); transform: translateY(-1px); }
#main .booking-cta .btn--secondary { background: var(--white); color: var(--sea-900); box-shadow: inset 0 0 0 2px var(--sea-700); }
#main .booking-cta .btn--secondary:hover { background: var(--primary-tint); }
@media (max-width: 559px) { #main .booking-cta .btn { width: 100%; } }
.book-fab { background: var(--sun-400); color: var(--ink); }

#main article > section.faq { background: var(--sea-900); --card: #0E4666; color: var(--white); }
#main article > section.faq > h2 { color: var(--white); }
#main article > section.faq .h-icon { background: rgba(255, 255, 255, 0.12); color: var(--sun-300); }
#main .faq .faq__item { border-bottom-color: rgba(255, 255, 255, 0.14); }
#main .faq .faq__item h3 { color: var(--sun-300); font-size: 19px; }
#main .faq .faq__item p { color: #E4EEF3; }
#main .faq .faq__item a { color: var(--white); }
#main .faq .fact { background: rgba(255, 197, 61, 0.18); color: var(--sun-300); }
#main .faq .faq__reported, #main .faq .source-meta { color: #B9CCD6; }

#main article > section.widget-slot, #main article > section.home-search { background: linear-gradient(135deg, #FFE9A8 0%, #FFF6DB 100%); }
#main article > section.widget-slot > h2, #main .home-search h2 { color: var(--sea-900); }

#main .dest-card__link, #main .route-card__link { border-radius: 20px; }
#main .dest-card__name { color: var(--sea-900); }
.dest-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.dest-card__tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: var(--lagoon-100); color: var(--sea-900); font-size: 13px; font-weight: 600; line-height: 1.3;
}
#main .route-card__mode { background: var(--lagoon-100); color: var(--lagoon-600); }
#main .route-card__pair { color: var(--sea-900); }

#main .home-page .timeline li { background: var(--card); }
#main .timeline li strong:first-child { color: var(--sea-700); }
.fare-bar__fill { background: linear-gradient(90deg, var(--lagoon-500), var(--sea-700)); }
.timestrip__dot { background: var(--sea-700); }
.timestrip__times li { background: #DDEBF6; color: var(--sea-900); }
.timestrip__times li:first-child, .timestrip__times li:last-child { background: var(--sun-400); color: var(--ink); }

#main .page-header .verified-badge { align-self: flex-start; width: fit-content; }
#main .fact { padding: 0 3px; }
#main .dest-card__tags { margin-top: 4px; }

#main .option-card__head h3 { margin: 0; font-size: 19px; line-height: 1.2; }
#main .page-header h1 { overflow-wrap: anywhere; }
#main article h2, #main article h3 { overflow-wrap: anywhere; }
#main { padding: 0; }
@media (max-width: 767px) { #main .page-header h1 { max-width: none; } }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
#main h2[id], #main section[id] { scroll-margin-top: 76px; }

#main article > .page-toc { padding-block: 40px 44px; background: var(--lagoon-50); border-bottom: 0; }
#main .page-toc__label { display: flex; align-items: center; gap: 10px; margin: 0 0 var(--space-4); font-size: 13px; color: var(--sea-900); }
#main .page-toc__label::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--sun-400); box-shadow: 0 0 0 4px rgba(255, 197, 61, 0.28); }
#main .page-toc__list { gap: 10px; }
#main .page-toc__list li { font-size: 15.5px; }
#main .page-toc__list a {
  grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; background: var(--white); border-radius: 14px;
  box-shadow: 0 0 0 1px var(--line); color: var(--ink);
  transition: box-shadow var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
#main .page-toc__list a::before {
  content: counter(toc); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 999px;
  background: var(--sun-100); color: #7A5200; font-size: 13px; font-weight: 800;
}
#main .page-toc__list a:hover { box-shadow: 0 0 0 2px var(--lagoon-500), 0 10px 20px rgba(10, 53, 80, 0.10); transform: translateY(-1px); background: var(--white); color: var(--sea-900); }
#main .page-toc__list a[aria-current]::before { background: var(--sun-400); color: var(--ink); }
#main .page-toc__list a[aria-current] { box-shadow: 0 0 0 2px var(--sun-400); }

.toc-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 45;
  background: rgba(6, 40, 58, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 24px rgba(6, 40, 58, 0.22);
  transform: translateY(-110%); transition: transform var(--dur-mid) var(--ease-out);
}
.toc-bar.is-visible { transform: none; }
.toc-bar__inner { max-width: var(--container-max); margin: 0 auto; display: flex; align-items: center; gap: var(--space-4); padding: 10px var(--margin-mobile); }
@media (min-width: 768px) { .toc-bar__inner { padding-inline: var(--margin-tablet); } }
.toc-bar__label { flex: none; color: var(--sun-300); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 767px) { .toc-bar__label { display: none; } }
.toc-bar__list {
  display: flex; gap: 6px; margin: 0; padding: 2px 0; list-style: none; overflow-x: auto; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent);
}
.toc-bar__list::-webkit-scrollbar { display: none; }
.toc-bar__list li { flex: none; margin: 0; }
.toc-bar__list a {
  display: inline-block; max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86); font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.toc-bar__list a:hover { background: rgba(255, 255, 255, 0.18); color: var(--white); }
.toc-bar__list a[aria-current] { background: var(--sun-400); color: var(--ink); }
.toc-bar__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--sun-400); transform: scaleX(0); transform-origin: left; }
@media (prefers-reduced-motion: reduce) { .toc-bar { transition: none; } }

.site-header { background: linear-gradient(90deg, var(--sea-950) 0%, #0B3B57 100%); }
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--sun-400) 0%, var(--sun-300) 45%, var(--lagoon-500) 100%);
}
.site-header__wordmark span { color: var(--sun-400); font-weight: 700; }
.site-header__logo img { filter: drop-shadow(0 0 0 transparent); }

.nav-book {
  grid-area: book; display: none; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; background: var(--sun-400); color: var(--ink) !important;
  font-size: 15px; font-weight: 800; text-decoration: none; white-space: nowrap;
  box-shadow: 0 6px 16px rgba(255, 197, 61, 0.28);
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.nav-book svg { width: 17px; height: 17px; }
.nav-book:hover { background: var(--sun-300); transform: translateY(-1px); }

.site-header .lang-switcher__button {
  background: rgba(255, 255, 255, 0.10); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px;
  padding-inline: 12px 10px;
}
.site-header .lang-switcher__button:hover { background: rgba(255, 255, 255, 0.18); }
.site-header .lang-switcher__flag { border-radius: 999px; width: 22px; height: 22px; object-fit: cover; }

.nav-toggle { color: var(--sun-300); border-radius: 999px; }

@media (min-width: 1024px) {
  .site-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-areas: "brand nav book lang"; gap: var(--space-6); min-height: 72px;
  }
  .nav-book { display: inline-flex; }
  .site-nav .site-nav__list { gap: 4px; }
  .site-nav .site-nav__link { position: relative; color: rgba(255, 255, 255, 0.9); padding: 10px 14px; }
  .site-nav .site-nav__link::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px;
    background: var(--sun-400); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-mid) var(--ease-out);
  }
  .site-nav .site-nav__link:hover { background: rgba(255, 255, 255, 0.08); color: var(--white); }
  .site-nav .site-nav__link:hover::after, .site-nav .site-nav__link[aria-current="page"]::after, .site-nav .nav-group[open] > summary::after { transform: scaleX(1); }
  .site-nav .site-nav__link[aria-current="page"] { color: var(--sun-300); box-shadow: none; background: transparent; }
  .site-nav .nav-group[open] > summary { background: rgba(255, 255, 255, 0.10); }
  .site-nav .nav-group__panel { top: calc(100% + 12px); border-top: 0; }
  .site-nav .nav-group__panel a:hover { background: var(--sun-100); color: var(--ink); }
}
@media (max-width: 1023px) {
  .site-nav .site-nav__link[aria-current="page"] { color: var(--sun-300); }
  .site-header[data-nav-open] .site-nav .nav-group__panel a:hover { color: var(--sun-300); }
}
@media (prefers-reduced-motion: reduce) { .site-nav .site-nav__link::after, .nav-book { transition: none; } }

#main article > .page-header {
  padding-inline: max(var(--margin-mobile), calc((100% - var(--container-max)) / 2 + var(--margin-desktop)));
  text-align: center;
}
#main article > .page-header--photo { justify-content: center; padding-block: 24px 64px; }
#main .page-header--photo .page-header__inner { min-height: inherit; justify-content: center; align-items: center; }
#main .page-header__inner { display: flex; flex-direction: column; align-items: center; }
#main .page-header .breadcrumbs, #main .page-header--photo .breadcrumbs { position: absolute; top: 24px; left: 0; right: 0; margin: 0; z-index: 2; }

#main .page-header .breadcrumbs ol { justify-content: center; padding: 0; flex-wrap: nowrap; overflow: hidden; }
#main .page-header .breadcrumbs li { flex: none; white-space: nowrap; }

#main .page-header .breadcrumbs li:last-child { display: flex; align-items: baseline; flex: 0 1 auto; min-width: 0; overflow: hidden; }
#main .page-header .breadcrumbs li:last-child::before { flex: none; }
#main .page-header .breadcrumbs li:last-child > * { display: block; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#main .page-header--photo .page-header__inner { padding-top: 56px; }
#main .page-header:not(.page-header--photo) .page-header__inner { padding-top: 48px; }
#main .page-header .verified-badge { align-self: center; }
#main .page-header h1 { max-width: 22ch; margin-inline: auto; text-wrap: balance; }
#main .home-page .page-header h1 { max-width: 18ch; }
#main .page-header p { margin-inline: auto; text-align: center; }
#main .page-header--photo::before {
  background: radial-gradient(ellipse at center, rgba(6, 40, 58, 0.62) 0%, rgba(6, 40, 58, 0.38) 55%, rgba(6, 40, 58, 0.55) 100%),
              linear-gradient(180deg, rgba(6, 40, 58, 0.45) 0%, rgba(6, 40, 58, 0) 30%, rgba(6, 40, 58, 0) 70%, rgba(6, 40, 58, 0.55) 100%);
}
@media (max-width: 767px) {
  #main article > .page-header--photo { min-height: 440px; }
  #main .page-header .breadcrumbs ol { font-size: 13px; padding-inline: var(--margin-mobile); }
}

#main article > .toc-bar { padding: 0; margin: 0; }

.book-fab {
  min-height: 52px; padding: 14px 22px; font-size: 16px; font-weight: 800;
  background: linear-gradient(135deg, #FFD66E 0%, #FFC53D 55%, #F5A81C 100%); color: var(--ink);
  box-shadow: 0 2px 4px rgba(120, 80, 0, 0.25), 0 12px 32px rgba(245, 168, 28, 0.45);
}
.book-fab:hover { box-shadow: 0 2px 4px rgba(120, 80, 0, 0.25), 0 16px 40px rgba(245, 168, 28, 0.6); transform: translateY(-2px) scale(1.02); }
.book-fab__icon { width: 20px; height: 20px; }
@media (min-width: 768px) {
  .book-fab { right: 32px; bottom: 32px; min-height: 64px; padding: 18px 32px; font-size: 19px; gap: 10px; }
  .book-fab__icon { width: 24px; height: 24px; }
}
@media (max-width: 767px) {
  .book-fab { right: auto; left: 50%; transform: translateX(-50%); }
  .book-fab:hover, .book-fab:active { transform: translateX(-50%) translateY(-2px); }
}
@media (prefers-reduced-motion: no-preference) {
  .book-fab::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    box-shadow: 0 0 0 0 rgba(255, 197, 61, 0.55); animation: fab-ping 2.4s var(--ease-out) 1.2s 2;
  }
  @keyframes fab-ping { to { box-shadow: 0 0 0 18px rgba(255, 197, 61, 0); } }
}
@media (max-width: 767px) { .book-fab[data-book-fab="near"] { transform: translateX(-50%) translateY(8px); } }
@media (min-width: 1024px) { #main .page-header h1 { max-width: 26ch; font-size: clamp(44px, 1.4rem + 3vw, 66px); } #main .home-page .page-header h1 { max-width: 20ch; font-size: clamp(48px, 1.4rem + 3.8vw, 76px); } }
@media (max-width: 767px) { #main .page-header h1 { max-width: none; } }

.book-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: block;
  color: var(--white); text-decoration: none;
  background: rgba(6, 40, 58, 0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -12px 32px rgba(6, 40, 58, 0.28);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transition: transform var(--dur-mid) var(--ease-out), opacity var(--dur-mid) var(--ease-out);
}
.book-bar::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--sun-400) 0%, var(--sun-300) 50%, var(--lagoon-500) 100%);
}
.book-bar:hover, .book-bar:focus-visible { color: var(--white); }
.book-bar[data-book-fab="near"] { transform: translateY(110%); opacity: 0; pointer-events: none; }
.book-bar__inner {
  max-width: var(--container-max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4); padding: 12px var(--margin-mobile);
}
.book-bar__text { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.book-bar__title { font-size: 15px; line-height: 1.25; font-weight: 800; color: var(--white); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.book-bar__sub { display: none; font-size: 14px; line-height: 1.4; color: #BFD3DD; }
.book-bar__btn {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 20px; border-radius: 999px;
  background: linear-gradient(135deg, #FFD66E 0%, #FFC53D 55%, #F5A81C 100%); color: var(--ink);
  font-size: 16px; font-weight: 800; white-space: nowrap;
  box-shadow: 0 2px 4px rgba(120, 80, 0, 0.3), 0 10px 26px rgba(245, 168, 28, 0.45);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.book-bar__btn svg { width: 18px; height: 18px; }
.book-bar:hover .book-bar__btn { transform: translateY(-1px); box-shadow: 0 2px 4px rgba(120, 80, 0, 0.3), 0 14px 32px rgba(245, 168, 28, 0.6); }
@media (min-width: 768px) {
  .book-bar__inner { padding: 14px var(--margin-desktop); gap: var(--space-8); }
  .book-bar__title { font-size: 19px; }
  .book-bar__sub { display: block; }
  .book-bar__btn { padding: 16px 34px; font-size: 18px; }
  .book-bar__btn svg { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: no-preference) {
  .book-bar__btn { position: relative; }
  .book-bar__btn::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    box-shadow: 0 0 0 0 rgba(255, 197, 61, 0.6); animation: fab-ping 2.4s var(--ease-out) 1.2s 2;
  }
}
@media (prefers-reduced-motion: reduce) { .book-bar, .book-bar__btn { transition: none; } }

.site-footer { padding-bottom: calc(var(--space-12) + 84px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 768px) { .site-footer { padding-bottom: calc(var(--space-12) + 96px); } }

.site-header { position: sticky; top: 0; z-index: 50; }
.toc-bar { display: none; }
#main h2[id], #main section[id], #book { scroll-margin-top: 88px; }
@media (max-width: 1023px) {
  .site-header[data-nav-open] .site-nav { max-height: calc(100vh - 64px); overflow-y: auto; overscroll-behavior: contain; }
}
@media (max-width: 767px) {
  .book-bar__title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 15px; }
}

#main .page-toc__list { counter-reset: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 768px) { #main .page-toc__list { gap: 14px; } }
@media (min-width: 1024px) { #main .home-page .page-toc__list[data-toc-count="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
#main .page-toc__list a { display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; font-size: 15.5px; font-weight: 700; line-height: 1.2; }
#main .page-toc__list a::before { content: none; }
#main .page-toc__icon {
  flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--sun-100); color: #8A5A00;
}
#main .page-toc__icon svg { width: 18px; height: 18px; }
#main .page-toc__list a:hover .page-toc__icon { background: var(--sun-400); color: var(--ink); }
#main .page-toc__text { min-width: 0; }

@media (max-width: 767px) {
  #main .page-toc__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #main .page-toc__list a { flex-direction: column; text-align: center; gap: 6px; padding: 14px 6px; }
  #main .page-toc__text { white-space: normal; overflow-wrap: normal; text-wrap: balance; }
}

.book-bar__sub { display: none !important; }
.book-bar__title { white-space: nowrap !important; display: block !important; -webkit-line-clamp: unset; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 767px) { .book-bar__inner { padding-block: 10px; } .book-bar__title { font-size: 15px; } .book-bar__btn { padding: 12px 18px; font-size: 16px; } }
@media (min-width: 768px) { .book-bar__title { font-size: 20px; } }
.site-footer { padding-bottom: calc(var(--space-12) + 80px + env(safe-area-inset-bottom, 0px)); }

#main .page-contents { display: none; }
#main .about-body > h2:first-child { margin-top: 0; }

#main article > section.closing-cta { background: linear-gradient(135deg, #FFE9A8 0%, #FFF6DB 100%); padding-block: 40px; }
#main .closing-cta .booking-cta { margin: 0; }

#main .about-body .h-icon { display: none; }
#main .about-body > h2 { font-size: clamp(22px, 1rem + 0.7vw, 27px); }
#main .about-body > h2:not(:first-child) { margin-top: 48px; }
#main .page-header h1, #main article h2, #main article h3 { overflow-wrap: normal; }

.brand-word { white-space: nowrap; }
@media (max-width: 767px) {
  #main .page-header h1[data-brand] { font-size: min(clamp(32px, 1.2rem + 2.6vw, 56px), 7.2vw); }
  #main article h2[data-brand] { font-size: min(clamp(23px, 1.05rem + 0.9vw, 30px), 6.4vw); }
  #main .faq > h2[data-brand] .h-icon { display: none; }
}
@media (max-width: 767px) {
  #main .page-header h1[data-brand], #main article h2[data-brand] { font-size: min(calc((100vw - 48px) / 14.5), 34px); }
  #main article h2[data-brand] .h-icon { display: none; }
}
@media (max-width: 767px) { #main .page-header h1[data-brand], #main article h2[data-brand], #main .about-body > h2[data-brand] { font-size: min(calc((100vw - 48px) / 17.5), 34px); } }

.book-bar {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 10px var(--margin-mobile) calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(135deg, #FFD66E 0%, #FFC53D 55%, #F5A81C 100%); color: var(--ink);
  box-shadow: 0 -6px 20px rgba(6, 40, 58, 0.18); backdrop-filter: none; -webkit-backdrop-filter: none;
  font-size: 16px; font-weight: 800; line-height: 1.2; text-align: center;
}
.book-bar::before { content: none; }
.book-bar:hover, .book-bar:focus-visible { color: var(--ink); background: linear-gradient(135deg, #FFDD85 0%, #FFCB52 55%, #F7B232 100%); }
.book-bar__inner, .book-bar__btn { display: none; }
.book-bar__icon { width: 20px; height: 20px; flex: none; }
.book-bar__label { white-space: nowrap; }
.book-bar__sep { opacity: 0.55; }
.book-bar__text { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 359px) { .book-bar__sep, .book-bar__text { display: none; } }
@media (min-width: 768px) { .book-bar { min-height: 56px; font-size: 18px; } .book-bar__icon { width: 22px; height: 22px; } }
.book-bar[data-book-fab="near"] { transform: translateY(110%); opacity: 0; pointer-events: none; }
.site-footer { padding-bottom: calc(var(--space-12) + 60px + env(safe-area-inset-bottom, 0px)); }

@media (min-width: 1024px) { .site-header__inner { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand nav lang"; } }

:root { --canvas: #E4EEF1; --card-pad: 44px; --card-gap: 28px; --card-radius: 24px; --card-edge: 32px; }
@media (max-width: 767px) { :root { --card-pad: 20px; --card-gap: 16px; --card-radius: 18px; --card-edge: 12px; } }

#main#main > article { background: var(--canvas); padding-bottom: 56px; }
#main#main article > section,
#main#main article > .page-toc,
#main#main article > .notice,
#main#main article > .alert-banner,
#main#main article > .status-notice,
#main#main article > .quick-answer {
  box-sizing: border-box;
  width: min(calc(var(--col) + 2 * var(--card-pad)), calc(100% - 2 * var(--card-edge)));
  margin: var(--card-gap) auto 0;
  padding: 0 var(--card-pad) var(--card-pad);
  background: var(--white); border-radius: var(--card-radius);
  box-shadow: 0 1px 2px rgba(6, 40, 58, 0.06), 0 14px 34px -14px rgba(6, 40, 58, 0.18);
  overflow: clip;
  --card: var(--lagoon-50);
}
#main#main .home-page { --col: 1080px; }
#main#main article > .notice, #main#main article > .alert-banner, #main#main article > .status-notice, #main#main article > .quick-answer { padding-top: var(--card-pad); }

#main#main article > section section { width: auto; margin: 0; padding: 0; background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
#main#main article > section section:not(:first-child) { margin-top: 36px; }
#main#main article > section section > h2 { margin: 0 0 16px; font-size: clamp(19px, 0.95rem + 0.5vw, 22px); color: var(--sea-900); }

#main#main .section-cover { margin: 0 calc(-1 * var(--card-pad)); padding: 0; aspect-ratio: 16 / 6; background: var(--sea-900); }
#main#main .section-cover img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
@media (max-width: 767px) { #main#main .section-cover { aspect-ratio: 16 / 9; } }

#main#main article > section > h2:first-of-type {
  display: flex; align-items: center; gap: 14px;
  margin: 0 calc(-1 * var(--card-pad)) 28px; padding: 22px var(--card-pad);
  background: var(--strip, var(--lagoon-100)); color: var(--strip-ink, var(--sea-900));
  font-size: clamp(21px, 1rem + 0.8vw, 28px); line-height: 1.2; letter-spacing: -0.015em;
}
#main#main article > section > h2:first-of-type .h-icon {
  flex: none; width: 42px; height: 42px; border-radius: 12px; margin: 0;
  background: rgba(255, 255, 255, 0.8); color: var(--strip-icon, var(--lagoon-600));
}
@media (max-width: 767px) {
  #main#main article > section > h2:first-of-type { padding-block: 16px; gap: 12px; margin-bottom: 20px; }
  #main#main article > section > h2:first-of-type .h-icon { width: 36px; height: 36px; border-radius: 10px; }
}
#main#main article > section > h2:not(:first-of-type) { margin-top: 44px; }
#main#main article > section > :last-child { margin-bottom: 0; }

#main#main .route-schedule, #main#main .destination-leave, #main#main .route-connections,
#main#main .destination-connections, #main#main .mode-routes, #main#main .home-lookup, #main#main .home-destinations,
#main#main .direction ~ .direction { --strip: #DDEBF6; --strip-icon: var(--sea-700); }
#main#main .route-price, #main#main .mode-operators, #main#main .home-overview, #main#main .destination-air, #main#main .mode-guidance,
#main#main .quick-facts { --strip: var(--sun-100); --strip-icon: #A86F00; }
#main#main .route-status { --strip: var(--coral-100); --strip-icon: #B8452B; }
#main#main .sources, #main#main .related { --strip: #EDF2F4; --strip-icon: var(--ink-2); }
#main#main .sources > h2:first-of-type, #main#main .related > h2:first-of-type { font-size: clamp(19px, 0.95rem + 0.5vw, 23px); padding-block: 18px; }

#main#main article > section.widget-slot, #main#main article > section.home-search, #main#main article > section.closing-cta {
  background: linear-gradient(135deg, #FFE39A 0%, #FFF3CC 100%); --strip: transparent; --card: var(--white);
  box-shadow: 0 1px 2px rgba(120, 80, 0, 0.10), 0 16px 36px -16px rgba(245, 168, 28, 0.6);
}
#main#main article > section.widget-slot > h2:first-of-type,
#main#main article > section.home-search .widget-slot > h2:first-of-type { padding-top: 28px; padding-bottom: 0; margin-bottom: 18px; justify-content: center; text-align: center; }
#main#main article > section.closing-cta { padding-top: var(--card-pad); }
#main#main .closing-cta .booking-cta { margin: 0; }
#main#main article > section section.widget-slot { background: transparent; box-shadow: none; }
#main#main article > section:not(.home-search) section.widget-slot > h2 { display: none; }
#main#main .direction .widget-slot { padding: 24px; border-radius: 18px; background: linear-gradient(135deg, #FFE39A 0%, #FFF3CC 100%); }
#main#main .direction .widget-slot > h2 { display: block; text-align: center; }

#main#main article > .page-toc { position: relative; z-index: 2; margin-top: -56px; padding-top: 22px; padding-bottom: 22px; }
#main#main .page-toc__label { justify-content: center; }
#main#main .page-toc__list a { background: var(--lagoon-50); box-shadow: none; }
#main#main .page-toc__list a:hover { background: var(--white); box-shadow: 0 0 0 2px var(--lagoon-500), 0 10px 20px rgba(10, 53, 80, 0.10); }
@media (max-width: 767px) { #main#main article > .page-toc { margin-top: -40px; } }

#main#main article > .page-header--photo { min-height: clamp(300px, 28vw, 380px); padding-block: 20px 84px; }
#main#main .home-page > .page-header--photo { min-height: clamp(400px, 40vw, 520px); }
#main#main article > .page-header--photo:not(:has(+ .page-toc)) { padding-bottom: 56px; }
#main#main .page-header--photo .page-header__inner { padding-top: 40px; min-height: 0; }
#main#main .page-header .verified-badge { margin-bottom: 14px; }
#main#main .page-header p { margin-top: 14px; }
#main#main .page-header .breadcrumbs, #main#main .page-header--photo .breadcrumbs { top: 18px; }
@media (max-width: 767px) {
  #main#main article > .page-header--photo { min-height: 300px; padding-block: 16px 68px; }
  #main#main .home-page > .page-header--photo { min-height: 380px; }
  #main#main article > .page-header--photo:not(:has(+ .page-toc)) { padding-bottom: 44px; }
}

#main#main article > section.faq { background: var(--white); color: var(--ink); --strip: var(--sea-900); --strip-ink: var(--white); --strip-icon: var(--sun-300); }
#main#main article > section.faq > h2:first-of-type { color: var(--white); margin-bottom: 8px; }
#main#main article > section.faq > h2:first-of-type .h-icon { background: rgba(255, 255, 255, 0.12); }
#main#main .faq .faq__item { display: block; border: 0; border-bottom: 1px solid var(--line); padding: 0; margin: 0; background: transparent; box-shadow: none; border-radius: 0; }
#main#main .faq .faq__item:last-of-type { border-bottom: 0; }
#main#main .faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0 12px; cursor: pointer; list-style: none;
}
#main#main .faq details:not([open]) summary { padding-bottom: 20px; }
#main#main .faq summary::-webkit-details-marker { display: none; }
#main#main .faq summary h3 { margin: 0; font-size: 18.5px; line-height: 1.35; color: var(--sea-900); }
#main#main .faq summary:hover h3 { color: var(--lagoon-600); }
#main#main .faq__toggle { flex: none; position: relative; width: 30px; height: 30px; border-radius: 999px; background: var(--lagoon-100); }
#main#main .faq__toggle::before, #main#main .faq__toggle::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--sea-900);
  transition: transform var(--dur-fast) var(--ease-out);
}
#main#main .faq details:not([open]) .faq__toggle::after { transform: rotate(90deg); }
#main#main .faq__answer { padding: 0 46px 20px 0; }
#main#main .faq__answer p { color: var(--ink); font-size: 16.5px; }
#main#main .faq__answer a { color: var(--sea-700); }
#main#main .faq .fact { background: var(--sun-100); color: #5A3E00; }
#main#main .faq .faq__reported, #main#main .faq .source-meta { color: var(--ink-2); }
@media (max-width: 767px) { #main#main .faq__answer { padding-right: 0; } #main#main .faq summary h3 { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { #main#main .faq__toggle::before, #main#main .faq__toggle::after { transition: none; } }

#main#main .link-card, #main#main .tips, #main#main .home-page .timeline li { background: var(--lagoon-50); }
#main#main .option-card { background: var(--white); }
#main#main .quick-answer { background: var(--sun-100); }
#main#main .about-body > h2:not(:first-of-type) { margin-top: 40px; }

#main#main article section > h2::before { content: none; }
#main#main .home-page .faq { display: block; }
#main#main .home-page .faq .faq__item { padding: 0; background: transparent; box-shadow: none; border-radius: 0; border-bottom: 1px solid var(--line); }
#main#main .home-page .faq .faq__item:last-of-type { border-bottom: 0; }
#main#main .quick-facts caption { font-size: 14px; color: var(--ink-2); text-align: left; padding-bottom: 8px; }

#main#main article > section > h2:first-of-type { display: block; position: relative; }
#main#main article > section > h2:first-of-type:has(> .h-icon:not([hidden])) { padding-left: calc(var(--card-pad) + 56px); }
#main#main article > section > h2:first-of-type > .h-icon { position: absolute; left: var(--card-pad); top: 50%; transform: translateY(-50%); display: inline-grid; place-items: center; }
#main#main#main .about-body > h2:first-of-type { padding-left: var(--card-pad); }
#main#main article > section.widget-slot > h2:first-of-type, #main#main article > section.home-search .widget-slot > h2:first-of-type { padding-left: var(--card-pad); }
@media (max-width: 767px) { #main#main article > section > h2:first-of-type:has(> .h-icon) { padding-left: calc(var(--card-pad) + 48px); } #main#main article > section > h2[data-brand] { font-size: min(calc((100vw - 110px) / 14), 24px); } }
#main#main .page-header--photo .page-header__inner { margin-block: auto; }
#main#main#main .about-body .h-icon { display: none; }
@media (max-width: 767px) { #main#main .tips, #main#main .tips.tips--grid { padding: 0 14px; } #main#main .tip { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; } #main#main .tip__icon { width: 32px; height: 32px; } }
