div.news-list {
    word-wrap: break-word;
}

div.news-list img.preview_picture {
    float: left;
    margin: 0 4px 6px 0;
}

.news-date-time {
    color: #486DAA;
}

.workflow-section {
    padding: 60px 20px;
    max-width: 1500px;
    margin: 0 auto;
    overflow-x: hidden;
}

.workflow-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 90px 160px; /* Отступы между карточками (вертикаль, горизонталь) */
    position: relative;
}

/* Стили карточки */
.work-card {
    background: linear-gradient(180deg, #DCCEF7 -126%, rgba(220, 206, 247, 0.00) 120.93%);
    position: relative;
    display: flex;
    flex-direction: column;
    /* border: 2px solid rgba(255,255,255,0.05); */
    
    /* Начальное состояние для анимации */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    border-radius: 0px 150px 15px 15px;

    box-shadow: 0 4px 10px 0 rgba(255, 255, 255, 0.25) inset;


}

.work-card.show {
    opacity: 1;
    transform: translateY(0);
}

/* Крупная цифра на фоне */
.card-bg-number {
    position: absolute;
    top: -30px;
    right: 30px;
    z-index: 5;
    pointer-events: none;
color: #7250B1;
font-size: 260px;
font-style: normal;
font-weight: 500;
line-height: normal;


}

/* Верхняя (светлая) часть карточки */
.card-top {
    background-color: var(--card-top-bg);
    padding: 30px 25px;
    min-height: 260px;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
        box-sizing: border-box;
    background-color: #7E57C5;
    border: 2px solid #FBE122;
    border-radius: 0px 150px 0 150px;

}

.card-top h3 {
    margin: 0;
    color: #FFF;
    font-size: 50px;
    font-style: normal;
    font-weight: 500;
    line-height: 55px; /* 110% */
    z-index: 15;
    position: absolute;
    text-align: left;
        max-width: 320px;
}

/* Нижняя (темная) часть карточки */
.card-bottom {
    padding: 30px 25px 40px 25px;
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

.card-bottom p {
margin: 0;
text-align: left;
color: #FFF;
font-size: 23px;
font-style: normal;
font-weight: 400;
line-height: normal;
}



/* Блок "Важно!" */
.important-box {
    grid-column: 2 / span 2; /* Занимает 2 колонки */
    border: 2px solid var(--accent-yellow);
    border-radius: 0px 150px 0 150px; /* Интересная форма углов как на макете */
    padding: 35px;
    background: linear-gradient(180deg, #DCCEF7 -126%, rgba(220, 206, 247, 0.00) 120.93%);
    
    /* Для анимации */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out 0.3s, transform 0.6s ease-out 0.3s;

box-shadow: 0 4px 10px 0 rgba(255, 255, 255, 0.25) inset;


}

.important-box.show {
    opacity: 1;
    transform: translateY(0);
}

.important-title {
color: #FDE021;
font-size: 50px;
font-style: normal;
font-weight: 500;
line-height: 55px; /* 110% */
}

.important-box p {
margin-top: 35px;
color: #FFF;
font-size: 25px;
font-style: normal;
font-weight: 400;
line-height: normal;
}

.important-box p:last-child {
    margin-bottom: 0;
}

.work-card-tep-arrow {
    position: absolute;
    display: block;
    right: -100px;
    top: 30%;
}

/* Слайдер для мобильной версии */
.workflow-slider {
    display: none;
    position: relative;
}

.slider-wrapper {
    overflow: hidden;
    border-radius: 15px;
}

.slider-container {
    display: flex;
    transition: transform 0.4s ease-out;
}

.slider-slide {
    min-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}
.slider-dots {
    display: none;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.dot.active {
    background-color: #FFF;
    border-color: #FFF;
    width: 18px;
    height: 18px;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(114, 80, 177, 0.7);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.slider-button:hover {
    background-color: rgba(114, 80, 177, 1);
}

.slider-button.prev {
    left: -50px;
}

.slider-button.next {
    right: -50px;
}
/* Адаптивность */
@media (max-width: 992px) {
    .workflow-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px;
    }
    .important-box {
        grid-column: 1 / span 2;
    }

.card-bottom {
    min-height: 250px;
}
    .work-card-tep-arrow {
        display: none;
    }
}

@media (max-width: 600px) {
    .workflow-container {
        grid-template-columns: 1fr;
    }
    .important-box {
        grid-column: 1 / span 1;
                padding-bottom: 90px;
    }

    
.work-card-tep-arrow {
    display: none;
}
}


@media (max-width: 600px) {
    .workflow-container {
        display: none;
    }

    .workflow-slider {
        display: block;
    }

    .slider-dots {
        display: flex;
    }

    .slider-button {
        position: static;
        margin: 20px 10px 0;
        transform: none;
    }

    .slider-button.prev {
        left: 0;
    }

    .slider-button.next {
        right: 0;
    }

    .important-box {
        grid-column: 1 / span 1;
        padding-bottom: 90px;
    }

    .work-card-tep-arrow {
        display: none;
    }
}