.bbkc {
    --bbkc-accent: #55ba9f;
    --bbkc-card-width: 500px;
    --bbkc-card-height: 470px;
    --bbkc-duration: 800ms;
    position: relative;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    color: #000;
    font-family: Aleo, Georgia, serif;
}

.bbkc *,
.bbkc *::before,
.bbkc *::after {
    box-sizing: border-box;
}

.bbkc__viewport {
    position: relative;
    height: 535px;
    overflow: hidden;
    perspective: 600px;
}

.bbkc__track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.bbkc__slide {
    position: absolute;
    top: 22px;
    left: 50%;
    z-index: 0;
    width: min(var(--bbkc-card-width), calc(100vw - 44px));
    min-height: var(--bbkc-card-height);
    padding: 50px 28px 36px;
    overflow: auto;
    visibility: hidden;
    opacity: 0;
    background: #fff;
    border-radius: 35px;
    box-shadow: 0 4px 15px 4px rgb(0 0 0 / 18%);
    transform: translateX(-50%) scale(.7);
    transition:
        transform var(--bbkc-duration) cubic-bezier(.22, .61, .36, 1),
        opacity var(--bbkc-duration) ease,
        visibility var(--bbkc-duration) step-end;
    will-change: transform, opacity;
}

.bbkc__slide.is-active,
.bbkc__slide.is-prev,
.bbkc__slide.is-next {
    visibility: visible;
    transition:
        transform var(--bbkc-duration) cubic-bezier(.22, .61, .36, 1),
        opacity var(--bbkc-duration) ease,
        visibility 0s step-start;
}

.bbkc__slide.is-active {
    z-index: 3;
    opacity: 1;
    transform: translateX(-50%) rotateY(0deg) scale(1);
}

.bbkc__slide.is-prev {
    z-index: 1;
    opacity: .7;
    transform: translateX(calc(-50% - 67%)) rotateY(50deg) scale(.7);
}

.bbkc__slide.is-next {
    z-index: 1;
    opacity: .7;
    transform: translateX(calc(-50% + 67%)) rotateY(-50deg) scale(.7);
}

.bbkc__title {
    width: 100%;
    margin: 0 0 24px;
    color: var(--bbkc-accent);
    font: 600 24px/1.42 Aleo, Georgia, serif;
    text-wrap: balance;
}

.bbkc__text {
    width: 100%;
    font: 400 18px/1.45 Aleo, Georgia, serif;
    white-space: normal;
}

.bbkc__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 36px;
    padding: 0 16px;
}

.bbkc__dots {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.bbkc button {
    appearance: none;
    margin: 0;
    border: 0;
    font: inherit;
    cursor: pointer;
}

.bbkc__dot {
    width: 13px;
    height: 13px;
    padding: 0;
    background: #e5e5e5;
    border-radius: 50%;
    transition: background-color 180ms ease, transform 180ms ease;
}

.bbkc__dot:hover,
.bbkc__dot.is-active {
    background: var(--bbkc-accent);
    transform: scale(1.12);
}

.bbkc__arrow,
.bbkc__pause {
    display: inline-grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    color: #2d2d2d;
    background: transparent;
    border-radius: 50%;
    line-height: 1;
}

.bbkc__arrow:hover,
.bbkc__pause:hover {
    color: #fff;
    background: var(--bbkc-accent);
}

.bbkc__pause {
    margin-left: 3px;
    font-size: 11px;
}

.bbkc__play-icon,
.bbkc__pause[aria-pressed="true"] .bbkc__pause-icon {
    display: none;
}

.bbkc__pause[aria-pressed="true"] .bbkc__play-icon {
    display: inline;
}

.bbkc button:focus-visible {
    outline: 3px solid #1b5678;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .bbkc {
        --bbkc-card-height: 550px;
    }

    .bbkc__viewport {
        height: 600px;
    }

    .bbkc__slide {
        top: 15px;
        width: calc(100vw - 36px);
        max-width: 550px;
        padding: 44px 36px 34px;
        border-radius: 28px;
        box-shadow: 0 2px 10px 2px rgb(0 0 0 / 17%);
    }

    .bbkc__slide.is-prev {
        opacity: 0;
        transform: translateX(calc(-50% - 95%)) scale(.86);
    }

    .bbkc__slide.is-next {
        opacity: 0;
        transform: translateX(calc(-50% + 95%)) scale(.86);
    }

    .bbkc__title {
        margin-bottom: 20px;
        font-size: 24px;
        line-height: 1.1;
    }

    .bbkc__text {
        font-size: 18px;
        line-height: 1.45;
    }

    .bbkc__controls {
        gap: 6px;
        padding-inline: 8px;
    }

    .bbkc__dots {
        gap: 8px;
    }

    .bbkc__dot {
        width: 12px;
        height: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bbkc__slide,
    .bbkc__dot {
        transition-duration: 1ms !important;
    }
}

/* Sociale partners — exacte variant van kennis-caroussel-1 */
.bbkc--social {
    --bbkc-card-width: 620px;
    --bbkc-card-height: 500px;
    height: 600px;
    max-width: none;
}

.bbkc--social .bbkc__viewport {
    height: 600px;
}

.bbkc--social .bbkc__slide {
    top: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 620px;
    min-height: 500px;
    padding: 44px 54px;
    overflow: hidden;
    text-align: left;
}

.bbkc--social .bbkc__title {
    position: static;
    width: 100%;
    margin: 0 0 22px;
    color: var(--bbkc-accent) !important;
    font-size: 24px;
    line-height: 1.2;
    text-align: left;
}

.bbkc--social .bbkc__text {
    position: static;
    width: 100%;
    font-size: 16px;
    line-height: 26px;
    text-align: left;
    transform: none;
}

.bbkc--social .bbkc__controls {
    position: absolute;
    inset: 0;
    display: block;
    min-height: 0;
    padding: 0;
    pointer-events: none;
}

.bbkc--social .bbkc__arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 60px;
    height: 60px;
    color: #000;
    background: #fff;
    border-radius: 0;
    font-size: 28px;
    transform: translateY(-50%);
    pointer-events: auto;
}

.bbkc--social .bbkc__arrow span {
    display: none;
}

.bbkc--social .bbkc__arrow::before {
    display: block;
    font: 400 34px/1 Arial, sans-serif;
}

.bbkc--social .bbkc__arrow--prev::before {
    content: "‹";
}

.bbkc--social .bbkc__arrow--next::before {
    content: "›";
}

.bbkc--social .bbkc__arrow:hover {
    color: #000;
    background: rgb(255 255 255 / 75%);
}

.bbkc--social .bbkc__arrow--prev {
    left: 0;
}

.bbkc--social .bbkc__arrow--next {
    right: 0;
}

.bbkc--social .bbkc__pause {
    position: absolute;
    left: 50%;
    bottom: 6px;
    z-index: 6;
    opacity: 0;
    transform: translateX(-50%);
    pointer-events: auto;
}

.bbkc--social:hover .bbkc__pause,
.bbkc--social .bbkc__pause:focus-visible {
    opacity: 1;
}

@media (max-width: 767px) {
    .bbkc--social {
        height: 600px;
    }

    .bbkc--social .bbkc__viewport {
        height: 600px;
    }

    .bbkc--social .bbkc__slide {
        top: 0;
        left: 50%;
        display: flex;
        width: min(550px, calc(100vw - 24px));
        min-height: 550px;
        padding: 38px 34px;
        overflow: auto;
        border-radius: 35px;
    }

    .bbkc--social .bbkc__title {
        position: static;
        width: 100%;
        margin-bottom: 18px;
        font-size: clamp(21px, 5.2vw, 24px);
        line-height: 1.15;
    }

    .bbkc--social .bbkc__text {
        position: static;
        width: 100%;
        font-size: clamp(15px, 3.8vw, 18px);
        line-height: 1.45;
        transform: none;
    }

    .bbkc--social .bbkc__arrow {
        display: none;
    }
}

/* Sociale partners — statisch onderwerpenblok */
.bbsp {
    --bbsp-green: #55ba9f;
    --bbsp-navy: #254058;
    position: relative;
    isolation: isolate;
    box-sizing: border-box;
    width: min(100vw, 1920px);
    height: min(26.041667vw, 500px);
    margin: 0 0 0 50%;
    padding: 0;
    background: transparent;
    font-family: Aleo, Georgia, serif;
    transform: translateX(-50%);
}

.bbsp::before {
    position: absolute;
    right: 0;
    bottom: 0;
    left: max(-.260417vw, -5px);
    z-index: 0;
    height: 60%;
    background: var(--bbsp-green);
    border-radius: min(7.8125vw, 150px) 0 0;
    content: "";
}

.bbsp *,
.bbsp *::before,
.bbsp *::after {
    box-sizing: border-box;
}

.bbsp__grid {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .953449%;
    width: 92.864583%;
    margin: 0;
    transform: translate(-50%, -50%);
}

.bbsp__card,
.bbsp__card:link,
.bbsp__card:visited {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 1;
    padding: 0;
    color: #000 !important;
    text-align: center;
    text-decoration: none !important;
    background: #fff;
    border-radius: 25px;
    box-shadow:
        0 min(.208333vw, 4px) min(.520833vw, 10px)
        min(.208333vw, 4px) rgb(0 0 0 / 25%);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.bbsp__card:first-child {
    box-shadow:
        0 min(.364583vw, 7px) min(.520833vw, 10px)
        min(.208333vw, 4px) rgb(0 0 0 / 25%);
}

.bbsp__card:hover {
    color: #000 !important;
    text-decoration: none !important;
    filter: brightness(.985);
}

.bbsp__card:focus-visible {
    outline: 3px solid var(--bbsp-navy);
    outline-offset: 4px;
}

.bbsp__icon {
    position: absolute;
    top: 6.27%;
    left: 50%;
    display: block;
    width: 22.157434%;
    height: 20.116618%;
    margin: 0;
    object-fit: contain;
    transform: translateX(-50%);
}

.bbsp__card:nth-child(2) .bbsp__icon,
.bbsp__card:nth-child(5) .bbsp__icon {
    height: 22.157434%;
}

.bbsp__card:nth-child(3) .bbsp__icon {
    width: 23.323615%;
    height: 23.323615%;
}

.bbsp__card:nth-child(4) .bbsp__icon {
    height: 20.408163%;
}

.bbsp__title {
    position: absolute;
    top: 38.34%;
    left: 50%;
    width: 93.294461%;
    margin: 0;
    color: #000;
    font-family: Aleo, Georgia, serif;
    font-size: min(1.354167vw, 26px);
    font-weight: 500;
    line-height: 1.153846;
    transform: translateX(-50%);
    text-wrap: balance;
}

.bbsp__text {
    position: absolute;
    top: 52.92%;
    left: 50%;
    width: 62.973761%;
    margin: 0;
    color: #000;
    font-family: Aleo, Georgia, serif;
    font-size: min(.9375vw, 18px);
    font-weight: 400;
    line-height: 1.277778;
    transform: translateX(-50%);
    text-wrap: balance;
}

.bbsp__arrow {
    position: absolute;
    bottom: 0;
    left: 50%;
    color: var(--bbsp-navy);
    font: 400 min(2.604167vw, 50px)/1 Aleo, Georgia, serif;
    transform: translateX(-50%);
}

@media (min-width: 601px) and (max-width: 1023px) {
    .bbsp {
        width: min(100vw, 778px);
        height: min(123.393316vw, 960px);
    }

    .bbsp::before {
        left: 0;
        height: 70.3125%;
        border-radius: min(19.280206vw, 150px) 0 0;
    }

    .bbsp__grid {
        gap: .97493%;
        width: 92.287918%;
    }

    .bbsp__card,
    .bbsp__card:link,
    .bbsp__card:visited {
        border-radius: 25px;
        box-shadow: 0 1px 3px 1px rgb(0 0 0 / 25%);
    }

    .bbsp__card:first-child {
        box-shadow: 0 2px 3px 1px rgb(0 0 0 / 25%);
    }

    .bbsp__title {
        font-size: min(1.156812vw, 9px);
        line-height: 1.333333;
    }

    .bbsp__text {
        font-size: min(.771208vw, 6px);
        line-height: 1.5;
    }

    .bbsp__arrow {
        font-size: min(2.442159vw, 19px);
    }
}

@media (max-width: 600px) {
    .bbsp {
        width: min(100vw, 480px);
        height: min(158.333333vw, 760px);
    }

    .bbsp::before {
        left: 0;
        height: 80.131579%;
        border-radius: min(31.25vw, 150px) 0 0;
    }

    .bbsp__grid {
        inset: 0;
        display: block;
        width: 100%;
        transform: none;
    }

    .bbsp__card,
    .bbsp__card:link,
    .bbsp__card:visited {
        position: absolute;
        width: 41.666667%;
        height: 26.315789%;
        aspect-ratio: auto;
        border-radius: 25px;
        box-shadow: 0 7px 10px 2px rgb(0 0 0 / 25%);
    }

    .bbsp__card:first-child,
    .bbsp__card:first-child:link,
    .bbsp__card:first-child:visited {
        top: 9.868421%;
        left: 6.25%;
        width: 87.5%;
        height: 27.631579%;
        box-shadow: 0 7px 10px 4px rgb(0 0 0 / 25%);
    }

    .bbsp__card:nth-child(2) {
        top: 40.131579%;
        left: 52.083333%;
    }

    .bbsp__card:nth-child(3) {
        top: 40.131579%;
        left: 6.25%;
    }

    .bbsp__card:nth-child(4) {
        top: 69.078947%;
        left: 6.25%;
    }

    .bbsp__card:nth-child(5) {
        top: 69.078947%;
        left: 52.083333%;
    }

    .bbsp__icon {
        top: 20px;
        width: 44px;
        height: 40px;
    }

    .bbsp__card:first-child .bbsp__icon {
        width: 45px;
        height: 40px;
    }

    .bbsp__card:nth-child(3) .bbsp__icon {
        width: 44px;
        height: 41px;
    }

    .bbsp__card:nth-child(5) .bbsp__icon {
        width: 44px;
        height: 50px;
        top: 19px;
    }

    .bbsp__title {
        top: 74px;
        width: 84%;
        font-size: 18px;
        line-height: 16px;
    }

    .bbsp__card:first-child .bbsp__title {
        top: 76px;
        width: 227px;
    }

    .bbsp__card:nth-child(3) .bbsp__title,
    .bbsp__card:nth-child(5) .bbsp__title {
        top: 82px;
    }

    .bbsp__text {
        top: 120px;
        width: 88%;
        font-size: 16px;
        line-height: 16px;
    }

    .bbsp__card:first-child .bbsp__text {
        top: 112px;
        width: 184px;
    }

    .bbsp__arrow {
        bottom: 0;
        font-size: 40px;
        line-height: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bbsp__card {
        transition-duration: 1ms;
    }
}
