:target {
scroll-margin-top: 160px;
} .team-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 50px;
}
.team-member {
text-align: center;
} .team-photo {
width: 150px;
height: 150px;
margin: 0 auto 12px auto;
border-radius: 50%;
overflow: hidden;
aspect-ratio: 1 / 1; }
.team-photo img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 50%;
display: block;
} .team-name {
font-size: 1.1em;
font-weight: 300;
color: #009875;
margin-bottom: 3px;
}
.team-title {
font-size: 0.87em;
color: #646969;
margin-bottom: 8px;
line-height: 1.2;
}
.team-title::after {
content: "";
display: block;
width: 80px;
height: 1px;
background-color: #646969;
margin: 8px auto 8px auto;
opacity: 0.6;
} .team-icons {
display: flex;
justify-content: center;
gap: 16px;
align-items: center;
} .team-icon-wrap {
position: relative;
display: inline-block;
line-height: 1;
} .team-icon-link {
color: #646969 !important;
font-size: 22px !important;
text-decoration: none !important;
transition: color 0.3s ease;
display: inline-flex !important;
align-items: center;
justify-content: center;
line-height: 1;
}
.team-icon-link:hover,
.team-icon-link:focus {
color: #009875 !important;
text-decoration: none !important;
} .team-grid .team-member .team-icons .team-icon-wrap::after {
content: attr(data-tooltip) !important;
position: absolute !important;
top: calc(100% + 8px) !important;
left: 50% !important;
transform: translateX(-50%) !important;
background: rgba(0, 152, 117) !important;
color: #ffffff !important;
padding: 7px 11px !important;
border-radius: 8px !important;
font-size: 14px !important;
line-height: 1.3 !important;
white-space: nowrap !important;
text-align: center !important;
box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18) !important;
opacity: 0 !important;
visibility: hidden !important;
pointer-events: none !important;
z-index: 9999 !important;
transition: opacity 0.2s ease, visibility 0.2s ease !important;
} .team-grid .team-member .team-icons .team-icon-wrap:hover::after,
.team-grid .team-member .team-icons .team-icon-wrap:focus-within::after {
opacity: 1 !important;
visibility: visible !important;
} .team-icons a,
.team-icons a:visited,
.team-icons a:hover,
.team-icons a:focus {
text-decoration: none !important;
}  @media (max-width: 1024px) and (min-width: 601px) {
.team-grid {
grid-template-columns: repeat(3, 1fr);
gap: 35px;
}
.team-photo {
width: 150px;
height: 150px;
}
} @media (max-width: 600px) {
.team-grid {
grid-template-columns: 1fr;
gap: 40px;
}
.team-photo {
width: 175px;
height: 175px;
}
} .team-icons a,
.team-icons a:visited,
.team-icons a:hover,
.team-icons a:focus {
text-decoration: none !important;
} .team-member {
transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.team-member:hover {
transform: scale(1.1);
} .ast-scroll-top-icon {
border: 2px solid #ffffff;
box-sizing: border-box;
}