/* BW language dialog: progressive enhancement; original links remain without JS. */
.bw-language-switch.bw-language-enhanced{gap:0!important;padding:0!important;border:0!important;background:transparent!important}
.bw-language-switch.bw-language-enhanced>a{display:none!important}
.bw-language-switch .bw-language-open{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;min-width:40px;padding:8px;margin:0;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer;box-sizing:border-box}
.bw-language-open svg{display:block;width:22px;height:22px}
.bw-language-open:hover{background:rgba(127,127,127,.12)}
.bw-language-open:focus-visible,#bwLanguageDialog :focus-visible{outline:3px solid #06d3ff;outline-offset:3px}
html.bw-language-modal-open{overflow:hidden}
#bwLanguageDialog{box-sizing:border-box;width:min(680px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:32px;border:2px solid #111;border-radius:8px;background:#f1f1f1;color:#111;box-shadow:0 16px 60px rgba(0,0,0,.2);font-family:inherit;overflow:auto}
#bwLanguageDialog::backdrop{background:rgba(0,0,0,.38)}
#bwLanguageDialog .bw-language-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 64px}
#bwLanguageDialog h2{font:500 22px/1.3 inherit;font-size:22px;font-weight:500;line-height:1.3;color:#666;margin:0}
#bwLanguageDialog .bw-language-close{border:0;background:none;padding:10px 0 10px 16px;color:#111;font:inherit;font-size:20px;cursor:pointer;min-height:44px}
#bwLanguageDialog label{display:block;font-size:13px;font-weight:500;letter-spacing:.08em;margin:0 0 10px;color:#555}
#bwLanguageDialog select{appearance:auto;display:block;width:100%;box-sizing:border-box;height:58px;border:2px solid #111;border-radius:8px;padding:0 14px;background:#fff;color:#111;font:inherit;font-size:22px;line-height:1.4}
#bwLanguageDialog .bw-language-apply{display:flex;align-items:center;justify-content:space-between;width:100%;box-sizing:border-box;min-height:108px;margin:16px 0 0;padding:24px;border:0;border-radius:5px;background:#000;color:#fff;font:inherit;font-size:32px;text-align:left;cursor:pointer}
#bwLanguageDialog .bw-language-apply:hover{background:#222}
@media(max-width:600px){#bwLanguageDialog{padding:22px;border-radius:7px}#bwLanguageDialog .bw-language-dialog-head{margin-bottom:38px;gap:12px}#bwLanguageDialog h2{font-size:18px}#bwLanguageDialog .bw-language-close{font-size:16px}#bwLanguageDialog select{height:54px;font-size:20px}#bwLanguageDialog .bw-language-apply{min-height:86px;padding:20px;font-size:26px}}

/* Keep the header globe adjacent to the existing partner icons. */
.sub_menu .top_sub_menu>.bw-language-switch.bw-language-enhanced{margin-left:0}
.sub_menu .top_sub .top_right{padding-right:0}
.sub_menu .top_sub .top_right .sns_area{padding-right:0}

/* Mobile utility controls: search followed by language. */
@media(max-width:1020px){
.mobileMenu .nav_main .bw-mobile-language{position:absolute;right:6px;top:8px;margin:0;color:#fff;z-index:2}
.mobileMenu .nav_main .bw-mobile-language .bw-language-open{width:44px;height:44px;min-width:44px}
.mobileMenu .nav_main .btn_search{right:50px!important;width:44px}
.mobileMenu .nav_main h1{margin-left:60px;margin-right:100px;width:auto}
.mobileMenu .nav_main h1 .logo img{max-width:100%;height:auto}
}
