.top{
    margin: 30px 0 0 0;
}
.top .container{
    display: flex;
    align-items: center;
    gap: 13px;
}
.top_title{
    margin: 0 auto 0 0;
    font-size: 48px;
    font-weight: 600;
}

.councils{
    margin: 56px 0 72px;
}
.committee-tree{
    display: grid;
    gap: 36px;
}
.committee-tree__root{
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(21, 49, 98, .16);
}
.committee-tree__eyebrow{
    color: #EF4444;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}
.committee-tree__title{
    margin: 8px 0 0;
    color: var(--blue);
    font-size: 40px;
    font-weight: 600;
    line-height: 1.14;
}
.committee-tree__stats{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}
.committee-tree__stats span{
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    min-height: 34px;
    padding: 8px 12px;
    border: 1px solid rgba(21, 49, 98, .14);
    border-radius: 999px;
    background: #FFFFFF;
    color: var(--graphite);
    font-size: 13px;
    line-height: 1;
}
.committee-tree__stats b{
    color: var(--blue);
    font-size: 16px;
    font-weight: 600;
}
.committee-tree__branches{
    display: grid;
    gap: 34px;
}
.committee-branch{
    position: relative;
    padding-left: 34px;
}
.committee-branch::before{
    content: "";
    position: absolute;
    top: 17px;
    bottom: 0;
    left: 8px;
    width: 1px;
    background: linear-gradient(180deg, rgba(239, 68, 68, .55), rgba(21, 49, 98, .12));
}
.committee-branch__head{
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 14px;
    margin-bottom: 18px;
}
.committee-branch__marker{
    position: relative;
    z-index: 1;
    width: 17px;
    height: 17px;
    margin: 4px 0 0 -34px;
    border: 3px solid #F1F5F8;
    border-radius: 50%;
    background: #EF4444;
    box-shadow: 0 0 0 1px rgba(239, 68, 68, .24);
}
.committee-branch__title{
    margin: 0;
    color: var(--dark-gray);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
}
.committee-branch__lead{
    max-width: 720px;
    margin: 6px 0 0;
    color: var(--graphite);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
}
.committee-branch__count{
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(21, 49, 98, .08);
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}
.committee-branch__cards{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 16px;
}
.committee-node{
    position: relative;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(21, 49, 98, .12);
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: 0 10px 28px rgba(21, 49, 98, .06);
}
.committee-node::before{
    content: "";
    position: absolute;
    top: 28px;
    left: -26px;
    width: 26px;
    height: 1px;
    background: rgba(21, 49, 98, .18);
}
.committee-node--vacant{
    border-color: rgba(21, 49, 98, .12);
}
.committee-node__top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.committee-node__status,
.committee-node__people{
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}
.committee-node__status--active{
    background: rgba(77, 136, 86, .12);
    color: #30643A;
}
.committee-node__status--empty{
    background: rgba(21, 49, 98, .08);
    color: var(--blue);
}
.committee-node__people{
    background: rgba(21, 49, 98, .08);
    color: var(--blue);
    white-space: nowrap;
}
.committee-node__title{
    margin: 0;
    color: var(--dark-gray);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.28;
}
.committee-node__leader{
    display: grid;
    gap: 8px;
    min-height: 92px;
    color: var(--dark-gray);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}
.committee-node__leader-empty{
    min-height: 66px;
    display: grid;
    align-content: start;
    justify-items: start;
    gap: 10px;
    padding: 12px;
    border: 1px dashed rgba(21, 49, 98, .2);
    border-radius: 8px;
    background: #F8FAFC;
}
.committee-node__leader-empty span{
    color: var(--graphite);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}
.committee-node__section-label{
    display: block;
    color: var(--graphite);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
}
.committee-node__person{
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 6px;
    border: 1px solid rgba(21, 49, 98, .1);
    border-radius: 8px;
    background: #F8FAFC;
    color: var(--blue);
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.committee-node__person:hover{
    border-color: rgba(21, 49, 98, .24);
    background: #FFFFFF;
    color: var(--blue);
    transform: translateY(-1px);
}
.committee-node__person--disabled,
.committee-node__person--disabled:hover{
    cursor: default;
    transform: none;
}
.committee-node__person--leader{
    background: linear-gradient(90deg, rgba(21, 49, 98, .07), rgba(21, 49, 98, .025));
}
.committee-node__avatar{
    width: 40px;
    height: 40px;
    border: 1px solid rgba(21, 49, 98, .12);
    border-radius: 50%;
    background: #FFFFFF;
    object-fit: cover;
    object-position: top center;
}
.committee-node__person-copy{
    display: grid;
    gap: 2px;
    min-width: 0;
}
.committee-node__person-copy strong{
    overflow: hidden;
    color: var(--dark-gray);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.18;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.committee-node__person-copy small{
    display: -webkit-box;
    overflow: hidden;
    color: var(--graphite);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.25;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.committee-node__vacancy{
    width: fit-content;
    min-height: 34px;
    padding: 8px 12px;
    border: 0.5px solid rgba(21, 49, 98, .42);
    border-radius: 8px;
    background: #FFFFFF;
    color: var(--blue);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.committee-node__participants{
    display: grid;
    gap: 8px;
}
.committee-node__avatars{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 40px;
}
.committee-node__participant{
    position: relative;
    display: block;
    width: 38px;
    height: 38px;
    overflow: hidden;
    margin-right: -8px;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    background: #F1F5F8;
    box-shadow: 0 0 0 1px rgba(21, 49, 98, .12);
    transition: transform .2s ease, box-shadow .2s ease;
}
.committee-node__participant:hover{
    z-index: 2;
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(21, 49, 98, .24), 0 8px 16px rgba(21, 49, 98, .12);
}
.committee-node__participant--disabled,
.committee-node__participant--disabled:hover{
    cursor: default;
    transform: none;
    box-shadow: 0 0 0 1px rgba(21, 49, 98, .12);
}
.committee-node__participant img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.committee-node__hidden-name{
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.committee-node__participant-more{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-left: 10px;
    border: 1px solid rgba(21, 49, 98, .14);
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--blue);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}
.committee-node__members{
    display: grid;
    gap: 8px;
    min-height: 226px;
}
.committee-node__member-list{
    display: grid;
    align-content: start;
    gap: 6px;
    min-height: 208px;
}
.committee-node__member-more{
    max-width: 100%;
    min-height: 32px;
    padding: 7px 10px;
    border: 1px dashed rgba(239, 68, 68, .38);
    border-radius: 8px;
    background: rgba(239, 68, 68, .04);
    color: #EF4444;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-align: left;
    cursor: pointer;
}
.committee-node__empty-people{
    min-height: 208px;
    display: grid;
    align-content: start;
    justify-items: start;
    gap: 12px;
    padding: 14px;
    border: 1px dashed rgba(239, 68, 68, .28);
    border-radius: 8px;
    background: rgba(239, 68, 68, .035);
}
.committee-node__empty-people span{
    color: var(--graphite);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}
.committee-node__actions{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-top: auto;
}
.committee-node__more{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #EF4444;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}
.committee-node__more svg{
    width: 25px;
    height: auto;
}
.committee-node__more path{
    fill: currentColor;
}
.committee-node__join{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 9px 15px;
    border: 0.5px solid #153162;
    border-radius: 8px;
    background: #FFFFFF;
    color: #153162;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.committee-node__join:hover{
    border-color: #153162;
    color: #153162;
    background: rgba(21, 49, 98, .04);
}
.committee-people{
    display: grid;
    gap: 20px;
}
.committee-people__head{
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(21, 49, 98, .14);
}
.committee-people__eyebrow{
    color: #EF4444;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}
.committee-people__title{
    margin: 6px 0 0;
    color: var(--blue);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.18;
}
.committee-people__count{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 34px;
    padding: 8px 12px;
    border: 1px solid rgba(21, 49, 98, .14);
    border-radius: 999px;
    background: #FFFFFF;
    color: var(--blue);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
}
.committee-people__grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.committee-person-card{
    position: relative;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-height: 108px;
    padding: 14px;
    border: 1px solid rgba(21, 49, 98, .12);
    border-radius: 8px;
    background: #FFFFFF;
    color: var(--dark-gray);
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(21, 49, 98, .06);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.committee-person-card:hover{
    border-color: rgba(239, 68, 68, .34);
    box-shadow: 0 14px 30px rgba(21, 49, 98, .1);
    transform: translateY(-2px);
}
.committee-person-card--disabled,
.committee-person-card--disabled:hover{
    cursor: default;
    transform: none;
    border-color: rgba(21, 49, 98, .12);
    box-shadow: 0 10px 26px rgba(21, 49, 98, .06);
}
.committee-person-card--leader{
    border-color: rgba(239, 68, 68, .24);
    background: linear-gradient(135deg, rgba(239, 68, 68, .06), #FFFFFF 44%, rgba(21, 49, 98, .04));
}
.committee-person-card__photo{
    display: block;
    width: 76px;
    height: 76px;
    overflow: hidden;
    border: 1px solid rgba(21, 49, 98, .12);
    border-radius: 50%;
    background: #F1F5F8;
}
.committee-person-card__photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.committee-person-card__body{
    display: grid;
    gap: 6px;
    min-width: 0;
}
.committee-person-card__name{
    color: var(--dark-gray);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.24;
}
.committee-person-card__role{
    display: -webkit-box;
    overflow: hidden;
    color: var(--graphite);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.committee-person-card__badge{
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 7px;
    border-radius: 999px;
    background: rgba(239, 68, 68, .1);
    color: #EF4444;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}
.committee-people__empty{
    display: grid;
    justify-items: start;
    gap: 14px;
    padding: 20px;
    border: 1px dashed rgba(239, 68, 68, .32);
    border-radius: 8px;
    background: rgba(239, 68, 68, .04);
}
.committee-people__empty p{
    margin: 0;
    color: var(--graphite);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
}

@media (max-width: 1180px) {
    .committee-branch__cards{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .committee-people__grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 1024px) {
    .top .container{
        gap: 16px;
    }
    .committee-tree__root{
        grid-template-columns: 1fr;
        align-items: start;
    }
    .committee-tree__stats{
        justify-content: flex-start;
    }
}
@media (max-width: 768px) {
    .top .container{
        display: grid;
        grid-template-columns: 100%;
        justify-items: center;
        text-align: center;
        gap: 12px;
    }
    .top_title{
        font-size: 28px;
        line-height: 1.2em;
    }
    .top_btn{
        width: 100%;
    }
    .councils{
        margin: 32px 0 48px;
        padding-bottom: 78px;
    }
    .committee-tree{
        gap: 28px;
    }
    .committee-tree__title{
        font-size: 30px;
    }
    .committee-tree__stats{
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }
    .committee-tree__stats span{
        justify-content: center;
    }
    .committee-branch{
        padding-left: 22px;
    }
    .committee-branch::before{
        left: 6px;
    }
    .committee-branch__head{
        grid-template-columns: auto minmax(0, 1fr);
    }
    .committee-branch__marker{
        width: 15px;
        height: 15px;
        margin-left: -22px;
    }
    .committee-branch__count{
        grid-column: 2;
        width: fit-content;
    }
    .committee-branch__title{
        font-size: 21px;
    }
    .committee-branch__lead{
        font-size: 14px;
    }
    .committee-branch__cards{
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .committee-node{
        min-height: 0;
        padding: 16px;
    }
    .committee-node::before{
        left: -16px;
        width: 16px;
    }
    .committee-node__top{
        align-items: flex-start;
        flex-direction: column;
    }
    .committee-node__title{
        font-size: 18px;
    }
    .committee-node__person{
        grid-template-columns: 44px minmax(0, 1fr);
        min-height: 56px;
    }
    .committee-node__avatar{
        width: 44px;
        height: 44px;
    }
    .committee-node__person-copy strong{
        white-space: normal;
    }
    .committee-people__head{
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }
    .committee-people__title{
        font-size: 26px;
    }
    .committee-people__count{
        width: fit-content;
    }
    .committee-people__grid{
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .committee-person-card{
        grid-template-columns: 64px minmax(0, 1fr);
        min-height: 96px;
        padding: 12px;
    }
    .committee-person-card__photo{
        width: 64px;
        height: 64px;
    }
    .committee-person-card__badge{
        position: static;
        width: fit-content;
        margin-top: 4px;
        grid-column: 2;
    }
    .section.become-part .container{
        padding: 24px;
    }
    .become-part_title{
        font-size: 24px;
        line-height: 1.3em;
    }
    .become-part_txt{
        max-width: 100%;
        font-size: 14px;
        line-height: 1.6em;
    }
    .become-part_btn{
        width: 100%;
    }
}
