/*
 * Page width and hero height
 * - the page (header, content, footer) is limited to 1600px and centered,
 *   wider screens show a calm background with a light shadow at the page edge
 * - hero images ("Into Image") take their height from the width (2:1),
 *   at most 70% of the screen height and never smaller than 18rem
 */
:root {
    --haass-page-max-width: 1600px;
}

.hero-spacer {
    height: clamp(18rem, min(50vw, calc(var(--haass-page-max-width) * 0.5)), 70vh);
}

@media (min-width: 1601px) {
    body {
        background-color: #eef0ec;
    }

    .page-wrapper,
    .footer {
        width: 100%;
        max-width: var(--haass-page-max-width);
        margin-left: auto;
        margin-right: auto;
    }

    .page-wrapper {
        background-color: var(--si-body-bg, #fff);
        box-shadow: 0 0 2.5rem rgba(11, 15, 25, 0.08);
    }

    .header.fixed-top {
        width: 100%;
        max-width: var(--haass-page-max-width);
        margin-left: auto;
        margin-right: auto;
    }
}
