/* Widget: Creators slider */

.cpx-creators-slider {
    /* Pas deze variabelen naar wens aan. */
    --cpx-creators-gap: 24px;
    --cpx-creators-gap-desktop: 85px;

    /* Slides per view per breakpoint. Laatste slide valt deels buiten beeld. */
    --cpx-creators-per-view: 1.4;
    --cpx-creators-per-view-tablet: 2.4;
    --cpx-creators-per-view-desktop: 3.4;

    /* Verhouding van de avatar (breedte / hoogte). Vierkant. */
    --cpx-creators-ratio: 1 / 1;

    /* Afronding van de avatar. Hoog = squircle/rond. */
    --cpx-creators-radius: 30%;

    /* Kleuren (bewerk zelf). */
    --cpx-creators-card-bg: #eceae4;
    --cpx-creators-name-color: #0f3f21;
    --cpx-creators-dot: #c4c8c0;
    --cpx-creators-dot-active: #0f3f21;

    width: 100%;
}

.cpx-creators-slider__swiper {
    width: 100%;
    overflow: visible;
}

.cpx-creators-slider__slide {
    width: auto;
    height: auto;
}

.cpx-creators-slider__card {
    width: 100%;
    height: 100%;
}

.cpx-creators-slider__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.cpx-creators-slider__media {
    position: relative;
    width: 100%;
    aspect-ratio: var(--cpx-creators-ratio);
    overflow: hidden;
    border-radius: var(--cpx-creators-radius);
    background-color: var(--cpx-creators-card-bg);
}

.cpx-creators-slider__img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cpx-creators-slider__link:hover .cpx-creators-slider__img {
    transform: scale(1.04);
}

.cpx-creators-slider .cpx-creators-slider__name {
    margin: 18px 0 0;
    text-align: center;
    color: var(--cpx-creators-name-color);
    font-family: var(--e-global-typography-7014cef-font-family), Sans-serif;
    font-size: var(--e-global-typography-7014cef-font-size);
    font-weight: var(--e-global-typography-7014cef-font-weight);
    line-height: var(--e-global-typography-7014cef-line-height);
}

.cpx-creators-slider__handle {
    display: block;
    margin-top: 6px;
    text-align: center;
    color: var(--cpx-creators-name-color);
    font-size: var(--e-global-typography-a65c7f1-font-size);
    line-height: var(--e-global-typography-a65c7f1-line-height);
}

/* Pagination. Hoog-specifiek gescoped om Elementor/thema-defaults te overrulen. */
.cpx-creators-slider .cpx-creators-slider__pagination {
    position: static;
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 26px;
}

.cpx-creators-slider .swiper-pagination-bullet {
    width: 13px;
    height: 13px;
    margin: 0;
    background-color: transparent;
    border: 2px solid var(--cpx-creators-dot);
    border-radius: 50%;
    opacity: 1;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.cpx-creators-slider .swiper-pagination-bullet-active {
    background-color: var(--cpx-creators-dot-active);
    border-color: var(--cpx-creators-dot-active);
}
