/* === Members Page === */
/* Extracted from members.html <style> block — now with full dark-mode support */

main {
    --member-primary-color: var(--primary-color);
    --member-secondary-color: var(--secondary-color);
    color: var(--text-color);
}

main > .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.page-title {
    text-align: center;
    margin-bottom: 3rem;
}

.member-category {
    margin-bottom: 4rem;
}

.category-title {
    color: var(--member-primary-color);
    margin-top: 0;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--member-secondary-color);
}

.member-card {
    display: flex;
    background: var(--surface-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
    margin-bottom: 2rem;
    min-height: 300px;
    align-items: center;
}

.member-card:hover {
    transform: translateY(-5px);
}

.member-photo {
    width: 250px;
    height: 250px;
    object-fit: cover;
    object-position: center 30%;
    background-color: var(--border-color);
    align-self: center;
    margin-left: 28px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.member-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.member-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 0.8rem;
    color: var(--member-primary-color);
}

.member-tag {
    font-size: 0.85rem;
    color: var(--text-color);
    font-style: italic;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.member-bio {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-weight: bold;
    color: var(--member-primary-color);
}

.focus-label {
    font-weight: normal;
    color: var(--muted-text-color);
}

.member-introduction {
    font-size: 1rem;
    color: var(--muted-text-color);
    margin-bottom: 1.5rem;
    font-style: italic;
    border-left: 3px solid var(--member-secondary-color);
    padding-left: 15px;
    line-height: 1.8;
}

.member-links {
    display: flex;
    gap: 1.5rem;
    margin-top: auto;
    flex-wrap: wrap;
}

.member-links a {
    color: var(--member-secondary-color);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
}

.member-links a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .member-card {
        flex-direction: column;
        min-height: auto;
        align-items: center;
        padding-top: 1.5rem;
    }

    .member-photo {
        width: 200px;
        height: 200px;
        margin-left: 0;
        margin-bottom: 0.5rem;
    }

    .member-info {
        padding: 1.5rem;
    }
}
