.fm-people-wrap {
    margin: 2em 0;
    --fm-card-bg: #badbed;
    --fm-accent: #2b7fb3;
    --fm-accent-dark: #17394d;
    --fm-badge-text: #ffffff;
}

.fm-people-section + .fm-people-section {
    margin-top: 2.5em;
}

.fm-people-heading {
    font-size: 1.5em;
    margin: 0 0 1em;
    padding-bottom: 0.4em;
    border-bottom: 3px solid var(--fm-accent);
    color: var(--fm-accent);
}

.fm-people-grid {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.fm-people-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 1.25em;
    background: var(--fm-card-bg);
    border-radius: 10px;
    padding: 1.5em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.fm-people-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.fm-people-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--fm-accent);
    background: #fff;
    flex-shrink: 0;
}

.fm-people-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fm-people-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fm-accent);
}

.fm-people-avatar-fallback span {
    color: var(--fm-badge-text);
    font-size: 2.5em;
    font-weight: 700;
    line-height: 1;
}

.fm-people-body {
    width: 100%;
}

.fm-people-name {
    margin: 0 0 0.2em;
    font-size: 1.15em;
    color: var(--fm-accent-dark);
}

.fm-people-role {
    margin: 0 0 0.4em;
    font-size: 0.88em;
    font-weight: 700;
    color: var(--fm-accent-dark);
    opacity: 0.8;
}

.fm-people-irc {
    margin: 0 0 0.2em;
    font-size: 1.05em;
    color: var(--fm-accent);
}

.fm-people-bio {
    margin: 0 0 1em;
    font-size: 0.92em;
    line-height: 1.45;
    color: var(--fm-accent-dark);
}

.fm-people-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.5em;
}

.fm-people-link {
    text-decoration: none;
}

.fm-people-link-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4em;
    padding: 0.35em 0.6em;
    border-radius: 999px;
    background: var(--fm-accent);
    color: var(--fm-badge-text);
    font-size: 0.78em;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background 0.15s ease;
}

.fm-people-link:hover .fm-people-link-badge {
    background: var(--fm-accent-dark);
}

@media (max-width: 768px) {
    .fm-people-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .fm-people-links {
        justify-content: center;
    }
}
