.programs {
    margin-top: 5.8rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}

.programs .way {
    width: 31.6%;
    overflow: hidden;
    margin-bottom: 40px;
}

.programs .way:nth-of-type(3n+1) {
    margin-right: 2.6%
}

.programs .way:nth-of-type(3n+2) {
    margin-right: 2.6%
}

.programs .img {
    max-height: 360px;
    height: 290px;
    margin-bottom: 30px;
}

.programs .img img {
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.programs .h3,
.programs .h4 {
    display: block;
    margin-top: 0;
    margin-bottom: 10px;
}
.programs .h3:hover,
.programs .h3:active,
.programs .h3:visited,
.programs .h4:hover,
.programs .h4:active,
.programs .h4:visited {
    color: var(--color-black-1);
    border-color: transparent;
}

.programs .info {
    display: block;
    margin: 30px auto;
    text-align: left;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: .5s;
    transition: .5s;
}

@media screen and (max-width: 1023px) {
    .programs {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        margin-top: 30px;
    }

    .programs .way {
        width: 100%;
        margin-bottom: 30px;
        padding: 20px;
        border-radius: 8px;
        border: 1px solid #F0F0F0;
    }

    .programs .img {
        width: calc(100% + 40px);
        height: 35vw;
        min-height: 250px;
        margin: -20px -20px 20px;
    }
}
