/* ================= ABOUT PAGE ================= */

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.about-container {
    max-width: 760px;
}

.about-intro {
    margin-bottom: 3rem;
}

.about-intro p {
    max-width: 600px;
    line-height: 1.7;
}

/* Team card */
.team-card {
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--surface-bg);
    border: 1px solid var(--surface-border);
    border-radius: 8px;
    margin-top: 1.5rem;
}

.team-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--surface-border);
    flex-shrink: 0;
}

.team-info h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--heading-color);
}

.team-role {
    display: inline-block;
    font-size: 0.7rem;
    color: var(--text-color);
    margin-top: 0.15rem;
}

.team-info p {
    font-size: 0.8rem;
    line-height: 1.6;
    margin: 0.75rem 0 0;
}

/* Social icons */
.team-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.team-socials a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    transition: color 0.15s ease;
    text-decoration: none;
}

.team-socials a:hover {
    color: #ffffff;
}

/* Mobile */
@media (max-width: 600px) {
    .team-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .team-socials {
        justify-content: center;
    }
}