.hiq-language-selector {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    margin: 0;
    font-family: var(--hiq-font-sans);
    font-size: var(--hiq-type-meta-size);
    font-weight: var(--hiq-type-weight-strong);
    line-height: var(--hiq-type-line-compact);
}

.hiq-language-option {
    min-height: 34px;
    padding: .38rem .68rem;
    border: 1px solid #94a3b8;
    border-radius: 999px;
    background: #ffffff;
    color: #164b7a;
    cursor: pointer;
    font: inherit;
}

.hiq-language-option:hover {
    border-color: #164b7a;
    background: #eff6ff;
}

.hiq-language-option:focus-visible {
    outline: 3px solid #ffb000;
    outline-offset: 2px;
}

.hiq-language-option[aria-pressed="true"] {
    border-color: #164b7a;
    background: #164b7a;
    color: #ffffff;
}

.hiq-language-selector-compact {
    display: block;
    width: 100%;
}

.hiq-language-select {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 24px;
    padding: 2px 5px;
    border: 1px solid #c5d4de;
    border-radius: 5px;
    background: #ffffff;
    color: #164b7a;
    cursor: pointer;
    font-family: var(--hiq-font-sans);
    font-size: var(--hiq-type-label-size);
    font-weight: var(--hiq-type-weight-strong);
    line-height: var(--hiq-type-line-compact);
}

.hiq-language-select:hover {
    border-color: #66869d;
    background: #f7fafc;
}

.hiq-language-select:focus-visible {
    outline: 3px solid #ffb000;
    outline-offset: 1px;
}

html:lang(he) body {
    font-family: var(--hiq-font-sans);
}

html:lang(he) body *:not(code):not(pre):not(kbd):not(samp) {
    font-family: var(--hiq-font-sans);
}

html:lang(he) body :where(
    a,
    label,
    legend,
    summary,
    th,
    dt) {
    letter-spacing: 0;
}

html:lang(he) body :where(
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    strong,
    b,
    button,
    summary,
    th,
    legend,
    [class*="-title"],
    [class*="-heading"],
    [class*="-tagline"],
    [class*="-label"],
    [class*="-action"],
    [class*="-link"]) {
    letter-spacing: 0;
    text-transform: none;
}

html:lang(he) button,
html:lang(he) input,
html:lang(he) select,
html:lang(he) textarea {
    font-family: inherit;
}

.time-it-about-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 6px 10px;
    border-radius: 10px;
    color: inherit;
    font-size: var(--hiq-type-label-size);
    font-weight: var(--hiq-type-weight-strong);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.time-it-about-link:hover,
.time-it-about-link:focus-visible {
    background: rgba(20, 75, 122, .1);
}

@media (max-width: 420px) {
    .hiq-language-option {
        min-height: 38px;
        padding-inline: .75rem;
    }
}

@media print {
    .hiq-language-selector {
        display: none !important;
    }
}
