/* bbik_candidates — scoped under .bbik-candidates, relies on the site's existing
   Bootstrap .row/.col-* grid (already loaded globally) for gutters and mobile
   stacking; only the desktop 3/4-column split (driven by the FlexForm "columns"
   setting) is a custom override here, matching the same breakpoint Bootstrap uses. */

.bbik-candidates {
    row-gap: 2rem;
    align-items: flex-start;
    margin-right: -30px;
    margin-left: -30px;
}

.bbik-candidates__item {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
    .bbik-candidates[data-columns="4"] > .bbik-candidates__item {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .bbik-candidates[data-columns="3"] > .bbik-candidates__item {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}

.bbik-candidates__role {
    margin: 0 0 0.15rem;
    font-size: 0.9rem;
}

.bbik-candidates__name {
    margin: 0 0 0.25rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--bbik-red, #e2001a);
}

.bbik-candidates__location {
    margin: 0 0 0.5rem;
    font-style: italic;
}

.bbik-candidates__meta {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
}

.bbik-candidates__infos {
    margin: 0 0 0.75rem;
}

.bbik-candidates__infos p:last-child {
    margin-bottom: 0;
}


.bbik-candidates__section summary {
    cursor: pointer;
    padding: 0.1rem 1.75rem 0.1rem 0;
    font-weight: 400;
    list-style: none;
    position: relative;
    border-bottom: 2px solid var(--bbik-red, #e2001a);
}

.bbik-candidates__section summary::-webkit-details-marker {
    display: none;
}

.bbik-candidates__section summary::after {
    content: "+";
    position: absolute;
    right: 0.25rem;
    top: 0;
    font-weight: 400;
}

.bbik-candidates__section[open] summary {
    border-bottom: none;
}

.bbik-candidates__section[open] summary::after {
    content: "\2212";
}
.bbik-candidates__section[open] .bbik-candidates__section-body{
    border-bottom: 2px solid var(--bbik-red, #e2001a);
}

.bbik-candidates__section summary:focus-visible {
    outline: 2px solid var(--bbik-red, #e2001a);
    outline-offset: 2px;
}

.bbik-candidates__section-body {
    padding: 0.75rem 0 0;
}

.bbik-candidates__toggle-all {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0.1rem 1.75rem 0.1rem 0;
    background: none;
    border: none;
    border-bottom: 2px solid var(--bbik-red, #e2001a);
    border-radius: 0;
    color: inherit;
    font-weight: 400;
    font-size: 0.75rem;
    text-align: left;
    cursor: pointer;
    position: relative;
}

.bbik-candidates__toggle-all::after {
    content: "+";
    position: absolute;
    right: 0.25rem;
    top: 0;
    font-size: 1rem;
}

.bbik-candidates__toggle-all[aria-pressed="true"]::after {
    content: "\2212";
}

.bbik-candidates__toggle-all:hover {
    text-decoration: underline;
}

.bbik-candidates__toggle-all:focus-visible {
    outline: 2px solid var(--bbik-red, #e2001a);
    outline-offset: 2px;
}
