/* Custom CSS for Archive Team */
.archive-team-wrapper {
    .property-grid.grid-4 { 
        grid-template-columns: repeat(4, 1fr) !important; 
        gap: 15px;
    }

    .property-item.team-card-link {
        display: block;
        position: relative;
        cursor: pointer;
        border: 1px solid rgba(0, 173, 238, 1) !important;
        border-radius: 8px !important;
        padding: 25px 10px !important;
        background: #fff;
        text-decoration: none;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        text-align: center;

        &:hover {
            transform: translateY(-6px) !important;
            box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1) !important;
        }

        .thumb {
            width: 180px !important;
            height: 180px !important;
            margin: 0 auto 15px !important;
            border-radius: 8px !important;
            overflow: hidden;
            position: relative;
            background: #f0f0f0;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: center;
                border-radius: 8px;
            }
        }

        h3 {
            font-size: 16px !important;
            font-weight: 600 !important;
            color: #333 !important;
            margin: 10px 0 0 !important;
            line-height: 1.4 !important;
            text-transform: none !important;
        }

        p {
            font-size: 12px !important;
            color: #333 !important;
            margin: 5px 0 0 !important;
            text-transform: uppercase !important;
            min-height: 40px;
            line-height: 1.4;
        }
    }
    
    .vt_team_slider {
        overflow: hidden;

        .team-slide-card {
            .info-box {
                z-index: 10;
            }
        }

        .swiper-button-prev, 
        .swiper-button-next {
            box-shadow: none;

            &:after {
                font-size: 14px;
                font-weight: bold;
            }
        }
    }

    @media (max-width: 1200px) { 
        .property-grid.grid-4 { 
            grid-template-columns: repeat(3, 1fr) !important; 
        } 
    }
    @media (max-width: 992px) { 
        .property-grid.grid-4 { 
            grid-template-columns: repeat(2, 1fr) !important; 
        } 
        .vt_team_slider .team-slide-card .info-box {
            position: relative !important;
            right: 0 !important;
            bottom: 0 !important;
            width: 100% !important;
            margin-top: -30px;
        }
    }
    @media (max-width: 576px) { 
        .property-grid.grid-4 { 
            grid-template-columns: 1fr !important; 
        } 
    }
}
