/* Team Grayscale component (overlay-style cards; unique prefix: team-grayscale-*) */
.team-grayscale-section {
    background: #fff;
    padding: 70px 0;
}
.team-grayscale-row {
    margin-bottom: 0;
}
.team-grayscale-card {
    width: 100%;
    max-width: 360px;
}
.team-grayscale-media {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f8f9fa;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    transform: translateZ(0);
}
.team-grayscale-media::before {
    content: "";
    display: block;
    padding-top: 100%;
}
.team-grayscale-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(55%);
    transition: filter 0.6s ease;
}
.team-grayscale-card:hover .team-grayscale-img {
    filter: grayscale(0%);
}
.team-grayscale-img-placeholder {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}
.team-grayscale-blur {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%;
    z-index: 1;
    pointer-events: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    mask-image: linear-gradient(to top, #000 25%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, #000 25%, transparent 100%);
}
.team-grayscale-caption {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 14px 14px 12px;
    max-width: 90%;
    text-align: left;
    z-index: 2;
}
.team-grayscale-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 4px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.team-grayscale-title {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.team-grayscale-more {
    margin-top: 10px;
    font-size: 1.05rem;
    font-weight: 600;
}
.team-grayscale-more-link {
    color: var(--color-primary);
    text-decoration: none;
}
.team-grayscale-more-link:hover {
    color: var(--color-primary);
    text-decoration: none;
}

@media (max-width: 991px) {
    .team-grayscale-section {
        padding: 50px 0;
    }
    .team-grayscale-card {
        max-width: 420px;
    }
}
@media (max-width: 576px) {
    .team-grayscale-section {
        padding: 40px 0;
    }
    .team-grayscale-name {
        font-size: 1.1rem;
    }
    .team-grayscale-title {
        font-size: 0.9rem;
    }
}
