.slider_wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    margin: 1em 0;
}

.slider_skillbox {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.slider_skillbox_slide {
    flex: 0 0 100%;
    overflow: hidden;
}


.slider_skillbox img {
    width: 100%;
    height: auto;
}

.dots {
    position: absolute;
    bottom: 1em;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4em;
}

.dot_s {
    width: 0.6em;
    height: 0.6em;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    transition: width 0.5s ease-in-out, border-radius 0.5s ease-in-out;
}

.dot_s .progress-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: white;
}

/* Анимация увеличения новой активной точки (овальная форма) */
.dot_s.expanding {
    width: 4em;
    border-radius: 0.5em;
    transition: width 0.3s ease-in-out, border-radius 0.3s ease-in-out;
}

/* Когда точка активная, она остаётся овальной */
.dot_s.active.keep-oval {
    width: 4em;
    border-radius: 0.5em;
}

/* Анимация заполнения прогресс-бара */
.dot_s.active .progress-line {
    animation: fillProgress 6s linear forwards;
}

/* Анимация уменьшения старой активной точки (обратно в круг) */
.dot_s.closing {
    width: 1em !important;
    border-radius: 50% !important;
    transition: width 0.5s ease-in-out, border-radius 0.5s ease-in-out;
}

@keyframes fillProgress {
    from { width: 0; }
    to { width: 100%; }
}
.slider_skillbox_slide{
    position: relative;
}
.slider_skillbox__content_circle{
    position: absolute;
    background: #ffffff4a;
    z-index: 10;
    top: -5em;
    left: -5em;
    height: 31.375em;
    width: 31.375em;
    border-radius: 50%;
}


.slider_skillbox__content{
    position: absolute;
    top: 0;
    left: 0;
    width: 31.375em;
    height: 100%;
    border-radius: 50%;
}

.slider_skillbox__content_block{
    position: absolute;
    z-index: 20;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    padding: 2em;
    width: 26.5em;
}


.slider_skillbox__content_block_title{
    font-size: 1.375em;
    font-weight: 700;
    margin-bottom: 1em;
    display: block;

}
.slider_skillbox__content_block_title_anons{
    margin-bottom: 1.5em;
    display: block;
    color: #6E7082;
    filter: saturate(0);
}

.slider_skillbox__content_block_title_link{
    display: inline-block;
    font-weight: 500;
    text-align: center;
    box-sizing: border-box;
    background: #854385;
    padding: .3em;
    border-radius: 0.3em;
    color: #ffffff;
    width: 13.75em;
    transition: all 0.3s ease;
}

.slider_skillbox__content_block_title_link:hover{
    background: #ffe600;
    color: #000;
}
.slider_skillbox_slide_mobile{
    display: none;
}

@media screen and (orientation: portrait) {
    .slider_skillbox__content_circle{
        display: none;
    }
    .slider_skillbox__content_block_title_anons{
        display: none;
    }
    .slider_skillbox__content_block{
        padding: 2em 0 3em;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .slider_skillbox__content_block_title_link{
        display: block;
        width: calc(100% - 4em);
        margin: 0 auto;
    }
    .yellow-banner {
        display: inline-block;
        background-color: #ffe600;
        position: relative;
        width: 85%;
        padding: .2em 0 .2em 1em;
        opacity: .8;
    }

    .yellow-banner::after {
        content: "";
        position: absolute;
        top: 0;
        right: -2em;
        width: 4em;
        height: 100%;
        background-color: #ffe600;
        transform: skewX(30deg);
    }
    .yellow-banner p{
        max-width: 85%;
    }
    .slider_skillbox__content_block_title{
        margin-bottom: 0;
        font-size: 1.2em;
    }
    .slider_skillbox__content{
        width: 100%;
    }
    .slider_skillbox__content_block{
        width: 100%;
    }
    .slider_skillbox_slide_mobile{
        display: block;
    }
    .slider_skillbox_slide_pk{
        display: none;
    }
}