/* Modern Team Cards - Clean Frameless Design */

.team-area-wrpper {
    background: #F8F9FA;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

/* Team Card Container - Modern Minimal */
.single-team {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(21, 56, 146, 0.06);
    position: relative;
    margin-bottom: 24px;
    height: 100%;
    padding: 0;
}

.single-team:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(21, 56, 146, 0.08);
    border-color: rgba(21, 56, 146, 0.12);
}

/* Photo Container - Direct Display, No Inner Frame */
.single-team .img-container {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: linear-gradient(135deg, #F5F7FA 0%, #E8EBF0 100%);
}

.single-team .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: all 0.4s ease;
}

.single-team:hover .img-container img {
    transform: scale(1.05);
}

/* Team Member Info - Clean Minimal */
.single-team .content {
    padding: 28px 20px 32px;
    position: relative;
    background: white;
}

.single-team .content h6 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #153892;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.single-team .content h6 a {
    color: #153892;
    transition: all 0.3s ease;
}

.single-team .content h6 a:hover {
    color: #FF6910;
}

.single-team .content span {
    display: block;
    font-size: 0.95rem;
    color: #6C757D;
    font-weight: 400;
    line-height: 1.5;
    font-style: normal;
}

/* Bottom Accent Line - More Subtle */
.single-team::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #153892 0%, #FF6910 100%);
    border-radius: 2px 2px 0 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.6;
}

.single-team:hover::after {
    width: 80px;
    opacity: 1;
}

/* Responsive Adjustments */

/* Large Tablets & Small Desktops */
@media (max-width: 1199px) {
    .single-team .img-container {
        height: 300px;
    }

    .single-team .content {
        padding: 28px 20px 32px;
    }

    .single-team .content h6 {
        font-size: 1.3rem;
    }
}

/* Tablets */
@media (max-width: 991px) {
    .team-area-wrpper {
        padding: 50px 0;
    }

    .single-team {
        margin-bottom: 20px;
    }

    .single-team .img-container {
        height: 280px;
    }

    .single-team .content {
        padding: 26px 20px 30px;
    }

    .single-team .content h6 {
        font-size: 1.25rem;
    }

    .single-team .content span {
        font-size: 0.95rem;
    }
}

/* Mobile Landscape & Small Tablets */
@media (max-width: 768px) {
    .team-area-wrpper {
        padding: 40px 0;
    }

    .single-team {
        border-radius: 16px;
        margin-bottom: 16px;
    }

    .single-team .img-container {
        height: 260px;
    }

    .single-team .content {
        padding: 24px 18px 28px;
    }

    .single-team .content h6 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .single-team .content span {
        font-size: 0.9rem;
    }
}

/* Mobile Portrait */
@media (max-width: 576px) {
    .team-area-wrpper {
        padding: 30px 0;
    }

    .single-team {
        border-radius: 14px;
        margin-bottom: 14px;
    }

    .single-team .img-container {
        height: 240px;
    }

    .single-team .content {
        padding: 22px 16px 26px;
    }

    .single-team .content h6 {
        font-size: 1.15rem;
        margin-bottom: 6px;
    }

    .single-team .content span {
        font-size: 0.88rem;
        line-height: 1.5;
    }

    .single-team:hover {
        transform: translateY(-8px);
    }
}

/* Extra Small Devices */
@media (max-width: 400px) {
    .single-team .img-container {
        height: 220px;
    }

    .single-team .content {
        padding: 20px 14px 24px;
    }

    .single-team .content h6 {
        font-size: 1.1rem;
    }

    .single-team .content span {
        font-size: 0.85rem;
    }
}