/* GOVERNANCE PAGE */
.governance {
    /* padding: 0 0 74px; */
}

.governance__body {
}

.governance__header {
    display: flex;
    flex-direction: column;
}

.governance__title {
    padding-bottom: 12px;
    margin-bottom: 16px;
    max-width: 650px;
    border-bottom: 1px solid #000;
}

.governance__actions {
    display: flex;
    flex-wrap: wrap;
    column-gap: 18px;
    row-gap: 8px;
    margin-bottom: 37px;
}

.governance__btn {
    padding: 8px 9px 6px;
    font-size: 14px;
    line-height: 10px;
    border: 1px solid var(--color-dark-blue);
    border-radius: 6px;
    color: var(--color-dark-blue);
    text-transform: uppercase;
    transition: all 0.3s ease 0s;
}

.governance__president {
    padding: 40px 0 49px;
    background-color: var(--color-grey);
}

.governance__members {
}

.president {
}

.president__body {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.president__block {
}

.president__img-wrap {
    position: relative;
    width: 264px;
    height: 333px;
    margin: 0 auto;
}

.president__img-wrap img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

.president__img-wrap::before {
    content: '';
    position: absolute;
    right: -27px;
    bottom: 0;
    z-index: 1;
    display: block;
    height: 177px;
    width: 177px;
    border-radius: 50%;
    background-color: var(--color-dark-red);
}

.president__text {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 20px;
}

.president__text p:not(:last-child) {
    margin-bottom: 22px;
}

.president__name {
    margin-bottom: 7px;
    font-size: 21px;
    font-weight: 500;
    line-height: 22px;
    color: var(--color-red);
}

.president__position {
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    color: var(--color-dark-blue);
}

.members {
    padding-top: 64px;
}

.members__title {
    padding-bottom: 15px;
    margin-bottom: 32px;
    max-width: 650px;
    border-bottom: 1px solid #000;
}

.members__list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 14px;
    row-gap: 36px;
    margin-bottom: 64px;
}

.member-card {
    flex: 0 0 calc((100% - 14px) / 2);
    width: 100%;
}

.member-card__img-wrap img {
    width: 100%;
    height: clamp(12.313rem, 51.654vw + 0.206rem, 25rem);  /* temporary. height from 197 to 400, vieport from 375 to 768, rem 16  */
    /* height: 197px; */
    margin-bottom: 12px;
}

.member-card__img-wrap img {
    width: 100%;
/*     height: 100%; */
    object-fit: cover;
}

.member-card__name {
    margin-bottom: 1px;
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    color: var(--color-dark-blue);
}

.member-card__position {
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    color: var(--color-dark-blue);
}

@media (min-width: 768px) {
    .governance__title {
        padding-bottom: 14px;
        margin-bottom: 30px;
    }

    .governance__header {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
        column-gap: 32px;
    }

    .governance__actions {
        column-gap: 8px;
        margin-bottom: 0;
    }

    .governance__btn {
        padding: 12px 20px 8px;
        font-size: 18px;
        line-height: 17px;
    }

    .governance__president {
        padding: 33px 0 39px;
    }

    .president__body {
        flex-direction: row;
        gap: 80px;
    }

    .president__img-wrap {
        width: 374px;
        height: 471px;
        margin-bottom: -100px;
    }

    .president__img-wrap::before {
        right: -39px;
        height: 251px;
        width: 251px;
    }

    .president__text {
        font-size: 18px;
        padding-top: 20px;
        line-height: 22px;
        margin-bottom: 36px;
    }

    .president__name {
        font-size: 23px;
    }

    .president__position {
        font-size: 20px;
    }

    .members {
        padding-top: 145px;
    }

    .members__title {
        padding-bottom: 20px;
        margin-bottom: 45px;
    }

    .members__list {
        column-gap: 25px;
        margin-bottom: 74px;
    }

    .members__item {
        flex: 0 0 calc((100% - 50px) / 3);
    }

    .member-card__name {
        margin-bottom: 7px;
        font-size: 23px;
    }

    .member-card__position {
        font-size: 20px;
    }

    .member-card__img-wrap img {
        height: 378px;
        margin-bottom: 20px;
    }
}

@media (min-width: 1024px) {
    .member-card {
        flex: 0 0 calc((100% - 75px) / 4);
    }
}

@media (min-width: 1400px) {
    .member-card {
        max-width: 301px;
    }

    .president__body {
        gap: 150px;
    }
}

@media (any-hover: hover) {
    .governance__btn:hover {
        border-color: var(--color-red);
        color: var(--color-red);
    }
}
