.core-machine {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 30px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.09) 100%);
    border-radius: 10px;
    border: 1px rgba(255, 255, 255, .2) solid;
    gap: 40px;
}

.series-list {
    flex: 0 0 25%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.series-list button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    text-align: left;
    padding: 10px 0;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: all 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    height: 60px;
    justify-content: space-between;
    font-family: var(--font-stack-heading);
    font-weight: 300;
}

.series-list button .ch-btn-icon {
    display: none;
}

.series-list button::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 75%;
    height: 1px;
    background: linear-gradient(to right, #DCDCDC, #767676);
}

.series-list button.active::after {
    width: 100%;
    background: #fe6b00;
}

.series-list button.active .ch-btn-icon {
    display: block;
}

.series-text {
    flex: 1;
    margin-right: 50px;
}

.series-content {
    flex: 0 0 calc(75% - 40px);
    display: flex;
    align-items: center;
}

.series-content:not(.active) {
    display: none;
}

.series-content h2 {
    font-size: 21px;
    margin-bottom: 10px;
    color: var(--e-global-color-secondary);
    font-family: var(--font-stack-heading);
    font-weight: 500;
}

.series-content p {
    color: white;
    margin-top: 1rem;
}

.series-content .swiper {
    top: 30%;
    width: 600px;
    transform: translate(5%, -50%) scale(1.3);
}

.series-content .swiper-slide {
    display: flex;
    align-items: center;
}

.series-content .swiper-slide img {
    width: 100%;
    border-radius: 8px;
}

.series-content .swiper-button-next,
.series-content .swiper-button-prev {
    color: #fe6b00;
    width: 30px;
    height: 30px;
}

.swiper-navigation {
    display: flex;
    position: absolute;
    bottom: 2px;
    width: 70%;
    justify-content: center;
    z-index: 100;
    margin: 0 auto;
    left: 0;
    right: 0
}

.swiper-navigation .swiper-button-next,
.swiper-navigation .swiper-button-prev {
    width: 30px;
    height: 30px;
    border: 1px white solid;
    border-radius: 50%;
    top: auto;
    margin-top: 0;
    transform: none;
}

.swiper-navigation .swiper-slide-label {
    font-size: 16px;
    font-family: var(--font-stack-heading);
}

.swiper-navigation .swiper-slide-label span {
    color: var(--e-global-color-secondary);
}

.swiper-navigation .swiper-button-next::after,
.swiper-navigation .swiper-button-prev::after {
    font-size: 12px;
    color: white;
}

.swiper-navigation .swiper-navigation {
    font-family: var(--font-stack-heading);
    font-size: 16px;
}

@media screen and (max-width: 1366px) {
    .swiper-navigation .swiper-slide-label {
        font-size: 14px;
    }
    .series-content {
        flex-direction: column-reverse;
        gap: 100px;
        margin-top: -100px;
    }
}

@media screen and (min-width: 1367px) and (max-width: 1600px) {
    .series-content .swiper {
        width: 500px;
    }
}

@media screen and (max-width: 767px) {
    .series-content,
    .series-list {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .series-content {
        display: block;
        margin: 20px auto;
    }
    .core-machine {
        gap: 0;
        padding: 20px;
    }
    .series-text {
        margin-right: 0;
    }
    .series-content .swiper {
        top: 0;
        /* for some reason using percetanges break swiper*/
        width: 90vw;
        transform: none;
    }
}

@media screen and (min-width: 768px) and (max-width: 1366px) {
    .core-machine {
        padding: 10px 20px;
        gap: 20px;
    }
    .series-content {
        flex: 0 0 calc(75% - 20px);
    }
    .series-text {
        margin-left: 50px;
    }
    .series-content .swiper {
        width: 400px;
    }
}
