/* Loaded exclusively on fndconnectusa.org by the US response renderer. */
.site-header--us .us-header-flag {
  position: absolute;
  inset: 0 auto 0 0;
  width: max(52%, 360px);
  max-width: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  /* A static flag sweeps from the logo side into the white header. */
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 16%, #0009 50%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 16%, #0009 50%, transparent 100%);
}
.site-header--us .us-header-flag::before {
  content: "";
  position: absolute;
  inset: -4px 0;
  background: url('/assets/img/us-header-flag-wave.svg') left center / max(800px, 100%) 112px no-repeat;
  opacity: .28;
}
.site-header--us .wrap.nav-row { z-index: 1; }
/* A soft clear area keeps the original logo readable without adding a badge. */
.site-header--us .brand { position: relative; isolation: isolate; }
.site-header--us .brand::before {
  content: "";
  position: absolute;
  inset: -10px -24px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, #fff 25%, #fffffff0 45%, #ffffff00 72%);
}
/* Keep the heart in place and centre all three lines of the US wordmark. */
.site-header--us .brand--us > picture:not(.us-brand-wordmark) {
  clip-path: inset(0 58.5% 0 0);
}
.site-header--us .brand--us > .us-brand-wordmark {
  position: absolute;
  inset: 0;
  display: block;
  clip-path: inset(0 0 0 41.5%);
  transform: translateY(-7px);
  pointer-events: none;
}
.site-header--us .brand--us::after {
  content: "USA";
  position: absolute;
  left: 43%;
  top: calc(79% - 7px);
  color: #002b5f;
  font-family: inherit;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .3em;
  pointer-events: none;
}
@media (max-width: 800px) {
  .site-header--us .us-header-flag { width: min(85%, 400px); }
  .site-header--us .us-header-flag::before {
    background-size: 660px 100px;
    opacity: .3;
  }
  .site-header--us .brand::before { inset: -8px -16px; }
}
