/*
Theme Name: Jozin Trans
Description: Motyw Jozin Trans z blogiem i edycją wizualną.
Version: 1.2.0
Author: Jozin Trans
Text Domain: jozin-trans
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
*/


:root {
  --navy: #102a4c;
  --blue: #225fc0;
  --blue-dark: #174784;
  --pale: #f2f5f8;
  --text: #172d48;
  --muted: #56657a;
  --line: #d7dfe9;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; color: var(--text); background: #fff; font: 18px/1.7 Manrope, sans-serif; }
body.menu-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.045em; line-height: 1.15; }
h1 { font-size: clamp(44px, 5.3vw, 72px); }
h2 { font-size: clamp(34px, 3.4vw, 46px); }
h3 { font-size: 28px; }
p { color: var(--muted); }
:focus-visible { outline: 3px solid #e6a719; outline-offset: 5px; }
[hidden] { display: none !important; }
svg.icon { width: 23px; height: 23px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.wrap { width: min(var(--max), calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; top: -100px; left: 24px; padding: 12px 20px; background: white; z-index: 100; }
.skip:focus { top: 12px; }

/* Navigation */
.topbar { color: white; background: var(--navy); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 45px; }
.topbar-contact { display: flex; align-items: center; flex-wrap: wrap; column-gap: 30px; }
.topbar-contact a { display: inline-flex; align-items: center; gap: 9px; min-height: 39px; font-size: 15px; white-space: nowrap; }
.topbar-contact .icon { width: 16px; height: 16px; }
.topbar-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.topbar-facebook { display: grid; place-items: center; width: 38px; height: 39px; flex-shrink: 0; border-radius: 4px; }
.topbar-facebook svg { width: 21px; height: 21px; }
.topbar-facebook:hover { background: #ffffff20; }
.header { position: sticky; top: 0; z-index: 30; background: white; border-bottom: 1px solid #e8ecf1; }
.header-row { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { flex-shrink: 0; }
.brand img { width: 235px; height: auto; }
.nav { display: flex; align-items: center; gap: 27px; font-size: 15px; font-weight: 600; }
.nav a { padding-block: 17px; white-space: nowrap; }
.nav a.active { color: var(--blue); text-decoration: underline; text-underline-offset: 9px; text-decoration-thickness: 2px; }
.nav a:hover { color: var(--blue); }
.menu-toggle { display: none; border: 0; background: white; padding: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 54px; padding: 14px 25px; border: 1px solid transparent; border-radius: 4px; background: var(--blue); color: white; font-size: 16px; font-weight: 700; line-height: 1.5; text-align: center; transition: background .16s, border-color .16s; }
.btn:hover { background: var(--blue-dark); }
.btn:active { background: var(--navy); }
.btn-light { background: white; color: var(--navy); }
.btn-light:hover { background: #e6effa; }
.btn-ghost { color: white; background: transparent; border-color: #ffffff80; }
.btn-ghost:hover { background: #ffffff15; border-color: white; }
.btn-outline { color: var(--navy); background: white; border-color: #aebdce; }
.btn-outline:hover { background: var(--pale); border-color: var(--navy); }
.btn-navy { background: var(--navy); }
.btn-sm { min-height: 48px; font-size: 15px; padding: 12px 19px; }
.header-quote { font-size: 15px; min-height: 50px; padding: 12px 20px; white-space: nowrap; }
.text-link { display: inline-block; color: var(--blue); font-size: 17px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.text-link:hover { color: var(--navy); text-decoration-thickness: 2px; }
.link-call { color: var(--blue); font-weight: 700; }

/* Blog */
.blog-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 42px; }
.blog-section-heading p { max-width: 700px; margin-top: 20px; }
.blog-section-heading .btn { flex-shrink: 0; }
.blog-meta { display: flex; align-items: center; gap: 10px 24px; flex-wrap: wrap; color: var(--muted); font-size: 14px; line-height: 1.5; margin-bottom: 16px; }
.blog-card-photo { display: block; overflow: hidden; border-radius: 6px; background: var(--pale); }
.blog-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card :is(h2,h3) { font-size: 28px; line-height: 1.3; letter-spacing: -.035em; }
.blog-card :is(h2,h3) a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }
.blog-card-copy > p { margin-top: 18px; line-height: 1.75; }
.blog-card-copy > .text-link { margin-top: 21px; }
.blog-latest { display: grid; grid-template-columns: 1.08fr 1fr; gap: 50px; }
.blog-card-featured .blog-card-photo { aspect-ratio: 16/9; margin-bottom: 26px; }
.blog-card-featured h3 { font-size: 34px; }
.blog-latest-side { display: flex; flex-direction: column; gap: 32px; }
.blog-card-compact { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 25px; align-items: start; }
.blog-card-compact + .blog-card-compact { border-top: 1px solid var(--line); padding-top: 32px; }
.blog-card-compact .blog-card-photo { aspect-ratio: 1/1; }
.blog-card-compact h3 { font-size: 25px; }
.blog-card-compact .blog-card-copy > p { font-size: 16px; line-height: 1.65; margin-top: 12px; }
.blog-card-compact .blog-meta { font-size: 14px; margin-bottom: 10px; gap: 5px 14px; }
.blog-card-compact .text-link { margin-top: 13px; font-size: 16px; }
.blog-intro { background: var(--pale); padding: 32px 0 65px; }
.blog-intro .breadcrumb { margin-bottom: 42px; }
.blog-intro-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 80px; }
.blog-intro h1 { font-size: clamp(46px,4.5vw,68px); line-height: 1.12; letter-spacing: -.045em; }
.blog-intro p { font-size: 20px; max-width: 570px; }
.blog-index { padding-top: 65px; }
.blog-card-lead { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.blog-card-lead .blog-card-photo { aspect-ratio: 4/3; }
.blog-card-lead :is(h2,h3) { font-size: clamp(32px,3vw,44px); }
.blog-card-lead .blog-card-copy > p { font-size: 20px; margin-top: 23px; }
.blog-card-lead .text-link { margin-top: 26px; }
.blog-post-list { margin-top: 68px; border-top: 1px solid var(--line); }
.blog-card-row { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1fr); gap: 64px; align-items: center; padding: 44px 0; border-bottom: 1px solid var(--line); }
.blog-card-row .blog-card-photo { aspect-ratio: 16/10; }
.blog-card-row :is(h2,h3) { font-size: 34px; max-width: 650px; }
.blog-card-row .blog-card-copy > p { max-width: 650px; }
.article-header { padding-top: 32px; }
.article-header .breadcrumb { margin-bottom: 43px; flex-wrap: wrap; }
.article-header h1 { max-width: 1060px; font-size: clamp(42px,4.7vw,68px); line-height: 1.14; letter-spacing: -.045em; }
.article-lead { max-width: 850px; font-size: 22px; line-height: 1.7; margin-top: 25px; }
.article-header .blog-meta { margin: 26px 0 36px; font-size: 15px; }
.article-cover { margin: 0; aspect-ratio: 2/1; overflow: hidden; border-radius: 6px; background: var(--pale); }
.article-cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.article-layout { display: grid; grid-template-columns: 245px minmax(0,760px); gap: 90px; justify-content: space-between; padding-top: 65px; align-items: start; }
.article-toc { position: sticky; top: 135px; }
.article-toc h2 { font-size: 18px; letter-spacing: -.02em; margin-bottom: 20px; }
.article-toc nav { border-left: 2px solid var(--line); padding-left: 21px; }
.article-toc nav > a { display: block; font-size: 15px; line-height: 1.65; color: var(--muted); padding: 7px 0; }
.article-toc nav > a:hover, .article-toc nav > a:focus-visible { color: var(--blue); text-decoration: underline; }
.article-back { display: inline-block; margin-top: 28px; color: var(--blue); text-decoration: underline; text-underline-offset: 5px; font-size: 15px; font-weight: 600; }
.article-copy { min-width: 0; font-size: 20px; line-height: 1.85; color: var(--text); }
.article-copy h2 { font-size: 34px; line-height: 1.25; letter-spacing: -.035em; margin: 52px 0 24px; }
.article-copy > h2:first-child, .article-section:first-child h2 { margin-top: 0; }
.article-copy h3 { font-size: 26px; line-height: 1.35; margin: 36px 0 20px; }
.article-copy p { color: var(--text); margin: 0 0 22px; }
.article-copy ul, .article-copy ol { margin: 0 0 25px; padding-left: 25px; }
.article-copy li { padding-left: 6px; margin-bottom: 9px; }
.article-copy p a, .article-copy li a { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.article-copy img { max-width: 100%; height: auto; border-radius: 6px; }
.article-copy blockquote { margin: 30px 0; padding: 0 24px; color: var(--muted); }
.article-copy > figure { margin-block: 30px; }
.article-contact { margin-top: 44px; padding: 34px 36px; border-radius: 6px; background: var(--pale); }
.article-contact h2 { margin: 0 0 18px; font-size: 30px; }
.article-contact p { font-size: 18px; line-height: 1.75; margin-bottom: 24px; }
.blog-related { margin-top: 80px; background: var(--pale); }
.blog-related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 38px; }
.blog-related .blog-card-photo { aspect-ratio: 16/9; margin-bottom: 25px; }
.blog-related h3 { font-size: 30px; }
.blog-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 42px; }
.blog-pagination .page-numbers { padding: 10px 17px; border: 1px solid var(--line); border-radius: 4px; }
.blog-pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.blog-empty { max-width: 720px; padding: 55px 0; }
.blog-empty h2 { margin-bottom: 20px; }
.blog-empty .btn { margin-top: 26px; }
.blog-card-no-photo { grid-template-columns: 1fr; }
@media (max-width:1200px) {
  .blog-latest { gap: 35px; }
  .blog-card-compact { grid-template-columns: 140px minmax(0,1fr); gap: 21px; }
  .blog-card-compact h3 { font-size: 22px; }
  .blog-card-lead, .blog-card-row { gap: 40px; }
  .article-layout { gap: 50px; grid-template-columns: 220px minmax(0,760px); }
}
@media (max-width:1000px) {
  .blog-latest { grid-template-columns: 1fr; gap: 40px; }
  .blog-card-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
  .blog-card-featured .blog-card-photo { aspect-ratio: 4/3; margin: 0; }
  .blog-latest-side { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
  .blog-card-compact { display: block; }
  .blog-card-compact .blog-card-photo { aspect-ratio: 16/10; margin-bottom: 20px; }
  .blog-card-compact + .blog-card-compact { padding: 0; border: 0; }
  .blog-intro-grid { gap: 40px; }
  .blog-intro p { font-size: 18px; }
  .article-layout { grid-template-columns: minmax(0,760px); justify-content: center; gap: 40px; }
  .article-toc { position: static; }
  .article-toc nav { padding: 22px 25px; border: 1px solid var(--line); border-radius: 6px; }
  .article-toc h2 { margin-bottom: 12px; }
  .article-toc nav > a { padding: 5px 0; }
  .article-back { display: none; }
}
@media (max-width:760px) {
  .blog-section-heading { display: block; margin-bottom: 30px; }
  .blog-section-heading .btn { margin-top: 25px; }
  .blog-section-heading p { margin-top: 19px; }
  .blog-latest, .blog-latest-side { gap: 34px; }
  .blog-card-featured, .blog-latest-side, .blog-card-lead, .blog-card-row { display: block; }
  .blog-card-featured .blog-card-photo, .blog-card-lead .blog-card-photo { aspect-ratio: 16/10; margin: 0 0 23px; }
  .blog-card-featured h3, .blog-card-lead :is(h2,h3), .blog-card-row :is(h2,h3) { font-size: 30px; }
  .blog-card-compact { margin-top: 0; }
  .blog-card-compact + .blog-card-compact { border-top: 1px solid var(--line); padding-top: 34px; margin-top: 34px; }
  .blog-card-compact h3 { font-size: 27px; }
  .blog-card-compact .blog-card-copy > p { font-size: 17px; }
  .blog-intro { padding: 25px 0 38px; }
  .blog-intro .breadcrumb { margin-bottom: 28px; }
  .blog-intro-grid { display: block; }
  .blog-intro h1 { font-size: clamp(40px,8.5vw,52px); }
  .blog-intro p { margin-top: 22px; }
  .blog-index { padding-top: 36px; }
  .blog-card-lead .blog-card-copy > p { font-size: 18px; margin-top: 17px; }
  .blog-post-list { margin-top: 36px; }
  .blog-card-row { padding-block: 32px; }
  .blog-card-row .blog-card-photo { margin-bottom: 23px; }
  .article-header { padding-top: 24px; }
  .article-header .breadcrumb { margin-bottom: 30px; font-size: 13px; }
  .article-header h1 { font-size: clamp(36px,8vw,48px); overflow-wrap: break-word; }
  .article-lead { font-size: 19px; line-height: 1.75; margin-top: 22px; }
  .article-header .blog-meta { margin: 23px 0 28px; font-size: 14px; }
  .article-cover { aspect-ratio: 16/10; }
  .article-layout { padding-top: 33px; gap: 34px; }
  .article-copy { font-size: 18px; line-height: 1.85; }
  .article-copy h2 { font-size: 28px; margin-top: 38px; margin-bottom: 20px; }
  .article-copy h3 { font-size: 24px; }
  .article-copy p { margin-bottom: 20px; }
  .article-contact { padding: 27px 24px; margin-top: 32px; }
  .article-contact h2 { font-size: 26px; margin-top: 0; }
  .article-contact p { font-size: 17px; }
  .article-contact .btn { width: 100%; }
  .blog-related { margin-top: 45px; }
  .blog-related-grid { grid-template-columns: 1fr; gap: 36px; margin-top: 28px; }
  .blog-related h3 { font-size: 28px; }
}

/* Homepage */
.hero { min-height: 660px; position: relative; isolation: isolate; color: white; background: var(--navy); overflow: hidden; }
.hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #081f3cf2 0%, #081f3cc9 26%, #081f3c36 54%, transparent 78%); }
.hero-inner { padding-block: 66px 70px; }
.hero h1 { font-size: clamp(54px, 5.3vw, 78px); max-width: 600px; line-height: 1.07; font-weight: 800; letter-spacing: -.05em; }
.hero p { max-width: 445px; color: #e1eaf5; font-size: 18px; line-height: 1.7; margin-top: 27px; }
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 30px; }
.departures { position: relative; z-index: 2; margin-top: -46px; }
.departures-panel { padding: 32px 36px 36px; background: white; border: 1px solid #dfe6ef; border-radius: 8px; box-shadow: 0 12px 35px #102a4c0c; }
.departures-heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 25px; }
.departures-heading h2 { font-size: 30px; letter-spacing: -.035em; }
.departures-heading p { font-size: 16px; }
.departure-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.departure-choice { display: block; padding: 25px 26px 22px; border: 1px solid #d9e3ef; border-radius: 5px; background: #f5f8fc; transition: border-color .16s, background .16s; }
.departure-choice:hover { border-color: var(--blue); background: #edf4fe; }
.departure-choice h3 { display: flex; align-items: center; gap: 19px; font-size: 30px; font-weight: 700; letter-spacing: -.035em; }
.connection-directions { width: 30px; height: 26px; flex-shrink: 0; fill: none; stroke: #6483ac; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.departure-choice-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; column-gap: 20px; row-gap: 14px; margin-top: 22px; }
.departure-choice-bottom p { font-size: 15px; }
.departure-action { display: inline-flex; align-items: center; gap: 9px; padding: 10px 13px; border-radius: 4px; background: var(--blue); color: white; font-size: 15px; font-weight: 700; white-space: nowrap; }
.departure-choice:hover .departure-action { background: var(--blue-dark); }
.departure-action .icon { width: 16px; height: 16px; }
.route-list { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.route-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 14px; }
.route-card h3 { font-size: 26px; letter-spacing: -.035em; }
.route-card p { font-size: 14px; margin-top: 7px; }
.route-card > .icon { color: var(--blue); width: 19px; height: 19px; }
.route-card:hover h3 { color: var(--blue); }
.section { padding-block: 92px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 37px; }
.section-head p { max-width: 400px; font-size: 17px; }
.trips-section .section-head { display: block; }
.trips-section .section-head p { max-width: 810px; margin-top: 21px; font-size: 18px; line-height: 1.8; }
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; }
.offer-card { display: flex; flex-direction: column; }
.offer-card img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; border-radius: 5px; }
.offer-card > div { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding-top: 23px; }
.offer-card h3 { font-size: 33px; }
.offer-card p { margin-top: 11px; font-size: 17px; max-width: 500px; }
.offer-card:hover h3 { color: var(--blue); }
.offer-link { display: inline-block; margin-top: auto; padding-top: 20px; color: var(--blue); font-size: 16px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.offer-card:hover .offer-link { color: var(--navy); }
.trip-planning { max-width: 860px; margin: 36px auto 0; text-align: center; }
.trip-planning h3 { font-size: 34px; line-height: 1.3; }
.trip-planning p { margin-top: 20px; font-size: 18px; line-height: 1.8; }
.trip-planning .text-link { margin-top: 20px; }
.fleet-feature { padding-top: 20px; }
.fleet-feature-head { display: grid; grid-template-columns: 1fr 1fr; gap: 75px; align-items: start; margin-bottom: 35px; }
.fleet-feature-copy p { font-size: 18px; max-width: 550px; }
.fleet-feature-copy .text-link { margin-top: 20px; }
.fleet-composition { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.fleet-composition img { width: 100%; height: auto; object-fit: contain; }
.fleet-group { max-width: 1050px; margin: 52px auto 0; text-align: center; }
.fleet-group-image { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.fleet-group-image img { width: 100%; height: auto; }
.fleet-group figcaption { margin-top: 6px; font-size: 18px; font-weight: 600; }
.split { display: grid; grid-template-columns: 1.13fr 1fr; gap: 75px; align-items: center; }
.split-photo img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; border-radius: 5px; }
.split-copy p { font-size: 18px; margin-top: 24px; max-width: 470px; }
.split-copy .text-link { margin-top: 25px; }
.pale, .inquiry { background: var(--pale); }

/* Inquiry forms */
.inquiry-grid { display: grid; grid-template-columns: .73fr 1fr; gap: 90px; align-items: start; }
.inquiry-copy { position: sticky; top: 145px; }
.inquiry-copy p { max-width: 380px; font-size: 18px; margin-top: 24px; }
.large-phone { display: block; color: var(--blue); font-size: 30px; font-weight: 700; line-height: 1.25; letter-spacing: -.04em; margin-top: 32px; white-space: nowrap; }
.large-phone:hover { color: var(--navy); }
.contact-email { display: block; font-size: 17px; margin-top: 12px; color: var(--muted); }
.form-box { background: transparent; }
.required-note { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 23px 22px; }
.field { display: flex; flex-direction: column; gap: 9px; text-align: left; min-width: 0; }
.field label { font-size: 15px; font-weight: 600; line-height: 1.5; }
input, select, textarea { width: 100%; padding: 14px 15px; border: 1px solid #bac6d4; border-radius: 4px; color: var(--text); background: white; min-height: 54px; font-size: 16px; line-height: 1.5; }
textarea { resize: vertical; min-height: 115px; }
input::placeholder, textarea::placeholder { color: #68768a; opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: #6c829e; }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: none; border-color: var(--blue); }
input:not([type=radio]):not([type=checkbox]):focus-visible, select:focus-visible, textarea:focus-visible { box-shadow: inset 0 0 0 1px var(--blue); }
input[type=radio]:focus-visible, input[type=checkbox]:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.full { grid-column: 1/-1; }
.form-grid fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-grid legend { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.radio-row { display: flex; gap: 30px; flex-wrap: wrap; }
.radio-pill { display: flex; align-items: center; gap: 10px; font-size: 16px; cursor: pointer; }
input[type=radio], input[type=checkbox] { width: 19px; height: 19px; min-height: 0; padding: 0; margin: 0; flex-shrink: 0; accent-color: var(--blue); }
.form-actions { display: flex; margin-top: 27px; }
.form-actions .btn { min-width: 235px; }
.form-note { font-size: 13px; line-height: 1.8; max-width: 540px; margin-top: 19px; }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.inquiry-home .wrap { max-width: 920px; }
.inquiry-home .inquiry-grid { display: block; }
.inquiry-home .inquiry-copy { position: static; text-align: center; }
.inquiry-home .inquiry-copy p { max-width: 650px; margin: 18px auto 0; }
.inquiry-home .form-box { margin-top: 38px; }
.inquiry-home .required-note { text-align: center; margin-bottom: 30px; }
.inquiry-home .field label, .inquiry-home .form-grid legend { font-size: 16px; }
.inquiry-home .form-grid fieldset { margin-block: 7px 3px; }
.inquiry-home .form-grid legend { width: 100%; text-align: center; margin-bottom: 16px; }
.inquiry-home .radio-row { justify-content: center; }
.inquiry-home .form-actions { justify-content: center; margin-top: 32px; }
.inquiry-home .form-actions .btn { min-width: 270px; }
.inquiry-home .form-note { max-width: 580px; margin: 18px auto 0; text-align: center; }
.inquiry-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 30px; row-gap: 12px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); text-align: center; }
.inquiry-contact .large-phone { margin: 0; font-size: 27px; }
.inquiry-contact .contact-email { margin: 0; }

/* Inner pages */
.page-top { background: var(--pale); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 26px; margin-bottom: 35px; color: var(--muted); font-size: 14px; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.page-intro { padding-bottom: 53px; }
.page-intro h1 { max-width: 1050px; }
.page-intro p { font-size: 18px; max-width: 720px; margin-top: 22px; }
.route-overview { padding-top: 45px; }
.route-overview .route-list { margin-top: 0; gap: 60px; }
.route-overview .route-card { padding-block: 25px; border-bottom: 1px solid var(--line); }
.route-overview .route-card h3 { font-size: 32px; }
.route-overview .route-card p { font-size: 16px; }
.quick-search-wrap { margin-top: 75px; }
.quick-search-wrap h2 { font-size: 32px; margin-bottom: 25px; }
.quick-search { display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 22px; align-items: end; }
.swap { display: grid; place-items: center; width: 39px; height: 39px; padding: 5px; border: 0; border-radius: 50%; background: var(--pale); margin-bottom: 7px; }
.swap:hover { background: #dee8f5; }
.search-message { grid-column: 1/-1; font-size: 15px; color: var(--navy); }
.timetable-layout { display: grid; grid-template-columns: minmax(0, 1fr) 255px; gap: 40px; align-items: start; }
.timetable-main { min-width: 0; }
.timetable-controls { display: flex; flex-wrap: wrap; gap: 23px; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.tabs { display: flex; gap: 5px; border-bottom: 1px solid var(--line); }
.tab { padding: 12px 13px; background: white; border: 0; border-bottom: 2px solid transparent; font-size: 16px; font-weight: 700; }
.tab[aria-selected=true] { color: var(--blue); border-color: var(--blue); }
.tab:hover { background: var(--pale); }
.schedule-filter { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.schedule-filter select { min-height: 43px; padding: 8px 10px; font-size: 14px; width: auto; }
.table-heading { font-size: 28px; margin-bottom: 14px; }
.table-hint { font-size: 13px; margin-bottom: 15px; color: var(--muted); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; }
.timetable { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.5; }
.timetable th, .timetable td { padding: 17px 14px; text-align: center; border-bottom: 1px solid #e0e6ee; }
.timetable th:first-child, .timetable td:first-child { text-align: left; min-width: 245px; position: sticky; left: 0; z-index: 1; }
.timetable thead { background: var(--navy); color: white; }
.timetable thead th { font-weight: 600; }
.timetable thead th:first-child { background: var(--navy); }
.timetable tbody th { font-weight: 600; background: white; }
.timetable tbody tr:nth-child(even) > * { background: var(--pale); }
.timetable tbody tr:last-child > * { border-bottom: 0; }
.course-code { display: inline-block; color: #c8dcf5; font-size: 13px; margin-top: 3px; }
.legend { margin-top: 23px; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.legend b { display: inline-block; color: var(--navy); min-width: 24px; }
.side-panel { padding: 25px; background: var(--pale); position: sticky; top: 130px; border-radius: 4px; }
.side-panel h3 { font-size: 24px; }
.side-panel p { font-size: 15px; margin-top: 16px; }
.side-panel .btn { margin-top: 22px; padding-inline: 13px; font-size: 15px; width: 100%; }
.side-panel hr { border: 0; border-top: 1px solid var(--line); margin-block: 25px; }
.footer-links { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.side-panel .footer-links { color: var(--blue); }

/* Shared offer and fleet mastheads */
.inner-hero, .contact-hero { background: var(--pale); padding-bottom: 64px; }
.inner-hero-grid { display: grid; grid-template-columns: .93fr 1.07fr; gap: 76px; align-items: center; min-height: 500px; }
.inner-hero-copy h1 { font-size: clamp(52px,4.6vw,74px); line-height: 1.08; font-weight: 800; letter-spacing: -.05em; }
.inner-hero-copy > p { max-width: 505px; font-size: 20px; line-height: 1.75; margin-top: 27px; }
.inner-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px 26px; margin-top: 31px; }
.hero-phone { display: inline-flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 700; white-space: nowrap; }
.hero-phone .icon { width: 20px; height: 20px; color: var(--blue); }
.hero-phone:hover { color: var(--blue); }
.inner-hero-image { width: 100%; aspect-ratio: 4/3; overflow: hidden; border-radius: 6px; }
.inner-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.inner-hero-flota .inner-hero-image img { object-position: 52% center; }
.inner-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 70px; margin-bottom: 44px; }
.inner-section-heading h2 { max-width: 620px; }
.inner-section-heading > p { max-width: 450px; font-size: 18px; line-height: 1.8; }

/* Seaside destinations */
.coast-routes { border-top: 1px solid var(--line); }
.coast-route { display: grid; grid-template-columns: .9fr 1.2fr auto; align-items: center; gap: 35px; padding-block: 32px; border-bottom: 1px solid var(--line); }
.coast-route h3 { font-size: 27px; line-height: 1.3; }
.coast-route p { max-width: 480px; font-size: 17px; line-height: 1.8; }
.coast-section .booking-banner { margin-top: 60px; }

/* Booking and practical travel information */
.booking-banner { display: grid; grid-template-columns: 1fr auto; gap: 70px; align-items: center; padding: 47px 52px; border-radius: 6px; color: white; background: var(--navy); }
.booking-banner h2 { max-width: 650px; font-size: 34px; line-height: 1.25; letter-spacing: -.035em; }
.booking-banner p { max-width: 650px; font-size: 17px; color: #d2deed; margin-top: 17px; }
.booking-banner-actions { display: flex; flex-direction: column; align-items: start; gap: 20px; min-width: 230px; }
.booking-phone { display: inline-flex; align-items: center; gap: 12px; font-size: 32px; font-weight: 700; line-height: 1.3; letter-spacing: -.035em; white-space: nowrap; }
.booking-phone .icon { width: 23px; height: 23px; }
.booking-phone:hover { text-decoration: underline; text-underline-offset: 6px; }
.booking-banner .btn { min-width: 230px; }
.questions-section { padding-top: 0; }
.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: start; }
.booking-banner + .faq-layout { margin-top: 85px; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 24px; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: start; justify-content: space-between; gap: 25px; cursor: pointer; list-style: none; font-size: 20px; font-weight: 600; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex-shrink: 0; color: var(--blue); font-size: 28px; line-height: 1; font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq details p { max-width: 680px; font-size: 17px; line-height: 1.8; margin-top: 17px; }
.journey-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.journey-intro p { max-width: 500px; font-size: 18px; line-height: 1.8; margin-top: 23px; }
.journey-details article { padding-block: 27px; border-bottom: 1px solid var(--line); }
.journey-details article:first-child { padding-top: 0; }
.journey-details h3 { font-size: 26px; }
.journey-details p { font-size: 18px; line-height: 1.8; margin-top: 13px; }
.transport-feature { display: grid; grid-template-columns: 1.08fr .92fr; gap: 80px; align-items: center; }
.transport-feature > img { width: 100%; height: auto; border-radius: 6px; }
.transport-feature p, .fleet-interior p { max-width: 500px; margin-top: 24px; font-size: 18px; line-height: 1.8; }
.transport-feature .text-link, .fleet-interior .text-link { margin-top: 27px; }

/* Photographic fleet catalogue */
.fleet-tabs { display: flex; flex-wrap: wrap; gap: 12px 35px; margin-bottom: 45px; border-bottom: 1px solid var(--line); }
.filter-btn { padding: 15px 0; border: 0; border-bottom: 3px solid transparent; background: transparent; font-size: 17px; font-weight: 600; }
.filter-btn[aria-pressed=true] { color: var(--blue); border-bottom-color: var(--blue); }
.filter-btn:hover { color: var(--blue); }
.fleet-grid { display: block; }
.fleet-card { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 80px; padding-block: 53px; border-bottom: 1px solid var(--line); min-width: 0; }
.fleet-card:first-child { padding-top: 0; }
.fleet-card:last-child { padding-bottom: 0; border-bottom: 0; }
.fleet-card-photo { display: block; width: 100%; padding: 0; border: 0; border-radius: 6px; overflow: hidden; background: transparent; cursor: zoom-in; }
.fleet-card-photo img { width: 100%; height: auto; }
.fleet-card-content { max-width: 470px; }
.fleet-card-content h3 { font-size: 36px; line-height: 1.2; }
.fleet-card-content p { margin-top: 22px; font-size: 18px; line-height: 1.8; }
.fleet-card-content .btn { margin-top: 27px; }
.fleet-interior { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: center; }
.interior-photo { display: block; justify-self: center; width: min(100%,460px); aspect-ratio: 3/4; padding: 0; border: 0; border-radius: 6px; overflow: hidden; background: transparent; cursor: zoom-in; }
.interior-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }

/* Contact */
.contact-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.contact-hero-copy h1 { font-size: clamp(52px,4.4vw,68px); font-weight: 800; line-height: 1.1; letter-spacing: -.05em; }
.contact-hero-copy > p { max-width: 500px; margin-top: 26px; font-size: 20px; line-height: 1.8; }
.contact-hero-copy > .btn { margin-top: 29px; }
.contact-local { margin-top: 34px; }
.contact-local p { display: flex; align-items: center; gap: 9px; font-size: 16px; }
.contact-local .icon { width: 18px; height: 18px; }
.contact-local .text-link { margin-top: 11px; font-size: 16px; }
.contact-sheet { padding: 42px 46px; background: var(--navy); color: white; border-radius: 6px; }
.contact-sheet h2 { font-size: 27px; margin-bottom: 26px; letter-spacing: -.025em; }
.contact-sheet-item { padding-top: 24px; border-top: 1px solid #ffffff36; }
.contact-sheet-item + .contact-sheet-item { margin-top: 25px; }
.contact-sheet-item h3 { font-size: 16px; font-weight: 500; letter-spacing: 0; color: #cbd9eb; line-height: 1.5; }
.contact-sheet-item > a { display: inline-block; margin-top: 10px; font-size: 40px; font-weight: 700; letter-spacing: -.04em; line-height: 1.3; }
.contact-sheet-item > a:hover { text-decoration: underline; text-underline-offset: 6px; }
.contact-sheet-email > a { font-size: 29px; overflow-wrap: anywhere; }
.contact-inquiry { border-top: 1px solid var(--line); }
.contact-inquiry .inquiry-copy p { max-width: 650px; }

.privacy-copy { max-width: 840px; }
.privacy-copy h2 { font-size: 30px; margin-top: 38px; }
.privacy-copy h2:first-child { margin-top: 0; }
.privacy-copy p { font-size: 17px; margin-top: 20px; }
.nojs { max-width: 800px; margin: 0 auto; padding: 60px 25px; }

/* Dialogs */
.dialog { width: min(650px,calc(100% - 36px)); max-height: calc(100dvh - 50px); padding: 38px; border: 0; border-radius: 7px; color: var(--text); box-shadow: 0 15px 80px #071d3a40; }
.dialog::backdrop { background: #071d3ac7; }
.dialog h2 { font-size: 34px; margin-right: 18px; }
.dialog > p { font-size: 16px; margin-top: 18px; }
.dialog-close { position: absolute; right: 13px; top: 13px; width: 35px; height: 35px; display: grid; place-items: center; border: 0; background: var(--pale); border-radius: 50%; }
.summary-list { display: grid; gap: 0; margin-block: 25px; }
.summary-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 15px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 15px; }
.summary-list dt { color: var(--muted); }
.summary-list dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.dialog-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.dialog-actions .btn { flex: 1; font-size: 15px; }
.dialog .success-hint { padding: 17px; background: var(--pale); font-size: 14px; }
.lightbox { width: min(1100px,calc(100% - 36px)); padding: 22px; }
.lightbox-wide { width: min(1800px,calc(100% - 24px)); padding: 12px; }
.lightbox img { max-height: 76dvh; margin: auto; object-fit: contain; }
.lightbox figure { margin: 0; }
.lightbox figcaption { margin-top: 15px; color: var(--muted); font-size: 15px; }

/* Footer */
.footer { color: white; background: var(--navy); padding-top: 60px; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr .95fr; gap: 60px; padding-bottom: 50px; }
.footer-brand img { width: 240px; height: auto; }
.footer-brand p { color: #c5d2e4; margin-top: 24px; font-size: 16px; }
.footer-nav { display: grid; gap: 10px; align-content: start; font-size: 16px; color: #d7e0ed; }
.footer-nav a:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }
.footer-contact { display: flex; flex-direction: column; align-items: start; }
.footer-contact > a { font-size: 27px; font-weight: 700; line-height: 1.4; letter-spacing: -.025em; }
.footer-contact > span { color: #b7c7dd; font-size: 14px; margin-bottom: 18px; }
.footer-contact > .footer-email { font-size: 17px; letter-spacing: 0; margin-top: 2px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #ffffff24; padding-block: 24px; font-size: 14px; color: #c5d2e4; }

@media (min-width: 1650px) {
  .hero-inner { width: calc(50% + 500px); }
}

@media (max-width: 1250px) {
  .wrap { width: calc(100% - 64px); }
  .header-row { gap: 22px; }
  .brand img { width: 210px; }
  .nav { gap: 16px; font-size: 14px; }
  .header-quote { padding-inline: 15px; font-size: 14px; }
  .split { gap: 45px; }
  .inquiry-grid { gap: 55px; }
  .timetable-layout { grid-template-columns: minmax(0,1fr) 230px; gap: 28px; }
  .side-panel { padding: 22px; }
  .departures-panel { padding: 30px; }
  .departure-choice { padding: 24px; }
  .departure-choice h3 { gap: 14px; font-size: 28px; }
  .route-list { gap: 25px; }
  .footer-main { gap: 40px; }
}

@media (max-width: 1050px) {
  .header-row { min-height: 88px; }
  .header-quote { margin-left: auto; padding: 12px 20px; font-size: 15px; }
  .menu-toggle { display: grid; place-items: center; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 20px 32px 32px; background: white; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 3px; }
  .nav.open { display: flex; }
  .nav a { font-size: 18px; padding: 12px 0; }
  .hero { min-height: 620px; }
  .hero-inner { padding-block: 60px; }
  .hero h1 { font-size: 67px; }
  .hero-photo { object-position: 57% center; }
  .hero p { max-width: 395px; font-size: 18px; }
  .departures-heading { align-items: start; flex-direction: column; gap: 12px; }
  .departure-choice h3 { font-size: 25px; gap: 10px; }
  .connection-directions { width: 25px; height: 24px; }
  .section { padding-block: 70px; }
  .section-head { margin-bottom: 30px; }
  .offers { gap: 27px; }
  .offer-card h3 { font-size: 28px; }
  .offer-card p { font-size: 16px; }
  .split { gap: 35px; }
  .split-copy h2 { font-size: 35px; }
  .split-copy p { font-size: 17px; }
  .fleet-feature-head { gap: 35px; }
  .fleet-feature-copy p { font-size: 17px; }
  .inquiry-grid { grid-template-columns: .7fr 1fr; gap: 40px; }
  .inquiry-copy h2 { font-size: 38px; }
  .inquiry-copy p { font-size: 17px; }
  .form-grid { gap: 22px 16px; }
  .form-grid .field label { font-size: 14px; }
  .timetable-layout { grid-template-columns: 1fr; }
  .side-panel { position: static; display: grid; grid-template-columns: 1fr auto; column-gap: 30px; }
  .side-panel p { grid-column: 1; }
  .side-panel .btn { grid-column: 2; grid-row: 1/3; align-self: center; width: auto; margin: 0; padding-inline: 20px; }
  .side-panel hr, .side-panel .footer-links { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1/-1; display: flex; justify-content: space-between; align-items: center; }
  .footer-brand p { margin-top: 0; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .topbar-inner { min-height: 42px; gap: 12px; }
  .topbar-contact { column-gap: 15px; }
  .topbar-contact a { min-height: 34px; font-size: 13px; gap: 6px; }
  .topbar-contact .icon { width: 14px; height: 14px; }
  .topbar-facebook { width: 30px; height: 34px; }
  .topbar-facebook svg { width: 20px; height: 20px; }
  body { font-size: 17px; }
  h2 { font-size: 34px; line-height: 1.18; }
  .header-row { min-height: 78px; gap: 14px; }
  .brand img { width: 183px; }
  .header-quote { min-height: 44px; padding: 10px 12px; font-size: 13px; }
  .menu-toggle { padding: 10px 0 10px 7px; }
  .menu-toggle .icon { width: 26px; height: 26px; }
  .nav { padding-inline: 20px; }
  .hero { min-height: 710px; }
  .hero-inner { padding-top: 39px; padding-bottom: 295px; }
  .hero h1 { font-size: clamp(46px,8vw,63px); line-height: 1.08; max-width: 430px; }
  .hero p { font-size: 17px; line-height: 1.65; margin-top: 22px; max-width: 350px; }
  .hero-photo { object-position: 100% bottom; }
  .hero::after { background: linear-gradient(180deg,#081f3cf5 0%,#081f3cd6 35%,#081f3c30 66%,#081f3c00 90%); }
  .hero-actions { gap: 12px; margin-top: 25px; }
  .hero-actions .btn { font-size: 15px; padding: 13px 19px; min-height: 50px; }
  .departures { margin-top: -24px; }
  .departures-panel { padding: 23px 20px 20px; }
  .departures-heading { gap: 9px; margin-bottom: 21px; }
  .departures-heading h2 { font-size: 28px; }
  .departures-heading p { font-size: 15px; line-height: 1.6; max-width: 260px; }
  .departure-choices { grid-template-columns: 1fr; gap: 14px; }
  .departure-choice { padding: 21px 19px; }
  .departure-choice h3 { font-size: 27px; gap: 13px; }
  .connection-directions { width: 27px; height: 24px; }
  .departure-choice-bottom { margin-top: 16px; row-gap: 15px; }
  .departure-choice-bottom p { font-size: 15px; line-height: 1.6; }
  .departure-action { font-size: 15px; }
  .route-list { grid-template-columns: 1fr; gap: 0; }
  .route-card { padding-block: 20px; }
  .section { padding-block: 56px; }
  .section-head { margin-bottom: 27px; display: block; }
  .section-head p { margin-top: 17px; font-size: 16px; }
  .trips-section .section-head p { margin-top: 18px; font-size: 17px; }
  .trip-planning { margin-top: 30px; }
  .trip-planning h3 { font-size: 28px; }
  .trip-planning p { margin-top: 17px; font-size: 17px; }
  .offers { grid-template-columns: 1fr; gap: 36px; }
  .offer-card > div { padding-top: 19px; }
  .offer-card h3 { font-size: 30px; }
  .offer-card p { font-size: 17px; margin-top: 10px; }
  .fleet-feature-head { grid-template-columns: 1fr; gap: 22px; margin-bottom: 28px; }
  .fleet-feature-copy p { max-width: 600px; }
  .fleet-group { margin-top: 36px; }
  .fleet-group figcaption { font-size: 17px; }
  .fleet-feature { padding-top: 8px; }
  .split { grid-template-columns: 1fr; gap: 29px; }
  .split-copy h2 { font-size: 34px; }
  .split-copy p { margin-top: 21px; font-size: 17px; }
  .split-copy .text-link { margin-top: 22px; }
  .inquiry-grid { grid-template-columns: 1fr; gap: 35px; }
  .inquiry-copy { position: static; }
  .inquiry-copy h2 { font-size: 36px; }
  .inquiry-copy h2 br { display: none; }
  .inquiry-copy p { max-width: 100%; margin-top: 18px; font-size: 17px; }
  .large-phone { font-size: 29px; margin-top: 24px; }
  .contact-email { font-size: 16px; margin-top: 11px; }
  .required-note { font-size: 13px; margin-bottom: 23px; }
  .form-grid { gap: 21px 14px; }
  .field label { font-size: 14px; }
  input, select, textarea { font-size: 16px; min-height: 52px; padding: 12px; }
  .form-grid legend { font-size: 14px; }
  .radio-row { gap: 22px; }
  .radio-pill { font-size: 15px; }
  .form-actions .btn { width: 100%; }
  .form-note { font-size: 13px; }
  .breadcrumb { padding-top: 22px; margin-bottom: 28px; font-size: 13px; gap: 9px; }
  .page-intro { padding-bottom: 38px; }
  .page-intro h1 { font-size: 43px; line-height: 1.14; }
  .page-intro p { margin-top: 20px; font-size: 17px; }
  .route-overview .route-list { margin-top: 22px; gap: 0; }
  .route-overview .route-card { padding-block: 26px; }
  .route-overview .route-card h3 { font-size: 28px; }
  .route-overview .route-card p { font-size: 15px; }
  .quick-search-wrap { margin-top: 45px; }
  .quick-search-wrap h2 { font-size: 29px; }
  .quick-search { grid-template-columns: 1fr 32px 1fr; column-gap: 13px; row-gap: 21px; }
  .quick-search .btn { grid-column: 1/-1; }
  .swap { width: 32px; height: 36px; }
  .quick-search select { font-size: 15px; padding-inline: 8px; }
  .search-message { font-size: 14px; }
  .timetable-controls { margin-block: 25px; gap: 21px; }
  .tabs { width: 100%; gap: 10px; }
  .tab { flex: 1; padding: 12px 4px; font-size: 15px; }
  .schedule-filter { width: 100%; justify-content: space-between; font-size: 14px; gap: 7px; }
  .schedule-filter select { max-width: 220px; font-size: 13px; }
  .table-heading { font-size: 27px; }
  .table-hint { font-size: 13px; }
  .timetable th, .timetable td { font-size: 15px; padding: 16px 12px; }
  .timetable th:first-child, .timetable td:first-child { min-width: 190px; max-width: 190px; white-space: normal; line-height: 1.5; }
  .course-code { font-size: 13px; }
  .legend { font-size: 13px; gap: 9px; }
  .side-panel { display: block; padding: 23px; }
  .side-panel h3 { font-size: 26px; }
  .side-panel p { font-size: 16px; }
  .side-panel .btn { margin-top: 22px; }
  .privacy-copy h2 { font-size: 29px; }
  .privacy-copy p { font-size: 17px; }
  .dialog { padding: 33px 23px 25px; }
  .dialog h2 { font-size: 29px; }
  .dialog > p { font-size: 15px; }
  .summary-list > div { grid-template-columns: 110px 1fr; font-size: 14px; gap: 10px; }
  .dialog-actions { flex-direction: column; }
  .dialog-actions .btn { width: 100%; }
  .lightbox { padding: 16px; }
  .lightbox figcaption { font-size: 14px; }
  .footer { padding-top: 47px; }
  .footer-main { grid-template-columns: 1fr; gap: 35px; padding-bottom: 38px; }
  .footer-brand { grid-column: auto; display: block; }
  .footer-brand img { width: 217px; }
  .footer-brand p { margin-top: 20px; font-size: 16px; }
  .footer-nav { grid-template-columns: 1fr 1fr; column-gap: 20px; row-gap: 15px; font-size: 15px; }
  .footer-contact > a { font-size: 28px; }
  .footer-contact > span { font-size: 14px; }
  .footer-contact > .footer-email { font-size: 17px; }
  .footer-bottom { font-size: 13px; gap: 13px; }
}

@media (max-width: 400px) {
  .departures-panel { padding-inline: 16px; }
  .departure-choice { padding-inline: 16px; }
  .departure-choice h3 { font-size: 25px; gap: 10px; }
  .connection-directions { width: 25px; }
  .brand img { width: 165px; }
  .header-row { gap: 11px; }
  .header-quote { font-size: 12px; padding-inline: 10px; }
  .hero h1 { font-size: 48px; }
  .hero p { font-size: 16px; }
  .hero-actions .btn { font-size: 14px; padding-inline: 16px; }
  .hero { min-height: 700px; }
  .form-grid { grid-template-columns: 1fr; }
  .full { grid-column: auto; }
  .timetable th:first-child, .timetable td:first-child { min-width: 172px; max-width: 172px; }
}

@media (max-width: 360px) {
  .header-quote { display: none; }
  .departures-panel { padding-inline: 14px; }
  .departure-choice { padding-inline: 14px; }
  .departure-choice h3 { font-size: 22px; gap: 8px; }
  .connection-directions { width: 23px; }
}

/* Responsive layouts for the offer, fleet and contact pages */
@media (max-width: 1100px) {
  .inner-hero-grid { gap: 40px; }
  .inner-hero-copy h1 { font-size: 58px; }
  .inner-hero-copy > p, .contact-hero-copy > p { font-size: 18px; }
  .inner-hero-actions { gap: 18px; }
  .hero-phone { font-size: 17px; }
  .inner-section-heading { gap: 45px; }
  .booking-banner { padding: 38px; gap: 40px; }
  .booking-banner h2 { font-size: 30px; }
  .coast-route { gap: 25px; }
  .coast-route h3 { font-size: 25px; }
  .journey-grid, .faq-layout, .transport-feature, .fleet-card { gap: 45px; }
  .fleet-card-content h3 { font-size: 32px; }
  .fleet-interior { gap: 55px; }
  .contact-hero-grid { gap: 45px; }
  .contact-hero-copy h1 { font-size: 56px; }
  .contact-sheet { padding: 34px; }
  .contact-sheet-item > a { font-size: 34px; }
  .contact-sheet-email > a { font-size: 25px; }
}
@media (max-width: 900px) {
  .inner-hero, .contact-hero { padding-bottom: 48px; }
  .inner-hero-grid, .contact-hero-grid { grid-template-columns: 1fr; gap: 36px; min-height: 0; }
  .inner-hero-copy > p { max-width: 650px; }
  .inner-hero-image { aspect-ratio: 16/10; max-height: 420px; }
  .inner-hero-copy h1 br { display: none; }
  .inner-hero-copy h1 { max-width: 700px; }
  .contact-sheet { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
  .contact-sheet h2, .contact-sheet-email { grid-column: 1/-1; }
  .contact-sheet h2 { margin: 0; }
  .contact-sheet-item + .contact-sheet-item { margin-top: 0; }
  .booking-banner { grid-template-columns: 1fr; gap: 27px; }
  .booking-banner-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 22px 30px; }
  .journey-grid { gap: 40px; }
  .transport-feature, .fleet-interior { gap: 38px; }
  .fleet-card { grid-template-columns: 1.1fr 1fr; gap: 35px; }
  .fleet-card-content h3 { font-size: 28px; }
  .fleet-card-content p { font-size: 17px; margin-top: 16px; }
}
@media (max-width: 760px) {
  .inner-hero .breadcrumb, .contact-hero .breadcrumb { margin-bottom: 29px; }
  .inner-hero-copy h1 { font-size: clamp(44px,8.2vw,58px); }
  .inner-hero-copy h1 br { display: block; }
  .inner-hero-copy > p { font-size: 18px; margin-top: 22px; line-height: 1.75; }
  .inner-hero-actions { margin-top: 25px; gap: 20px 24px; }
  .inner-hero-grid { gap: 32px; }
  .inner-hero-image { max-height: none; }
  .inner-section-heading { display: block; margin-bottom: 30px; }
  .inner-section-heading p { font-size: 17px; margin-top: 18px; }
  .coast-route { grid-template-columns: 1fr; gap: 14px; padding-block: 28px; }
  .coast-route h3 { font-size: 27px; }
  .coast-route .btn { justify-self: start; margin-top: 3px; }
  .coast-section .booking-banner { margin-top: 38px; }
  .booking-banner { padding: 29px 25px; gap: 26px; }
  .booking-banner h2 { font-size: 28px; }
  .booking-banner p { font-size: 17px; }
  .booking-banner-actions { align-items: start; flex-direction: column; gap: 19px; min-width: 0; }
  .booking-phone { font-size: 30px; }
  .booking-banner .btn { min-width: 0; width: 100%; }
  .faq-layout { grid-template-columns: 1fr; gap: 27px; }
  .booking-banner + .faq-layout { margin-top: 52px; }
  .faq details { padding-block: 22px; }
  .faq summary { font-size: 18px; gap: 18px; }
  .questions-section { padding-top: 0; }
  .journey-grid, .transport-feature, .fleet-interior { grid-template-columns: 1fr; gap: 33px; }
  .journey-intro p, .journey-details p, .transport-feature p, .fleet-interior p { font-size: 17px; }
  .journey-details h3 { font-size: 25px; }
  .transport-feature { gap: 29px; }
  .transport-feature p, .fleet-interior p { margin-top: 21px; }
  .fleet-tabs { column-gap: 24px; row-gap: 0; margin-bottom: 31px; }
  .filter-btn { font-size: 16px; padding-block: 12px; }
  .fleet-card { grid-template-columns: 1fr; gap: 24px; padding-block: 36px; }
  .fleet-card-content h3 { font-size: 30px; }
  .fleet-card-content .btn { margin-top: 22px; }
  .interior-photo { width: min(100%,460px); }
  .contact-hero-copy h1 { font-size: clamp(40px,7.8vw,54px); }
  .contact-hero-copy > p { font-size: 18px; margin-top: 22px; }
  .contact-local { margin-top: 28px; }
  .contact-sheet { display: block; padding: 30px 25px; }
  .contact-sheet h2 { font-size: 26px; margin-bottom: 25px; }
  .contact-sheet-item + .contact-sheet-item { margin-top: 25px; }
  .contact-sheet-item > a { font-size: 35px; }
  .contact-sheet-email > a { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media print {
  .topbar, .header, .footer, .breadcrumb, .timetable-controls, .side-panel, .skip { display: none !important; }
  .wrap { width: 100%; }
  .section { padding: 20px 0; }
  .timetable-layout { display: block; }
  .page-intro { padding: 0 0 20px; }
  .page-intro h1 { font-size: 30px; }
  .page-intro p { font-size: 11px; }
  .table-scroll { overflow: visible; }
  .timetable th, .timetable td { padding: 8px; font-size: 10px; }
  .timetable thead, .timetable thead th:first-child { color: #000; background: #eee; }
  .course-code { color: #000; font-size: 9px; }
  .table-hint { display: none; }
  .timetable th:first-child { position: static; }
  .table-heading { margin-top: 20px; }
  body { font-size: 11px; }
  .legend { font-size: 9px; }
}

/* WordPress toolbar and server-rendered content */
body.admin-bar .header { top:32px; }
@media(max-width:782px){body.admin-bar .header{top:46px;}}
@media(max-width:600px){body.admin-bar .header{top:0;}}
.schedule-direction + .schedule-direction:not([hidden]) { margin-top:40px; }
