/* Harmoniq Estates: expose the existing React language control on mobile. */
@media (max-width: 63.999rem) {
  #root header.z-40 > .container-ks {
    gap: 0.5rem;
    padding-inline: 0.75rem;
  }
  #root header.z-40 > .container-ks > a[aria-label="Harmoniq Estates"] {
    flex-shrink: 0;
  }
  #root header.z-40 > .container-ks > nav.hidden {
    display: flex;
    flex: 0 0 auto;
    margin-inline-start: auto;
    gap: 0;
  }
  #root header.z-40 > .container-ks > nav.hidden > a {
    display: none;
  }
  #root header.z-40 > .container-ks > nav.hidden > [role="group"][aria-label="Language"] {
    display: flex;
    flex-shrink: 0;
    border-color: var(--border, #d4ddd8);
    background: var(--background, #fff);
    align-items: center;
  }
  #root header.z-40 > .container-ks > nav.hidden > [role="group"][aria-label="Language"] > button {
    min-width: 40px;
    min-height: 40px;
    padding: 0.25rem 0.4rem;
    color: var(--foreground, #24332d);
    line-height: 1;
  }
  #root header.z-40 > .container-ks > nav.hidden > [role="group"][aria-label="Language"] > button[aria-pressed="true"] {
    background: var(--gold, #d8a13d);
    color: var(--ink, #18251f);
  }
  #root header.z-40 > .container-ks > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 40px;
    min-height: 44px;
  }
}
@media (max-width: 22rem) {
  #root header.z-40 > .container-ks > a[aria-label="Harmoniq Estates"] > span {
    gap: 0.25rem;
  }
  #root header.z-40 > .container-ks > a[aria-label="Harmoniq Estates"] svg {
    width: 30px;
    height: 30px;
  }
  #root header.z-40 > .container-ks > a[aria-label="Harmoniq Estates"] .font-serif {
    font-size: 18px;
  }
}
