.member-hero {
    position: relative;
    width: calc(100% + var(--block-list-padding) * 2);
    height: 65vh;
    justify-content: center;
    display: flex;
}

.member-hero__image-container {
    height: 100%;
    width: 100%;
}
.member-hero__image {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.member-hero__image-container::after {
    content: "";
    opacity: 0.25;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 5;
    background: black;
    transition: opacity 0.4s ease;
}

.member-hero__inner-container {
    position: absolute;
    bottom: 22%;
    left: 10%;
    color: var(--white);
    z-index: 6;
    font-size: 15px;
    line-height: 28px;
    width: 80%;
    display: flex;
}

.member-hero__text-container {
    width: 60%;
    background-color: rgba(0,0,0, 0.5);
    padding: 2rem;
}

.member-hero__heading {
    font-size: var(--font-size-jumbo);
    line-height: var(--heading-line-height);
    margin: 0;
    font-weight: normal;
}

.member-hero__company {
    margin: 0;
    font-size: 25px;
}

.contact-person {
    width: 40%;
    background-color: var(--white);
    color: var(--text-dark);
    padding: 2rem;
}

.contact-person__info-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

.contact-person__list {
    padding-left: 1.2rem;
    @media screen and (max-width: 600px) {
        padding-left: 0;
    }
}

.contact-person__heading {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.contact-person__image-container {
    width: 100px;
    height: 100px;
    @media screen and (max-width: 600px){
        display: none;
    }
}

.contact-person__image {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-person__email::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background: linear-gradient(to right, var(--gradient-dark), var(--gradient-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease-out;
}

.contact-person__email-item:hover .contact-person__email::after {
    transform: scaleX(1);
}

@media screen and (max-width: 1700px) {
    .member-hero__heading {
        font-size: var(--font-size-h1);
    }
}

@media screen and (max-width: 1300px) {
    .member-hero {
        height: 90vh;
    }

    .member-hero__inner-container {
        flex-direction: column;
        font-size: 15px;
        line-height: 22px;
        bottom: 12%;
    }

    .member-hero__text-container {
        width: 100%;
    }

    .contact-person {
        width: 100%;
        opacity: 0.9;
    }

    .contact-person__image-container {
        width: 50px;
        height: 50px;
    }

    .member-hero__heading {
        font-size: var(--font-size-mobile-jumbo);
    }

    .member-hero__company {
        font-size: 20px;
    }
}
