/**
 * Public Website — About Us Page (Phase 3)
 * Scoped under `.pub-about-*`, page-specific (loaded only on
 * pages/about.php via the $pub_extra_css convention from Phase 2).
 * Same token scale as public-home.css: page/section titles 18-22px,
 * body 14-16px, metadata 12-14px.
 */

.pub-about-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 1.75rem 1rem;
}
.pub-about-section + .pub-about-section { padding-top: 0; }

.pub-about-section-title {
    font-size: var(--nkst-font-lg, 19px);
    font-weight: 800;
    color: var(--nkst-color-text, #1f2937);
    margin: 0 0 1rem;
}

/* ── Section 1: Page header ── */
.pub-about-header {
    background: var(--nkst-color-surface-alt, #f0f2f5);
    padding: 1.75rem 1rem;
    text-align: center;
}
.pub-about-header h1 {
    font-size: var(--nkst-font-xl, 22px);
    font-weight: 800;
    color: var(--nkst-color-text, #1f2937);
    margin: 0 0 .5rem;
}
.pub-about-header p {
    font-size: var(--nkst-font-sm, 14px);
    color: var(--nkst-color-text-muted, #6b7280);
    max-width: 56ch;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Section 2: Who We Are ── */
.pub-about-who {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: center;
}
.pub-about-who-logo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
    box-shadow: var(--nkst-shadow-md, 0 2px 10px rgba(0,0,0,.1));
}
.pub-about-who-text p {
    font-size: var(--nkst-font-sm, 14px);
    line-height: 1.7;
    color: var(--nkst-color-text, #1f2937);
    margin: 0 0 .9rem;
}
.pub-about-who-text p:last-child { margin-bottom: 0; }

@media (min-width: 640px) {
    .pub-about-who { grid-template-columns: 120px 1fr; text-align: left; }
    .pub-about-who-logo { width: 120px; height: 120px; margin: 0; }
}

/* ── Sections 3-4: Vision / Mission ── */
.pub-about-vm-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 640px) {
    .pub-about-vm-grid { grid-template-columns: 1fr 1fr; }
}
.pub-about-vm-card {
    background: #fff;
    border: 1px solid var(--nkst-color-border, #e5e7eb);
    border-top: 4px solid var(--nkst-color-primary, #1e3a8a);
    border-radius: var(--nkst-radius-md, 12px);
    padding: 1.25rem;
}
.pub-about-vm-card.is-mission { border-top-color: var(--nkst-color-accent, #f59e0b); }
.pub-about-vm-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(30,58,138,.08);
    color: var(--nkst-color-primary, #1e3a8a);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    margin-bottom: .75rem;
}
.pub-about-vm-card.is-mission .pub-about-vm-icon { background: rgba(245,158,11,.12); color: #b45309; }
.pub-about-vm-title {
    font-size: var(--nkst-font-md, 16px);
    font-weight: 800;
    color: var(--nkst-color-text, #1f2937);
    margin: 0 0 .5rem;
}
.pub-about-vm-text {
    font-size: var(--nkst-font-sm, 14px);
    line-height: 1.65;
    color: var(--nkst-color-text, #1f2937);
    margin: 0;
}

/* ── Empty state (Beliefs / History / Leadership until real content exists) ── */
.pub-about-empty {
    background: #fff;
    border: 1px dashed var(--nkst-color-border, #e5e7eb);
    border-radius: var(--nkst-radius-md, 12px);
    padding: 1.75rem 1.25rem;
    text-align: center;
    color: var(--nkst-color-text-muted, #6b7280);
}
.pub-about-empty i {
    font-size: 1.5rem;
    margin-bottom: .5rem;
    display: block;
    color: var(--nkst-color-border, #d1d5db);
}
.pub-about-empty p { font-size: var(--nkst-font-sm, 14px); margin: 0; }

/* ── Section 6: History timeline (simple vertical, no animation) ── */
.pub-about-timeline {
    position: relative;
    padding-left: 1.5rem;
    border-left: 2px solid var(--nkst-color-border, #e5e7eb);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.pub-about-timeline-item { position: relative; }
.pub-about-timeline-item::before {
    content: '';
    position: absolute;
    left: -1.94rem;
    top: .3rem;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--nkst-color-primary, #1e3a8a);
}
.pub-about-timeline-year {
    font-size: var(--nkst-font-xs, 13px);
    font-weight: 800;
    color: var(--nkst-color-primary, #1e3a8a);
}
.pub-about-timeline-text {
    font-size: var(--nkst-font-sm, 14px);
    color: var(--nkst-color-text, #1f2937);
    margin: .2rem 0 0;
    line-height: 1.6;
}

/* ── Section 7: Leadership ── */
.pub-about-leader-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .85rem;
}
@media (min-width: 640px) {
    .pub-about-leader-grid { grid-template-columns: repeat(3, 1fr); }
}
.pub-about-leader-card {
    background: #fff;
    border: 1px solid var(--nkst-color-border, #e5e7eb);
    border-radius: var(--nkst-radius-md, 12px);
    padding: 1rem .85rem;
    text-align: center;
}
.pub-about-leader-photo {
    width: 72px; height: 72px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    margin: 0 auto .6rem;
    display: block;
    background: var(--nkst-color-surface-alt, #f0f2f5);
}
.pub-about-leader-name {
    font-size: var(--nkst-font-sm, 14px);
    font-weight: 800;
    color: var(--nkst-color-text, #1f2937);
    margin: 0 0 .15rem;
}
.pub-about-leader-position {
    font-size: var(--nkst-font-2xs, 12px);
    font-weight: 700;
    color: var(--nkst-color-primary, #1e3a8a);
    margin: 0 0 .4rem;
}
.pub-about-leader-intro {
    font-size: var(--nkst-font-2xs, 12px);
    color: var(--nkst-color-text-muted, #6b7280);
    line-height: 1.5;
    margin: 0;
}

/* ── Section 8: Join CTA ── */
.pub-about-cta-band {
    background: linear-gradient(135deg, var(--nkst-color-primary, #1e3a8a), #16296b);
    border-radius: var(--nkst-radius-lg, 16px);
    padding: 2rem 1.25rem;
    text-align: center;
    color: #fff;
}
.pub-about-cta-title {
    font-size: var(--nkst-font-lg, 19px);
    font-weight: 800;
    margin: 0 0 .8rem;
}
.pub-about-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    justify-content: center;
}
.pub-about-cta-actions .pub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pub-about-cta-actions .pub-btn-primary { background: #fff; color: var(--nkst-color-primary, #1e3a8a); }
.pub-about-cta-actions .pub-btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
