/*
 * Omgeving
 * Landgoed Het Grote Zand
 * Blocksy Child Theme
 */


/* -----------------------------------------
   Sectie
----------------------------------------- */

.hgz-omgeving {
    padding: 46px 0 34px;
    background: #ffffff;
}


/* -----------------------------------------
   Grid
----------------------------------------- */

.hgz-omgeving__grid {
    display: grid;

    grid-template-columns: 35% 65%;

    align-items: stretch;
}


/* -----------------------------------------
   Content
----------------------------------------- */

.hgz-omgeving__content {
    padding: 8px 42px 0 0;
}

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

    color: #173f2b;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 25px;
    font-weight: 700;

    line-height: 1.2;
}

.hgz-omgeving__content p {
    max-width: 360px;

    margin: 0 0 24px;

    color: #4e5b53;

    font-size: 11px;
    line-height: 1.55;
}


/* -----------------------------------------
   Section label
----------------------------------------- */

.hgz-omgeving .hgz-section-label {
    margin: 0 0 10px;

    color: #5d7d4e;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .08em;

    line-height: 1.4;

    text-transform: uppercase;
}


/* -----------------------------------------
   Locaties lijst
----------------------------------------- */

.hgz-omgeving__list {
    margin: 0 0 20px;
    padding: 0;

    list-style: none;
}

.hgz-omgeving__list li {
    display: grid;

    grid-template-columns: 18px minmax(0, 1fr) auto;

    align-items: center;

    column-gap: 8px;

    margin-bottom: 10px;

    color: #35463b;

    font-size: 11px;
    line-height: 1.3;
}

.hgz-omgeving__list li:last-child {
    margin-bottom: 0;
}

.hgz-omgeving__pin {
    color: #4b8a4d;

    font-size: 13px;

    line-height: 1;
}

.hgz-omgeving__list strong {
    font-weight: 600;
}

.hgz-omgeving__list em {
    color: #66736a;

    font-style: normal;

    white-space: nowrap;
}


/* -----------------------------------------
   Button
----------------------------------------- */

.hgz-omgeving__button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 34px;

    padding: 7px 17px;

    border: 1px solid #7d9282;
    border-radius: 4px;

    background: transparent;

    color: #294535;

    font-size: 11px;
    font-weight: 600;

    line-height: 1.2;

    text-decoration: none;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.hgz-omgeving__button:hover,
.hgz-omgeving__button:focus {
    background: #174d32;

    border-color: #174d32;

    color: #ffffff;
}


/* -----------------------------------------
   Kaart
----------------------------------------- */

.hgz-omgeving__map {
    position: relative;

    min-height: 300px;

    overflow: hidden;

    background: #e8eee6;
}

.hgz-omgeving__map img {
    display: block;

    width: 100%;
    height: 100%;

    min-height: 90px;

    object-fit: cover;
    object-position: center;
}


/* -----------------------------------------
   Kaart marker
----------------------------------------- */

.hgz-omgeving__marker {
    position: absolute;

    top: 34%;
    left: 56%;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    width: 84px;
    height: 84px;

    padding: 8px;

    border-radius: 4px;

    background: #174d32;

    color: #ffffff;

    text-align: center;

    box-shadow:
        0 4px 10px rgba(0, 0, 0, .14);
}

.hgz-omgeving__marker::after {
    content: "";

    position: absolute;

    bottom: -12px;
    left: 50%;

    width: 0;
    height: 0;

    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid #174d32;

    transform: translateX(-50%);
}

.hgz-omgeving__marker-icon {
    display: block;

    margin-bottom: 4px;

    font-size: 20px;

    line-height: 1;
}

.hgz-omgeving__marker strong {
    font-size: 9px;

    line-height: 1.2;

    letter-spacing: .03em;
}


/* -----------------------------------------
   Tablet
----------------------------------------- */

@media (max-width: 900px) {

    .hgz-omgeving__grid {
        grid-template-columns: 40% 60%;
    }

    .hgz-omgeving__content {
        padding-right: 28px;
    }
}


/* -----------------------------------------
   Mobiel
----------------------------------------- */

@media (max-width: 767px) {

    .hgz-omgeving {
        padding: 40px 0;
    }

    .hgz-omgeving__grid {
        grid-template-columns: 1fr;

        gap: 28px;
    }

    .hgz-omgeving__content {
        padding: 0;
    }

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

    .hgz-omgeving__content p,
    .hgz-omgeving__list li {
        font-size: 13px;
    }

    .hgz-omgeving__map,
    .hgz-omgeving__map img {
        min-height: 320px;
    }
}


/* -----------------------------------------
   Kleine mobiele schermen
----------------------------------------- */

@media (max-width: 400px) {

    .hgz-omgeving {
        padding: 35px 0;
    }

    .hgz-omgeving__map,
    .hgz-omgeving__map img {
        min-height: 280px;
    }

    .hgz-omgeving__marker {
        width: 76px;
        height: 76px;
    }

    .hgz-omgeving__marker strong {
        font-size: 8px;
    }
}
