/* Original supplied JanSetu vector artwork; the tagline stays readable live text. */
.brand.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 232px;
  max-width: 100%;
  min-width: 0;
  text-decoration: none;
  /* Scale both shared logo instances without moving the surrounding navigation. */
  transform: scale(.8);
  transform-origin: left center;
}
.brand-lockup .brand-logo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1417 / 281;
}
.brand-lockup .brand-tagline {
  display: block;
  width: 100%;
  color: #142d4e;
  font-family: inherit;
  font-size: 10.5px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 0;
  text-align: center;
  /* The live text is fitted to the logo by branding.js in every language. */
  white-space: nowrap;
}
.brand-lockup:focus-visible { outline: 3px solid #008c95; outline-offset: 5px; border-radius: 4px; }

/* Keep the full wordmark separate from the nine service links and sign-ins. */
@media (min-width: 1700px) {
  .site-header .nav-wrap { grid-template-columns: auto 1fr auto; gap: 6px 20px; padding-block: 12px 0; }
  .site-header .primary-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; border-top: 1px solid var(--line); gap: 0 18px; }
  .site-header .primary-nav a { font-size: .84rem; min-height: 46px; }
}
.site-footer { grid-template-columns: minmax(240px, 1.15fr) 1fr 1fr; align-items: start; }
.site-footer .brand-footer { width: 264px; padding: 16px; border-radius: 10px; background: var(--cream); }
.site-footer .footer-brand > p { margin-top: 12px; color: #c2d5dd; font-size: .75rem; line-height: 1.6; }
.site-footer > nav { padding-top: 6px; }
.site-footer > p { grid-column: 1 / -1; }
@media (max-width: 980px) { .site-footer { grid-template-columns: 1fr; } }
@media (min-width: 601px) and (max-width: 700px) {
  .site-header .brand-lockup { width: 180px; }
}
@media (max-width: 600px) {
  .site-header .nav-wrap { grid-template-columns: minmax(0, 1fr) 100px 44px; }
  .site-header .brand-lockup { width: 100%; max-width: 208px; gap: 5px; }
  .site-header .brand-tagline { font-size: 10px; }
}
