/* A shared banner rhythm for the main information and service pages. */
:root {
    --site-page-hero-height: 600px;
    --site-page-hero-title-size: clamp(40px, 5vw, 66px);
}

body .entry-content :is(.about__hero, .about-detail__hero, .contact-page-hero, .service-hero, .projects-hero-block),
body.sc-products-page .entry-content > .wp-block-spectra-container:first-child {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: var(--site-page-hero-height) !important;
    padding: 136px 32px 64px !important;
}

body .entry-content :is(.about__hero, .about-detail__hero, .contact-page-hero, .service-hero, .projects-hero-block) .wp-block-cover__inner-container {
    width: 100% !important;
    max-width: 1180px !important;
    margin-inline: auto !important;
    padding: 0 !important;
}

body .entry-content :is(.about__hero, .about-detail__hero, .contact-page-hero, .service-hero, .projects-hero-block) h1,
body.sc-products-page .entry-content > .wp-block-spectra-container:first-child h1 {
    font-size: var(--site-page-hero-title-size);
    line-height: 1.08;
    text-transform: none !important;
}

body .service-page .service-hero .service-wrap {
    width: 100%;
}

.about__hero .about__hero-lead,
.about-detail__hero .about-detail__hero-lead {
    margin-left: 0 !important;
}

/* White navigation uses dark text and the brand accent for interactive states. */
.schellekens-light-header #masthead .main-header-bar {
    background: #fff;
    border-bottom: 1px solid #e3e8ed;
}

.schellekens-light-header #masthead .main-header-menu .menu-item > .menu-link {
    color: #29313a;
    background: transparent;
}

.schellekens-light-header #masthead .main-header-menu .menu-item:is(:hover, :focus-within, .current-menu-item, .current-menu-ancestor) > .menu-link,
.schellekens-light-header #masthead .main-header-menu .menu-link:focus-visible {
    color: #c8312c;
    background: transparent;
}

/* Storing melden keeps its overlaid navigation. */
body .storing-page .storing-hero {
    padding-top: 156px;
}

.site-footer :is(.wp-image-1411, .wp-image-1412, .wp-image-1413) {
    display: block;
    width: 96px;
    max-width: 100%;
    height: auto;
    max-height: 96px;
    object-fit: contain;
}

@media (max-width: 781px) {
    :root {
        --site-page-hero-height: 560px;
        --site-page-hero-title-size: clamp(34px, 8vw, 48px);
    }

    body .entry-content :is(.about__hero, .about-detail__hero, .contact-page-hero, .service-hero, .projects-hero-block),
    body.sc-products-page .entry-content > .wp-block-spectra-container:first-child {
        padding: 124px 20px 40px !important;
    }

    body .entry-content :is(.about__hero, .about-detail__hero, .contact-page-hero, .service-hero, .projects-hero-block) h1,
    body.sc-products-page .entry-content > .wp-block-spectra-container:first-child h1 {
        font-size: var(--site-page-hero-title-size);
    }

    body .storing-page .storing-hero {
        padding-top: 124px;
    }
}
