/* v1123 — Approved Popular Destinations widget; no impact on other homepage sections.
   Desktop: four compact photo cards per horizontal row. Mobile: swipeable small cards.
   Explore -> destination editorial page. Find stay deal -> existing /search?city=… SRP,
   whose controller redirects enquiry-only destinations to the enquiry flow. */

#te724-shell #te724-destinations.ys1123-desktop-section {
  background:#fff !important;
  padding:26px 0 30px !important;
}
#te724-shell #te724-destinations .ys1123-wrap { max-width:1360px; }
#te724-shell #te724-destinations .ys1123-head,
#te733-mobile-home #te733-discover.ys1123-mobile-section .ys1123-head {
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  margin:0 0 14px !important;
}
#te724-shell #te724-destinations .ys1123-head h2,
#te733-mobile-home #te733-discover.ys1123-mobile-section .ys1123-head h2 {
  margin:0; color:#092f47; font-family:Georgia,'Times New Roman',serif;
  font-weight:650; letter-spacing:-.025em; line-height:1.13;
}
#te724-shell #te724-destinations .ys1123-head h2 { font-size:clamp(25px,2.25vw,33px); }
#te724-shell #te724-destinations .ys1123-head>a,
#te733-mobile-home #te733-discover.ys1123-mobile-section .ys1123-head>a {
  flex:none; color:#082f4b; font:700 13px/1.3 Inter,system-ui,sans-serif;
  text-decoration:none; border-bottom:2px solid #f56a00; padding:0 0 5px;
}
#te724-shell #te724-destinations .ys1123-rail,
#te733-mobile-home #te733-discover.ys1123-mobile-section .ys1123-rail {
  display:grid; grid-auto-flow:column; gap:14px; overflow-x:auto; overflow-y:hidden;
  scroll-snap-type:x proximity; overscroll-behavior-inline:contain;
  padding:2px 2px 8px; scrollbar-width:thin; scrollbar-color:#bacdd7 transparent;
}
#te724-shell #te724-destinations .ys1123-rail {
  grid-auto-columns:calc((100% - 42px)/4); scroll-padding-inline:2px;
}
#te724-shell #te724-destinations .ys1123-card,
#te733-mobile-home #te733-discover.ys1123-mobile-section .ys1123-card {
  min-width:0; scroll-snap-align:start; background:#fff; border:1px solid #dbe6ed;
  border-radius:15px; padding:8px; overflow:hidden; box-shadow:0 3px 12px #092d4312;
  display:flex; flex-direction:column; box-sizing:border-box;
}
#te724-shell #te724-destinations .ys1123-photo,
#te733-mobile-home #te733-discover.ys1123-mobile-section .ys1123-photo {
  display:block; flex:none; position:relative; overflow:hidden; border-radius:11px;
  height:112px; text-decoration:none; background:#e6edf2;
}
#te724-shell #te724-destinations .ys1123-photo img,
#te733-mobile-home #te733-discover.ys1123-mobile-section .ys1123-photo img {
  display:block; width:100%; height:100%; object-fit:cover;
}
#te724-shell #te724-destinations .ys1123-image-fallback,
#te733-mobile-home #te733-discover.ys1123-mobile-section .ys1123-image-fallback {
  display:grid; place-items:center; height:100%; font-size:37px; color:#335b72;
  background:linear-gradient(135deg,#d5e8ee,#eef3ee);
}
#te724-shell #te724-destinations .ys1123-card-body,
#te733-mobile-home #te733-discover.ys1123-mobile-section .ys1123-card-body {
  flex:1; display:flex; flex-direction:column; min-width:0; padding:10px 4px 2px;
}
#te724-shell #te724-destinations .ys1123-card-body h3,
#te733-mobile-home #te733-discover.ys1123-mobile-section .ys1123-card-body h3 {
  margin:0 0 10px; color:#092f47; font:750 18px/1.15 Inter,system-ui,sans-serif;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
#te724-shell #te724-destinations .ys1123-actions,
#te733-mobile-home #te733-discover.ys1123-mobile-section .ys1123-actions {
  margin-top:auto; display:grid; grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr); gap:8px;
}
#te724-shell #te724-destinations .ys1123-actions a,
#te733-mobile-home #te733-discover.ys1123-mobile-section .ys1123-actions a {
  display:flex; align-items:center; justify-content:center; box-sizing:border-box;
  min-width:0; min-height:38px; padding:8px 6px; border-radius:9px;
  text-decoration:none; white-space:nowrap; font:750 12px/1.2 Inter,system-ui,sans-serif;
  transition:background .2s ease,border-color .2s ease;
}
#te724-shell #te724-destinations .ys1123-explore,
#te733-mobile-home #te733-discover.ys1123-mobile-section .ys1123-explore {
  border:1px solid #597b94; background:#fff; color:#082f4b;
}
#te724-shell #te724-destinations .ys1123-stay,
#te733-mobile-home #te733-discover.ys1123-mobile-section .ys1123-stay {
  border:1px solid #082f4b; background:#082f4b; color:#fff;
}
#te724-shell #te724-destinations .ys1123-explore:hover,
#te733-mobile-home #te733-discover.ys1123-mobile-section .ys1123-explore:hover {
  background:#eaf3f6;
}
#te724-shell #te724-destinations .ys1123-stay:hover,
#te733-mobile-home #te733-discover.ys1123-mobile-section .ys1123-stay:hover {
  background:#ea6200; border-color:#ea6200;
}
#te724-shell #te724-destinations .ys1123-photo:focus-visible,
#te724-shell #te724-destinations .ys1123-actions a:focus-visible,
#te733-mobile-home #te733-discover.ys1123-mobile-section a:focus-visible {
  outline:3px solid #f56a00; outline-offset:2px;
}
@media (max-width:900px) {
  /* Unlike the old V3 tall photo-grid, the approved layout is one compact swipeable row. */
  html body.home-page #te733-mobile-home #te733-discover.ys1123-mobile-section {
    background:#fff !important; margin:0 !important; padding:20px 16px 22px !important;
  }
  html body.home-page #te733-mobile-home #te733-discover.ys1123-mobile-section .ys1123-head h2 {
    font-size:22px !important;
  }
  html body.home-page #te733-mobile-home #te733-discover.ys1123-mobile-section .ys1123-head>a {
    font-size:12px !important;
  }
  html body.home-page #te733-mobile-home #te733-discover.ys1123-mobile-section .ys1123-rail {
    grid-auto-columns:minmax(210px,72%); gap:11px;
    margin:0 -16px !important; padding:2px 16px 10px !important;
    scroll-padding-inline:16px; scrollbar-width:none;
  }
  html body.home-page #te733-mobile-home #te733-discover.ys1123-mobile-section .ys1123-rail::-webkit-scrollbar {
    display:none;
  }
  html body.home-page #te733-mobile-home #te733-discover.ys1123-mobile-section .ys1123-card {
    padding:7px; border-radius:14px;
  }
  html body.home-page #te733-mobile-home #te733-discover.ys1123-mobile-section .ys1123-photo {
    height:99px;
  }
  html body.home-page #te733-mobile-home #te733-discover.ys1123-mobile-section .ys1123-card-body {
    padding:9px 3px 2px;
  }
  html body.home-page #te733-mobile-home #te733-discover.ys1123-mobile-section .ys1123-card-body h3 {
    font-size:16px !important; margin:0 0 8px;
  }
  html body.home-page #te733-mobile-home #te733-discover.ys1123-mobile-section .ys1123-actions a {
    font-size:11px; min-height:37px; padding:7px 4px;
  }
}
@media (prefers-reduced-motion:reduce){
  #te724-shell #te724-destinations .ys1123-actions a,
  #te733-mobile-home #te733-discover .ys1123-actions a { transition:none; }
}
