/* Responsive sizing and positioning for the HTML header artwork. */
.site-header { position: relative; overflow: hidden; }
.site-header .vo-header-map {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  background-color: #15232f !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none;
  z-index: 0;
}
.site-header > .masthead { position: relative; z-index: 1; }
.site-header > .primary-nav { position: relative; z-index: 2; }
.vo-header-longship {
  display: none;
  max-width: none !important;
  object-fit: contain;
  pointer-events: none;
}
@media (min-width: 1100px) {
  .vo-header-longship {
    display: block;
    position: absolute;
    right: 0;
    top: 15px;
    width: 230px !important;
    height: 175px !important;
  }
}
@media (min-width: 1100px) and (max-width: 1250px) {
  .vo-header-longship {
    right: 0;
    top: 35px;
    width: 165px !important;
    height: 124px !important;
  }
}
@media (min-width: 781px) and (max-width: 1099px) {
  .site-header .masthead {
    padding-right: clamp(112px, 16vw, 170px);
  }
  .site-header .vo-header-longship {
    display: block !important;
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%);
    width: clamp(104px, 14vw, 150px) !important;
    height: auto !important;
    max-height: 110px;
    object-fit: contain !important;
  }
}
@media (max-width: 780px) {
  .vo-header-longship {
    display: block;
    position: static;
    width: 160px !important;
    height: 108px !important;
    margin: 12px auto 0;
  }
}

/* Keep the map at a definite masthead height on mobile.
   Do not use height:100% here: it stretches with the whole header,
   including navigation, and can hide the intended masthead sizing. */
@media (max-width: 780px) {
  .site-header .vo-header-map {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 0 !important;
  }
}
