/* ==========================================================================
   Component — Homepage Sections
   Service tiles · destinations · features · testimonials · stats · blog · CTA
   ========================================================================== */

/* --- Service tiles ------------------------------------------------------- */
.wu-service-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--wu-space-2);
  padding: var(--wu-space-5);
  border: 1px solid var(--wu-border);
  background: var(--wu-surface);
  color: var(--wu-text);
  overflow: hidden;
  transition: transform var(--wu-duration) var(--wu-ease),
              box-shadow var(--wu-duration) var(--wu-ease),
              border-color var(--wu-duration) var(--wu-ease);
}
.wu-service-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--wu-shadow);
  border-color: var(--wu-service);
  color: var(--wu-text);
}

/* Accent wash that grows on hover */
.wu-service-tile::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--wu-service) 14%, transparent);
  opacity: 0;
  transition: opacity var(--wu-duration) var(--wu-ease),
              transform var(--wu-duration) var(--wu-ease-out);
}
.wu-service-tile:hover::after { opacity: 1; transform: scale(1.25); }

.wu-service-tile-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--wu-radius);
  background: color-mix(in srgb, var(--wu-service) 12%, transparent);
  color: var(--wu-service);
}
.wu-service-tile-icon svg { width: 24px; height: 24px; }
/* --------------------------------------------------------------------------
   TRUST STRIP
   Quantified proof directly under the search widget, where the decision is
   made. The figures are filled from the dataset by js/pages/home.js, so the
   only thing this file owns is how they look. Display face on the figure ties
   it to the section heads and the serif hero rather than inventing a style.
   -------------------------------------------------------------------------- */
.wu-trust { margin-block-start: var(--wu-space-6); }
.wu-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wu-space-5) var(--wu-space-7);
  margin: 0;
  padding: 0;
  list-style: none;
}
.wu-trust-item {
  display: flex;
  flex-direction: column;
  gap: var(--wu-space-1);
  padding-inline-start: var(--wu-space-4);
  border-inline-start: 2px solid var(--wu-primary);
}
.wu-trust-figure {
  font-family: var(--wu-font-display);
  font-size: var(--wu-fs-xl);
  line-height: var(--wu-lh-tight);
  color: var(--wu-heading);
}
.wu-trust-label {
  font-size: var(--wu-fs-sm);
  color: var(--wu-text-muted);
}

.wu-service-tile h3 { margin: 0; font-size: var(--wu-fs-lg); line-height: var(--wu-lh-snug); }
.wu-service-tile-count {
  margin-top: auto;
  padding-top: var(--wu-space-3);
  font-size: var(--wu-fs-xs);
  font-weight: var(--wu-fw-semibold);
  /* 12px of the raw service accent on white measured 3.30:1 for tours and
     3.56:1 for transfers - the green and the orange are the two that fail.
     Same treatment as the badges: darken where the accent is text, leave the
     token alone for everything that uses it as a fill. */
  color: color-mix(in srgb, var(--wu-service) 80%, black);
}

/* --- Pill tab strip (featured section) ----------------------------------- */
.wu-pill-tabs { display: flex; flex-wrap: wrap; gap: var(--wu-space-2); }
.wu-pill-tabs button {
  padding: .5rem 1.1rem;
  border: 1px solid var(--wu-border);
  border-radius: var(--wu-radius-pill);
  background: var(--wu-surface);
  font-family: inherit;
  font-size: var(--wu-fs-sm);
  font-weight: var(--wu-fw-medium);
  color: var(--wu-text);
  cursor: pointer;
  transition: background-color var(--wu-duration-sm) var(--wu-ease),
              border-color var(--wu-duration-sm) var(--wu-ease),
              color var(--wu-duration-sm) var(--wu-ease);
}
.wu-pill-tabs button:hover { border-color: var(--wu-service); color: var(--wu-service); }
.wu-pill-tabs button.is-active {
  background: var(--wu-service-text);
  border-color: var(--wu-service);
  color: #fff;
}

/* --- Destination cards --------------------------------------------------- */
.wu-destinations {
  display: grid;
  gap: var(--wu-space-4);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 190px;
}
/* First card spans a 2×2 block — gives the grid an editorial rhythm without
   a masonry library. */
.wu-destinations > :first-child { grid-column: span 2; grid-row: span 2; }

.wu-destination {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: var(--wu-space-4);
  border-radius: var(--wu-radius-lg);
  overflow: hidden;
  color: var(--wu-text-invert);
  background: linear-gradient(160deg, var(--wu-primary-dark), var(--wu-ink));
  isolation: isolate;

  /* The image is absolutely positioned, so the card has NO intrinsic height:
     inside .wu-destinations the grid rows supply it. Used anywhere else - a
     carousel, a two-column block - it collapsed to the height of its caption,
     about 55px, and read as a coloured strip rather than a card.

     A default ratio lets the component stand on its own. In the mosaic the
     grid gives both dimensions, so the ratio is ignored there and the 2x2
     lead card keeps its shape. */
  aspect-ratio: 4 / 3;
}
.wu-destinations .wu-destination { aspect-ratio: auto; }
.wu-destination img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--wu-duration-lg) var(--wu-ease-out);
}
.wu-destination::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 22, 34, 0) 35%, rgba(11, 22, 34, .82) 100%);
}
.wu-destination:hover img { transform: scale(1.07); }
.wu-destination:hover { color: var(--wu-text-invert); }

.wu-destination-body h3 { color: inherit; margin: 0 0 2px; font-size: var(--wu-fs-lg); line-height: var(--wu-lh-snug); }
.wu-destination-body span { font-size: var(--wu-fs-xs); opacity: .85; }

/* --- Feature row --------------------------------------------------------- */
.wu-feature {
  display: flex;
  gap: var(--wu-space-4);
  align-items: flex-start;
}
.wu-feature-icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--wu-radius);
  background: var(--wu-primary-light);
  color: var(--wu-primary);
}
.wu-feature-icon svg { width: 26px; height: 26px; }
.wu-feature h3 { font-size: var(--wu-fs-base); margin-bottom: var(--wu-space-1); }
.wu-feature p { margin: 0; font-size: var(--wu-fs-sm); color: var(--wu-text-muted); }

/* --- Testimonials -------------------------------------------------------- */
.wu-testimonials { position: relative; }

.wu-testimonial {
  display: flex;
  flex-direction: column;
  gap: var(--wu-space-4);
  padding: var(--wu-space-6);
  background: var(--wu-surface);
  border: 1px solid var(--wu-border);
  border-radius: var(--wu-radius-lg);
  height: 100%;
}
.wu-testimonial blockquote {
  margin: 0;
  font-size: var(--wu-fs-lg);
  line-height: 1.6;
  color: var(--wu-heading);
}
.wu-testimonial-author { display: flex; align-items: center; gap: var(--wu-space-3); margin-top: auto; }
.wu-testimonial-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}
.wu-testimonial-author strong { display: block; font-size: var(--wu-fs-sm); }
.wu-testimonial-author span { font-size: var(--wu-fs-xs); color: var(--wu-text-muted); }

/* The slider shows three at a time; on small screens the JS clamps to one. */
.wu-testimonial-track {
  display: grid;
  gap: var(--wu-space-5);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.wu-testimonial-slide { display: none; }
.wu-testimonial-slide.is-active { display: contents; }

/* Dots below the deck instead of floating over it — the testimonial block has
   no image to sit on. */
.wu-slider-dots-static {
  position: static;
  transform: none;
  justify-content: center;
  margin-top: var(--wu-space-6);
}
.wu-slider-dots-static .wu-slider-dot { background: var(--wu-border-strong); }
.wu-slider-dots-static .wu-slider-dot.is-active::after { background: var(--wu-primary); }

/* --- Stats band ---------------------------------------------------------- */
/* --- Blog cards ---------------------------------------------------------- */
/* --------------------------------------------------------------------------
   The journal row

   Four cards, so the column count is declared rather than left to auto-fill.
   An auto-fill grid sizes tracks from the container and lands on three columns
   between 992px and 1400px - which puts three cards in a row and one alone
   underneath, the least attractive way to show four of anything.

   Explicit steps instead: four across on a desktop, two by two on a tablet,
   one on a phone. No orphan at any width.
   -------------------------------------------------------------------------- */
.wu-post-grid { grid-template-columns: 1fr; }

@media (min-width: 576px) {
  .wu-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
  .wu-post-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.wu-post {
  display: flex;
  flex-direction: column;
  background: var(--wu-surface);
  border: 1px solid var(--wu-border);
  border-radius: var(--wu-radius-lg);
  overflow: hidden;
  transition: transform var(--wu-duration) var(--wu-ease),
              box-shadow var(--wu-duration) var(--wu-ease);
}
.wu-post:hover { transform: translateY(-4px); box-shadow: var(--wu-shadow); }
.wu-post-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--wu-surface-sunken); }
.wu-post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--wu-duration-lg) var(--wu-ease-out); }
.wu-post:hover .wu-post-media img { transform: scale(1.06); }
.wu-post-body { padding: var(--wu-space-4); display: flex; flex-direction: column; gap: var(--wu-space-2); }
.wu-post-meta { display: flex; gap: var(--wu-space-3); font-size: var(--wu-fs-xs); color: var(--wu-text-muted); }
.wu-post-body h3 { margin: 0; font-size: var(--wu-fs-base); }
.wu-post-body h3 a { color: var(--wu-heading); }
.wu-post-body h3 a:hover { color: var(--wu-primary); }

/* --- App / CTA band ------------------------------------------------------ */
.wu-cta-band {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: var(--wu-space-7);
  align-items: center;
  padding: var(--wu-space-7);
  background:
    radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--wu-secondary) 35%, transparent), transparent 60%),
    linear-gradient(120deg, var(--wu-primary-dark), var(--wu-primary));
  color: var(--wu-text-invert);
  overflow: hidden;
}
.wu-cta-band h2 { color: inherit; }
.wu-cta-band p { opacity: .9; }
.wu-cta-visual { display: flex; justify-content: center; }
.wu-cta-visual img { max-width: 260px; }

/* Outline button on a coloured band needs an inverted edge to stay visible. */
.wu-cta-band .wu-btn-outline {
  border-color: rgba(255, 255, 255, .6);
  color: var(--wu-text-invert);
}
.wu-cta-band .wu-btn-outline:hover {
  background: rgba(255, 255, 255, .14);
  border-color: #fff;
  color: var(--wu-text-invert);
}

@media (max-width: 1199.98px) {
  .wu-destinations { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
  .wu-destinations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wu-testimonial-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wu-cta-band { grid-template-columns: 1fr; text-align: center; }
  .wu-cta-band .wu-cluster { justify-content: center; }
}

@media (max-width: 575.98px) {
  .wu-destinations { grid-template-columns: 1fr; grid-auto-rows: 170px; }
  .wu-destinations > :first-child { grid-column: span 1; grid-row: span 1; }
  .wu-testimonial-track { grid-template-columns: 1fr; }
  .wu-cta-band { padding: var(--wu-space-5); }
}

/* ==========================================================================
   FARE DEALS — a destination carousel for flights
   --------------------------------------------------------------------------
   Tall photo cards with the fare panel overlapping the bottom of the image,
   and the centre card standing proud of its neighbours. Two things were taken
   from the reference and two were deliberately not:

     taken   the overlapping fare panel, and the notch where it meets the
             image - it makes the panel read as attached to the photo rather
             than laid on top of it
     taken   the raised active card, which tells you where you are in a strip
             that runs off both edges

     not     the airline red. This uses --wu-accent, so the block belongs to
             whichever of the six schemes is on rather than being a seventh
             colour.
     not     the "n/7" counter printed on each card. The slider already
             reports position, and a number baked into every card is noise.
   ========================================================================== */
.wu-faredeals { position: relative; }

.wu-faredeals-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--wu-space-5);
  margin-bottom: var(--wu-space-6);
}

.wu-faredeals-nav { display: flex; gap: var(--wu-space-2); flex: none; }
.wu-faredeals-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--wu-border);
  border-radius: var(--wu-radius-pill);
  background: var(--wu-surface);
  color: var(--wu-text);
  cursor: pointer;
  transition: background-color var(--wu-duration-sm) var(--wu-ease),
              border-color var(--wu-duration-sm) var(--wu-ease),
              color var(--wu-duration-sm) var(--wu-ease);
}
.wu-faredeals-nav button:hover {
  background: var(--wu-primary);
  border-color: var(--wu-primary);
  color: var(--wu-on-primary);
}
.wu-faredeals-nav button:focus-visible { outline: 2px solid var(--wu-primary); outline-offset: 2px; }
.wu-faredeals-nav svg { width: 18px; height: 18px; }

/* The track is clipped by the section, not the container, so the strip runs
   toward both edges the way the reference does. */
.wu-faredeals-viewport {
  /* .wu-carousel-viewport already hides the overflow; this only adds the room
     the full-size centre card and its shadow need. */
  padding-block: var(--wu-space-5) var(--wu-space-6);
}

/* --- The peek --------------------------------------------------------------
   EXACTLY three whole cards, with a sliver of the next one at each edge.

   The width is decoupled from --wu-per-view on purpose. perView is the
   slider's stepping unit; the number of cards you can SEE is a different
   question, and tying them together forced a choice between "4 cards" and
   "3 and a half". Here:

       width  = 100 / (visible + 2 x peek)
       offset = -peek x width

   With visible: 4 and peek: 0.34 that is 21.37% per card and a -7.27% shift,
   which puts four whole cards dead centre and about a third of a card showing
   at each edge. Change --fare-visible or --fare-peek and both follow.

   --fare-visible and the markup's data-per-view have to move together: this
   one sizes the cards, that one tells slider.js how far one arrow press
   travels, and a mismatch shows up as a strip that scrolls half a card.

   A margin, not a transform: slider.js owns the track's transform.
   -------------------------------------------------------------------------- */
.wu-faredeals {
  --fare-visible: 4;
  --fare-peek: 0.34;
}

.wu-faredeals .wu-carousel-track > [data-slide] {
  flex: 0 0 calc(100% / (var(--fare-visible) + 2 * var(--fare-peek)));
}

.wu-faredeals .wu-carousel-track {
  margin-inline-start: calc(
    -100% * var(--fare-peek) / (var(--fare-visible) + 2 * var(--fare-peek))
  );
}

/* Grab to drag. The cursor is the only affordance a mouse user gets. */
.wu-faredeals .wu-carousel-track { cursor: grab; touch-action: pan-y; }
.wu-faredeals .wu-carousel-track.is-dragging { cursor: grabbing; user-select: none; }
.wu-faredeals .wu-carousel-track.is-dragging img { pointer-events: none; }

.wu-fare-card { --fare-notch-w: 58px; --fare-notch-h: 30px; }

.wu-fare-card::after {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  z-index: var(--wu-z-base);
  width: var(--fare-notch-w);
  height: var(--fare-notch-h);
  background: var(--fare-notch-bg, var(--wu-body-bg));
  border-end-start-radius: var(--wu-radius-lg);
}

.wu-fare-count {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  z-index: calc(var(--wu-z-base) + 1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--fare-notch-w);
  height: var(--fare-notch-h);
  font-size: var(--wu-fs-xs);
  font-variant-numeric: tabular-nums;
  color: var(--wu-text-muted);
}

.wu-fare-media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--wu-radius-lg);
  background: var(--wu-surface-sunken);
}
.wu-fare-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--wu-duration-lg) var(--wu-ease-out);
}
.wu-fare-card:hover .wu-fare-media img { transform: scale(1.05); }

/* --- The fare panel -------------------------------------------------------
   Sits INSIDE the photo, inset on all three edges.

   It used to reach past the photo on both sides, and the neighbouring cards
   counter-scaled it back to full size (see the centre-card block below). The
   two together made the panel wider than its own card, so on every card but
   the middle one it ran across the card next door - which is the overlap in
   the strip. Inset and unscaled, a panel cannot leave its card whatever the
   slide is doing.

   Compact on purpose: at the previous size the panel covered most of the
   photograph, which defeats a destination card. Every line inside it is
   single-line and ellipsised, so the height cannot grow with the content.
   -------------------------------------------------------------------------- */
.wu-fare-panel {
  position: absolute;
  inset-inline: var(--wu-space-3);
  bottom: var(--wu-space-3);
  padding: var(--wu-space-3);
  /* Square: it reads as a band laid across the photo rather than a second
     card floating on the first one. */
  border-radius: 0;
  /* At 88% of the raw accent the photograph barely showed. The way to let
     more of it through without losing the text is to darken the tint first
     and then thin it, rather than just thinning a mid-tone: the inner mix
     takes --wu-accent-text 70% toward black, the outer one drops that to 75%
     opacity. Against the worst case a photo can give — pure white behind the
     panel — white text lands at 5.1:1, above the 4.5:1 body bar and better
     than the 4.93:1 the opaque-looking 88% managed, while a quarter of the
     image now reads through instead of a tenth. */
  background: color-mix(in srgb,
                color-mix(in srgb, var(--wu-accent-text) 70%, #000) 75%,
                transparent);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  backdrop-filter: blur(10px) saturate(130%);
  color: #fff;
  box-shadow: var(--wu-shadow);
}

.wu-fare-chip {
  display: inline-block;
  margin-bottom: var(--wu-space-2);
  padding: 2px 8px;
  border-radius: var(--wu-radius-pill);
  /* A solid white pill with the panel colour as its text - 6.07:1 at worst
     across the six schemes, and the shape the reference uses. */
  background: #fff;
  color: var(--wu-accent-text);
  font-size: 10px;
  font-weight: var(--wu-fw-semibold);
  letter-spacing: var(--wu-tracking-label);
  text-transform: uppercase;
}

.wu-fare-route {
  display: block;
  margin: 0 0 6px;
  font-family: var(--wu-font-display);
  font-size: var(--wu-fs-lg);
  font-weight: var(--wu-fw-normal);
  line-height: 1.2;
  letter-spacing: var(--wu-tracking-display);
  color: #fff;
  /* One line, always. A wrapped route pushes the fare off the card. */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* White, not the gold the reference uses. Measured on our panel, both
   --wu-star and --wu-accent land at 1.6-1.9:1 - an icon needs 3:1, so gold
   here would be very nearly invisible. */
.wu-fare-route svg {
  width: 15px;
  height: 15px;
  margin-inline: 5px;
  vertical-align: -2px;
  opacity: 1;
}

.wu-fare-price {
  display: flex;
  align-items: baseline;
  gap: var(--wu-space-1);
  font-size: var(--wu-fs-xs);
  white-space: nowrap;
}
.wu-fare-price strong {
  font-size: var(--wu-fs-lg);
  font-weight: var(--wu-fw-bold);
  font-variant-numeric: tabular-nums;
}

.wu-fare-meta {
  margin-top: 1px;
  font-size: var(--wu-fs-xs);
  color: rgba(255, 255, 255, .86);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --wu-surface / --wu-primary, not --wu-star. The star token is a fixed gold
   that does not move with the six schemes, so the CTA was the one element on
   the card that ignored the palette. Surface also never collides with the
   panel - in the ember scheme --wu-secondary is the SAME colour as the panel,
   which would have made the button disappear. */
.wu-fare-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--wu-space-3);
  margin-top: var(--wu-space-2);
}
.wu-fare-figures { min-width: 0; }

.wu-fare-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--wu-space-1);
  flex: none;
  padding: 7px var(--wu-space-3);
  border-radius: var(--wu-radius-pill);
  background: var(--wu-surface);
  color: var(--wu-primary);
  white-space: nowrap;
  font-size: var(--wu-fs-sm);
  font-weight: var(--wu-fw-bold);
  transition: transform var(--wu-duration-sm) var(--wu-ease),
              box-shadow var(--wu-duration-sm) var(--wu-ease);
}
.wu-fare-card:hover .wu-fare-cta { transform: translateY(-1px); box-shadow: var(--wu-shadow-sm); }
.wu-fare-cta svg { width: 14px; height: 14px; }

/* --- The centre card -------------------------------------------------------
   Size only. The user asked for no dimming, and they are right: a fare that
   is greyed out still has to be readable, because the whole point of the
   strip is comparing prices at a glance.

   The neighbours step DOWN rather than the middle stepping up - scaling one
   card past its siblings pushes it out of the track and the viewport clips
   it. Shrinking the siblings keeps every card inside the same box.

   NOTE: this hangs off .is-centre, not .is-active. slider.js owns .is-active
   and puts it on every VISIBLE slide to drive aria-hidden and the tabindex
   trap, so a rule keyed to it would light up all five.
   -------------------------------------------------------------------------- */
.wu-fare-slide {
  transform: scale(.86);
  transform-origin: center center;
  transition: transform var(--wu-duration) var(--wu-ease-out);
}
.wu-fare-slide.is-centre { transform: scale(1); }
.wu-fare-slide.is-centre .wu-fare-media { box-shadow: var(--wu-shadow-lg); }

@media (max-width: 767.98px) {
  .wu-faredeals-head { flex-direction: column; align-items: flex-start; gap: var(--wu-space-4); }
  .wu-fare-panel { inset-inline: var(--wu-space-2); bottom: var(--wu-space-2); }
  .wu-fare-route { font-size: var(--wu-fs-lg); }
}

/* Fewer cards as the room runs out. Only --fare-visible changes; the width
   and the offset are derived from it, so the peek stays proportional. */
@media (max-width: 991.98px) { .wu-faredeals { --fare-visible: 3; } }

@media (max-width: 639.98px) {
  /* One card, no peek and no size step: with a single card there is no
     "middle" to single out, and a sliver either side would leave no whole
     card at all. */
  .wu-faredeals { --fare-visible: 1; --fare-peek: 0; }
  .wu-fare-slide,
  .wu-fare-slide.is-centre { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wu-fare-card,
  .wu-fare-slide,
  .wu-fare-media img,
  .wu-fare-cta { transition: none; }
}

/* --------------------------------------------------------------------------
   THE PORTHOLE BAND — four figures around an aircraft window

   Replaces a four-column strip of numbers on a coloured slab. That strip was
   the single most generic thing on the page: any template has one, and it
   said nothing a table would not have said.

   This says the same four numbers through a shape instead. The window in the
   middle puts the reader in the air without a plane graphic anywhere, and it
   gives the four cards something to sit AROUND rather than a row to sit in.

   Three parts:

     .wu-porthole      the window - ellipse, thick bezel, two cabin-light
                       rings floating outside it
     .wu-portstat      a card: white body, with a narrower coloured tab
                       hanging out from under its foot
     .wu-porthole-band the three-column frame that holds them

   Every colour comes from the scheme, so the band is not a second palette:
   the tab is --wu-primary and the figures are --wu-heading.
   -------------------------------------------------------------------------- */
.wu-portholes {
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(var(--wu-primary-rgb), .07), transparent 70%),
    var(--wu-surface-alt);
}

.wu-porthole-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(240px, 30%, 380px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(var(--wu-space-5), 4vw, var(--wu-space-8));
}

.wu-porthole-col {
  display: grid;
  gap: clamp(var(--wu-space-6), 6vw, var(--wu-space-9));
}

/* --- the window ----------------------------------------------------------- */
.wu-porthole {
  position: relative;
  margin: 0;
  padding: clamp(12px, 2.2vw, 24px);
  border-radius: 50%;
  background: var(--wu-surface);
  box-shadow: var(--wu-shadow-lg);
}

/* Two rings outside the bezel. Pseudo-elements rather than markup: they carry
   no meaning, and a screen reader should not meet two empty spans. */
.wu-porthole::before,
.wu-porthole::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(var(--wu-primary-rgb), .16);
  pointer-events: none;
}
.wu-porthole::before { inset: clamp(-22px, -2vw, -14px); }
.wu-porthole::after {
  inset: clamp(-48px, -4.4vw, -30px);
  border-color: rgba(var(--wu-primary-rgb), .09);
}

.wu-porthole img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 50%;
  background: var(--wu-surface-sunken);
}

/* --- a stat card ---------------------------------------------------------- */
.wu-portstat { position: relative; }

.wu-portstat-body {
  position: relative;
  z-index: 2;
  padding: var(--wu-space-5) var(--wu-space-4);
  border-radius: var(--wu-radius-lg);
  background: var(--wu-surface);
  box-shadow: var(--wu-shadow);
  text-align: center;
}

.wu-portstat-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: var(--wu-space-3);
  border-radius: var(--wu-radius-pill);
  background: var(--wu-primary-light);
  color: var(--wu-primary);
}
.wu-portstat-ico svg { width: 20px; height: 20px; }

.wu-portstat-body strong {
  display: block;
  font-family: var(--wu-font-display);
  font-size: var(--wu-fs-3xl);
  font-weight: var(--wu-fw-normal);
  line-height: 1.05;
  letter-spacing: var(--wu-tracking-display);
  color: var(--wu-heading);
}

.wu-portstat-label {
  display: block;
  margin-top: 2px;
  font-size: var(--wu-fs-sm);
  color: var(--wu-text-muted);
}

/* The banner runs the full column width and the card sits inset on top of
   it, which is what makes the pair read as one object rather than a card
   with a caption underneath. The negative top margin is covered by the
   card's own background, so the overlap has to be paid back as top padding
   or the banner text ends up hidden behind the card. */
.wu-portstat-ribbon {
  position: relative;
  z-index: 1;
  display: block;
  /* Narrower than the card and rounded at the foot, so it reads as a tab
     hanging out from under the card rather than a slab the card sits on. */
  margin-inline: var(--wu-space-6);
  margin-top: -18px;
  padding: calc(18px + 9px) var(--wu-space-4) 9px;
  border-radius: 0 0 var(--wu-radius) var(--wu-radius);
  background: var(--wu-primary);
  color: var(--wu-on-primary);
  font-size: var(--wu-fs-xs);
  font-weight: var(--wu-fw-bold);
  letter-spacing: var(--wu-tracking-label);
  text-transform: uppercase;
  text-align: center;
}

/* --- responsive ----------------------------------------------------------- */
@media (max-width: 991.98px) {
  /* The window first, then the four cards two up. Stacking the columns as
     they stand would put two cards, the window, then two more - which reads
     as three unrelated blocks. */
  .wu-porthole-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--wu-space-6);
  }
  .wu-porthole {
    order: -1;
    grid-column: 1 / -1;
    justify-self: center;
    width: min(340px, 70vw);
  }
  .wu-porthole::after { inset: -26px; }
  .wu-porthole-col { display: contents; }
}

@media (max-width: 575.98px) {
  .wu-porthole-band { grid-template-columns: minmax(0, 1fr); }
  .wu-porthole { width: min(280px, 78vw); }
  .wu-porthole::before,
  .wu-porthole::after { content: none; }
}

/* ==========================================================================
   DESTINATION INDEX — mục lục, không phải lưới card

   Khối này thay cho sáu card ảnh xếp lưới. Lý do là lời từ chối của Envato:
   "header-banner-teasers-footer". Sáu card ảnh ở đúng vị trí này là chữ
   "teasers", và nó có mặt trong hầu hết template du lịch đang bán.

   Nguyên thủy layout ở đây là MỘT BẢNG MỤC LỤC:

     - tên thành phố ở cỡ display, đánh số, xếp thành hàng
     - phân tách bằng một đường kẻ ngang, không có khung bao
     - ảnh KHÔNG nằm trong hàng: một ô xem trước duy nhất bên phải, đổi theo
       hàng đang trỏ tới

   Không có JS thì ảnh đầu tiên đứng yên; mọi hàng vẫn là link.
   ========================================================================== */
.wu-index-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(var(--wu-space-6), 5vw, var(--wu-space-8));
  align-items: start;
}

.wu-idx { margin: 0; padding: 0; list-style: none; counter-reset: none; }

.wu-idx-row {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto 1.25rem;
  align-items: baseline;
  gap: var(--wu-space-4);
  padding-block: clamp(var(--wu-space-4), 2.2vw, var(--wu-space-5));
  border-top: 1px solid var(--wu-border);
  color: inherit;
  text-decoration: none;
  transition: color var(--wu-duration-sm) var(--wu-ease);
}
.wu-idx li:last-child .wu-idx-row { border-bottom: 1px solid var(--wu-border); }

.wu-idx-no {
  font-size: var(--wu-fs-xs);
  font-variant-numeric: tabular-nums;
  color: var(--wu-text-muted);
  align-self: center;
}

/* Tên thành phố là thứ lớn nhất trong khối. Ở lưới card nó bị nén xuống cỡ
   h3 để nhường chỗ cho ảnh; ở đây ảnh nhường chỗ cho nó. */
.wu-idx-city {
  font-family: var(--wu-font-display);
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  font-weight: var(--wu-fw-normal);
  line-height: 1;
  letter-spacing: var(--wu-tracking-display);
  color: var(--wu-heading);
  transition: color var(--wu-duration-sm) var(--wu-ease);
}

.wu-idx-counts {
  font-size: var(--wu-fs-xs);
  color: var(--wu-text-muted);
  white-space: nowrap;
  align-self: center;
}
.wu-idx-counts b {
  font-weight: var(--wu-fw-semibold);
  font-variant-numeric: tabular-nums;
  color: var(--wu-text);
}

.wu-idx-go {
  width: 18px; height: 18px;
  align-self: center;
  color: var(--wu-border-strong);
  transition: transform var(--wu-duration-sm) var(--wu-ease),
              color var(--wu-duration-sm) var(--wu-ease);
}

.wu-idx-row:hover,
.wu-idx-row:focus-visible { color: var(--wu-primary); }
.wu-idx-row:hover .wu-idx-city,
.wu-idx-row:focus-visible .wu-idx-city { color: var(--wu-primary); }
.wu-idx-row:hover .wu-idx-go,
.wu-idx-row:focus-visible .wu-idx-go { color: var(--wu-primary); transform: translateX(4px); }
.wu-idx-row:focus-visible { outline: 2px solid var(--wu-primary); outline-offset: 3px; }

/* --- Ô xem trước ----------------------------------------------------------
   Dính, vì danh sách cao hơn nó: ảnh đi theo mắt người đọc. */
.wu-index-preview {
  position: sticky;
  top: calc(var(--wu-header-height) + var(--wu-space-5));
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--wu-surface-sunken);
}
.wu-index-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--wu-duration) var(--wu-ease);
}
.wu-index-preview img.is-swapping { opacity: 0; }

@media (max-width: 991.98px) {
  /* Ô xem trước không còn chỗ để dính cạnh danh sách, và một ảnh 4:5 nằm trên
     đầu sẽ đẩy toàn bộ mục lục xuống dưới màn hình. Bỏ nó đi: mục lục tự đứng
     được, đó là điểm mạnh của dạng bố cục này. */
  .wu-index-grid { grid-template-columns: minmax(0, 1fr); }
  .wu-index-preview { display: none; }
}

@media (max-width: 575.98px) {
  .wu-idx-row { grid-template-columns: 1.75rem minmax(0, 1fr) 1rem; row-gap: 2px; }
  .wu-idx-counts { grid-column: 2 / -1; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .wu-idx-row, .wu-idx-city, .wu-idx-go, .wu-index-preview img { transition: none; }
  .wu-idx-row:hover .wu-idx-go { transform: none; }
}

/* ==========================================================================
   SERVICE MATRIX — ma trận so sánh, không phải bốn tile

   Khối này thay cho bốn tile bằng nhau trong lưới 4 cột. Hai lý do:

     1. "teasers" — bốn ô icon+tiêu đề+một câu là đúng mô-típ bị từ chối
     2. "minimalistic" — bốn ô gần như trống thì đúng là tối giản theo nghĩa
        xấu; ma trận này đặc thông tin và mọi con số đều đếm từ repo

   Cột là service, hàng là năng lực. Không có khung bao quanh cột: phân tách
   bằng một đường kẻ DỌC, thứ mà lưới card không bao giờ dùng.
   ========================================================================== */
.wu-mx {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wu-mx-col {
  min-width: 0;
  padding: var(--wu-space-5) var(--wu-space-5) var(--wu-space-4);
  border-top: 2px solid var(--wu-service);
}
.wu-mx-col + .wu-mx-col { border-left: 1px solid var(--wu-border); }

.wu-mx-name {
  margin: 0 0 var(--wu-space-4);
  font-family: var(--wu-font-display);
  font-size: var(--wu-fs-xl);
  font-weight: var(--wu-fw-normal);
  letter-spacing: var(--wu-tracking-display);
  color: var(--wu-service-text);
}

.wu-mx-cells { margin: 0; }
.wu-mx-cell { padding-block: var(--wu-space-3); }
.wu-mx-cell + .wu-mx-cell { border-top: 1px solid var(--wu-border); }

.wu-mx-cell dt {
  font-size: var(--wu-fs-xs);
  letter-spacing: var(--wu-tracking-label);
  text-transform: uppercase;
  color: var(--wu-text-muted);
}
.wu-mx-cell dd {
  margin: 4px 0 0;
  display: flex;
  align-items: baseline;
  gap: var(--wu-space-2);
  flex-wrap: wrap;
}
.wu-mx-cell b {
  font-family: var(--wu-font-display);
  font-size: var(--wu-fs-2xl);
  font-weight: var(--wu-fw-normal);
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--wu-heading);
}
.wu-mx-cell span {
  font-size: var(--wu-fs-xs);
  line-height: 1.4;
  color: var(--wu-text-muted);
}

.wu-mx-go {
  display: inline-flex;
  align-items: center;
  min-block-size: 24px;
  gap: var(--wu-space-2);
  margin-top: var(--wu-space-4);
  font-size: var(--wu-fs-sm);
  font-weight: var(--wu-fw-semibold);
  color: var(--wu-service-text);
  text-decoration: none;
}
.wu-mx-go svg { width: 15px; height: 15px; transition: transform var(--wu-duration-sm) var(--wu-ease); }
.wu-mx-go:hover { text-decoration: underline; }
.wu-mx-go:hover svg { transform: translateX(3px); }

@media (max-width: 991.98px) {
  .wu-mx { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Ở hai cột, đường kẻ dọc chỉ đúng cho cột thứ hai của mỗi hàng. */
  .wu-mx-col + .wu-mx-col { border-left: 0; }
  .wu-mx-col:nth-child(even) { border-left: 1px solid var(--wu-border); }
}

@media (max-width: 575.98px) {
  .wu-mx { grid-template-columns: minmax(0, 1fr); }
  .wu-mx-col:nth-child(even) { border-left: 0; }
  .wu-mx-col { padding-inline: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wu-mx-go svg { transition: none; }
  .wu-mx-go:hover svg { transform: none; }
}

/* ==========================================================================
   TRIP TIMELINE (index-video.html)

   One itinerary told as its legs. The dashed route runs between the nodes,
   not under the cards, so the four read as a sequence before they read as
   four products. Each leg is a real listing and opens its own page.

   The line is drawn by each leg towards the next one. Its vertical position
   is the height of the time label plus the node's margin and half the node,
   all three set as tokens on the list - change one and the line follows.
   ========================================================================== */
.wu-itin-legs {
  --wu-itin-node: 44px;
  --wu-itin-when: 1.25rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--wu-space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.wu-itin-leg {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.wu-itin-leg:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--wu-itin-when) + var(--wu-space-3) + var(--wu-itin-node) / 2 - 1px);
  inset-inline: calc(var(--wu-itin-node) + var(--wu-space-2)) calc(var(--wu-space-5) * -1 + var(--wu-space-2));
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--wu-border-strong) 0 8px, transparent 8px 14px);
}

.wu-itin-when {
  display: block;
  height: var(--wu-itin-when);
  overflow: hidden;
  font-size: var(--wu-fs-xs);
  font-weight: var(--wu-fw-semibold);
  line-height: var(--wu-itin-when);
  letter-spacing: var(--wu-tracking-label);
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--wu-text-muted);
}

.wu-itin-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--wu-itin-node);
  height: var(--wu-itin-node);
  margin-block: var(--wu-space-3);
  border-radius: 50%;
  background: var(--wu-service-text);
  color: #fff;
}
.wu-itin-node svg { width: 20px; height: 20px; }

.wu-itin-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  padding: var(--wu-space-4) var(--wu-space-4) var(--wu-space-5);
  border-top: 3px solid var(--wu-service);
  background: var(--wu-surface);
  box-shadow: var(--wu-shadow-sm);
  color: var(--wu-text);
  text-decoration: none;
  transition: box-shadow var(--wu-duration) var(--wu-ease),
              transform var(--wu-duration) var(--wu-ease);
}
.wu-itin-card:hover {
  box-shadow: var(--wu-shadow);
  transform: translateY(-3px);
  color: var(--wu-text);
}
.wu-itin-svc {
  font-size: var(--wu-fs-xs);
  font-weight: var(--wu-fw-semibold);
  color: var(--wu-service-text);
}
.wu-itin-card b {
  font-size: var(--wu-fs-base);
  font-weight: var(--wu-fw-semibold);
  line-height: 1.35;
  color: var(--wu-heading);
}
.wu-itin-meta {
  font-size: var(--wu-fs-sm);
  color: var(--wu-text-muted);
}
.wu-itin-price {
  margin-top: auto;
  padding-top: var(--wu-space-3);
  font-family: var(--wu-font-display);
  font-size: var(--wu-fs-xl);
  font-variant-numeric: tabular-nums;
  color: var(--wu-heading);
}

.wu-itin-total {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--wu-space-3) var(--wu-space-6);
  margin-top: var(--wu-space-6);
  padding: var(--wu-space-4) var(--wu-space-5);
  border: 1px solid var(--wu-border-strong);
  background: var(--wu-surface);
}
.wu-itin-total span {
  flex: 1;
  min-width: 14rem;
  color: var(--wu-text-muted);
}
.wu-itin-total strong {
  font-family: var(--wu-font-display);
  font-size: var(--wu-fs-2xl);
  font-weight: var(--wu-fw-normal);
  font-variant-numeric: tabular-nums;
  color: var(--wu-heading);
}

@media (max-width: 991.98px) {
  .wu-itin-legs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--wu-space-6); }
  /* The second leg of each row has nothing to its right to point at. */
  .wu-itin-leg:nth-child(2n)::after { display: none; }
}

@media (max-width: 575.98px) {
  .wu-itin-legs { grid-template-columns: minmax(0, 1fr); }
  .wu-itin-leg::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wu-itin-card { transition: none; }
  .wu-itin-card:hover { transform: none; }
}

/* ==========================================================================
   PRICE DROPS (index-video.html)

   A two-column ruled list rather than a card grid: was, now and the saving
   line up down the page, which is the comparison the reader came for. The
   rows are rendered by js/pages/home.js.
   ========================================================================== */
.wu-deal-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--wu-space-7);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--wu-border-strong);
  list-style: none;
}
.wu-deal-list > li { border-bottom: 1px solid var(--wu-border); }

.wu-deal {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: var(--wu-space-4);
  padding-block: var(--wu-space-4);
  color: var(--wu-text);
  text-decoration: none;
}
.wu-deal:hover { color: var(--wu-text); }
.wu-deal:hover b { color: var(--wu-primary); }

.wu-deal-media {
  display: block;
  width: 72px;
  height: 54px;
  overflow: hidden;
  background: var(--wu-surface-sunken);
}
.wu-deal-media img { width: 100%; height: 100%; object-fit: cover; }
/* A flight has no photograph; its airline code stands in. */
.wu-deal-code {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-weight: var(--wu-fw-semibold);
  letter-spacing: .04em;
  color: var(--wu-heading);
}

.wu-deal-body { min-width: 0; }
.wu-deal-body b {
  display: block;
  overflow: hidden;
  font-weight: var(--wu-fw-semibold);
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--wu-heading);
  transition: color var(--wu-duration-sm) var(--wu-ease);
}
.wu-deal-body span {
  display: block;
  font-size: var(--wu-fs-sm);
  color: var(--wu-text-muted);
}

.wu-deal-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}
.wu-deal-price s {
  font-size: var(--wu-fs-sm);
  color: var(--wu-text-muted);
}
.wu-deal-price strong {
  font-family: var(--wu-font-display);
  font-size: var(--wu-fs-xl);
  font-weight: var(--wu-fw-normal);
  font-variant-numeric: tabular-nums;
  color: var(--wu-heading);
}

.wu-deal-off {
  min-width: 3.4rem;
  padding: 4px 8px;
  background: var(--wu-danger-bg);
  font-size: var(--wu-fs-sm);
  font-weight: var(--wu-fw-semibold);
  font-variant-numeric: tabular-nums;
  text-align: center;
  color: var(--wu-danger);
}

.wu-deal-empty {
  grid-column: 1 / -1;
  padding: var(--wu-space-5) 0;
  color: var(--wu-text-muted);
}

@media (max-width: 991.98px) {
  .wu-deal-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 575.98px) {
  .wu-deal { grid-template-columns: 56px minmax(0, 1fr) auto; gap: var(--wu-space-3); }
  .wu-deal-media { width: 56px; height: 42px; }
  /* The struck-through price already says it; the chip is the first to go. */
  .wu-deal-off { display: none; }
}

/* ==========================================================================
   ONE REVIEW, LARGE (index-video.html)
   ========================================================================== */
.wu-bigquote-figure {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 var(--wu-space-6);
  max-width: 62rem;
  margin: 0 auto;
}
.wu-bigquote-figure::before {
  content: "\201C";
  grid-row: 1 / span 2;
  font-family: var(--wu-font-display);
  font-size: clamp(6rem, 12vw, 10rem);
  line-height: .8;
  color: var(--wu-primary);
}
.wu-bigquote blockquote { margin: 0; }
.wu-bigquote blockquote p {
  margin: 0;
  font-family: var(--wu-font-display);
  font-size: var(--wu-fs-display-m);
  line-height: 1.18;
  letter-spacing: var(--wu-tracking-display);
  color: var(--wu-heading);
}
.wu-bigquote figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--wu-space-2) var(--wu-space-4);
  margin-top: var(--wu-space-6);
  padding-top: var(--wu-space-5);
  border-top: 1px solid var(--wu-border);
  font-size: var(--wu-fs-sm);
  color: var(--wu-text-muted);
}
.wu-bigquote figcaption img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.wu-bigquote figcaption strong { color: var(--wu-heading); }
.wu-bigquote figcaption a {
  margin-inline-start: auto;
  font-weight: var(--wu-fw-semibold);
}
.wu-bigquote figcaption a span {
  display: block;
  font-weight: var(--wu-fw-normal);
  color: var(--wu-text-muted);
}

@media (max-width: 575.98px) {
  .wu-bigquote-figure { grid-template-columns: minmax(0, 1fr); }
  .wu-bigquote-figure::before { grid-row: auto; font-size: 5rem; }
  .wu-bigquote figcaption a { margin-inline-start: 0; }
}

/* ==========================================================================
   JOURNAL LEAD (index-single-image.html)

   One story given the space of a magazine opener, four more as a ruled
   contents list beside it.
   ========================================================================== */
.wu-journal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: var(--wu-space-7);
  align-items: start;
}

.wu-journal-lead-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--wu-surface-sunken);
}
.wu-journal-lead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--wu-duration-lg) var(--wu-ease-out);
}
.wu-journal-lead:hover .wu-journal-lead-media img { transform: scale(1.04); }

.wu-journal-kicker {
  display: flex;
  gap: var(--wu-space-3);
  font-size: var(--wu-fs-xs);
  font-weight: var(--wu-fw-semibold);
  letter-spacing: var(--wu-tracking-label);
  text-transform: uppercase;
  color: var(--wu-text-muted);
}
.wu-journal-kicker span:first-child { color: var(--wu-primary); }

.wu-journal-lead .wu-journal-kicker { margin-top: var(--wu-space-5); }
.wu-journal-lead h3 {
  margin: var(--wu-space-3) 0;
  font-family: var(--wu-font-display);
  font-size: var(--wu-fs-display-m);
  font-weight: var(--wu-fw-normal);
  line-height: 1.08;
  letter-spacing: var(--wu-tracking-display);
}
.wu-journal-lead h3 a,
.wu-journal-item h3 a { color: var(--wu-heading); text-decoration: none; }
.wu-journal-lead h3 a:hover,
.wu-journal-item h3 a:hover { color: var(--wu-primary); }
.wu-journal-lead > p {
  max-width: 58ch;
  margin: 0;
  font-size: var(--wu-fs-lg);
  color: var(--wu-text-muted);
}
.wu-journal-lead .wu-journal-byline {
  margin-top: var(--wu-space-4);
  font-size: var(--wu-fs-sm);
}

.wu-journal-list {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--wu-heading);
  list-style: none;
}
.wu-journal-list > li { border-bottom: 1px solid var(--wu-border); }

.wu-journal-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: var(--wu-space-4);
  padding-block: var(--wu-space-4);
}
.wu-journal-thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--wu-surface-sunken);
}
.wu-journal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wu-journal-item h3 {
  margin: var(--wu-space-2) 0 0;
  font-size: var(--wu-fs-lg);
  line-height: 1.3;
}

@media (max-width: 991.98px) {
  .wu-journal-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 575.98px) {
  .wu-journal-item { grid-template-columns: 88px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .wu-journal-lead-media img { transition: none; }
}

/* ==========================================================================
   DESTINATION MOSAIC (index-single-image.html)

   Five tiles on twelve columns: three across the top two rows, two across
   the bottom one. The label is a paper tag on the photograph rather than
   text over a gradient - the difference from the destination cards on the
   carousel homepage is intentional. Tiles take their area from their order.
   ========================================================================== */
.wu-mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(3, 190px);
  grid-template-areas:
    "a a a a a b b b c c c c"
    "a a a a a b b b c c c c"
    "d d d d d d e e e e e e";
  gap: var(--wu-space-3);
}
.wu-mosaic > :nth-child(1) { grid-area: a; }
.wu-mosaic > :nth-child(2) { grid-area: b; }
.wu-mosaic > :nth-child(3) { grid-area: c; }
.wu-mosaic > :nth-child(4) { grid-area: d; }
.wu-mosaic > :nth-child(5) { grid-area: e; }

.wu-mosaic-tile {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--wu-surface-sunken);
  text-decoration: none;
}
.wu-mosaic-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--wu-duration-lg) var(--wu-ease-out);
}
.wu-mosaic-tile:hover img { transform: scale(1.06); }
.wu-mosaic-tile:focus-visible { outline: 3px solid var(--wu-primary); outline-offset: 3px; }

.wu-mosaic-label {
  position: absolute;
  bottom: var(--wu-space-3);
  inset-inline-start: var(--wu-space-3);
  display: block;
  max-width: calc(100% - var(--wu-space-3) * 2);
  padding: var(--wu-space-2) var(--wu-space-3);
  background: var(--wu-surface);
  box-shadow: var(--wu-shadow-sm);
}
.wu-mosaic-label b {
  display: block;
  font-family: var(--wu-font-display);
  font-size: var(--wu-fs-xl);
  font-weight: var(--wu-fw-normal);
  line-height: 1.1;
  color: var(--wu-heading);
}
.wu-mosaic-label span {
  display: block;
  overflow: hidden;
  font-size: var(--wu-fs-xs);
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--wu-text-muted);
}

@media (max-width: 991.98px) {
  .wu-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-template-areas: none;
    grid-auto-rows: 200px;
  }
  .wu-mosaic > :nth-child(n) { grid-area: auto; }
  .wu-mosaic > :nth-child(1) { grid-column: span 2; grid-row: span 2; }
}

@media (max-width: 575.98px) {
  .wu-mosaic { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 180px; }
  .wu-mosaic > :nth-child(1) { grid-column: auto; grid-row: span 1; }
}

@media (prefers-reduced-motion: reduce) {
  .wu-mosaic-tile img { transition: none; }
}

/* ==========================================================================
   TOP 10 (index-single-image.html)

   Two columns of five, filled top to bottom. The rank is a CSS counter, so
   reordering the <li>s renumbers them; the first three take the brand
   colour.
   ========================================================================== */
.wu-top10-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(5, auto);
  grid-auto-flow: column;
  column-gap: var(--wu-space-7);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: wu-top10;
}
.wu-top10-list > li {
  border-bottom: 1px solid var(--wu-border);
  counter-increment: wu-top10;
}

.wu-top10-item {
  display: grid;
  grid-template-columns: 3.25rem 72px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: var(--wu-space-4);
  padding-block: var(--wu-space-3);
  color: var(--wu-text);
  text-decoration: none;
}
.wu-top10-item::before {
  content: counter(wu-top10, decimal-leading-zero);
  font-family: var(--wu-font-display);
  font-size: var(--wu-fs-3xl);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--wu-text-muted);
}
.wu-top10-list > li:nth-child(-n+3) .wu-top10-item::before { color: var(--wu-primary); }
.wu-top10-item:hover { color: var(--wu-text); }
.wu-top10-item:hover b { color: var(--wu-primary); }

.wu-top10-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--wu-surface-sunken);
}

.wu-top10-body { min-width: 0; }
.wu-top10-body b {
  display: block;
  overflow: hidden;
  font-weight: var(--wu-fw-semibold);
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--wu-heading);
  transition: color var(--wu-duration-sm) var(--wu-ease);
}
.wu-top10-body span {
  display: block;
  font-size: var(--wu-fs-sm);
  color: var(--wu-text-muted);
}
.wu-top10-body i {
  font-style: normal;
  color: var(--wu-service-text);
}

.wu-top10-score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}
.wu-top10-score strong {
  font-size: var(--wu-fs-lg);
  color: var(--wu-heading);
}
.wu-top10-score span {
  font-size: var(--wu-fs-xs);
  white-space: nowrap;
  color: var(--wu-text-muted);
}

.wu-top10-price {
  min-width: 4.5rem;
  font-family: var(--wu-font-display);
  font-size: var(--wu-fs-xl);
  font-variant-numeric: tabular-nums;
  text-align: end;
  white-space: nowrap;
  color: var(--wu-heading);
}
.wu-top10-price small {
  font-family: var(--wu-font-body);
  font-size: var(--wu-fs-xs);
  color: var(--wu-text-muted);
}

@media (max-width: 1199.98px) {
  /* Two columns get too narrow for a score and a price; the price stays. */
  .wu-top10-score { display: none; }
  .wu-top10-item { grid-template-columns: 3rem 64px minmax(0, 1fr) auto; }
}

@media (max-width: 991.98px) {
  .wu-top10-list {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-flow: row;
  }
}

@media (max-width: 575.98px) {
  .wu-top10-item { grid-template-columns: 2.5rem 56px minmax(0, 1fr) auto; gap: var(--wu-space-3); }
  .wu-top10-item::before { font-size: var(--wu-fs-2xl); }
}

/* ==========================================================================
   PULL QUOTES (index-single-image.html)
   No cards: a rule down the leading edge, and the lead quote set as display
   type across two rows.
   ========================================================================== */
.wu-pq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: var(--wu-space-6) var(--wu-space-8);
}
.wu-pq-lead { grid-row: 1 / span 2; }

.wu-pq {
  margin: 0;
  padding-inline-start: var(--wu-space-5);
  border-inline-start: 3px solid var(--wu-primary);
}
.wu-pq blockquote { margin: 0; }
.wu-pq blockquote p {
  margin: 0;
  font-family: var(--wu-font-display);
  font-size: var(--wu-fs-xl);
  line-height: 1.4;
  color: var(--wu-heading);
}
.wu-pq-lead blockquote p {
  font-size: var(--wu-fs-display-m);
  line-height: 1.15;
  letter-spacing: var(--wu-tracking-display);
}

.wu-pq figcaption {
  display: flex;
  align-items: center;
  gap: var(--wu-space-3);
  margin-top: var(--wu-space-4);
  font-size: var(--wu-fs-sm);
  color: var(--wu-text-muted);
}
.wu-pq figcaption img {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.wu-pq figcaption strong {
  display: block;
  color: var(--wu-heading);
}

@media (max-width: 991.98px) {
  .wu-pq-grid { grid-template-columns: minmax(0, 1fr); }
  .wu-pq-lead { grid-row: auto; }
}
