/* Global footer V44 — compact horizontal navigation.
   Embassy and Explore links are inline/wrapping rows to reduce footer height.
   The institutional identity and Our Commitment remain distinct anchors. */
.global-site-footer{
  --gf-navy:#031b33;--gf-navy2:#06294a;--gf-gold:#c99a48;--gf-gold2:#e7c98d;
  --gf-text:#e9f0f5;--gf-muted:#aab8c4;--gf-line:rgba(231,201,141,.22);
  position:relative!important;clear:both!important;width:100%!important;margin:0!important;padding:0!important;
  background:linear-gradient(180deg,#06294a 0%,#031b33 100%)!important;color:var(--gf-text)!important;
  border:0!important;border-top:1px solid rgba(201,154,72,.55)!important;box-shadow:none!important;
  font-family:"DM Sans",Arial,sans-serif!important;text-align:start!important;overflow:hidden!important
}
.global-site-footer *{box-sizing:border-box;min-width:0}
.global-site-footer a{color:inherit!important;text-decoration:none!important}
.global-site-footer img{display:block!important;max-width:100%!important}
.global-footer-shell{width:min(1180px,calc(100% - 40px))!important;margin:0 auto!important;padding:22px 0 0!important}

/* Desktop: identity left, two shallow horizontal link rows center, commitment right. */
.global-footer-grid{
  display:grid!important;
  grid-template-columns:minmax(340px,1.05fr) minmax(410px,1.55fr) minmax(220px,.76fr)!important;
  grid-template-rows:auto auto!important;
  column-gap:28px!important;row-gap:9px!important;align-items:start!important
}
.global-footer-brand{
  grid-column:1!important;grid-row:1/3!important;display:block!important;
  padding:0 24px 0 0!important;border-inline-end:1px solid rgba(255,255,255,.10)!important
}
.global-footer-master-brand{display:flex!important;align-items:center!important;gap:10px!important;width:fit-content!important;max-width:100%!important;margin:0!important}
.global-footer-master-brand .ve-brand__emblem{width:40px!important;height:auto!important;max-height:40px!important;object-fit:contain!important;flex:0 0 40px!important;filter:none!important}
.global-footer-master-brand .ve-brand__copy{display:block!important;min-width:0!important}
.global-footer-master-brand .ve-brand__copy strong{
  display:block!important;margin:0!important;color:#fff!important;
  font:700 clamp(10px,1vw,12.4px)/1.24 "Libre Baskerville",Georgia,serif!important;
  letter-spacing:-.012em!important;white-space:nowrap!important;max-width:none!important
}
.global-footer-master-brand .ve-brand__copy small{
  display:block!important;margin-top:3px!important;color:var(--gf-gold2)!important;
  font:700 7.3px/1.22 "DM Sans",Arial,sans-serif!important;letter-spacing:.08em!important;
  text-transform:uppercase!important;white-space:nowrap!important
}
.global-footer-brand>p{max-width:405px!important;margin:8px 0 0!important;color:#c7d2dc!important;font-size:10px!important;line-height:1.42!important;overflow-wrap:anywhere!important}

/* Horizontal navigation rows. */
.global-footer-col{
  grid-column:2!important;display:flex!important;align-items:baseline!important;gap:12px!important;min-width:0!important
}
.global-footer-col:nth-of-type(2){grid-row:1!important}
.global-footer-col:nth-of-type(3){grid-row:2!important}
.global-footer-col h4{
  flex:0 0 auto!important;margin:0!important;color:var(--gf-gold2)!important;
  font-size:8.4px!important;font-weight:800!important;letter-spacing:.12em!important;text-transform:uppercase!important
}
.global-footer-col ul{
  list-style:none!important;margin:0!important;padding:0!important;display:flex!important;align-items:center!important;
  flex-wrap:wrap!important;gap:3px 0!important;min-width:0!important
}
.global-footer-col li{display:flex!important;align-items:center!important;margin:0!important;padding:0!important;white-space:nowrap!important}
.global-footer-col li+li:before{content:"·"!important;color:rgba(231,201,141,.62)!important;margin:0 7px!important;font-size:10px!important;line-height:1!important}
.global-footer-col a{display:inline-block!important;color:#d5e0e8!important;font-size:10.2px!important;line-height:1.32!important;white-space:nowrap!important;transition:color .18s ease!important}
.global-footer-col a:hover{color:var(--gf-gold2)!important}

.global-footer-commitment{
  grid-column:3!important;grid-row:1/3!important;display:block!important;padding-inline-start:2px!important
}
.global-footer-commitment h4{margin:0 0 6px!important}
.global-footer-commitment p{max-width:280px!important;margin:0!important;color:#c7d2dc!important;font-size:10px!important;line-height:1.42!important;overflow-wrap:anywhere!important}

.global-footer-flags{position:relative!important;display:inline-flex!important;align-items:center!important;gap:7px!important;margin-top:8px!important;padding:4px 6px!important;border:1px solid rgba(201,154,72,.34)!important;border-radius:7px!important;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(247,244,238,.96))!important;box-shadow:0 4px 13px rgba(0,0,0,.14),inset 0 0 0 1px rgba(255,255,255,.7)!important;direction:ltr!important;max-width:100%!important}
.global-footer-flags:before{content:""!important;position:absolute!important;inset:-3px!important;border:1px solid rgba(201,154,72,.12)!important;border-radius:9px!important;pointer-events:none!important}
.global-footer-flag{width:42px!important;height:28px!important;display:block!important;object-fit:cover!important;border-radius:2px!important;border:1px solid rgba(3,27,51,.18)!important;box-shadow:0 2px 6px rgba(3,27,51,.10)!important;background:#fff!important;flex:0 0 42px!important}
.global-footer-bridge{width:14px!important;height:14px!important;border-radius:50%!important;border:1px solid rgba(201,154,72,.72)!important;position:relative!important;display:grid!important;place-items:center!important;background:#fffaf0!important;box-shadow:0 0 0 2px rgba(201,154,72,.08)!important;flex:0 0 14px!important}
.global-footer-bridge:before{content:""!important;width:4px!important;height:4px!important;border-radius:50%!important;background:var(--gf-gold)!important}

.global-footer-bottom{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:start!important;gap:8px 24px!important;margin-top:14px!important;padding:9px 0 12px!important;border-top:1px solid rgba(255,255,255,.10)!important;color:#93a6b5!important;font-size:8.5px!important;line-height:1.35!important}
.global-footer-bottom span{min-width:0!important;overflow-wrap:anywhere!important}
.global-footer-bottom span:last-child{text-align:end!important}

/* RTL. Keep the same visual structure while reversing reading flow. */
.global-site-footer[dir="rtl"] .global-footer-master-brand{direction:rtl!important}
.global-site-footer[dir="rtl"] .global-footer-brand{padding:0 0 0 24px!important;border-inline-end:1px solid rgba(255,255,255,.10)!important}
.global-site-footer[dir="rtl"] .global-footer-master-brand .ve-brand__copy,
.global-site-footer[dir="rtl"] .global-footer-col,
.global-site-footer[dir="rtl"] .global-footer-brand>p{text-align:right!important}
.global-site-footer[dir="rtl"] .global-footer-col{direction:rtl!important}
.global-site-footer[dir="rtl"] .global-footer-col ul{direction:rtl!important}
.global-site-footer[dir="rtl"] .global-footer-bottom{direction:rtl!important}
.global-site-footer[dir="rtl"] .global-footer-bottom span:last-child{text-align:start!important}
.global-site-footer[dir="rtl"] .global-footer-flags{direction:ltr!important}

body.site-generic:has(.global-site-footer){display:flex!important;flex-direction:column!important;place-items:initial!important;padding:0!important;min-height:100vh!important}
body.site-generic:has(.global-site-footer)>main{margin:auto!important}
body.site-generic:has(.global-site-footer)>.global-site-footer{flex:0 0 auto!important}

/* Tablet: identity strip above; horizontal links stay compact beside commitment. */
@media(max-width:980px){
  .global-footer-shell{padding-top:19px!important}
  .global-footer-grid{grid-template-columns:minmax(0,1fr) minmax(210px,.55fr)!important;grid-template-rows:auto auto auto!important;column-gap:25px!important;row-gap:9px!important}
  .global-footer-brand{grid-column:1/-1!important;grid-row:1!important;display:grid!important;grid-template-columns:minmax(285px,.86fr) minmax(0,1.14fr)!important;align-items:center!important;column-gap:28px!important;padding:0 0 11px!important;border-inline-end:0!important;border-bottom:1px solid rgba(255,255,255,.10)!important}
  .global-site-footer[dir="rtl"] .global-footer-brand{padding:0 0 11px!important;border-inline-end:0!important}
  .global-footer-master-brand{grid-column:1!important}
  .global-footer-brand>p{grid-column:2!important;margin:0!important;max-width:580px!important}
  .global-footer-col{grid-column:1!important}
  .global-footer-col:nth-of-type(2){grid-row:2!important}
  .global-footer-col:nth-of-type(3){grid-row:3!important}
  .global-footer-commitment{grid-column:2!important;grid-row:2/4!important}
  .global-footer-bottom{margin-top:12px!important}
}

/* Phone: each nav group is one compact wrapping row, never a tall link column. */
@media(max-width:650px){
  .global-footer-shell{width:min(100% - 28px,1180px)!important;padding-top:17px!important}
  .global-footer-grid{grid-template-columns:1fr!important;grid-template-rows:auto!important;gap:10px!important}
  .global-footer-brand{grid-column:1!important;grid-row:auto!important;display:block!important;padding:0 0 11px!important}
  .global-footer-master-brand{gap:8px!important;max-width:100%!important}
  .global-footer-master-brand .ve-brand__emblem{width:35px!important;flex-basis:35px!important;max-height:35px!important}
  .global-footer-master-brand .ve-brand__copy strong{font-size:clamp(8px,2.45vw,10.2px)!important;letter-spacing:-.016em!important}
  .global-footer-master-brand .ve-brand__copy small{font-size:6.5px!important;letter-spacing:.045em!important}
  .global-footer-brand>p{margin-top:6px!important;font-size:9.6px!important;line-height:1.4!important}
  .global-footer-col,.global-footer-col:nth-of-type(2),.global-footer-col:nth-of-type(3){grid-column:1!important;grid-row:auto!important;display:flex!important;gap:9px!important}
  .global-footer-col h4{font-size:8px!important}
  .global-footer-col ul{gap:3px 0!important}
  .global-footer-col li+li:before{margin:0 6px!important}
  .global-footer-col a{font-size:9.7px!important}
  .global-footer-commitment{grid-column:1!important;grid-row:auto!important;padding-top:2px!important;border-top:1px solid rgba(255,255,255,.08)!important;padding-inline-start:0!important;padding-block-start:10px!important}
  .global-footer-commitment p{max-width:560px!important;font-size:9.6px!important;line-height:1.4!important}
  .global-footer-flags{margin-top:7px!important}
  .global-footer-bottom{grid-template-columns:1fr!important;gap:3px!important;margin-top:10px!important;padding:8px 0 10px!important;font-size:8.1px!important}
  .global-footer-bottom span:last-child{text-align:start!important}
  .global-site-footer[dir="rtl"] .global-footer-bottom span:last-child{text-align:right!important}
}

@media(max-width:390px){
  .global-footer-shell{width:min(100% - 22px,1180px)!important;padding-top:15px!important}
  .global-footer-grid{gap:9px!important}
  .global-footer-master-brand{gap:7px!important}
  .global-footer-master-brand .ve-brand__emblem{width:32px!important;flex-basis:32px!important;max-height:32px!important}
  .global-footer-master-brand .ve-brand__copy strong{font-size:clamp(7.1px,2.3vw,8.5px)!important}
  .global-footer-master-brand .ve-brand__copy small{font-size:6px!important;letter-spacing:.025em!important}
  .global-footer-brand>p,.global-footer-commitment p{font-size:9.2px!important}
  .global-footer-col{align-items:flex-start!important;gap:7px!important}
  .global-footer-col h4{padding-top:1px!important}
  .global-footer-col a{font-size:9.3px!important}
  .global-footer-col li+li:before{margin:0 5px!important}
  .global-footer-flag{width:40px!important;height:26px!important;flex-basis:40px!important}
  .global-footer-bridge{width:13px!important;height:13px!important;flex-basis:13px!important}
}

/* V46 mobile flag visibility hardening.
   Both bilateral flags are first-party assets and the pair is always kept on one row. */
.global-footer-flags{
  width:max-content!important;
  max-width:100%!important;
  flex-wrap:nowrap!important;
  overflow:visible!important;
  isolation:isolate!important;
}
.global-footer-flags .global-footer-flag{
  min-width:42px!important;
  visibility:visible!important;
  opacity:1!important;
}
@media(max-width:650px){
  .global-footer-flags{
    display:inline-flex!important;
    width:auto!important;
    min-width:118px!important;
    max-width:100%!important;
    justify-content:flex-start!important;
    flex-wrap:nowrap!important;
    overflow:visible!important;
  }
  .global-footer-flags .global-footer-flag{
    width:44px!important;
    height:29px!important;
    min-width:44px!important;
    flex:0 0 44px!important;
    object-fit:contain!important;
    background:#fff!important;
  }
  .global-footer-flags .global-footer-bridge{
    width:14px!important;
    height:14px!important;
    min-width:14px!important;
    flex:0 0 14px!important;
  }
}
@media(max-width:390px){
  .global-footer-flags{min-width:114px!important}
  .global-footer-flags .global-footer-flag{width:42px!important;height:28px!important;min-width:42px!important;flex-basis:42px!important}
}
