/* =========================================================
   TAKE 5 — MOBILE FINAL PASS
   Clean mobile navigation, centered hero, full-width finder,
   touch-first featured destinations, and CTA/footer safety.
   ========================================================= */

@media (max-width: 767px) {
  /* ---------- Header: logo left / search + language + menu right ---------- */
  .t5-site-nav,
  .t5-home-page .t5-site-nav {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 78px !important;
    min-height: 78px !important;
    background: #fff !important;
    border-bottom: 1px solid rgba(16, 24, 33, .10) !important;
    box-shadow: 0 1px 0 rgba(13, 20, 32, .05) !important;
    z-index: 1000 !important;
  }

  .t5-site-nav-inner,
  .t5-home-page .t5-site-nav-inner {
    position: relative !important;
    width: calc(100% - 32px) !important;
    height: 78px !important;
    min-height: 78px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .t5-site-brand,
  .t5-home-page .t5-site-brand {
    display: flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1004 !important;
  }

  .t5-site-brand img,
  .t5-home-page .t5-site-brand img {
    width: auto !important;
    height: 49px !important;
    max-width: 132px !important;
    object-fit: contain !important;
  }

  /* Bootstrap's collapse becomes a lightweight positioning shell on mobile.
     The actual link panel is controlled by t5-mobile-final.js. */
  .t5-site-nav .navbar-collapse,
  .t5-home-page .t5-site-nav .navbar-collapse {
    display: block !important;
    position: static !important;
    flex-basis: auto !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    overflow: visible !important;
  }

  .t5-site-links,
  .t5-home-page .t5-site-links {
    position: absolute !important;
    top: 78px !important;
    left: 0 !important;
    right: 0 !important;
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 10px 20px 18px !important;
    background: #fff !important;
    border-top: 1px solid #edf0f3 !important;
    border-bottom: 1px solid #dfe5eb !important;
    box-shadow: 0 18px 35px rgba(15, 39, 76, .12) !important;
    z-index: 1002 !important;
  }

  .t5-site-nav.t5-mobile-open .t5-site-links {
    display: flex !important;
  }

  .t5-site-links .nav-link,
  .t5-home-page .t5-site-links .nav-link {
    width: 100% !important;
    padding: 15px 0 !important;
    margin: 0 !important;
    color: #111820 !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
    border-bottom: 1px solid #edf0f3 !important;
  }

  .t5-site-links .nav-link:last-child {
    border-bottom: 0 !important;
  }

  .t5-site-links .nav-link::after {
    display: none !important;
  }

  /* Actions are kept in the header rather than falling underneath the menu. */
  .t5-site-actions,
  .t5-home-page .t5-site-actions {
    position: absolute !important;
    top: 50% !important;
    right: 48px !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1004 !important;
  }

  .t5-site-icon,
  .t5-home-page .t5-site-icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #111820 !important;
    font-size: 18px !important;
    text-decoration: none !important;
  }

  .t5-site-divider,
  .t5-site-heart,
  .t5-site-plan {
    display: none !important;
  }

  .t5-site-lang,
  .t5-home-page .t5-site-lang {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    min-width: 82px !important;
    height: 42px !important;
    padding: 0 13px !important;
    border: 1px solid #dfe3e8 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #111820 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
  }

  .t5-site-lang::before {
    content: "◎";
    display: inline-block;
    font-size: 18px;
    line-height: 1;
  }

  .t5-site-lang i {
    font-size: 9px !important;
    margin: 0 !important;
  }

  .t5-site-toggler,
  .t5-home-page .t5-site-toggler {
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    transform: translateY(-50%) !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #111820 !important;
    font-size: 24px !important;
    line-height: 1 !important;
    display: grid !important;
    place-items: center !important;
    z-index: 1005 !important;
  }

  .t5-site-toggler:focus,
  .t5-site-toggler:focus-visible {
    box-shadow: none !important;
    outline: 0 !important;
  }

  .t5-site-nav.t5-mobile-open .t5-site-toggler {
    color: #0d274c !important;
  }

  /* ---------- Homepage hero ---------- */
  .t5-home-page .t5-home-hero {
    height: 100svh !important;
    min-height: 700px !important;
    overflow: hidden !important;
    padding-top: 78px !important;
  }

  .t5-home-page .t5-home-hero-media {
    inset: 0 !important;
    height: 100% !important;
  }

  .t5-home-page .t5-home-hero-content {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 44% !important;
    transform: translateY(-50%) !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 22px !important;
    text-align: center !important;
    z-index: 4 !important;
  }

  .t5-home-page .t5-home-kicker {
    margin-bottom: 12px !important;
    font-size: 10px !important;
    letter-spacing: .19em !important;
  }

  .t5-home-page .t5-home-hero h1 {
    max-width: 560px !important;
    margin: 0 auto !important;
    font-size: clamp(38px, 11vw, 56px) !important;
    line-height: 1.02 !important;
    text-align: center !important;
  }

  /* Equal left/right distance; finder occupies the usable width. */
  .t5-home-page .t5-home-finder {
    left: 16px !important;
    right: 16px !important;
    bottom: 18px !important;
    width: auto !important;
    max-width: none !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding: 7px !important;
    border-radius: 16px !important;
    z-index: 6 !important;
  }

  .t5-home-page .t5-home-finder .f {
    min-width: 0 !important;
    padding: 10px 14px !important;
    border-right: 0 !important;
    border-bottom: 1px solid #e6e9ed !important;
  }

  .t5-home-page .t5-home-finder .f:last-of-type {
    border-bottom: 0 !important;
  }

  .t5-home-page .t5-home-finder label {
    margin-bottom: 3px !important;
    font-size: 10px !important;
  }

  .t5-home-page .t5-home-finder select,
  .t5-home-page .t5-home-finder input {
    min-height: 28px !important;
    font-size: 14px !important;
  }

  .t5-home-page .t5-home-finder button {
    width: 100% !important;
    min-height: 48px !important;
    margin-top: 6px !important;
    border-radius: 12px !important;
  }

  .t5-home-page .t5-home-location {
    display: none !important;
  }

  /* ---------- Featured destinations: screenshot-like centred card rail ---------- */
  .t5-home-page .t5-featured-section {
    overflow: hidden !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .t5-home-page .t5-featured-section .t5-home-section-head {
    padding: 0 18px !important;
    margin-bottom: 22px !important;
  }

  .t5-home-page .t5-featured-controls {
    width: auto !important;
    align-self: center !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
  }

  .t5-home-page .t5-featured-controls .t5-home-pill-link {
    margin-right: 2px !important;
  }

  .t5-home-page .t5-featured-controls .t5-carousel-arrow {
    width: 38px !important;
    height: 38px !important;
  }

  .t5-home-page .t5-featured-row {
    width: 100% !important;
    gap: 14px !important;
    padding: 6px 8vw 20px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding-inline: 8vw !important;
    overscroll-behavior-x: contain !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .t5-home-page .t5-featured-card {
    position: relative !important;
    flex: 0 0 84vw !important;
    min-width: 84vw !important;
    scroll-snap-align: center !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 16px 36px rgba(15, 39, 76, .12) !important;
  }

  .t5-home-page .t5-featured-card img {
    height: 235px !important;
    border-radius: 0 !important;
  }

  .t5-home-page .t5-featured-card::after {
    content: "→";
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: 48px !important;
    height: 48px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    background: #d96a16 !important;
    color: #fff !important;
    font-size: 25px !important;
    line-height: 1 !important;
    z-index: 5 !important;
    pointer-events: none !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .16) !important;
  }

  /* Keep the content readable while retaining the compact card feel. */
  .t5-home-page .t5-featured-card small {
    margin-top: 14px !important;
  }

  .t5-home-page .t5-featured-card h3 {
    font-size: 25px !important;
  }

  /* ---------- Final CTA: never let the button get clipped/covered ---------- */
  .t5-home-page .t5-home-cta {
    min-height: 320px !important;
    height: auto !important;
    padding: 72px 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    isolation: isolate !important;
  }

  .t5-home-page .t5-home-cta-content {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: min(100%, 560px) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    z-index: 4 !important;
  }

  .t5-home-page .t5-home-cta h2 {
    font-size: clamp(30px, 8vw, 42px) !important;
    line-height: 1.08 !important;
    margin-bottom: 10px !important;
  }

  .t5-home-page .t5-home-cta p {
    margin-bottom: 20px !important;
  }

  .t5-home-page .t5-home-cta a {
    position: relative !important;
    z-index: 6 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 48px !important;
    padding: 12px 22px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .t5-home-page .t5-global-footer {
    position: relative !important;
    z-index: 10 !important;
    clear: both !important;
  }

  /* Do not let the mobile menu sit above the page with a horizontal scrollbar. */
  html.t5-mobile-menu-active,
  body.t5-mobile-menu-active {
    overflow-x: hidden !important;
  }
}

@media (max-width: 380px) {
  .t5-site-nav-inner,
  .t5-home-page .t5-site-nav-inner {
    width: calc(100% - 24px) !important;
  }

  .t5-site-brand img,
  .t5-home-page .t5-site-brand img {
    max-width: 118px !important;
    height: 46px !important;
  }

  .t5-site-actions,
  .t5-home-page .t5-site-actions {
    right: 43px !important;
    gap: 4px !important;
  }

  .t5-site-lang,
  .t5-home-page .t5-site-lang {
    min-width: 74px !important;
    padding: 0 9px !important;
  }

  .t5-site-icon,
  .t5-home-page .t5-site-icon {
    width: 34px !important;
    min-width: 34px !important;
  }

  .t5-site-toggler,
  .t5-home-page .t5-site-toggler {
    width: 34px !important;
    min-width: 34px !important;
  }
}

/* =========================================================
   TAKE 5 — CORRECTIVE PASS 2
   Internal-page mobile nav + destination rail polish.
   ========================================================= */

/* Desktop/tablet: keep the homepage hero composition centered. */
@media (min-width: 768px) {
  .t5-home-page .t5-home-hero-content {
    position: absolute !important;
    left: 50% !important;
    top: 43% !important;
    transform: translate(-50%, -50%) !important;
    width: min(900px, calc(100% - 80px)) !important;
    max-width: 900px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .t5-home-page .t5-home-kicker,
  .t5-home-page .t5-home-hero h1,
  .t5-home-page .t5-home-hero-copy {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Give the CTA its own stacking/flow context so the footer can never
     visually sit on top of the final action. */
  .t5-home-page .t5-home-cta {
    position: relative !important;
    z-index: 1 !important;
    min-height: 330px !important;
    height: 330px !important;
    margin-bottom: 0 !important;
    padding: 36px 24px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .t5-home-page .t5-home-cta-content {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: min(720px, 100%) !important;
    margin: 0 auto !important;
    z-index: 3 !important;
  }

  .t5-home-page .t5-home-cta a {
    position: relative !important;
    z-index: 4 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 4px !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .t5-home-page .t5-global-footer {
    position: relative !important;
    z-index: 2 !important;
    margin-top: 0 !important;
  }
}

@media (max-width: 767px) {
  /* ---------------------------------------------------------
     INTERNAL PAGES: use the same clean mobile header geometry
     as the homepage, but do not change the homepage behavior.
     --------------------------------------------------------- */
  body:not(.t5-home-page) .t5-site-nav {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    height: 78px !important;
    min-height: 78px !important;
    padding: 0 !important;
    background: #fff !important;
    border-bottom: 1px solid rgba(16,24,33,.10) !important;
    box-shadow: 0 1px 0 rgba(13,20,32,.05) !important;
    z-index: 1000 !important;
  }

  body:not(.t5-home-page) .t5-site-nav-inner {
    position: relative !important;
    width: calc(100% - 24px) !important;
    height: 78px !important;
    min-height: 78px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  body:not(.t5-home-page) .t5-site-brand {
    position: relative !important;
    z-index: 1007 !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body:not(.t5-home-page) .t5-site-brand img {
    width: auto !important;
    max-width: 122px !important;
    height: 47px !important;
    object-fit: contain !important;
  }

  /* Never allow Bootstrap's .collapse dimensions to participate in the
     mobile layout. The custom JS owns open/close state. */
  body:not(.t5-home-page) .t5-site-nav .navbar-collapse {
    position: static !important;
    display: block !important;
    flex: 0 0 0 !important;
    width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
  }

  body:not(.t5-home-page) .t5-site-links {
    position: absolute !important;
    top: 78px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: calc(100svh - 78px) !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 8px 20px 18px !important;
    box-sizing: border-box !important;
    background: #fff !important;
    border-top: 1px solid #edf0f3 !important;
    border-bottom: 1px solid #dfe5eb !important;
    box-shadow: 0 18px 35px rgba(15,39,76,.14) !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-8px) !important;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease !important;
    z-index: 1005 !important;
  }

  body:not(.t5-home-page) .t5-site-nav.t5-mobile-open .t5-site-links {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  body:not(.t5-home-page) .t5-site-links .nav-link {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 15px 0 !important;
    margin: 0 !important;
    color: #111820 !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
    text-align: left !important;
    border-bottom: 1px solid #edf0f3 !important;
  }

  body:not(.t5-home-page) .t5-site-links .nav-link:last-child {
    border-bottom: 0 !important;
  }

  body:not(.t5-home-page) .t5-site-links .nav-link::after {
    display: none !important;
  }

  /* Search + language stay in the header; only the menu links slide down. */
  body:not(.t5-home-page) .t5-site-actions {
    position: absolute !important;
    top: 50% !important;
    right: 43px !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 5px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1007 !important;
  }

  body:not(.t5-home-page) .t5-site-icon {
    display: grid !important;
    width: 35px !important;
    height: 38px !important;
    min-width: 35px !important;
    place-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #111820 !important;
    font-size: 18px !important;
  }

  body:not(.t5-home-page) .t5-site-divider,
  body:not(.t5-home-page) .t5-site-heart,
  body:not(.t5-home-page) .t5-site-plan {
    display: none !important;
  }

  body:not(.t5-home-page) .t5-site-lang {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    min-width: 74px !important;
    height: 40px !important;
    padding: 0 10px !important;
    border: 1px solid #dfe3e8 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #111820 !important;
    font-size: 13px !important;
  }

  body:not(.t5-home-page) .t5-site-lang::before {
    content: "◎" !important;
    display: inline-block !important;
    font-size: 17px !important;
    line-height: 1 !important;
  }

  body:not(.t5-home-page) .t5-site-lang i {
    font-size: 8px !important;
    margin: 0 !important;
  }

  body:not(.t5-home-page) .t5-site-toggler {
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    transform: translateY(-50%) !important;
    width: 36px !important;
    height: 38px !important;
    min-width: 36px !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #111820 !important;
    font-size: 23px !important;
    line-height: 1 !important;
    z-index: 1010 !important;
  }

  body:not(.t5-home-page) .t5-site-toggler:focus,
  body:not(.t5-home-page) .t5-site-toggler:focus-visible {
    outline: 0 !important;
    box-shadow: none !important;
  }

  body:not(.t5-home-page) .t5-site-nav.t5-mobile-open .t5-site-toggler {
    color: #0d274c !important;
  }

  /* ---------------------------------------------------------
     Mobile featured destinations: one arrow, active card sharp,
     neighboring cards softened like the supplied reference.
     --------------------------------------------------------- */
  .t5-home-page .t5-featured-section {
    position: relative !important;
  }

  /* Mobile navigation: only the side-to-side carousel controls remain. */
  .t5-home-page .t5-featured-controls {
    position: absolute !important;
    inset: 50% 0 auto 0 !important;
    height: 0 !important;
    z-index: 20 !important;
    display: block !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .t5-home-page .t5-featured-controls .t5-home-pill-link {
    display: none !important;
  }

  .t5-home-page .t5-featured-controls .t5-carousel-arrow {
    display: grid !important;
    position: absolute !important;
    top: 0 !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #0d274c !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(13,39,76,.22) !important;
    place-items: center !important;
    font-size: 22px !important;
    line-height: 1 !important;
    pointer-events: auto !important;
    z-index: 21 !important;
  }

  .t5-home-page .t5-featured-controls .t5-featured-prev {
    left: 8px !important;
  }

  .t5-home-page .t5-featured-controls .t5-featured-next {
    right: 8px !important;
  }

  .t5-home-page .t5-featured-card {
    opacity: .40 !important;
    filter: blur(2px) saturate(.82) !important;
    transform: scale(.94) !important;
    transition: opacity 320ms ease, filter 320ms ease, transform 320ms ease !important;
  }

  .t5-home-page .t5-featured-card.t5-is-active {
    opacity: 1 !important;
    filter: none !important;
    transform: scale(1) !important;
  }

  /* Cards are the destination links themselves; navigation is handled by the
     navy side arrows and swipe/auto-scroll. No per-card arrow. */
  .t5-home-page .t5-featured-card::after,
  .t5-home-page .t5-featured-card.t5-is-active::after,
  .t5-home-page .t5-featured-card .t5-discover {
    display: none !important;
  }

  /* Extra room below the CTA on desktop is not needed here; on mobile,
     keep the action comfortably separated from the footer as well. */
  .t5-home-page .t5-home-cta {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 380px) {
  body:not(.t5-home-page) .t5-site-brand img {
    max-width: 112px !important;
    height: 44px !important;
  }
  body:not(.t5-home-page) .t5-site-actions {
    right: 40px !important;
    gap: 2px !important;
  }
  body:not(.t5-home-page) .t5-site-lang {
    min-width: 68px !important;
    padding: 0 7px !important;
  }
}
/* Hide mobile carousel pagination on desktop */
.t5-featured-dot {
    display: none;
}

/* Show it only on mobile */
@media (max-width: 768px) {
    .t5-featured-dot {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-top: 24px;
    }
}
/* =========================================================
   TAKE 5 — MOBILE FEATURED CAROUSEL: DOT NAVIGATION
   Reference-style mobile rail: no side arrows, no card arrow;
   use the pagination dots beneath the cards.
   ========================================================= */
@media (max-width: 767px) {
  .t5-home-page .t5-featured-controls {
    display: none !important;
  }

  .t5-home-page .t5-featured-row {
    position: relative !important;
    padding-bottom: 12px !important;
    margin-bottom: 0 !important;
  }

  .t5-home-page .t5-featured-dots {
    width: 100% !important;
    min-height: 24px !important;
    margin: 10px auto 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    overflow: visible !important;
  }

  .t5-home-page .t5-featured-dot {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: block !important;
    flex: 0 0 10px !important;
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    min-height: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #b8b7b2 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    cursor: pointer !important;
    transition: width 220ms ease, background-color 220ms ease, transform 220ms ease !important;
  }

  .t5-home-page .t5-featured-dot.is-active {
    flex-basis: 38px !important;
    width: 38px !important;
    background: #c9510a !important;
    transform: none !important;
  }

  .t5-home-page .t5-featured-dot:focus,
  .t5-home-page .t5-featured-dot:focus-visible {
    outline: 2px solid rgba(13,39,76,.28) !important;
    outline-offset: 3px !important;
  }
}

/* =========================================================
   FINAL MOBILE/RESPONSIVE POLISH
   ========================================================= */

/* Full-bleed homepage hero: never leave a blank strip at the right edge. */
html, body { max-width: 100%; overflow-x: hidden; }
.t5-home-page .t5-home-hero {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.t5-home-page .t5-home-hero-media {
  width: 100% !important;
  max-width: none !important;
  left: 0 !important;
  right: 0 !important;
}

/* Mobile journey finder: centered, full usable viewport width. */
@media (max-width: 767px) {
  .t5-home-page .t5-home-finder {
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: calc(100vw - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Dots belong to the Featured Destinations section, never the next section. */
  .t5-home-page .t5-featured-section {
    overflow: hidden !important;
    padding-bottom: 34px !important;
  }
  .t5-home-page .t5-featured-row {
    margin-bottom: 0 !important;
    padding-bottom: 8px !important;
  }
  .t5-home-page .t5-featured-dots {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    clear: both !important;
    width: 100% !important;
    height: 22px !important;
    min-height: 22px !important;
    margin: 12px auto 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    z-index: 3 !important;
  }
  .t5-home-page .t5-featured-dot {
    background: rgba(13,39,76,.28) !important;
    opacity: .55 !important;
  }
  .t5-home-page .t5-featured-dot.is-active {
    background: #0d274c !important;
    opacity: 1 !important;
  }

  /* Pinterest-style mobile mosaic for Journeys worth taking. */
  .t5-home-page .t5-inspiration-grid {
    display: block !important;
    width: calc(100% - 28px) !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    column-count: 2 !important;
    column-gap: 10px !important;
  }
  .t5-home-page .t5-inspiration-card,
  .t5-home-page .t5-inspiration-card-large {
    display: inline-block !important;
    width: 100% !important;
    min-height: 0 !important;
    height: 270px !important;
    margin: 0 0 10px !important;
    break-inside: avoid !important;
    -webkit-column-break-inside: avoid !important;
    vertical-align: top !important;
    grid-row: auto !important;
  }
  .t5-home-page .t5-inspiration-card-large { height: 360px !important; }
  .t5-home-page .t5-inspiration-card:nth-child(2) { height: 235px !important; }
  .t5-home-page .t5-inspiration-card:nth-child(3) { height: 320px !important; }
  .t5-home-page .t5-inspiration-card:nth-child(4) { height: 245px !important; }
  .t5-home-page .t5-inspiration-card:nth-child(5) { height: 310px !important; }
  .t5-home-page .t5-inspiration-card:nth-child(6) { height: 250px !important; }
  .t5-home-page .t5-inspiration-card:nth-child(7) { height: 300px !important; }
  .t5-home-page .t5-inspiration-card:nth-child(8) { height: 230px !important; }
  .t5-home-page .t5-inspiration-card:nth-child(9) { height: 290px !important; }
  .t5-home-page .t5-inspiration-card:nth-child(10) { height: 250px !important; }
  .t5-home-page .t5-inspiration-card img {
    width: 100% !important;
    height: 100% !important;
  }
  .t5-home-page .t5-inspiration-content,
  .t5-home-page .t5-inspiration-card-large .t5-inspiration-content {
    left: 16px !important;
    right: 16px !important;
    bottom: 18px !important;
  }
  .t5-home-page .t5-inspiration-card-large .t5-inspiration-content h3,
  .t5-home-page .t5-inspiration-content h3 {
    font-size: 24px !important;
  }

  /* Two-column footer on phones. Brand and contact remain full-width anchors. */
  .t5-home-page .t5-global-footer-inner,
  .t5-global-footer .t5-global-footer-inner {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 22px !important;
  }
  .t5-global-footer-inner > .t5-footer-brand,
  .t5-global-footer-inner > div:last-child {
    grid-column: 1 / -1 !important;
  }
  .t5-global-footer-inner > div { min-width: 0 !important; }
  .t5-global-footer-inner > div > a { overflow-wrap: anywhere !important; }
  .t5-home-page .t5-footer-bottom,
  .t5-global-footer .t5-footer-bottom {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 7px !important;
    text-align: center !important;
  }
}
