/* Compass header kit v1 (from compass_header_kit.html). App name and tagline are set per page. */
.compass-header {
    --app-name: "";
    --app-tagline: "";

    display: flex;
    align-items: stretch;
    height: 120px;
    overflow: hidden;
    background: #162F6E;
    border-bottom: 4px solid #799FE8;
    box-sizing: content-box;
  }
  .compass-header *,
  .compass-header *::before { box-sizing: border-box; }

  .compass-header__text {
    flex: 1 1 0%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 12px 0 40px;
  }

  .compass-header__wordmark {
    margin: 0;
    display: block;
    white-space: nowrap;
    color: #FFFFFF;
    font-family: 'Copperplate Gothic', 'Copperplate Gothic Light', Copperplate, 'Times New Roman', serif;
    font-variant: small-caps;
    letter-spacing: 0.02em;
    line-height: 1.25;
    font-size: clamp(14px, calc((100vw - 330px) / 16), 36px);
  }
  .compass-header__bold { font-weight: 700; }
  .compass-header__light { font-weight: 400; }

  .compass-header__app,
  .compass-header__tagline {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #C9D8F6;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: 400;
  }
  .compass-header__app {
    margin-top: 4px;
    font-size: 16px;
    line-height: 24px;
    font-style: normal;
  }
  .compass-header__tagline {
    font-size: 14px;
    line-height: 20px;
    font-style: italic;
  }
  .compass-header__app::before { content: var(--app-name); }
  .compass-header__tagline::before { content: var(--app-tagline, ""); }

  .compass-header__compass {
    position: relative;
    flex-shrink: 0;
    width: 260px;
    margin-right: 24px;
  }
  .compass-header__compass img {
    position: absolute;
    top: 50%;
    left: 0;
    width: 250px;
    height: 250px;
    max-width: none;
    transform: translateY(-50%);
    object-fit: contain;
  }

  @media (max-width: 639.98px) {
    .compass-header { height: 96px; }
    .compass-header__text { padding-left: 20px; }
    .compass-header__wordmark { font-size: clamp(12px, calc((100vw - 140px) / 17), 36px); }
    .compass-header__app { font-size: 12px; line-height: 16px; }
    .compass-header__tagline { font-size: 11px; line-height: 16.5px; }
    .compass-header__compass { width: 110px; margin-right: 0; }
    .compass-header__compass img { width: 150px; height: 150px; }
  }

