.team-60d7cbcd-grid {
    display: grid;
    gap: 20px;
    width: 100%;
}

.team-60d7cbcd-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background-color: #1a1a1a;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.team-60d7cbcd-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.team-60d7cbcd-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Expand & overlay setup */
.team-60d7cbcd-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: height 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.team-60d7cbcd-details {
    width: 100%;
}

.team-60d7cbcd-name {
    margin: 0 0 4px 0;
    font-size: 1.4rem;
    font-weight: 700;
}

.team-60d7cbcd-role {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.team-60d7cbcd-bio {
    font-size: 0.85rem;
    line-height: 1.4;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.4s ease;
    margin: 0 0 16px 0;
}

.team-60d7cbcd-socials {
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.4s ease;
}

.team-60d7cbcd-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: bold;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.team-60d7cbcd-social-link:hover {
    background-color: #00ffcc;
    color: #111;
}

/* Hover effects */
.team-60d7cbcd-card:hover .team-60d7cbcd-img {
    transform: scale(1.1);
}

.team-60d7cbcd-card:hover .team-60d7cbcd-overlay {
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
}

.team-60d7cbcd-card:hover .team-60d7cbcd-bio {
    opacity: 1;
    max-height: 120px;
}

.team-60d7cbcd-card:hover .team-60d7cbcd-socials {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}
