/*
|--------------------------------------------------------------------------
| ARBO INTEGRAAL - VEELGESTELDE VRAGEN
|--------------------------------------------------------------------------
| Aanvulling op website.css en pages.css. Alleen de publieke FAQ-pagina.
*/

.website-faq {
    color: #23354a;
}

.website-faq #faq-overzicht,
.website-faq .faq-category {
    scroll-margin-top: 24px;
}

/* Compacte hero: rustige illustratie in plaats van een stockfoto. */
.faq-hero-art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 350px;
    padding: 24px;
}

.faq-hero-art__halo {
    position: absolute;
    inset: 35px 10px 30px;
    transform: rotate(-11deg);
    border-radius: 65px;
    background: linear-gradient(125deg, rgba(35, 114, 224, .13), rgba(20, 175, 139, .13));
}

.faq-hero-art__card {
    position: relative;
    width: min(100%, 435px);
    padding: 22px;
    border: 1px solid #dce7f2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 25px 52px rgba(13, 56, 108, .11);
}

.faq-hero-art__heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 19px;
}

.faq-hero-art__mark {
    display: grid;
    place-items: center;
    width: 49px;
    height: 49px;
    flex-shrink: 0;
    border-radius: 14px;
    color: #fff;
    background: #159f83;
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    font-weight: 800;
}

.faq-hero-art__heading strong,
.faq-hero-art__heading small {
    display: block;
}

.faq-hero-art__heading strong {
    color: #103f83;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 800;
}

.faq-hero-art__heading small {
    margin-top: 4px;
    color: #637996;
    font-size: 11px;
}

.faq-hero-art__line {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    margin-top: 8px;
    padding: 10px 13px;
    border: 1px solid #e5edf5;
    border-radius: 10px;
    color: #1b478a;
    font-size: 13px;
    font-weight: 700;
}

.faq-hero-art__line > span:nth-child(2) {
    flex: 1;
}

.faq-hero-art__line > span:last-child {
    color: #427ab5;
    font-size: 20px;
    font-weight: 400;
}

.faq-hero-art__bullet {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 31px;
    height: 31px;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 800;
}

.faq-hero-art__bullet--blue {
    color: #2068d8;
    background: #e9f1ff;
}

.faq-hero-art__bullet--green {
    color: #0a9479;
    background: #e0f7ee;
}

.faq-hero-art__bottom {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 19px;
    color: #6e82a0;
    font-size: 10px;
}

.faq-hero-art__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #159f83;
}

/* Onderwerpenoverzicht */
.faq-directory {
    background: #fff;
}

.faq-directory__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
}

.faq-topic-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 215px;
    padding: 23px;
    border: 1px solid #e0eaf4;
    border-radius: 16px;
    background: linear-gradient(145deg, #f3f8fe, #fff 86%);
    text-decoration: none;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}

.faq-topic-card:nth-child(2),
.faq-topic-card:nth-child(4) {
    background: linear-gradient(145deg, #eef9f5, #fff 86%);
}

.faq-topic-card:hover {
    border-color: #159f83;
    transform: translateY(-3px);
    box-shadow: 0 14px 25px rgba(15, 63, 122, .06);
}

.faq-topic-card__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.faq-topic-card__number {
    color: #159f83;
    font-family: 'Manrope', sans-serif;
    font-size: 26px;
    font-weight: 800;
}

.faq-topic-card__arrow {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border: 1px solid #cfdfef;
    border-radius: 50%;
    color: #10458b;
    font-size: 18px;
}

.faq-topic-card > strong {
    color: #103f83;
    font-family: 'Manrope', sans-serif;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
}

.faq-topic-card__description {
    display: block;
    margin: 11px 0 17px;
    color: #617792;
    font-size: 12px;
    line-height: 1.65;
}

.faq-topic-card__count {
    margin-top: auto;
    color: #087f70;
    font-size: 11px;
    font-weight: 800;
}

/* Categorieen met native, toegankelijke uitklapvragen */
.faq-category {
    padding-top: 65px;
    padding-bottom: 65px;
    border-top: 1px solid #edf2f7;
    background: #fff;
}

.faq-category--soft {
    background: #f6fafe;
}

.faq-category__grid {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
    align-items: start;
    gap: clamp(25px, 5vw, 85px);
}

.faq-category__intro h2 {
    max-width: 400px;
    margin: 0 0 15px;
    color: #0b2769;
    font-size: clamp(25px, 2.6vw, 35px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.04em;
}

.faq-category__intro p {
    max-width: 355px;
    margin: 0;
    color: #607793;
    font-size: 14px;
    line-height: 1.85;
}

.faq-category__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: #17529a;
    font-size: 13px;
    font-weight: 700;
}

.faq-category__back:hover {
    color: #118970;
}

.faq-category__questions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.faq-question {
    overflow: hidden;
    border: 1px solid #e1eaf3;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(10, 51, 110, .025);
}

.faq-question[open] {
    border-color: #b7dcd3;
    box-shadow: 0 8px 24px rgba(16, 93, 111, .045);
}

.faq-question summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 17px;
    min-height: 70px;
    padding: 20px 22px;
    color: #143e80;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.55;
    list-style: none;
    cursor: pointer;
}

.faq-question summary::-webkit-details-marker {
    display: none;
}

.faq-question summary:focus-visible {
    outline: 3px solid #159f83;
    outline-offset: -3px;
}

.faq-question__toggle {
    position: relative;
    width: 29px;
    height: 29px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #eaf3fc;
}

.faq-question__toggle::before,
.faq-question__toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: #1552a4;
    transform: translate(-50%, -50%);
}

.faq-question__toggle::before {
    width: 11px;
    height: 2px;
}

.faq-question__toggle::after {
    width: 2px;
    height: 11px;
}

.faq-question[open] .faq-question__toggle {
    background: #dff5ec;
}

.faq-question[open] .faq-question__toggle::after {
    display: none;
}

.faq-question[open] summary {
    border-bottom: 1px solid #e9f0f3;
}

.faq-question__answer {
    padding: 2px 22px 23px;
}

.faq-question__answer p {
    margin: 12px 0 0;
    color: #526c8a;
    font-size: 14px;
    line-height: 1.85;
}

/* Aanvullende links */
.faq-more {
    background: #fff;
}

.faq-more__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.faq-more__card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 225px;
    padding: 25px;
    border: 1px solid #e2eaf4;
    border-radius: 16px;
    background: #f8fbfe;
    transition: border-color .2s, transform .2s;
}

.faq-more__card:hover {
    border-color: #60baa5;
    transform: translateY(-2px);
}

.faq-more__card > span {
    margin-bottom: 19px;
    color: #159f83;
    font-size: 12px;
    font-weight: 800;
}

.faq-more__card h3 {
    margin: 0 0 11px;
    color: #103f83;
    font-size: 19px;
    font-weight: 800;
}

.faq-more__card p {
    margin: 0 0 18px;
    color: #607793;
    font-size: 13px;
    line-height: 1.75;
}

.faq-more__card strong {
    margin-top: auto;
    color: #1557a1;
    font-size: 12px;
}

@media (max-width: 1050px) {
    .faq-directory__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .faq-category__grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .faq-category__intro h2,
    .faq-category__intro p {
        max-width: 700px;
    }
}

@media (max-width: 767px) {
    .faq-hero-art {
        min-height: 0;
        padding: 6px 0 22px;
    }

    .faq-hero-art__card {
        padding: 17px;
    }

    .faq-hero-art__halo {
        inset: 25px 0 5px;
    }

    .faq-directory__grid,
    .faq-more__grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .faq-topic-card {
        min-height: 0;
        padding: 19px;
    }

    .faq-topic-card__top {
        margin-bottom: 12px;
    }

    .faq-topic-card__description {
        margin-bottom: 13px;
    }

    .faq-category {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .faq-question summary {
        min-height: 64px;
        padding: 17px;
        font-size: 13px;
    }

    .faq-question__answer {
        padding: 2px 17px 19px;
    }

    .faq-more__card {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .website-faq *,
    .website-faq *::before,
    .website-faq *::after {
        transition: none !important;
        transform: none !important;
    }
}
