.team{
    background-color: var(--secondary-bg);
}
.team .container{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}
.team .box{
    position: relative;
    background-color: var(--main-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.team .box:hover{
    transform: translateY(-8px);
    border-color: var(--accent-gold);
}
.team .banner{
    position: relative;
    height: 330px;
    overflow: hidden;
}
.team .banner::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(26, 23, 20, 0.94));
}
.team img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.2) contrast(1.05);
    transition: transform 0.45s ease, filter 0.45s ease;
}
.team .box:hover img{
    transform: scale(1.06);
    filter: grayscale(0) contrast(1.08);
}
.team .info{
    padding: 22px;
    min-height: 190px;
}
.team .info span{
    color: var(--accent-gold);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}
.team .info h3{
    margin: 8px 0 12px;
    color: var(--text-main);
    font-size: 22px;
}
.team .info p{
    margin: 0;
    color: var(--text-dim);
    line-height: 1.7;
    font-size: 15px;
}
@media (max-width: 767px){
    .team .banner{
        height: 300px;
    }
    .team .info{
        min-height: auto;
    }
}
