/**
 * Landgoed Het Grote Zand
 * FAQ
 *
 * Blocksy Child Theme
 * Bestand:
 * /assets/css/faq.css
 */


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

.hgz-faq {
    padding: 42px 0 40px;

    background: #f4f6f4;
}


/* -----------------------------------------
   Header
----------------------------------------- */

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

    text-align: center;
}

.hgz-faq__header .hgz-section-label {
    margin: 0 0 8px;

    color: #5d7d4e;

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

    letter-spacing: .08em;

    line-height: 1.4;

    text-transform: uppercase;
}

.hgz-faq__header h2 {
    margin: 0;

    color: #173f2b;

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

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

    line-height: 1.2;
}


/* -----------------------------------------
   FAQ grid
----------------------------------------- */

.hgz-faq__grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 7px 14px;
}


/* -----------------------------------------
   FAQ item
----------------------------------------- */

.hgz-faq__item {
    margin: 0;
    padding: 0;

    overflow: hidden;

    border: 1px solid #d9dfda;
    border-radius: 4px;

    background: #ffffff;

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

.hgz-faq__item:hover {
    border-color: #c4d0c7;
}


/* -----------------------------------------
   Vraag
----------------------------------------- */

.hgz-faq__item summary {
    display: flex;

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

    min-height: 35px;

    padding: 7px 12px;

    color: #33463a;

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

    line-height: 1.3;

    list-style: none;

    cursor: pointer;
}

.hgz-faq__item summary::-webkit-details-marker {
    display: none;
}

.hgz-faq__item summary::marker {
    display: none;
    content: "";
}


/* -----------------------------------------
   Plus icoon
----------------------------------------- */

.hgz-faq__icon {
    display: inline-flex;

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

    flex: 0 0 auto;

    width: 18px;
    height: 18px;

    margin-left: 12px;

    color: #253c2e;

    font-size: 18px;
    font-weight: 400;

    line-height: 18px;

    transition:
        transform .2s ease,
        color .2s ease;
}

.hgz-faq__item[open] .hgz-faq__icon {
    transform: rotate(45deg);
    color: #5d7d4e;
}


/* -----------------------------------------
   Antwoord
----------------------------------------- */

.hgz-faq__answer {
    padding: 0 12px 12px;
}

.hgz-faq__answer p {
    max-width: 680px;

    margin: 0;

    color: #59655d;

    font-size: 10px;

    line-height: 1.5;
}


/* -----------------------------------------
   Footer / button
----------------------------------------- */

.hgz-faq__footer {
    display: flex;

    justify-content: center;

    margin-top: 18px;
}

.hgz-faq__button {
    display: inline-flex;

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

    min-height: 35px;

    padding: 7px 20px;

    border: 1px solid #78917f;
    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-faq__button span {
    margin-left: 8px;

    font-size: 15px;

    line-height: 1;
}

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

    border-color: #174d32;

    color: #ffffff;
}

.hgz-faq__button:focus-visible {
    outline: 2px solid #174d32;
    outline-offset: 3px;
}


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

@media (max-width: 900px) {

    .hgz-faq__grid {
        gap: 7px 10px;
    }

}


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

@media (max-width: 767px) {

    .hgz-faq {
        padding: 38px 0;
    }

    .hgz-faq__header {
        margin-bottom: 20px;
    }

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

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

        gap: 7px;
    }

    .hgz-faq__item summary {
        min-height: 42px;

        padding: 9px 12px;

        font-size: 13px;
    }

    .hgz-faq__answer {
        padding: 0 12px 13px;
    }

    .hgz-faq__answer p {
        font-size: 12px;

        line-height: 1.55;
    }

    .hgz-faq__footer {
        margin-top: 20px;
    }

    .hgz-faq__button {
        min-height: 38px;

        padding: 8px 18px;

        font-size: 12px;
    }

}


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

@media (max-width: 400px) {

    .hgz-faq {
        padding: 34px 0;
    }

    .hgz-faq__header h2 {
        font-size: 26px;
    }

    .hgz-faq__item summary {
        font-size: 12px;
    }

}
