.program {
    --program-bg: #f47cd9;
    --border-radius: 40px;
    padding-top: 153px;
    margin-bottom: 103px;
    --top-height: 85px;
    position: relative;
}

.program .program__block {
    background-color: var(--program-bg);
    color: #fff;
    border-radius: var(--border-radius);
    border-top-left-radius: 0;
    position: relative;
    margin-top: var(--top-height);
}

.program .program__list {
    padding: 0 32px;
}

.program .program__block-top {
    display: flex;
    height: var(--top-height);
    width: 100%;
    position: absolute;
    bottom: 100%;
    right: 0;
}

.program .program__block-top .block-title {
    background-color: var(--program-bg);
    color: #fff;
    padding-left: 60px;
    padding-top: 36px;
    border-top-left-radius: var(--border-radius);
    width: 700px;
}

.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__flowers-pic {
    display: flex;
    position: relative;
    height: 399px;
    object-position: center;
    overflow: hidden;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.program .program__flowers-img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% + 300px);
    max-width: unset;
}

.program .program__top-pic {
    position: absolute;
    top: -97.89px;
    left: 464.11px;
    width: 375.72px;
    height: auto;
    transform: rotate(9.75deg);
    z-index: 1;
    pointer-events: none;
    filter:
        drop-shadow(2.50521px 38.5802px 15.5323px rgba(0, 0, 0, 0.01))
        drop-shadow(1.50312px 21.5448px 13.0271px rgba(0, 0, 0, 0.05))
        drop-shadow(0.501042px 9.51979px 9.51979px rgba(0, 0, 0, 0.09))
        drop-shadow(0px 2.50521px 5.51146px rgba(0, 0, 0, 0.1));
}

.program .program__top-img {
    width: 100%;
    height: auto;
}

.program .program__hello {
    width: 171.25px;
    height: auto;
    left: 707.74px;
    top: 35.8px;
    z-index: 2;
    position: absolute;
}

@media screen and (max-width: 1320px) {
    .program .program__block-top {
        position: initial;
        height: fit-content;
    }

    .program .program__block {
        border-radius: var(--border-radius);
    }

    .program .program__top-pic {
        width: 275px;
        left: 500px;
    }

    .program .program__hello {
        width: 130px;
        left: 652.7px;
        top: 19.8px;
    }

    .program .program__block-top .block-title {
        width: 100%;
    }

    .program .program__flowers-pic {
        height: 340px;
    }
}

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

    .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 svg.corner-curve {
        width: 80px;
    }

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

    .program .program__block-top .block-title {
        font-size: 54px;
        padding-top: 20px;
        padding-left: 24px;
    }

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

    .program .program__top-pic {
        width: 239.47px;
        top: -99.91px;
        left: 402.56px;
    }

    .program .program__hello {
        width: 109.16px;
        left: 537.8px;
        top: -14.7px;
    }
}

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

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

    .program .program__top-pic {
        width: 239.47px;
        top: -99.91px;
        left: 402.56px;
    }
}

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


    .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__text-big {
        font-size: 20px;
        margin-top: 8px;
    }

    .program .program__top-pic {
        width: 168.38px;
        top: -70.9px;
        left: unset;
        right: -8.43px;
    }

    .program .program__hello {
        width: 76.75px;
        left: unset;
        top: -30px;
        right: 85.2px;
    }

    .program .program__block-top .block-title {
        font-size: 32px;
        padding-top: 26px;
        padding-left: 20px;
    }

    .program .program__list {
        padding: 0 20px;
    }

    .program .program__flowers-pic {
        height: 210px;
    }
}

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

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

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

    .program .program__flowers-pic {
        height: 178px;
    }

    .program .button-cutout {
        padding: 16px 20px;
    }
}
