/* Crisp black Soberger wordmark; keep the real SVG visible at every breakpoint. */
#d-header a.d-logo {
  display: inline-block !important;
  position: relative !important;
  max-width: 100% !important;
  line-height: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
#d-header a.d-logo svg.soberger-logo-mark {
  display: block !important;
  width: 210px !important;
  max-width: 100% !important;
  height: auto !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}
#d-header a.d-logo svg.soberger-logo-mark path {
  fill: #000000 !important;
  opacity: 1 !important;
}

/* DOS-style square pixels at the lower edge of the final letter. */
#d-header a.d-logo > span {
  display: block !important;
  position: absolute !important;
  top: auto !important;
  bottom: 0 !important;
  right: -26px !important;
  width: 5px !important;
  height: 5px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #000000 !important;
  transform: none !important;
  opacity: 1 !important;
  overflow: visible !important;
  z-index: 20 !important;
  animation: soberger-dos-pixel .75s steps(1, end) infinite !important;
}
#d-header a.d-logo > span::before,
#d-header a.d-logo > span::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  width: 5px !important;
  height: 5px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #000000 !important;
  animation: soberger-dos-pixel .75s steps(1, end) infinite !important;
}
#d-header a.d-logo > span::before { left: -9px !important; animation-delay: .25s !important; }
#d-header a.d-logo > span::after { left: -18px !important; animation-delay: .5s !important; }

@keyframes soberger-dos-pixel {
  0%, 30% { opacity: 1; }
  31%, 100% { opacity: 0; }
}

/* The mobile masthead had its own text-only logo; disable it to prevent a duplicate. */
@media (max-width: 1023px) {
  html body #d-header a.d-logo:after {
    content: none !important;
    display: none !important;
  }
  html body #d-header a.d-logo svg.soberger-logo-mark {
    display: block !important;
    width: 124px !important;
    max-width: 100% !important;
    height: auto !important;
  }
  html body #d-header a.d-logo > span {
    display: block !important;
    right: -23px !important;
    width: 4px !important;
    height: 4px !important;
  }
  html body #d-header a.d-logo > span::before,
  html body #d-header a.d-logo > span::after {
    display: block !important;
    width: 4px !important;
    height: 4px !important;
  }
  html body #d-header a.d-logo > span::before { left: -7px !important; }
  html body #d-header a.d-logo > span::after { left: -14px !important; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  html body #d-header a.d-logo svg.soberger-logo-mark {
    width: 124px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #d-header a.d-logo > span,
  #d-header a.d-logo > span::before,
  #d-header a.d-logo > span::after {
    animation: none !important;
    opacity: 1 !important;
  }
}
