/* Shared directional depth for every logo and three-box navigation header. */
html .page > header:not(.seo-header) .logo {
  filter: drop-shadow(3px 4px 3px rgba(87, 59, 40, .22));
}

html .page > header:not(.seo-header) nav > a {
  box-shadow: 2px 3px 0 rgba(183, 147, 114, .24),
              4px 6px 9px rgba(79, 51, 37, .10),
              inset 0 1px 0 rgba(255, 255, 255, .82);
}

@media (hover: hover) {
  html .page > header:not(.seo-header) nav > a:hover {
    box-shadow: 2px 3px 0 rgba(183, 147, 114, .30),
                4px 7px 11px rgba(79, 51, 37, .14),
                inset 0 1px 0 rgba(255, 255, 255, .9);
  }
}

@media (max-width: 430px) {
  header {
    height: 82px;
    min-height: 82px;
    gap: 5px;
    padding: 6px 8px;
    align-items: center;
    overflow: hidden;
  }

  header > a:first-child {
    width: 70px;
    height: 68px;
    flex: 0 0 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
  }

  .logo {
    width: 68px;
    height: 68px;
    position: static;
    top: auto;
    object-fit: contain;
  }

  nav {
    height: 68px;
    gap: 4px;
    align-items: stretch;
  }

  nav a {
    height: 68px;
    min-height: 68px;
    min-width: 0;
    padding: 7px 2px;
    overflow: hidden;
    font-size: 10.5px;
    line-height: 1.05;
    letter-spacing: 0;
  }

  nav a span {
    margin-top: 5px;
    font-size: 11px;
    line-height: 1;
  }
}
