/* The transparent black SV-GRASL wordmark retains its compact original geometry. */
.brand.grasl-logo,
.report-brand .grasl-logo {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 224px;
  height: auto;
  min-height: 0;
  max-width: 100%;
  aspect-ratio: 1740 / 445;
  overflow: hidden;
  padding: 0 !important;
  border: 0;
  border-radius: 5px;
  line-height: 0;
  isolation: isolate;
}
.grasl-logo .grasl-logo-image {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 117.70115% !important;
  height: auto !important;
  max-width: none !important;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: contain;
  transform: translate(-50%, -50%);
  filter: none !important;
}
.site-header > .brand.grasl-logo { width: 188px; }
.site-header.scrolled > .brand.grasl-logo { width: 180px; }
footer .brand.grasl-logo { width: 260px; }
.report-brand .grasl-logo { width: 180px; }
@media (max-width: 640px) {
  .brand.grasl-logo { width: 180px; }
  .site-header > .brand.grasl-logo,
  .site-header.scrolled > .brand.grasl-logo { width: 164px; }
  footer .brand.grasl-logo { width: 240px; }
}
@media (max-width: 359px) {
  .brand.grasl-logo { width: 164px; }
  .site-header > .brand.grasl-logo,
  .site-header.scrolled > .brand.grasl-logo { width: 154px; }
}
@media (forced-colors: active) {
  .brand.grasl-logo { outline: 1px solid LinkText; }
}

/* Keep the monochrome mark readable on the two formerly dark brand surfaces. */
html.version-v3:is([data-color-scheme="original"], :not([data-color-scheme])) .site-header {
  --brand-primary: #17263d;
  --brand-secondary: #2454a4;
  background: #f7f9fc;
  color: #17263d;
  border-color: #d5deea;
}
html.version-v3:is([data-color-scheme="original"], :not([data-color-scheme])) .site-header :is(.desktop-nav > a, .nav-group > button) {
  color: #17263d;
}
html:is([data-version="1"], .version-v1, [data-version="3"], .version-v3) body footer:has(.brand.grasl-logo) {
  --legacy-dark-text: #17263d;
  background: #f7f9fc !important;
  color: #17263d !important;
  border-top: 1px solid #d5deea;
}
html:is([data-version="1"], .version-v1, [data-version="3"], .version-v3) body footer:has(.brand.grasl-logo) :is(a, p, h1, h2, h3, h4, h5, h6, small, strong, address, span) {
  color: #17263d !important;
}
html:is([data-version="1"], .version-v1, [data-version="3"], .version-v3) body footer:has(.brand.grasl-logo) a:hover {
  color: #2454a4 !important;
}
html:is([data-version="1"], .version-v1, [data-version="3"], .version-v3) body footer:has(.brand.grasl-logo) .footer-bottom {
  border-color: #d5deea;
}
