/* PAGE OFP
================================
================================*/
/* block 1 */
.page-ofp{
    margin-top: 2rem;
    margin-bottom: 5rem;
    overflow: hidden;
}

.page-ofp .about{
    margin-top: 2rem;
}

.page-ofp .about__title{
    margin-top: 8rem;
    margin-bottom: 1.75rem;
        hyphens: auto;
}

.ofp-header-button{
    margin-top: 6rem;
}

.page-ofp .about__image-wrap img{
    position: absolute;
    width: max-content;
    height: max-content;
    width: max-content;
    max-width: unset;
}

/* block 2 */
.page-ofp-block-desc .training-processes__title i{
    font-style: normal;
    position: relative;
    display: inline-block;
}

.page-ofp-block-desc .training-processes__title i::after{
    position: absolute;
    content: '';
    width: 290px;
    height: 20px;
    bottom: -.15rem;
    left: -1.5rem;
    background-image: url(../images/ofp/title-pod.svg);
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

/* block 3 */
.page-ofp .what-included__title{
    position: relative;
    width: 60%;
}

.page-ofp .what-included__title img.arrow{
    position: absolute;
    top: 0;
    bottom: 0;
    right: -10rem;
    margin: auto;
}

.page-ofp .what-included__list{
    grid-template-columns: repeat(3, 1fr);
}

/* block 5 */
.ofp-schedule-year{
    font-size: 40px;
    font-weight: 700;
    color: #4BB8F1;
}

/* block 6 */
.page-ofp .branch__address{
/*    margin-bottom: 1rem;*/
}

.page-ofp .branch__address-controls > *{
    position: static !important;
}

/* block 7 */
.page-ofp-price{
    background-color: #f0f4f8;
    padding: 5rem 0;
    margin-bottom: 150px;
}

.page-ofp-wrapper{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
}

.page-ofp-wrapper .cover{
/*    aspect-ratio: 1/1;*/
    position: relative;
}

.page-ofp-wrapper .cover img{
    position: absolute;
    top: -6rem;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.page-ofp-wrapper-content{
    display: flex;
    flex-direction: column;
}

.page-ofp-wrapper-content-params .branch__programms-list-title{
    margin-top: 1.25rem;
    margin-bottom: 3rem;
}

.page-ofp-wrapper-content-params{
    width: 75%;
}

.page-ofp-wrapper-content-params .branch__programms-props{
    margin-bottom: 3rem;
}

.page-ofp-wrapper-content-params .branch__programms-action{
    margin-top: 3rem;
}

@media (max-width:579px){
    .page-ofp{
        margin-top: 0;
    }
    .page-ofp .about{
        margin-bottom: 3rem;
        margin-top: 0;
    }
    .page-ofp .about__title{
        margin-top: 1rem;
    }

    .page-ofp .about__image-wrap img{
        position: relative;
        width: 110%;
        height: 110%;
        left: -5px;
        object-fit: cover;
    }

    .page-ofp-block-desc .training-processes__title i::after{
        width: 240px;
        bottom: -.2rem;
        left: -1rem;
        background-size: contain;
    }
    .ofp-header-button{
        margin-top: 2rem;
    }
    .ofp-header-button .btn{
        font-size: 16px;
    }
    .page-ofp-block-desc .training-processes__title{
        font-size: 34px;
    }
    .page-ofp .what-included__title{
        width: 100%;
    }
    .page-ofp .what-included__title img.arrow{
        bottom: -12rem;
        right: 0rem;
    }
    .page-ofp .what-included__list{
        display: flex;
        flex-direction: column;
        row-gap: 1rem;
    }
    .page-ofp  .what-included-training__title{
        font-size: 25px;
    }
    .page-ofp .tabs__links{
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    .page-ofp .branch__address .h2{
        font-size: 25px;
    }

    .page-ofp  .branch__address-map>*{
        min-height: unset;
        height: 320px;
    }

    .page-ofp-wrapper{
        display: flex;
        flex-direction: column;
        row-gap: 1rem;
    }
    .page-ofp-wrapper .cover img{
        position: initial;
        height: 400px;
        object-fit: cover;
    }

    .page-ofp-price{
        padding: 1rem 0;
        margin-bottom: 100px;
    }

    .page-ofp-wrapper-content h2{
        margin-bottom: 1.5rem;
    }

    .page-ofp-wrapper-content-params{
        width: 100%;
    }
}