.wp-site-blocks > .nlan-site-part { margin-block: 0; }

.nlan-site-header,
.nlan-site-footer {
    --nlan-shell-accent: #d7d993;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 22px;
    position: relative;
    z-index: 2;
    padding: 11px clamp(18px, 5vw, 76px);
    background: #0d2b28;
    color: #f3ebdc;
    font-family: system-ui, sans-serif;
    line-height: 1.4;
}

.nlan-site-header { border-bottom: 1px solid #48645a; }
.nlan-site-footer { border-top: 1px solid #48645a; }

.nlan-site-header nav,
.nlan-site-footer nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 clamp(12px, 3vw, 32px);
}

.nlan-site-header a,
.nlan-site-footer a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    gap: .4em;
    color: inherit;
    text-decoration: none;
}
.nlan-site-header a:hover,
.nlan-site-footer a:hover { color: var(--nlan-shell-accent); }
.nlan-site-header a:focus-visible,
.nlan-site-footer a:focus-visible {
    outline: 2px solid var(--nlan-shell-accent);
    outline-offset: 3px;
}

.nlan-site-header .nlan-site-logo,
.nlan-site-footer .nlan-site-logo {
    gap: 0;
    font-size: clamp(25px, 4vw, 40px);
    font-weight: 850;
    letter-spacing: -.075em;
    line-height: 1;
}
.nlan-site-logo span { color: var(--nlan-shell-accent); }

.nlan-site-skip {
    position: fixed;
    inset: 10px auto auto 10px;
    z-index: 1000;
    transform: translateY(-150%);
    padding: 10px 15px;
    background: #f3ebdc;
    color: #0d2b28;
}
.nlan-site-skip:focus { transform: translateY(0); }

@media (max-width: 600px) {
    .nlan-site-header nav { font-size: .875rem; }
}

/* Leave room for the fixed demo notice at the end of each page. */
body:has(.nlan-demo-notice) .nlan-site-footer { margin-bottom: 42px; }
@media (max-width: 750px) { body:has(.nlan-demo-notice) .nlan-site-footer { margin-bottom: 64px; } }
@media (max-width: 360px) { body:has(.nlan-demo-notice) .nlan-site-footer { margin-bottom: 84px; } }

.nlan-site-logo img { display: block; width: 112px; height: 42px; object-fit: contain; object-position: left center; }
