/* Shared by public pages. The employee workspace has its own navigation. */
@font-face {
  font-family: 'Source Sans 3';
  src: url('./assets/fonts/sourcesans3/SourceSans3[wght].woff2') format('woff2');
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

.public-header,
.public-header ~ .site-footer {
  --public-gutter: clamp(20px, 3.333vw, 64px);
  --public-rail: 12px;
  --line: #a9bacd;
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-synthesis: none;
}

.public-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  min-height: 92px;
  padding: 22px var(--public-gutter);
  background: #fff;
  border-bottom: 1px solid transparent;
}
.public-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(to right, var(--brand-blue) 0 var(--public-rail), var(--line) var(--public-rail) 100%);
}
.public-header .brand-home--wordmark {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: clamp(250px, 21vw, 280px);
  max-width: 100%;
  min-height: 44px;
}
.public-header .brand-logo-crop {
  display: block;
  width: 100%;
  aspect-ratio: 1412 / 236;
  overflow: hidden;
}
.public-header .brand-home--wordmark .brand-logo {
  display: block;
  width: 100%;
  height: auto;
}
.public-header .account-links {
  display: flex;
  flex: 1 1 700px;
  flex-flow: row wrap;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  gap: 8px 24px;
}
.public-header .account-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font: 500 15px/1.35 'Source Sans 3', sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
.public-header .account-links a[aria-current] {
  color: var(--brand-blue);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.public-header .account-links a:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 4px;
}

.public-header ~ .site-footer {
  --muted: #525b69;
  padding-inline: var(--public-gutter);
  border-inline-start: var(--public-rail) solid var(--brand-blue);
  background: #edf2f7;
}
.public-header ~ .site-footer h2 {
  font-family: inherit;
  font-weight: 600;
  letter-spacing: -.035em;
}

@media (min-width: 761px) and (max-width: 1100px) {
  .public-header .account-links { column-gap: 16px; }
  .public-header .account-links a { font-size: 13px; }
}
@media (max-width: 760px) {
  .public-header, .public-header ~ .site-footer { --public-rail: 5px; }
  .public-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    min-height: 0;
    padding: 20px;
  }
  .public-header .account-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    flex: 0 1 auto;
    align-items: start;
    width: 100%;
    gap: 8px 20px;
  }
  .public-header .account-links a {
    font-size: 14px;
    white-space: normal;
    text-align: left;
    overflow-wrap: break-word;
  }
}
