/* Only the newly requested mobile header controls. Desktop is untouched. */
#header .skysoft-mobile-header-controls {display:none!important;}
@media (max-width:991px) {
 #header .mo-header-menu {position:relative!important;}
 #header .skysoft-mobile-header-controls {display:flex!important;position:absolute!important;top:50%!important;right:65px!important;left:auto!important;transform:translateY(-50%)!important;align-items:center!important;gap:7px!important;z-index:999!important;height:42px!important;white-space:nowrap!important;direction:ltr!important;}
 #header .mo-header-v7 .skysoft-mobile-header-controls {top:30px!important;right:65px!important;}
 #header .skysoft-mobile-header-controls .select-languages.skysoft-language-names {display:inline-flex!important;min-width:0!important;width:auto!important;height:38px!important;margin:0!important;z-index:9999!important;}
 #header .skysoft-mobile-header-controls .skysoft-lang-current {display:flex!important;min-height:36px!important;height:36px!important;padding:0 13px 0 5px!important;font-size:12px!important;gap:3px!important;}
 #header .skysoft-mobile-header-controls .skysoft-lang-flag {font-size:15px!important;min-width:18px!important;flex-basis:18px!important;}
 #header .skysoft-mobile-header-controls .skysoft-lang-options {z-index:99999!important;}
 #header .skysoft-mobile-theme {position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;float:none!important;width:36px!important;height:36px!important;margin:0!important;}
 #header .skysoft-mobile-theme-toggle {display:flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;padding:0!important;border:1px solid #b0b0b0!important;border-radius:50%!important;background:transparent!important;cursor:pointer!important;color:inherit!important;}
 #header .skysoft-mobile-theme-icon:before {content:'☾';display:block;font-size:23px;line-height:1;color:inherit;}
 body.dark-mode-on #header .skysoft-mobile-theme-icon:before {content:'☀';font-size:22px;}
}
@media (max-width:375px) {
 #header .skysoft-mobile-header-controls {right:54px!important;gap:2px!important;}
 #header .mo-header-v7 .skysoft-mobile-header-controls {right:54px!important;}
 #header .skysoft-mobile-header-controls .skysoft-lang-current {font-size:11px!important;}
}

@media(max-width:991px){#header .skysoft-mobile-header-controls .skysoft-lang-options.skysoft-mobile-open {display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;transform:none!important;}}

/* White Rose mobile header: a single horizontal row, menu on the right. */
@media (max-width:991px) {
 #header #mo_header .mo-header-menu {position:relative!important;min-height:72px!important;}
 #header #mo_header #mo-header-icon {position:absolute!important;top:50%!important;right:12px!important;left:auto!important;transform:translateY(-50%)!important;margin:0!important;z-index:1010!important;display:flex!important;align-items:center!important;justify-content:center!important;width:36px!important;height:38px!important;float:none!important;}
 #header .mo-header-v2 .bg-header-icon {position:absolute!important;right:10px!important;top:50%!important;transform:translateY(-50%)!important;z-index:1010!important;margin:0!important;}
 #header .mo-header-v2 .bg-header-icon #mo-header-icon {position:relative!important;top:auto!important;right:auto!important;transform:none!important;}
 #header #mo_header .skysoft-mobile-header-controls,#header .mo-header-v7 .skysoft-mobile-header-controls {position:absolute!important;top:50%!important;right:54px!important;left:auto!important;transform:translateY(-50%)!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important;height:40px!important;z-index:1011!important;}
 #header #mo_header .skysoft-mobile-header-controls .skysoft-lang-current {padding:0 11px 0 3px!important;gap:3px!important;height:34px!important;min-height:34px!important;font-size:11px!important;}
 #header #mo_header .skysoft-mobile-header-controls .select-languages.skysoft-language-names {min-width:0!important;margin:0!important;height:36px!important;}
 #header #mo_header .skysoft-mobile-header-controls .skysoft-lang-flag {display:inline-block!important;font-size:17px!important;flex:0 0 20px!important;min-width:20px!important;}
 #header #mo_header .skysoft-mobile-header-controls .skysoft-lang-options {top:100%!important;right:0!important;left:auto!important;min-width:180px!important;box-shadow:0 8px 22px #0004!important;}
 #header #mo_header .skysoft-mobile-header-controls .skysoft-lang-options:not(.skysoft-mobile-open) {opacity:0!important;visibility:hidden!important;pointer-events:none!important;}
 #header #mo_header .skysoft-mobile-header-controls .skysoft-lang-options.skysoft-mobile-open {opacity:1!important;visibility:visible!important;pointer-events:auto!important;display:block!important;}
 #header #mo_header .skysoft-mobile-header-controls .skysoft-mobile-theme {width:34px!important;height:34px!important;}
 #header #mo_header .skysoft-mobile-header-controls .skysoft-mobile-theme-toggle {width:33px!important;height:33px!important;}
 #header .mo-header-v7 .mo-header-top {position:absolute!important;top:0!important;left:8px!important;right:auto!important;height:100%!important;width:calc(100% - 215px)!important;max-width:200px!important;z-index:1005!important;display:flex!important;align-items:center!important;}
 #header .mo-header-v7 .mo-header-top > .container.main-container {width:100%!important;margin:0!important;padding:0!important;}
 #header .mo-header-v7 .mo-header-top .row {display:flex!important;align-items:center!important;height:auto!important;margin:0!important;}
 #header .mo-header-v7 .mo-header-top-l {width:100%!important;max-width:100%!important;flex:0 0 100%!important;margin:0!important;padding:0!important;order:0!important;float:none!important;}
 #header .mo-header-v7 .mo-header-top-l .mo-col-logo,#header .mo-header-v7 .mo-header-top-l .mo-logo {display:flex!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;float:none!important;margin:0!important;padding:0!important;}
 #header .mo-header-v7 .mo-logo img {display:block!important;width:100%!important;max-width:200px!important;max-height:62px!important;height:auto!important;object-fit:contain!important;}
 #header .mo-header-v2 .mo-col-logo,#header .mo-header-v3 .mo-col-logo {position:absolute!important;top:50%!important;left:8px!important;right:auto!important;transform:translateY(-50%)!important;width:calc(100% - 215px)!important;max-width:200px!important;float:none!important;margin:0!important;z-index:1005!important;}
 #header .mo-header-v2 .mo-col-logo img,#header .mo-header-v3 .mo-col-logo img {width:100%!important;max-height:62px!important;height:auto!important;object-fit:contain!important;}
}
@media(max-width:390px) {
 #header .mo-header-v7 .mo-header-top,#header .mo-header-v2 .mo-col-logo,#header .mo-header-v3 .mo-col-logo {width:calc(100% - 200px)!important;}
 #header #mo_header .skysoft-mobile-header-controls .skysoft-lang-current {font-size:10px!important;}
 #header #mo_header .skysoft-mobile-header-controls {right:49px!important;gap:2px!important;}
 #header #mo_header #mo-header-icon {right:7px!important;}
}

/* Mobile RTL: keep menu icon at right, and display Dari/Pashto dropdown correctly. */
@media (max-width:991px) {
  #header #mo_header .skysoft-mobile-header-controls {direction:rtl!important;}
  #header #mo_header .skysoft-mobile-header-controls .skysoft-lang-current,
  #header #mo_header .skysoft-mobile-header-controls .skysoft-lang-options li a {direction:rtl!important;text-align:right!important;unicode-bidi:isolate!important;}
  #header #mo_header .skysoft-mobile-header-controls .skysoft-lang-current {padding:0 5px 0 10px!important;}
  #header #mo_header .skysoft-mobile-header-controls .skysoft-lang-options {left:auto!important;right:0!important;direction:rtl!important;}
  #header #mo_header .skysoft-mobile-header-controls .skysoft-lang-label {white-space:nowrap!important;}
  #header #mo_header .skysoft-mobile-header-controls .skysoft-lang-flag {direction:ltr!important;}
}
