/* Same theme, compact language choice outside the menu. */
body .fe-header-language { display:block; min-width:110px; border:0; padding:0; background:transparent; }
body .fe-header-language .fe-language-dropdown { position:relative; width:130px; text-align:start; margin:0; padding:0; border:0; background:transparent; }
body .fe-header-language .fe-language-dropdown .fe-language-trigger { display:flex; justify-content:space-between; gap:10px; align-items:center; box-sizing:border-box; width:100%; min-height:44px; margin:0; padding:10px 16px; background:#222; color:#fff; border:1px solid #222; border-radius:4px; cursor:pointer; font:300 15px/22px Arial,Tahoma,sans-serif; text-transform:none; letter-spacing:normal; }
body .fe-header-language .fe-language-dropdown .fe-language-trigger span {font:inherit; color:inherit; background:transparent; border:0; padding:0;}
body .fe-header-language .fe-language-dropdown:is(.is-open,:hover) .fe-language-trigger {background:#444;border-color:#444;}
body .fe-header-language .fe-language-dropdown .fe-language-trigger:focus-visible {outline:3px solid #111;outline-offset:3px;box-shadow:0 0 0 3px #fff;}
.fe-language-options a:focus-visible {outline:3px solid #222;outline-offset:2px;}
body .fe-header-language .fe-language-options {position:absolute;inset-block-start:calc(100% + 6px);inset-inline-end:0;z-index:1100;width:170px;max-width:calc(100vw - 32px);margin:0;padding:5px;background:#fff;border:1px solid #c7c7c7;border-radius:3px;box-shadow:0 5px 18px rgba(0,0,0,.12);list-style:none;}
body .fe-header-language .fe-language-options li {margin:0;padding:0;list-style:none;}
body .fe-header-language .fe-language-options[hidden] {display:none!important;}
body .fe-header-language .fe-language-options :is(a,span[aria-current]) {display:block;padding:9px 12px;min-height:40px;color:#222;background:#fff;font:14px/1.5 Arial,"PingFang SC","Microsoft YaHei",sans-serif;text-decoration:none;border-radius:2px;}
body .fe-header-language .fe-language-options a:hover {background:#eee;}
body .fe-header-language .fe-language-options span[aria-current] {background:#222;color:#fff;}
body[data-fady-translation] :is(h1,h2,h3,.fe-nav-item a,.fe-prep-nav-item a) {overflow-wrap:break-word;hyphens:auto;}
body[data-fady-translation] {--fe-local-body:Arial,sans-serif;--fe-local-heading:Roboto,Arial,sans-serif;}
body[data-fady-translation="zh-hans"] {--fe-local-body:Arial,"PingFang SC","Microsoft YaHei",sans-serif;--fe-local-heading:Roboto,Arial,"PingFang SC","Microsoft YaHei",sans-serif;}
body[data-fady-translation] > .fe-ar-site {direction:ltr;text-align:left;line-height:1.7;}
body[data-fady-translation] > .fe-ar-site :is(.page-list,.page-list a) {direction:ltr;text-align:left;}
body[data-fady-translation] > .fe-ar-site .hero h1 {font-size:clamp(32px,3.2vw,48px);line-height:1.2;}
body[data-fady-translation] > .fe-ar-site .hero p {line-height:1.7;}
body[data-fady-translation] > .fe-ar-site h2 {line-height:1.25;}
body[data-fady-translation] > .fe-ar-site,
body[data-fady-translation] > .fe-ar-site :is(p,li,label,input,textarea,select,button,.button,.brand,.review,nav,footer) {font-family:var(--fe-local-body)!important;}
body[data-fady-translation] > .fe-ar-site :is(h1,h2,h3,h4,h5,h6) {font-family:var(--fe-local-heading)!important;}
body[data-fady-translation="zh-hans"] :is(main,.fpn,.fe-main-nav,.fe-contact-hero,#colophon) {font-family:var(--fe-local-body);}
@media(max-width:767px){
 body .fe-header-language {min-width:110px;}
 body .fe-header-language .fe-language-dropdown {width:130px;}
 html[lang="ar"] body .fe-header-language .fe-language-options {inset-inline-end:auto;inset-inline-start:0;}
 body[data-fady-translation] .fe-nav-list a {overflow-wrap:anywhere;}
}
