.wm-team-section {
    width: 100%;
    padding: 40px 0;
    box-sizing: border-box;
}

.wm-team-section *,
.wm-team-section *::before,
.wm-team-section *::after {
    box-sizing: border-box;
}

.wm-team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px;
}

.wm-team-card {
    min-width: 0;
}

.wm-team-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.wm-team-image {
    overflow: hidden;
    border-radius: 24px;
    background: #eee;
    aspect-ratio: 1 / 1;
}

.wm-team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.wm-team-card:hover .wm-team-image img {
    transform: scale(1.04);
}

.wm-team-content {
    padding-top: 18px;
}

.wm-team-content h3 {
    margin: 0 0 5px;
    color: #1f1f1f;
    font-size: clamp(18px, 1.6vw, 24px);
    line-height: 1.15;
    font-weight: 800;
}

.wm-team-job {
    margin: 0;
    color: #777;
    font-size: 16px;
    line-height: 1.35;
}

.wm-team-description {
    margin-top: 10px;
    color: #555;
    font-size: 14px;
    line-height: 1.55;
}

@media (max-width: 1024px) {
    .wm-team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 26px;
    }
}

@media (max-width: 768px) {
    .wm-team-section {
        padding: 34px 0;
    }

    .wm-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .wm-team-content {
        padding-top: 14px;
    }

    .wm-team-job {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .wm-team-grid {
        grid-template-columns: 1fr;
    }

    .wm-team-image {
        border-radius: 18px;
    }
}