/* ==========================================================================
   CINE — cinematic listing layer (packages · destinations · hotels · taxi)
   Scoped entirely to .cx-* so the existing filter system (.pfilter, .mfab,
   sort/view tools, active-filter chips) is never touched.
   Motion = transform/opacity/clip-path/filter only (GPU-friendly). No layout
   animation. Everything is visible without JS (.cx-js gates the hidden state).
   ========================================================================== */
:root {
  --cx-ink: #0a1428;
  --cx-ink-2: #1b2842;
  --cx-sub: #5b6a83;
  --cx-mute: #8d99ae;
  --cx-line: rgba(12, 22, 46, .08);
  --cx-r: 26px;
  --cx-ease: cubic-bezier(.16, 1, .3, 1);
  --cx-ease-io: cubic-bezier(.65, 0, .35, 1);
  --cx-sh: 0 1px 2px rgba(10, 20, 40, .04), 0 22px 44px -30px rgba(10, 20, 40, .38);
  --cx-sh-hi: 0 2px 4px rgba(10, 20, 40, .05), 0 40px 70px -34px rgba(10, 20, 40, .5);
  --cx-ok: #0e8a5f;
  --cx-req: #b45309;
}

/* ---------- editorial result intro ---------- */
.cx-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 4px 0 22px; }
.cx-intro-k { font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--tp); display: inline-flex; align-items: center; gap: 10px; }
.cx-intro-k::before { content: ""; width: 26px; height: 1.5px; background: currentColor; opacity: .7; }
.cx-intro-t { margin: 6px 0 0; font-size: clamp(1.35rem, 2.1vw, 1.75rem); font-weight: 800; letter-spacing: -.025em; color: var(--cx-ink); line-height: 1.15; }
.cx-intro-t em { font-style: normal; color: var(--cx-mute); font-weight: 600; }

/* ---------- editorial flow grid ---------- */
.cx-flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 30px 24px; }
.cx-flow > .cx-feature, .cx-flow > .cx-wide, .cx-flow > .cx-rail { grid-column: 1 / -1; }
.cx-flow > .cx-std { grid-column: span 3; }
.cx-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cx-rows { display: flex; flex-direction: column; gap: 16px; }

/* ---------- card base ---------- */
.cx-card { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border-radius: var(--cx-r);
  border: 1px solid var(--cx-line); box-shadow: var(--cx-sh); isolation: isolate;
  transition: transform .55s var(--cx-ease), box-shadow .55s var(--cx-ease), border-color .4s; }
.cx-card:hover { transform: translate3d(0, -6px, 0); box-shadow: var(--cx-sh-hi); border-color: color-mix(in srgb, var(--tp) 18%, var(--cx-line)); }
.cx-card:active { transform: translate3d(0, -2px, 0) scale(.994); transition-duration: .15s; }
.cx-card:focus-within { outline: 2px solid color-mix(in srgb, var(--tp) 55%, transparent); outline-offset: 3px; }
.cx-card a:focus-visible { outline: none; }
@media (hover: hover) and (pointer: fine) {
  .cx-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 5; opacity: 0; transition: opacity .45s;
    background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--tp) 9%, transparent), transparent 42%); }
  .cx-card:hover::before { opacity: 1; }
}

/* media */
.cx-media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: calc(var(--cx-r) - 1px) calc(var(--cx-r) - 1px) 0 0;
  background: linear-gradient(150deg, #13223f, #0a1428); transform: translateZ(0); }
.cx-par { position: absolute; left: 0; right: 0; top: -9%; bottom: -9%; will-change: transform; }
.cx-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02);
  transition: transform 1.2s var(--cx-ease), filter .9s ease, opacity .7s ease; }
.cx-card:hover .cx-img { transform: scale(1.075); }
.cx-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 10, 24, .28) 0%, rgba(5, 10, 24, 0) 26%, rgba(5, 10, 24, 0) 52%, rgba(5, 10, 24, .5) 100%); }
.cx-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .5);
  background:
    radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--tp) 55%, transparent), transparent 55%),
    radial-gradient(90% 80% at 10% 100%, rgba(56, 120, 255, .38), transparent 60%),
    linear-gradient(150deg, #16264a, #070e1f); }
.cx-fallback::after { content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 34px 34px; mask-image: radial-gradient(80% 70% at 50% 50%, #000, transparent); -webkit-mask-image: radial-gradient(80% 70% at 50% 50%, #000, transparent); }
.cx-fallback svg { position: relative; z-index: 1; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .35)); }
.cx-fallback[data-h="1"] { filter: hue-rotate(28deg); }
.cx-fallback[data-h="2"] { filter: hue-rotate(-24deg); }
.cx-fallback[data-h="3"] { filter: hue-rotate(160deg) saturate(.8); }
.cx-fallback[data-h="4"] { filter: hue-rotate(60deg) saturate(.9); }

/* chips on media */
.cx-chips { position: absolute; z-index: 2; top: 14px; left: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.cx-chips .cx-push { margin-left: auto; }
.cx-chip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 11px; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .01em;
  color: #fff; background: rgba(8, 14, 30, .42); border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(10px) saturate(1.5); backdrop-filter: blur(10px) saturate(1.5); white-space: nowrap; }
.cx-chip svg { width: 12px; height: 12px; }
.cx-chip.cx-gold { color: #3b2400; background: linear-gradient(135deg, #ffe6a3, #f5c451); border-color: transparent; }
.cx-chip.cx-live { background: rgba(14, 138, 95, .82); border-color: transparent; }

/* body */
.cx-body { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 9px; flex: 1; padding: 20px 22px 22px; min-width: 0; }
.cx-eyebrow { display: flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--tp); min-width: 0; }
.cx-eyebrow span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-eyebrow svg { width: 13px; height: 13px; flex: 0 0 auto; }
.cx-title { margin: 0; font-size: 1.24rem; line-height: 1.18; letter-spacing: -.022em; font-weight: 800; color: var(--cx-ink); }
.cx-title a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--cx-ease); }
.cx-card:hover .cx-title a { background-size: 100% 1.5px; }
.cx-desc { margin: 0; font-size: .9rem; line-height: 1.58; color: var(--cx-sub); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cx-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .8rem; font-weight: 600; color: var(--cx-sub); }
.cx-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.cx-meta svg { width: 14px; height: 14px; color: var(--cx-mute); }
.cx-rate { color: var(--cx-ink) !important; }
.cx-rate b { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 7px; background: var(--cx-ink); color: #fff; font-size: .74rem; font-weight: 800; }
.cx-stars { color: #f0a92e; letter-spacing: 1.5px; font-size: .78rem; }

/* availability indicator */
.cx-avail { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; color: var(--cx-ok); white-space: nowrap; }
.cx-avail i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.cx-avail i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid currentColor; opacity: 0; animation: cxPulse 2.6s var(--cx-ease) infinite; }
.cx-avail.req { color: var(--cx-req); }
.cx-avail.req i::after { animation: none; }
@keyframes cxPulse { 0% { transform: scale(.6); opacity: .7; } 70%, 100% { transform: scale(1.7); opacity: 0; } }

/* price + CTA */
.cx-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--cx-line); display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.cx-price { display: flex; flex-direction: column; gap: 3px; line-height: 1; min-width: 0; }
.cx-price > span { font-size: .63rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cx-mute); }
.cx-price b { font-size: 1.5rem; font-weight: 900; letter-spacing: -.03em; color: var(--cx-ink); font-variant-numeric: tabular-nums; }
.cx-price b small { font-size: .74rem; font-weight: 600; letter-spacing: 0; color: var(--cx-mute); margin-left: 3px; }
.cx-price b.cx-ask { font-size: 1.05rem; letter-spacing: -.01em; }
.cx-cta { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px 0 20px; border-radius: 999px; flex: 0 0 auto;
  background: var(--cx-ink); color: #fff; font-size: .86rem; font-weight: 700; text-decoration: none; overflow: hidden;
  transition: background .35s, box-shadow .35s, transform .2s; }
.cx-cta svg { width: 16px; height: 16px; transition: transform .45s var(--cx-ease); }
.cx-cta:hover, .cx-card:hover .cx-cta { background: var(--tp); color: #fff; box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--tp) 75%, transparent); }
.cx-card:hover .cx-cta svg { transform: translateX(3px); }
.cx-cta:active { transform: scale(.96); }
.cx-cta:focus-visible { outline: 2px solid var(--tp); outline-offset: 3px; }

/* ---------- FEATURE (editorial hero card) ---------- */
.cx-feature { min-height: 0; border: 0; background: #0a1428; }
.cx-feature .cx-media { aspect-ratio: 21 / 9; min-height: 430px; border-radius: var(--cx-r); }
.cx-feature .cx-scrim { background: linear-gradient(180deg, rgba(5,10,24,.35) 0%, rgba(5,10,24,0) 24%, rgba(5,10,24,.05) 42%, rgba(5,10,24,.88) 100%),
                                    linear-gradient(90deg, rgba(5,10,24,.55) 0%, rgba(5,10,24,0) 60%); }
.cx-feature .cx-body, .cx-trio .cx-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; pointer-events: none; }
.cx-feature .cx-body a, .cx-trio .cx-body a { pointer-events: auto; }
.cx-feature .cx-body { padding: 40px 44px 38px; gap: 12px; max-width: 900px; }
.cx-feature .cx-eyebrow { color: #fff; opacity: .92; }
.cx-feature .cx-eyebrow::before { content: ""; width: 24px; height: 1.5px; background: currentColor; }
.cx-feature .cx-title { color: #fff; font-size: clamp(1.9rem, 3.4vw, 3.05rem); line-height: 1.02; letter-spacing: -.035em; max-width: 16ch; text-wrap: balance; }
.cx-feature .cx-desc { color: rgba(255, 255, 255, .8); font-size: 1rem; max-width: 56ch; -webkit-line-clamp: 2; }
.cx-feature .cx-meta { color: rgba(255, 255, 255, .86); }
.cx-feature .cx-meta svg { color: rgba(255, 255, 255, .6); }
.cx-feature .cx-foot { border-top-color: rgba(255, 255, 255, .16); justify-content: flex-start; gap: 28px; }
.cx-feature .cx-price > span, .cx-feature .cx-price b small { color: rgba(255, 255, 255, .62); }
.cx-feature .cx-price b { color: #fff; font-size: 2rem; }
.cx-feature .cx-avail { color: #6ee7b7; }
.cx-feature .cx-avail.req { color: #fcd34d; }
.cx-feature .cx-cta { background: #fff; color: var(--cx-ink); height: 50px; padding: 0 22px 0 26px; font-size: .92rem; margin-left: auto; }
.cx-feature:hover .cx-cta { background: var(--tp); color: #fff; }
.cx-feature .cx-chips { top: 22px; left: 24px; right: 24px; }
.cx-kicker { position: absolute; z-index: 3; top: 22px; right: 24px; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 13px; border-radius: 999px;
  font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); pointer-events: none; }

/* ---------- WIDE (asymmetric split) ---------- */
.cx-wide { flex-direction: row; min-height: 330px; }
.cx-wide .cx-media { flex: 0 0 57%; aspect-ratio: auto; border-radius: calc(var(--cx-r) - 1px) 0 0 calc(var(--cx-r) - 1px); }
.cx-wide .cx-body { padding: 34px 36px 30px; justify-content: center; gap: 11px; }
.cx-wide .cx-title { font-size: clamp(1.4rem, 2vw, 1.8rem); letter-spacing: -.03em; line-height: 1.08; }
.cx-wide .cx-desc { -webkit-line-clamp: 3; }
.cx-wide .cx-foot { margin-top: 10px; }
.cx-wide.cx-flip { flex-direction: row-reverse; }
.cx-wide.cx-flip .cx-media { border-radius: 0 calc(var(--cx-r) - 1px) calc(var(--cx-r) - 1px) 0; }

/* ---------- TRIO (portrait, overlay) ---------- */
.cx-trio { border: 0; background: #0a1428; }
.cx-trio .cx-media { aspect-ratio: 4 / 5; border-radius: var(--cx-r); }
.cx-trio .cx-scrim { background: linear-gradient(180deg, rgba(5,10,24,.3) 0%, rgba(5,10,24,0) 24%, rgba(5,10,24,0) 44%, rgba(5,10,24,.9) 100%); }
.cx-trio .cx-body { padding: 20px 20px 18px; gap: 8px; }
.cx-trio .cx-eyebrow { color: rgba(255, 255, 255, .85); }
.cx-trio .cx-title { color: #fff; font-size: 1.16rem; }
.cx-trio .cx-meta { color: rgba(255, 255, 255, .8); font-size: .76rem; }
.cx-trio .cx-meta svg { color: rgba(255, 255, 255, .55); }
.cx-trio .cx-desc { display: none; }
.cx-trio .cx-foot { border-top-color: rgba(255, 255, 255, .16); padding-top: 12px; }
.cx-trio .cx-price > span, .cx-trio .cx-price b small { color: rgba(255, 255, 255, .6); }
.cx-trio .cx-price b { color: #fff; font-size: 1.28rem; }
.cx-trio .cx-cta { width: 42px; height: 42px; padding: 0; justify-content: center; background: #fff; color: var(--cx-ink); }
.cx-trio .cx-cta span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cx-trio:hover .cx-cta { background: var(--tp); color: #fff; }
.cx-trio .cx-avail { display: none; }

/* ---------- ROW (compact intelligent list) ---------- */
.cx-row { flex-direction: row; min-height: 176px; border-radius: 22px; }
.cx-row .cx-media { flex: 0 0 250px; aspect-ratio: auto; border-radius: 21px 0 0 21px; }
.cx-row .cx-body { flex-direction: row; padding: 0; gap: 0; }
.cx-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 20px 24px; justify-content: center; }
.cx-row-main .cx-desc { -webkit-line-clamp: 2; font-size: .86rem; }
.cx-row-side { flex: 0 0 210px; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 10px; padding: 20px 24px;
  border-left: 1px dashed var(--cx-line); text-align: right; }
.cx-row-side .cx-price { align-items: flex-end; }
.cx-row .cx-foot { display: none; }

/* ---------- DESTINATION mosaic ---------- */
.cx-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 250px; grid-auto-flow: row dense; gap: 20px; }
.cx-mosaic.n1 { grid-template-columns: 1fr; grid-auto-rows: 480px; }
.cx-mosaic.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 440px; }
.cx-dcard { position: relative; display: block; min-width: 0; border-radius: var(--cx-r); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate;
  background: #0a1428; box-shadow: var(--cx-sh); transition: transform .55s var(--cx-ease), box-shadow .55s var(--cx-ease); }
.cx-dcard:hover { transform: translate3d(0, -6px, 0); box-shadow: var(--cx-sh-hi); color: #fff; }
.cx-dcard:focus-visible { outline: 2px solid var(--tp); outline-offset: 3px; }
.cx-mosaic > .c-big { grid-column: span 2; grid-row: span 2; }
.cx-mosaic > .c-wide { grid-column: span 2; }
.cx-mosaic > .c-tall { grid-row: span 2; }
.cx-dcard .cx-media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.cx-dcard .cx-scrim { background: linear-gradient(180deg, rgba(5,10,24,.32) 0%, rgba(5,10,24,0) 28%, rgba(5,10,24,0) 45%, rgba(5,10,24,.86) 100%); }
.cx-dcard .cx-chips { top: 16px; left: 16px; right: 16px; }
.cx-dcard-b { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 8px; }
.cx-dcard-name { margin: 0; font-size: 1.32rem; font-weight: 800; letter-spacing: -.028em; line-height: 1.05; color: #fff; text-wrap: balance; }
.cx-dcard.c-big .cx-dcard-name { font-size: clamp(1.9rem, 3vw, 2.7rem); letter-spacing: -.04em; }
.cx-dcard.c-big .cx-dcard-b { padding: 32px 32px 28px; gap: 11px; }
.cx-dcard-desc { margin: 0; font-size: .88rem; line-height: 1.55; color: rgba(255, 255, 255, .78); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  max-height: 0; opacity: 0; transform: translate3d(0, 8px, 0); transition: max-height .6s var(--cx-ease), opacity .45s, transform .6s var(--cx-ease); }
.cx-dcard.c-big .cx-dcard-desc, .cx-dcard.c-wide .cx-dcard-desc, .cx-dcard:hover .cx-dcard-desc, .cx-dcard:focus-visible .cx-dcard-desc { max-height: 3.2em; opacity: 1; transform: none; }
.cx-dcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .16); }
.cx-dcard-foot .cx-avail { color: #6ee7b7; }
.cx-dcard-foot .cx-avail.req { color: #fcd34d; }
.cx-dcard-go { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .35s, transform .45s var(--cx-ease); }
.cx-dcard-go svg { width: 17px; height: 17px; }
.cx-dcard:hover .cx-dcard-go { background: var(--tp); border-color: transparent; transform: rotate(-35deg); }
.cx-dcard .cx-idx { position: absolute; z-index: 3; right: 18px; bottom: 16px; font-size: .7rem; font-weight: 800; letter-spacing: .12em; color: rgba(255,255,255,.35); display: none; }

/* ==========================================================================
   SCROLL NARRATIVE — reveal, masked media, blur→sharp, stagger
   ========================================================================== */
.cx-js .cx-r:not(.is-done) { transition: opacity .9s var(--cx-ease), transform 1.1s var(--cx-ease); transition-delay: var(--d, 0ms); }
.cx-js .cx-r:not(.is-in) { opacity: 0; transform: translate3d(0, 44px, 0) scale(.985); }
.cx-js .cx-r .cx-media { clip-path: inset(0 0 0 0 round 0px); }
.cx-js .cx-r:not(.is-done) .cx-media { transition: clip-path 1.25s var(--cx-ease); transition-delay: calc(var(--d, 0ms) + 60ms); }
.cx-js .cx-r:not(.is-in) .cx-media { clip-path: inset(10% 7% 10% 7% round 22px); }
.cx-js .cx-r.is-done .cx-media { clip-path: none; }
.cx-js .cx-dcard.cx-r .cx-media { clip-path: none; }
.cx-js .cx-dcard.cx-r:not(.is-in) { clip-path: inset(12% 10% 12% 10% round 30px); }
.cx-js .cx-dcard.cx-r:not(.is-done) { transition: opacity .9s var(--cx-ease), transform 1.1s var(--cx-ease), clip-path 1.25s var(--cx-ease); transition-delay: var(--d, 0ms); }
.cx-js .cx-dcard.cx-r.is-in { clip-path: inset(0 0 0 0 round var(--cx-r)); }
.cx-js .cx-dcard.cx-r.is-done { clip-path: none; }
.cx-js .cx-s { transition: opacity .75s ease, transform .9s var(--cx-ease); }
.cx-js .cx-r:not(.is-done) .cx-s { transition-delay: calc(var(--d, 0ms) + 260ms + var(--s, 0) * 75ms); }
.cx-js .cx-r:not(.is-in) .cx-s { opacity: 0; transform: translate3d(0, 16px, 0); }
.cx-js .cx-img:not(.is-ld) { opacity: .55; filter: blur(22px) saturate(1.25); transform: scale(1.14); }
.cx-js .cx-r:not(.is-in) .cx-img { transform: scale(1.14); }

/* ==========================================================================
   RESPONSIVE — designed per breakpoint, not just resized
   ========================================================================== */
@media (max-width: 1199.98px) {
  .cx-feature .cx-media { min-height: 400px; aspect-ratio: 16 / 8; }
  .cx-feature .cx-body { padding: 32px 34px 30px; }
  .cx-wide .cx-media { flex-basis: 50%; }
  .cx-wide .cx-body { padding: 28px 28px 24px; }
  .cx-rail { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(250px, 42%); overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: 2px; padding: 2px 2px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .cx-rail::-webkit-scrollbar { display: none; }
  .cx-rail > * { scroll-snap-align: start; }
  .cx-row .cx-media { flex-basis: 210px; }
  .cx-row-side { flex-basis: 190px; }
  .cx-mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 230px; }
}
@media (max-width: 991.98px) {
  .cx-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .cx-mosaic > .c-wide { grid-column: span 2; }
}
@media (max-width: 767.98px) {
  :root { --cx-r: 22px; }
  .cx-intro { margin-bottom: 16px; }
  .cx-flow { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .cx-flow > .cx-std { grid-column: 1 / -1; }
  /* feature becomes a tall magazine cover */
  .cx-feature .cx-media { aspect-ratio: 4 / 5; min-height: 0; max-height: 78vh; }
  .cx-feature .cx-body { padding: 24px 22px 22px; gap: 10px; }
  .cx-feature .cx-title { font-size: clamp(1.75rem, 8vw, 2.25rem); }
  .cx-feature .cx-desc { font-size: .9rem; }
  .cx-feature .cx-foot { gap: 14px; flex-wrap: wrap; }
  .cx-feature .cx-price b { font-size: 1.6rem; }
  .cx-feature .cx-cta { height: 46px; }
  .cx-feature .cx-chips { top: 16px; left: 16px; right: 16px; }
  .cx-kicker { top: 16px; right: 16px; }
  /* wide becomes a cinematic stacked card */
  .cx-wide, .cx-wide.cx-flip { flex-direction: column; min-height: 0; }
  .cx-wide .cx-media, .cx-wide.cx-flip .cx-media { flex: none; aspect-ratio: 16 / 11; border-radius: calc(var(--cx-r) - 1px) calc(var(--cx-r) - 1px) 0 0; }
  .cx-wide .cx-body { padding: 20px 20px 20px; }
  /* rail = horizontal immersive strip, edge to edge */
  .cx-rail { grid-auto-columns: 74%; gap: 14px; margin-inline: -12px; padding-inline: 12px; scroll-padding-inline: 12px; }
  .cx-body { padding: 18px 18px 18px; }
  .cx-price b { font-size: 1.36rem; }
  .cx-cta { height: 42px; padding: 0 16px 0 18px; }
  /* compact rows */
  .cx-row { min-height: 0; }
  .cx-row .cx-media { flex-basis: 112px; border-radius: 21px 0 0 21px; }
  .cx-row .cx-body { flex-direction: column; }
  .cx-row-main { padding: 14px 14px 8px; gap: 5px; }
  .cx-row-main .cx-desc { display: none; }
  .cx-row-main .cx-title { font-size: 1rem; }
  .cx-row-main .cx-meta { font-size: .72rem; gap: 4px 10px; }
  .cx-row-side { flex: none; flex-direction: row; align-items: center; justify-content: space-between; padding: 10px 14px 14px; border-left: 0; border-top: 1px dashed var(--cx-line); text-align: left; }
  .cx-row-side .cx-price { align-items: flex-start; }
  .cx-row-side .cx-price b { font-size: 1.15rem; }
  .cx-row-side .cx-avail { display: none; }
  .cx-row-side .cx-cta { height: 36px; padding: 0 12px 0 14px; font-size: .78rem; }
  /* destinations */
  .cx-mosaic, .cx-mosaic.n1, .cx-mosaic.n2 { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 16px; }
  .cx-mosaic > .c-big, .cx-mosaic > .c-wide, .cx-mosaic > .c-tall { grid-column: auto; grid-row: auto; }
  .cx-dcard { aspect-ratio: 4 / 3.1; }
  .cx-dcard:first-child, .cx-dcard.c-big { aspect-ratio: 4 / 4.8; }
  .cx-dcard .cx-dcard-desc { max-height: 3.2em; opacity: 1; transform: none; }
  .cx-dcard.c-big .cx-dcard-b { padding: 24px 22px 20px; }
  .cx-js .cx-r:not(.is-in) { transform: translate3d(0, 30px, 0); }
}

/* ==========================================================================
   Accessibility — reduced motion: everything static & visible
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .cx-js .cx-r, .cx-js .cx-r .cx-s, .cx-js .cx-r .cx-media, .cx-js .cx-img, .cx-js .cx-dcard.cx-r { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; transition: none !important; }
  .cx-card, .cx-dcard, .cx-img, .cx-cta, .cx-dcard-go { transition: none !important; }
  .cx-card:hover, .cx-dcard:hover { transform: none; }
  .cx-card:hover .cx-img { transform: scale(1.02); }
  .cx-avail i::after { animation: none; }
  .cx-par { transform: none !important; }
}

/* taxi results host: the JS renders a .cx-flow / .cx-rows inside #txCards */
#txCards.tx-cards { display: block; }

/* overlay cards: keep the fallback emblem clear of the overlaid copy; readable rating on dark media */
.cx-feature .cx-fallback svg { transform: translateY(-62%); opacity: .75; }
.cx-trio .cx-fallback svg { transform: translateY(-58%); }
.cx-feature .cx-rate, .cx-trio .cx-rate { color: #fff !important; }
.cx-feature .cx-rate b, .cx-trio .cx-rate b { background: #fff; color: var(--cx-ink); }
@media (max-width: 767.98px) { .cx-feature .cx-fallback svg { transform: translateY(-90%); } }
.cx-dcard-name, .cx-feature .cx-title, .cx-trio .cx-title { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.cx-dcard-desc, .cx-feature .cx-desc { text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
@media (max-width: 767.98px) { .cx-row .cx-chips { top: 10px; left: 10px; right: 10px; } .cx-row .cx-chips .cx-push { display: none; } .cx-row .cx-chip { height: 22px; padding: 0 8px; font-size: .64rem; } }
