.list-menu--right {
  right: 0;
}

.list-menu--disclosure {
  position: absolute;
  min-width: 100%;
  width: 20rem;
  border: 1px solid rgba(var(--color-foreground), 0.2);
  background-color: rgb(var(--color-background));
}

.list-menu--disclosure:focus {
  outline: none;
}

.list-menu__item--active {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.list-menu--disclosure.localization-selector {
  max-height: 18rem;
  overflow: auto;
  width: 10rem;
  padding: 0.5rem;
}

@media screen and (width < 768px) {
  .header__container:has(.ly-custom-0) {
    .header__logo {
      max-width: 100%;
    }

    & .header__right {
      gap: 15px;

      & .ly-custom-0 a {
        display: block;
        margin-top: 0.2em;

        &:last-child {
          margin-bottom: 0.2em;
        }
      }
    }
  }
}
