.obraz_deyat_page{
    width: 100%;
    box-sizing: border-box;
    
    padding: 0 99px;
}

.obraz_deyat_page h1{
    margin-left: 0;
    margin-right: 0;
}

.org-info {
    max-width: 1340px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 439px minmax(0, 686px);;

    gap: 76px;
}


/* =====================================
   MENU
===================================== */

.org-info__item {
    width: 100%;
}


.org-info__button {
    position: relative;

    width: 100%;

    padding: 0;
    margin: 0 0 16px;

    border: 0;
    /*border-bottom: 1px solid #b9a4a4;*/

    background: transparent;

    text-align: left;

    cursor: pointer;

    color: #333;
}

.org-info__button span{
    text-align: left;

    font-weight: 500;
    font-size: 18px;
    line-height: 115%;
    letter-spacing: 0%;

}



.org-info__button.active span {
    color: #AD83FF;
    border-color: #AD83FF;
}


/* =====================================
   CONTENT
===================================== */

.org-info__panel {
    font-size: 14px;
    line-height: 1.45;
    /*max-width: 700px;*/
}


.org-info__panel p {
    margin: 0 0 16px;
    
    font-weight: 400;
    font-size: 18px;
    line-height: 115%;
    letter-spacing: 0%;
}

.org-info__panel a{
    font-size: 18px;
}

.mi-contacts p{
    margin: 0 0 calc(18px * 1.15);
}

.org-info__panel img {
    max-width: 100%;
    height: auto;
}

.obraz_cards{
    display: flex;
    flex-direction: column;
    gap: 8px;
    
    margin-bottom: 16px;
}

.obraz_cards .doc_card{
    margin: 0;
    gap: 16px;
}

.obraz_cards .doc_card svg{
    width: 64px;
    height: 85px;
}

.obraz_cards .doc_card a{
    line-height: 115%;
}


.obraz_cards .doc_card .doc_text {
  max-width: none;
}


/* ====================================
 ДОП. СТИЛИ - подгонка под макет
==================================== */

.main_info{
    max-width: 649px;
}

.obrazov_docs p,
.unfree_obr p{
    margin-bottom: 24px;
}

.finance{
    display: flex;
    flex-direction: column;
    gap: 4px
}

.vacancies{
    max-width: 654px;
}

.extra_mat_help{
    margin-top:24px;
}


/* =====================================
   LOADING
===================================== */

.org-info__loading {
    color: #888;
}




/* =====================================
   MOBILE
===================================== */

@media (max-width: 1200px){
    .obraz_deyat_page {
      padding: 0 87px;
    }
    
    .org-info {
        gap: 27px;
    }
}

@media (max-width: 1100px){
    .org-info {
        gap: 37px;
        grid-template-columns: 227px minmax(0, 1fr);
    }
    
    .obraz_deyat_page{
        padding: 0 24px;
    }
    
    
    .org-info__button span{
        overflow-wrap: anywhere;
    }
    
    .obraz_cards{
        gap: 16px;
    }
}

@media (max-width: 700px) {
    
    .obraz_deyat_page{
        padding: 0 16px;
    }
    
    .org-info {
        display: block;
    }


    .org-info__button {
        padding: 8px 30px 8px 0;
        margin: 0;

        border-bottom: 1px solid #422223;

        font-size: 14px;
    }


    .org-info__arrow {
        position: absolute;

        right: 5px;
        top: 50%;

        width: 7px;
        height: 7px;

        border-right: 2px solid #313332;
        border-bottom: 2px solid #313332;

        transform:
            translateY(-70%)
            rotate(45deg);
    }
    
    .org-info__button.active{
        border-bottom: 0;
        padding-bottom: 0;
        margin-bottom: 0;
    }


    .org-info__button.active
        .org-info__arrow {

        transform:
            translateY(-30%)
            rotate(225deg);
    }

    
    .org-info__button span{
        font-size: 16px;
    
    }


    .org-info__content {
        display: none;
    }


    /*
     * AJAX-контент,
     * который вставляется прямо
     * под своей кнопкой
     */

    .org-info__mobile-content {

        padding: 4px 0;

        border-bottom: 1px solid #422223;

        font-size: 14px;
        line-height: 1.35;
    }

    .org-info__mobile-content a,
    .org-info__mobile-content p {
        margin: 0 0 4px;
        margin: 0;
        font-size: 16px;
        line-height: 135%;
    }
    
    .obraz_cards{
        gap: 8px;
            
        margin-bottom: 8px;
    }

    .obraz_cards .doc_card svg{
        width: 32px;
        height: 43px;
    }
    
    .obraz_cards .doc_card a{
        margin: 0;
    }
    
    .mi-contacts p{
        margin: 0;
    }
    
    .vacancies,
    .mat_help{
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    
}



/* =====================================
   ВЛОЖЕННЫЙ АККОРДЕОН (МТО)
   ===================================== */
.mtb {
    margin-top: 10px;
}

.mtb__intro {
    margin: 0 0 24px;
}

.mtb-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mtb-item {
    overflow: hidden;
}

.mtb-item__btn {
    width: 100%;
    padding: 16px 64px;
    background: #f5f5f5;
    border: none;
    text-align: left;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s, color 0.2s;
}

.mtb-item__btn:hover {
    background: #eeeeee;
}

.mtb-item.is-open .mtb-item__btn {
    background: #AD83FF;
    color: #fff;
}

.mtb-item.is-open .mtb-item__btn span{
    color: #fff;
}

.mtb-item__arrow {
    width: 12px;
    height: 12px;
    border-right: 2px solid #AD83FF;
    border-bottom: 2px solid #AD83FF;
    transform: rotate(45deg) translateX(-4px);
    transition: transform 0.2s;
    flex-shrink: 0;
}

.mtb-item.is-open .mtb-item__arrow {
    transform: rotate(-135deg)  translateX(-4px);
    border-color: white;
}

.mtb-item__body {
    display: none;
    padding: 16px 0 0;
    font-size: 14px;
    line-height: 1.45;
    color: #333;
}

.mtb-item.is-open .mtb-item__body {
    display: block;
}

.mtb-item__body p {
    margin: 0 0 16px;
}

.mtb-item__body p:last-child {
    margin-bottom: 0;
}

.mtb-item__body ul,
.mtb-item__body ol {
    margin: 0;
    padding-left: 0;
    list-style: none;
}
