@font-face{font-family:Nunito;src:local('Nunito Sans');font-display:swap}*{box-sizing:border-box}body{margin:0;background:#101112;color:#fff;font-family:Arial,'Nunito Sans',sans-serif;font-size:15px}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}header{height:75px;background:#101112;border-bottom:1px solid #292b2c;position:relative;z-index:10}.header-inner{height:100%;max-width:1320px;margin:auto;display:flex;align-items:center;gap:32px;padding:0 18px}.brand{display:flex;align-items:center;flex-shrink:0}.brand img{width:125px;height:auto;display:block}.nav{display:flex;align-items:center;gap:20px;height:100%}.nav-item{height:100%;position:relative;display:flex;align-items:center}.nav-button,.nav-link{border:0;background:none;color:white;font-weight:700;font-size:15px;padding:7px 0;white-space:nowrap}.nav-button:hover,.nav-button[aria-expanded=true],.nav-link:hover{text-decoration:underline;text-underline-offset:3px}.drop{display:none;position:absolute;left:0;top:calc(100% - 1px);background:#252829;min-width:375px;padding:0;box-shadow:0 10px 25px #0004}.nav-item:hover .drop,.nav-item:focus-within .drop,.nav-item.open .drop{display:block}.drop a{display:block;padding:18px 24px;font-size:18px;white-space:nowrap}.drop a:hover{background:#333637}.actions{margin-left:auto;display:flex;align-items:center;gap:19px;white-space:nowrap}.service{font-weight:700}.globe{border:0;background:none;color:#fff;padding:4px;display:flex;align-items:center}.globe svg{width:24px;height:24px}.login,.open-account{padding:11px 18px;border-radius:11px;font-weight:700}.login{border:1px solid #16cbb6;color:#20d6c3}.open-account{background:#20d6c3;color:#050909}.hamburger{display:none;background:none;border:0;color:white;font-size:25px}.demo{min-height:350px;background:#191a1b;display:grid;place-items:center;text-align:center;padding:30px}.demo h1{font-size:40px;margin:0 0 12px}.demo p{color:#aaa}footer{background:#17191a;padding:56px 24px 24px;color:#d3d5d5}.footer-inner{max-width:1160px;margin:auto}.footer-columns{display:grid;grid-template-columns:1.2fr repeat(3,1fr);gap:36px}.footer-logo{width:155px;display:block;margin-bottom:24px}.footer-columns h3{color:white;font-size:17px;margin:0 0 22px}.footer-columns a{display:block;margin:0 0 15px;font-size:14px}.footer-columns a:hover{text-decoration:underline}.social{display:flex;gap:10px}.social a{width:34px;height:34px;border:1px solid #515455;border-radius:50%;display:grid;place-items:center;margin:0}.footer-bottom{border-top:1px solid #424445;margin-top:35px;padding-top:20px;display:flex;justify-content:space-between;gap:20px;font-size:13px}.footer-bottom a{margin-left:16px}.modal-backdrop{position:fixed;inset:0;background:#000b;z-index:100;display:none;align-items:flex-start;justify-content:center;padding:0 20px 20px}.modal-backdrop.show{display:flex}.language-modal{position:relative;background:white;color:#242628;width:min(1198px,100%);padding:32px 47px 44px;max-height:95vh;overflow:auto;box-shadow:0 16px 60px #0005}.modal-logo{width:155px;filter:brightness(0);display:block;margin:0 0 28px}.modal-heading{font-size:23px;font-weight:400;margin:0 0 34px}.country-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px 44px}.country{border:1px solid #e6e6e6;border-radius:16px;overflow:hidden}.country-title{height:104px;background:#f7f7f7;padding:17px 22px;font-size:23px;display:flex;flex-direction:column;justify-content:center}.flag{font-size:26px;line-height:1.2}.country a{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e9e9e9;padding:12px 22px;font-size:20px}.country a:hover{background:#f7f7f7}.arrow{color:#82869b;font-size:28px;line-height:1}.modal-close{position:absolute;right:20px;top:15px;border:0;background:transparent;font-size:28px;color:#444}.page{min-height:45vh;padding:65px max(24px,calc((100vw - 1120px)/2))}.page h1{font-size:48px}.page a{color:#20d6c3}.legal{max-width:1160px;margin:0 auto 34px;color:#a8abad;font-size:12px;line-height:1.6}.legal p{margin:0 0 13px}@media(max-width:1050px){.header-inner{gap:20px}.nav{gap:13px}.actions{gap:10px}.brand img{width:110px}.nav-button,.nav-link,.service{font-size:13px}}@media(max-width:800px){header{height:68px}.hamburger{display:block;margin-left:auto}.nav{display:none;position:absolute;top:68px;left:0;right:0;height:auto;background:#101112;padding:16px 24px;flex-direction:column;align-items:stretch;gap:0}.nav.mobile-open{display:flex}.nav-item{height:auto;display:block}.nav-button,.nav-link{display:block;padding:14px 0;font-size:16px}.drop{position:static;min-width:0;box-shadow:none}.drop a{font-size:15px;padding:13px 18px}.nav-item:hover .drop,.nav-item:focus-within .drop{display:none}.nav-item.open .drop{display:block}.actions{margin-left:0}.service{display:none}.login{display:none}.open-account{padding:9px 12px}.footer-columns{grid-template-columns:repeat(2,1fr)}.country-grid{grid-template-columns:repeat(2,1fr);gap:16px}.language-modal{padding:26px}.modal-heading{font-size:19px}}@media(max-width:520px){.brand img{width:115px}.header-inner{gap:10px}.footer-columns{grid-template-columns:1fr 1fr;gap:26px 15px}.footer-bottom{display:block}.footer-bottom a{margin:12px 12px 0 0;display:inline-block}.country-grid{grid-template-columns:1fr}.country-title{height:75px}.modal-backdrop{padding:0}.language-modal{max-height:100vh}.modal-heading{font-size:18px}}

/* Reference-matched desktop refinements */
@font-face{font-family:'Meridian Nunito';src:url('../assets/fonts/NunitoSans-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Meridian Nunito';src:url('../assets/fonts/NunitoSans-Bold.woff2') format('woff2');font-weight:700;font-display:swap}
body{font-family:'Meridian Nunito','Nunito Sans',Arial,sans-serif}
.drop{min-width:375px}.drop a{font-size:15px;line-height:1.3;padding:16px 24px}
.modal-backdrop{align-items:flex-start;padding:24px 24px 32px}
.language-modal{width:min(1198px,100%);padding:39px 46px 44px;max-height:calc(100vh - 48px)}
.modal-logo{width:155px;margin:0 0 24px}
.modal-heading{font-size:22px;margin:0 0 32px}
.country-grid{gap:20px 44px}
.country-title{height:105px;font-size:22px;padding:14px 22px}
.flag{width:30px;height:20px;display:block;object-fit:cover;margin-bottom:4px;border-radius:2px}
.country a{font-size:18px;padding:12px 22px;min-height:52px}
.modal-close{right:-22px;top:-20px;border-radius:50%;width:44px;height:44px;background:#101112;color:#20d6c3;font-size:30px;display:grid;place-items:center}
footer{padding:42px 24px 42px;background:#191b1c;color:#c5c7c8}
.footer-inner{max-width:1600px}
.legal{max-width:none;font-size:15px;line-height:1.45;color:#c5c7c8;margin:0 0 52px}
.legal p{margin:0 0 24px}.legal strong{color:#e4e5e6}.legal a{text-decoration:underline;color:#e4e5e6}
.footer-columns{grid-template-columns:repeat(3,minmax(0,1fr));gap:42px}
.footer-columns h3{font-size:19px;margin:0 0 12px}
.footer-columns a{font-size:15px;line-height:1.5;margin:0;text-decoration:underline}
.footer-bottom{border:0;margin-top:68px;padding:0;font-size:15px;display:block}
.footer-bottom a{text-decoration:underline;margin:0}
@media(max-width:800px){.modal-backdrop{padding:15px}.language-modal{padding:30px 25px;max-height:calc(100vh - 30px)}.modal-close{right:8px;top:8px;background:#101112;width:35px;height:35px;font-size:25px}.country-grid{gap:14px}.footer-columns{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.legal{font-size:13px}.footer-columns a{font-size:13px}.footer-columns h3{font-size:15px}}
@media(max-width:600px){.country-grid{grid-template-columns:1fr}.modal-heading{font-size:18px}.country-title{height:80px}.footer-columns{grid-template-columns:1fr 1fr}.footer-bottom{font-size:13px}}
/* Meridian layout alignment and language-dialog fixes */
:root{--site-width:1320px}
.header-inner,.footer-inner{width:min(var(--site-width),calc(100% - 48px));max-width:var(--site-width);margin-inline:auto}
footer{padding:46px 0 34px}
.footer-inner{padding:0 18px}
.legal{max-width:100%;margin-bottom:48px}
.modal-backdrop{padding:24px 28px;align-items:center;overflow:hidden}
.language-modal{width:min(1198px,calc(100vw - 96px));max-width:100%;max-height:calc(100dvh - 64px);overflow:visible;padding:38px 46px 42px;box-sizing:border-box}
.modal-close{position:absolute;top:-21px;right:-21px;width:44px;height:44px;border-radius:50%;background:#0d0e0e;color:#22d7c4;border:0;display:flex;align-items:center;justify-content:center;font-size:33px;font-weight:700;line-height:1;z-index:3;box-shadow:0 2px 5px #0002}
.modal-close:hover{background:#242828}
.modal-logo{width:155px;height:auto;margin-bottom:22px}
.modal-heading{font-size:21px;line-height:1.3;margin-bottom:30px}
.country-grid{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:44px;row-gap:20px}
.country-title{height:103px;font-size:21px;padding:13px 22px}
.country a{min-height:51px;font-size:17px;padding:10px 22px}
@media(max-height:760px) and (min-width:801px){.language-modal{padding-top:22px;padding-bottom:24px}.modal-logo{width:125px;margin-bottom:14px}.modal-heading{font-size:19px;margin-bottom:18px}.country-grid{row-gap:12px}.country-title{height:74px;font-size:18px}.country a{min-height:40px;padding:7px 18px;font-size:16px}.flag{width:25px;height:16px}}
@media(max-width:800px){.header-inner,.footer-inner{width:calc(100% - 32px)}.footer-inner{padding:0}.modal-backdrop{padding:22px;overflow-y:auto;align-items:center}.language-modal{width:100%;padding:28px 22px;max-height:calc(100dvh - 44px);overflow-y:auto}.modal-close{right:-13px;top:-13px}.country-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.country-title{height:78px}.modal-heading{font-size:18px}}
@media(max-width:520px){.country-grid{grid-template-columns:1fr}.modal-backdrop{align-items:flex-start}.language-modal{overflow-y:auto}.modal-logo{width:120px}.country-title{height:67px}.country a{min-height:42px}.footer-columns{grid-template-columns:1fr 1fr}}
/* Language selector: reference desktop position (top of viewport, not centered) */
@media (min-width: 801px) {
  .modal-backdrop.show { align-items:flex-start; justify-content:center; padding:22px 20px 20px; overflow-y:auto; }
  .language-modal { flex:none; width:min(1055px,calc(100vw - 40px)); max-height:none; overflow:visible; padding:38px 41px 38px; }
  .modal-logo { width:140px; margin-bottom:23px; }
  .modal-heading { font-size:20px; margin-bottom:29px; }
  .country-grid { grid-template-columns:repeat(3,minmax(0,1fr)); column-gap:39px; row-gap:16px; }
  .country-title { height:94px; font-size:20px; padding:14px 20px; }
  .country a { font-size:17px; min-height:45px; padding:8px 20px; }
  .modal-close { top:-19px; right:-19px; width:39px; height:39px; font-size:29px; }
}
@media (min-width:801px) and (max-height:720px) {
 .modal-backdrop.show { padding-top:12px; }
 .language-modal { padding-top:22px; padding-bottom:22px; }
 .modal-logo { width:120px; margin-bottom:13px; }
 .modal-heading { margin-bottom:17px; font-size:18px; }
 .country-title { height:73px; }
 .country a { min-height:37px; padding-top:6px; padding-bottom:6px; }
}

/* 2026 Meridian refinements */
header{position:sticky;top:0;z-index:50;width:100%;isolation:isolate}
.drop a{font-size:16px}
@media(min-width:801px){
 .modal-backdrop.show{padding-top:20px;overflow-y:auto}
 .language-modal{width:min(990px,calc(100vw - 64px));padding:28px 36px 30px}
 .modal-logo{width:125px;margin-bottom:16px}
 .modal-heading{font-size:16px;margin-bottom:22px}
 .country-grid{column-gap:28px;row-gap:14px}
 .country-title{height:78px;font-size:16px;padding:11px 17px}
 .country a{font-size:16px;min-height:41px;padding:7px 17px}
 .flag{width:27px;height:18px;margin-bottom:3px}
 .arrow{font-size:22px}
 .modal-close{top:-18px;right:-18px;width:38px;height:38px;font-size:28px}
}
@media(max-width:800px){.modal-heading,.country-title,.country a{font-size:16px}.modal-backdrop.show{align-items:flex-start}.language-modal{max-height:calc(100dvh - 44px);overflow-y:auto}}

/* Mobile navigation — Scalable-style layout, Meridian branding */
.mobile-nav-extra{display:none}
.globe svg,.mobile-language svg{width:25px;height:25px;display:block;flex:none}
@media(max-width:800px){
 header{height:91px;position:sticky;top:0;z-index:80}
 .header-inner{height:90px;width:100%;padding:0 12px;gap:0;display:flex}
 .brand img{width:156px;max-height:65px;object-fit:contain;object-position:left center}
 .actions{margin-left:auto;margin-right:14px;gap:0}
 .actions .service,.actions .globe,.actions .login{display:none}
 .actions .open-account{display:inline-flex;align-items:center;justify-content:center;border-radius:11px;padding:9px 10px;font-size:16px;font-weight:700;white-space:nowrap}
 .hamburger{display:flex;align-items:center;justify-content:center;order:3;margin:0 -12px 0 0;width:90px;height:90px;border:0;border-left:1px solid #393a3b;background:#101112;color:#fff;flex:none}
 .hamburger-bars,.hamburger-bars:before,.hamburger-bars:after{display:block;width:27px;height:4px;background:#fff;border-radius:1px;position:relative;content:'';transition:transform .15s}
 .hamburger-bars:before{position:absolute;top:-9px;left:0}.hamburger-bars:after{position:absolute;top:9px;left:0}
 .hamburger[aria-expanded=true] .hamburger-bars{background:transparent}
 .hamburger[aria-expanded=true] .hamburger-bars:before{top:0;transform:rotate(45deg)}
 .hamburger[aria-expanded=true] .hamburger-bars:after{top:0;transform:rotate(-45deg)}
 .nav{display:none;position:absolute;top:90px;left:0;right:0;width:100%;height:calc(100dvh - 90px);overflow-y:auto;overscroll-behavior:contain;background:#101112;padding:0;gap:0;flex-direction:column;align-items:stretch}
 .nav.mobile-open{display:flex}
 .nav-item{display:block;height:auto;border-bottom:1px solid #222425;position:relative}
 .nav-link{border-bottom:1px solid #222425}
 .nav-button,.nav-link{width:100%;min-height:69px;padding:0 50px 0 12px;display:flex;align-items:center;justify-content:space-between;text-align:left;font-size:20px;font-weight:700;text-decoration:none}
 .nav-button:after{content:'';width:13px;height:13px;border-right:3px solid #fff;border-bottom:3px solid #fff;transform:rotate(45deg);position:absolute;right:38px;top:26px;transition:transform .2s}
 .nav-item.open .nav-button:after{transform:translateY(6px) rotate(225deg)}
 .nav-item:hover .drop,.nav-item:focus-within .drop{display:none}
 .nav-item.open .drop{display:block}
 .drop{position:static;min-width:0;width:100%;box-shadow:none;background:#252829}
 .drop a{font-size:17px;min-height:54px;padding:15px 25px;white-space:normal}
 .mobile-nav-extra{display:flex;flex-direction:column;width:100%}
 .mobile-service,.mobile-language,.mobile-login,.mobile-account{display:flex;align-items:center;min-height:69px;padding:0 12px;border:0;border-bottom:1px solid #222425;background:#101112;color:#fff;text-align:left;font-size:20px;font-weight:700;text-decoration:none}
 .mobile-language{gap:17px;width:100%;font-family:inherit}
 .mobile-login{background:#20d6c3;color:#080d0d}
 .mobile-account{border-bottom:0}
 body.mobile-menu-active{overflow:hidden}
}
@media(max-width:390px){.brand img{width:130px}.hamburger{width:65px}.actions .open-account{font-size:14px;padding:8px}.actions{margin-right:8px}}

/* Meridian: compact mobile navigation typography */
@media (max-width:800px) {
  .nav-button, .nav-link,
  .mobile-service, .mobile-language, .mobile-login, .mobile-account {
    font-size:16px;
  }
  .drop a {font-size:15px;}
  .nav-button:after {width:10px;height:10px;border-width:2px;}
}

/* Meridian: smaller mobile submenu typography (all locales) */
@media (max-width: 800px) {
  .nav.mobile-open .drop a,
  .nav-item.open .drop a {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
  }
}

/* Bolder desktop header typography */
@media(min-width:801px){.nav-button,.nav-link,.service{font-weight:800}.actions .login,.actions .open-account{font-weight:800}}

/* Meridian: lighter header navigation */
header .nav-button, header .nav-link, header .service { font-weight: 500 !important; }


/* Meridian — sticky header and navigation typography */
header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #101112;
}

/* Main menu: bold on desktop and mobile. Override previous 500 !important. */
header .nav-button,
header .nav-link,
header .service {
  font-weight: 700 !important;
}

header .drop a {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

@media (max-width: 800px) {
  header {
    position: sticky;
    top: 0;
    z-index: 90;
  }

  header .nav-button,
  header .nav-link,
  header .mobile-service,
  header .mobile-language,
  header .mobile-login,
  header .mobile-account {
    font-size: 16px;
    font-weight: 700 !important;
  }

  header .nav.mobile-open .drop a,
  header .nav-item.open .drop a {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
  }
}

/* Shared header: sticky, bold primary menu, compact submenu */
header{position:sticky!important;top:0!important;z-index:80!important}
header .nav-button,header .nav-link,header .service{font-weight:800!important}
header .drop a{font-size:13px!important;font-weight:500!important}
@media(max-width:800px){header .drop a{font-size:14px!important}}

/* Sticky fix: the header is injected into #header by each language's site.js.
   Make the OUTER mount point sticky, not just the nested <header>. */
#header {
  position: sticky !important;
  position: -webkit-sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  width: 100%;
  background: #101112;
}
#header > header {
  position: relative !important;
  top: auto !important;
  z-index: auto !important;
}
#header .nav-button,
#header .nav-link,
#header .service { font-weight: 800 !important; }
#header .drop a { font-size: 13px !important; font-weight: 500 !important; }
@media (max-width: 800px) {
  #header .drop a { font-size: 14px !important; }
}

/* Language selector: country cards with local language and English; no separate English country */
.country-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 28px;max-width:820px;margin-inline:auto}
@media(max-width:600px){.country-grid{grid-template-columns:1fr}}

/* Country selector: Meridian branding and introductory heading */
.language-modal .modal-logo{display:block;width:175px;max-width:52%;height:auto;margin:0 0 26px 0;object-fit:contain;object-position:left center}
.language-modal .modal-heading{font-size:clamp(18px,2.15vw,24px);font-weight:400;line-height:1.45;letter-spacing:-.025em;color:#303236;margin:0 0 30px 0;max-width:100%}
@media(max-width:600px){.language-modal .modal-logo{width:145px;margin-bottom:19px}.language-modal .modal-heading{font-size:18px;margin-bottom:22px}}

/* Country and language selector — refined Meridian dialog */
.modal-backdrop.show{
  position:fixed;inset:0;z-index:9999;display:flex;align-items:center;
  justify-content:center;padding:32px 24px;overflow-y:auto;background:rgba(0,0,0,.74);
}
.language-modal{
  position:relative;flex:none;width:min(960px,100%);max-width:100%;
  max-height:calc(100dvh - 64px);overflow-y:auto;
  padding:38px 46px 42px;background:#fff;color:#222428;
  border-radius:2px;box-shadow:0 25px 90px rgba(0,0,0,.38);
}
.language-modal .modal-logo{
  display:block;width:165px;max-width:48%;height:auto;max-height:74px;
  object-fit:contain;object-position:left center;filter:brightness(0);
  margin:0 0 25px;
}
.language-modal .modal-heading{
  font-size:21px;font-weight:400;line-height:1.4;letter-spacing:-.015em;
  margin:0 0 29px;color:#303237;
}
.language-modal .country-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  max-width:none;margin:0;gap:20px 24px;
}
.language-modal .country{
  border:1px solid #e5e6e8;border-radius:15px;overflow:hidden;background:#fff;
}
.language-modal .country-title{
  height:95px;background:#f7f7f8;padding:16px 21px;
  font-size:20px;font-weight:400;line-height:1.25;
  display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
}
.language-modal .country-title .flag{width:30px;height:21px;object-fit:cover;margin-bottom:5px;flex:none}
.language-modal .country a{
  display:flex;align-items:center;justify-content:space-between;
  min-height:48px;padding:10px 21px;font-size:17px;font-weight:400;
  border-top:1px solid #e7e8ea;color:#202124;transition:background .15s ease;
}
.language-modal .country a:hover,.language-modal .country a:focus-visible{background:#f4f6f6}
.language-modal .country .arrow{font-size:25px;color:#7d8294;line-height:1}
.language-modal .modal-close{
  position:absolute;right:15px;top:14px;width:37px;height:37px;
  border:0;border-radius:50%;display:flex;align-items:center;justify-content:center;
  font-size:28px;line-height:1;background:#111515;color:#20d6c3;
  box-shadow:none;z-index:2;
}
.language-modal .modal-close:hover{background:#293030}
@media(max-width:800px){
  .modal-backdrop.show{align-items:center;padding:20px 16px}
  .language-modal{width:min(700px,100%);max-height:calc(100dvh - 40px);padding:32px 26px}
  .language-modal .country-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .language-modal .country-title{height:80px;font-size:18px}
  .language-modal .country a{font-size:16px;padding:9px 16px}
  .language-modal .modal-heading{font-size:19px}
}
@media(max-width:560px){
  .modal-backdrop.show{align-items:flex-start;padding:12px}
  .language-modal{width:100%;max-height:calc(100dvh - 24px);padding:26px 19px 22px}
  .language-modal .modal-logo{width:135px;margin-bottom:18px}
  .language-modal .modal-heading{font-size:17px;margin-bottom:20px;padding-right:10px}
  .language-modal .country-grid{grid-template-columns:1fr;gap:12px}
  .language-modal .country-title{height:64px;padding:10px 16px;font-size:17px}
  .language-modal .country-title .flag{width:26px;height:18px;margin-bottom:3px}
  .language-modal .country a{min-height:41px;padding:8px 16px;font-size:16px}
  .language-modal .modal-close{top:12px;right:12px;width:32px;height:32px;font-size:24px}
}

/* Language dialog: top-aligned, compact typography and spacing */
.modal-backdrop.show {
  align-items: flex-start !important;
  justify-content: center !important;
  padding: 24px 20px 28px !important;
  overflow-y: auto !important;
}
.language-modal {
  width: min(1040px, 100%) !important;
  max-height: calc(100dvh - 48px) !important;
  overflow-y: auto !important;
  padding: 32px 40px 36px !important;
}
.language-modal .modal-logo {
  width: 142px !important;
  max-height: 55px !important;
  margin: 0 0 21px !important;
}
.language-modal .modal-heading {
  font-size: 18px !important;
  line-height: 1.4 !important;
  letter-spacing: normal !important;
  margin: 0 0 26px !important;
}
.language-modal .country-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px 26px !important;
}
.language-modal .country { border-radius: 14px !important; }
.language-modal .country-title {
  height: 86px !important;
  padding: 12px 18px !important;
  font-size: 17px !important;
  line-height: 1.2 !important;
}
.language-modal .country-title .flag {
  width: 27px !important;
  height: 18px !important;
  margin-bottom: 4px !important;
}
.language-modal .country a {
  min-height: 43px !important;
  padding: 8px 18px !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
}
.language-modal .country .arrow { font-size: 22px !important; }
.language-modal .modal-close {
  top: 0 !important;
  right: 0 !important;
  transform: translate(45%, -35%);
}
@media (max-width: 700px) {
  .modal-backdrop.show { padding: 14px 12px !important; }
  .language-modal {
    padding: 24px 20px 26px !important;
    max-height: calc(100dvh - 28px) !important;
  }
  .language-modal .modal-heading { font-size: 16px !important; margin-bottom: 20px !important; }
  .language-modal .country-grid { gap: 12px !important; }
  .language-modal .country-title { height: 73px !important; font-size: 16px !important; }
  .language-modal .country a { font-size: 14px !important; }
  .language-modal .modal-close { transform: none; top: 8px !important; right: 8px !important; }
}
@media (max-width: 540px) {
  .language-modal .country-grid { grid-template-columns: 1fr !important; }
}

/* Final language selector fix: no horizontal scrolling, close inside dialog */
.modal-backdrop.show {
  box-sizing: border-box !important;
  width: 100vw !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  padding: 24px 20px !important;
}
.language-modal {
  box-sizing: border-box !important;
  flex: 0 1 1040px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 1040px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  max-height: calc(100dvh - 48px) !important;
  padding: 32px 40px 36px !important;
}
.language-modal .country-grid,
.language-modal .country,
.language-modal .country-title { min-width: 0 !important; }
.language-modal .modal-close {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  transform: none !important;
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 27px !important;
  line-height: 1 !important;
  z-index: 5 !important;
  cursor: pointer !important;
}
@media (max-width: 700px) {
  .modal-backdrop.show { padding: 12px !important; }
  .language-modal {
    max-height: calc(100dvh - 24px) !important;
    padding: 24px 18px !important;
  }
  .language-modal .modal-close {
    top: 10px !important;
    right: 10px !important;
    width: 34px !important;
    height: 34px !important;
  }
  .language-modal .modal-logo { max-width: calc(100% - 50px) !important; }
}

/* Country picker — reference-style floating close and compact cards */
.modal-backdrop.show {
  align-items: flex-start !important;
  justify-content: center !important;
  padding: 30px 36px 24px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}
.language-modal {
  position: relative !important;
  flex: 0 1 1050px !important;
  width: 100% !important;
  max-width: 1050px !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 36px 42px 40px !important;
  box-shadow: 0 16px 50px #0005 !important;
}
.language-modal .modal-logo { width: 145px !important; max-width: 45% !important; margin: 0 0 22px !important; }
.language-modal .modal-heading { font-size: 19px !important; line-height: 1.35 !important; margin: 0 0 26px !important; font-weight: 400 !important; }
.language-modal .country-grid { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 18px 26px !important; max-width: none !important; margin: 0 !important; }
.language-modal .country { border: 1px solid #e9e9e9 !important; border-radius: 15px !important; overflow: hidden !important; background: #fff !important; }
.language-modal .country-title { height: 88px !important; padding: 12px 20px !important; background: #f7f7f7 !important; font-size: 19px !important; line-height: 1.25 !important; }
.language-modal .country-title .flag { width: 29px !important; height: 19px !important; margin-bottom: 4px !important; }
.language-modal .country a { min-height: 46px !important; padding: 9px 20px !important; font-size: 17px !important; line-height: 1.3 !important; }
.language-modal .country .arrow { font-size: 25px !important; }
.language-modal .modal-close {
  position: absolute !important;
  top: -22px !important;
  right: -22px !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  border: 2px solid #fff !important;
  border-radius: 50% !important;
  background: #090b0b !important;
  color: #20d6c3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 33px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  transform: none !important;
  box-shadow: 0 2px 7px #0004 !important;
  z-index: 10 !important;
}
.language-modal .modal-close:hover { background: #222 !important; }
@media (max-width: 700px) {
  .modal-backdrop.show { padding: 24px 22px 18px !important; }
  .language-modal { padding: 26px 20px 25px !important; }
  .language-modal .modal-close { top: -17px !important; right: -17px !important; width: 36px !important; height: 36px !important; font-size: 27px !important; }
  .language-modal .modal-heading { font-size: 16px !important; margin-bottom: 20px !important; }
  .language-modal .country-grid { grid-template-columns: 1fr !important; gap: 13px !important; }
  .language-modal .country-title { height: 66px !important; font-size: 16px !important; }
  .language-modal .country a { min-height: 39px !important; font-size: 15px !important; }
}

/* Meridian language picker: original reference proportions, two columns */
@media (min-width: 701px) {
  .modal-backdrop.show {
    align-items: flex-start !important;
    padding: 30px 34px 24px !important;
  }
  .language-modal {
    flex: 0 1 790px !important;
    width: min(790px, 100%) !important;
    max-width: 790px !important;
    padding: 34px 44px 38px !important;
    overflow: visible !important;
  }
  .language-modal .modal-logo {
    width: 155px !important;
    margin-bottom: 24px !important;
  }
  .language-modal .modal-heading {
    font-size: 19px !important;
    line-height: 1.4 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 27px !important;
  }
  .language-modal .country-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 19px 26px !important;
  }
  .language-modal .country-title {
    height: 104px !important;
    padding: 15px 22px !important;
    font-size: 20px !important;
    font-weight: 400 !important;
  }
  .language-modal .country-title .flag {
    width: 30px !important;
    height: 20px !important;
    margin-bottom: 4px !important;
  }
  .language-modal .country a {
    min-height: 52px !important;
    padding: 10px 22px !important;
    font-size: 18px !important;
    font-weight: 400 !important;
  }
  .language-modal .country .arrow { font-size: 26px !important; }
}
@media (max-width: 700px) {
  .language-modal { max-width: 460px !important; }
}
