
/* =========================================================
   VOORZIENINGEN OP HET PARK
   MAXIMALE LAYOUTBREEDTE: 1280PX
   ========================================================= */

.hgz-voorzieningen {
    width: 100%;
    padding: 40px 20px;
    background: #f7f7f4;
}

.hgz-voorzieningen *,
.hgz-voorzieningen *::before,
.hgz-voorzieningen *::after {
    box-sizing: border-box;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.hgz-voorzieningen__container {
    display: grid;

    /*
     * Totaal: 1280px maximaal
     *
     * Links:  500px
     * Midden: 450px
     * Rechts: 330px
     */

    grid-template-columns:
        minmax(0, 500px)
        minmax(0, 450px)
        minmax(280px, 330px);

    width: 100%;
    max-width: 1280px;
    height: 460px;

    margin: 0 auto;

    overflow: hidden;

    background: #f7f7f4;
}


/* =========================================================
   GROTE AFBEELDING LINKS
   ========================================================= */

.hgz-voorzieningen__main-image {
    width: 100%;
    height: 460px;
    overflow: hidden;
}

.hgz-voorzieningen__main-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   MIDDEN CONTENT
   ========================================================= */

.hgz-voorzieningen__content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    height: 460px;

    padding: 42px 45px;

    background: #f7f7f4;
}

.hgz-voorzieningen__content h2 {
    margin: 0 0 14px;

    color: #2d3d33;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 31px;
    font-weight: 600;
    line-height: 1.15;

    letter-spacing: -0.02em;
}

.hgz-voorzieningen__intro {
    margin: 0 0 18px;

    color: #657068;

    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   CHECKLIST
   ========================================================= */

.hgz-voorzieningen__list {
    display: flex;
    flex-direction: column;
    gap: 7px;

    margin: 0 0 22px;
    padding: 0;

    list-style: none;
}

.hgz-voorzieningen__list li {
    display: flex;
    align-items: center;

    gap: 8px;

    color: #47554b;

    font-size: 12px;
    line-height: 1.35;
}

.hgz-voorzieningen__list li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 16px;
    min-width: 16px;

    color: #3f7447;

    font-size: 15px;
    font-weight: 600;
}


/* =========================================================
   BUTTON
   ========================================================= */

.hgz-voorzieningen__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    align-self: flex-start;

    min-width: 155px;
    height: 42px;

    padding: 0 20px;

    color: #ffffff !important;
    background: #416d45;

    border: 1px solid #416d45;
    border-radius: 3px;

    font-size: 12px;
    font-weight: 500;

    text-decoration: none !important;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.hgz-voorzieningen__button:hover {
    color: #ffffff !important;

    background: #315737;
    border-color: #315737;
}


/* =========================================================
   GALERIJ RECHTS
   ========================================================= */

.hgz-voorzieningen__gallery {
    display: grid;

    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);

    gap: 7px;

    width: 100%;
    height: 460px;

    padding: 8px;

    background: #f7f7f4;
}

.hgz-voorzieningen__gallery a {
    display: block;

    width: 100%;
    height: 100%;

    overflow: hidden;

    border-radius: 4px;

    background: #d9dfd7;
}

.hgz-voorzieningen__gallery img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.hgz-voorzieningen__gallery a:hover img {
    transform: scale(1.05);
}


/* =========================================================
   LAPTOP / TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .hgz-voorzieningen__container {
        grid-template-columns: 1fr 1fr;
        height: auto;
    }

    .hgz-voorzieningen__main-image {
        height: 500px;
    }

    .hgz-voorzieningen__content {
        height: 500px;
    }

    .hgz-voorzieningen__gallery {
        grid-column: 1 / -1;

        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 180px 180px;

        height: auto;

        padding: 10px 0 0;
    }

}


/* =========================================================
   MOBIEL
   ========================================================= */

@media (max-width: 767px) {

    .hgz-voorzieningen {
        padding: 25px 16px;
    }

    .hgz-voorzieningen__container {
        display: flex;
        flex-direction: column;
    }

    .hgz-voorzieningen__main-image {
        height: 280px;
    }

    .hgz-voorzieningen__content {
        height: auto;

        padding: 38px 25px;
    }

    .hgz-voorzieningen__content h2 {
        font-size: 28px;
    }

    .hgz-voorzieningen__intro {
        font-size: 13px;
    }

    .hgz-voorzieningen__list li {
        font-size: 13px;
    }

    .hgz-voorzieningen__gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 140px);

        padding: 8px 0 0;
    }

    .hgz-voorzieningen__button {
        width: 100%;
    }

}