/* VHD Kutná Hora: the homepage has its own, theme-independent visual scope. */
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; }
.vhd-home-nav a:hover { color: var(--vhd-home-red); }
/* Navigation uses a background state consistently, including pages with other plugin CSS. */
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; }
body.vhd-homepage-body .vhd-homepage-site .vhd-home-nav a:hover { background: #f9eef0; border-radius: 3px; }
.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-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);
}
.vhd-home-site-search form label { flex: 1; min-width: 0; }
.vhd-home-site-search input[type="search"] { width: 100%; min-width: 0; height: 40px; padding: 7px 9px; border: 1px solid var(--vhd-home-border); border-radius: 3px; background: #fff; color: var(--vhd-home-ink); }
.vhd-home-site-search button { padding: 7px 12px; border: 1px solid var(--vhd-home-red); border-radius: 3px; background: var(--vhd-home-red); color: #fff; }
.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-service-text a,
.vhd-service-text a:visited { text-decoration: underline; text-underline-offset: 2px; }
.vhd-service-text .vhd-home-national-search { margin-top: 18px; font-size: 14px; }
.vhd-home-nav a[aria-current="page"] { color: var(--vhd-home-red-dark); background: #f9eef0; border-radius: 3px; font-weight: 600; }
.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; }
.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: 23px;
    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; }
/* 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: 25px; padding: 0; background: transparent; color: var(--vhd-home-ink); font-size: 15px; line-height: 25px; }
.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-empty { margin: 0; padding: 10px 11px; color: var(--vhd-home-muted); font-size: 13px; line-height: 1.45; }
.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; }

/* 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; }
.vhd-home-footer-links a,
.vhd-home-footer-links a:visited { color: var(--vhd-home-muted); }
.vhd-home-footer-links a:hover { color: var(--vhd-home-red); }
.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; }
.vhd-home-data-source a,
.vhd-home-data-source a:visited { color: #65707e; }
.vhd-home-data-source a:hover { color: #aa2432; }

/* 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 { 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; }
.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: 11px 0 2px; font-size: 13px; font-weight: 600; color: #5e6977; }
.vhd-home-contact-card dd { margin: 0; font-size: 15px; }
.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; }

@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; }
    .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: auto; }
    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; }
    .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 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-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-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: 0 0 auto; }
    .vhd-home-fare-full { display: none; }
    .vhd-home-fare-compact { display: inline; white-space: nowrap; }
    .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; }
    .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 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}
.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-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}}
