/* onas-styles.css - About Page Specific Styles */

/* --- LAYOUT --- */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

/* --- HERO SECTION (Specific Height for Subpage) --- */
.hero-section {
    height: 35vh;
    width: 100%;
    background: linear-gradient(to bottom, #0F0C29, #302B63, #24243E);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    font-size: 4rem;
    color: var(--on-primary);
    text-align: center;
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-section {
        height: 30vh;
    }
}



/* --- ABOUT CARD --- */
.about-card {
    margin: 32px 0;
    position: relative;
    background: var(--md-sys-color-surface);
    border-radius: 24px;
    padding: 40px;
    color: var(--md-sys-color-on-surface);
    overflow: hidden;
    box-shadow: var(--elevation-1);
}

.about-title {
    font-size: 2.2rem;
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    color: var(--md-sys-color-primary);
    margin: 0;
}

@media (max-width: 768px) {
    .about-title {
        font-size: 1.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
}

.about-header {
    margin-top: 32px;
}

.about-header-title {
    font-size: 1.8rem;
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--md-sys-color-primary);
}

.about-card-subtitle {
    font-size: 1.25rem;
    font-family: 'Roboto Mono', monospace;
    font-weight: 500;
    color: var(--md-sys-color-primary);
    opacity: 0.8;
    margin-top: 8px;
    margin-bottom: 32px;
}

.about-intro-text {
    margin-bottom: 16px;
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list-item {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-list-icon {
    color: var(--md-sys-color-primary);
    flex-shrink: 0;
}

.about-person-icon {
    vertical-align: middle;
    color: var(--md-sys-color-primary);
    margin-right: 8px;
}

/* Join Section specific to About Page (Blue background) */
.about-join-section {
    margin-top: 40px;
    background-color: var(--primary-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
}

.about-join-section h2 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.5rem;
    font-weight: 500;
    font-family: 'Roboto Mono', monospace;
}

.about-join-section p {
    color: var(--on-primary);
    line-height: 1.5;
    margin-bottom: 0px;
}

/* Button Override for Blue Background */
.join-button {
    /* Context override (blue bg) */
    background-color: var(--md-sys-color-surface);
    color: var(--md-sys-color-primary);
    margin-top: 16px;
}

.join-button:hover {
    background-color: var(--md-sys-color-surface-variant);
    color: var(--md-sys-color-primary);
}

/* --- BOARD SECTION --- */
.board-card {
    position: relative;
    background: var(--md-sys-color-surface);
    border-radius: 24px;
    padding: 40px;
    margin: 32px 0;
    color: var(--md-sys-color-on-surface);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
}

.board-header {
    margin-bottom: 32px;
}

.board-header h2 {
    font-size: 2rem;
    margin: 0;
    color: var(--md-sys-color-primary);
    font-family: 'Roboto Mono', monospace;
}

.board-header .subtitle {
    font-size: 1.1rem;
    margin: 8px 0 0 0;
    opacity: 0.7;
}

.board-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    text-align: left;
}

.board-member {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 8px 0;
    background-color: transparent;
    border-radius: 0;
}

.member-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 0;
    border: none;
    flex-shrink: 0;
    background-color: var(--md-sys-color-surface-variant);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    flex: 1;
}

.member-info h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--md-sys-color-on-surface);
    font-weight: 500;
}

.member-role {
    margin: 4px 0 0 0;
    font-size: 0.9rem;
    color: var(--md-sys-color-primary);
    font-weight: 500;
    opacity: 0.9;
}

.member-icon {
    font-size: 28px;
    color: var(--md-sys-color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .board-card {
        padding: 24px;
    }

    .board-header {
        margin-bottom: 24px;
    }

    .board-header h2 {
        font-size: 1.75rem;
    }

    .board-members {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 25vh;
    }

    .hero-title {
        font-size: 2rem;
    }
}