/* Approved homepage spacing adjustments, without changing search behavior. */
@media(max-width:760px){.home-v2 > .hero .hero-actions{display:none!important}}
@media(min-width:1024px){.home-v2 .hero-copy .hero-text{max-width:none!important;width:100%;white-space:nowrap;font-size:clamp(15px,1.32vw,18px);line-height:1.55}}
.home-v2 .search-experience{padding:14px 18px}.home-v2 .search-title{margin-bottom:9px}.home-v2 .search-panel.booking-search .search-trigger-field{min-height:62px;padding-top:8px;padding-bottom:8px}.home-v2 .search-panel.improved .search-destination{padding-top:8px;padding-bottom:8px}.home-v2 .search-panel.improved .search-button{margin:4px;min-height:54px}.home-v2 .popular-searches{margin-top:8px;gap:6px}.home-v2 .popular-searches a,.home-v2 .popular-searches button{padding-top:4px;padding-bottom:4px}
@media(max-width:700px){.home-v2 .hero-copy .hero-text{white-space:normal}.home-v2 .search-experience{padding:14px}.home-v2 .search-title{flex-wrap:wrap;gap:5px}.home-v2 .search-panel.booking-search .search-trigger-field{min-height:66px}.home-v2 .search-panel.improved .search-button{min-height:46px}}

/* Keep intrinsic photo dimensions from stretching small-screen carousel rows. */
@media(max-width:760px){
.home-v2{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.home-v2 .curated-showcase,.home-v2 .featured-carousel{min-width:0;max-width:100%}
.home-v2 .curated-showcase .featured-carousel-track{grid-auto-columns:86%;grid-template-rows:auto;align-items:stretch;gap:12px;padding:4px 0 10px;scroll-padding:0;overscroll-behavior-x:contain}
.home-v2 .curated-showcase .featured-carousel-card{display:flex;flex-direction:column;min-width:0;height:100%;box-sizing:border-box;scroll-snap-align:start}
.home-v2 .curated-showcase .featured-carousel-image{position:relative;flex:0 0 200px;height:200px;min-height:200px;max-height:200px;aspect-ratio:auto;overflow:hidden}
.home-v2 .curated-showcase .featured-carousel-image img{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;min-height:0;max-height:100%;object-fit:cover}
.home-v2 .curated-showcase .featured-carousel-copy{display:flex;flex-direction:column;flex:1;min-width:0;padding:13px}
.home-v2 .curated-showcase .featured-carousel-copy h3{font-size:19px;line-height:1.2;min-height:46px;overflow-wrap:anywhere}
.home-v2 .curated-showcase .featured-carousel-copy>small{min-width:0;white-space:normal;font-size:12px;line-height:1.4;margin-bottom:10px}
.home-v2 .curated-showcase .featured-carousel-copy>div{margin-top:auto;display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.home-v2 .curated-showcase .featured-carousel-copy>div>span{min-width:0;flex-wrap:wrap;font-size:12px;line-height:1.4}
.home-v2 .curated-showcase .featured-carousel-copy strong{font-size:15px;white-space:nowrap}
.home-v2 .home-confidence>div:first-child{display:block;margin-bottom:20px}
.home-v2 .home-confidence .section-kicker{margin:0 0 10px;font-size:11px;line-height:1.5}
.home-v2 .home-confidence h2{font-size:30px;line-height:1.18;max-width:100%;margin:0;overflow-wrap:break-word}
.home-v2 .confidence-grid{grid-template-columns:minmax(0,1fr)}
.home-v2 .stays-section>.section-heading{align-items:stretch;flex-direction:column;gap:16px}
.home-v2 .stays-section>.section-heading h2{font-size:30px;line-height:1.2;overflow-wrap:break-word}
.home-v2 .stays-section>.section-heading select{width:100%;max-width:100%}
}

/* Compact mobile discovery layout; header, search, footer and desktop untouched. */
@media(max-width:760px){
.home-v2 .stays-section{padding-top:28px;padding-bottom:12px}
.home-v2 .stays-section>.curated-showcase{padding-top:26px;padding-bottom:26px}
.home-v2 .stays-section>.curated-showcase:first-child{padding-top:12px}
.home-v2 .curated-showcase .section-heading{margin-bottom:16px;padding-right:0}
.home-v2 .curated-showcase .section-heading h2{font-size:27px;line-height:1.18;margin:8px 0}
.home-v2 .curated-showcase .section-heading>div>p:last-child{font-size:14px;line-height:1.5;margin:8px 0 0}
.home-v2 .curated-showcase .section-kicker{font-size:10px;letter-spacing:1px}
.home-v2 .curated-showcase .featured-carousel-controls{margin:0 0 8px;gap:7px}
.home-v2 .curated-showcase .featured-carousel-controls button{width:36px;height:36px}
.home-v2 .curated-showcase .featured-carousel-copy strong{font-size:14px}
.home-v2 .curated-showcase .featured-carousel-copy>div>span{font-size:11px;gap:3px}
.home-v2 .destinations-section{padding-top:28px;padding-bottom:24px}
.home-v2 .destinations-section h2{font-size:28px;line-height:1.2}
.home-v2 .destination-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 20px)/2.2);grid-template-rows:160px;grid-auto-rows:160px;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 0 8px}
.home-v2 .destination-card,.home-v2 .destination-card.featured{grid-column:auto;min-width:0;scroll-snap-align:start}
.home-v2 .destination-content{padding:10px;gap:3px}
.home-v2 .destination-content>strong{font-size:20px;line-height:1.1}
.home-v2 .destination-content>span{font-size:10px;gap:3px}
.home-v2 .destination-content small{font-size:10px}
.home-v2 .home-confidence{padding-top:24px;padding-bottom:28px}
.home-v2 .home-confidence h2{font-size:28px}
.home-v2 .confidence-grid{gap:12px}
.home-v2 .confidence-grid article{padding:18px}
.home-v2 .confidence-grid article strong{font-size:19px}
.home-v2 .confidence-grid article p{font-size:14px;line-height:1.55;margin:8px 0 0}
}

/* Keep mobile search benefits close to the search card. */
@media(max-width:760px){.home-v2 .hero>.trust-row{margin-top:24px!important;padding-top:0!important;padding-bottom:16px!important}}
