/* TranslatePress 3.3.9 V2 shortcode, confined to the Liburnija header slot.
   Leave the plugin's hidden/inert, overlay and dropdown state to its own JS. */
.liburnija-tp-switcher {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    color: #102d39;
    font: 700 12px/1.4 Manrope, Arial, sans-serif;
}

.liburnija-tp-switcher .trp-shortcode-switcher__wrapper {
    --bg: #fff !important;
    --bg-hover: #eef7f5 !important;
    --text: #102d39 !important;
    --text-hover: #00534f !important;
    --border: 1px solid #dde4e3 !important;
    --border-width: 1px !important;
    --border-color: #dde4e3 !important;
    --border-radius: 4px !important;
    --font-size: 12px !important;
    --flag-size: 18px !important;
    position: relative;
    width: max-content;
    min-width: 144px;
    max-width: min(240px, calc(100vw - 48px));
    margin: 0;
    font: inherit;
}

.liburnija-tp-switcher .trp-shortcode-switcher {
    box-sizing: border-box;
    min-height: 44px;
    padding: 0;
    margin: 0;
    color: #102d39;
    font: inherit;
}

.liburnija-tp-switcher .trp-shortcode-anchor,
.liburnija-tp-switcher .trp-shortcode-overlay {
    width: 100%;
    min-width: 100%;
}

.liburnija-tp-switcher .trp-shortcode-overlay.is-open {
    width: max-content;
    max-width: min(240px, calc(100vw - 48px));
    box-shadow: 0 14px 36px #102d391a;
}

.liburnija-tp-switcher .trp-current-language-item__wrapper {
    min-height: 42px;
}

.liburnija-tp-switcher .trp-language-item {
    box-sizing: border-box;
    min-height: 42px;
    gap: 8px;
    padding: 11px 12px;
    margin: 0;
    border: 0;
    color: #102d39;
    font: inherit;
    text-decoration: none;
}

.liburnija-tp-switcher .trp-language-item-name {
    color: inherit;
    font: inherit;
    line-height: 1.4;
}

.liburnija-tp-switcher .trp-language-item:hover {
    background: #eef7f5;
    color: #00534f;
}

.liburnija-tp-switcher .trp-language-item:hover .trp-language-item-name {
    color: inherit;
}

.liburnija-tp-switcher .trp-language-item:focus-visible {
    outline: 2px solid #006c67;
    outline-offset: -3px;
}

.liburnija-tp-switcher .trp-shortcode-arrow {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
}

.liburnija-tp-switcher .trp-switcher-dropdown-list {
    padding: 0;
    margin: 0;
    font-size: 13px;
}

.liburnija-tp-switcher .trp-flag-image {
    flex: 0 0 auto;
}

@media (max-width: 1399px) {
    .liburnija-tp-switcher {
        align-self: flex-start;
    }

    .liburnija-tp-switcher .trp-shortcode-switcher__wrapper {
        max-width: min(240px, calc(100vw - 48px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .liburnija-tp-switcher .trp-switcher-dropdown-list {
        transition-duration: 0s;
    }
}
