.programs-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.programs-list__pager {
    margin: 0 0 24px;
}

.programs-list__pager--bottom {
    margin: 32px 0 0;
}

.program-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: #ffffff;
    border: 1px solid #dbe5ec;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.program-card:hover {
    border-color: #65b3c8;
    box-shadow: 0 8px 24px rgba(54, 96, 144, 0.08);
}

.program-card__image-wrap {
    display: block;
    aspect-ratio: 16 / 9;
    background: #f6f9fb;
    overflow: hidden;
}

.program-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-card__content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 24px;
}
.program-card__title{
    margin: 0 0 14px;
}

.program-card__title a{
    color: #366090;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 700;
}

.program-card__title a {
    text-decoration: none;
}

.program-card__title a:hover {
    color: #2f547e;
}

.program-card__text {
    margin-bottom: 18px;
    color: #4c5d69;
    font-size: 16px;
    line-height: 1.65;
}

.program-card__address {
    margin-top: auto;
    margin-bottom: 22px;
    padding: 16px 18px;
    background: #f6f9fb;
    border: 1px solid #dbe5ec;
    border-radius: 10px;
}

.program-card__address-label {
    margin-bottom: 6px;
    color: #5f7383;
    font-size: 13px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.program-card__address-value {
    color: #1f2d3d;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 500;
}

.program-card__bottom {
    display: flex;
    align-items: center;
    gap: 12px;
}

.programs-list-wrap {
    margin-top: 24px;
}

.programs-empty {
    padding: 36px;
    background: #f6f9fb;
    border: 1px solid #dbe5ec;
    border-radius: 12px;
}

.programs-empty__inner {
    max-width: 520px;
}

.programs-empty__title {
    margin-bottom: 10px;
    color: #366090;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
}

.programs-empty__text {
    color: #556773;
    font-size: 16px;
    line-height: 1.65;
}

@media (max-width: 767px) {
    .programs-empty {
        padding: 24px 20px;
    }

    .programs-empty__title {
        font-size: 24px;
    }

    .programs-empty__text {
        font-size: 15px;
    }
}


@media (max-width: 1024px) {
    .programs-list {
        grid-template-columns: 1fr;
    }

    .program-card__title {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .programs-list {
        gap: 18px;
    }

    .program-card__content {
        padding: 18px;
    }

    .program-card__title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .program-card__text {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .program-card__address {
        padding: 14px 16px;
        margin-bottom: 18px;
    }
}