body.dplb-active .wp-site-blocks > header.wp-block-template-part:first-child,
body.dplb-active .dp-header,
body.dplb-active .dn-header {
  display: none !important;
}

.dplb-header,
.dplb-header * {
  box-sizing: border-box;
}

.dplb-header {
  --dplb-ink: #111412;
  --dplb-forest: #1d2925;
  --dplb-pearl: #f5f3ed;
  --dplb-champagne: #d8c89e;
  --dplb-line: rgba(255, 255, 255, .24);
  position: relative;
  z-index: 1000;
  width: 100%;
  margin: 0;
  color: #fff;
  background: var(--dplb-ink);
  font-family: Manrope, Arial, sans-serif;
  line-height: 1.4;
}

.dplb-primary {
  background: var(--dplb-ink);
}

.dplb-inner,
.dplb-context-inner {
  width: min(1220px, calc(100vw - 64px));
  margin: 0 auto;
}

.dplb-inner {
  min-height: 92px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 190px;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--dplb-line);
}

.dplb-brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.dplb-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 17px;
}

.dplb-brand strong {
  display: block;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .08em;
}

.dplb-brand small {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, .74);
  font-size: 7px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .16em;
}

.dplb-desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.3vw, 34px);
}

.dplb-desktop-nav a,
.dplb-cta,
.dplb-mobile-menu a,
.dplb-mobile-menu summary {
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
}

.dplb-desktop-nav a {
  position: relative;
  padding: 8px 0;
}

.dplb-desktop-nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 1px;
  left: 0;
  height: 1px;
  background: var(--dplb-champagne);
  transition: right .22s ease;
}

.dplb-desktop-nav a:hover::after,
.dplb-desktop-nav a:focus-visible::after {
  right: 0;
}

.dplb-cta {
  justify-self: end;
  padding: 10px 0 7px;
  border-bottom: 1px solid var(--dplb-champagne);
  white-space: nowrap;
}

.dplb-context {
  color: var(--dplb-ink);
  background: var(--dplb-pearl);
  border-bottom: 1px solid rgba(17, 20, 18, .15);
}

.dplb-context-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dplb-context a {
  color: inherit;
  text-underline-offset: 4px;
}

.dplb-context-inner > a {
  text-decoration: none;
}

.dplb-mobile-menu {
  display: none;
  justify-self: end;
}

.dplb-header :focus-visible {
  outline: 2px solid var(--dplb-champagne);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .dplb-inner,
  .dplb-context-inner {
    width: min(100% - 32px, 720px);
  }

  .dplb-inner {
    min-height: 78px;
    grid-template-columns: 1fr auto;
    gap: 18px;
  }

  .dplb-desktop-nav,
  .dplb-cta {
    display: none;
  }

  .dplb-mobile-menu {
    position: relative;
    display: block;
  }

  .dplb-mobile-menu summary {
    min-width: 74px;
    padding: 11px 13px;
    border: 1px solid rgba(255, 255, 255, .42);
    list-style: none;
    text-align: center;
    cursor: pointer;
  }

  .dplb-mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .dplb-mobile-menu nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(330px, calc(100vw - 32px));
    padding: 18px;
    display: grid;
    gap: 0;
    background: var(--dplb-forest);
    border: 1px solid rgba(255, 255, 255, .2);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .28);
  }

  .dplb-mobile-menu nav a {
    padding: 13px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }

  .dplb-mobile-menu nav a:last-child {
    border-bottom: 0;
  }

  .dplb-mobile-menu .dplb-mobile-cta {
    margin-top: 8px;
    color: var(--dplb-champagne);
  }

  .dplb-context-inner {
    min-height: 58px;
    padding: 9px 0;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    font-size: 8px;
    letter-spacing: .07em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dplb-desktop-nav a::after {
    transition: none;
  }
}
