.team-all-search {
    gap: 16px !important;
}
.team-members {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 16px;
}
.team-member {
    width: calc(33.33% - 16px);
    min-height: 520px;
    position: relative;
}
.team-search-thumbnail {
    position: relative;
}
.team-member-thumbnail {
    display: flex;
    position: relative;
}
.team-member-thumbnail img,
.team-search-thumbnail img {
    width: 100%;
    /* height: 240px; */
    object-fit: cover;
    aspect-ratio: 768 / 551;
}
.team-all .team-member,
.team-all .team-all-search li {
    min-height: auto;
    position: relative; 
    overflow: hidden; 
}
.team-all .team-member-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white; 
    background: rgb(15 15 15 / 78%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2; 
}
.team-all .team-member:hover .team-member-info,
.team-all .team-all-search li:hover .team-member-info  {
    opacity: 1; 
    display: flex;
}
.team-member-info {
    padding: 44px 45px;
    text-align: left;
    background-color: var(--contrast-2);
    color: var(--base-3);
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}
.team-member-location {
    display: inline-flex;
    gap: 16px;
    align-items: center;
}
.team-member-location h3 {
    margin-bottom: 0;
    font-family: 'Fira Bold';
    font-weight: 700;
}
.team-member-info h3,
.team-member-info p {
    margin-bottom: 0;
}
.team-member-email,
.team-member-phone {
    line-height: 40px;
    position: relative;
}
.team-all .team-all-search li .team-member-email a, 
.team-all .team-all-search li .team-member-phone a {
    padding: 10px 16px 10px 40px;
    position: relative;
    font-size: 15px;
}
.team-member-email a, 
.team-member-phone a {
    font-size: 15px;
}
.team-all .team-all-search li .team-member-email .gb-icon, 
.team-all .team-all-search li .team-member-phone .gb-icon {
    position: absolute;
    left: 16px;
}
.team-member-email a,
.team-member-phone a {
    padding: 10px 16px;
    border-radius: 40px;
    border: 1px solid var(--base-3);
    color: var(--base-3) !important;
}
.team-member-email a:hover,
.team-member-phone a:hover {
    border: 1px solid var(--accent);
    color: var(--accent) !important;
}
.team-member-email a:hover svg path,
.team-member-phone a:hover svg path,
.team-all .team-all-search li .team-member-phone:hover .gb-icon svg path,
.team-all .team-all-search li .team-member-email:hover .gb-icon svg path {
    fill: var(--accent);
}
.team-member-email svg path,
.team-member-phone svg path {
    transition: 0.3s ease-in-out;
}
.team-member-email svg,
.team-member-phone svg {
    top: 2px;
    position: relative;
    margin-right: 4px;
}
.team-all .team-all-search li .team-member-email svg, 
.team-all .team-all-search li .team-member-phone svg {
    top: 0;
}
.team-search-wrap .wp-block-search-filter-choice  {
    margin-bottom: 24px;
}
.team-search-wrap .wp-block-search-filter-choice .search-filter-input-button-group {
    gap: 30px;
}
.team-search-wrap .wp-block-search-filter-choice .search-filter-input-button-group button {
    background-color: transparent;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid transparent !important;
    color: #ADAFB3;
    padding: 0 0 0px 0;
    margin: 0;
}
.team-search-wrap .wp-block-search-filter-choice .search-filter-input-button-group button:focus,
.team-search-wrap .wp-block-search-filter-choice .search-filter-input-button-group button:active {
    border:0;
    border-radius: 0;
    box-shadow: none;
}
.team-search-wrap .wp-block-search-filter-choice .search-filter-input-button-group button:hover,
.team-search-wrap .wp-block-search-filter-choice .search-filter-input-button-group button:active,
.team-search-wrap .wp-block-search-filter-choice .search-filter-input-button-group button.search-filter-input-button--is-selected {
    border-bottom: 1px solid var(--accent) !important;
    color: var(--accent);
}

