.member-section-title {
    width: 100vw;
    font-weight: 700;
    font-size: 2rem;
    text-align: center;
    background-color: #000;
    color: #fff;
    margin-bottom: 30px;
    margin-top: 0px;
    padding: 20px 0px;
}

.member-detail-section {
    padding: 0px 20px;
    padding-bottom: 30px;
    background: #fff;
    font-family: 'Space Grotesk', sans-serif;
}

.member-detail-section>.team-name {
    text-align: center;
    font-size: 3em;
    margin-bottom: 40px;
    font-family: 'Space Grotesk', sans-serif;
    /* match your existing font */
}

.member-detail-container {
    max-width: 1000px;
    min-height: 500px;

    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.member-image {
    flex: 0 0 300px;
}

.member-image img {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    object-fit: cover;
}

.member-info {
    flex: 1;
    min-width: 0;
}

@media (max-width: 768px) {
    .member-detail-container {
        flex-wrap: wrap;
    }

    .member-image,
    .member-info {
        flex: 1 1 100%;
    }
}

.member-designation {
    font-weight: 700;
    font-size: 1.8em;
    margin-bottom: 10px;
}

.member-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.member-name {
    font-weight: 300;
    font-size: 1.4em;
}

.linkedin-icon img {
    width: 45px;
    height: 30px;
}

.separator {
    border: none;
    border-top: 1px solid #ccc;
    margin: 15px 0;
}

.member-bio {
    font-weight: 300;
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.member-contact {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-item {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95em;
}

.email {
    background: #d7d7d7;
    color: #000000;
}