/* Mobile hero: image, search and carousel controls remain in document flow. */
@media (max-width: 760px) {
  .pb-home #home-hero.pb-banner-home { height: auto; }
  .pb-home .pb-banner-home .pb-hero-carousel {
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
    overflow: visible;
  }
  .pb-home .pb-banner-home .pb-hero-slide {
    order: 0;
    width: 100%;
    aspect-ratio: 2 / 1;
    flex: none;
  }
  .pb-home .pb-banner-home .pb-hero-search-fixed {
    order: 1;
    position: relative;
    inset: auto;
    transform: none;
    width: 100%;
    max-width: none;
    padding: 12px 14px;
    box-sizing: border-box;
    z-index: 25;
  }
  .pb-home .pb-banner-home .pb-hero-search-fixed .pb-home-search {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 10px;
    box-sizing: border-box;
  }
  .pb-home #home-search .pb-home-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }
  .pb-home #home-search .pb-home-tabs button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 8px 2px;
    font-size: 11px;
    line-height: 1.25;
    white-space: normal;
  }
  .pb-home #home-search .pb-home-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }
  .pb-home #home-location {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    font-size: 16px;
    padding: 10px;
    box-sizing: border-box;
  }
  .pb-home #home-search-submit {
    min-width: 72px;
    min-height: 46px;
    padding: 10px;
    font-size: 13px;
  }
  .pb-home #home-search #home-gps { min-height: 40px; font-size: 14px; }
  .pb-home #home-search #home-search-status + button {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    min-height: 44px;
    font-size: 14px;
    box-sizing: border-box;
  }
  .pb-home .pb-banner-home .pb-hero-controls {
    order: 2;
    position: relative;
    inset: auto;
    padding: 5px 12px 12px;
    flex-wrap: wrap;
  }
  .pb-home #place-view-switch.pb-fixed-view:not(.pb-context-view) {
    display: none !important;
  }
  .pb-home #place-view-switch.pb-context-view { position: static !important; }
}
@media (max-width: 340px) {
  .pb-home #home-search .pb-home-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
