/* ============================================================
   Leadership Page — leadership.css
   Upload to: /leadership-roster/leadership.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

/* ---------- GGU accent variables ---------- */
.lp-wrapper {
    --lp-accent:       #ffb300;
    --lp-accent-dim:   rgba(255, 179, 0, 0.28);
    --lp-accent-faint: rgba(255, 179, 0, 0.07);
    --lp-border:       rgba(255, 255, 255, 0.07);
    --lp-card-bg:      rgba(255, 255, 255, 0.025);
    --lp-text:         #e8e8e8;
    --lp-muted:        #bbb;
    --lp-dimmed:       #888;
}

/* ---------- Reset / Base ---------- */
.lp-wrapper *,
.lp-wrapper *::before,
.lp-wrapper *::after {
    box-sizing: border-box;
}

/* ---------- Page wrapper ---------- */
.lp-wrapper {
    max-width: 820px;
    margin: 0 auto;
    padding: 24px 12px 72px;
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    color: var(--lp-text);
}

/* ---------- Page intro ---------- */
.lp-intro {
    text-align: center;
    margin-bottom: 44px;
    padding-bottom: 28px;
    position: relative;
    border-bottom: 1px solid var(--lp-border);
}

/* Gold accent underline beneath the title block */
.lp-intro::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 2px;
    background: var(--lp-accent);
    border-radius: 2px;
}

.lp-title {
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #ffb300;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.lp-subtitle {
    color: var(--lp-muted);
}

/* ---------- Individual rank block ---------- */
.lp-rank {
    margin-bottom: 6px;
    padding: 18px 16px;
    background: var(--lp-card-bg);
    border: 1px solid var(--lp-border);
    border-left: 2px solid var(--lp-accent-dim);
    border-radius: 4px;
    transition: background 0.18s ease, border-left-color 0.18s ease;
}

.lp-rank:hover {
    background: rgba(255, 255, 255, 0.04);
    border-left-color: var(--lp-accent);
}

/* ---------- Rank header: badge LEFT, description RIGHT ---------- */
.lp-rank__header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 0;
}

.lp-rank__badge-wrap {
    flex-shrink: 0;
    width: 160px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.lp-rank__badge {
    max-width: 160px;
    max-height: 56px;
    object-fit: contain;
    display: block;
}

/* Rank name shown below the badge image */
.lp-rank__title {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #c0c0c0;
}

.lp-rank__desc {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.75;
    color: #c8c8c8;
    flex: 1;
    padding-top: 2px;
}

/* ---------- Member list ---------- */
.lp-member-list {
    list-style: none;
    /* top padding creates separation; left aligns with description column */
    padding: 10px 0 0 178px;
    margin: 10px 0 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.lp-member-list__item {
    display: flex;
    align-items: baseline;
    gap: 5px;
    font-size: 0.88rem;
    line-height: 1.6;
}

/* Gold arrow bullet */
.lp-member-list__item::before {
    content: '›';
    color: var(--lp-accent-dim);
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.15s ease;
}

.lp-member-list__item:hover::before {
    color: var(--lp-accent);
}

.lp-member-list__link {
    color: inherit;
    text-decoration: none;
    font-weight: 400;
    transition: filter 0.15s ease;
}

.lp-member-list__link:hover {
    filter: brightness(1.5);
    text-decoration: underline;
}

.lp-member-list__note {
    color: #999;
    font-size: 0.82rem;
}

/* ---------- Empty state ---------- */
.lp-no-members {
    margin: 8px 0 0;
    padding-left: 178px;
    font-size: 0.82rem;
    color: #777;
    font-style: italic;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 8px;
}

/* ---------- Section header dividers ---------- */
.lp-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 40px 0 10px;
}

/* Fading lines that converge on the pill label */
.lp-section-header::before {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--lp-accent-dim));
}

.lp-section-header::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to left, transparent, var(--lp-accent-dim));
}

/* Pill-style label */
.lp-section-header__label {
    white-space: nowrap;
    padding: 3px 11px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--lp-accent);
    border: 1px solid var(--lp-accent-dim);
    border-radius: 2px;
    background: var(--lp-accent-faint);
}

/* Remove extra top margin for the very first section header */
.lp-wrapper > .lp-section-header:first-child {
    margin-top: 0;
}

/* ---------- Responsive ---------- */
@media ( max-width: 600px ) {
    .lp-rank__header {
        flex-direction: column;
        gap: 10px;
    }

    .lp-rank__badge-wrap {
        width: auto;
    }

    .lp-rank__badge {
        max-height: 44px;
    }

    .lp-member-list,
    .lp-no-members {
        padding-left: 0;
    }

    .lp-title {
        font-size: 1.3rem;
    }
}
