
.headquarters-staff {
    min-height: 100%;
    padding: 12px;
    background: #fff;
    box-shadow: 0 4px 45px rgba(14, 38, 72, 0.1);
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.headquarters-staff:before {
    content: '';
    display: block;
    padding-top: calc(100% + 26px);
}

.headquarters-staff__img {
    overflow: hidden;
    transition: .3s;
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 0;
}

.headquarters-staff__img--placeholder {
    background-color: #1B4580;
    background-image: url("data:image/svg+xml,%3Csvg width='240' height='165' viewBox='0 0 240 165' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_313_2)'%3E%3Cpath d='M162 75.2898C172.71 75.2898 181.39 66.6098 181.39 55.8998C181.39 45.1898 172.71 36.5098 162 36.5098C151.29 36.5098 142.61 45.1898 142.61 55.8998C142.61 66.6098 151.29 75.2898 162 75.2898Z' fill='%23BBBDBF'/%3E%3Cpath d='M0 0V164.56H240V0H0ZM231.89 156.45H224.81L173.62 105.26L146.57 132.31L89.42 75.16L8.13 156.45H8.12V8.11H231.89V156.44V156.45Z' fill='%23BBBDBF'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_313_2'%3E%3Crect width='240' height='164.56' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 120px;
}

.headquarters-staff__img img {
    width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    transition: .3s;
}

.headquarters-staff__info {
    color: rgba(27, 69, 128, 1);
    background: #fff;
    transition: .3s;
    text-align: center;
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

.headquarters-staff__email {
    position: relative;
    z-index: 1;
    background: #fff;
    padding-top: 10px;
    opacity: 0;
    transform: translateY(50%);
    position: relative;
    padding-bottom: clamp(0.75rem, 0.6066rem + 0.5362vw, 1.25rem);
    text-align: center;
    transition: .3s;
    margin-top: auto;
}

.headquarters-staff__email:after {
    content: '';
    position: absolute;
    width: 60%;
    left: 50%;
    transform: translateX(-50%);
    height: 5px;
    border-radius: 3px;
    background: #FEDC00;
    bottom: 0;
    transition: .7s;
    opacity: 0;
}

.headquarters-staff__email a {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: #1B4580;
    text-decoration: none;
    font-size: clamp(0.75rem, 0.6424rem + 0.4021vw, 1.125rem);
}

.headquarters-staff__email a:hover {
    color: #1B4580;
}

.headquarters-staff:hover {

}

.headquarters-staff:hover .headquarters-staff__img {

}

.headquarters-staff:hover .headquarters-staff__img img {
    transform: scale(1.1);
}

.headquarters-staff:hover .headquarters-staff__info {

}

.headquarters-staff:hover .headquarters-staff__email {
    opacity: 1;
    transform: translateY(0%);
}

.headquarters-staff:hover .headquarters-staff__email:after {
    opacity: 1;
}

.headquarters-staff__name {
    font-size: clamp(1.5rem, 1.4283rem + 0.2681vw, 1.75rem);
    margin-bottom: 4px;
    font-weight: 700;
}

.headquarters-staff__post {
    font-size: clamp(1rem, 0.8566rem + 0.5362vw, 1.5rem);
}

@media (min-width: 1199px) {
    .row-headquarters-staff {
        margin-left: -15px;
        margin-right: -15px;
    }
    .row-headquarters-staff > * {
        margin-bottom: 30px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 1024px) {

    .headquarters-staff {
        display: flex;
        flex-direction: column;
    }

    .headquarters-staff__email {
        padding-top: 6px;
        padding-bottom: 0;
        margin-bottom: 0;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0%);
        order: 2;
    }

    .headquarters-staff__email:after {
        opacity: 1;
        top: 0;
        width: 64px;
        bottom: 0;
        height: 4px;
    }

    .headquarters-staff {
        pointer-events: none;
    }

}

@media (min-width: 1199px) {
   
}

@media (max-width: 767px) {
    .headquarters-staff__name {
        line-height: .8;
        margin-bottom: 0;
    }

    .headquarters-staff__info {
        padding: 4px 0 0 0;
    }

    .headquarters-staff:before {
        padding-top: 160px;
    }
    .headquarters-staff__info {
        margin-top: auto;
        padding-top: 8px;
    }
    .headquarters-staff__email {
        margin-top: 0;
        padding-bottom: 8px;
    }
    .row-headquarters-staff > * {
        margin-bottom: 10px;
    }
    .section-headquarters-staff {
        padding-top: 12px;

    }
    .headquarters-staff__post {
        margin-top: 2px;
        font-size: 18px;
        line-height: 1;
    }
}