/* Team Member Detail Premium Styling */

.team-detail-hero {
    height: 400px;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/pexels-pavel-danilyuk-7654438.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.team-detail-hero::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-content-inner {
    position: relative;
    z-index: 2;
    color: var(--pure-white);
}

.member-profile-section {
    margin-top: -100px;
    position: relative;
    z-index: 3;
}

.member-image-wrapper {
    width: 280px;
    height: 280px;
    border-radius: 24px;
    overflow: hidden;
    border: 8px solid var(--pure-white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.member-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info-header {
    margin-top: 120px;
}

.member-name {
    font-size: 2.8rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 5px;
}

.member-designation-detail {
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-weight: 500;
    letter-spacing: 1px;
}

.bio-content {
    background: var(--pure-white);
    padding: 40px 0;
}

.bio-text {
    line-height: 1.8;
    color: #444;
    font-size: 1.1rem;
}

.bio-text p {
    margin-bottom: 1.5rem;
}

.team-sidebar-card {
    background: #f8faff;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #eef2f6;
}

.sidebar-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #111;
}

.other-member-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.other-member-item:hover {
    background: var(--pure-white);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.other-member-thumb {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
}

.other-member-info h6 {
    margin-bottom: 2px;
    font-size: 0.95rem;
    font-weight: 600;
}

.other-member-info p {
    margin-bottom: 0;
    font-size: 0.8rem;
    color: #888;
}

@media (max-width: 991px) {
    .member-profile-section {
        margin-top: -80px;
        text-align: center;
    }
    
    .member-image-wrapper {
        margin: 0 auto;
        width: 220px;
        height: 220px;
    }
    
    .member-info-header {
        margin-top: 30px;
    }
    
    .member-name {
        font-size: 2.2rem;
    }
}
