/* v0.17.248 — deals-first homepage.
   Keep search useful, but spend the first viewport on current LastDay inventory. */

/* Hero: a compact search header instead of a full landing-page wall. */
body.page-home:not(.admin-body) .premium-home-hero{
  padding:18px max(20px,calc((100vw - 1360px)/2)) 14px!important;
  border-bottom:1px solid var(--ld-line)!important;
}
body.page-home:not(.admin-body) .premium-hero-inner{
  grid-template-columns:minmax(280px,.72fr) minmax(520px,1.28fr)!important;
  gap:26px!important;
  align-items:center!important;
}
body.page-home:not(.admin-body) .premium-hero-copy{
  max-width:520px!important;
  padding:0!important;
}
body.page-home:not(.admin-body) .premium-hero-kicker{
  display:inline-flex!important;
  padding:6px 9px!important;
  font-size:8.5px!important;
  letter-spacing:.08em!important;
  margin:0!important;
}
body.page-home:not(.admin-body) .premium-hero-copy h1{
  margin:8px 0 0!important;
  font-size:clamp(29px,3vw,42px)!important;
  line-height:1.02!important;
  letter-spacing:-1.7px!important;
}
body.page-home:not(.admin-body) .premium-hero-copy h1 em{
  display:inline!important;
  margin-left:.18em!important;
}
body.page-home:not(.admin-body) .premium-hero-copy>p,
body.page-home:not(.admin-body) .premium-trust-row,
body.page-home:not(.admin-body) .premium-hero-stats{
  display:none!important;
}
body.page-home:not(.admin-body) .premium-hero-search{
  padding:12px 14px!important;
  border-radius:14px!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  grid-template-areas:"title modes" "form form"!important;
  column-gap:12px!important;
  row-gap:8px!important;
  align-items:center!important;
}
body.page-home:not(.admin-body) .premium-search-kicker,
body.page-home:not(.admin-body) .premium-hero-search>p{
  display:none!important;
}
body.page-home:not(.admin-body) .premium-hero-search h2{
  grid-area:title!important;
  margin:0!important;
  font-size:17px!important;
  line-height:1.1!important;
  letter-spacing:-.4px!important;
  white-space:nowrap!important;
}
body.page-home:not(.admin-body) .premium-quick-modes{
  grid-area:modes!important;
  display:flex!important;
  justify-content:flex-end!important;
  gap:5px!important;
  margin:0!important;
}
body.page-home:not(.admin-body) .premium-quick-modes a{
  min-width:0!important;
  padding:6px 9px!important;
  font-size:9px!important;
}
body.page-home:not(.admin-body) .premium-searchbox{
  grid-area:form!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:8px!important;
  align-items:end!important;
  margin:0!important;
}
body.page-home:not(.admin-body) .premium-searchbox label{
  min-width:0!important;
  gap:3px!important;
  font-size:8px!important;
}
body.page-home:not(.admin-body) .premium-searchbox label>small{display:none!important}
body.page-home:not(.admin-body) .premium-searchbox .destination-input-wrap{
  min-height:42px!important;
  border-radius:10px!important;
}
body.page-home:not(.admin-body) .premium-searchbox input[type=search]{
  font-size:13px!important;
}
body.page-home:not(.admin-body) .premium-search-submit{
  width:auto!important;
  min-width:128px!important;
  min-height:42px!important;
  padding:9px 13px!important;
  border-radius:10px!important;
  font-size:10.5px!important;
}

/* Filters become a tiny utility line immediately before the inventory. */
body.page-home:not(.admin-body) .deal-results-filter{
  margin-top:4px!important;
  padding-top:4px!important;
  padding-bottom:2px!important;
}
body.page-home:not(.admin-body) .deal-results-filter-form{
  padding:7px 9px!important;
  border-radius:12px!important;
}
body.page-home:not(.admin-body) .deal-filter-heading{display:none!important}
body.page-home:not(.admin-body) .deal-results-filter-form select,
body.page-home:not(.admin-body) .deal-results-filter-form input,
body.page-home:not(.admin-body) .deal-filter-submit{
  min-height:34px!important;
  height:34px!important;
}

/* Current deals own the first content viewport. */
body.page-home:not(.admin-body) .owner-confirmed-unified-section,
body.page-home:not(.admin-body) .radar-public-section,
body.page-home:not(.admin-body) section#deals{
  padding-top:22px!important;
  padding-bottom:26px!important;
}
body.page-home:not(.admin-body) .owner-confirmed-unified-section .section-head,
body.page-home:not(.admin-body) .radar-public-section .section-head{
  margin-bottom:12px!important;
}
body.page-home:not(.admin-body) .owner-confirmed-unified-section .section-head p{display:none!important}

/* Discovery/community are useful, but deliberately secondary to deals. */
body.page-home:not(.admin-body) .home-future-season{
  padding-top:24px!important;
  padding-bottom:24px!important;
}
body.page-home:not(.admin-body) .ld-community-section{
  margin-top:6px!important;
  margin-bottom:6px!important;
  padding:10px 14px!important;
  border-radius:13px!important;
}
body.page-home:not(.admin-body) .ld-community-content{
  grid-template-areas:"title button"!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:10px!important;
}
body.page-home:not(.admin-body) .ld-community-eyebrow,
body.page-home:not(.admin-body) .ld-community-section p{display:none!important}
body.page-home:not(.admin-body) .ld-community-section h2{
  margin:0!important;
  font-size:14px!important;
  line-height:1.2!important;
}
body.page-home:not(.admin-body) .ld-community-button{
  min-height:32px!important;
  padding:6px 10px!important;
  border-radius:9px!important;
  font-size:9px!important;
}
body.page-home:not(.admin-body) .search-demand-strip{
  margin-top:6px!important;
  margin-bottom:6px!important;
  padding:7px 10px!important;
  border-radius:12px!important;
}
body.page-home:not(.admin-body) .search-demand-copy strong{font-size:9.5px!important}
body.page-home:not(.admin-body) .search-demand-tags a{min-height:27px!important;padding:4px 8px!important;font-size:9px!important}

/* The generic Stay22 discovery card must never sit between the search and LastDay deals. */
body.page-home:not(.admin-body) [data-stay22-funnel="home-discovery"]{
  margin-top:16px!important;
  margin-bottom:16px!important;
}

@media(max-width:980px){
  body.page-home:not(.admin-body) .premium-home-hero{padding:14px 18px 12px!important}
  body.page-home:not(.admin-body) .premium-hero-inner{grid-template-columns:1fr!important;gap:9px!important}
  body.page-home:not(.admin-body) .premium-hero-copy h1{font-size:31px!important}
  body.page-home:not(.admin-body) .premium-hero-search{grid-template-columns:1fr!important;grid-template-areas:"title" "modes" "form"!important}
  body.page-home:not(.admin-body) .premium-quick-modes{justify-content:flex-start!important;overflow-x:auto!important}
}
@media(max-width:620px){
  body.page-home:not(.admin-body) .premium-hero-copy h1{font-size:27px!important;letter-spacing:-1px!important}
  body.page-home:not(.admin-body) .premium-hero-copy h1 em{display:block!important;margin:1px 0 0!important}
  body.page-home:not(.admin-body) .premium-searchbox{grid-template-columns:1fr!important}
  body.page-home:not(.admin-body) .premium-search-submit{width:100%!important}
  body.page-home:not(.admin-body) .deal-results-filter-form{grid-template-columns:1fr 1fr!important}
  body.page-home:not(.admin-body) .deal-results-filter-form label:nth-of-type(3),
  body.page-home:not(.admin-body) .deal-results-filter-form label:nth-of-type(4){display:none!important}
}
