.main_block {
    background: url(/upload/sanatoriy-istra/rest-programs/children-holidays/bg.png);
    padding: 90px 0px;
    box-sizing: border-box;
    background-size: cover;
    padding-bottom: 60px;
    padding-top: 0px;
    background-position: center -260px;
}



.bot_podl {
    background: url(https://istra.amaks-kurort.ru/new-year/2025/images/ramkadark.png) no-repeat center;
    padding: 90px;
    background-size: cover;
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    width: 60%;
    margin: 0 auto;
    background-size: contain;
    margin-top: 30px;
}

.bot_pod2 {
    background: url(/upload/sanatoriy-istra/rest-programs/children-holidays/ramka-blue.png) no-repeat center;
    padding: 55px;
    background-size: cover;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    width: 35%;
    margin: 0 auto;
    background-size: contain;
    margin-top: -30px;
}

.bot_pod2_img {
    width: 35%;
}

.chat {
    background: url(/upload/sanatoriy-istra/rest-programs/children-holidays/fon-pic.png);
    width: 100%;
    background-size: cover;
    margin-top: 60px;
    padding: 30px 0px;

}

.chat>img {
    width: 1000px;
    max-width: 100vw;
    display: block;
    margin: 0px auto;
}

.chat ._title {
    width: 70%;
    margin: 0 auto;
    margin-top: 60px;
}

.smsleft {
    text-align: left;
    padding-left: 20%;
    margin-top: -5%;
}

.smsright {
    text-align: right;
    padding-right: 20%;
    margin-top: -5%;
}

.bot_holder {
    margin: 0 auto;
    width: 1000px;
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr 40%;
    gap: 40px;
}

.bot_holder ._title {
    width: 60%;
    margin: 0 auto;
    display: block;
    margin-bottom: 20px;
}


.kblock_holder {
    margin: 0 auto;
    width: 1000px;
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.kblock {}

.kblock>._title {
    background-color: #01A0E3;
    padding: 10px 30px;
    border-radius: 20px;
    color: white;
    padding-left: 310px;
}

.kblock>._title>span {
    display: block;
    text-transform: uppercase;
}

.kblock>._text {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 60px;
    align-items: center;
    margin-top: -40px;
}

.kblock>._text>img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    margin-top: -100px;
}

.kblock>._text>p {
    padding-right: 30%;
}




.kblock._reverse>._title {
    background-color: #01A0E3;
    padding: 10px 30px;
    border-radius: 20px;
    color: white;
    padding-right: 310px;
}

.kblock._reverse>._title>span {
    display: block;
    text-transform: uppercase;
}

.kblock._reverse>._text {
    display: grid;
    grid-template-columns: 1fr 250px;
    gap: 60px;
    align-items: center;
    margin-top: -20px;
}

.kblock._reverse>._text>img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    margin-top: -100px;
}

.kblock._reverse>._text>p {
    padding-right: 30%;
    padding-left: 30px;
}





@media (max-width: 790px) {

    .bot_pod2 {
        background: url(/upload/sanatoriy-istra/rest-programs/children-holidays/ramka-blue.png) no-repeat center;
        padding: 16px;
        background-size: cover;
        display: flex;
        align-items: center;
        text-align: center;
        justify-content: center;
        width: 100vw;
        margin: 0 auto;
        background-size: contain;
        margin-top: -30px;
        height: 50vw;
    }

    .bot_pod2 p {
        line-height: 19px;
    }

    .bot_pod2_img {
        width: 80vw;
    }

    .kblock_holder {
        width: 90vw;
        box-sizing: border-box;
    }

    .kblock {}

    .kblock>._title {
        padding: 20px !important;
    }

    .kblock>._text,
    .kblock._reverse>._text {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
        justify-content: center;
        margin-top: 0px;
        padding-bottom: 30px;
    }

    .kblock._reverse>._text {
        flex-direction: column-reverse;
    }

    .kblock>._text>p,
    .kblock._reverse>._text>p {
        padding-right: 0%;
        text-align: center;
    }

    .kblock>._text>img,
    .kblock._reverse>._text>img {
        width: 60vw;
        height: 60vw;
        object-fit: contain;
        margin-top: 0px;
    }

    .bot_holder {
        width: 90vw;
        box-sizing: border-box;
        grid-template-columns: 1fr;
    }

    .chat {
        margin-top: 0px;
    }
}