
/* ============= */
/* CUSTOM HERO BANNER */
/* ============= */

.custom-hero-banner {
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    position: relative;
    overflow: hidden;

    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 0px solid cyan;
    border-bottom: 2px double #fcc857;

    height: clamp(40vh, 20vh + 10vw, 60vh);
    min-height: 380px;
    max-height: 560px;
    --header-h: 67px;
}

.custom-hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,rgba(55, 82, 72, 0.7),rgba(55, 82, 72, 0.2));
}

.custom-hero-banner__inner {
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* altijd verticaal in het midden */
    text-align: center;
    padding: 67px 16px 0;
    border: 0px solid orange;
}

.custom-hero-banner__title {
    margin-bottom: 8px;
    color: #fff;
    font-family: "Cinzel Decorative", serif;
    font-weight: 500;
    font-size: clamp(3.2rem, 5vw + 0.5rem, 4.6rem);
    line-height: 1.2;
    text-shadow: 0 2px 7px rgba(0, 0, 0, 0.45);
    border: 0px solid hotpink;
}

.custom-hero-banner__subtitle {
    margin: 0;
    color: #f5f8f0;
    font-family: "Fauna One", serif;
    font-weight: 400;
    font-size: clamp(1.3rem, 2vw + 0.2rem, 1.6rem);
    line-height: 1.5;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    border: 0px solid greenyellow;
}


@media (max-width: 992px) {
    .custom-hero-banner {
        height: clamp(40vh, 20vh + 10vw, 60vh);
        min-height: 320px;
        max-height: 480px;
        border: 0px solid cyan;
    }

    .custom-hero-banner__title {
        border: 0px solid hotpink;
    }

    .custom-hero-banner__subtitle {
        border: 0px solid greenyellow;
    }
}

@media (max-width: 600px) {
    .custom-hero-banner {
        height: auto; /* geen vaste hoogte meer */
        min-height: auto;
        padding: 64px 19px 0; /* ruimte voor header + lucht onder */
        border: 0px dotted cyan;
        border-bottom: 2px double #fcc857;
    }

    .custom-hero-banner__inner {
        justify-content: flex-end; /* tekst meer naar onder */
        padding: 64px 0;
        border: 0px dotted orange;
    }

    .custom-hero-banner__title {
        font-size: clamp(2.5rem, 4vw + 1.9rem, 3rem);
        line-height: 1.25;
        border: 0px solid hotpink;
    }

    .custom-hero-banner__subtitle {
        font-size: clamp(1rem, 1.6vw + 0.2rem, 1.3rem);
        border: 0px solid greenyellow;
    }
}