.screen-reader-text:not(:focus):not(:active) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.lac-back-to-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.35rem;
  height: 3.35rem;
  border: 1px solid rgba(104, 189, 242, 0.34);
  border-radius: 999px;
  background: linear-gradient(180deg, #fffdf6 0%, #fff5d2 100%);
  box-shadow: 0 14px 36px rgba(97, 80, 0, 0.18);
  color: #2f86be;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px) scale(0.92);
  transition: opacity 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
}

.lac-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.lac-back-to-top:hover,
.lac-back-to-top:focus-visible {
  background: linear-gradient(180deg, #fffbe9 0%, #fdda24 100%);
  box-shadow: 0 18px 42px rgba(97, 80, 0, 0.22);
  outline: none;
}

.lac-back-to-top__icon {
  position: relative;
  width: 1.05rem;
  height: 1.25rem;
}

.lac-back-to-top__icon::before,
.lac-back-to-top__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.lac-back-to-top__icon::before {
  bottom: 0.05rem;
  width: 0.16rem;
  height: 0.78rem;
  border-radius: 999px;
  background: currentColor;
}

.lac-back-to-top__icon::after {
  top: 0;
  width: 0.56rem;
  height: 0.56rem;
  border-top: 0.16rem solid currentColor;
  border-left: 0.16rem solid currentColor;
  transform: translateX(-50%) rotate(45deg);
  border-radius: 0.08rem;
}

.lac-back-to-top.is-visible .lac-back-to-top__icon {
  animation: lac-back-to-top-nudge 1.5s ease-in-out infinite;
}

#nav .standard-menu,
#nav .search-overlay {
  z-index: 120;
}

#nav .standard-menu {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

body.menu-open #nav .standard-menu,
#nav.menu-open .standard-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

body.menu-open #nav .standard-menu::before,
#nav.menu-open .standard-menu::before {
  opacity: 1;
}

body.menu-open #nav .standard-menu .container-inner,
#nav.menu-open .standard-menu .container-inner,
body.menu-open #nav .standard-menu .bg-leaf-1,
#nav.menu-open .standard-menu .bg-leaf-1 {
  transform: translate(0) !important;
}

body.menu-open #nav .standard-menu :is(.menu-secondary a > *, .social-menu > *, .region, .copy, .copyright),
#nav.menu-open .standard-menu :is(.menu-secondary a > *, .social-menu > *, .region, .copy, .copyright) {
  opacity: 1;
}

body.lac-menu-shell .lac-back-to-top {
  bottom: calc(8rem + env(safe-area-inset-bottom));
}

body.resource-page .pageWrapper,
body.resource-page #smooth-content,
body.resource-page #mainContent,
body.dial-page .pageWrapper,
body.dial-page #smooth-content,
body.dial-page #mainContent {
  min-height: 100svh;
}

body.dial-page [name="LacDiallApp"] {
  min-height: 100svh;
}

body.dial-page [name="LacDiallApp"] .pinned-container {
  width: 100%;
  min-height: 100svh;
  height: 100svh;
}

body.dial-page [name="LacDiallApp"] #dial-menu {
  min-height: 100svh;
}

body.dial-page:not(.dial-disabled):not(.menu-open):not(.search-menu-open) [name="LacDiallApp"] .quao-dial-css-titles:not(.is-dial-open) {
  opacity: 1 !important;
  visibility: visible !important;
}

body.dial-page [name="LacDiallApp"] .quao-dial-css-title.is-active {
  opacity: 1 !important;
  visibility: visible !important;
}

@media (min-width: 768px) {
  body.dial-page.quaotea-dial-lightweight.quaotea-dial-fallback [name="LacDiallApp"] {
    display: none !important;
  }

  body.dial-page.quaotea-dial-lightweight.quaotea-dial-fallback [name="LacMobileDial"] {
    display: block !important;
    min-height: 100svh;
    overflow: hidden;
  }

  body.dial-page.quaotea-dial-lightweight.quaotea-dial-fallback [name="LacMobileDial"] .slider-wrapper {
    display: block !important;
    width: 100vw;
    min-height: 100svh;
    overflow: hidden;
  }

  body.dial-page.quaotea-dial-lightweight.quaotea-dial-fallback [name="LacMobileDial"] .slide {
    display: none !important;
    width: 100vw;
    min-height: 100svh;
  }

  body.dial-page.quaotea-dial-lightweight.quaotea-dial-fallback [name="LacMobileDial"] .slide:first-child {
    display: flex !important;
  }

  body.dial-page.quaotea-dial-lightweight.quaotea-dial-fallback [name="LacMobileDial"] .slider-controls {
    display: none !important;
  }
}

@supports selector(body:has(*)) {
  @media (min-width: 768px) {
    body.dial-page.quaotea-dial-lightweight:has([name="LacDiallApp"] #dial-menu:empty) [name="LacDiallApp"],
body.dial-page.quaotea-dial-lightweight:has([name="LacDiallApp"] #dial-menu > noscript:only-child) [name="LacDiallApp"] {
      display: none !important;
    }

    body.dial-page.quaotea-dial-lightweight:has([name="LacDiallApp"] #dial-menu:empty) [name="LacMobileDial"],
body.dial-page.quaotea-dial-lightweight:has([name="LacDiallApp"] #dial-menu > noscript:only-child) [name="LacMobileDial"] {
      display: block !important;
      min-height: 100svh;
      overflow: hidden;
    }

    body.dial-page.quaotea-dial-lightweight:has([name="LacDiallApp"] #dial-menu:empty) [name="LacMobileDial"] .slider-wrapper,
body.dial-page.quaotea-dial-lightweight:has([name="LacDiallApp"] #dial-menu > noscript:only-child) [name="LacMobileDial"] .slider-wrapper {
      display: block !important;
      width: 100vw;
      min-height: 100svh;
      overflow: hidden;
    }

    body.dial-page.quaotea-dial-lightweight:has([name="LacDiallApp"] #dial-menu:empty) [name="LacMobileDial"] .slide,
body.dial-page.quaotea-dial-lightweight:has([name="LacDiallApp"] #dial-menu > noscript:only-child) [name="LacMobileDial"] .slide {
      display: none !important;
      width: 100vw;
      min-height: 100svh;
    }

    body.dial-page.quaotea-dial-lightweight:has([name="LacDiallApp"] #dial-menu:empty) [name="LacMobileDial"] .slide:first-child,
body.dial-page.quaotea-dial-lightweight:has([name="LacDiallApp"] #dial-menu > noscript:only-child) [name="LacMobileDial"] .slide:first-child {
      display: flex !important;
    }

    body.dial-page.quaotea-dial-lightweight:has([name="LacDiallApp"] #dial-menu:empty) [name="LacMobileDial"] .slider-controls,
body.dial-page.quaotea-dial-lightweight:has([name="LacDiallApp"] #dial-menu > noscript:only-child) [name="LacMobileDial"] .slider-controls {
      display: none !important;
    }
  }
}

@media (max-width: 767px) {
  body.dial-page [name="LacDiallApp"] {
    display: none !important;
  }

  body.dial-page.quaotea-dial-lightweight [name="LacMobileDial"] {
    display: block !important;
    min-height: 100svh;
    overflow: hidden;
  }

  body.dial-page.quaotea-dial-lightweight #dynamic-content {
    position: relative !important;
    z-index: 1 !important;
    margin-top: 0 !important;
  }

  body.dial-page.quaotea-dial-lightweight #dynamic-content > :first-child {
    box-sizing: border-box;
    padding-top: 0 !important;
  }

  body.dial-page [name="LacMobileDial"] {
    display: block !important;
    min-height: 100svh;
    overflow: hidden;
  }

  body.dial-page [name="LacMobileDial"] .slider-wrapper {
    display: block !important;
    width: 100vw;
    min-height: 100svh;
    overflow: hidden;
  }

  body.dial-page [name="LacMobileDial"] .slide {
    width: 100vw;
    min-height: 100svh;
  }

  body.lac-menu-shell .lac-back-to-top {
    bottom: calc(10.6rem + env(safe-area-inset-bottom));
    right: max(0.75rem, env(safe-area-inset-right));
  }
}

@keyframes lac-back-to-top-nudge {
  0%,
  100% {
    transform: translateY(0);
  }

  45% {
    transform: translateY(-0.22rem);
  }

  65% {
    transform: translateY(-0.36rem);
  }
}
