/* Infopagina's: "Hoe werkt het?" en "Veelgestelde vragen".
   Zelfde kleuren en afrondingen als style.less (@blue #0085E5, @dark-grey #203340,
   @text-color-default #002941, @grey #EBF3FF, rand darken(@grey,5%), radius 5px). */

/* volle breedte van de container, zodat titel en breadcrumb op dezelfde lijn beginnen */
.info-page {
    width: 100%;
}

/* Hoe werkt het?: breadcrumb, intro en de onderdelen met het stappenplan smaller en gecentreerd,
   zodat breadcrumb en titel op dezelfde lijn beginnen */
.info-page.info-page--centered,
.content:has(.info-part) .breadcrumbs nav,
.content:has(.info-part) .info-page,
.info-part .info-page {
    max-width: 880px;
    margin: 0 auto;
}

/* keuzekaarten */
.info-choices__title {
    font-weight: 700;
    margin: 35px 0 15px;
}

.info-choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 15px;
}

.info-choice {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #fff;
    border: solid 1px #d2e5ff;
    border-radius: 5px;
    color: #002941;
    text-decoration: none;
    transition: all .2s ease-in-out;
}

.info-choice:hover,
.info-choice:focus-visible {
    border-color: #0085E5;
    box-shadow: 0 6px 20px rgba(0, 41, 65, .08);
    color: #002941;
}

.info-choice__icon {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #EBF3FF;
    color: #0085E5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease-in-out;
}

.info-choice__icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.info-choice:hover .info-choice__icon {
    background: #0085E5;
    color: #fff;
}

.info-choice__text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.info-choice__title {
    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
}

.info-choice__sub {
    margin-top: 4px;
}

.info-choice__arrow {
    color: #0085E5;
    font-size: 22px;
}

/* stappenplan als tijdlijn */
.info-steps {
    list-style: none;
    margin: 35px 0 0;
    padding: 0;
    counter-reset: none;
}

.info-step {
    position: relative;
    display: flex;
    gap: 25px;
    padding-bottom: 35px;
    margin: 0;
}

.info-step::before {
    /* verbindingslijn tussen de nummers */
    content: "";
    position: absolute;
    left: 23px;
    top: 48px;
    bottom: 0;
    width: 2px;
    background: #c4e1f6;
}

.info-step:last-child {
    padding-bottom: 0;
}

.info-step:last-child::before {
    display: none;
}

.info-step__number {
    position: relative;
    z-index: 1;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0085E5;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-step__body {
    flex: 1;
    min-width: 0;
    background: #fff;
    border: solid 1px #d2e5ff;
    border-radius: 5px;
    padding: 25px 30px;
}

.info-step__label {
    display: block;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    color: #0085E5;
    margin-bottom: 4px;
}

.info-step__body h3 {
    margin-bottom: 10px;
}

.info-step__body .buttons {
    margin: 25px 0 0;
}

.info-step__faq {
    margin-top: 25px;
    padding-top: 20px;
    border-top: solid 1px #d2e5ff;
}

.info-step__faq-title {
    font-weight: 700;
    margin-bottom: 10px;
}

.info-step__faq .faq {
    margin: 0;
}

.info-step__faq .faq .faq-block {
    background: #f7faff;
}

/* FAQ: categorieën */
.info-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0 0;
}

.info-categories__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: solid 1px #0085E5;
    border-radius: 50px;
    color: #0085E5;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s ease-in-out;
}

.info-categories__item:hover,
.info-categories__item:focus-visible {
    background: #0085E5;
    color: #fff;
}

.info-categories__count {
    min-width: 22px;
    padding: 1px 7px;
    border-radius: 50px;
    background: #EBF3FF;
    color: #002941;
    font-size: 13px;
    line-height: 20px;
    text-align: center;
}

.info-faq-toolbar {
    display: flex;
    justify-content: flex-end;
    margin: 25px 0 0;
}

.info-link-button {
    background: none;
    border: 0;
    padding: 0;
    color: #0085E5;
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.info-faq-category {
    margin-top: 35px;
    scroll-margin-top: 150px;
}

.info-faq-category h2 {
    margin-bottom: 15px;
}

/* FAQ: openklapbare vragen (meerdere tegelijk open) */
.faq-accordion .faq-block {
    scroll-margin-top: 150px;
}

.faq-accordion .faq-block .title {
    padding: 0;
    margin: 0;
    font-size: 18px;
    line-height: 26px;
}

.faq-accordion .faq-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: 0;
    border-radius: 0;
    color: #002941;
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.faq-accordion .faq-toggle:hover {
    color: #0085E5;
}

.faq-accordion .faq-toggle:focus-visible {
    outline: 2px solid #0085E5;
    outline-offset: -2px;
}

.faq-accordion .faq-toggle i {
    color: #CD0000;
    font-size: 26px;
    transition: transform .2s ease-in-out;
}

.faq-accordion .faq-block.open .faq-toggle i {
    transform: rotate(180deg);
}

.faq-accordion .faq-block.is-target {
    border-color: #0085E5;
    box-shadow: 0 0 0 2px #c4e1f6;
}

@media only screen and (max-width: 719px) {
    .info-choices {
        grid-template-columns: 1fr;
    }

    .info-choice {
        padding: 20px;
        gap: 15px;
    }

    .info-choice__icon {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
    }

    /* geen tijdlijnkolom op smalle schermen: "Stap 1" staat al in de kaart, zo blijft de volle breedte over */
    .info-step {
        display: block;
        padding-bottom: 20px;
    }

    .info-step::before,
    .info-step__number {
        display: none;
    }

    .info-step__body {
        padding: 20px 18px;
    }

    .faq-accordion .faq-toggle {
        padding: 15px 16px;
        font-size: 16px;
        line-height: 23px;
    }

    .faq-accordion .faq-block .faq-details {
        padding: 15px 16px;
    }
}
