/* Minimal Border */

/* Flat header: white background with a hairline bottom border — no shadow
   until the page scrolls, then a faint one appears.

   Background comes from --srd-header-bg / --srd-header-bg-scrolled with this
   design's colour as the fallback; see the longer note in header-1. */

.srd-header {
    background: var(--srd-header-bg, #ffffff);
    border-bottom: 1px solid #e5e5e5;
    box-shadow: none;
}

.srd-header.srd-header--scrolled {
    background: var(--srd-header-bg-scrolled, var(--srd-header-bg, #ffffff));
    box-shadow: rgba(0, 0, 0, 0.07) 0 4px 16px 0;
}

/* The hairline goes with the background while the header is overlaying the
   hero — a border with nothing behind it reads as a stray line across the
   photo. It comes back with the solid state. */
.srd-header.srd-header--transparent:not(.srd-header--scrolled) {
    border-bottom-color: transparent;
}
