/* All page shells share the same border-free header and footer treatment. */
.home-header {
  --logo-outer: clamp(24px, 4.5vw, 76px);
  position: absolute;
  z-index: 3;
  top: 0;
  left: 50%;
  width: min(1440px, calc(100% - var(--logo-outer) * 2));
  height: 68px;
  display: flex;
  align-items: center;
  transform: translateX(-50%);
  pointer-events: none;
}

:is(.site-header, .home-header) .brand {
  display: block;
  width: clamp(190px, 18vw, 300px);
  height: 54px;
  flex: none;
  transform: none;
  pointer-events: auto;
}

:is(.site-header, .home-header) .brand-logo {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  background: url("/assets/doidom-logo-v3.svg") center / contain no-repeat;
  background-color: var(--background, var(--paper, #eeeae2));
}

@media (max-width: 1024px) {
  .home-header { height: 86px; }
  :is(.site-header, .home-header) .brand { width: min(190px, 34vw); }
}

@media (max-width: 640px) {
  .home-header { --logo-outer: 18px; height: 62px; }
  :is(.site-header, .home-header) .brand { width: clamp(112px, 34vw, 150px); height: 46px; }
}

:is(body > header, body > footer, .site-header, .site-footer, .home-header, .home-footer) {
  border: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
}

:is(body > header, body > footer, .site-header, .site-footer, .home-header, .home-footer) a {
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

:is(body > header, body > footer, .site-header, .site-footer, .home-header, .home-footer)::before,
:is(body > header, body > footer, .site-header, .site-footer, .home-header, .home-footer)::after,
:is(body > header, body > footer, .site-header, .site-footer, .home-header, .home-footer) a::before,
:is(body > header, body > footer, .site-header, .site-footer, .home-header, .home-footer) a::after {
  content: none !important;
  display: none !important;
}

:is(body > header, body > footer, .site-header, .site-footer, .home-header, .home-footer) hr {
  display: none !important;
}

/* Footer links use the same quiet label voice as the header. */
.site-footer nav .editorial-link {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
