
.steps__cards{
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}
.steps__card{
    min-height: 230px;
}
.steps__card-wrapper{
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}
.steps__card_border{
    background-color: transparent;
    border: 1px solid var(--main-color);
}
.steps__card-num{
    margin-left: -28px;
    font-family: var(--unbounded-bold);
    font-size: 60px;
    line-height:100%;
}
.steps__card-title {
    margin-bottom: 10px;
}
@media (min-width:768px) {
    .steps__cards{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
}
@media (min-width:1024px) {
    .steps__cards{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .steps__cards:has(> .steps__card:nth-child(5):last-child) {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .steps__cards:has(> .steps__card:nth-child(5):last-child) > .steps__card:nth-child(-n+3) {
        grid-column: span 2;
    }

    .steps__cards:has(> .steps__card:nth-child(5):last-child) > .steps__card:nth-child(4),
    .steps__cards:has(> .steps__card:nth-child(5):last-child) > .steps__card:nth-child(5) {
        grid-column: span 3;
    }
}
