.article-rec-programs {
    margin: 30px 0;
    background: #fafafa;
    text-align: left;
    overflow-x: hidden;
    border-radius: 0;
    box-shadow: none;
    opacity: 1 !important;
    transform: none !important;
}

.article-rec-programs .center_cnt {
    height: auto;
}

.article-rec-programs__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-bottom: 20px;
}

.article-rec-programs h2 {
    margin: 0;
    max-width: none;
    color: #662c90;
    font-size: 26px;
    font-weight: 300;
    line-height: 1.15;
    text-align: left;
}

.article-rec-programs__all {
    color: #ff1b29;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    border-radius: 0;
    box-shadow: none;
}

.article-rec-programs__all:hover,
.article-rec-programs__all:focus {
    color: #ad1720;
    text-decoration: none;
}

.article-rec-programs__programs {
    overflow: hidden;
    border-radius: 0;
}

.article-rec-programs .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.article-rec-programs__card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    text-align: left;
}

.article-rec-programs__image {
    flex-shrink: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #e6e6e6;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0;
}

.article-rec-programs__body {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 16px 18px;
}

.article-rec-programs__label {
    margin-bottom: 8px;
    color: #ff1b29;
    font-size: 13px;
    font-weight: normal;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.article-rec-programs__title {
    margin-bottom: 8px;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.25;
    overflow-wrap: break-word;
}

.article-rec-programs__desc {
    margin: 0;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.35;
    opacity: 0.8;
    white-space: pre-line;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: break-word;
}

.article-rec-programs__footer {
    margin-top: auto;
    padding-top: 16px;
}

.article-rec-programs__price {
    margin-bottom: 12px;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.2;
}

.article-rec-programs__button,
.article-rec-programs__button:link,
.article-rec-programs__button:visited,
.article-rec-programs__button:hover,
.article-rec-programs__button:focus,
.article-rec-programs__button:active {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 12px 10px;
    background: #59257f;
    color: #fff !important;
    font-size: 13px;
    font-weight: normal;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none !important;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    outline: none;
}

.article-rec-programs__button:hover,
.article-rec-programs__button:focus {
    background: #481f68;
    box-shadow: none;
}

.article-rec-programs--compact .article-rec-programs__title {
    margin-bottom: 0;
}

.article-rec-programs--compact .article-rec-programs__footer {
    padding-top: 20px;
}

.article-rec-programs {
    padding: 40px 0;
}

@media (min-width: 768px) and (max-width: 1149px) {
    .article-rec-programs {
        padding: 56px 0;
    }

    .article-rec-programs h2 {
        font-size: 30px;
    }

    .article-rec-programs__header {
        margin-bottom: 24px;
    }

    .article-rec-programs__card {
        width: calc((100% - 36px) / 3);
    }

    .article-rec-programs__body {
        padding: 18px 18px 20px;
    }

    .article-rec-programs__title {
        font-size: 17px;
    }
}

@media (min-width: 1024px) and (max-width: 1149px) {
    .article-rec-programs__card {
        width: calc((100% - 60px) / 4);
    }
}

@media (min-width: 1150px) {
    .article-rec-programs {
        padding: 72px 0;
    }

    .article-rec-programs h2 {
        font-size: 36px;
    }

    .article-rec-programs__header {
        margin-bottom: 28px;
    }

    .article-rec-programs__programs {
        overflow: visible;
    }

    .article-rec-programs .swiper-wrapper {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
        transform: none;
        width: auto;
    }

    .article-rec-programs__card {
        width: auto;
        height: auto;
    }

    .article-rec-programs__body {
        padding: 20px 20px 22px;
    }

    .article-rec-programs__label {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .article-rec-programs__title {
        font-size: 18px;
    }

    .article-rec-programs__desc {
        margin-bottom: 4px;
    }

    .article-rec-programs__button,
    .article-rec-programs__button:link,
    .article-rec-programs__button:visited,
    .article-rec-programs__button:hover,
    .article-rec-programs__button:focus,
    .article-rec-programs__button:active {
        padding: 14px 10px;
        font-size: 14px;
    }
}
