/* VHD Kutná Hora: the homepage has its own, theme-independent visual scope. */
/* Keep the centred header fixed when a short page has no vertical scrollbar. */
html { overflow-y: scroll; }
@supports (scrollbar-gutter: stable) {
    html { overflow-y: auto; scrollbar-gutter: stable; }
}
body.vhd-homepage-body {
    --vhd-home-red: #aa2432;
    --vhd-home-red-dark: #861d28;
    --vhd-home-ink: #202733;
    --vhd-home-muted: #65707e;
    --vhd-home-border: #dce2e8;
    --vhd-home-soft: #f2f5f7;
    --vhd-home-amber: #fff7dd;
    --vhd-home-amber-border: #eed898;
    margin: 0;
    padding: 0;
    background: #edf1f4;
    color: var(--vhd-home-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
}

.vhd-homepage-site,
.vhd-homepage-site * { box-sizing: border-box; }
.vhd-homepage-site [hidden] { display: none !important; }
.vhd-homepage-site {
    width: min(1160px, 100%);
    margin: 24px auto;
    overflow-wrap: break-word;
    background: #fff;
    border: 1px solid var(--vhd-home-border);
    border-radius: 5px;
    box-shadow: 0 5px 30px rgba(30, 45, 60, .045);
}
.vhd-homepage-site img { display: block; max-width: 100%; height: auto; }
.vhd-homepage-site svg { display: block; width: 24px; height: 24px; flex-shrink: 0; }
:where(.vhd-homepage-site) button,
:where(.vhd-homepage-site) input { font: inherit; }
.vhd-homepage-site button,
.vhd-homepage-site summary,
.vhd-homepage-site a { -webkit-tap-highlight-color: rgba(170, 36, 50, .09); }
.vhd-homepage-site button { cursor: pointer; }
.vhd-homepage-site a,
.vhd-homepage-site a:visited { color: var(--vhd-home-red); text-decoration: none; }
.vhd-homepage-site a:hover { color: var(--vhd-home-red-dark); text-decoration: underline; }
.vhd-homepage-site a:active { color: var(--vhd-home-red-dark); }
.vhd-homepage-site :focus-visible { outline: 3px solid #236fa2; outline-offset: 3px; }
.vhd-home-preview-banner { padding: 9px 16px; background: #f8ead0; color: #55421d; text-align: center; font-size: 13px; }
.vhd-home-preview-banner a,
.vhd-home-preview-banner a:visited { margin-left: 12px; color: #862130; text-decoration: underline; }
.vhd-homepage-site .screen-reader-text,
.vhd-homepage-body > .screen-reader-text:not(:focus) {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
}
.vhd-home-skip:focus,
.vhd-homepage-body > .screen-reader-text:focus {
    position: fixed !important;
    top: 10px;
    left: 10px;
    z-index: 10000;
    width: auto;
    height: auto;
    padding: 10px 16px;
    background: #fff;
    color: var(--vhd-home-red);
    clip: auto;
    clip-path: none;
}

/* Header and ordinary WordPress navigation, including nested menu items. */
.vhd-home-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 78px;
    padding: 13px 24px;
    border-radius: 4px 4px 0 0;
    background: #fff;
}
.vhd-home-brand,
.vhd-home-brand:visited {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: center;
    color: var(--vhd-home-red);
    line-height: 1.15;
}
/* WordPress can add link decoration after this stylesheet. Keep the wordmark stable in every state. */
body.vhd-homepage-body .vhd-homepage-site a.vhd-home-brand { color: var(--vhd-home-red); }
body.vhd-homepage-body .vhd-homepage-site a.vhd-home-brand,
body.vhd-homepage-body .vhd-homepage-site a.vhd-home-brand * { text-decoration: none !important; }
.vhd-home-brand strong { font-size: 27px; font-weight: 750; letter-spacing: -.8px; }
.vhd-home-brand span { margin-top: 3px; color: var(--vhd-home-muted); font-size: 13px; letter-spacing: 0; }
.vhd-home-nav { flex: 1 1 auto; margin-left: auto; }
.vhd-home-nav ul { display: flex; align-items: center; justify-content: flex-end; gap: 1px; margin: 0; padding: 0; list-style: none; }
.vhd-home-nav li { position: relative; margin: 0; padding: 0; }
.vhd-home-nav a,
.vhd-home-nav a:visited { display: block; padding: 10px 12px; color: var(--vhd-home-ink); font-size: 14px; font-weight: 400; line-height: 1.4; white-space: nowrap; }
/* Menu colours are independent of generic theme links; only the current page has a background. */
body.vhd-homepage-body .vhd-homepage-site .vhd-home-nav a,
body.vhd-homepage-body .vhd-homepage-site .vhd-home-nav a:visited { color: var(--vhd-home-ink); background: transparent; }
body.vhd-homepage-body .vhd-homepage-site .vhd-home-nav a:hover,
body.vhd-homepage-body .vhd-homepage-site .vhd-home-nav a:active { color: var(--vhd-home-red); }
body.vhd-homepage-body .vhd-homepage-site .vhd-home-nav a[aria-current="page"],
body.vhd-homepage-body .vhd-homepage-site .vhd-home-nav a[aria-current="location"] { color: var(--vhd-home-red); background: #f9eef0; border-radius: 3px; }
body.vhd-homepage-body .vhd-homepage-site .vhd-home-nav a,
body.vhd-homepage-body .vhd-homepage-site .vhd-home-nav a:visited,
body.vhd-homepage-body .vhd-homepage-site .vhd-home-nav a:hover,
body.vhd-homepage-body .vhd-homepage-site .vhd-home-nav a:focus,
body.vhd-homepage-body .vhd-homepage-site .vhd-home-nav a:active,
body.vhd-homepage-body .vhd-homepage-site .vhd-home-nav a * { text-decoration: none !important; }
.vhd-home-nav ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 30;
    display: none;
    width: max-content;
    min-width: 185px;
    padding: 5px;
    background: #fff;
    border: 1px solid var(--vhd-home-border);
    border-radius: 4px;
    box-shadow: 0 5px 18px rgba(30, 45, 60, .1);
}
.vhd-home-nav li:hover > ul.sub-menu,
.vhd-home-nav li:focus-within > ul.sub-menu { display: block; }
.vhd-home-nav ul.sub-menu a { padding: 9px 12px; white-space: normal; }
.vhd-home-nav ul.sub-menu ul.sub-menu { top: 0; left: 100%; }
.vhd-home-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 8px;
    background: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    color: var(--vhd-home-red);
}
.vhd-home-menu-toggle:hover { background: var(--vhd-home-soft); }
.vhd-homepage-site a.vhd-home-social,
.vhd-homepage-site a.vhd-home-social:visited {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 7px 9px;
    border: 1px solid #dce7f8;
    border-radius: 4px;
    background: #f5f9ff;
    color: #253142;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.25;
    text-decoration: none;
    white-space: nowrap;
}
.vhd-homepage-site a.vhd-home-social:hover { background: #eaf2fe; border-color: #b5cdef; color: #174b8b; text-decoration: none; }
.vhd-homepage-site .vhd-home-social .vhd-home-facebook-icon { width: 20px; height: 20px; color: #1877f2; }
.vhd-home-site-search { position: relative; flex: 0 0 auto; margin: 0; }
.vhd-home-site-search > summary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 42px;
    padding: 8px;
    border-radius: 4px;
    color: var(--vhd-home-red);
    cursor: pointer;
    list-style: none;
}
.vhd-home-site-search > summary::-webkit-details-marker { display: none; }
.vhd-home-site-search > summary:hover { background: var(--vhd-home-soft); }
.vhd-home-site-search form {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 40;
    display: flex;
    align-items: stretch;
    gap: 7px;
    width: 340px;
    max-width: calc(100vw - 36px);
    padding: 12px;
    background: #fff;
    border: 1px solid var(--vhd-home-border);
    border-radius: 5px;
    box-shadow: 0 6px 20px rgba(30, 45, 60, .15);
}
/* Theme search rules can otherwise add padding outside the input's 100% width. */
.vhd-home-site-search form label { display: block; flex: 1 1 0%; min-width: 0; }
.vhd-home-site-search input[type="search"] { display: block; box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; height: auto; min-height: 2.5em; margin: 0; padding: 7px 9px; border: 1px solid var(--vhd-home-border); border-radius: 3px; background: #fff; color: var(--vhd-home-ink); font: inherit; }
.vhd-home-site-search button { box-sizing: border-box; flex: 0 0 auto; height: auto; min-height: 2.5em; margin: 0; padding: 7px 12px; border: 1px solid var(--vhd-home-red); border-radius: 3px; background: var(--vhd-home-red); color: #fff; font: inherit; white-space: nowrap; }
.vhd-home-hero { overflow: hidden; border-top: 2px solid #a7d9ef; }
.vhd-home-hero img { width: 100%; height: auto; aspect-ratio: 2558 / 437; object-fit: cover; }

/* Compact journey form. Labels remain present above every input value. */
.vhd-home-main { padding: 0 24px 24px; }
.vhd-home-intro h1 { margin: 15px 0 13px; color: #18212e; font-size: 32px; font-weight: 600; line-height: 1.18; letter-spacing: -.5px; }

/* Shared document shell for timetable and disruption pages. */
.vhd-service-main { padding-top: 18px; }
.vhd-service-content { min-width: 0; }
.vhd-service-title { margin: 0 0 17px; color: #18212e; font-size: 32px; font-weight: 600; line-height: 1.18; letter-spacing: -.5px; overflow-wrap: anywhere; }
.vhd-service-text { min-width: 0; }
.vhd-service-text > :first-child { margin-top: 0; }
.vhd-service-text > :last-child { margin-bottom: 0; }
.vhd-service-text > p { margin: 0 0 14px; }
.vhd-service-text > p:empty { display: none; }
.vhd-service-text .vhd-pid,
.vhd-service-text .vhd-jr { width: 100%; margin-top: 0; }
.vhd-homepage-site .vhd-service-text a { color: var(--vhd-home-red); text-decoration: underline; text-underline-offset: 2px; }
.vhd-homepage-site .vhd-service-text a:where(:hover, :active) { color: var(--vhd-home-red-dark); }
.vhd-service-text .vhd-home-national-search { margin-top: 18px; font-size: 14px; }

/* Native news queries and article content share the same shell as service pages. */
.vhd-home-main.vhd-news-main { padding-top: 23px; padding-bottom: 30px; }
.vhd-news-list-head { margin-bottom: 19px; }
.vhd-news-list-head .vhd-service-title { margin-bottom: 9px; }
.vhd-news-intro { color: var(--vhd-home-muted); font-size: 15px; }
.vhd-news-intro > :first-child { margin-top: 0; }
.vhd-news-intro > :last-child { margin-bottom: 0; }
.vhd-news-list { display: grid; gap: 14px; }
.vhd-news-list-card { display: flex; min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--vhd-home-border); border-radius: 5px; }
.vhd-news-list-image { flex: 0 0 25%; width: 25%; background: var(--vhd-home-soft); }
.vhd-news-list-image img { width: 100%; height: 100%; min-height: 165px; object-fit: cover; }
.vhd-news-list-copy { flex: 1; min-width: 0; padding: 16px 20px; }
.vhd-news-list-copy time { display: block; color: var(--vhd-home-muted); font-size: 12px; }
.vhd-news-list-copy h2 { margin: 4px 0 8px; font-size: 21px; font-weight: 600; line-height: 1.3; letter-spacing: -.2px; }
.vhd-homepage-site .vhd-news-list-copy h2 a,
.vhd-homepage-site .vhd-news-list-copy h2 a:visited { color: var(--vhd-home-ink); }
.vhd-homepage-site .vhd-news-list-copy h2 a:hover { color: var(--vhd-home-red); }
.vhd-news-list-copy p { margin: 0 0 10px; color: #586371; font-size: 14px; line-height: 1.5; }
.vhd-news-read { font-size: 13px; font-weight: 500; }
/* Native site search shares the news cards; only the retry form and type/date row differ. */
.vhd-search-retry { display: flex; gap: 8px; width: 100%; max-width: 660px; margin-top: 16px; }
.vhd-search-retry label { display: flex; flex: 1; min-width: 0; }
.vhd-search-retry input { width: 100%; min-width: 0; min-height: 44px; padding: 9px 12px; border: 1px solid var(--vhd-home-border); border-radius: 5px; background: #fff; color: var(--vhd-home-ink); font: inherit; font-size: 16px; }
.vhd-search-retry button { flex: 0 0 auto; min-height: 44px; padding: 9px 18px; border: 0; border-radius: 5px; background: var(--vhd-home-red); color: #fff; font: inherit; font-size: 15px; cursor: pointer; }
.vhd-search-retry input:focus-visible, .vhd-search-retry button:focus-visible { outline: 3px solid #2a77b3; outline-offset: 3px; }
.vhd-search-guides, .vhd-search-line-alerts { margin: 0 0 24px; }
.vhd-search-guides h2, .vhd-search-line-alerts h2, .vhd-search-results-title { margin: 0 0 10px; font-size: 20px; line-height: 1.3; }
.vhd-search-guide-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.vhd-search-guide { display: flex; flex-direction: column; gap: 5px; padding: 12px 14px; border: 1px solid var(--vhd-home-border); border-left: 3px solid var(--vhd-home-red); border-radius: 5px; background: #fff; color: var(--vhd-home-ink); text-decoration: none; }
.vhd-search-guide strong { color: var(--vhd-home-red); font-size: 16px; font-weight: 600; line-height: 1.35; }
.vhd-search-guide > span { color: var(--vhd-home-muted); font-size: 13px; line-height: 1.45; }
.vhd-homepage-site .vhd-search-guide:hover { background: #faf7f7; text-decoration: none; }
.vhd-search-guide:focus-visible { outline: 3px solid #2a77b3; outline-offset: 3px; }
.vhd-search-line { margin: 0 0 22px; padding: 12px; border: 1px solid #e8dfcf; border-radius: 5px; background: #faf7f1; }
.vhd-search-line-head { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 12px; margin-bottom: 10px; }
.vhd-search-line-head h2 { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; color: var(--vhd-home-ink); font-size: 17px; font-weight: 600; line-height: 1.35; }
.vhd-search-line-head .vhd-home-line { min-width: 40px; min-height: 27px; padding: 4px 8px; font-size: 13px; }
.vhd-search-line-mode { color: var(--vhd-home-muted); font-size: 13px; line-height: 1.4; }
.vhd-search-line-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.vhd-homepage-site .vhd-search-line-action,
.vhd-homepage-site .vhd-search-line-action:visited { display: flex; align-items: center; gap: 9px; min-width: 0; min-height: 44px; margin: 0; padding: 9px 10px; border: 1px solid var(--vhd-home-border); border-radius: 4px; background: #fff; color: var(--vhd-home-ink); font-size: 14px; font-weight: 500; line-height: 1.4; text-decoration: none; }
.vhd-search-line-action > svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--vhd-home-red); }
.vhd-search-line-action > span:first-of-type { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.vhd-search-line-action .vhd-search-line-count { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; min-width: 23px; min-height: 23px; padding: 2px 6px; border-radius: 4px; background: #f9eef0; color: var(--vhd-home-red-dark); font-size: 12px; font-weight: 600; line-height: 1.25; white-space: nowrap; }
.vhd-search-line-chevron { flex: 0 0 auto; color: var(--vhd-home-red); font-size: 18px; font-weight: 400; line-height: 1; }
.vhd-homepage-site .vhd-search-line-action:hover { border-color: #d3bcc0; background: #fdfafb; color: var(--vhd-home-red-dark); text-decoration: none; }
.vhd-search-line-action:focus-visible { outline: 3px solid #236fa2; outline-offset: 2px; }
.vhd-search-line-note { margin: 9px 0 0; color: var(--vhd-home-muted); font-size: 13px; line-height: 1.45; }
@media (max-width: 540px) {
    .vhd-search-line { padding: 10px; margin-bottom: 18px; }
    .vhd-search-line-actions { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .vhd-homepage-site .vhd-search-line-action,
    .vhd-homepage-site .vhd-search-line-action:visited { font-size: 15px; }
}
.vhd-search-alert { padding: 10px 0; border-bottom: 1px solid var(--vhd-home-border); }
.vhd-search-alert h3 { margin: 5px 0 0; font-size: 16px; line-height: 1.4; }
.vhd-search-alert h3 a { color: var(--vhd-home-red); }
.vhd-search-overview-link { margin: 10px 0 0; font-size: 14px; }
.vhd-jr-route[id^="vhd-jr-linka-"] { scroll-margin-top: 16px; }
.vhd-search-meta { display: flex; flex-wrap: wrap; gap: 4px 13px; color: var(--vhd-home-muted); font-size: 12px; }
.vhd-search-meta time { font-size: inherit; }
.vhd-news-article { max-width: 960px; margin-right: auto; margin-left: auto; }
.vhd-news-article > .vhd-news-text, .vhd-news-main > .post-navigation, .vhd-news-comments { max-width: 790px; margin-right: auto; margin-left: auto; }
.vhd-news-back { display: inline-block; margin-bottom: 18px; font-size: 13px; }
.vhd-news-article-head .vhd-service-title { margin-bottom: 12px; line-height: 1.22; }
.vhd-news-meta { display: flex; flex-wrap: wrap; gap: 4px 17px; margin: 0 0 23px; color: var(--vhd-home-muted); font-size: 13px; }
.vhd-news-featured { margin: 0 0 23px; }
.vhd-news-featured img { width: auto; max-height: 640px; margin: auto; object-fit: contain; }
.vhd-news-text { display: flow-root; min-width: 0; font-size: 17px; line-height: 1.7; }
.vhd-news-text > :first-child { margin-top: 0; }
.vhd-news-text p, .vhd-news-text ul, .vhd-news-text ol { margin: 0 0 18px; }
.vhd-news-text ul, .vhd-news-text ol { padding-left: 25px; }
.vhd-news-text li { margin-bottom: 5px; }
.vhd-news-text h2, .vhd-news-text h3, .vhd-news-text h4 { margin: 29px 0 12px; font-weight: 600; line-height: 1.35; }
.vhd-news-text h2 { font-size: 25px; }
.vhd-news-text h3 { font-size: 21px; }
.vhd-news-text h4 { font-size: 18px; }
.vhd-homepage-site .vhd-news-text a,
.vhd-homepage-site .vhd-news-comments a { color: var(--vhd-home-red); text-decoration: underline; text-underline-offset: 2px; }
.vhd-homepage-site .vhd-news-text a:where(:hover, :active),
.vhd-homepage-site .vhd-news-comments a:where(:hover, :active) { color: var(--vhd-home-red-dark); }
.vhd-news-text figure, .vhd-news-text .wp-caption { max-width: 100%; margin: 22px 0; }
.vhd-news-text figcaption, .vhd-news-text .wp-caption-text { margin-top: 8px; color: var(--vhd-home-muted); font-size: 13px; line-height: 1.5; text-align: center; }
.vhd-news-text .aligncenter { display: block; margin-right: auto; margin-left: auto; }
.vhd-news-text .alignleft { float: left; margin: 5px 20px 12px 0; }
.vhd-news-text .alignright { float: right; margin: 5px 0 12px 20px; }
.vhd-news-text .alignwide, .vhd-news-text .alignfull { width: 100%; max-width: 100%; margin-right: 0; margin-left: 0; }
.vhd-news-text blockquote { margin: 22px 0; padding: 5px 0 5px 18px; border-left: 3px solid var(--vhd-home-red); color: #586371; }
.vhd-news-text blockquote > :last-child { margin-bottom: 0; }
.vhd-news-text table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15px; overscroll-behavior-x: contain; }
.vhd-news-text th, .vhd-news-text td { padding: 8px 10px; border: 1px solid var(--vhd-home-border); vertical-align: top; }
.vhd-news-text th { font-weight: 600; background: var(--vhd-home-soft); }
.vhd-news-text iframe, .vhd-news-text video, .vhd-news-text audio, .vhd-news-text embed, .vhd-news-text object { max-width: 100%; }
.vhd-news-text pre { max-width: 100%; overflow-x: auto; }
.vhd-news-text .gallery { display: flex; flex-wrap: wrap; gap: 10px; }
.vhd-news-text .gallery-item { flex: 1 1 180px; margin: 0; }
.vhd-news-text .gallery-item img { margin: auto; }
.vhd-news-main .pagination { margin: 25px 0 0; }
.vhd-news-main .pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.vhd-news-main .page-numbers, .vhd-news-main .vhd-service-pages > * { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 38px; padding: 6px 11px; border: 1px solid var(--vhd-home-border); border-radius: 4px; font-size: 14px; }
.vhd-news-main .page-numbers.current, .vhd-news-main .vhd-service-pages .current { background: var(--vhd-home-red); border-color: var(--vhd-home-red); color: #fff; }
.vhd-news-main .page-numbers.dots { border-color: transparent; }
.vhd-news-main > .post-navigation { margin-top: 30px; padding-top: 19px; border-top: 1px solid var(--vhd-home-border); }
.vhd-news-main .post-navigation .nav-links { display: flex; justify-content: space-between; gap: 24px; }
.vhd-news-main .post-navigation .nav-previous, .vhd-news-main .post-navigation .nav-next { flex: 1; min-width: 0; }
.vhd-news-main .post-navigation .nav-next { text-align: right; }
.vhd-news-main .post-navigation a span, .vhd-news-main .post-navigation a strong { display: block; }
.vhd-news-main .post-navigation a span { margin-bottom: 5px; color: var(--vhd-home-muted); font-size: 12px; }
.vhd-news-main .post-navigation a strong { font-size: 15px; font-weight: 500; line-height: 1.4; }
.vhd-news-comments { padding-top: 25px; font-size: 15px; }
.vhd-news-comments h2, .vhd-news-comments h3 { font-size: 21px; font-weight: 600; }
.vhd-news-comments .comment-list { padding-left: 0; list-style: none; }
.vhd-news-comments .children { padding-left: 22px; list-style: none; }
.vhd-news-comments .comment-body { margin-bottom: 20px; }
.vhd-news-comments .avatar { float: left; width: 36px; height: 36px; margin-right: 10px; border-radius: 50%; }
.vhd-news-comments .comment-metadata { font-size: 12px; color: var(--vhd-home-muted); }
.vhd-news-comments input:not([type="checkbox"]), .vhd-news-comments textarea, .vhd-news-text .post-password-form input[type="password"] { max-width: 100%; padding: 9px 11px; border: 1px solid var(--vhd-home-border); border-radius: 4px; font: inherit; }
.vhd-news-comments textarea { width: 100%; }
.vhd-news-comments input[type="submit"], .vhd-news-text .post-password-form input[type="submit"] { padding: 10px 16px; background: var(--vhd-home-red); border: 0; border-radius: 4px; color: #fff; font: inherit; cursor: pointer; }
@media (max-width: 700px) {
    .vhd-news-list-image { flex-basis: 29%; width: 29%; }
    .vhd-news-list-copy { padding: 12px 14px; }
    .vhd-news-list-copy h2 { font-size: 18px; }
}
@media (max-width: 540px) {
    .vhd-home-main.vhd-news-main { padding-top: 15px; padding-bottom: 24px; }
    .vhd-news-list-head { margin-bottom: 14px; }
    .vhd-news-list { gap: 11px; }
    .vhd-news-list-image { flex-basis: 28%; width: 28%; }
    .vhd-news-list-image img { min-height: 145px; }
    .vhd-news-list-copy { padding: 10px 11px; }
    .vhd-news-list-copy h2 { margin-top: 3px; font-size: 16px; }
    .vhd-news-list-copy p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; }
    .vhd-news-list-copy time { font-size: 11px; }
    .vhd-news-read { font-size: 12px; }
    .vhd-news-back { margin-bottom: 14px; }
    .vhd-news-article-head .vhd-service-title { font-size: 24px; }
    .vhd-news-meta { margin-bottom: 18px; font-size: 12px; }
    .vhd-news-text { font-size: 16px; line-height: 1.65; }
    .vhd-news-text h2 { font-size: 22px; }
    .vhd-news-text h3 { font-size: 19px; }
    .vhd-news-text .alignleft, .vhd-news-text .alignright { float: none; margin: 18px auto; }
    .vhd-news-text figure { margin-top: 18px; margin-bottom: 18px; }
    .vhd-news-main .post-navigation .nav-links { gap: 16px; }
}
@media print {
    .vhd-news-back, .vhd-news-main > .post-navigation, .vhd-news-main .pagination, .vhd-news-comments { display: none; }
    .vhd-news-list-card { break-inside: avoid; }
}
.vhd-home-search { margin: 0; padding: 0; }
.vhd-home-route { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); gap: 12px; }
.vhd-home-route > .vhd-home-field:last-child { grid-column: 3; }
body:not(.vhd-home-has-js) .vhd-home-route { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body:not(.vhd-home-has-js) .vhd-home-route > .vhd-home-field:last-child { grid-column: 2; }
.vhd-home-field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 58px;
    margin: 0;
    padding: 9px 14px;
    background: #fff;
    border: 1px solid var(--vhd-home-border);
    border-radius: 5px;
    cursor: text;
}
.vhd-home-field:focus-within { border-color: #7a8795; box-shadow: 0 0 0 1px #7a8795; }
.vhd-home-field > svg { width: 25px; height: 25px; color: var(--vhd-home-red); }
.vhd-home-field-copy { display: flex; flex: 1; flex-direction: column; min-width: 0; margin: 0; cursor: text; }
.vhd-home-field-copy > span,
.vhd-home-field .label { display: block; margin-bottom: 1px; color: var(--vhd-home-ink); font-size: 12px; line-height: 1.25; }
.vhd-home-field input {
    display: block;
    width: 100%;
    min-width: 0;
    height: 1.4375em;
    min-height: 1.4em;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--vhd-home-ink);
    font-size: 16px;
    line-height: 1.4;
    box-shadow: none;
}
.vhd-home-field input:focus { outline: none; box-shadow: none; }
.vhd-home-route .vhd-home-field-has-clear > .vhd-home-field-copy { padding-right: 26px; }
.vhd-home-route button.vhd-stop-input-clear { position: absolute; top: 50%; right: 6px; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; min-width: 32px; min-height: 32px; margin: 0; padding: 0; transform: translateY(-50%); border: 0; border-radius: 50%; background: transparent; color: var(--vhd-home-muted); font-family: inherit; font-size: 20px; font-weight: 400; line-height: 1; cursor: pointer; }
.vhd-home-route button.vhd-stop-input-clear:hover { background: #f0f2f5; color: var(--vhd-home-ink); }
.vhd-home-route button.vhd-stop-input-clear:focus-visible { outline: 2px solid #236fa2; outline-offset: 1px; }
.vhd-home-route button.vhd-stop-input-clear:disabled { opacity: .5; cursor: default; }
/* The field wrapper supplies the border and the focus ring; text inputs have no inner frame. */
body.vhd-homepage-body .vhd-homepage-site .vhd-home-search .vhd-home-route input[type="text"] {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--vhd-home-ink);
    font-family: inherit;
    box-shadow: none;
}
.vhd-home-field input::placeholder { color: var(--vhd-home-muted); opacity: 1; }
.vhd-home-time-row .vhd-home-field input::placeholder { color: var(--vhd-home-ink); }
.vhd-home-field [data-vhd-picker] {
    position: absolute;
    top: 6px;
    left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 23px;
    margin: 0;
    padding: 2px;
    border: 0;
    border-radius: 3px;
    background: transparent;
    color: var(--vhd-home-red);
}
.vhd-home-field [data-vhd-picker]:hover { background: #f8ecee; }
.vhd-home-field [data-vhd-picker] svg { width: 20px; height: 20px; }
.vhd-home-time-row .vhd-home-field { display: block; padding: 7px 11px; }
.vhd-home-time-row .vhd-home-field .vhd-home-field-copy > span { min-height: 19px; padding-right: 35px; padding-left: 28px; line-height: 19px; }
.vhd-home-field input[type="date"],
.vhd-home-field input[type="time"] { width: 100%; min-width: 0; height: max(25px, 1.5625em); padding: 0; background: transparent; color: var(--vhd-home-ink); font-size: 15px; line-height: max(25px, 1.5625em); }
.vhd-home-field input[type="date"]::-webkit-date-and-time-value,
.vhd-home-field input[type="time"]::-webkit-date-and-time-value { min-height: 25px; text-align: left; }
.vhd-home-field-reset { position: absolute; top: 7px; right: 9px; min-height: 22px; margin: 0; padding: 2px 4px; border: 0; border-radius: 3px; background: #f1f3f5; color: #586574; font-size: 11px; font-weight: 400; line-height: 18px; }
.vhd-home-field-reset:hover { background: #f8e9ec; color: var(--vhd-home-red); }
.vhd-home-field-reset[aria-pressed="true"] { background: #f8e9ec; color: var(--vhd-home-red); }

/* Only the suggestions are loaded; choosing a stop does not submit the form. */
.vhd-stop-listbox { position: absolute; top: calc(100% + 4px); right: 0; left: 0; z-index: 80; max-height: 290px; margin: 0; padding: 4px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #c7d0da; border-radius: 5px; background: #fff; color: var(--vhd-home-ink); box-shadow: 0 5px 17px rgba(25, 40, 55, .14); list-style: none; }
.vhd-stop-option { display: block; width: 100%; min-height: 43px; margin: 0; padding: 10px 11px; border: 0; border-radius: 3px; background: #fff; color: #263040; font: inherit; font-size: 14px; font-weight: 400; line-height: 1.45; text-align: left; white-space: normal; overflow-wrap: anywhere; cursor: pointer; }
.vhd-stop-option:hover,
.vhd-stop-option.is-active,
.vhd-stop-option[aria-selected="true"] { background: #f9ecef; color: #8a1c29; box-shadow: inset 3px 0 var(--vhd-home-red); }
.vhd-stop-option small { display: block; margin-top: 2px; color: var(--vhd-home-muted); font-size: 12px; }
.vhd-stop-option-label { display: block; }
.vhd-stop-option-place { display: block; margin-top: 2px; color: var(--vhd-home-muted); font-size: 12px; }
.vhd-stop-option mark.vhd-stop-match { padding: 0; background: transparent; color: inherit; font-weight: 600; }
.vhd-stop-empty { margin: 0; padding: 10px 11px; color: var(--vhd-home-muted); font-size: 13px; line-height: 1.45; }
.vhd-stop-popup { position: absolute; top: calc(100% + 4px); right: 0; left: 0; z-index: 80; border: 1px solid #c7d0da; border-radius: 5px; background: #fff; color: var(--vhd-home-ink); box-shadow: 0 5px 17px rgba(25, 40, 55, .14); cursor: default; }
.vhd-stop-popup .vhd-stop-listbox { position: static; margin: 0; border: 0; border-radius: 4px; box-shadow: none; }
.vhd-stop-recent-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 3px 8px 0 12px; color: var(--vhd-home-muted); font-size: 12px; line-height: 1.4; }
.vhd-stop-recent-head > span { font-weight: 600; }
.vhd-stop-recent-clear { flex: 0 0 auto; min-height: 32px; margin: 0; padding: 4px; border: 0; border-radius: 3px; background: transparent; color: var(--vhd-home-red); font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.vhd-stop-recent-clear:hover { background: #f9ecef; color: #8a1c29; }
.vhd-stop-recent-clear:focus-visible { outline: 2px solid #236fa2; outline-offset: 1px; }
.vhd-home-swap { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 9px; border: 1px solid var(--vhd-home-border); border-radius: 5px; background: #fff; color: var(--vhd-home-ink); }
.vhd-home-swap:hover,
.vhd-home-swap:active { background: var(--vhd-home-soft); color: var(--vhd-home-red); }
.vhd-home-time-row { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, .83fr) minmax(215px, 1.2fr) minmax(210px, 1fr); gap: 12px; margin-top: 12px; }
.vhd-home-time-row .vhd-home-field { min-height: 56px; }
.vhd-home-direction { display: flex; align-items: center; justify-content: space-evenly; gap: 10px; min-width: 0; min-height: 56px; margin: 0; padding: 9px 12px; border: 1px solid var(--vhd-home-border); border-radius: 5px; }
.vhd-home-direction label { display: inline-flex; align-items: center; gap: 9px; margin: 0; color: var(--vhd-home-ink); font-size: 15px; line-height: 1.25; white-space: nowrap; cursor: pointer; }
.vhd-home-direction input[type="radio"] { flex: 0 0 auto; width: 19px; height: 19px; margin: 0; accent-color: var(--vhd-home-red); cursor: pointer; }
.vhd-home-submit { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 10px 14px; border: 1px solid var(--vhd-home-red); border-radius: 5px; background: var(--vhd-home-red); color: #fff; font-size: 16px; font-weight: 500; line-height: 1.3; }
.vhd-home-submit:hover,
.vhd-home-submit:active { border-color: var(--vhd-home-red-dark); background: var(--vhd-home-red-dark); color: #fff; }
.vhd-home-submit svg { width: 17px; height: 17px; }
.vhd-home-fare { margin: 17px 0 18px; border-radius: 4px; background: #eef3f6; }
.vhd-home-fare > summary { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 43px; padding: 9px 13px; color: #354254; font-size: 14px; line-height: 1.5; list-style: none; cursor: pointer; }
.vhd-home-fare > summary::-webkit-details-marker { display: none; }
.vhd-home-fare > summary > svg { width: 19px; height: 19px; }
.vhd-home-fare-price { color: #253044; font-weight: 400; }
.vhd-home-fare-compact { display: none; }
.vhd-home-fare-toggle { display: inline-flex; align-items: center; gap: 7px; margin-left: 6px; padding-left: 13px; border-left: 1px solid #b9c4cf; font-size: 13px; white-space: nowrap; }
.vhd-home-fare-toggle::after { display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; content: ""; transform: translateY(-2px) rotate(45deg); }
.vhd-home-fare[open] .vhd-home-fare-toggle::after { transform: translateY(2px) rotate(225deg); }
.vhd-home-fare-body { padding: 0 16px 13px 40px; color: #4d5968; font-size: 14px; }
.vhd-home-fare-body p { margin: 0 0 7px; }
.vhd-home-fare-body p:last-child { margin-bottom: 0; }
.vhd-home-fare-body ul { margin: 0 0 7px; padding-left: 18px; }
.vhd-home-fare-body li { margin: 3px 0; }
.vhd-home-guide { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 20px; margin: -6px 0 17px; font-size: 14px; line-height: 1.5; }
.vhd-homepage-site .vhd-home-guide a { display: inline-block; padding: 3px 0; color: var(--vhd-home-red); text-decoration: underline; text-underline-offset: 3px; }
.vhd-homepage-site .vhd-home-guide a:hover { color: var(--vhd-home-red-dark); }
.vhd-home-guide a > span { display: inline-block; margin-left: 4px; }
.vhd-home-guide .vhd-home-guide-english { font-size: 13px; }

/* The four links remain visible together on phones. */
.vhd-home-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
.vhd-home-shortcut,
.vhd-home-shortcut:visited { display: flex; align-items: center; gap: 13px; min-width: 0; min-height: 91px; padding: 13px 12px 13px 16px; border: 1px solid var(--vhd-home-border); border-radius: 5px; background: #fff; color: var(--vhd-home-ink); }
.vhd-home-shortcut > svg:first-child { width: 39px; height: 39px; color: var(--vhd-home-red); }
.vhd-home-shortcut > div,
.vhd-home-shortcut > span:not(.vhd-home-chevron) { flex: 1; min-width: 0; }
.vhd-home-chevron { flex: 0 0 auto; margin-left: auto; color: var(--vhd-home-red); font-size: 27px; font-weight: 400; line-height: 1; }
.vhd-home-shortcut-title { display: block; color: var(--vhd-home-ink); font-size: 16px; font-weight: 600; line-height: 1.3; }
.vhd-home-shortcut-description { display: block; margin-top: 5px; color: var(--vhd-home-muted); font-size: 12px; line-height: 1.3; }
.vhd-home-shortcut > svg:last-child:not(:first-child) { width: 16px; height: 16px; margin-left: auto; color: var(--vhd-home-red); }
body.vhd-homepage-body .vhd-homepage-site a.vhd-home-shortcut,
body.vhd-homepage-body .vhd-homepage-site a.vhd-home-shortcut * { text-decoration: none !important; }
.vhd-home-shortcut:hover { border-color: #d3bcc0; background: #fdfafb; text-decoration: none !important; }
.vhd-home-shortcut:hover .vhd-home-shortcut-title { color: var(--vhd-home-red); }
.vhd-home-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 21px 0 9px; }
.vhd-home-section-head h2 { display: flex; align-items: center; gap: 9px; min-width: 0; margin: 0; color: #202733; font-size: 25px; font-weight: 700; line-height: 1.25; letter-spacing: -.6px; }
.vhd-home-all,
.vhd-home-all:visited { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; color: var(--vhd-home-red); font-size: 14px; line-height: 1.4; white-space: nowrap; }
.vhd-home-all svg { width: 17px; height: 17px; }

/* Static restrictions preview: one incident is one row, regardless of lines. */
.vhd-home-alerts { padding: 12px 15px 2px; border: 1px solid var(--vhd-home-amber-border); border-radius: 5px; background: var(--vhd-home-amber); }
.vhd-home-alerts .vhd-home-section-head { margin: 0 0 5px; }
.vhd-home-alerts .vhd-home-section-head h2 { gap: 9px; font-size: 19px; font-weight: 650; letter-spacing: -.35px; }
.vhd-home-alerts .vhd-home-section-head h2 svg { width: 27px; height: 27px; color: #bd790b; }
.vhd-home-alert-list { margin: 0; padding: 0; }
.vhd-home-alert { display: grid; grid-template-columns: minmax(135px, 220px) minmax(0, 1fr) minmax(115px, 150px) 108px; align-items: center; gap: 12px; min-height: 45px; padding: 8px 0; border-top: 1px solid #e8dcae; }
.vhd-home-lines { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; min-width: 0; }
.vhd-home-line { display: inline-flex; align-items: center; justify-content: center; min-width: 37px; min-height: 25px; padding: 3px 7px; border-radius: 3px; background: var(--vhd-home-red); color: #fff; font-size: 12px; font-weight: 650; line-height: 1.2; white-space: nowrap; }
.vhd-home-line-train { background: #9d2733; }
.vhd-home-alert-title,
.vhd-home-alert-title:visited { min-width: 0; color: #27303c; font-size: 14px; font-weight: 400; line-height: 1.4; }
.vhd-home-alert-title:hover { color: var(--vhd-home-red-dark); }
.vhd-home-alert-date { display: flex; align-items: center; gap: 7px; color: #68717a; font-size: 13px; line-height: 1.4; }
.vhd-home-alert-date svg { width: 16px; height: 16px; }
.vhd-home-alert-detail,
.vhd-home-alert-detail:visited { display: inline-flex; align-items: center; justify-self: end; gap: 5px; color: var(--vhd-home-red); font-size: 13px; line-height: 1.4; white-space: nowrap; }
.vhd-home-alert-detail svg { width: 16px; height: 16px; }
.vhd-home-warning { margin: 8px 0 12px; padding: 9px 11px; border-left: 3px solid #ba7814; background: rgba(255,255,255,.6); color: #685021; font-size: 13px; line-height: 1.5; }
.vhd-home-empty { margin: 8px 0 12px; color: #62675f; font-size: 14px; }

/* No connection is opened by the camera poster itself. */
.vhd-home-camera-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.vhd-home-camera { min-width: 0; margin: 0; }
.vhd-home-camera-stage { position: relative; isolation: isolate; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: #202733; color: #fff; }
.vhd-home-camera-stage > img,
.vhd-home-camera-stage > video { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.vhd-home-camera-stage > video { background: #151b22; }
.vhd-home-camera-play { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; width: 100%; height: 100%; margin: 0; padding: 10px; border: 0; background: transparent; color: #fff; }
.vhd-home-camera-play > svg,
.vhd-home-camera-play .vhd-home-camera-play-icon { width: 53px; height: 53px; padding: 15px; border-radius: 50%; background: #fff; color: #243040; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .23)); }
.vhd-home-camera-play .vhd-home-camera-play-icon { display: flex; align-items: center; justify-content: center; }
.vhd-home-camera-play .vhd-home-camera-play-icon svg { width: 24px; height: 24px; }
.vhd-home-camera-play > span:not(.vhd-home-camera-play-icon) { padding: 5px 11px; border-radius: 4px; background: rgba(18, 23, 29, .82); color: #fff; font-size: 13px; line-height: 1.4; }
.vhd-home-camera-play:hover { background: rgba(0, 0, 0, .09); }
.vhd-home-camera-play:hover > svg,
.vhd-home-camera-play:hover .vhd-home-camera-play-icon { background: #fff5f5; color: var(--vhd-home-red); }
.vhd-home-camera-play:focus-visible { outline-offset: -5px; }
.vhd-home-camera-poster-note { position: absolute; bottom: 8px; left: 8px; z-index: 3; max-width: calc(100% - 60px); padding: 3px 6px; border-radius: 3px; background: rgba(0, 0, 0, .64); color: #fff; font-size: 11px; line-height: 1.35; pointer-events: none; }
.vhd-home-camera[data-camera-state="loading"] .vhd-home-camera-poster-note,
.vhd-home-camera[data-camera-state="playing"] .vhd-home-camera-poster-note,
.vhd-home-camera[data-camera-state="paused"] .vhd-home-camera-poster-note { display: none; }
.vhd-home-camera-caption { margin: 5px 0 0; color: #626d7c; font-size: 14px; font-weight: 400; line-height: 1.45; }
.vhd-home-camera [data-camera-status] { margin: 6px 0 0; color: #646c78; font-size: 13px; line-height: 1.45; }
.vhd-home-camera [data-camera-status]:empty { display: none; }
.vhd-home-camera [data-camera-retry] { margin-top: 7px; padding: 6px 10px; border: 1px solid #cab6b9; border-radius: 4px; background: #fff; color: var(--vhd-home-red); font-size: 13px; }
.vhd-home-camera [data-camera-retry]:hover { background: #fdf5f6; }
.vhd-home-camera noscript p { margin: 6px 0 0; color: var(--vhd-home-muted); font-size: 13px; }

.vhd-home-news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.vhd-home-news-card { display: flex; align-items: stretch; min-width: 0; margin: 0; padding: 4px; border: 1px solid var(--vhd-home-border); border-radius: 5px; background: #fff; }
.vhd-home-news-image { flex: 0 0 34%; width: 34%; min-height: 112px; overflow: hidden; border-radius: 3px; background: var(--vhd-home-soft); }
.vhd-home-news-image img { width: 100%; height: 100%; min-height: 112px; object-fit: cover; }
.vhd-home-news-copy { flex: 1; min-width: 0; padding: 6px 10px 8px 12px; }
.vhd-home-news-copy time { display: block; margin: 0 0 2px; color: var(--vhd-home-muted); font-size: 12px; line-height: 1.4; }
.vhd-home-news-copy h3 { margin: 0 0 5px; font-size: 16px; font-weight: 650; line-height: 1.3; letter-spacing: -.2px; }
.vhd-home-news-copy h3 a,
.vhd-home-news-copy h3 a:visited { color: #263040; }
.vhd-home-news-copy h3 a:hover { color: var(--vhd-home-red); }
.vhd-home-news-copy p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; color: var(--vhd-home-muted); font-size: 13px; line-height: 1.4; }

.vhd-home-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 15px 22px; min-height: 62px; padding: 15px 24px; border-top: 1px solid #e3e8ed; border-radius: 0 0 4px 4px; background: #f1f5f7; color: var(--vhd-home-muted); font-size: 12px; }
.vhd-home-footer strong { color: #334052; font-size: 14px; font-weight: 500; }
.vhd-home-footer > div:first-child > span { margin-left: 13px; padding-left: 13px; border-left: 1px solid #b9c4cf; }
.vhd-home-footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; margin-left: auto; }
body.vhd-homepage-body .vhd-homepage-site .vhd-home-footer a,
body.vhd-homepage-body .vhd-homepage-site .vhd-home-footer a:visited { color: var(--vhd-home-ink); text-decoration: none; }
body.vhd-homepage-body .vhd-homepage-site .vhd-home-footer a:hover,
body.vhd-homepage-body .vhd-homepage-site .vhd-home-footer a:active { color: var(--vhd-home-red); text-decoration: underline; text-underline-offset: 2px; }
.vhd-home-data-source { flex: 0 1 auto; max-width: 280px; color: #65707e; font-size: 11px; font-weight: 400; line-height: 1.4; }
.vhd-home-data-source > span { display: block; margin-top: 2px; }

/* Contacts also live on an ordinary WordPress page, outside the homepage body. */
.vhd-home-contacts { max-width: 1160px; margin: 0 auto; color: #273341; font-size: 16px; line-height: 1.55; }
.vhd-home-contacts,
.vhd-home-contacts * { box-sizing: border-box; }
.vhd-home-contacts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 20px 0; }
.vhd-home-contact-card { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 20px; border: 1px solid #dce2e8; border-radius: 6px; background: #fff; overflow-wrap: anywhere; }
.vhd-home-contact-card h2,
.vhd-home-contact-card h3 { margin: 0 0 11px; color: #253140; font-size: 20px; font-weight: 650; line-height: 1.3; }
.vhd-home-contact-card h3 { font-size: 18px; }
.vhd-home-contact-card p { margin: 0 0 12px; font-size: 15px; line-height: 1.55; }
.vhd-home-contact-card p:last-child { margin-bottom: 0; }
.vhd-home-contact-card a,
.vhd-home-contact-card a:visited { color: #aa2432; text-decoration: underline; text-underline-offset: 2px; }
.vhd-home-contact-card a:hover,
.vhd-home-contact-card a:active { color: #861d28; }
body.vhd-homepage-body .vhd-home-contact-card a[href^="tel:"],
body.vhd-homepage-body .vhd-home-contact-card a[href^="tel:"] * {
    font-weight: 500;
    white-space: nowrap;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.vhd-home-contacts a:focus-visible { outline: 3px solid #236fa2; outline-offset: 3px; }
.vhd-home-contact-card dl { margin: 0; }
.vhd-home-contact-card dt { margin: 14px 0 3px; font-size: 13px; font-weight: 600; line-height: 1.45; color: #5e6977; }
.vhd-home-contact-card dt:first-child { margin-top: 0; }
.vhd-home-contact-card dd { margin: 0; color: #273341; font-size: 15px; font-weight: 400; line-height: 1.55; }
.vhd-home-contact-card dd b,
.vhd-home-contact-card dd strong { font-weight: inherit; }
.vhd-homepage-site .vhd-home-contact-card dd > p { margin: 0; }
.vhd-home-contact-label { color: #5e6977; font-size: 13px; }
.vhd-home-contact-note,
.vhd-home-contact-hours { color: #65707e; font-size: 14px; }
.vhd-home-contact-card .vhd-home-contact-hours { width: 100%; margin: 17px 0 15px; border: 0; border-collapse: collapse; table-layout: fixed; font-size: 13px; line-height: 1.45; }
.vhd-home-contact-hours caption { margin: 0 0 5px; padding: 0; color: #5e6977; font-size: 13px; font-weight: 600; line-height: 1.4; text-align: left; }
.vhd-home-contact-hours th,
.vhd-home-contact-hours td { padding: 5px 0; border: 0; border-bottom: 1px solid #ebedf0; background: transparent; color: #4e5a68; font-size: 13px; line-height: 1.45; text-align: left; vertical-align: top; overflow-wrap: normal; }
.vhd-home-contact-hours th { width: 44%; padding-right: 10px; font-weight: 500; }
.vhd-home-contact-hours td { width: 56%; font-weight: 400; font-variant-numeric: tabular-nums; }
/* All contacts use the same captions, values and availability rows. */
.vhd-home-contact-card dd > .vhd-home-contact-hours { margin: 0; }
.vhd-home-contact-card .vhd-home-contact-hours th,
.vhd-home-contact-card .vhd-home-contact-hours td { color: #273341; font-size: 15px; font-weight: 400; line-height: 1.55; padding-top: 3px; padding-bottom: 3px; border-bottom: 0; }
.vhd-home-contact-card .vhd-home-contact-note { margin-top: 14px; color: #65707e; font-size: 14px; line-height: 1.55; }
.vhd-home-contact-change { margin-top: 14px; }
.vhd-home-contact-change > .vhd-home-contact-label { margin-bottom: 3px; color: #5e6977; font-size: 13px; font-weight: 600; line-height: 1.45; }
.vhd-home-contact-change p { margin-bottom: 7px; }
.vhd-homepage-site .vhd-home-contact-card > .vhd-auto-source { margin-top: auto; margin-bottom: 0; padding-top: 18px; }
.vhd-home-contact-card > .vhd-home-contact-hours { margin: 14px 0 0; }
.vhd-home-contact-card .vhd-home-contact-hours caption { margin-bottom: 3px; color: #5e6977; font-size: 13px; font-weight: 600; line-height: 1.45; }

@media (max-width: 782px) {
    /* Keep WordPress' account menu in its toolbar instead of over the site menu. */
    body.vhd-homepage-body #wpadminbar #wp-admin-bar-top-secondary { position: absolute; top: 0; right: 0; }
}

@media (max-width: 1050px) {
    .vhd-home-header { gap: 10px; padding-right: 18px; padding-left: 18px; }
    .vhd-home-brand strong { font-size: 25px; }
    .vhd-home-nav a { padding-right: 9px; padding-left: 9px; font-size: 13px; }
    .vhd-home-main { padding-right: 18px; padding-left: 18px; }
    .vhd-home-time-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(190px, 1.3fr) minmax(195px, 1.3fr); gap: 10px; }
    .vhd-home-field { gap: 9px; padding-right: 11px; padding-left: 11px; }
    .vhd-home-shortcut { gap: 10px; padding: 12px 10px; }
    .vhd-home-shortcut > svg:first-child { width: 33px; height: 33px; }
    .vhd-home-shortcut-title { font-size: 14px; }
    .vhd-home-alert { grid-template-columns: minmax(130px, 190px) minmax(0, 1fr) 125px 96px; gap: 9px; }
    .vhd-home-alert-title { font-size: 13px; }
    .vhd-home-fare > summary { row-gap: 2px; }
}

@media (max-width: 940px) {
    .vhd-homepage-site { margin-top: 0; margin-bottom: 0; border-width: 0; border-radius: 0; box-shadow: none; }
    .vhd-home-header { flex-wrap: wrap; min-height: 68px; padding: 11px 16px; gap: 6px 9px; border-radius: 0; }
    /* Keep the first row stable when the menu opens. */
    .vhd-home-brand { min-height: 46px; }
    .vhd-home-brand strong { font-size: 25px; letter-spacing: -.65px; }
    .vhd-home-brand span { font-size: 12px; }
    .vhd-home-header .vhd-home-site-search { margin-left: 0; }
    .vhd-homepage-site .vhd-home-header .vhd-home-social { width: 36px; height: 42px; min-height: 0; margin-left: auto; padding: 7px; }
    .vhd-home-social-label { display: none; }
    body.vhd-home-has-js .vhd-home-site-search form { right: -51px; }
    body.vhd-home-has-js .vhd-home-menu-toggle { display: flex; order: 2; margin-left: 0; }
    body.vhd-home-has-js .vhd-home-header .vhd-home-site-search { order: 1; }
    .vhd-home-nav { flex: 0 0 100%; order: 3; width: 100%; margin: 4px 0 0; padding-top: 6px; border-top: 1px solid #e7ebee; }
    body.vhd-home-has-js .vhd-home-nav { position: absolute; top: 100%; right: 0; left: 0; z-index: 30; width: auto; max-height: 70vh; max-height: 70dvh; margin: 0; padding: 6px 16px 11px; overflow: auto; background: #fff; border: 1px solid #e7ebee; border-right: 0; border-left: 0; box-shadow: 0 5px 18px rgba(30, 45, 60, .1); }
    .vhd-home-nav > ul { flex-wrap: wrap; justify-content: flex-start; gap: 1px 6px; }
    .vhd-home-nav a { padding: 9px 10px; font-size: 14px; }
    .vhd-home-nav ul.sub-menu { position: static; min-width: 0; width: auto; margin-left: 12px; padding: 0 0 0 4px; border: 0; border-left: 1px solid var(--vhd-home-border); box-shadow: none; }
    .vhd-home-nav li.menu-item-has-children { flex: 1 1 auto; }
    .vhd-home-nav li.menu-item-has-children > ul.sub-menu { display: block; }
    .vhd-home-nav ul.sub-menu a { padding: 6px 9px; font-size: 13px; }
    .vhd-home-hero img { aspect-ratio: 4.4 / 1; object-position: 55% center; }
    .vhd-home-time-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vhd-home-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .vhd-home-shortcut { min-height: 74px; padding: 10px 14px; }
    .vhd-home-shortcut-title { font-size: 16px; }
    .vhd-home-shortcut-description { font-size: 12px; }
    .vhd-home-alert { grid-template-columns: minmax(110px, 145px) minmax(0, 1fr) 96px; }
    .vhd-home-alert-date { grid-column: 2; font-size: 12px; }
    .vhd-home-alert-detail { grid-column: 3; grid-row: 1 / span 2; }
    .vhd-home-alert .vhd-home-lines { grid-row: 1 / span 2; }
    .vhd-home-news-card { flex-direction: column; }
    .vhd-home-news-image { flex-basis: auto; width: 100%; height: 130px; }
    .vhd-home-news-image img { height: 130px; }
    .vhd-home-news-copy { padding: 9px 9px 10px; }
    .vhd-home-footer { padding: 15px 18px; }
    .vhd-home-contacts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
}

@media (max-width: 540px) {
    .vhd-home-header { min-height: 61px; padding: 9px 12px; gap: 4px; }
    .vhd-home-brand { min-height: 43px; }
    .vhd-home-brand strong { font-size: 23px; letter-spacing: -.7px; }
    .vhd-home-brand span { margin-top: 2px; font-size: 10px; }
    .vhd-home-menu-toggle { width: 36px; height: 36px; padding: 7px; }
    .vhd-home-site-search > summary { width: 33px; height: 36px; padding: 7px; }
    .vhd-home-site-search > summary svg { width: 21px; height: 21px; }
    .vhd-homepage-site .vhd-home-header .vhd-home-social { height: 36px; }
    body.vhd-home-has-js .vhd-home-site-search form { right: -40px; }
    body.vhd-home-has-js .vhd-home-nav { padding-right: 12px; padding-bottom: 9px; padding-left: 12px; }
    .vhd-home-hero img { aspect-ratio: 4.1 / 1; }
    .vhd-home-main { padding: 0 12px 19px; }
    .vhd-service-main { padding-top: 13px; }
    .vhd-service-title { margin-bottom: 14px; font-size: 22px; letter-spacing: -.3px; }
    .vhd-home-intro h1 { margin: 12px 0 10px; font-size: 22px; letter-spacing: -.3px; }
    .vhd-home-route { grid-template-columns: minmax(0, 1fr) 37px; grid-template-rows: repeat(2, minmax(51px, auto)); gap: 7px 8px; }
    .vhd-home-route > .vhd-home-field:first-child { grid-column: 1; grid-row: 1; }
    .vhd-home-route > .vhd-home-field:last-child { grid-column: 1; grid-row: 2; }
    body:not(.vhd-home-has-js) .vhd-home-route { grid-template-columns: minmax(0, 1fr); }
    body:not(.vhd-home-has-js) .vhd-home-route > .vhd-home-field:last-child { grid-column: 1; }
    .vhd-home-swap { grid-column: 2; grid-row: 1 / span 2; padding: 7px; }
    .vhd-home-swap > svg { width: 22px; height: 22px; transform: rotate(90deg); }
    .vhd-home-field { gap: 10px; min-height: 51px; padding: 7px 12px; }
    .vhd-home-field > svg { width: 22px; height: 22px; }
    .vhd-home-field-copy > span,
    .vhd-home-field .label { font-size: 11px; }
    .vhd-home-field input { font-size: 16px; }
    .vhd-home-field input[type="date"],
    .vhd-home-field input[type="time"] { font-size: 16px; }
    .vhd-home-time-row { gap: 8px; margin-top: 9px; }
    .vhd-home-time-row .vhd-home-field { min-height: 52px; }
    .vhd-home-direction { grid-column: 1 / -1; justify-content: flex-start; gap: 30px; min-height: 31px; margin: -1px 0; padding: 1px 5px; border-color: transparent; }
    .vhd-home-direction label { gap: 9px; font-size: 14px; }
    .vhd-home-direction input[type="radio"] { width: 18px; height: 18px; }
    .vhd-home-submit { grid-column: 1 / -1; min-height: 45px; font-size: 15px; }
    .vhd-home-fare { margin: 11px 0 13px; }
    .vhd-home-fare > summary { flex-wrap: wrap; gap: 4px; min-height: 44px; padding: 8px 12px; font-size: 12px; line-height: 1.45; }
    .vhd-home-fare > summary > svg { display: block; width: 16px; height: 16px; }
    .vhd-home-fare-price { flex: 1 1 0%; min-width: 0; }
    .vhd-home-fare-full { display: none; }
    .vhd-home-fare-compact { display: inline; white-space: normal; }
    .vhd-home-fare-toggle { flex: 0 0 auto; gap: 4px; margin-left: auto; padding-left: 0; border-left: 0; font-size: 11px; text-decoration: underline; text-underline-offset: 2px; }
    .vhd-home-fare-body { padding: 0 12px 11px; font-size: 12px; }
    .vhd-home-shortcuts { gap: 8px; margin-bottom: 13px; }
    .vhd-home-shortcut { gap: 9px; min-height: 56px; padding: 9px; }
    .vhd-home-shortcut > svg:first-child { width: 29px; height: 29px; }
    .vhd-home-shortcut-title { font-size: 13px; font-weight: 600; line-height: 1.25; }
    .vhd-home-shortcut-description { display: none; }
    .vhd-home-shortcut > svg:last-child:not(:first-child) { width: 12px; height: 12px; }
    .vhd-home-section-head { gap: 8px; margin-top: 17px; margin-bottom: 8px; }
    .vhd-home-section-head h2 { font-size: 23px; letter-spacing: -.65px; }
    .vhd-home-all { gap: 4px; font-size: 12px; }
    .vhd-home-all svg { width: 14px; height: 14px; }
    .vhd-home-alerts { padding: 10px 11px 2px; }
    .vhd-home-alerts .vhd-home-section-head { gap: 6px; margin-bottom: 7px; }
    .vhd-home-alerts .vhd-home-section-head h2 { gap: 6px; font-size: 16px; font-weight: 650; letter-spacing: -.5px; }
    .vhd-home-alerts .vhd-home-section-head h2 svg { width: 23px; height: 23px; }
    .vhd-home-alerts .vhd-home-all { gap: 4px; font-size: 11px; }
    .vhd-home-alert { grid-template-columns: minmax(0, 1fr) auto; gap: 5px 9px; min-height: 0; padding: 9px 0; }
    .vhd-home-alert .vhd-home-lines { grid-column: 1 / -1; grid-row: auto; gap: 5px; }
    .vhd-home-line { min-width: 34px; min-height: 23px; padding: 3px 6px; font-size: 11px; }
    .vhd-home-alert-title { grid-column: 1 / -1; grid-row: auto; font-size: 13px; line-height: 1.4; }
    .vhd-home-alert-date { grid-column: 1; grid-row: auto; gap: 5px; font-size: 12px; }
    .vhd-home-alert-date svg { width: 14px; height: 14px; }
    .vhd-home-alert-detail { grid-column: 2; grid-row: auto; gap: 4px; font-size: 12px; }
    .vhd-home-camera-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .vhd-home-camera-play { gap: 7px; }
    .vhd-home-camera-play > svg,
    .vhd-home-camera-play .vhd-home-camera-play-icon { width: 49px; height: 49px; padding: 14px; }
    .vhd-home-camera-caption { margin-top: 4px; font-size: 13px; }
    .vhd-home-camera-poster-note { bottom: 7px; left: 7px; font-size: 10px; }
    .vhd-home-news-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .vhd-home-news-card { flex-direction: row; }
    .vhd-home-news-image { flex: 0 0 32%; width: 32%; height: auto; min-height: 104px; }
    .vhd-home-news-image img { height: 100%; min-height: 104px; }
    .vhd-home-news-copy { padding: 5px 7px 7px 10px; }
    .vhd-home-news-copy time { font-size: 11px; }
    .vhd-home-news-copy h3 { font-size: 14px; }
    .vhd-home-news-copy p { -webkit-line-clamp: 2; font-size: 12px; }
    .vhd-home-footer { gap: 11px; min-height: 0; padding: 14px 12px; border-radius: 0; font-size: 11px; }
    .vhd-home-footer > div:first-child { flex-basis: 100%; }
    .vhd-home-footer strong { font-size: 13px; }
    .vhd-home-footer > div:first-child > span { margin-left: 8px; padding-left: 8px; }
    .vhd-home-footer-links { gap: 5px 16px; margin-left: 0; }
    .vhd-home-contacts-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; margin: 16px 0; }
    .vhd-home-contact-card { padding: 17px; }
    .vhd-home-contact-card h2 { font-size: 19px; }
    .vhd-stop-listbox { max-height: 255px; }
    .vhd-stop-option { min-height: 44px; padding: 10px; font-size: 14px; }
}

@media (max-width: 360px) {
    .vhd-home-fare > summary { gap: 2px; padding-right: 8px; padding-left: 8px; }
    .vhd-home-fare > summary > svg { width: 14px; height: 14px; }
    .vhd-home-main { padding-right: 10px; padding-left: 10px; }
    .vhd-home-brand strong { font-size: 21px; }
    .vhd-home-header { padding-right: 10px; padding-left: 10px; gap: 3px; }
    .vhd-homepage-site .vhd-home-header .vhd-home-social { width: 32px; padding: 5px; }
    body.vhd-home-has-js .vhd-home-site-search form { right: -39px; }
    .vhd-home-shortcut { gap: 7px; padding: 8px; }
    .vhd-home-shortcut > svg:first-child { width: 25px; height: 25px; }
    .vhd-home-shortcut-title { font-size: 12px; }
    .vhd-home-alerts { padding-right: 9px; padding-left: 9px; }
    .vhd-home-alerts .vhd-home-section-head { flex-wrap: wrap; row-gap: 4px; }
    .vhd-home-alerts .vhd-home-all { margin-left: auto; }
}

@media (max-width: 330px) {
    .vhd-home-fare-toggle::after { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
    .vhd-homepage-site a,
    .vhd-homepage-site button { transition: color .12s ease, background-color .12s ease, border-color .12s ease; }
}

@media print {
    body.vhd-homepage-body { background: #fff; }
    .vhd-homepage-site { width: 100%; margin: 0; border: 0; box-shadow: none; }
    .vhd-home-header,
    .vhd-home-search,
    .vhd-home-shortcuts,
    .vhd-home-camera-grid,
    .vhd-home-footer,
    .vhd-home-all,
    .vhd-home-alert-detail { display: none !important; }
    .vhd-home-main { padding: 0; }
    .vhd-home-alerts { break-inside: avoid; }
    .vhd-home-news-card { break-inside: avoid; }
}
/* Compact information pages, with remote tables contained on small screens. */
.vhd-homepage-site .vhd-info-local{padding:18px 20px;margin:0 0 20px;background:#f4f7f8;border:1px solid #dce2e5;border-radius:8px}
.vhd-homepage-site .vhd-info-local h2{font-size:20px;font-weight:600;margin:0 0 10px}
.vhd-homepage-site .vhd-info-price{color:var(--vhd-home-red,#aa2432);font-size:28px;font-weight:600;margin:0 0 10px}
.vhd-homepage-site .vhd-info-price span{font-size:16px;font-weight:400;color:#58616a}
.vhd-homepage-site .vhd-info-local p:last-child{margin-bottom:0}
.vhd-homepage-site .vhd-info-note{font-size:14px;color:#616970}
.vhd-homepage-site .vhd-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 18px}
.vhd-homepage-site .vhd-info-online-maps{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:700px){.vhd-homepage-site .vhd-info-online-maps{grid-template-columns:1fr}}
.vhd-homepage-site a.vhd-info-card{display:flex;flex-direction:column;gap:7px;min-width:0;padding:17px 18px;border:1px solid #dce0e3;border-radius:7px;color:inherit;text-decoration:none!important}
.vhd-homepage-site .vhd-info-card strong{font-size:18px;font-weight:600;color:var(--vhd-home-red,#aa2432)}
.vhd-homepage-site .vhd-info-card span{font-size:15px;line-height:1.45}
.vhd-homepage-site .vhd-info-card small{font-size:12px;color:#68717a}
.vhd-homepage-site a.vhd-info-card:hover{background:#fdfafb;border-color:#d3bcc0}
.vhd-homepage-site a.vhd-info-card:focus-visible{outline:3px solid #2a77b3;outline-offset:3px}
.vhd-homepage-site .vhd-info-links{display:flex;flex-wrap:wrap;gap:9px 24px;margin:20px 0;font-size:15px}

/* Native, editable travel guide. Keep its compact rhythm separate from articles. */
.vhd-homepage-site .vhd-guide-languages { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; margin: 0 0 20px; font-size: 14px; line-height: 1.4; }
.vhd-homepage-site .vhd-guide-languages a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 40px; padding: 5px 8px; border-radius: 4px; color: var(--vhd-home-red); text-decoration: none; }
.vhd-homepage-site .vhd-guide-languages a[aria-current="page"] { background: #f8eeef; font-weight: 600; }
.vhd-homepage-site .vhd-guide-languages a:hover { background: #f8eeef; color: var(--vhd-home-red-dark); text-decoration: none; }
.vhd-homepage-site .vhd-guide-languages a:focus-visible { outline: 3px solid #2a77b3; outline-offset: 2px; }
.vhd-homepage-site .vhd-guide-languages > span { color: var(--vhd-home-muted); }
.vhd-homepage-site .vhd-guide-languages .vhd-guide-flag { display: block; flex: none; width: 27px; height: 18px; overflow: hidden; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.16); }
.vhd-homepage-site .vhd-travel-guide .vhd-guide-link-note { margin: 9px 0 0; color: var(--vhd-home-muted); font-size: 13px; line-height: 1.5; }
.vhd-homepage-site .vhd-travel-guide { max-width: 100%; min-width: 0; font-size: 16px; line-height: 1.6; }
.vhd-homepage-site .vhd-travel-guide > p { max-width: 850px; margin: 0 0 18px; }
.vhd-homepage-site .vhd-travel-guide h2 { margin: 0 0 10px; font-size: 23px; font-weight: 600; line-height: 1.3; }
.vhd-homepage-site .vhd-travel-guide h3 { margin: 0 0 8px; font-size: 19px; font-weight: 600; line-height: 1.35; }
.vhd-homepage-site .vhd-travel-guide p { margin: 0 0 12px; }
.vhd-homepage-site .vhd-travel-guide p:last-child { margin-bottom: 0; }
.vhd-homepage-site .vhd-travel-guide ul, .vhd-homepage-site .vhd-travel-guide ol { margin: 0 0 12px; padding-left: 22px; }
.vhd-homepage-site .vhd-travel-guide li { margin-bottom: 5px; }
.vhd-homepage-site .vhd-travel-guide .vhd-guide-section { margin: 0 0 24px; scroll-margin-top: 18px; }
.vhd-homepage-site .vhd-travel-guide .vhd-guide-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.vhd-homepage-site .vhd-travel-guide .vhd-guide-cards > .wp-block-group__inner-container { display: contents; }
.vhd-homepage-site .vhd-travel-guide .vhd-guide-card { min-width: 0; margin: 0; padding: 17px 18px; border: 1px solid var(--vhd-home-border); border-radius: 6px; background: #fff; }
.vhd-homepage-site .vhd-travel-guide .vhd-guide-card > :last-child { margin-bottom: 0; }
.vhd-homepage-site .vhd-travel-guide .vhd-guide-actions { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 13px 0 0; }
.vhd-homepage-site .vhd-travel-guide a.vhd-guide-action { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; min-height: 36px; padding: 5px 9px; border: 1px solid #d3bcc0; border-radius: 4px; color: var(--vhd-home-red); background: #fff; font-size: 14px; line-height: 1.45; text-decoration: none; }
.vhd-homepage-site .vhd-travel-guide a.vhd-guide-action:hover { border-color: var(--vhd-home-red); color: var(--vhd-home-red-dark); background: #fdfafb; }
.vhd-homepage-site .vhd-travel-guide a.vhd-guide-action:focus-visible { outline: 3px solid #2a77b3; outline-offset: 3px; }
.vhd-homepage-site .vhd-travel-guide .vhd-guide-services { margin-bottom: 0; }
.vhd-homepage-site .vhd-travel-guide .vhd-info-local { margin: 0 0 24px; padding: 17px 18px; border-radius: 6px; }
.vhd-homepage-site .vhd-travel-guide .vhd-info-local h2 { font-size: 21px; }
.vhd-homepage-site .vhd-travel-guide .vhd-info-price { margin-bottom: 9px; font-size: 26px; font-weight: 600; }
.vhd-homepage-site .vhd-travel-guide .vhd-info-price span { font-size: 15px; }
.vhd-homepage-site .vhd-travel-guide .vhd-info-note { font-size: 14px; }
.vhd-homepage-site .vhd-travel-guide .vhd-guide-sources { padding-top: 13px; border-top: 1px solid var(--vhd-home-border); color: var(--vhd-home-muted); font-size: 13px; }
.vhd-homepage-site .vhd-travel-guide .vhd-guide-sources summary { width: fit-content; padding: 3px 0; color: var(--vhd-home-ink); cursor: pointer; }
.vhd-homepage-site .vhd-travel-guide .vhd-guide-sources[open] summary { margin-bottom: 9px; }
.vhd-homepage-site .vhd-travel-guide .vhd-guide-sources li { margin-bottom: 4px; }
@media (max-width: 600px) {
    .vhd-home-guide { margin: -3px 0 13px; font-size: 13px; }
    .vhd-homepage-site .vhd-travel-guide { font-size: 15px; }
    .vhd-homepage-site .vhd-travel-guide h2 { font-size: 21px; }
    .vhd-homepage-site .vhd-travel-guide h3 { font-size: 18px; }
    .vhd-homepage-site .vhd-travel-guide .vhd-guide-section { margin-bottom: 20px; }
    .vhd-homepage-site .vhd-travel-guide .vhd-guide-cards { grid-template-columns: 1fr; gap: 11px; }
    .vhd-homepage-site .vhd-travel-guide .vhd-guide-card { padding: 14px; }
    .vhd-homepage-site .vhd-travel-guide .vhd-info-local { margin-bottom: 20px; padding: 14px; }
    .vhd-homepage-site .vhd-travel-guide .vhd-info-local h2 { font-size: 19px; }
    .vhd-homepage-site .vhd-travel-guide .vhd-info-price { font-size: 24px; }
    .vhd-homepage-site .vhd-travel-guide .vhd-guide-actions { gap: 7px 12px; }
    .vhd-homepage-site .vhd-travel-guide a.vhd-guide-action { min-height: 40px; }
}
.vhd-homepage-site .vhd-auto-source{font-size:12px;line-height:1.6;color:#6b737a;margin:14px 0}
.vhd-homepage-site .vhd-auto-source a{color:inherit}
.vhd-auto-source-compact { display: flex; flex-wrap: wrap; align-items: center; gap: 0 5px; }
.vhd-home-check { position: relative; display: inline-block; flex: 0 0 auto; margin: -4px 0; font-size: 13px; line-height: 1.5; }
.vhd-home-check > summary { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #75808c; cursor: pointer; list-style: none; }
.vhd-home-check > summary::-webkit-details-marker { display: none; }
.vhd-home-check > summary::marker { content: ''; }
.vhd-home-check > summary:hover, .vhd-home-check[open] > summary { color: #465361; background: #f2f5f7; }
.vhd-home-check > summary:focus-visible { outline: 2px solid #236fa2; outline-offset: 2px; }
.vhd-home-check-icon { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; border: 1.4px solid currentColor; border-radius: 50%; font-family: Georgia, serif; font-size: 12px; font-style: normal; font-weight: 700; line-height: 1; }
.vhd-home-check-panel { position: absolute; z-index: 50; left: 0; bottom: 100%; display: block; width: 250px; max-width: calc(100vw - 48px); padding: 10px 12px; border: 1px solid #dce2e8; border-radius: 5px; background: #fff; box-shadow: 0 3px 14px rgba(30,45,60,.12); color: #465361; font-size: 13px; font-weight: 400; line-height: 1.5; text-align: left; white-space: normal; overflow-wrap: normal; }
@media print { .vhd-home-check > summary { display: none; } .vhd-home-check-panel { position: static; width: auto; max-width: none; padding: 0; border: 0; box-shadow: none; } }
.vhd-homepage-site .vhd-auto-content{min-width:0}
.vhd-homepage-site .vhd-auto-content h2{font-size:23px;font-weight:600;margin:25px 0 12px}
.vhd-homepage-site .vhd-auto-content h3{font-size:18px;font-weight:600;margin:18px 0 10px}
.vhd-homepage-site .vhd-auto-content table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;font-size:14px;margin:12px 0 18px;overscroll-behavior-x:contain}
.vhd-homepage-site .vhd-auto-content th,.vhd-homepage-site .vhd-auto-content td{padding:8px 10px;min-width:65px;border:1px solid #dde1e3;vertical-align:top;font-weight:400}
.vhd-homepage-site .vhd-auto-content th{font-weight:600;background:#f3f5f6}
.vhd-homepage-site .vhd-auto-content details{margin:0 0 8px;border:1px solid #dde1e3;border-radius:6px;padding:0 14px}
.vhd-homepage-site .vhd-auto-content summary{cursor:pointer;font-weight:550;padding:12px 0}
.vhd-homepage-site .vhd-auto-contact{font-size:15px;line-height:1.6}
.vhd-homepage-site .vhd-auto-contact h3{font-size:16px;font-weight:600}
.vhd-homepage-site .vhd-auto-contact p{margin:0 0 10px}
.vhd-homepage-site .vhd-auto-contact p:empty{display:none}

@media(max-width:540px){.vhd-homepage-site .vhd-info-grid{grid-template-columns:1fr;gap:9px}.vhd-homepage-site a.vhd-info-card{padding:14px}.vhd-homepage-site .vhd-info-local{padding:15px;margin-bottom:15px}.vhd-homepage-site .vhd-info-local h2{font-size:18px}.vhd-homepage-site .vhd-info-price{font-size:25px}.vhd-homepage-site .vhd-info-price span{font-size:14px}.vhd-homepage-site .vhd-auto-content h2{font-size:20px}.vhd-homepage-site .vhd-info-links{display:grid;gap:10px}}

/* Keep the eight-item navigation inside the header before its mobile layout. */
@media (min-width: 941px) and (max-width: 1150px) {
  .vhd-homepage-site .vhd-home-header .vhd-home-social { width: 36px; min-width: 36px; padding: 7px; }
  .vhd-home-header .vhd-home-social-label { display: none; }
}
@media (min-width: 941px) and (max-width: 1050px) {
  .vhd-home-nav a { padding-right: 7px; padding-left: 7px; }
}

/* A single compact route filter lives alongside the current section heading. */
[data-vhd-lines-view].vhd-my-lines-active [hidden] { display: none !important; }
[data-vhd-lines-view].vhd-my-lines-active .vhd-pid-filter,
[data-vhd-lines-view].vhd-my-lines-active .vhd-pid-filter-status { display: none !important; }
[data-vhd-lines-view] .vhd-my-lines,
[data-vhd-lines-view] .vhd-my-lines * { box-sizing: border-box; }
[data-vhd-lines-view] .vhd-my-lines-heading { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 17px; }
[data-vhd-lines-view] .vhd-my-lines-heading > h1 { flex: 1 1 auto; min-width: 0; margin: 0; }
[data-vhd-lines-view] .vhd-my-lines { position: static; flex: 0 0 auto; min-width: 0; margin: 0; color: var(--vhd-home-ink, #202733); font-family: inherit; font-size: 14px; line-height: 1.4; }
[data-vhd-lines-view] .vhd-my-lines-bar { position: static; min-width: 0; margin: 0; }
[data-vhd-lines-view] .vhd-my-lines-editor { position: static; min-width: 0; margin: 0; padding: 0; border: 0; background: transparent; }
[data-vhd-lines-view] .vhd-my-lines-editor > .vhd-my-lines-summary { position: relative; display: flex; align-items: center; justify-content: center; gap: 7px; width: fit-content; max-width: 100%; min-height: 44px; margin: 0; padding: 8px 10px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: var(--vhd-home-muted, #65707e); font: inherit; font-size: 13px; font-weight: 500; line-height: 1.35; list-style: none; text-decoration: none; white-space: nowrap; cursor: pointer; }
[data-vhd-lines-view] .vhd-my-lines-editor > summary::-webkit-details-marker { display: none; }
[data-vhd-lines-view] .vhd-my-lines-editor > summary::marker { content: ''; }
[data-vhd-lines-view] .vhd-my-lines-summary:hover,
[data-vhd-lines-view] .vhd-my-lines-editor[open] > .vhd-my-lines-summary { border-color: #d8c3c7; background: #fff; color: var(--vhd-home-red-dark, #861d28); }
[data-vhd-lines-view] .vhd-my-lines-summary-icon { display: block; flex: 0 0 19px; width: 19px; height: 19px; }
[data-vhd-lines-view] .vhd-my-lines-summary-chevron { display: block; flex: 0 0 12px; width: 12px; height: 12px; }
[data-vhd-lines-view] .vhd-my-lines-editor[open] .vhd-my-lines-summary-chevron { transform: rotate(180deg); }
[data-vhd-lines-view] .vhd-my-lines-summary-count { display: none; align-items: center; justify-content: center; min-width: 17px; height: 17px; padding: 0 3px; border-radius: 9px; background: var(--vhd-home-red, #aa2432); color: #fff; font-size: 10px; font-weight: 600; line-height: 1; }
[data-vhd-lines-view] .vhd-my-lines-panel { position: absolute; top: calc(100% + 6px); right: 0; z-index: 80; width: 360px; max-width: calc(100vw - 32px); max-height: 65vh; min-width: 0; overflow: auto; overscroll-behavior: contain; margin: 0; padding: 14px; border: 1px solid #d7dde3; border-radius: 6px; background: #fff; box-shadow: 0 6px 22px rgb(32 39 51 / 14%); }
[data-vhd-lines-view] .vhd-my-lines-editor.vhd-my-lines-open-up > .vhd-my-lines-panel { top: auto; bottom: calc(100% + 6px); }
[data-vhd-lines-view] .vhd-my-lines-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; min-width: 0; margin: 0 0 12px; }
[data-vhd-lines-view] .vhd-my-lines-mode { display: inline-flex; align-items: center; justify-content: center; min-width: 0; min-height: 44px; max-width: 100%; margin: 0; padding: 8px 10px; border: 1px solid var(--vhd-home-border, #dce2e8); border-radius: 4px; background: #fff; color: var(--vhd-home-ink, #202733); font: inherit; font-weight: 500; line-height: 1.35; text-align: center; text-transform: none; letter-spacing: normal; white-space: normal; cursor: pointer; }
[data-vhd-lines-view] .vhd-my-lines-mode[aria-pressed="true"] { border-color: var(--vhd-home-red, #aa2432); background: #fbf0f1; color: var(--vhd-home-red-dark, #861d28); }
[data-vhd-lines-view] .vhd-my-lines-mode:hover { border-color: var(--vhd-home-red, #aa2432); background: #f7f0f1; }
[data-vhd-lines-view] .vhd-my-lines-hint { margin: 0 0 8px; color: var(--vhd-home-muted, #65707e); font-size: 13px; font-weight: 400; }
[data-vhd-lines-view] .vhd-my-lines-select-all,
[data-vhd-lines-view] .vhd-my-lines-group-control { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; max-width: 100%; margin: 0; padding: 7px 2px; color: var(--vhd-home-ink, #202733); font-size: 14px; font-weight: 500; line-height: 1.35; cursor: pointer; }
[data-vhd-lines-view] .vhd-my-lines-group { min-width: 0; margin-top: 4px; }
/* Keep five equal bus/train tracks at ordinary text size, then allow wider text to use fewer tracks. */
[data-vhd-lines-view] .vhd-my-lines-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, max(3.5em, calc((100% - 24px) / 5))), 1fr)); gap: 6px; min-width: 0; }
[data-vhd-lines-view] .vhd-my-lines-chip { display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; min-height: 44px; margin: 0; padding: 7px 3px; border: 1px solid #d3d9df; border-radius: 4px; background: #fff; color: var(--vhd-home-ink, #202733); font-size: 14px; font-weight: 400; line-height: 1.2; cursor: pointer; }
[data-vhd-lines-view] .vhd-my-lines-chip:has(input:checked) { border-color: #b25560; background: #fbf0f1; color: var(--vhd-home-red-dark, #861d28); }
[data-vhd-lines-view] .vhd-my-lines-chip > span { min-width: 0; font: inherit; font-weight: 400; white-space: nowrap; }
[data-vhd-lines-view] .vhd-my-lines input[type="checkbox"] { appearance: auto; -webkit-appearance: checkbox; flex: 0 0 15px; width: 15px; min-width: 15px; height: 15px; min-height: 15px; margin: 0; padding: 0; accent-color: var(--vhd-home-red, #aa2432); cursor: pointer; }
[data-vhd-lines-view] .vhd-my-lines :is(button, summary, input):focus-visible { outline: 3px solid #236fa2; outline-offset: 3px; }
[data-vhd-lines-view] .vhd-my-lines-chip:focus-within { outline: 3px solid #236fa2; outline-offset: 2px; }
[data-vhd-lines-view] .vhd-my-lines-status { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); border: 0; white-space: nowrap; }
[data-vhd-lines-view] .vhd-my-lines-notices { margin: 0 0 10px; }
[data-vhd-lines-view] .vhd-my-lines-storage-notice,
[data-vhd-lines-view] .vhd-my-lines-direct-notice { margin: 0 0 7px; padding: 8px 10px; border-left: 3px solid #b4882c; background: #fff8e7; color: #67501f; font-size: 13px; font-weight: 400; }
[data-vhd-lines-view] [data-vhd-lines-empty] { margin: 10px 0; padding: 12px 14px; border: 1px solid var(--vhd-home-border, #dce2e8); border-radius: 4px; color: var(--vhd-home-muted, #65707e); background: #f8f9fa; font-size: 14px; line-height: 1.5; }
[data-vhd-lines-view="home"].vhd-my-lines-active .vhd-home-section-head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; column-gap: 12px; }
[data-vhd-lines-view="home"] .vhd-home-section-head h2 > svg { flex: 0 0 auto; }
@media (max-width: 599px) {
  [data-vhd-lines-view] .vhd-my-lines-heading { gap: 12px; margin-bottom: 14px; }
  [data-vhd-lines-view] .vhd-my-lines-editor > .vhd-my-lines-summary { width: 44px; min-width: 44px; height: 44px; padding: 11px; border-color: #d8c3c7; background: rgb(255 255 255 / 65%); }
  [data-vhd-lines-view] .vhd-my-lines-summary-icon { flex-basis: 20px; width: 20px; height: 20px; }
  [data-vhd-lines-view] .vhd-my-lines-summary-label { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); border: 0; white-space: nowrap; }
  [data-vhd-lines-view] .vhd-my-lines-summary-chevron { display: none; }
  [data-vhd-lines-view] .vhd-my-lines-summary-count:not([hidden]) { position: absolute; top: -4px; right: -4px; display: inline-flex; }
  [data-vhd-lines-view] .vhd-my-lines-panel { padding: 12px; }
  [data-vhd-lines-view] .vhd-my-lines-chips { gap: 5px; }
  [data-vhd-lines-view] .vhd-my-lines-chip { gap: 4px; padding: 7px 2px; font-size: 13px; }
  [data-vhd-lines-view] .vhd-my-lines input[type="checkbox"] { flex-basis: 14px; width: 14px; min-width: 14px; height: 14px; min-height: 14px; }
  [data-vhd-lines-view="home"].vhd-my-lines-active .vhd-home-section-head { column-gap: 7px; }
  [data-vhd-lines-view="home"].vhd-my-lines-active .vhd-home-section-head > .vhd-home-all { max-width: 85px; margin-left: 0; white-space: normal; }
  [data-vhd-lines-view="home"] .vhd-home-all svg { flex: 0 0 auto; }
}
@media (max-width: 359px) {
  [data-vhd-lines-view] .vhd-my-lines-panel { padding: 10px; }
  [data-vhd-lines-view] .vhd-my-lines-chips { gap: 4px; }
  [data-vhd-lines-view] .vhd-my-lines-chip { gap: 3px; }
  [data-vhd-lines-view="home"].vhd-my-lines-active .vhd-home-section-head { column-gap: 6px; }
  [data-vhd-lines-view="home"].vhd-my-lines-active .vhd-home-section-head > .vhd-home-all { max-width: 77px; }
}
/* Small reverse link from a timetable route to its city stop map. */
.vhd-jr-route p.vhd-jr-map-link { margin: 8px 0 0; padding-top: 7px; border-top: 1px solid #e7ebee; font-size: 12px; line-height: 1.4; }
.vhd-jr-route .vhd-jr-map-link a, .vhd-jr-route .vhd-jr-map-link a:visited { color: #6b747c; font-weight: 400; text-decoration: none; }
.vhd-jr-route .vhd-jr-map-link a:hover { color: #a72834; text-decoration: underline; text-underline-offset: 2px; }
.vhd-jr-route .vhd-jr-map-link a:focus-visible { outline: 2px solid #236fa2; outline-offset: 3px; }

/* A stop's temporary alert filter leaves saved favourite lines unchanged. */
[data-vhd-lines-view="alerts"]#vhd-alert-lines { scroll-margin-top: 48px; }
[data-vhd-lines-view="alerts"] .vhd-alert-lines-context { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 16px; margin: 0 0 16px; padding: 10px 12px; border: 1px solid #dce2e8; border-radius: 5px; background: #f7f8fa; color: var(--vhd-home-ink, #202733); font-size: 13px; line-height: 1.5; }
[data-vhd-lines-view="alerts"] .vhd-alert-lines-label { flex: 1 1 230px; min-width: 0; font-weight: 500; overflow-wrap: anywhere; }
[data-vhd-lines-view="alerts"] .vhd-alert-lines-count { color: var(--vhd-home-muted, #65707e); white-space: nowrap; }
[data-vhd-lines-view="alerts"] .vhd-alert-lines-clear, [data-vhd-lines-view="alerts"] .vhd-alert-lines-clear:visited { color: var(--vhd-home-red-dark, #861d28); font-weight: 400; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
[data-vhd-lines-view="alerts"] .vhd-alert-lines-clear:hover { color: var(--vhd-home-red, #aa2432); }
[data-vhd-lines-view="alerts"] .vhd-alert-lines-clear:focus-visible { outline: 2px solid #236fa2; outline-offset: 3px; }
