@font-face {
  font-family: "Source Sans 3 Brand";
  src: url("/assets/fonts/source-sans-3/source-sans-3-latin-400-italic.woff2") format("woff2");
  font-style: italic; font-weight: 400; font-display: swap;
}
/* Give imported product pages the same brand row as the home page. */
header[data-site-mast] {
  box-sizing:border-box; width:100%; max-width:none; margin:0; padding:0;
  background:#fff; border:0; box-shadow:inset 0 -1px #e1e7ec;
}
header[data-site-mast] > :is(.af-mast,.shell) {
  box-sizing:border-box; width:100%; max-width:1440px; margin:0 auto;
  padding:0 clamp(18px,3.75vw,54px); display:grid; min-height:82px;
  align-items:center; grid-template-columns:auto minmax(0,1fr) auto;
  gap:0 clamp(12px,2.5vw,42px); direction:ltr;
}
html[lang|="ar"] header[data-site-mast] > :is(.af-mast,.shell) {direction:rtl}
header[data-site-mast] > div > a.site-identity {
  --ed-family:"Source Sans 3 Brand","Segoe UI",Arial,sans-serif;
  display:flex; box-sizing:border-box; container-type:inline-size; justify-self:start;
  flex-direction:column; align-items:center; justify-content:center;
  width:var(--lockup-width,clamp(172px,14vw,192px)) !important; max-width:100%; min-width:0; min-height:44px;
  gap:var(--signature-gap,6px) !important; margin:0; padding:0; border:0; background:transparent;
  text-decoration:none; direction:ltr; grid-row:1; grid-column:1;
}
header[data-site-mast] > div > a.site-identity > img.site-wordmark {
  display:block; width:100%; height:auto; max-width:100%; max-height:none;
  aspect-ratio:900/62; object-fit:contain; margin:0; padding:0; border:0;
}
header[data-site-mast] > div > a.site-identity > span.site-signature {
  display:flex; flex-flow:row nowrap; justify-content:center; align-items:center;
  width:100%; gap:.27em; margin:0; padding:0; color:#214765;
  font:italic 400 clamp(14.56px,9.8cqi,19.04px)/1.12 "Source Sans 3 Brand","Segoe UI",Arial,sans-serif;
  text-transform:none; letter-spacing:normal; text-align:center;
}
header[data-site-mast] .site-signature bdi:lang(en) {
  font:inherit; letter-spacing:.025em; white-space:nowrap; color:inherit;
}
/* The imported air-jet pages force their body typeface on every descendant.
   Only this English brand signature should be exempt from that rule. */
header[data-site-mast] .site-identity .site-signature,
header[data-site-mast] .site-identity .site-signature bdi:lang(en) {
  font-family:"Source Sans 3 Brand","Segoe UI",Arial,sans-serif !important;
}
header[data-site-mast] .site-signature::before, header[data-site-mast] .site-signature::after {
  content:""; display:block; flex:0 0 .44em; width:.44em; height:1px;
  position:static; background:currentColor; opacity:.48; transform:none;
}
header[data-site-mast] > div > :is(.main-nav,.af-nav) {
  grid-area:1/2; justify-self:center; margin-inline:0;
}
header[data-site-mast] > div > .language-links {grid-area:1/3;justify-self:end}
@media(max-width:900px) {
  header[data-site-mast] > :is(.af-mast,.shell),html[lang|="ar"] header[data-site-mast] > :is(.af-mast,.shell) {
    direction:ltr; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:62px;
    min-height:62px; gap:0 clamp(6px,2vw,16px);
  }
  header[data-site-mast] > div > a.site-identity {--lockup-width:clamp(144px,24vw,172px);--signature-gap:4.5px}
  header[data-site-mast] > div > .language-links {grid-area:1/2}
  header[data-site-mast] > div > .af-nav {
    grid-area:2/1/auto/-1; justify-self:stretch; display:flex; flex-wrap:wrap;
    justify-content:space-between; gap:0 5px; border-block-start:1px solid #e1e7ec;
  }
  header[data-site-mast] > div > .af-nav a {min-height:36px;}
}
@media(max-width:620px){
  header[data-site-mast] > :is(.af-mast,.shell),html[lang|="ar"] header[data-site-mast] > :is(.af-mast,.shell) {
    min-height:58px; grid-template-rows:58px; padding-inline:clamp(16px,4.5vw,22.4px);
  }
  header[data-site-mast] > div > a.site-identity {--lockup-width:clamp(153.6px,39vw,160px);--signature-gap:4px}
}
@media(max-width:360px){
  header[data-site-mast] > :is(.af-mast,.shell),html[lang|="ar"] header[data-site-mast] > :is(.af-mast,.shell) {padding-inline:10.4px;}
}
/* When Home and the four language keys share the top row, scale the italic
   brand signature to its actual wordmark, including both decorative rules. */
@media(max-width:400px){
  header[data-site-mast] > div:has(> .mast-home-key) > a.site-identity > span.site-signature {
    font-size:clamp(10px,9.6cqi,15px);
    gap:.22em;
  }
}
