/* Header language control adapted from airlines.lv Router; no position hacks. */
.smxn-language-menu-item{position:relative!important;list-style:none}
.smxn-language-switch{position:relative;font-family:inherit;font-size:13px;font-weight:750;color:#252668}
.smxn-language-switch summary{display:flex;align-items:center;gap:5px;list-style:none;cursor:pointer;padding:9px 12px;color:#252668!important;white-space:nowrap}
.smxn-language-switch summary::-webkit-details-marker{display:none}
.smxn-language-switch summary span{font-size:12px;color:#1B4FA6}
.smxn-language-switch[open] summary{color:#1B4FA6!important}
.smxn-language-options{position:absolute;z-index:99999;top:100%;right:0;min-width:116px;background:#fff;border:1px solid #dce5ef;border-radius:8px;box-shadow:0 8px 26px rgba(25,36,80,.11);padding:5px;display:grid;gap:2px}
.smxn-language-options .smxn-lang-opt{display:block!important;padding:8px 10px!important;color:#252668!important;border-radius:5px!important;font-size:13px!important;text-decoration:none!important;line-height:1.3!important}
.smxn-language-options .smxn-lang-opt:hover,.smxn-language-options .smxn-lang-opt.is-active{background:#F1F5F9!important;color:#1B4FA6!important}
.smxn-language-options .smxn-lang-opt.is-unavailable{color:#8d9aad!important;cursor:not-allowed}
.smxn-language-shortcode{display:inline-flex}
@media(max-width:999px){.smxn-language-options{right:auto;left:0}.smxn-language-menu-item{width:max-content}}
/* Keep only Sky Maxxi's custom language control legible when Blocksy marks
   the test page header row as transparent. The theme styles the other links. */
body.smxn-hero-home #header.ct-header [data-transparent-row="yes"] .smxn-language-switch,
body.smxn-hero-home #header.ct-header [data-transparent-row="yes"] .smxn-language-switch summary,
body.smxn-hero-home #header.ct-header [data-transparent-row="yes"] .smxn-language-switch summary span { color:#fff!important; }
body.smxn-hero-home #header.ct-header [data-transparent-row="yes"] .smxn-language-options .smxn-lang-opt { color:#252668!important; }

/* 0.11.1: The control lives over photography on translated homes and in
   Blocksy's dark Offcanvas, and must not inherit link blue from the theme.
   Only dropdown OPTIONS stay navy on their white panel for contrast. */
#header .smxn-language-switch,
#header .smxn-language-switch summary,
#header .smxn-language-switch summary span,
#header .smxn-language-switch[open] summary,
#header .smxn-language-switch[open] summary span,
.ct-panel .smxn-language-switch,
.ct-panel .smxn-language-switch summary,
.ct-panel .smxn-language-switch summary span,
.ct-panel .smxn-language-switch[open] summary,
.ct-panel .smxn-language-switch[open] summary span {
    color: #fff !important;
}
/* HTML header element: an understated separator before the locale control.
   Scoped to the desktop wrapper, never shifts the header or hero. */
@media (min-width: 1000px) {
    #header .smxn-header-language {
        position: relative;
        display: flex;
        align-items: center;
        margin-left: 22px;
        padding-left: 26px;
        min-height: 28px;
    }
    #header .smxn-header-language::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 24px;
        background-color: #fff !important;
        opacity: .55 !important;
    }
}
