/* =========================================================
   ANKE TEAM MEMBER
   ========================================================= */

.anke-team-member {
    width: 100%;
    text-align: center;
}


/* =========================================================
   IMAGE
   ========================================================= */

.anke-team-member__image-wrap {
    position: relative;
    width: 100%;
    height: 410px;
    overflow: hidden;
    background: #f2f2f2;
}

.anke-team-member__profile-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none !important;
}

.anke-team-member__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================================
   DARK IMAGE HOVER OVERLAY
   ========================================================= */

.anke-team-member__overlay {
    position: absolute;
    inset: 0;

    z-index: 2;

    background: rgba(0, 0, 0, 0.52);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}


/* Show overlay when image is hovered */

.anke-team-member__image-wrap:hover .anke-team-member__overlay {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   SOCIAL ICON
   ========================================================= */

.anke-team-member__social {
    position: absolute;

    left: 50%;
    bottom: 10%;

    z-index: 5;

    width: 40px;
    height: 40px;

    display: flex !important;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    /* NORMAL STATE */
    background: #ffffff !important;
    color: #111111 !important;

    text-decoration: none !important;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translate(-50%, -50%);

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        opacity 0.25s ease,
        visibility 0.25s ease;
}


/* =========================================================
   SOCIAL ICON - NORMAL
   ========================================================= */

.anke-team-member__social i {
    display: block;

    margin: 0;

    color: #111111 !important;

    font-size: 16px;
    line-height: 1;
}

.anke-team-member__social svg {
    display: block;

    width: 16px;
    height: 16px;

    fill: #111111 !important;
}


/* =========================================================
   SHOW SOCIAL ICON WHEN IMAGE IS HOVERED
   ========================================================= */

.anke-team-member__image-wrap:hover .anke-team-member__social {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* =========================================================
   SOCIAL ICON HOVER
   RED BACKGROUND + WHITE ICON
   ========================================================= */

.anke-team-member__social:hover {
    background: #ff3b30 !important;
    color: #ffffff !important;
}

.anke-team-member__social:hover i {
    color: #ffffff !important;
}

.anke-team-member__social:hover svg {
    fill: #ffffff !important;
}


/* =========================================================
   TEAM MEMBER CONTENT
   ========================================================= */

.anke-team-member__content {
    padding-top: 14px;
}


/* =========================================================
   PROFILE NAME LINK
   ========================================================= */

.anke-team-member__name-link {
    text-decoration: none !important;
}

.anke-team-member__name-link:hover {
    text-decoration: none !important;
}


/* =========================================================
   NAME
   ========================================================= */

.anke-team-member__name {
    margin: 0;

    color: #222222;

    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}


/* =========================================================
   JOB / DESIGNATION
   ========================================================= */

.anke-team-member__job {
    margin-top: 5px;

    color: #999999;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .anke-team-member__image-wrap {
        height: 360px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .anke-team-member__image-wrap {
        height: 360px;
    }

    .anke-team-member__name {
        font-size: 18px;
    }

    .anke-team-member__job {
        font-size: 14px;
    }

}