/*
Theme Name: Avery Ridge Ranch ARIA Child
Template: bauen
Version: 1.0.0
Description: Site-specific WCAG and ARIA repairs.
*/

/* Avery interior mobile navigation containment — 2026-10-24 */
@media only screen and (max-width: 1064px) {
  body:not(.home) .bauen-mob-menu-wrapper .main-menu {
    box-sizing: border-box;
    inline-size: 100%;
    min-block-size: 0;
    block-size: calc(100dvh - 90px);
    max-block-size: calc(100dvh - 90px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  body:not(.home) .bauen-mob-menu-wrapper .nav-button {
    min-block-size: 14px;
  }
}
/* Prevent the multipage theme from double-offsetting mobile sliding submenus. */
@media only screen and (max-width: 1064px) {
  body:not(.home) .bauen-mob-menu-wrapper .sliding-menu-wrapper > .sub-menu {
    left: auto;
    right: auto;
  }
}
/* Align the full-width interior drawer with both viewport edges. */
@media only screen and (max-width: 1064px) {
  body:not(.home) .bauen-mob-menu-wrapper .main-menu {
    right: 0;
  }
}
/* Interior desktop canvas and fixed-navigation scrollbar repair. */
@media only screen and (min-width: 1065px) {
  body:not(.home) .content-wrapper,
  body:not(.home) .content-lines-wrapper {
    background-color: #0d0c0a !important;
  }

  body:not(.home) nav.bn-classic-main {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  body:not(.home) nav.bn-classic-main::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
}