/* Bound the shared inner-page logo and crop the source PNG's white margin. */
#header .inner-header-logo {
  position: relative;
  display: block;
  flex: 0 1 420px;
  width: 420px;
  max-width: 100%;
  min-width: 240px;
  aspect-ratio: 6.6 / 1;
  overflow: hidden;
  margin: 8px 20px;
  padding: 0;
}

#header .inner-header-logo #logoImage {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  object-fit: cover;
  object-position: center 51%;
  clip-path: polygon(0 0, 100% 0, 100% 76%, 28% 76%, 28% 100%, 0 100%);
}

#header .inner-logo-tagline {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#header .inner-logo-tagline text {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 52px;
  font-weight: 600;
  letter-spacing: 6px;
  fill: #123247;
  text-rendering: geometricPrecision;
}

@media (min-width: 992px) {
  #header .navbar-offcanvas > .pagebtnheader {
    flex: 1 1 auto;
    width: auto;
  }
}

@media (max-width: 767px) {
  #header .navbar-offcanvas {
    flex-direction: column;
    align-items: stretch;
  }

  #header .navbar-offcanvas > .row {
    order: 0;
    width: 100%;
    margin: 0 0 8px;
    justify-content: flex-start;
  }

  #header .inner-header-logo {
    order: 1;
    flex: 0 0 auto;
    width: min(360px, 100%);
    min-width: 0;
    margin: 0 auto 16px;
  }

  #header .navbar-offcanvas > .pagebtnheader {
    order: 2;
    width: 100%;
  }
}
