/* Native disclosure, no network request and no nested page scrollbar. */
.yolo-language-switcher{position:relative;flex:none;font-size:15px;line-height:1.4;color:#173b6d;text-align:left;z-index:30}
.yolo-language-switcher summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid #d8e1ed;border-radius:22px;background:#fff;cursor:pointer;list-style:none;white-space:nowrap;box-sizing:border-box}
.yolo-language-switcher summary::-webkit-details-marker{display:none}
.yolo-language-switcher .yolo-language-flag{width:24px;height:16px;border:1px solid #d8e1ed;border-radius:2px;flex:none}
.yolo-language-switcher .yolo-language-chevron{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;flex:none}
.yolo-language-switcher[open] .yolo-language-chevron{transform:rotate(180deg)}
.yolo-language-switcher ul{position:absolute;right:0;top:calc(100% + 8px);min-width:170px;max-width:calc(100vw - 32px);padding:6px!important;margin:0!important;list-style:none;background:#fff;border:1px solid #d8e1ed;border-radius:14px;box-shadow:0 8px 24px #173b6d1a;z-index:40}
.yolo-language-switcher li{list-style:none;margin:0;padding:0}
.yolo-language-switcher a{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 12px!important;border-radius:8px;color:#173b6d;text-decoration:none;box-sizing:border-box;white-space:nowrap}
.yolo-language-switcher a:hover,.yolo-language-switcher a[aria-current]{background:#eef4fb}
.yolo-language-switcher :is(a,summary):focus-visible{outline:3px solid #173b6d;outline-offset:3px}
header:has(.yolo-language-switcher) .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{display:flex;align-items:center;min-height:44px;padding-block:8px;box-sizing:border-box}
header:has(.yolo-language-switcher) .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close{display:flex;align-items:center;justify-content:center;width:44px;min-width:44px;min-height:44px}
@media(max-width:767.98px){.yolo-language-switcher{font-size:14px}.yolo-language-switcher summary{padding-inline:9px;gap:6px}.yolo-language-switcher .yolo-language-flag{width:21px;height:14px}}
/* Only headers containing this block participate; unrelated FSE groups retain their layout. */
@media(min-width:1600px){
header .wp-block-group:has(> .yolo-language-switcher){max-width:none!important;margin-inline:0!important;width:100%;padding-inline:var(--wp--preset--spacing--60,70px);box-sizing:border-box;gap:24px!important;flex-wrap:nowrap!important}
header .wp-block-group:has(> .yolo-language-switcher)>.wp-block-site-logo{flex:none}
header .wp-block-group:has(> .yolo-language-switcher)>.wp-block-navigation{flex:1;min-width:0}
header:has(.yolo-language-switcher) .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-container-content{flex-wrap:nowrap;gap:24px}
header:has(.yolo-language-switcher) .wp-block-navigation__responsive-container:not(.is-menu-open) :is(.wp-block-navigation__container,.wp-block-navigation-item){flex-wrap:nowrap;gap:24px}
header:has(.yolo-language-switcher) .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content{white-space:nowrap}
header:has(.yolo-language-switcher) .wp-block-navigation__responsive-container:not(.is-menu-open) form[role="search"]{flex:0 0 200px;min-width:0;margin:0;font-size:16px}
header:has(.yolo-language-switcher) .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-search__inside-wrapper{width:100%!important;box-sizing:border-box}
}
@media(max-width:1599.98px){
header .wp-block-group:has(> .yolo-language-switcher){max-width:none!important;margin-inline:0!important;width:100%;padding-inline:var(--wp--preset--spacing--60,70px);box-sizing:border-box;gap:8px!important;flex-wrap:nowrap!important}
header .wp-block-group:has(> .yolo-language-switcher)>.wp-block-navigation{flex:1;min-width:44px;justify-content:flex-end}
header:has(.yolo-language-switcher) .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}
header:has(.yolo-language-switcher) .wp-block-navigation__responsive-container-open{display:flex!important;align-items:center;justify-content:center;min-width:44px;min-height:44px}
}
@media(max-width:767.98px){
header .has-global-padding:has(.yolo-language-switcher){padding-inline:16px!important}
/* public-design.css already subtracts the phone gutter for the old header.
   This row sits inside a padded parent, so use its full content width once. */
header .wp-block-group:has(> .yolo-language-switcher){width:100%!important;padding-inline:0}
header .wp-block-group:has(> .yolo-language-switcher)>.wp-block-site-logo{flex:0 0 110px!important;width:110px!important;max-width:110px!important;min-width:0!important}
header .wp-block-group:has(> .yolo-language-switcher)>.wp-block-site-logo img{width:100%!important;height:auto!important}
}
@media(max-width:360px){header .wp-block-group:has(> .yolo-language-switcher)>.wp-block-site-logo{flex-basis:86px!important;width:86px!important;max-width:86px!important}}
