/* V70 BILINGUAL HEADER BUNDLE: V67 base + V68 + V69, in original load order. */

/* ---- V67 ---- */
/* V67_UNIFIED_BILINGUAL_HEADER
   One final, shared public-header layout for Arabic (RTL) and English (LTR).
   Existing HTML, translation, managed social links, date script and ticker remain intact.
*/

/* ---------- BLACK IDENTITY / UTILITY BAR ---------- */
body .top-strip {
  display: block !important;
  background: #05090d !important;
  color: #f4f7f9 !important;
  border-bottom: 2px solid #c79a43 !important;
}

body .top-strip .top-inner {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: clamp(12px, 1.5vw, 24px) !important;
  width: min(1480px, calc(100% - 44px)) !important;
  max-width: none !important;
  min-height: 54px !important;
  margin-inline: auto !important;
  padding-block: 6px !important;
  grid-template-columns: none !important;
  grid-template-areas: none !important;
}
html[dir="rtl"] body .top-strip .top-inner { direction: rtl !important; }
html[dir="ltr"] body .top-strip .top-inner { direction: ltr !important; }

body .top-strip .top-inner > .top-primary-group,
body .top-strip .top-inner > .top-secondary-group {
  box-sizing: border-box !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  direction: inherit !important;
}
body .top-strip .top-inner > .top-primary-group {
  flex: 1 1 auto !important;
  justify-content: flex-start !important;
  gap: clamp(13px, 1.45vw, 22px) !important;
}
body .top-strip .top-inner > .top-secondary-group {
  flex: 0 0 auto !important;
  justify-content: flex-end !important;
  gap: clamp(10px, 1.1vw, 17px) !important;
}

/* Postal mark + Syrian eagle + state wording stay together as one identity unit. */
body .top-primary-group > .state-header-signature {
  box-sizing: border-box !important;
  display: inline-flex !important;
  flex: 0 1 auto !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 7px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 370px !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
}
body .top-primary-group > .state-header-signature img {
  display: block !important;
  flex: 0 0 auto !important;
  width: 42px !important;
  height: 37px !important;
  max-width: 42px !important;
  object-fit: contain !important;
}
body .top-primary-group > .state-header-signature img.postal-top-logo {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
}
body .top-primary-group > .state-header-signature .state-header-copy {
  display: flex !important;
  flex: 0 1 auto !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 1px !important;
  min-width: 0 !important;
  max-width: 220px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.35 !important;
  text-align: start !important;
  white-space: nowrap !important;
}
body .top-primary-group > .state-header-signature .state-header-copy b {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #ffffff !important;
  font-size: clamp(11px, .9vw, 14px) !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
}
body .top-primary-group > .state-header-signature .state-header-copy small {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #d6c49c !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
}
html[dir="rtl"] body .top-primary-group > .state-header-signature,
html[dir="rtl"] body .top-primary-group > .state-header-signature .state-header-copy {
  direction: rtl !important;
  text-align: right !important;
}
html[dir="ltr"] body .top-primary-group > .state-header-signature,
html[dir="ltr"] body .top-primary-group > .state-header-signature .state-header-copy {
  direction: ltr !important;
  text-align: left !important;
}

/* Top utility links sit directly beside the identity, without stretching apart. */
body .top-primary-group > .top-links {
  display: inline-flex !important;
  flex: 0 1 auto !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: clamp(12px, 1.2vw, 20px) !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  direction: inherit !important;
}
body .top-primary-group > .top-links a {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 5px 0 !important;
  color: #e6edf1 !important;
  white-space: nowrap !important;
}
body .top-primary-group > .top-links a:hover,
body .top-primary-group > .top-links a:focus-visible { color: #f1c975 !important; }

/* Managed social icons, date and language switch form one balanced opposite group. */
body .top-secondary-group > .social-links-top {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* The HTML hidden attribute must win until social links arrive from admin settings. */
body .top-secondary-group > .social-links-top[hidden] { display: none !important; }
body .top-secondary-group > .social-links-top:not([hidden]) { display: inline-flex !important; }
body .top-secondary-group > .top-date {
  display: inline-flex !important;
  flex: 0 1 auto !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #dce5ea !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  line-height: 1.45 !important;
  white-space: nowrap !important;
}
body .top-secondary-group > .top-date #today-date {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  font: inherit !important;
  direction: inherit !important;
  unicode-bidi: isolate !important;
  white-space: nowrap !important;
}
body .top-secondary-group > .top-language-switch {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 76px !important;
  max-width: 86px !important;
  height: 31px !important;
  min-height: 31px !important;
  max-height: 31px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid rgba(231, 190, 104, .75) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.065) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}
body .top-secondary-group > .top-language-switch:hover,
body .top-secondary-group > .top-language-switch:focus-visible {
  background: #c79a43 !important;
  border-color: #c79a43 !important;
  color: #101820 !important;
}

/* ---------- WHITE INSTITUTION / NAVIGATION BAR ---------- */
body .site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 950 !important;
  display: block !important;
  background: rgba(255,255,255,.985) !important;
  border-bottom: 1px solid #dce6eb !important;
  box-shadow: 0 5px 20px rgba(8,43,66,.065) !important;
  backdrop-filter: blur(12px) !important;
}
body .site-header .header-inner {
  box-sizing: border-box !important;
  position: relative !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: clamp(18px, 2vw, 30px) !important;
  width: min(1480px, calc(100% - 44px)) !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 88px !important;
  margin-inline: auto !important;
  padding-block: 7px !important;
  grid-template-columns: none !important;
  grid-template-areas: none !important;
}
html[dir="rtl"] body .site-header .header-inner { direction: rtl !important; }
html[dir="ltr"] body .site-header .header-inner { direction: ltr !important; }

/* The institutional logo and two-line name stay compact as a single block. */
body .site-header .header-inner > .brand {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 9px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 360px !important;
  margin: 0 !important;
  padding: 0 !important;
  text-decoration: none !important;
  direction: inherit !important;
  order: 0 !important;
}
body .site-header .header-inner > .brand .brand-mark {
  display: grid !important;
  flex: 0 0 62px !important;
  place-items: center !important;
  width: 62px !important;
  min-width: 62px !important;
  height: 60px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
body .site-header .header-inner > .brand .brand-mark img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
body .site-header .header-inner > .brand .brand-copy {
  display: flex !important;
  flex: 0 1 auto !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 2px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.35 !important;
  direction: inherit !important;
  text-align: start !important;
}
body .site-header .header-inner > .brand .brand-copy strong {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #153b50 !important;
  font-size: clamp(15px, 1.15vw, 18px) !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  letter-spacing: -.2px !important;
  white-space: nowrap !important;
}
body .site-header .header-inner > .brand .brand-copy small {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #71838d !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
}
html[dir="rtl"] body .site-header .header-inner > .brand .brand-copy { direction: rtl !important; text-align: right !important; }
html[dir="ltr"] body .site-header .header-inner > .brand .brand-copy { direction: ltr !important; text-align: left !important; }

/* Navigation consumes the remaining width but never collides with the brand. */
body .site-header .header-inner > .main-nav {
  position: static !important;
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: clamp(9px, 1.05vw, 17px) !important;
  min-width: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  white-space: nowrap !important;
  order: 1 !important;
}
html[dir="rtl"] body .site-header .header-inner > .main-nav { direction: rtl !important; text-align: right !important; }
html[dir="ltr"] body .site-header .header-inner > .main-nav { direction: ltr !important; text-align: left !important; }
body .site-header .header-inner > .main-nav > a,
body .site-header .header-inner > .main-nav .nav-dropdown-main {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  width: auto !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 8px 0 !important;
  color: #355365 !important;
  font-size: clamp(11px, .82vw, 13px) !important;
  font-weight: 850 !important;
  line-height: 1.5 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}
html[dir="rtl"] body .site-header .header-inner > .main-nav > a,
html[dir="rtl"] body .site-header .header-inner > .main-nav .nav-dropdown-main { direction: rtl !important; text-align: right !important; }
html[dir="ltr"] body .site-header .header-inner > .main-nav > a,
html[dir="ltr"] body .site-header .header-inner > .main-nav .nav-dropdown-main { direction: ltr !important; text-align: left !important; }
body .site-header .header-inner > .main-nav > a:hover,
body .site-header .header-inner > .main-nav .nav-dropdown-main:hover,
body .site-header .header-inner > .main-nav > a:focus-visible,
body .site-header .header-inner > .main-nav .nav-dropdown-main:focus-visible { color: #087da7 !important; }
body .site-header .header-inner > .main-nav .nav-dropdown {
  position: relative !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  gap: 3px !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
body .site-header .header-inner > .main-nav .nav-dropdown-toggle {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  min-width: 22px !important;
  height: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Preserve the existing media-center mega-menu when the legacy header CSS is detached. */
body .site-header .header-inner > .main-nav .nav-dropdown-menu {
  position: absolute !important;
  top: calc(100% + 7px) !important;
  z-index: 1200 !important;
  display: none !important;
  grid-template-columns: repeat(3, minmax(150px, 1fr)) !important;
  gap: 14px !important;
  width: min(760px, calc(100vw - 40px)) !important;
  max-width: min(760px, calc(100vw - 40px)) !important;
  margin: 0 !important;
  padding: 17px !important;
  border: 1px solid #dce7ec !important;
  border-radius: 15px !important;
  background: #ffffff !important;
  box-shadow: 0 16px 38px rgba(7, 43, 63, .17) !important;
}
html[dir="rtl"] body .site-header .header-inner > .main-nav .nav-dropdown-menu { right: 0 !important; left: auto !important; }
html[dir="ltr"] body .site-header .header-inner > .main-nav .nav-dropdown-menu { left: 0 !important; right: auto !important; }
body .site-header .header-inner > .main-nav .nav-dropdown.is-open .nav-dropdown-menu,
body .site-header .header-inner > .main-nav .nav-dropdown:focus-within .nav-dropdown-menu { display: grid !important; }
body .site-header .header-inner > .main-nav .nav-dropdown-group {
  display: grid !important;
  align-content: start !important;
  gap: 7px !important;
  min-width: 0 !important;
  padding: 4px 9px !important;
  border-inline-start: 1px solid #edf1f3 !important;
}
body .site-header .header-inner > .main-nav .nav-dropdown-group b {
  display: block !important;
  margin: 0 0 3px !important;
  color: #a97924 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}
body .site-header .header-inner > .main-nav .nav-dropdown-group a {
  display: block !important;
  margin: 0 !important;
  padding: 4px 0 !important;
  color: #456170 !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  line-height: 1.6 !important;
  white-space: normal !important;
}
body .site-header .header-inner > .main-nav .nav-dropdown-group a:hover { color: #087da7 !important; }
body .site-header .header-inner > .menu-toggle { display: none !important; }
body .site-header + #service-ticker { position: relative !important; z-index: 2 !important; }

/* ---------- TABLET / MOBILE ---------- */
@media (max-width:900px) {
  body .top-strip .top-inner {
    width: calc(100% - 28px) !important;
    min-height: 0 !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    gap: 7px 10px !important;
    padding-block: 8px !important;
  }
  body .top-strip .top-inner > .top-primary-group,
  body .top-strip .top-inner > .top-secondary-group {
    flex: 1 1 100% !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 7px 14px !important;
  }
  body .top-primary-group > .state-header-signature { max-width: min(370px, 70vw) !important; }
  body .site-header .header-inner {
    position: relative !important;
    width: calc(100% - 28px) !important;
    min-height: 76px !important;
    gap: 10px !important;
    padding-block: 6px !important;
  }
  body .site-header .header-inner > .brand { flex: 1 1 auto !important; max-width: none !important; }
  body .site-header .header-inner > .menu-toggle {
    display: inline-flex !important;
    flex: 0 0 42px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #dbe6eb !important;
    border-radius: 11px !important;
    background: #f4f8fa !important;
    color: #174b63 !important;
    font-size: 22px !important;
    line-height: 1 !important;
    order: 1 !important;
  }
  body .site-header .header-inner > .main-nav {
    position: absolute !important;
    top: calc(100% + 1px) !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 1150 !important;
    display: none !important;
    flex: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: none !important;
    max-height: min(72vh, 620px) !important;
    margin: 0 !important;
    padding: 9px 14px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 1px solid #dce6eb !important;
    border-radius: 0 0 15px 15px !important;
    background: #ffffff !important;
    box-shadow: 0 15px 32px rgba(8,43,66,.16) !important;
    white-space: normal !important;
    order: 2 !important;
  }
  body .site-header .header-inner > .main-nav.open { display: flex !important; }
  body .site-header .header-inner > .main-nav > a,
  body .site-header .header-inner > .main-nav .nav-dropdown-main {
    display: flex !important;
    width: 100% !important;
    min-height: 43px !important;
    padding: 10px 7px !important;
    border-bottom: 1px solid #edf1f3 !important;
    text-align: start !important;
    white-space: normal !important;
  }
  body .site-header .header-inner > .main-nav .nav-dropdown {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    width: 100% !important;
  }
  body .site-header .header-inner > .main-nav .nav-dropdown-main { flex: 1 1 auto !important; }
  body .site-header .header-inner > .main-nav .nav-dropdown-menu {
    position: static !important;
    display: none !important;
    flex: 1 1 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 7px 10px !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  body .site-header .header-inner > .main-nav .nav-dropdown.is-open .nav-dropdown-menu { display: grid !important; }
}

@media (max-width: 680px) {
  body .top-strip .top-inner { width: calc(100% - 22px) !important; gap: 6px !important; }
  body .top-strip .top-inner > .top-primary-group,
  body .top-strip .top-inner > .top-secondary-group {
    gap: 7px 10px !important;
  }
  body .top-primary-group > .state-header-signature { max-width: 100% !important; gap: 5px !important; }
  body .top-primary-group > .state-header-signature img { width: 35px !important; height: 32px !important; }
  body .top-primary-group > .state-header-signature img.postal-top-logo { width: 30px !important; height: 30px !important; }
  body .top-primary-group > .state-header-signature .state-header-copy b { font-size: 11px !important; }
  body .top-primary-group > .state-header-signature .state-header-copy small { font-size: 9px !important; }
  body .top-primary-group > .top-links { gap: 12px !important; font-size: 11px !important; }
  body .top-secondary-group > .top-date { font-size: 10px !important; }
  body .site-header .header-inner { width: calc(100% - 22px) !important; min-height: 70px !important; }
  body .site-header .header-inner > .brand { gap: 7px !important; }
  body .site-header .header-inner > .brand .brand-mark { flex-basis: 49px !important; width: 49px !important; min-width: 49px !important; height: 47px !important; }
  body .site-header .header-inner > .brand .brand-copy strong { font-size: 13px !important; }
  body .site-header .header-inner > .brand .brand-copy small { font-size: 9px !important; }
}

@media (max-width: 390px) {
  body .top-primary-group > .top-links { flex-wrap: wrap !important; gap: 5px 12px !important; }
  body .top-secondary-group { width: 100% !important; justify-content: space-between !important; }
  body .top-secondary-group > .top-date { flex: 1 1 auto !important; justify-content: flex-start !important; }
  body .top-secondary-group > .top-language-switch { min-width: 68px !important; padding-inline: 8px !important; }
  body .site-header .header-inner > .brand .brand-copy small { white-space: normal !important; }
}

@media (prefers-reduced-motion: reduce) {
  body .site-header .header-inner > .main-nav,
  body .site-header .header-inner > .main-nav a { transition: none !important; }
}


/* ---- V68 ---- */
/* V68_HEADER_SPACING_TYPOGRAPHY
   Shared finishing layer over V67: clearer navigation, closer brand/logo,
   tighter black/white bars, and consistent RTL/LTR spacing on public pages.
*/

/* Keep the two header bands flush to the top of the page with no extra gaps. */
body .top-strip,
body .site-header {
  box-sizing: border-box !important;
  margin: 0 !important;
}
body .top-strip {
  padding: 0 !important;
}
body .top-strip .top-inner {
  min-height: 50px !important;
  padding-block: 4px !important;
  gap: clamp(10px, 1.2vw, 18px) !important;
}

/* Bring the two top-bar logos and their text a little closer together. */
body .top-primary-group > .state-header-signature {
  gap: 5px !important;
}
body .top-primary-group > .state-header-signature img {
  object-fit: contain !important;
}
body .top-primary-group > .top-links {
  gap: clamp(14px, 1.35vw, 22px) !important;
}

/* Compact white band and bring the institution's logo closer to its name/menu. */
body .site-header {
  padding: 0 !important;
}
body .site-header .header-inner {
  min-height: 80px !important;
  gap: clamp(9px, 1.05vw, 16px) !important;
  padding-block: 4px !important;
}
body .site-header .header-inner > .brand {
  gap: 5px !important;
  max-width: 340px !important;
}
body .site-header .header-inner > .brand .brand-mark {
  flex-basis: 58px !important;
  width: 58px !important;
  min-width: 58px !important;
  height: 56px !important;
}
body .site-header .header-inner > .brand .brand-copy strong {
  font-size: clamp(16px, 1.2vw, 19px) !important;
  line-height: 1.3 !important;
}
body .site-header .header-inner > .brand .brand-copy small {
  font-size: 12px !important;
}

/* Clearly separate every navigation item, including About / Media / Centers. */
body .site-header .header-inner > .main-nav {
  gap: clamp(16px, 1.45vw, 24px) !important;
}
body .site-header .header-inner > .main-nav > a,
body .site-header .header-inner > .main-nav .nav-dropdown-main {
  min-height: 42px !important;
  padding: 8px 2px !important;
  font-size: clamp(12.5px, .98vw, 15px) !important;
  font-weight: 850 !important;
  line-height: 1.55 !important;
}
body .site-header .header-inner > .main-nav .nav-dropdown {
  gap: 5px !important;
}
body .site-header .header-inner > .main-nav .nav-dropdown-toggle {
  width: 24px !important;
  min-width: 24px !important;
}

/* The three named items never touch, regardless of writing direction. */
html[dir="rtl"] body .site-header .header-inner > .main-nav,
html[dir="ltr"] body .site-header .header-inner > .main-nav {
  column-gap: clamp(16px, 1.45vw, 24px) !important;
}
html[dir="rtl"] body .site-header .header-inner > .main-nav > a,
html[dir="rtl"] body .site-header .header-inner > .main-nav .nav-dropdown-main {
  text-align: right !important;
}
html[dir="ltr"] body .site-header .header-inner > .main-nav > a,
html[dir="ltr"] body .site-header .header-inner > .main-nav .nav-dropdown-main {
  text-align: left !important;
}

/* Keep the menu readable and separated when it becomes the mobile drawer. */
@media (max-width:900px) {
  body .top-strip .top-inner {
    min-height: 0 !important;
    padding-block: 7px !important;
  }
  body .site-header .header-inner {
    min-height: 74px !important;
    gap: 9px !important;
  }
  body .site-header .header-inner > .brand {
    gap: 5px !important;
  }
  body .site-header .header-inner > .main-nav {
    gap: 7px !important;
  }
  body .site-header .header-inner > .main-nav > a,
  body .site-header .header-inner > .main-nav .nav-dropdown-main {
    min-height: 42px !important;
    padding: 11px 8px !important;
    font-size: 14px !important;
  }
  body .site-header .header-inner > .main-nav .nav-dropdown {
    margin-block: 2px !important;
  }
}

@media (max-width: 680px) {
  body .site-header .header-inner {
    min-height: 68px !important;
  }
  body .site-header .header-inner > .brand .brand-mark {
    flex-basis: 49px !important;
    width: 49px !important;
    min-width: 49px !important;
    height: 47px !important;
  }
  body .site-header .header-inner > .brand .brand-copy strong {
    font-size: 13px !important;
  }
  body .site-header .header-inner > .brand .brand-copy small {
    font-size: 9px !important;
  }
  body .site-header .header-inner > .main-nav > a,
  body .site-header .header-inner > .main-nav .nav-dropdown-main {
    font-size: 13px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body .site-header .header-inner > .main-nav,
  body .site-header .header-inner > .main-nav a {
    transition: none !important;
  }
}


/* ---- V69 ---- */
/* V69_HEADER_FULL_BLEED_SPACING
   Public header finishing pass: remove page-edge margins, widen both header
   inner rows to the available viewport, and separate navigation labels.
   Direction remains driven by html[dir] for Arabic RTL / English LTR.
*/

/* The page's default body margin was leaving a thin white frame around both bars. */
html,
body {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  overflow-x: clip !important;
}

/* Both colored bands now reach the full available page width. */
body > .top-strip,
body > .site-header {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-inline: 0 !important;
  border-radius: 0 !important;
}

/* Remove V67's centered 1480px cap and use balanced edge padding instead. */
body .top-strip .top-inner,
body .site-header .header-inner {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-inline: 0 !important;
  padding-inline: clamp(12px, 1.55vw, 28px) !important;
}

body .top-strip .top-inner {
  min-height: 52px !important;
  padding-block: 5px !important;
  gap: clamp(12px, 1.25vw, 22px) !important;
}

body .site-header .header-inner {
  min-height: 82px !important;
  padding-block: 5px !important;
  gap: clamp(14px, 1.5vw, 26px) !important;
}

/* Keep the brand close to the edge while retaining a compact logo/name block. */
body .site-header .header-inner > .brand {
  flex: 0 0 auto !important;
  gap: 5px !important;
  max-width: min(370px, 30vw) !important;
  margin: 0 !important;
}

body .site-header .header-inner > .brand .brand-mark {
  flex: 0 0 60px !important;
  width: 60px !important;
  min-width: 60px !important;
  height: 58px !important;
  margin: 0 !important;
}

/* A larger, more breathable white navigation menu. */
body .site-header .header-inner > .main-nav {
  flex: 1 1 auto !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: clamp(22px, 2vw, 36px) !important;
  column-gap: clamp(22px, 2vw, 36px) !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .site-header .header-inner > .main-nav > a,
body .site-header .header-inner > .main-nav .nav-dropdown-main {
  min-height: 44px !important;
  padding: 9px 1px !important;
  font-size: clamp(14px, 1.04vw, 16.5px) !important;
  font-weight: 850 !important;
  line-height: 1.55 !important;
  white-space: nowrap !important;
}

body .site-header .header-inner > .main-nav .nav-dropdown {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  margin: 0 !important;
}

body .site-header .header-inner > .main-nav .nav-dropdown-toggle {
  flex: 0 0 24px !important;
  width: 24px !important;
  min-width: 24px !important;
  margin: 0 !important;
}

html[dir="rtl"] body .site-header .header-inner > .main-nav {
  direction: rtl !important;
  text-align: right !important;
}

html[dir="ltr"] body .site-header .header-inner > .main-nav {
  direction: ltr !important;
  text-align: left !important;
}

html[dir="rtl"] body .site-header .header-inner > .main-nav > a,
html[dir="rtl"] body .site-header .header-inner > .main-nav .nav-dropdown-main {
  text-align: right !important;
}

html[dir="ltr"] body .site-header .header-inner > .main-nav > a,
html[dir="ltr"] body .site-header .header-inner > .main-nav .nav-dropdown-main {
  text-align: left !important;
}

/* Preserve the mobile menu, but keep its links visibly separated too. */
@media (max-width:900px) {
  body .top-strip .top-inner,
  body .site-header .header-inner {
    width: 100% !important;
    padding-inline: 14px !important;
  }

  body .site-header .header-inner {
    min-height: 74px !important;
    gap: 10px !important;
  }

  body .site-header .header-inner > .brand {
    max-width: none !important;
  }

  body .site-header .header-inner > .main-nav {
    gap: 12px !important;
    column-gap: 12px !important;
  }

  body .site-header .header-inner > .main-nav > a,
  body .site-header .header-inner > .main-nav .nav-dropdown-main {
    min-height: 42px !important;
    padding: 10px 9px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 680px) {
  body .top-strip .top-inner,
  body .site-header .header-inner {
    padding-inline: 10px !important;
  }

  body .site-header .header-inner {
    min-height: 68px !important;
  }

  body .site-header .header-inner > .brand .brand-mark {
    flex-basis: 49px !important;
    width: 49px !important;
    min-width: 49px !important;
    height: 47px !important;
  }

  body .site-header .header-inner > .brand .brand-copy strong {
    font-size: 13px !important;
  }

  body .site-header .header-inner > .brand .brand-copy small {
    font-size: 9px !important;
  }

  body .site-header .header-inner > .main-nav {
    gap: 10px !important;
    column-gap: 10px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body .site-header .header-inner > .main-nav,
  body .site-header .header-inner > .main-nav a {
    transition: none !important;
  }
}


/* V70 layout refinements: desktop, mobile, Arabic and English. */
.site-footer .footer-shortcuts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  column-gap: clamp(16px, 1.8vw, 28px);
  row-gap: 10px;
}
.site-footer .footer-shortcuts > a {
  display: inline-block;
  margin: 0;
  padding: 4px 1px;
  line-height: 1.65;
  white-space: normal;
}
html[dir="rtl"] .site-footer .footer-shortcuts { direction: rtl; text-align: right; }
html[dir="ltr"] .site-footer .footer-shortcuts { direction: ltr; text-align: left; }
html[dir="ltr"] .shipping-result-details,
html[dir="ltr"] .shipping-results-summary { direction: ltr; text-align: left; }
html[dir="rtl"] .shipping-result-details,
html[dir="rtl"] .shipping-results-summary { direction: rtl; text-align: right; }
@media (max-width: 720px) {
  .site-footer .footer-shortcuts { column-gap: 16px; row-gap: 6px; }
}
