.wp-block-group.alignfull:has(.is-style-slider-mobile-grid),
.wp-block-group.alignfull:has(.is-style-slider)
.wp-block-group.alignfull:has(.is-style-slider-mobile) {
    overflow: hidden;
}


/* Navigation container */
.slider-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-top: var(--wp--preset--spacing--60);
}

.slider-nav--hidden {
    display: none;
}

/* Arrows */
.slider-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    display: grid;
    place-items: center;
    line-height: 1;
    font-size: 16px;
    background: var(--wp--preset--color--base);
    color: var(--wp--preset--color--contrast);
}

.slider-arrow--prev {
    justify-self: start;
}

.slider-arrow--next {
    justify-self: end;
}

.slider-arrow:disabled {
    opacity: 0.35;
}

/* Dots */
.slider-dots {
    justify-self: center;
    display: flex;
    gap: 4px;
}

.slider-dot {
    width: 10px;
    height: 4px;
    border-radius: 4px;
    background-color: var(--wp--preset--color--base);
    border: 0;
    cursor: pointer;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.slider-dot.is-active {
    background-color: var(--wp--preset--color--accent-variant);
    width: 20px;
}

/* Exceptions for use in section styles */
.is-style-section-base {
    .slider-arrow {
        background: color-mix(in srgb, var(--wp--preset--color--base) 90%, var(--wp--preset--color--contrast));
    }
    .slider-dot:not(.is-active) {
        background-color: color-mix(in srgb, var(--wp--preset--color--base) 90%, var(--wp--preset--color--contrast));
    }
}