/* ============================================================
   i18n.css — EN | GR language switcher
   ============================================================ */

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-300.ttf') format('truetype');
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-400.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-500.ttf') format('truetype');
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-600.ttf') format('truetype');
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-700.ttf') format('truetype');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

html[lang='el'] .greek-text {
    font-family: 'Manrope', sans-serif;
}

/* Greek filter labels remain inside their light-green boxes and headings. */
html[lang='el'] .filters-sidebar .filter-item .greek-text,
html[lang='el'] .filters-sidebar .filter-group h3 .greek-text {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    line-height: 1.35;
}

html[lang='el'] .filters-sidebar .filter-item {
    align-items: flex-start;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 22px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: .5px;
    white-space: nowrap;
}

.lang-switch .lang-opt {
    color: #ffffff;
    text-decoration: none;
    opacity: .55;
    transition: opacity .2s ease, color .2s ease;
    padding: 2px 2px;
}

.lang-switch .lang-opt:hover {
    opacity: 1;
}

.lang-switch .lang-opt.active {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.lang-switch .lang-sep {
    color: #ffffff;
    opacity: .35;
}

/* Hide the page until the Greek overlay is applied (avoids EN → GR flash) */
html.i18n-pending body {
    visibility: hidden;
}

@media (max-width: 992px) {
    .lang-switch {
        margin-left: auto;
        margin-right: 14px;
        order: 2;
    }

    .hamburger {
        order: 3;
    }
}
