/* Stage-only palette preparation. Loaded by the existing routes component condition. */
:root[data-tm24-theme="dark"] {
    --tm24-route-heading: var(--tm24-color-heading, #edf3fa);
    --tm24-route-supporting: var(--tm24-color-supporting-text, #b9c6d5);
    --tm24-route-muted: var(--tm24-color-muted, #aab8c9);
    --tm24-route-answer: var(--tm24-color-supporting-text, #b9c6d5);
    --tm24-route-text: var(--tm24-color-text, #edf3fa);
    --tm24-route-border: var(--tm24-color-border, #35465d);
    --tm24-route-fact-border: var(--tm24-color-border, #35465d);
    --tm24-route-label-border: var(--tm24-color-border, #35465d);
    --tm24-route-faq-border: var(--tm24-color-border, #35465d);
    --tm24-route-hover-border: var(--tm24-color-accent, #84bfff);
    --tm24-route-open-border: var(--tm24-color-accent, #84bfff);
    --tm24-route-answer-border: var(--tm24-color-border, #35465d);
    --tm24-route-table-border: var(--tm24-color-border, #35465d);
    --tm24-route-cell-border: var(--tm24-color-border, #35465d);
    --tm24-route-surface: var(--tm24-color-surface, #172331);
    --tm24-route-gradient: var(--tm24-color-surface-soft, #172331);
    --tm24-route-tint: var(--tm24-color-surface-tint, #1e2d3f);
    --tm24-route-label: var(--tm24-color-surface-tint, #1e2d3f);
    --tm24-route-row-hover: var(--tm24-color-surface-tint, #1e2d3f);
    --tm24-route-recommended: var(--tm24-color-surface-tint, #1e2d3f);
    --tm24-route-detail: var(--tm24-color-surface-soft, #172331);
    --tm24-route-label-text: var(--tm24-color-accent, #84bfff);
    --tm24-route-accent: var(--tm24-color-accent, #84bfff);
    --tm24-route-link-hover: var(--tm24-color-accent, #84bfff);
    --tm24-route-focus: var(--tm24-color-accent, #84bfff);
    --tm24-route-body: var(--tm24-color-text, #edf3fa);
}
/* Existing light layout and native color fallbacks follow. */
/* Shared route prices, travel facts, destination content, FAQ and destination links. */

.tm24-route-price,
.tm24-route-travel {
    max-width: 1120px;
    padding: 32px 34px;
    box-sizing: border-box;
    border: 1px solid var(--tm24-route-border, #dbe8f2);
    border-radius: 20px;
}

.tm24-route-price {
    margin: 42px auto 24px;
    background: radial-gradient(circle at top right,rgba(67,145,205,0.10),transparent 34%),linear-gradient(135deg,var(--tm24-route-gradient, #f8fbfe) 0%,var(--tm24-route-surface, #ffffff) 58%,var(--tm24-route-tint, #f3f8fd) 100%);
    box-shadow: 0 12px 34px rgba(30,76,112,0.07);
}

.tm24-route-price>h2,
.tm24-route-travel>h2 {
    margin: 0 0 14px;
    color: var(--tm24-route-heading, #172a3d);
    font-size: 28px;
    line-height: 1.25;
    font-weight: 600;
    text-align: center;
}

.tm24-route-price>p,
.tm24-route-travel>p {
    max-width: 820px;
    margin: 0 auto 22px;
    color: var(--tm24-route-supporting, #536779);
    font-size: 16px;
    line-height: 1.65;
    text-align: center;
}

.tm24-route-price__facts,
.tm24-route-travel__facts,
.tm24-price-facts,
.tm24-route-facts {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px;
}

.tm24-route-price__facts>div,
.tm24-route-travel__facts>div {
    padding: 16px 10px;
    box-sizing: border-box;
    border: 1px solid var(--tm24-route-fact-border, #dce8f1);
    border-radius: 12px;
    text-align: center;
}

.tm24-route-price__facts>div {
    background: var(--tm24-route-surface, #ffffff);
}

.tm24-route-travel__facts>div {
    background: var(--tm24-route-tint, #f3f8fd);
}

.tm24-route-price__facts strong,
.tm24-route-travel__facts strong,
.tm24-price-facts strong,
.tm24-route-fact strong {
    display: block;
    margin: 0 0 5px;
    color: var(--tm24-route-heading, #172a3d);
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
}

.tm24-route-price__facts span,
.tm24-route-travel__facts span,
.tm24-price-facts span,
.tm24-route-fact span {
    display: block;
    color: var(--tm24-route-muted, #647585);
    font-size: 13px;
    line-height: 1.4;
}

.tm24-route-travel {
    margin: 24px auto;
    background: var(--tm24-route-surface, #ffffff);
    box-shadow: 0 10px 30px rgba(30,76,112,0.06);
}

.tm24-route-destination {
    width: 100%;
    max-width: 860px;
    margin: 30px auto 18px;
    padding: 0;
    box-sizing: border-box;
}

.tm24-route-destination>h2 {
    max-width: 820px;
    margin: 0 auto 20px;
    color: var(--tm24-route-heading, #172a3d);
    font-size: 28px;
    line-height: 1.22;
    font-weight: 600;
    text-align: center;
}

.tm24-route-destination>p {
    margin: 0 0 16px;
    color: var(--tm24-route-body, var(--tm24-neutral-text, #424242));
    font-size: 16px;
    line-height: 1.72;
    text-align: left;
}

.tm24-route-destination>p:last-child,
.tm24-ski-col ul li:last-child {
    margin-bottom: 0;
}

.tm24-route-destination a,
.tm24-route-faq__answer a {
    font-weight: 600;
}

.tm24-price-facts,
.tm24-route-facts {
    margin: 20px 0 0;
}

.tm24-price-facts>div,
.tm24-route-fact {
    padding: 16px 10px;
    box-sizing: border-box;
    background: var(--tm24-route-tint, #f3f8fd);
    border: 1px solid var(--tm24-route-fact-border, #dce8f1);
    border-radius: 12px;
    text-align: center;
}

.tm24-route-faq {
    width: 100%;
    max-width: 1120px;
    margin: 20px auto 64px;
    padding: 42px;
    box-sizing: border-box;
    background: radial-gradient(circle at top right,rgba(67,145,205,0.12),transparent 34%),linear-gradient(135deg,var(--tm24-route-gradient, #f8fbfe) 0%,var(--tm24-route-surface, #ffffff) 58%,var(--tm24-route-tint, #f3f8fd) 100%);
    border: 1px solid var(--tm24-route-border, #dbe8f2);
    border-radius: 22px;
    box-shadow: 0 14px 38px rgba(30,76,112,0.08);
}

.tm24-route-faq__header {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
}

.tm24-route-faq__eyebrow {
    display: inline-block;
    margin: 0 0 12px;
    padding: 7px 13px;
    background: var(--tm24-route-label, #eaf4fb);
    border: 1px solid var(--tm24-route-label-border, #d4e7f5);
    border-radius: 999px;
    color: var(--tm24-route-label-text, #236a9c);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.08em;
}

.tm24-route-faq__header h2 {
    margin: 0 0 12px;
    color: var(--tm24-route-heading, #172a3d);
    font-size: 32px;
    line-height: 1.2;
    font-weight: 600;
}

.tm24-route-faq__header p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--tm24-route-supporting, #536779);
    font-size: 16px;
    line-height: 1.65;
}

.tm24-route-faq__list {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
    align-items: start;
}

.tm24-route-faq__item {
    position: relative;
    overflow: hidden;
    margin: 0;
    background: var(--tm24-route-surface, #ffffff);
    border: 1px solid var(--tm24-route-faq-border, #dce7ef);
    border-radius: 14px;
    box-shadow: 0 5px 16px rgba(27,65,94,0.05);
    transition: border-color 0.2s ease,box-shadow 0.2s ease,transform 0.2s ease;
}

.tm24-route-faq__item:hover {
    border-color: var(--tm24-route-hover-border, #b9d5e8);
    box-shadow: 0 9px 24px rgba(27,65,94,0.09);
    transform: translateY(-1px);
}

.tm24-route-faq__item[open] {
    border-color: var(--tm24-route-open-border, #a9cce4);
    box-shadow: 0 9px 26px rgba(27,65,94,0.10);
}

.tm24-route-faq__item summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 72px;
    margin: 0;
    padding: 20px 54px 20px 22px;
    box-sizing: border-box;
    color: var(--tm24-route-heading, #172a3d);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    cursor: pointer;
    list-style: none;
}

.tm24-route-faq__item summary::-webkit-details-marker {
    display: none;
}

.tm24-route-faq__item summary::before,
.tm24-route-faq__item summary::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 22px;
    width: 14px;
    height: 2px;
    background: var(--tm24-route-accent, #287db5);
    border-radius: 2px;
    transform: translateY(-50%);
    transition: transform 0.2s ease;
}

.tm24-route-faq__item summary::after {
    transform: translateY(-50%) rotate(90deg);
}

.tm24-route-faq__item[open] summary::after {
    transform: translateY(-50%) rotate(0deg);
}

.tm24-route-faq__answer {
    padding: 0 22px 20px;
    border-top: 1px solid var(--tm24-route-answer-border, #edf2f6);
}

.tm24-route-faq__answer p {
    margin: 16px 0 0;
    color: var(--tm24-route-answer, #4c6071);
    font-size: 15px;
    line-height: 1.7;
}

.tm24-route-faq__answer strong {
    color: var(--tm24-route-heading, #172a3d);
    font-weight: 700;
}

.tm24-ski-section {
    width: 100%;
    max-width: 760px;
    margin: 0 auto 35px;
    text-align: center;
}

.tm24-ski-hubs-title {
    max-width: 720px;
    color: var(--tm24-route-heading, #172a3d);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.22;
    text-align: center;
}

/* Override the theme's heading gap without changing heading typography. */
.tm24-ski-section > .tm24-ski-hubs-title {
    margin-bottom: 10px;
}

.tm24-ski-hubs-note {
    max-width: 680px;
    color: var(--tm24-route-supporting, #536779);
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
    margin: 0 auto 16px;
}

.tm24-ski-grid {
    position: relative;
    width: 100%;
    max-width: 460px;
    margin: 0 auto 14px;
    padding: 22px 22px 20px;
    box-sizing: border-box;
    overflow: hidden;
    background: linear-gradient(145deg,#1265a8 0%,#075492 55%,#064a82 100%);
    border: 3px solid #ffffff;
    border-radius: 12px;
    box-shadow: 0 0 0 2px #07518d,0 12px 28px rgba(16,55,86,0.20),inset 0 1px 0 rgba(255,255,255,0.16);
    text-align: left;
}

.tm24-ski-grid::before {
    content: "";
    position: absolute;
    inset: 7px;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,0.72);
    border-radius: 7px;
}

.tm24-ski-col {
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 0;
}

.tm24-ski-col+.tm24-ski-col {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.28);
}

.tm24-ski-col h4 {
    display: inline-block;
    margin: 0 0 12px;
    padding: 7px 11px;
    background: #ffffff;
    border-radius: 6px;
    color: #07518d;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.10);
}

.tm24-ski-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tm24-ski-col ul li {
    position: relative;
    margin: 0 0 5px;
    padding: 0;
    border-radius: 6px;
    transition: transform 0.18s ease,background-color 0.18s ease;
}

.tm24-ski-col ul li::before,
.tm24-ski-col ul li::after,
.tm24-ski-col ul li a>i,
.tm24-ski-col ul li a .fa,
.tm24-ski-col ul li a .fas,
.tm24-ski-col ul li a .far,
.tm24-ski-col ul li a .fal,
.tm24-ski-col ul li a .fab {
    display: none;
    content: none;
}

.tm24-ski-col ul li a {
    position: relative;
    display: block;
    padding: 9px 42px 9px 12px;
    box-sizing: border-box;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.18s ease,box-shadow 0.18s ease;
}

.tm24-ski-col ul li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 58%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.68);
    border-radius: 2px;
}

.tm24-ski-col ul li a::after {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-52%);
    color: #ffffff;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    speak: none;
    transition: transform 0.18s ease,right 0.18s ease;


    content: "→";
    font-family: inherit;
}

.tm24-ski-col ul li:hover {
    transform: translateX(4px);
}

.tm24-ski-col ul li:hover a {
    background: rgba(255,255,255,0.12);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16);
}

.tm24-ski-col ul li:hover a::after {
    right: 8px;
    transform: translateY(-52%) translateX(2px);
}

/* Let each route transition own its spacing instead of adding builder margins. */
#wpb-content-root {
    --tm24-catalog-gap-above: 24px;
    --tm24-catalog-gap-below: 56px;
}

/* A following component must not add another top margin after the FAQ. */
.wpb_row:has(.tm24-route-faq) + .wpb_row :is(.tm24-destinations, .tm24-reverse-transfer) {
    margin-top: 0;
}

/* Standalone destination sections have no separate destination-footer wrapper. */
.wpb-content-wrapper > .tm24-ski-section:has(+ .wpb_row .tm24-reference-prices),
.wpb_row:has(+ .wpb_row .tm24-reference-prices) :is(.tm24-destinations, .tm24-destinations .tm24-card-grid),
.wpb_row:has(+ .wpb_row .tm24-reference-prices) .wpb_content_element:has(> .wpb_wrapper > .tm24-destinations),
.wpb_row:has(+ .wpb_row .tm24-price-table-section) .tm24-reverse-transfer,
.wpb_row:has(+ .wpb_row .tm24-price-table-section) .wpb_content_element:has(> .wpb_wrapper > .tm24-reverse-transfer),
.wpb_raw_html:has(.tm24-card-grid):has(+ .wpb_text_column .tm24-ski-all-destinations-wrap) {
    margin-bottom: 0;
}

.wpb-content-wrapper > .tm24-ski-section + .wpb_row .tm24-reference-prices,
.wpb_row:has(.tm24-ski-all-destinations-wrap, .tm24-destinations) + .wpb_row .tm24-reference-prices,
.wpb_row:has(.tm24-reverse-transfer) + .wpb_row .tm24-price-table-section {
    margin-top: var(--tm24-catalog-gap-below, 56px);
}

/* The existing fleet row supplies another 40px before the reviews row. */
.wpb_row:has(+ #benefits) .wpb_content_element:has(> .wpb_wrapper > .tm24-reference-prices) {
    margin-bottom: 16px;
}

@media (max-width: 767px) {
    #wpb-content-root {
        --tm24-catalog-gap-below: 40px;
    }

    /* Raw HTML signs sit outside the padded WPBakery content rows. */
    .wpb-content-wrapper > .tm24-ski-section {
        width: calc(100% - 30px);
    }

    .wpb_row:has(+ #benefits) .wpb_content_element:has(> .wpb_wrapper > .tm24-reference-prices) {
        margin-bottom: 0;
    }
}

.tm24-ski-all-destinations-wrap {
    text-align: center;
}

.tm24-ski-all-destinations {
    position: relative;
    display: inline-block;
    padding: 3px 22px 3px 0;
    color: var(--tm24-route-accent, #287db5);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    border-bottom: 1px solid rgba(40,125,181,0.45);
    transition: color 0.18s ease,border-color 0.18s ease;
}

.tm24-ski-all-destinations::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-53%);
    font-size: 18px;
    transition: right 0.18s ease;


    font-family: inherit;
}

.tm24-ski-all-destinations:hover {
    color: var(--tm24-route-link-hover, #07518d);
    border-color: var(--tm24-route-link-hover, #07518d);
}

.tm24-ski-all-destinations:hover::after {
    right: -4px;
}

/* Catalog transitions follow BGY -> Como: 24px above, 56/40px below. */
/* Only footer-only builder blocks lose their generated spacing. */
#wpb-content-root .wpb_content_element:has(.tm24-ski-all-destinations-wrap):not(:has(.tm24-card-grid, .tm24-ski-grid)) {
    margin-top: 0 !important;
}

#wpb-content-root .wpb_content_element:has(.tm24-ski-all-destinations-wrap) {
    margin-bottom: 0 !important;
}

#wpb-content-root div.tm24-ski-all-destinations-wrap {
    margin: var(--tm24-catalog-gap-above) 0 0;
}

#wpb-content-root .tm24-ski-grid:has(~ .tm24-ski-all-destinations-wrap),
#wpb-content-root .tm24-card-grid:has(~ .tm24-ski-all-destinations-wrap),
#wpb-content-root .wpb_raw_html:has(+ .wpb_text_column .tm24-ski-all-destinations-wrap) .tm24-card-grid {
    margin-bottom: 0;
}

/* Keep the framed regional list's inner padding; reset only the card grids. */
#wpb-content-root .tm24-card-grid:has(~ .tm24-ski-all-destinations-wrap),
#wpb-content-root .wpb_raw_html:has(+ .wpb_text_column .tm24-ski-all-destinations-wrap) .tm24-card-grid {
    padding-bottom: 0;
}

/* A footer in its own row must not inherit the previous card row's margins. */
#wpb-content-root .wpb_row:has(+ .wpb_row .tm24-ski-all-destinations-wrap):not(:has(+ .wpb_row .tm24-card-grid, + .wpb_row .tm24-ski-grid)),
#wpb-content-root .wpb_row:has(+ .wpb_row .tm24-ski-all-destinations-wrap):not(:has(+ .wpb_row .tm24-card-grid, + .wpb_row .tm24-ski-grid)) .wpb_content_element:has(.tm24-card-grid),
#wpb-content-root .wpb_row:has(+ .wpb_row .tm24-ski-all-destinations-wrap):not(:has(+ .wpb_row .tm24-card-grid, + .wpb_row .tm24-ski-grid)) > .col > .wpb_column > .vc_column-inner,
#wpb-content-root .wpb_row:has(+ .wpb_row .tm24-ski-all-destinations-wrap):not(:has(+ .wpb_row .tm24-card-grid, + .wpb_row .tm24-ski-grid)) .vc_tta-container {
    margin-bottom: 0 !important;
}

#wpb-content-root .wpb_row:has(+ .wpb_row .tm24-ski-all-destinations-wrap):not(:has(+ .wpb_row .tm24-card-grid, + .wpb_row .tm24-ski-grid)) .tm24-card-grid {
    margin-bottom: 0;
    padding-bottom: 0;
}

#wpb-content-root .wpb_row:has(+ .wpb_row .tm24-ski-all-destinations-wrap):not(:has(+ .wpb_row .tm24-card-grid, + .wpb_row .tm24-ski-grid)) .tm24-destinations {
    margin-bottom: 0;
}

#wpb-content-root .wpb_row:has(+ .wpb_row .tm24-ski-all-destinations-wrap):not(:has(+ .wpb_row .tm24-card-grid, + .wpb_row .tm24-ski-grid)) .vc_tta-panel-body {
    padding-bottom: 0;
    border-bottom-width: 0;
}

/* The following component, rather than several wrappers, owns the lower gap. */
#wpb-content-root .wpb_row:has(.tm24-ski-all-destinations-wrap):has(+ .wpb_row),
#wpb-content-root .tm24-ski-section:has(.tm24-ski-all-destinations-wrap):has(+ #fleet),
#wpb-content-root .wpb_row:has(.tm24-ski-all-destinations-wrap):has(+ .wpb_row) .tm24-ski-section,
#wpb-content-root .wpb_row:has(.tm24-ski-all-destinations-wrap):has(+ .wpb_row) > .col > .wpb_column > .vc_column-inner {
    margin-bottom: 0 !important;
}

#wpb-content-root :is(.wpb_row, .tm24-ski-section):has(.tm24-ski-all-destinations-wrap) + #fleet :is(.tm24-reference-prices, .tm24-fleet) {
    margin-top: var(--tm24-catalog-gap-below);
}

#wpb-content-root :is(.wpb_row, .tm24-ski-section):has(.tm24-ski-all-destinations-wrap) + #fleet .tm24-fleet {
    padding-top: 0;
}

#wpb-content-root .wpb_row:has(.tm24-ski-all-destinations-wrap) + .wpb_row:not(#fleet) {
    padding-top: var(--tm24-catalog-gap-below);
}

@media (max-width:600px) {
    .tm24-ski-section {
        max-width: 100%;
    }

    .tm24-ski-hubs-title {
        font-size: 23px;
    }

    .tm24-ski-hubs-note {
        margin-bottom: 13px;
    }

    .tm24-ski-grid {
        max-width: 100%;
        padding: 20px 18px 18px;
        border-width: 3px;
        border-radius: 10px;
    }

    .tm24-ski-col+.tm24-ski-col {
        margin-top: 15px;
        padding-top: 15px;
    }

    .tm24-ski-col h4 {
        margin-bottom: 10px;
        padding: 6px 9px;
        font-size: 15px;
    }

    .tm24-ski-col ul li a {
        padding: 9px 38px 9px 11px;
        font-size: 15px;
    }

    .tm24-ski-all-destinations {
        font-size: 15px;
    }
}

/* Shared airport-to-city transport comparison, details and transfer highlights. */
.tm24-transport-options {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto 36px;
    box-sizing: border-box;
}

.tm24-transport-options > h2 {
    margin: 0 0 18px;
    color: var(--tm24-route-heading, #172a3d);
    font-size: 30px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
}

.tm24-transport-options__intro {
    max-width: 900px;
    margin: 0 auto 24px;
    color: var(--tm24-route-supporting, #536779);
    font-size: 16px;
    line-height: 1.65;
    text-align: center;
}

.tm24-transport-table-wrap {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tm24-transport-table-wrap .tm24-transport-table {
    width: 100%;
    min-width: 680px;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--tm24-route-surface, #ffffff);
    border: 1px solid var(--tm24-route-table-border, #dbeaf7);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
}

.tm24-transport-table th,
.tm24-transport-table td {
    padding: 14px 16px;
    box-sizing: border-box;
    border-right: 1px solid var(--tm24-route-cell-border, #e7eef5);
    border-bottom: 1px solid var(--tm24-route-cell-border, #e7eef5);
    color: var(--tm24-route-text, #17212b);
    font-size: 15px;
    line-height: 1.45;
    text-align: left;
    vertical-align: middle;
}

.tm24-transport-table-wrap .tm24-transport-table thead th {
    background: #172a3d;
    color: #ffffff !important;
    font-weight: 600;
}

.tm24-transport-table th:last-child,
.tm24-transport-table td:last-child {
    border-right: 0;
}

.tm24-transport-table tbody tr:last-child td {
    border-bottom: 0;
}

.tm24-transport-table tbody tr:not(.tm24-transport-table__recommended):hover td {
    background: var(--tm24-route-row-hover, #fafcfe);
}

.tm24-transport-table__recommended td {
    background: var(--tm24-route-recommended, #f2f8fd);
    color: var(--tm24-route-text, #17212b) !important;
    font-weight: 600;
}

.tm24-transport-table__recommended td strong {
    color: var(--tm24-route-text, #17212b) !important;
    font-weight: 700;
}

.tm24-transport-table__recommended td:first-child {
    border-left: 4px solid var(--tm24-route-focus, #1e73be);
}

.tm24-transport-details {
    margin: 10px 0 0;
}

.tm24-transport-details h3 {
    margin: 18px 0 8px;
}

.tm24-transport-details h3:first-child {
    margin-top: 0;
}

.tm24-transport-details p {
    margin: 0 0 14px;
}

.tm24-transport-details p:last-child {
    margin-bottom: 0;
}

.tm24-private-transfer-highlight {
    margin-top: 28px;
    padding: 24px 26px;
    background: var(--tm24-route-detail, #f7fbff);
    border: 1px solid var(--tm24-route-table-border, #dbeaf7);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.tm24-private-transfer-highlight h3 {
    margin: 0 0 14px;
}

.tm24-private-transfer-highlight ul {
    margin: 0 0 16px;
    padding-left: 20px;
}

.tm24-private-transfer-highlight li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.tm24-private-transfer-highlight li:last-child {
    margin-bottom: 0;
}

.tm24-private-transfer-highlight p {
    margin: 0;
}

@media (max-width: 767px) {
    .tm24-transport-options > h2 {
        font-size: 26px;
    }
    .tm24-transport-options__intro {
        text-align: left;
    }
    .tm24-transport-table th,
    .tm24-transport-table td {
        padding: 12px 14px;
        font-size: 14px;
    }
    .tm24-private-transfer-highlight {
        padding: 22px 20px;
    }
}

/* Shared mobile FAQ layout for routes and hubs. */
@media (max-width: 767px) {
    .tm24-route-faq {
        margin: 20px auto 40px;
        padding: 26px 20px;
        border-radius: 18px;
    }

    .tm24-route-faq__list {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .tm24-route-faq__header {
        margin-bottom: 22px;
    }

    .tm24-route-faq__header h2 {
        font-size: 26px;
    }

    .tm24-route-faq__header p {
        font-size: 15px;
    }

    .tm24-route-faq__item summary {
        min-height: 64px;
        padding: 18px 48px 18px 18px;
        font-size: 15px;
    }

    .tm24-route-faq__answer {
        padding: 0 18px 18px;
        font-size: 14px;
    }
}

/* Shared FAQ keyboard focus and reduced motion. */
.tm24-route-faq summary:focus-visible {
    outline: 3px solid var(--tm24-route-focus, #1e73be);
    outline-offset: -4px;
    border-radius: 12px;
}

@media (prefers-reduced-motion: reduce) {
    .tm24-route-faq .tm24-route-faq__item {
        transition: none;
    }

    .tm24-route-faq .tm24-route-faq__item:hover {
        transform: none;
    }
}
