/* Language UI V1.1.0 */
.mmcl-switch{direction:ltr;display:flex;align-items:center;flex:none;position:relative;z-index:85}
.mmcl-switch__desktop{display:flex;align-items:center;gap:4px;min-height:38px;padding:3px 5px;background:rgba(233,245,244,.93);border:1px solid #cbe3df;border-radius:13px;box-shadow:0 3px 15px rgba(4,66,78,.04)}
.mmcl-switch__desktop a{display:grid;place-items:center;min-width:36px;height:32px;padding:0 7px;border-radius:9px;color:#145365;text-decoration:none;font-weight:700;transition:background-color .24s,color .24s,transform .24s}
.mmcl-switch__desktop .mmcl-ar-label{font-family:'Tajawal',Arial,sans-serif;font-size:16px}
.mmcl-switch__desktop .mmcl-en-label{font-family:'Playfair Display',Georgia,serif;font-size:13px}
.mmcl-switch__desktop a[aria-current=true]{background:#08758a;color:#fff;box-shadow:0 4px 10px #08758a26}
.mmcl-switch__desktop a:hover{background:#d4e9e7;transform:translateY(-1px)}
.mmcl-switch__desktop a[aria-current=true]:hover{background:#06657a}
.mmcl-separator{opacity:.45;color:#37616c;font-size:10px}
.mmcl-switch__mobile{display:none;position:relative}
.mmcl-globe{display:grid;place-items:center;width:43px;height:43px;border:1px solid #c1dfdf;background:rgba(246,252,251,.95);color:#086e80;border-radius:14px;cursor:pointer;box-shadow:0 7px 18px #0c627315;transition:transform .25s,background-color .25s,box-shadow .25s}
.mmcl-globe:hover,.mmcl-globe[aria-expanded=true]{transform:translateY(-2px);background:#e1f4f0;box-shadow:0 9px 22px #0c62732a}
.mmcl-menu{position:absolute;top:calc(100% + 11px);left:0;width:148px;padding:7px;background:#fff;border:1px solid #c7dedc;border-radius:17px;box-shadow:0 20px 45px #10384530;display:grid;gap:4px;animation:mmcl-drop .24s cubic-bezier(.22,.75,.2,1) both}
.mmcl-menu[hidden]{display:none!important}
.mmcl-menu a{display:flex;justify-content:space-between;align-items:center;min-height:39px;padding:9px 12px;border-radius:11px;font-size:13px;color:#153b4a;text-decoration:none}
.mmcl-menu a:hover{background:#e7f5f1}.mmcl-menu a[aria-current=true]{background:#e0f1ed;color:#076c82;font-weight:750}
.mmcl-menu a[aria-current=true]::after{content:'✓'}
@keyframes mmcl-drop{from{opacity:0;transform:translateY(-8px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
.mmcl-language-transition{position:fixed;inset:0;z-index:130;display:grid;place-items:center;background:rgba(9,36,48,.34);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);animation:mmcl-in .22s ease both;pointer-events:all}
.mmcl-language-transition__card{display:grid;justify-items:center;gap:10px;background:#fff;padding:28px 35px;border:1px solid #cce2dd;border-radius:25px;box-shadow:0 24px 60px #052b3a44;color:#0d3b49;min-width:190px;animation:mmcl-card .34s cubic-bezier(.22,.76,.18,1) both}
.mmcl-language-transition__globe{display:grid;place-items:center;width:55px;height:55px;border:2px solid #89cacc;border-radius:50%;font-size:25px;animation:mmcl-turn 1.2s linear infinite;color:#07798e}
.mmcl-language-transition__card strong{font:700 16px/1.4 'Tajawal',Inter,sans-serif}
.mmcl-language-transition__card small{font-size:12px;color:#607680}
@keyframes mmcl-turn{to{transform:rotate(360deg)}}@keyframes mmcl-in{from{opacity:0}to{opacity:1}}@keyframes mmcl-card{from{transform:translateY(13px) scale(.93);opacity:0}to{transform:none;opacity:1}}
@media(max-width:760px){
 .mmcl-switch__desktop{display:none}.mmcl-switch__mobile{display:block}
 .mmcl-switch{grid-column:1!important;grid-row:1!important;justify-self:start!important}
 .mmc-header .mmc-header__inner{direction:ltr!important;display:grid!important;grid-template-columns:48px minmax(0,1fr) 61px!important;align-items:center!important;gap:5px!important}
 .mmc-header .mmc-brand{grid-column:2!important;grid-row:1!important;justify-self:center!important;max-width:min(100%,170px)!important;min-width:0!important;width:100%!important}
 .mmc-header .mmc-brand img{width:100%!important;max-height:55px!important;object-fit:contain!important}
 .mmc-header .mmc-header__cta{grid-column:3!important;grid-row:1!important;justify-self:end!important;font-size:0!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;min-width:59px!important;width:59px!important;padding:8px!important;border-radius:13px!important}
 .mmc-header .mmc-header-cta-label,.mmc-header .mmc-cta-arrow{display:none!important}
 .mmc-header .mmc-header-cta-short{display:inline!important;font:700 13px/1 Inter,Arial,sans-serif!important;color:inherit!important}
 .mmc-header .mmc-nav--desktop{display:none!important}
}
@media(max-width:350px){.mmc-header .mmc-header__inner{grid-template-columns:43px minmax(0,1fr) 55px!important}.mmc-header .mmc-header__cta{width:55px!important;min-width:55px!important}.mmcl-globe{width:40px;height:40px}}
@media(prefers-reduced-motion:reduce){.mmcl-language-transition,.mmcl-language-transition__card,.mmcl-language-transition__globe,.mmcl-menu{animation:none!important}}

/* V1.3.0: prevent accidental square corners and menu clipping. */
.mmcl-switch,.mmcl-switch__mobile{overflow:visible!important;isolation:auto!important}
.mmcl-switch__desktop{border-radius:16px!important;overflow:hidden!important}
.mmcl-switch__desktop a{border-radius:11px!important;background-clip:padding-box!important}
.mmcl-globe{appearance:none;-webkit-appearance:none;overflow:hidden!important;border-radius:16px!important;background-clip:padding-box!important;box-shadow:0 8px 22px #103b4822!important}
.mmcl-menu{left:0;right:auto;max-width:min(185px,calc(100vw - 28px));overflow:hidden!important;z-index:200!important}
html[dir="rtl"] .mmcl-menu{left:0!important;right:auto!important;direction:rtl!important;text-align:right!important}
.mmcl-language-transition[lang="ar"] .mmcl-language-transition__card, .mmcl-language-transition[lang="ar"] .mmcl-language-transition__card :is(strong,small){font-family:'Tajawal',Arial,sans-serif!important;line-height:1.65!important;letter-spacing:0!important}
@media(max-width:760px){.mmcl-switch,.mmcl-switch__mobile{z-index:151!important}.mmcl-menu{left:0!important;right:auto!important;min-width:150px!important;transform-origin:top left!important}.mmcl-globe{border-radius:16px!important}}

/* V1.4 mobile switch is intentionally anchored to the physical left edge. */
@media(max-width:760px){
 .mmc-header .mmcl-switch{grid-column:1!important;grid-row:1!important;justify-self:start!important;position:relative!important;overflow:visible!important}
 .mmcl-switch__mobile{position:relative!important;isolation:isolate!important}
 .mmcl-menu,html[dir=rtl] .mmcl-menu{position:absolute!important;left:0!important;right:auto!important;transform-origin:top left!important;min-width:154px!important;width:max-content!important;max-width:calc(100vw - 26px)!important;z-index:140!important;direction:rtl!important}
 .mmcl-menu a{font-family:Tajawal,Arial,sans-serif!important;white-space:nowrap}
 .mmcl-globe,.mmcl-globe svg{border-radius:16px!important;clip-path:none!important}
}
.mmcl-language-transition[lang=ar] :is(strong,small){font-family:Tajawal,Arial,sans-serif!important;letter-spacing:0!important}

/* Explicit physical mobile positioning regardless of page RTL flow; globe LEFT,
   logo CENTRE, and Get / تواصل RIGHT. The earlier RTL rule used !important. */
@media(max-width:760px){
 html[dir=rtl] .mmc-header .mmc-header__inner{direction:ltr!important}
 html[dir=rtl] .mmc-header .mmcl-switch{grid-column:1!important;justify-self:start!important}
 html[dir=rtl] .mmc-header .mmc-brand{grid-column:2!important;justify-self:center!important}
 html[dir=rtl] .mmc-header .mmc-header__cta{grid-column:3!important;justify-self:end!important}
}

.mmcl-language-transition[lang=en] :is(strong,small){font-family:Inter,Arial,sans-serif!important}

/* v1.6: globally floating mobile menu must not be clipped by its trigger */
@media(max-width:760px){.mmc-header .mmcl-switch,.mmc-header .mmcl-switch__mobile{overflow:visible!important;clip-path:none!important}.mmc-header .mmcl-switch{z-index:999!important}.mmcl-menu:not([hidden]){visibility:visible!important;opacity:1;pointer-events:auto;display:grid!important;z-index:9999!important;min-width:154px!important;max-width:min(190px,calc(100vw - 28px))!important;transform-origin:top left}.mmcl-globe{position:relative;z-index:2;touch-action:manipulation;-webkit-tap-highlight-color:transparent}}
