/* Homepage mobile fixes v1 - additive, only applies at phone widths */
@media (max-width: 640px) {
  /* Hero: clear the menu button, tighten copy, chips in two columns */
  .rs-home-hero--with-search .rs-home-hero__content { padding-top: 32px; padding-bottom: 28px; }
  .rs-home-hero--with-search .rs-eyebrow { font-size: 12px; letter-spacing: .08em; }
  .rs-home-hero--with-search .rs-hero-copy h1 { font-size: 34px; line-height: 1.05; margin-bottom: 12px; }
  .rs-home-hero--with-search .rs-hero-copy p.rs-subtitle { font-size: 16px; line-height: 1.45; margin-bottom: 18px; }
  .rs-home-hero--with-search .rs-hero-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
  .rs-home-hero--with-search .rs-hero-proof li { min-height: 0; padding: 7px 10px; font-size: 12.5px; line-height: 1.25; border-radius: 10px; }
  .rs-home-hero--with-search .rs-hero-actions { gap: 10px; }
  .rs-home-search-panel { padding: 16px; }
  .rs-home-search-panel h2 { font-size: 20px; margin-bottom: 6px; }
  .rs-home-search-panel > p { font-size: 14px; }

  /* Trust strip: two columns instead of five stacked rows */
  .rs-trust-strip__inner { grid-template-columns: repeat(2, 1fr); gap: 8px 12px; }
  .rs-trust-item { font-size: 13px; }
  .rs-trust-item:last-child { grid-column: 1 / -1; }

  /* Last Minute Specials cards: stop the three-column squeeze */
  .lastminute-item { flex-wrap: wrap; align-items: flex-start; }
  .lm-image img { width: 84px; height: 84px; }
  .lm-content { flex: 1 1 calc(100% - 100px); min-width: 0; }
  .lm-content h5 { font-size: 15px; }
  .lm-right { flex: 1 1 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; margin-top: 10px; padding-top: 10px; border-top: 1px solid #eef2f6; }
  .lm-right .lm-spaces { flex: 1 1 auto; }
  .lm-right .lm-button { flex: 0 0 auto; }
  .lm-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 4px; padding-bottom: 4px; }
  .lm-tabs li { flex: 0 0 auto; }

  /* Homepage uses the site-wide sticky bar from footer.php */
  .rs-mobile-sticky { display: none; }
}

/* v2: four hero chips, favourites as a swipe row */
@media (max-width: 640px) {
  .rs-home-hero--with-search .rs-hero-proof li:nth-child(3),
  .rs-home-hero--with-search .rs-hero-proof li:nth-child(6) { display: none; }

  .home-page .lmfav .lmfav-grid { display: flex; grid-template-columns: none; gap: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scroll-padding-left: 16px; margin: 0 -16px; padding: 4px 16px 14px; scrollbar-width: none; }
  .home-page .lmfav .lmfav-grid::-webkit-scrollbar { display: none; }
  .home-page .lmfav .lmfav-card { flex: 0 0 78%; max-width: 320px; scroll-snap-align: start; }
  .home-page .lmfav .lmfav-card img { height: 150px; }
  .home-page .lmfav .lmfav-cta { margin-top: 4px; }
}

/* v3: trust strip sits under the hero on desktop, after the destinations grid on phones */
.rs-trust-strip--mobile { display: none; }
@media (max-width: 640px) {
  .rs-trust-strip--desktop { display: none; }
  .rs-trust-strip--mobile { display: block; }
}
