/* Phone refinements layered over the original site's styles. */
@media (max-width: 768px) {
  html { scroll-padding-top: 110px; }
  body { padding-bottom: env(safe-area-inset-bottom); }
  #global-navbar .header .header__hamburger { width: 48px !important; height: 48px !important; }
  body > div.sidemenu .sidemenu__wrapper {
    height: 100dvh; overflow-y: auto; overscroll-behavior: contain;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }
  body > div.sidemenu .sidemenu__header { padding-bottom: 24px !important; }
  body > div.sidemenu .navigation__link {
    min-height: 52px; padding: 12px 20px !important; font-size: 19px !important; line-height: 28px !important;
  }
  body > div.sidemenu .sub-nav__link { min-height: 44px; }
  input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
  textarea, select, .uf-cus-sel-toggle, .custom-select-toggle {
    font-size: 16px !important;
  }
  .search-wrapper .search-input-container { min-height: 48px; }
  .search-wrapper .search-input { min-width: 0; }
  .search-form .search-button { min-height: 48px; }
  :is(a, button, input, select, textarea, [role=button]):focus-visible {
    outline: 2px solid currentColor !important; outline-offset: 4px;
  }
  .lp-btn, .type-list__item, .poi-table__filters button,
  .custom-select-item, .uf-cus-sel-option {
    min-height: 44px !important;
  }
  .type-list__item { display: inline-flex; align-items: center; }
  .type-list, .poi-table__filters { gap: 10px !important; }
  .filters__close { min-width: 44px; min-height: 44px; }
  .filters__wrapper[aria-expanded=true] {
    height: 100dvh !important; max-height: 100dvh;
    padding-bottom: max(24px, env(safe-area-inset-bottom)) !important;
    overscroll-behavior: contain;
  }
  body:has(.filters__wrapper[aria-expanded=true]) .mobile-contact-wrapper .btn-holder {
    visibility: hidden; pointer-events: none;
  }
  .modal-1 .btn-group {
    margin: 0 !important; width: 100%; box-sizing: border-box;
    padding: 16px !important;
  }
  .modal-1 .nav-tab { gap: 6px !important; }
  .modal-1 .share-close { gap: 6px; }
  .modal-1 .nav-tab a, .modal-1 .share-box, .modal-1 .lp-lightbox__close {
    margin: 0 !important;
    min-width: 44px !important; min-height: 44px !important;
    display: inline-flex !important; align-items: center; justify-content: center;
  }
  .mobile-contact-wrapper .pop-up {
    max-height: 85dvh !important; overflow-y: auto;
    padding-bottom: env(safe-area-inset-bottom); overscroll-behavior: contain;
  }
  body > .mobile-contact-wrapper .btn-holder {
    bottom: max(12px, env(safe-area-inset-bottom)) !important;
  }
  #global-footer .site-footer__copy,
  #global-footer .site-footer__col-content { overflow-wrap: anywhere; }
  #global-footer .footer-navigation__link {
    display: inline-flex; align-items: center; min-height: 44px;
  }
  .opening-with-search {
    min-height: min(760px, 100svh) !important;
    padding-top: 120px !important; padding-bottom: 48px !important;
  }
  .opening-with-search .bottom-spacer { display: none; }
  .opening-with-search .opening-title { font-size: clamp(32px, 9vw, 40px) !important; }
  .opening-with-search .opening-description { font-size: 14px !important; }
  .opening-with-search .search-form { margin-top: 24px !important; }
  .opening-with-search .search-input { font-size: 16px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .connect-btn { animation: none !important; }
}
