/* Main content styles */
main {
    padding: 2rem;
}

.intro {
    text-align: center;
    margin-bottom: 40px;
}

.intro h2 {
    color: #000000;
    font-size: 1.5rem;
}

.intro h1 {
    font-size: 2rem;
    margin: 10px 0;
}

.details-row {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: stretch;
    margin-bottom: 2rem;
}

.details {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: center;
    background: var(--card-background, #fff);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 1.5rem 2rem;
    box-sizing: border-box;
    min-width: 0;
}

.details .mission > div,
.details .biography {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.biography img {
    margin-bottom: 1rem;
}

.details h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.details p {
    margin-bottom: 0;
    line-height: 1.7;
    text-align: center;
}

@media (max-width: 900px) {
    .details-row {
        display: block;
        gap: unset;
        align-items: unset;
    }
    .details {
        flex: unset;
        margin-bottom: 2rem;
    }
}

.dark-mode .header h1 span {
    color: #fff !important;
}

.dark-mode .intro,
.dark-mode .intro h2,
.dark-mode .intro h1,
.dark-mode .intro p {
    color: #fff !important;
}
