/**
 * StayEasy homepage — mobile layout only (max-width: 991.98px).
 * Desktop styles stay in style.css / home-featured-sections.css.
 */
@media (max-width: 991.98px) {
  .hero-stayeasy--home {
    min-height: 0;
    padding-top: calc(1.15rem + var(--client-nav-height, 4.25rem));
  }

  .client-site-body main > .hero-stayeasy--home:first-child,
  .client-site-body main > .client-flash-toast + .hero-stayeasy--home {
    padding-top: calc(1.15rem + var(--client-nav-height, 4.25rem));
  }

  .hero-stayeasy--home .hero-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    color: var(--se-soft-teal) !important;
  }

  .hero-stayeasy--home h1 {
    font-size: clamp(1.65rem, 6.4vw, 1.9rem);
    line-height: 1.22;
    margin-bottom: 0.65rem !important;
    text-wrap: balance;
  }

  .hero-stayeasy--home .hero-lead {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.1rem !important;
    margin-left: auto;
    margin-right: auto;
    max-width: 36rem;
    text-wrap: pretty;
  }

  .hero-stayeasy--home .container {
    padding-bottom: 1.25rem !important;
  }

  .hero-stayeasy--home .hero-search-quick {
    justify-content: center;
  }

  .hero-stayeasy--home .hero-search-quick-pill {
    min-height: 2.4rem;
  }

  .hero-stayeasy--home .hero-search-btn {
    min-height: 2.75rem;
  }

  .home-explore-section,
  .home-featured-section {
    background: #fff !important;
    border-bottom: 0 !important;
    padding-top: 1.75rem !important;
    padding-bottom: 1.5rem !important;
  }

  .home-featured-section {
    background: #f6f7f6 !important;
  }

  .home-mobile-intro {
    margin-bottom: 1.1rem;
    text-align: center;
  }

  .home-mobile-eyebrow {
    margin: 0 0 0.4rem;
    color: var(--se-teal);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .home-mobile-heading {
    margin: 0 auto 0.4rem;
    color: var(--se-navy-dark);
    font-family: var(--stayeasy-font-heading);
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1.18;
    max-width: 22rem;
    text-wrap: balance;
  }

  .home-mobile-lead {
    margin: 0 auto;
    color: rgba(var(--se-navy-mid-rgb), 0.7);
    font-size: 0.9rem;
    line-height: 1.45;
    max-width: 24rem;
  }

  .home-explore-section .home-featured-grid,
  .home-featured-section .home-featured-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.85rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0.15rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: -0.35rem;
    padding-inline: 0.35rem 1.25rem;
    padding-bottom: 0.35rem;
  }

  /* Viewport must stay a block scroller. Display:flex here shrinks the track
     so every slide (min-width: 0) collapses into thin unreadable strips. */
  .home-explore-section .home-regions-slider__viewport,
  .home-featured-section .home-regions-slider__viewport {
    display: block;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0.15rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: -0.35rem;
    padding-inline: 0.35rem 1.25rem;
    padding-bottom: 0.35rem;
  }

  .home-explore-section .home-featured-grid::-webkit-scrollbar,
  .home-featured-section .home-featured-grid::-webkit-scrollbar,
  .home-explore-section .home-regions-slider__viewport::-webkit-scrollbar,
  .home-featured-section .home-regions-slider__viewport::-webkit-scrollbar {
    display: none;
  }

  .home-explore-section .home-regions-slider__track,
  .home-featured-section .home-regions-slider__track {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.85rem;
    width: max-content;
    min-width: max-content;
    transform: none !important;
    transition: none;
    will-change: auto;
  }

  .home-explore-section .home-featured-grid__item,
  .home-explore-section .home-regions-slider__slide {
    box-sizing: border-box;
    flex: 0 0 auto;
    width: min(17.5rem, calc(100vw - 4.25rem));
    min-width: min(17.5rem, calc(100vw - 4.25rem));
    max-width: 17.5rem;
    scroll-snap-align: start;
  }

  .home-featured-section .home-featured-grid__item,
  .home-featured-section .home-regions-slider__slide {
    box-sizing: border-box;
    flex: 0 0 auto;
    width: min(20.5rem, calc(100vw - 3.5rem));
    min-width: min(20.5rem, calc(100vw - 3.5rem));
    max-width: 20.5rem;
    scroll-snap-align: start;
  }

  .home-featured-section .home-coming-soon-card {
    border-radius: 0.95rem;
    overflow: hidden;
    box-shadow: 0 0.45rem 1.35rem rgba(13, 27, 42, 0.1);
  }

  .home-featured-section .home-coming-soon-card__img-wrap .home-coming-soon-card__img {
    height: 8.75rem;
  }

  .home-coming-soon-card .card-body {
    min-height: 0;
    padding: 0 1rem 1rem !important;
  }

  .home-coming-soon-card__copy {
    margin-bottom: 0.85rem !important;
  }

  .home-coming-soon-card__cta {
    width: 100%;
    max-width: none;
  }

  .home-region-feeling-card {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0.95rem;
    overflow: hidden;
  }

  .home-region-feeling-card .property-card-img-wrap {
    border-radius: 0.95rem;
    min-height: 15.5rem;
  }

  .home-region-feeling-card__badge {
    max-width: calc(100% - 1.5rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home-feeling-overlay {
    padding: 0.9rem 0.95rem 1rem;
  }

  .home-feeling-overlay__title {
    font-size: 1.18rem;
  }

  .home-feeling-overlay__place,
  .home-feeling-overlay__count {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-chosen-card {
    border-radius: 0.95rem !important;
    overflow: hidden;
    box-shadow: 0 0.45rem 1.35rem rgba(13, 27, 42, 0.1) !important;
  }

  .home-chosen-card .property-card-img-wrap .card-img-top,
  .home-chosen-card .card-img-top {
    height: 10.75rem;
    object-fit: cover;
  }

  .home-chosen-card__body {
    padding: 0.95rem 1rem 1rem !important;
  }

  .home-chosen-card .card-title {
    font-family: var(--stayeasy-font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--se-navy-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .home-chosen-card__fav {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    z-index: 2;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: var(--se-teal);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
  }

  .home-chosen-card__rating {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    background: #fff;
    color: var(--se-navy-dark);
    font-size: 0.78rem;
    font-weight: 600;
    box-shadow: 0 0.15rem 0.55rem rgba(13, 27, 42, 0.12);
  }

  .home-chosen-card__rating .bi {
    color: var(--se-teal);
    font-size: 0.72rem;
  }

  .home-chosen-card__heart {
    display: none !important;
  }

  .home-chosen-card__location {
    margin: 0 0 0.35rem;
    color: rgba(var(--se-navy-mid-rgb), 0.62);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .home-chosen-card__desc {
    margin: 0 0 0.45rem;
    color: rgba(var(--se-navy-mid-rgb), 0.7);
    font-size: 0.88rem;
    font-style: italic;
    line-height: 1.35;
  }

  .home-chosen-card__popular {
    margin: 0 0 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--se-teal);
    font-size: 0.82rem;
    font-weight: 500;
  }

  .home-chosen-card .border-top {
    border-top-color: rgba(var(--se-navy-mid-rgb), 0.1) !important;
    padding-top: 0.7rem !important;
  }

  .home-chosen-card .btn.btn-primary {
    display: none;
  }

  .home-chosen-card .fs-5 {
    font-size: 1.02rem !important;
  }

  .home-mobile-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.38rem;
    margin: 0.95rem 0 0.35rem;
    min-height: 0.7rem;
  }

  .home-mobile-dots__dot {
    width: 0.42rem;
    height: 0.42rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(var(--se-navy-mid-rgb), 0.18);
    appearance: none;
  }

  .home-mobile-dots__dot.is-active {
    background: var(--se-teal);
  }

  .home-mobile-text-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.85rem;
    color: var(--se-teal);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
  }

  .home-mobile-text-link:hover,
  .home-mobile-text-link:focus-visible {
    color: var(--se-teal-dark);
  }

  .home-mobile-search-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    margin-top: 1rem;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    background: var(--se-teal);
    color: #fff;
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 0.35rem 1rem rgba(var(--se-teal-rgb), 0.28);
  }

  .home-mobile-search-btn:hover,
  .home-mobile-search-btn:focus-visible {
    background: var(--se-teal-dark);
    color: #fff;
  }

  .home-new-stayeasy {
    display: none !important;
  }

  .home-new-stayeasy__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 0.75rem;
    margin-top: 0.85rem;
  }

  .home-new-card {
    min-width: 0;
  }

  .home-new-card__media {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    margin-bottom: 0.55rem;
  }

  .home-new-card__media img {
    display: block;
    width: 100%;
    height: 6.75rem;
    object-fit: cover;
  }

  .home-new-card__type {
    position: absolute;
    left: 0.45rem;
    bottom: 0.45rem;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    max-width: calc(100% - 0.9rem);
    padding: 0.18rem 0.5rem;
    border-radius: 0.45rem;
    background: rgba(13, 27, 42, 0.62);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-new-card__title {
    margin: 0 0 0.2rem;
    color: var(--se-navy-dark);
    font-family: var(--stayeasy-font-heading);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .home-new-card__location {
    margin: 0 0 0.55rem;
    display: flex;
    align-items: center;
    gap: 0.28rem;
    color: rgba(var(--se-navy-mid-rgb), 0.7);
    font-size: 0.78rem;
    min-height: 1.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-new-card__location .bi {
    color: var(--se-teal);
    font-size: 0.78rem;
  }

  .home-new-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(var(--se-navy-mid-rgb), 0.1);
  }

  .home-new-card__price {
    min-width: 0;
    color: rgba(var(--se-navy-mid-rgb), 0.72);
    font-size: 0.72rem;
    line-height: 1.3;
  }

  .home-new-card__price strong {
    color: var(--se-navy-dark);
    font-size: 0.82rem;
    font-weight: 700;
  }

  .home-new-card__go {
    flex-shrink: 0;
    width: 1.7rem;
    height: 1.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--se-teal);
    color: #fff;
    font-size: 0.85rem;
    text-decoration: none;
  }

  .home-coming-soon-card--grid {
    box-shadow: none;
    overflow: hidden;
  }

  .home-coming-soon-card--grid .home-coming-soon-card__img-wrap .home-coming-soon-card__img {
    height: 6.75rem;
  }

  .home-coming-soon-card--grid .home-coming-soon-card__icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-top: -1.25rem;
    font-size: 0.9rem;
  }

  .home-coming-soon-card--grid .card-title {
    font-size: 0.95rem;
    margin-top: 0.55rem !important;
    margin-bottom: 0.25rem !important;
  }

  .home-coming-soon-card--grid .home-coming-soon-card__copy {
    max-width: none;
    margin-bottom: 0.55rem !important;
    font-size: 0.72rem;
  }

  .home-coming-soon-card--grid .card-body {
    padding: 0 0.6rem 0.75rem !important;
  }

  .home-coming-soon-card--grid .home-coming-soon-card__cta {
    font-size: 0.72rem;
    min-height: 2rem;
    padding-inline: 0.7rem;
  }

  .home-why-stayeasy {
    padding-top: 1.5rem;
    padding-bottom: 1.75rem;
  }

  .home-concierge-panel {
    padding-bottom: 1.25rem;
  }
}
