/* =============================================================================
   The Travel Stations - theme skin (Site:Theme = "stations"), loaded last.

   Palette from the logo: station red #E00C14, footprint navy #0C2A66, black and a cool
   grey, on warm off-white paper.
   Type: Lexend Deca on a light scale: 300 for long copy, 400 for display headlines and
   body, 500 for titles, labels and buttons. Nothing heavier than 600.
   Brand rules: premium and travel-led, smooth motion and real 3D (a cinematic destination hero
   with 3D cards that grow into the full-screen photo, platform signs that turn over, tilting
   station boards), and NO gradients: every surface is a flat colour or a photograph.

   Builds on stations-base.css (the holidays theme's skin, re-coloured, flattened and set on
   the same light type scale by tools/derive-stations-css.py). Class prefix for the
   stations-only parts: ts-.
   ============================================================================= */

:root {
    --ts-red: #e00c14;
    --ts-red-d: #b8090f;
    --ts-red-t: #fdecec;
    --ts-navy: #0c2a66;
    --ts-navy-d: #071b45;
    --ts-navy-dd: #050f2a;
    --ts-navy-t: #eef1f8;
    --ts-ink: #0b1530;
    --ts-text: #1a2138;
    --ts-muted: #5e6478;
    --ts-line: #e3e6ee;
    --ts-sand: #f8f6f3;
    --ts-paper: #ffffff;
    --ts-font: "Lexend Deca", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --ts-ease: cubic-bezier(.2, .8, .2, 1);
    --ts-shadow: 0 30px 60px -32px rgba(11, 21, 48, .4), 0 10px 22px -16px rgba(11, 21, 48, .16);

    /* The holidays tokens, re-pointed at the brand (gradient tokens become flat colours). */
    --hx-sans: var(--ts-font);
    --hx-serif: var(--ts-font);
    --hx-ink: #0b1530;
    --hx-ink-2: #071b45;
    --hx-navy: #0c2a66;
    --hx-navy-2: #0c2a66;
    --hx-gold: #e00c14;
    --hx-gold-2: #e00c14;
    --hx-gold-3: #fdecec;
    --hx-ivory: #f8f6f3;
    --hx-text: #1a2138;
    --hx-muted: #5e6478;
    --hx-line: #e3e6ee;
    --hx-mist: #eef1f8;
    --hx-gold-grad: #e00c14;
    --hx-text-grad: none;
    --hx-text-grad-light: none;
    --hx-ink-grad: #071b45;
    --hx-hero-grad: #f8f6f3;
    --hx-header-h: 86px;
    --hx-radius: 20px;
    --hx-shadow: var(--ts-shadow);

    /* Re-colour the borrowed theme1 pages (content pages, error pages). */
    --brand-navy: #0c2a66;
    --brand-navy-dark: #071b45;
    --brand-navy-light: #e00c14;
    --brand-navy-soft: #eef1f8;
    --brand-gold: #e00c14;
    --brand-gold-bright: #ff6b71;
    --brand-gold-soft: #fdecec;
}

/* ---------------------------------------------------------------- base ---- */
body.ts-body {
    font-family: var(--ts-font); font-weight: 400; background: var(--ts-sand); color: var(--ts-text);
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
.ts-body h1, .ts-body h2, .ts-body h3, .ts-body h4, .ts-body h5, .ts-body h6 { font-family: var(--ts-font); }
/* Bold inside running text is a medium weight, not a heavy one. */
.ts-body :where(b, strong) { font-weight: 500; }
.ts-body .hx-section-head h2, .ts-body .hx-faq-aside h2 { font-weight: 400; letter-spacing: -.035em; color: var(--ts-ink); }
.ts-body .hx-section-head p, .ts-body .hx-faq-aside p { font-weight: 300; color: var(--ts-muted); }
/* Display titles on every page (listing, destination, tour and content-page heroes, modals) share
   the home headline's light weight. */
.ts-body :is(.hx-ph h1, .hx-dh h1, .hx-ch h1, .hx-hero h1, .cp-hero-title, .hx-cta h2, .hx-empty h1, .hx-empty h2, .hx-cd-section h2, .hx-modal-head h2) {
    font-weight: 400; letter-spacing: -.035em;
}
.ts-red { color: var(--ts-red); }
/* Former gradient text: one flat brand colour. */
.ts-body .hx-gold-text { background: none !important; color: var(--ts-red); -webkit-text-fill-color: currentColor; }
.ts-body .hx-on-dark .hx-gold-text, .ts-body .hx-dh .hx-gold-text { color: #ff6b71; }
/* Taglines on dark photo heroes: a light tint, not the brand red, so they read. */
.ts-body .hx-dh-tagline { color: #ffd2d4; }
/* No glows or edge fades anywhere. */
.ts-body .hx-aurora { display: none !important; }
.ts-body .hx-hero::after { display: none; }
.ts-body .hx-quotes { -webkit-mask-image: none; mask-image: none; }

.ts-body .hx-eyebrow { color: var(--ts-red); font-weight: 500; letter-spacing: .18em; }
.ts-body .hx-eyebrow::before { background: var(--ts-red); width: 24px; }
.ts-body .hx-on-dark .hx-eyebrow { color: #ff8d92; }
.ts-body .hx-on-dark .hx-eyebrow::before { background: #ff8d92; }

/* Buttons: station red, navy for secondary. */
.ts-body .hx-btn {
    --b-bg: var(--ts-red); background: var(--ts-red); border-radius: 12px; font-weight: 500; letter-spacing: .01em;
    box-shadow: 0 12px 24px -14px rgba(224, 12, 20, .65);
}
.ts-body .hx-btn:hover { background: var(--ts-red-d); box-shadow: 0 18px 32px -16px rgba(224, 12, 20, .75); }
.ts-body .hx-btn--dark { --b-bg: var(--ts-navy); background: var(--ts-navy); box-shadow: 0 12px 24px -14px rgba(12, 42, 102, .65); }
.ts-body .hx-btn--dark:hover { background: var(--ts-navy-d); }
.ts-body .hx-btn--ghost-dark { --b-bg: transparent; background: transparent; color: var(--ts-navy); box-shadow: inset 0 0 0 1px rgba(12, 42, 102, .3); }
.ts-body .hx-btn--ghost-dark:hover { background: var(--ts-navy-t); color: var(--ts-navy); box-shadow: inset 0 0 0 1px var(--ts-navy); }
.ts-body .hx-btn--ghost { --b-bg: transparent; background: rgba(255, 255, 255, .08); }
.ts-body .hx-btn--ghost:hover { background: rgba(255, 255, 255, .16); }
.ts-body .hx-btn::after { display: none; }

/* -------------------------------------------------------------- header ---- */
/* The logo sits on white, so the header stays solid white on every page. */
.ts-body .hx-header,
.ts-body.hx-has-hero .hx-header:not(.is-solid) {
    background: #fff; color: var(--ts-text); box-shadow: 0 1px 0 var(--ts-line);
}
.ts-body .hx-header.is-solid { box-shadow: 0 1px 0 var(--ts-line), 0 16px 34px -26px rgba(11, 21, 48, .45); }
.ts-body.hx-has-hero .hx-header:not(.is-solid) .hx-logo { background: none; box-shadow: none; }
.ts-body .ts-logo { padding: 0; }
.ts-body .ts-logo img { height: 64px; width: auto; }
.ts-body .hx-nav-link,
.ts-body.hx-has-hero .hx-header:not(.is-solid) .hx-nav-link { color: var(--ts-text); font-weight: 400; }
.ts-body .hx-nav-link:hover,
.ts-body .hx-nav-link.is-active,
.ts-body.hx-has-hero .hx-header:not(.is-solid) .hx-nav-link:hover,
.ts-body.hx-has-hero .hx-header:not(.is-solid) .hx-nav-link.is-active { background: var(--ts-navy-t); color: var(--ts-navy); }
.ts-body .hx-nav-link.is-active::after { background: var(--ts-red); }
.ts-body .hx-call-ico,
.ts-body.hx-has-hero .hx-header:not(.is-solid) .hx-call-ico { background: var(--ts-navy); color: #fff; }
.ts-body.hx-has-hero .hx-header:not(.is-solid) .hx-burger { background: var(--ts-navy-t); }
.ts-hwa { display: none; }
.ts-body .hx-mega-head strong { color: var(--ts-navy); }
.ts-body .hx-mega-item:hover { background: var(--ts-navy-t); }

/* ------------------------------------------------------------------ hero --- */
/* Cinematic: one destination fills the screen (its photo, a huge name that rises letter by
   letter, season, package count and fare). The next destinations wait on the right as 3D cards;
   the chosen card grows into the new full-screen photo. One flat navy veil keeps type readable. */
.ts-cine {
    position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end;
    min-height: min(900px, max(660px, calc(100vh - 32px))); padding: calc(var(--hx-header-h) + 56px) 0 124px;
    background: var(--ts-navy-dd); color: #fff;
}
.ts-cine-bgs { position: absolute; inset: 0; z-index: -3; }
.ts-cine-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.ts-cine-bg.is-active { opacity: 1; animation: ts-kb 16s ease-out both; }
@keyframes ts-kb { from { scale: 1; } to { scale: 1.08; } }
.ts-cine-grow { position: absolute; z-index: -2; display: block; object-fit: cover; }
.ts-cine-veil { position: absolute; inset: 0; z-index: -1; background: rgba(4, 12, 34, .4); }

.ts-cine-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 3rem; align-items: end; width: 100%; }
/* The name is sized to its column: --len is the longest word's letter count. */
.ts-cine-copy { min-width: 0; container-type: inline-size; }
.ts-cine-h1 { display: flex; align-items: center; gap: .85rem; margin: 0 0 2.2rem; font-size: 1rem; font-weight: 300; letter-spacing: .01em; color: rgba(255, 255, 255, .92); }
.ts-cine-h1::before { content: ""; flex: none; width: 36px; height: 2px; background: var(--ts-red); }

.ts-cine-place { display: inline-flex; align-items: center; gap: .65rem; font-size: .74rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.ts-cine-place img { width: 26px; height: 18px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .45); }
.ts-cine-name {
    margin: .55rem 0 .7rem; font-size: clamp(3rem, 6vw, 6.2rem); font-weight: 400; line-height: .95; letter-spacing: .01em;
    text-transform: uppercase; text-shadow: 0 8px 40px rgba(0, 0, 0, .25);
}
.ts-cine-name { font-size: min(7.4rem, calc(100cqw / (var(--len, 8) * .76))); }
.ts-cine-name.is-long { line-height: 1.02; }
/* Each word is a mask; its letters rise into it one after another. */
.ts-w { display: inline-block; overflow: hidden; padding: .06em 0 .08em; vertical-align: bottom; white-space: nowrap; }
.ts-l { display: inline-block; transition: transform .85s var(--ts-ease) calc(var(--i, 0) * 34ms), opacity .6s ease calc(var(--i, 0) * 34ms); }
.ts-cine-tag { max-width: 34rem; margin: 0 0 1.7rem; font-size: 1.22rem; font-weight: 300; line-height: 1.55; color: rgba(255, 255, 255, .94); text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }
.ts-cine-meta { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.ts-cine-meta li {
    display: flex; flex-direction: column; gap: .18rem; padding: .62rem 1.05rem; border-radius: 14px;
    background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.ts-cine-meta small { font-size: .6rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.ts-cine-meta b { font-size: .96rem; font-weight: 500; white-space: nowrap; }
.ts-cine-meta li:last-child b { color: #fff; }
.ts-cine-cta { display: flex; flex-wrap: wrap; gap: .7rem; }
.ts-cine-cta .hx-btn { min-height: 52px; padding: 0 1.5rem; }
.ts-cine-cta .hx-btn .icon { width: 18px; height: 18px; }
.ts-body .ts-btn-glass {
    --b-bg: transparent; background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.ts-body .ts-btn-glass:hover { background: #fff; color: var(--ts-navy); box-shadow: inset 0 0 0 1px #fff; }

/* The change of destination: the old name leaves upwards, the new one rises in. */
.ts-cine-place, .ts-cine-tag, .ts-cine-meta { transition: opacity .5s ease, transform .75s var(--ts-ease); }
.ts-cine-tag { transition-delay: .18s; }
.ts-cine-meta { transition-delay: .28s; }
.ts-cine-dest.is-out .ts-l { transform: translateY(-112%); opacity: 0; }
.ts-cine-dest.is-out :is(.ts-cine-place, .ts-cine-tag, .ts-cine-meta) { opacity: 0; transform: translateY(-12px); transition-delay: 0s; }
.ts-cine-dest.is-in .ts-l { transform: translateY(112%); opacity: 0; transition: none; }
.ts-cine-dest.is-in :is(.ts-cine-place, .ts-cine-tag, .ts-cine-meta) { opacity: 0; transform: translateY(16px); transition: none; }

/* The next destinations: 3D cards stepping back into the distance. */
.ts-cine-side { min-width: 0; }
.ts-cine-cards { --step: 240px; position: relative; height: 330px; perspective: 1500px; transform-style: preserve-3d; }
.ts-cine-card {
    --x: 0px; --z: 0px;
    position: absolute; left: 0; bottom: 0; width: 222px; height: 318px; padding: 0; border: 0; border-radius: 20px; overflow: hidden;
    background: var(--ts-navy); color: #fff; text-align: left; cursor: pointer;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 44px 64px -30px rgba(0, 0, 0, .8);
    transform: translate3d(var(--x), 0, var(--z)) rotateY(-10deg);
    transition: transform 1.1s cubic-bezier(.7, 0, .2, 1), opacity .7s ease, box-shadow .3s;
}
.ts-cine-card[data-pos="1"] { --x: 0px; --z: 0px; }
.ts-cine-card[data-pos="2"] { --x: var(--step); --z: -70px; }
.ts-cine-card[data-pos="3"] { --x: calc(var(--step) * 2); --z: -140px; }
.ts-cine-card[data-pos="4"] { --x: calc(var(--step) * 3); --z: -210px; }
.ts-cine-card[data-pos="0"] { --x: calc(var(--step) * -.8); --z: 120px; opacity: 0; pointer-events: none; }
.ts-cine-card[data-pos="5"] { --x: calc(var(--step) * 4); --z: -280px; opacity: 0; pointer-events: none; }
.ts-cine-card.is-growing { opacity: 0; transition: opacity .25s ease; }
.ts-cine-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--ts-ease); }
.ts-cine-card::after { content: ""; position: absolute; inset: 0; background: rgba(4, 12, 34, .22); transition: background .4s; }
.ts-cine-card:hover img { scale: 1.07; }
.ts-cine-card:hover::after { background: rgba(4, 12, 34, .06); }
.ts-cine-card:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.ts-cine-card[data-pos="1"]::before {
    content: "Up next"; position: absolute; z-index: 2; top: 12px; left: 12px; padding: .28rem .65rem; border-radius: 999px;
    background: var(--ts-red); color: #fff; font-size: .58rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
}
.ts-cine-card-txt { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 12px; padding: .7rem .85rem; border-radius: 13px; background: rgba(255, 255, 255, .95); color: var(--ts-ink); }
.ts-cine-card-txt small { display: block; overflow: hidden; font-size: .56rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; color: var(--ts-red); }
.ts-cine-card-txt b { display: block; margin-top: .12rem; font-size: 1rem; font-weight: 500; line-height: 1.2; }

/* Counter, timer line and arrows under the cards. */
.ts-cine-bar { display: flex; align-items: center; gap: 1rem; margin-top: 1.8rem; }
.ts-cine-count { display: flex; align-items: baseline; gap: .35rem; font-weight: 300; }
.ts-cine-count b { font-size: 2.1rem; font-weight: 300; letter-spacing: -.03em; line-height: 1; }
.ts-cine-count span { font-size: .85rem; color: rgba(255, 255, 255, .7); }
.ts-cine-progress { position: relative; flex: 1; height: 2px; overflow: hidden; background: rgba(255, 255, 255, .28); }
.ts-cine-progress i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.ts-cine-progress i.is-run { animation: ts-tick 7s linear forwards; }
@keyframes ts-tick { to { transform: scaleX(1); } }
.ts-cine.is-paused .ts-cine-progress i { animation-play-state: paused; }
.ts-cine-arrow {
    display: grid; place-items: center; flex: none; width: 50px; height: 50px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
    background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background .25s, color .25s, transform .25s;
}
.ts-cine-arrow:hover { background: #fff; color: var(--ts-navy); }
.ts-cine-arrow:active { transform: scale(.94); }
.ts-cine-arrow .icon { width: 20px; height: 20px; }
.ts-cine-arrow--prev .icon { transform: rotate(180deg); }

/* The search, docked across the bottom edge of the hero. */
.ts-cine-dock { position: relative; z-index: 6; margin-top: -58px; }
.ts-search {
    position: relative; display: grid; grid-template-columns: auto minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: stretch;
    max-width: 1060px; margin: 0 auto; padding: .55rem; border-radius: 20px; background: #fff; color: var(--ts-text);
    box-shadow: 0 0 0 1px var(--ts-line), 0 44px 70px -42px rgba(11, 21, 48, .55);
}
.ts-search-lead { display: flex; align-items: center; gap: .85rem; padding: .35rem 1.5rem .35rem .6rem; border-right: 1px solid var(--ts-line); }
.ts-search-lead img { flex: none; width: 46px; height: 46px; padding: 5px; border-radius: 14px; background: var(--ts-navy-t); object-fit: contain; }
.ts-search-lead b { display: block; font-size: 1.02rem; font-weight: 500; color: var(--ts-ink); white-space: nowrap; }
.ts-search-lead small { display: block; margin-top: .1rem; font-size: .76rem; font-weight: 300; color: var(--ts-muted); white-space: nowrap; }
.ts-search-field { position: relative; display: flex; flex-direction: column; justify-content: center; gap: .2rem; margin: 0; padding: .5rem 1.2rem; border-right: 1px solid var(--ts-line); cursor: pointer; }
.ts-search-field > span { display: inline-flex; align-items: center; gap: .4rem; font-size: .66rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ts-muted); }
.ts-search-field > span .icon { width: 13px; height: 13px; color: var(--ts-red); }
.ts-search-field select {
    width: 100%; padding: 0 1.2rem 0 0; border: 0; outline: 0; background: transparent; cursor: pointer;
    font: 400 1rem var(--ts-font); color: var(--ts-ink); -webkit-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c2a66' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right center; background-size: 14px;
}
.ts-search-field:focus-within { border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--ts-navy); }
.ts-search-field.is-open { border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--ts-navy); }

/* ------------------------------------------------------- custom dropdown --- */
/* <select data-ts-pick> as the theme's picker (stations.js): the button shows the choice; the
   panel lists the options, with search, group headings, flags and notes. A bottom sheet on phones. */
.ts-pick-native {
    position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; border: 0;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none;
}
.ts-pick-btn {
    position: relative; display: flex; align-items: center; gap: .55rem; width: 100%; min-height: 1.6rem; padding: 0 1.6rem 0 0;
    border: 0; background: transparent; color: var(--ts-ink); font: 400 1rem var(--ts-font); text-align: left; cursor: pointer;
}
.ts-pick-btn:focus-visible { outline: none; }
.ts-pick-btn img { flex: none; width: 22px; height: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(11, 21, 48, .12); }
.ts-pick-btn span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ts-pick-btn::after {
    content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
    border-right: 1.6px solid var(--ts-navy); border-bottom: 1.6px solid var(--ts-navy); transform: rotate(45deg);
    transition: transform .3s var(--ts-ease), margin-top .3s var(--ts-ease);
}
.ts-search-field.is-open .ts-pick-btn::after { margin-top: -2px; transform: rotate(-135deg); }

.ts-pick-panel {
    position: absolute; z-index: 1200; display: flex; flex-direction: column; width: 360px; max-height: min(460px, 72vh); padding: .55rem;
    border-radius: 18px; background: #fff; color: var(--ts-ink); font-family: var(--ts-font);
    box-shadow: 0 0 0 1px rgba(11, 21, 48, .07), 0 34px 64px -24px rgba(11, 21, 48, .38);
    opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top left; transition: opacity .2s ease, transform .3s var(--ts-ease);
}
.ts-pick-panel.is-in { opacity: 1; transform: none; }
.ts-pick-head { display: none; }
.ts-pick-searchbox { position: relative; flex: none; margin: .15rem .15rem .5rem; }
.ts-pick-searchbox .icon { position: absolute; left: .85rem; top: 50%; width: 16px; height: 16px; margin-top: -8px; color: var(--ts-muted); pointer-events: none; }
.ts-pick-search {
    width: 100%; height: 44px; padding: 0 .9rem 0 2.45rem; border: 1px solid var(--ts-line); border-radius: 12px; outline: 0;
    background: var(--ts-sand); color: var(--ts-ink); font: 400 .95rem var(--ts-font); transition: border-color .2s, background .2s, box-shadow .2s;
}
.ts-pick-search::placeholder { color: #9298a8; }
.ts-pick-search:focus { border-color: var(--ts-navy); background: #fff; box-shadow: 0 0 0 3px rgba(12, 42, 102, .1); }
.ts-pick-list { flex: 1 1 auto; min-height: 0; margin: 0; padding: 0 .1rem .1rem; overflow-y: auto; overscroll-behavior: contain; list-style: none; outline: 0; scrollbar-width: thin; scrollbar-color: #d3d8e3 transparent; }
.ts-pick-list::-webkit-scrollbar { width: 6px; }
.ts-pick-list::-webkit-scrollbar-thumb { border-radius: 6px; background: #d3d8e3; }
.ts-pick-group { padding: .85rem .75rem .35rem; font-size: .6rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ts-red); }
.ts-pick-opt {
    display: grid; grid-template-columns: 26px minmax(0, 1fr) auto 16px; align-items: center; gap: .75rem; padding: .62rem .75rem;
    border-radius: 11px; cursor: pointer; transition: background .15s;
}
.ts-pick-opt.is-active { background: var(--ts-navy-t); }
.ts-pick-flag { width: 26px; height: 18px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(11, 21, 48, .1); }
.ts-pick-ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--ts-navy-t); color: var(--ts-navy); }
.ts-pick-opt.is-active .ts-pick-ico { background: #fff; }
.ts-pick-ico .icon { width: 15px; height: 15px; }
.ts-pick-name { overflow: hidden; font-size: .95rem; white-space: nowrap; text-overflow: ellipsis; }
.ts-pick-opt[aria-selected="true"] .ts-pick-name { font-weight: 500; color: var(--ts-navy); }
.ts-pick-meta { font-size: .74rem; font-weight: 300; color: var(--ts-muted); white-space: nowrap; }
.ts-pick-tick { width: 16px; height: 16px; color: var(--ts-red); opacity: 0; transform: scale(.6); transition: opacity .2s, transform .2s; }
.ts-pick-opt[aria-selected="true"] .ts-pick-tick { opacity: 1; transform: none; }
.ts-pick-empty { margin: 0; padding: 1.4rem .75rem; text-align: center; font-size: .88rem; font-weight: 300; color: var(--ts-muted); }

/* Phones: a bottom sheet over a dimmed page, above the app tabs. */
.ts-pick-scrim { position: fixed; inset: 0; z-index: 1190; background: rgba(5, 15, 42, .45); opacity: 0; transition: opacity .25s ease; }
.ts-pick-scrim.is-in { opacity: 1; }
html.ts-pick-lock { overflow: hidden; }
@media (max-width: 767.98px) {
    .ts-pick-panel {
        position: fixed; top: auto !important; right: 0; bottom: 0; left: 0 !important; width: auto !important; max-height: 82vh;
        padding: .35rem .9rem calc(.9rem + env(safe-area-inset-bottom, 0px)); border-radius: 24px 24px 0 0;
        opacity: 1; transform: translateY(102%); transform-origin: bottom center; transition: transform .38s var(--ts-ease);
    }
    .ts-pick-panel.is-in { transform: none; }
    .ts-pick-head { position: relative; display: flex; flex: none; align-items: center; justify-content: space-between; padding: 1.05rem .3rem .75rem; }
    .ts-pick-head::before { content: ""; position: absolute; top: .3rem; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: #d3d8e3; }
    .ts-pick-head strong { font-size: 1.15rem; font-weight: 500; letter-spacing: -.01em; }
    .ts-pick-close { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--ts-navy-t); color: var(--ts-navy); cursor: pointer; }
    .ts-pick-close .icon { width: 18px; height: 18px; }
    .ts-pick-search { height: 48px; font-size: 16px; }
    .ts-pick-opt { padding: .82rem .75rem; }
    .ts-pick-name { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    .ts-pick-panel, .ts-pick-scrim, .ts-pick-btn::after, .ts-pick-tick { transition: none; }
}
.ts-search-go { min-height: 60px; margin-left: .55rem; padding: 0 1.7rem; border-radius: 14px; }

/* ---------------------------------------------- platforms (trip styles) --- */
.ts-signs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; perspective: 1600px; }
.ts-body .ts-sign { min-height: 290px; }
.ts-body .ts-sign-front { background: var(--ts-navy); border: 0; box-shadow: 0 30px 50px -34px rgba(12, 42, 102, .9); }
.ts-body .ts-sign-front::after { display: none; }
/* The sign's red station band along the top. */
.ts-body .ts-sign-front::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0; background: var(--ts-red); }
.ts-sign-no { position: absolute; top: 1.4rem; right: 1.4rem; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 70px; height: 70px; border-radius: 50%; background: #fff; color: var(--ts-navy); font-size: 1.4rem; font-weight: 400; line-height: 1; box-shadow: 0 0 0 3px var(--ts-red); }
.ts-sign-no small { display: block; margin-bottom: .22rem; font-size: .44rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ts-red); }
.ts-sign-ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1rem; border-radius: 14px; background: rgba(255, 255, 255, .1); color: #fff; }
.ts-sign-ico .icon { width: 26px; height: 26px; }
.ts-body .ts-sign h3 { color: #fff; font-weight: 500; font-size: 1.2rem; }
.ts-body .ts-sign p { font-weight: 300; }
.ts-body .ts-sign-back { background: var(--ts-red); }
.ts-body .ts-sign-back .hx-btn { background: #fff; color: var(--ts-red); box-shadow: none; }
.ts-body .ts-sign-back .hx-btn:hover { background: var(--ts-navy); color: #fff; }

/* -------------------------------------------- destinations (station boards) --- */
.ts-destgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; perspective: 1500px; }
.ts-destgrid > :nth-child(5n + 1) { grid-column: span 2; }
.ts-body .ts-dest { min-height: 340px; border-radius: 20px; justify-content: space-between; }
.ts-body .ts-dest::before { background: rgba(5, 15, 42, .2); }
.ts-dest-top { display: flex; justify-content: space-between; align-items: center; padding: 1rem; transform: translateZ(40px); }
.ts-dest-code { padding: .3rem .55rem; border-radius: 7px; background: #fff; color: var(--ts-navy); font-size: .7rem; font-weight: 500; letter-spacing: .1em; }
.ts-dest-count { padding: .35rem .75rem; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ts-ink); font-size: .72rem; font-weight: 500; }
/* The station name board: navy plate, red line, as on a platform sign. */
.ts-dest-sign { margin: 0 1rem 1rem; padding: .85rem 1rem .8rem; border-radius: 14px; background: var(--ts-navy); color: #fff; box-shadow: inset 0 3px 0 var(--ts-red), 0 20px 34px -22px rgba(0, 0, 0, .8); transform: translateZ(50px); }
.ts-dest-name { display: flex; align-items: center; gap: .55rem; font-size: 1.12rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.ts-dest-name img { width: 24px; height: 17px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .3); }
.ts-dest-line { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-top: .45rem; padding-top: .45rem; border-top: 1px dashed rgba(255, 255, 255, .22); font-size: .74rem; font-weight: 300; color: rgba(255, 255, 255, .8); }
.ts-dest-line span { display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ts-dest-line .icon { width: 14px; height: 14px; color: #ffcf33; flex: none; }
.ts-dest-line b { flex: none; color: #fff; font-weight: 500; }
.ts-dest[hidden] { display: none; }

/* ----------------------------------------------------------- packages ---- */
.ts-body .hx-section--paper { background: #fff; }
.ts-body .hx-tour { border-radius: 20px; }
.ts-body .hx-tour:hover { box-shadow: 0 40px 70px -40px rgba(11, 21, 48, .5); }

/* ------------------------------------------------- the journey (metro line) --- */
.ts-line { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; padding-top: 1rem; }
.ts-line-track { position: absolute; left: 12.5%; right: 12.5%; top: calc(1rem + 34px); height: 6px; margin-top: 1px; border-radius: 6px; background: var(--ts-line); }
.ts-line-fill { position: absolute; inset: 0; border-radius: inherit; background: var(--ts-red); transform: scaleX(0); transform-origin: left; transition: transform 2.4s cubic-bezier(.6, 0, .2, 1); }
.ts-line-train {
    position: absolute; top: 50%; left: 0; display: grid; place-items: center; width: 40px; height: 40px; margin: -20px 0 0 -20px;
    border-radius: 12px; background: var(--ts-navy); color: #fff; box-shadow: 0 10px 20px -8px rgba(12, 42, 102, .8);
    opacity: 0; transition: left 2.4s cubic-bezier(.6, 0, .2, 1), opacity .4s;
}
.ts-line-train .icon { width: 22px; height: 22px; }
.ts-line.is-on .ts-line-fill { transform: scaleX(1); }
.ts-line.is-on .ts-line-train { left: 100%; opacity: 1; }
.ts-stop { position: relative; text-align: center; padding: 0 .4rem; }
.ts-stop-dot {
    position: relative; z-index: 2; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 1.1rem; border-radius: 50%;
    background: #fff; color: var(--ts-navy); box-shadow: 0 0 0 6px var(--ts-sand), inset 0 0 0 3px var(--ts-navy);
    transition: background .5s, color .5s, box-shadow .5s;
}
.ts-stop-dot .icon { width: 28px; height: 28px; }
.ts-line.is-on .ts-stop-dot { background: var(--ts-navy); color: #fff; box-shadow: 0 0 0 6px var(--ts-sand), inset 0 0 0 3px var(--ts-red); }
.ts-line.is-on .ts-stop:nth-child(3) .ts-stop-dot { transition-delay: .5s; }
.ts-line.is-on .ts-stop:nth-child(4) .ts-stop-dot { transition-delay: 1.1s; }
.ts-line.is-on .ts-stop:nth-child(5) .ts-stop-dot { transition-delay: 1.7s; }
.ts-line.is-on .ts-stop:nth-child(6) .ts-stop-dot { transition-delay: 2.3s; }
.ts-stop-no { display: inline-block; margin-bottom: .45rem; padding: .2rem .65rem; border-radius: 999px; background: var(--ts-red-t); color: var(--ts-red); font-size: .66rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.ts-stop h3 { margin: 0 0 .45rem; font-size: 1.08rem; font-weight: 500; color: var(--ts-ink); }
.ts-stop p { margin: 0; font-size: .9rem; font-weight: 300; line-height: 1.65; color: var(--ts-muted); }

/* ---------------------------------------------------------------- why us --- */
.ts-body .hx-tile--a { background: var(--ts-navy); }
.ts-body .hx-tile { border-radius: 20px; }
.ts-body .hx-tile h3 { font-weight: 500; }
.ts-body .hx-tile p { font-weight: 300; }
.ts-body .hx-tile-ico { background: var(--ts-red-t); color: var(--ts-red); }
.ts-body .hx-tile--a .hx-tile-ico { background: var(--ts-red); color: #fff; }
.ts-body .hx-tick { background: var(--ts-red); color: #fff; }

/* -------------------------------------------------------- travel stories --- */
.ts-storygrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.ts-story { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: #fff; color: var(--ts-text); text-decoration: none; box-shadow: 0 0 0 1px var(--ts-line); transition: transform .45s var(--ts-ease), box-shadow .45s var(--ts-ease); }
.ts-story:hover { transform: translateY(-6px); color: var(--ts-text); box-shadow: 0 0 0 1px transparent, var(--ts-shadow); }
.ts-story-img { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ts-navy); }
.ts-story-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ts-ease); }
.ts-story:hover .ts-story-img img { transform: scale(1.06); }
.ts-story-mark { color: rgba(255, 255, 255, .25); }
.ts-story-mark .icon { width: 64px; height: 64px; }
.ts-story-body { display: flex; flex-direction: column; gap: .45rem; flex: 1; padding: 1.2rem 1.3rem 1.3rem; }
.ts-story-body small { font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ts-red); }
.ts-story-body strong { font-size: 1.05rem; font-weight: 500; line-height: 1.4; color: var(--ts-ink); }
.ts-story-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .88rem; font-weight: 300; line-height: 1.6; color: var(--ts-muted); }
.ts-story-go { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: .4rem; font-size: .84rem; font-weight: 500; color: var(--ts-navy); }
.ts-story-go .icon { width: 16px; height: 16px; transition: transform .3s var(--ts-ease); }
.ts-story:hover .ts-story-go .icon { transform: translateX(4px); }

/* ----------------------------------------------------- enquiry + ticket ---- */
.ts-body .hx-query { border-radius: 26px; }
.ts-body .hx-query-intro { background: var(--ts-navy); }
.ts-body .hx-query-intro h2 { font-weight: 400; letter-spacing: -.03em; }
.ts-body .hx-query-intro p { font-weight: 300; }
.ts-body .hx-pass { background: #fff; }
.ts-body .hx-faq summary { font-weight: 500; }
.ts-body .hx-faq-a { font-weight: 300; }
.ts-body .hx-faq details[open] summary, .ts-body .hx-faq summary:hover { color: var(--ts-navy); }

/* ------------------------------------------------- departure band + footer --- */
.ts-departure { position: relative; padding: 2.2rem 0; background: var(--ts-red); color: #fff; overflow: hidden; }
.ts-departure-row { display: flex; align-items: center; gap: 1.4rem; }
.ts-departure-ico { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 18px; background: #fff; color: var(--ts-red); transform: rotate(-8deg); }
.ts-departure-ico img { width: 46px; height: 46px; object-fit: contain; }
.ts-departure-copy { flex: 1; min-width: 0; }
.ts-departure-kicker { display: block; font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.ts-departure-copy strong { display: block; margin-top: .25rem; font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 400; letter-spacing: -.03em; }
.ts-departure-cta { display: flex; flex-wrap: wrap; gap: .7rem; }
.ts-body .ts-departure .hx-btn { background: #fff; color: var(--ts-red); box-shadow: 0 14px 28px -16px rgba(0, 0, 0, .5); }
.ts-body .ts-departure .hx-btn:hover { background: var(--ts-navy); color: #fff; }
.ts-body .ts-departure .ts-departure-call { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
.ts-body .ts-departure .ts-departure-call:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.ts-body .ts-footer { background: var(--ts-navy-dd); font-weight: 300; }
.ts-body .ts-footer h4 { color: #fff; font-weight: 500; }
.ts-body .ts-footer a:hover { color: #ff6b71; }
.ts-body .ts-footer-logo { padding: 10px 14px; border-radius: 16px; background: #fff; }
.ts-body .ts-footer-logo img { height: 58px; }
.ts-body .hx-footer-contact .icon { color: #ff6b71; }
.ts-body .ts-footer-mark { color: rgba(255, 255, 255, .035); }
.ts-body .hx-footer-bottom { border-top-color: rgba(255, 255, 255, .08); }

/* Floating buttons. */
.ts-body .hx-fab-q { background: var(--ts-red); }
.ts-body .hx-fab-wa { background: #1fa855; }
.ts-body .hx-totop { background: var(--ts-navy); color: #fff; }

/* App tabs: phones only. */
.ts-tabbar { display: none; }
.ts-drawer-wa { gap: .5rem; margin-bottom: .6rem; }
.ts-drawer-wa .icon { width: 18px; height: 18px; }

/* Header fit: the wider logo leaves less room, so links never wrap and tighten on smaller desktops. */
.ts-body .hx-nav-link { white-space: nowrap; padding: 0 .75rem; font-size: .9rem; }
.ts-body .hx-call { white-space: nowrap; }

/* ------------------------------------------------------------ blog post --- */
/* The story on the left; beside it the destination it is about, the other stories and a
   planning card that stays in view while the story scrolls (desktop); that destination's
   packages underneath. */
.ts-body .ts-post-page { background: var(--ts-sand); }
.ts-post { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; }
.ts-body .ts-post-main { align-self: start; max-width: none; border: 0; border-radius: 20px; box-shadow: 0 0 0 1px var(--ts-line), 0 24px 48px -36px rgba(11, 21, 48, .3); }
.ts-post-side { display: flex; flex-direction: column; gap: 1.2rem; }
.ts-post-place {
    display: inline-flex; align-items: center; gap: .4rem; margin-left: .7rem; padding: .22rem .7rem .22rem .32rem; border-radius: 999px;
    background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); color: #fff; font-size: .8rem; text-decoration: none;
}
.ts-post-place img { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; }
.ts-post-place:hover { background: #fff; color: var(--ts-navy); }

.ts-side-dest { position: relative; display: block; overflow: hidden; border-radius: 20px; background: var(--ts-navy); color: #fff; text-decoration: none; box-shadow: var(--ts-shadow); }
.ts-side-dest > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--ts-ease); }
.ts-side-dest::after { content: ""; position: absolute; inset: 0; background: rgba(4, 12, 34, .42); }
.ts-side-dest:hover { color: #fff; }
.ts-side-dest:hover > img { scale: 1.06; }
.ts-side-dest-body { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: .35rem; min-height: 250px; padding: 1.3rem; }
.ts-side-dest-body small { display: inline-flex; align-items: center; gap: .45rem; font-size: .66rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.ts-side-dest-body small img { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; }
.ts-side-dest-body strong { font-size: 1.35rem; font-weight: 400; letter-spacing: -.02em; line-height: 1.2; }
.ts-side-dest-body > span { font-size: .84rem; font-weight: 300; color: rgba(255, 255, 255, .9); }
.ts-side-dest-body em { display: inline-flex; align-items: center; gap: .4rem; margin-top: .5rem; font-style: normal; font-size: .84rem; font-weight: 500; }
.ts-side-dest-body em .icon { width: 16px; height: 16px; transition: transform .3s var(--ts-ease); }
.ts-side-dest:hover em .icon { transform: translateX(4px); }

.ts-side-card { padding: 1.3rem 1.3rem 1.2rem; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--ts-line); }
.ts-side-title { margin: 0 0 .8rem; font-size: 1.05rem; font-weight: 500; letter-spacing: -.01em; color: var(--ts-ink); }
.ts-side-posts { display: grid; gap: .2rem; margin: 0; padding: 0; list-style: none; }
.ts-side-posts a {
    display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: .85rem; align-items: center; margin: 0 -.5rem; padding: .5rem;
    border-radius: 12px; color: var(--ts-text); text-decoration: none; transition: background .25s;
}
.ts-side-posts a:hover { background: var(--ts-navy-t); color: var(--ts-text); }
.ts-side-thumb { position: relative; display: grid; place-items: center; width: 72px; height: 56px; overflow: hidden; border-radius: 10px; background: var(--ts-navy); color: rgba(255, 255, 255, .4); }
.ts-side-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .6s var(--ts-ease); }
.ts-side-posts a:hover .ts-side-thumb img { scale: 1.08; }
.ts-side-thumb .icon { width: 22px; height: 22px; }
.ts-side-post small { display: block; font-size: .64rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ts-red); }
.ts-side-post strong { display: -webkit-box; margin-top: .15rem; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: .88rem; font-weight: 500; line-height: 1.35; color: var(--ts-ink); }
.ts-side-all { display: inline-flex; align-items: center; gap: .4rem; margin-top: .7rem; font-size: .84rem; font-weight: 500; color: var(--ts-navy); text-decoration: none; }
.ts-side-all:hover { color: var(--ts-red); }
.ts-side-all .icon { width: 16px; height: 16px; }

.ts-side-cta { position: sticky; top: calc(var(--hx-header-h) + 20px); background: var(--ts-navy); color: #fff; box-shadow: none; }
.ts-body .ts-side-cta .hx-eyebrow { color: #ff8d92; }
.ts-body .ts-side-cta .hx-eyebrow::before { background: #ff8d92; }
.ts-side-cta strong { display: block; margin: .6rem 0 .4rem; font-size: 1.25rem; font-weight: 400; letter-spacing: -.02em; line-height: 1.25; }
.ts-side-cta p { margin: 0 0 1rem; font-size: .86rem; font-weight: 300; line-height: 1.6; color: rgba(255, 255, 255, .82); }
.ts-side-cta .hx-btn { width: 100%; justify-content: center; }
.ts-side-call { display: flex; align-items: center; justify-content: center; gap: .45rem; margin-top: .8rem; font-size: .88rem; color: #fff; text-decoration: none; }
.ts-side-call:hover { color: #ff8d92; }
.ts-side-call .icon { width: 16px; height: 16px; color: #ff8d92; }

.ts-post-tours { margin-top: 1rem; }

@media (max-width: 1100px) {
    .ts-post { grid-template-columns: minmax(0, 1fr) 300px; gap: 1.5rem; }
}
@media (max-width: 991.98px) {
    .ts-post { grid-template-columns: 1fr; }
    .ts-side-cta { position: static; }
}
@media (max-width: 767.98px) {
    .ts-post-place { margin: .5rem 0 0; }
    .ts-side-dest-body { min-height: 210px; }
}

/* ------------------------------------------------- package booking bar --- */
/* Phones and tablets, package pages: price, WhatsApp and Enquire fixed to the bottom in place
   of the tabs (the layout renders it when the page sets ViewData["TsBuyBarTitle"]). */
.ts-buybar { display: none; }

/* ------------------------------------------------ sightseeing (borrowed) --- */
/* theme1's sightseeing landing on the stations type scale: light headings, no italics. */
.ts-body .tl-hero h1 { font-weight: 300; letter-spacing: -.045em; }
.ts-body .tl-grad-text {
    background: none; -webkit-background-clip: border-box; background-clip: border-box;
    color: #ff8d92; -webkit-text-fill-color: currentColor; font-style: normal; font-weight: 400;
}
.ts-body :is(.tl-head h2, .tl-why-copy h2, .tl-enquire-copy h2, .tl-faq-intro h2, .tl-cta h2) { font-weight: 400; letter-spacing: -.03em; }

/* Package and destination pages: every section may shrink to the screen (the city route
   inside the itinerary scrolls sideways instead of widening the page on small phones). */
.ts-body .hx-cd-main { grid-template-columns: minmax(0, 1fr); }
.ts-body .hx-cd-main > * { min-width: 0; }
@media (max-width: 991.98px) {
    .ts-body .hx-cd { grid-template-columns: minmax(0, 1fr); }
}

/* Small desktops (992-1180px): with Sightseeing in the menu the bar runs out of room, so the
   in-page "Trip styles" link steps out (that section is on the home page itself). */
@media (max-width: 1180px) and (min-width: 992px) {
    .ts-body .hx-nav li:has(> a[href="/#styles"]) { display: none; }
    .ts-body .hx-nav-link { padding: 0 .5rem; }
}

/* ============================================================ responsive === */
@media (max-width: 1280px) {
    .ts-body .hx-call small { display: none; }
    .ts-body .hx-nav-link { padding: 0 .6rem; font-size: .86rem; }
}
@media (max-width: 1180px) {
    .ts-cine-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 2rem; }
    .ts-cine-cards { --step: 206px; height: 290px; }
    .ts-cine-card { width: 190px; height: 274px; }
    .ts-search-lead { padding-right: 1.1rem; }
}
@media (max-width: 1180px) and (min-width: 992px) {
    .ts-body .hx-call span:not(.hx-call-ico) { display: none; }
    .ts-body .ts-logo img { height: 54px; }
}
@media (max-width: 1100px) {
    .ts-destgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ts-destgrid > :nth-child(5n + 1) { grid-column: auto; }
}
@media (max-width: 991.98px) {
    :root { --hx-header-h: 68px; --ts-tab-h: 64px; }
    .ts-body .ts-logo img { height: 42px; }
    .ts-body .hx-header-actions .hx-btn, .ts-body .hx-call span:not(.hx-call-ico), .ts-body .hx-burger { display: none; }
    .ts-hwa { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #e7f8ee; color: #128c4a; box-shadow: inset 0 0 0 1px #c6ecd5; }
    .ts-hwa .icon { width: 21px; height: 21px; }

    /* Hero: the destination, then its cards and controls underneath. */
    .ts-cine { min-height: 0; padding: calc(var(--hx-header-h) + 40px) 0 104px; }
    .ts-cine-grid { grid-template-columns: 1fr; gap: 2.2rem; }
    .ts-cine-h1 { margin-bottom: 1.6rem; }
    .ts-cine-cards { --step: 172px; height: 236px; }
    .ts-cine-card { width: 156px; height: 222px; border-radius: 16px; }
    .ts-search { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; }
    .ts-search-lead { display: none; }

    .ts-signs, .ts-storygrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ts-destgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ts-departure-row { flex-wrap: wrap; }

    /* The journey runs down the page. */
    .ts-line { grid-template-columns: 1fr; gap: 1.6rem; padding-left: 0; }
    .ts-line-track { left: 31px; right: auto; top: 34px; bottom: 34px; width: 6px; height: auto; margin-top: 0; }
    .ts-line-fill { transform: scaleY(0); transform-origin: top; }
    .ts-line.is-on .ts-line-fill { transform: scaleY(1); }
    .ts-line-train { display: none; }
    .ts-stop { display: grid; grid-template-columns: 68px 1fr; column-gap: 1.1rem; text-align: left; padding: 0; }
    .ts-stop-dot { grid-row: 1 / span 3; margin: 0; }
    .ts-stop-no { justify-self: start; }

    /* App-style bottom tabs; the floating buttons step aside. */
    .ts-body .hx-fab { display: none; }
    .ts-tabbar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
        height: calc(var(--ts-tab-h) + env(safe-area-inset-bottom, 0px)); padding: 0 4px env(safe-area-inset-bottom, 0px);
        background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
        border-top: 1px solid var(--ts-line); box-shadow: 0 -10px 30px -18px rgba(11, 21, 48, .3);
    }
    .ts-tab {
        position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: var(--ts-tab-h);
        padding: 0; border: 0; background: none; cursor: pointer; text-decoration: none; color: #7a8196;
        font: 400 .66rem/1 var(--ts-font); -webkit-tap-highlight-color: transparent; transition: color .2s, transform .15s;
    }
    .ts-tab .icon { width: 23px; height: 23px; }
    .ts-tab.is-active, .ts-tab[aria-expanded="true"] { color: var(--ts-navy); font-weight: 500; }
    .ts-tab.is-active::before { content: ""; position: absolute; top: 0; left: 50%; width: 30px; height: 3px; margin-left: -15px; border-radius: 0 0 4px 4px; background: var(--ts-red); }
    .ts-tab:active { transform: scale(.92); }
    .ts-tab--main { color: var(--ts-red); justify-content: flex-end; padding-bottom: 9px; font-weight: 500; }
    .ts-tab--main:active { transform: none; }
    .ts-tab-main { display: grid; place-items: center; width: 54px; height: 54px; margin: -30px 0 2px; border-radius: 17px; background: var(--ts-red); color: #fff; box-shadow: 0 0 0 5px #fff, 0 12px 22px -8px rgba(224, 12, 20, .75); transform: rotate(45deg); transition: transform .15s; }
    .ts-tab-main .icon { width: 24px; height: 24px; transform: rotate(-45deg); }
    .ts-tab--main:active .ts-tab-main { transform: rotate(45deg) scale(.92); }
    body.ts-body { padding-bottom: calc(var(--ts-tab-h) + env(safe-area-inset-bottom, 0px)); }
    .ts-buybar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: flex; align-items: center; gap: .6rem;
        height: calc(var(--ts-tab-h) + 8px + env(safe-area-inset-bottom, 0px)); padding: 0 14px env(safe-area-inset-bottom, 0px);
        background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
        border-top: 1px solid var(--ts-line); box-shadow: 0 -10px 30px -18px rgba(11, 21, 48, .3);
    }
    .ts-buybar-price { display: flex; flex: 1; flex-direction: column; min-width: 0; line-height: 1.2; }
    .ts-buybar-price small { font-size: .6rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ts-muted); }
    .ts-buybar-price strong { overflow: hidden; font-size: 1.2rem; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; text-overflow: ellipsis; color: var(--ts-navy); }
    .ts-buybar-wa { display: grid; flex: none; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #e7f8ee; color: #128c4a; box-shadow: inset 0 0 0 1px #c6ecd5; }
    .ts-buybar-wa .icon { width: 22px; height: 22px; }
    .ts-body .ts-buybar-go { flex: none; min-height: 48px; padding: 0 1.2rem; border-radius: 14px; }
    .ts-buybar-go .icon { width: 18px; height: 18px; }
    body.ts-body.ts-has-buybar { padding-bottom: calc(var(--ts-tab-h) + 8px + env(safe-area-inset-bottom, 0px)); }
    .ts-body .hx-toast { top: auto; bottom: calc(var(--ts-tab-h) + 16px); }
}
@media (max-width: 767.98px) {
    .ts-body .ts-logo img { height: 48px; }

    .ts-cine { padding: calc(var(--hx-header-h) + 28px) 0 92px; }
    .ts-cine-h1 { gap: .65rem; margin-bottom: 1.3rem; font-size: .86rem; }
    .ts-cine-h1::before { width: 24px; }
    .ts-cine-place { font-size: .66rem; letter-spacing: .2em; }
    .ts-cine-name { font-size: clamp(2.6rem, 12vw, 4.2rem); }
    .ts-cine-name { font-size: min(4.6rem, calc(100cqw / (var(--len, 8) * .76))); }
    .ts-cine-tag { margin-bottom: 1.3rem; font-size: 1.02rem; }
    .ts-cine-meta { gap: .45rem; margin-bottom: 1.5rem; }
    .ts-cine-meta li { padding: .5rem .75rem; border-radius: 12px; }
    .ts-cine-meta b { font-size: .84rem; }
    .ts-cine-cta .hx-btn { flex: 1 1 auto; justify-content: center; min-height: 50px; padding: 0 1.1rem; }
    .ts-cine-cards { --step: 144px; height: 200px; }
    .ts-cine-card { width: 132px; height: 188px; border-radius: 14px; }
    .ts-cine-card[data-pos="1"]::before { top: 8px; left: 8px; padding: .22rem .5rem; font-size: .5rem; }
    .ts-cine-card-txt { left: 8px; right: 8px; bottom: 8px; padding: .5rem .6rem; border-radius: 10px; }
    .ts-cine-card-txt b { font-size: .84rem; }
    .ts-cine-bar { gap: .75rem; margin-top: 1.4rem; }
    .ts-cine-count b { font-size: 1.7rem; }
    .ts-cine-arrow { width: 44px; height: 44px; }
    .ts-cine-dock { margin-top: -44px; }
    .ts-search { grid-template-columns: 1fr 1fr; padding: .4rem; border-radius: 16px; }
    .ts-search-field { padding: .5rem .75rem; }
    .ts-search-field:nth-child(3) { border-right: 0; }
    .ts-search-field select { font-size: 16px; }
    .ts-search-go { grid-column: 1 / -1; min-height: 50px; margin: .4rem 0 0; }

    .ts-signs, .ts-storygrid, .ts-destgrid { grid-template-columns: 1fr; }
    .ts-body .ts-sign { min-height: 250px; }
    .ts-body .ts-dest { min-height: 280px; }
    .ts-departure { padding: 1.6rem 0; }
    .ts-departure-cta { width: 100%; }
    .ts-departure-cta .hx-btn { flex: 1 1 auto; }

    /* The long lists become swipeable rails, like an app (and the page stays short). */
    .ts-signs, .ts-destgrid, .ts-storygrid, .ts-packages .hx-tours {
        display: grid; grid-auto-flow: column; grid-template-columns: none; gap: .9rem;
        overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
        margin: 0 -16px; padding: .4rem 16px 1.2rem; scroll-padding: 0 16px;
    }
    .ts-signs::-webkit-scrollbar, .ts-destgrid::-webkit-scrollbar, .ts-storygrid::-webkit-scrollbar, .ts-packages .hx-tours::-webkit-scrollbar { display: none; }
    .ts-signs { grid-auto-columns: 80%; }
    .ts-destgrid { grid-auto-columns: 78%; }
    .ts-storygrid, .ts-packages .hx-tours { grid-auto-columns: 84%; }
    .ts-signs > *, .ts-destgrid > *, .ts-storygrid > *, .ts-packages .hx-tours > * { scroll-snap-align: start; }
    .ts-destgrid > :nth-child(5n + 1) { grid-column: auto; }
    .ts-body .ts-dest { min-height: 320px; }
    /* Tilt and lift effects stay off on touch rails. */
    .ts-body .ts-dest, .ts-story { transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
    .ts-cine-bg.is-active { animation: none; }
    .ts-l, .ts-cine-place, .ts-cine-tag, .ts-cine-meta, .ts-cine-card { transition: none; }
    .ts-cine-progress { display: none; }
    .ts-line-fill, .ts-line-train { transition: none; }
}
