.program {
    --program-bg: #ab44e7;
    padding-top: 171px;
    padding-bottom: 80px;
}

.program .program__title-wrapper.desktop .block-title {
    color: #fff;
}

.program .program__title-wrapper.mobile {
    display: none;
}

.program .program__block {
    background-color: var(--program-bg);
    color: #fff;
    padding: 0 32px;
    border-radius: 60px;
    position: relative;
    margin-top: 40px;
    padding-bottom: 40px;
}

.program .program__block-top {
    display: flex;
    height: 89px;
    width: 100%;
    position: absolute;
    bottom: calc(100% - 1px);
    right: 0;
    padding-right: 75px;
    padding-left: 500px;
    pointer-events: none;
}

.program .program__block-top-center {
    width: 100%;
    height: 100%;
    background-color: var(--program-bg);
    display: flex;
    align-items: center;
    margin-left: -1px;
    margin-right: -1px;
}

.program .program__block-top-center::before {
    content: "";
    width: 100%;
    height: 17px;
    border-radius: 59px;
    background-color: #E6DFFF;
}

.program .program__row {
    padding: 40px 0;
    display: grid;
    grid-template-columns: 104px 1fr 444px;
    gap: 24px;
}

.program .program__row:not(:last-child) {
    border-bottom: 1px solid #DDDDDD;
}

.program .program__time {
    background-color: #fff;
    border-radius: 16px;
    height: 55px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--program-bg);
    font-weight: 600;
    font-size: 24px;
    line-height: 130%;
    letter-spacing: 0%;
}

.program .program__time.center {
    align-self: center;
}

.program .program__text-big {
    font-weight: 800;
    font-size: 32px;
    line-height: 130%;
    letter-spacing: 0%;
    align-self: center;
}

.program .program__text {
    font-weight: 400;
    font-size: 24px;
    line-height: 130%;
    letter-spacing: 0%;
}

.program .program__text b {
    font-weight: 800;
}

.program .program__group-name {
    font-weight: 700;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0%;
}

.program .program__right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.program .program__group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.program .program__title-wrapper {
    width: fit-content;
    position: relative;
    padding-top: 40px;
}

.program .program__title-picture {
    position: absolute;
    top: -89px;
    right: -272px;
    z-index: 2;
}

.program .program__title-img {
    width: 295px;
    height: auto;
    filter:
        drop-shadow(-70.6289px 185.097px 79.1531px rgba(0, 0, 0, 0.01))
        drop-shadow(-38.9677px 104.726px 66.9757px rgba(0, 0, 0, 0.05))
        drop-shadow(-17.0484px 46.2741px 49.9274px rgba(0, 0, 0, 0.09))
        drop-shadow(-4.87096px 12.1774px 26.7903px rgba(0, 0, 0, 0.1));
}

@media screen and (max-width: 1380px) {
    .program .program__block-top {
        padding-right: 45px;
        padding-left: 450px;
    }
}

@media screen and (max-width: 1024px) {
    .program {
        padding: 60px 0;
    }

    .block-title {
        font-size: 32px;
    }

    .program .program__block {
        border-radius: 32px;
        padding: 0 24px;
        margin-top: 24px;
    }

    .program .program__row {
        padding: 24px 0;
    }

    .program .program__text-big {
        font-size: 24px;
        margin-top: 12px;
    }

    .program .program__time.center,
    .program .program__text-big {
        align-self: flex-start;
    }

    .program .program__text {
        font-size: 18px;
    }

    .program .program__block-top {
        height: 62px;
        padding-left: 310px;
        padding-right: 40px;
        max-width: 850px;
    }

    .program .program__block-top svg.corner-curve {
        width: 80px;
    }

    .program .program__block-top-center::before {
        height: 13px;
    }

    .program .program__title-picture {
        top: 50%;
        left: calc(100% + 5px);
        transform: translateY(-50%);
    }

    .program .program__title-img {
        width: 170px;
    }

    .program .program__title-wrapper {
        padding-top: 25px;
    }
}

@media screen and (max-width: 920px) {
    .program .program__row {
        grid-template-columns: 104px 200px 1fr;
    }

    .program .program__text {
        grid-column: 1/3;
    }
}

@media screen and (max-width: 680px) {
    .program {
        padding-top: 40px;
        padding-bottom: 0;
    }


    .program .program__row {
        grid-template-columns: 77px 1fr;
        gap: 24px 16px;
    }

    .program .program__group,
    .program .program__right {
        grid-column: 1/3;
    }

    .program .program__time {
        font-size: 20px;
        height: 42px;
    }

    .program .program__block-top {
        display: none;
    }

    .program .program__text-big {
        font-size: 20px;
        margin-top: 8px;
    }

    .program .program__title-wrapper.desktop {
        display: none;
    }

    .program .program__title-wrapper.mobile {
        display: block;
    }

    .program .program__title-wrapper {
        padding-top: 40px;
    }

    .program .program__title-img {
        width: 156px;
        max-width: unset;
    }

    .program .program__title-picture {
        top: -11px;
        transform: none;
        left: initial;
        right: -144px;
    }

    .program .program__block {
        margin-top: 16px;
    }
}

@media screen and (max-width: 550px) {
    .program__outer {
        padding: 0;
    }

    .program .block-title {
        padding: 0 var(--page-margin);
        padding-right: 0;
    }

    .program .program__block {
        padding: 10px 20px;
        margin-top: 16px;
    }

    .program .program__row {
        padding: 16px 0;
    }


}
