/* === Member cards + Glossary page === */

/* ══════════════════════════════════════════════════════
   MEMBER CARDS — logo zone
══════════════════════════════════════════════════════ */

.member-logo-wrap {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 16px;
}

.member-logo-img {
    max-height: 52px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);   /* white logo on dark bg */
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.member-card:hover .member-logo-img {
    opacity: 1;
}

/* Monogram fallback — auto-generated from initials */
.member-monogram {
    width: 52px;
    height: 52px;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(0,201,167,0.15) 0%, rgba(0,201,167,0.06) 100%);
    border: 1px solid rgba(0,201,167,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 800;
    color: var(--teal);
    letter-spacing: -0.02em;
    flex-shrink: 0;
    user-select: none;
}

.member-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ══════════════════════════════════════════════════════
   GLOSSARY PAGE
══════════════════════════════════════════════════════ */

.glossary-section {
    padding: 80px 0 120px;
    background: var(--bg);
}

/* Alpha navigation */
.glossary-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 60px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0,201,167,0.12);
}

.glossary-nav-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 4px;
    border: 1px solid rgba(0,201,167,0.2);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    color: rgba(232,240,248,0.6);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.glossary-nav-letter:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: rgba(0,201,167,0.06);
}

/* Letter groups */
.glossary-group {
    margin-bottom: 56px;
}

.glossary-letter-anchor {
    font-family: var(--font-main);
    font-size: 32px;
    font-weight: 800;
    color: var(--teal);
    opacity: 0.35;
    line-height: 1;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,201,167,0.1);
    letter-spacing: -0.01em;
}

/* Term list */
.glossary-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
}

.glossary-entry {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0 32px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    align-items: baseline;
}

.glossary-entry:last-child {
    border-bottom: none;
}

.glossary-term {
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
    padding-right: 16px;
}

.glossary-def {
    font-size: 14px;
    color: rgba(232,240,248,0.65);
    line-height: 1.7;
    margin: 0;
}

.glossary-def p {
    margin: 0;
}

.glossary-empty {
    color: rgba(232,240,248,0.4);
    font-size: 15px;
    padding: 40px 0;
}

@media (max-width: 768px) {
    .glossary-entry {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 16px 0;
    }
    .glossary-nav-letter {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
}

/* ── Article body: tables ─────────────────────── */
.single-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 15px;
    background: rgba(15,34,64,0.7);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    overflow: hidden;
}
.single-body thead th {
    background: rgba(0,201,167,0.10);
    color: var(--teal);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 13px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(0,201,167,0.2);
}
.single-body tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.15s;
}
.single-body tbody tr:last-child { border-bottom: none; }
.single-body tbody tr:nth-child(even) { background: rgba(255,255,255,0.025); }
.single-body tbody tr:hover { background: rgba(0,201,167,0.04); }
.single-body tbody td {
    padding: 11px 16px;
    color: rgba(232,240,248,0.82);
    vertical-align: top;
    line-height: 1.55;
}
.single-body tbody td:first-child { font-weight: 600; color: rgba(232,240,248,0.95); }

/* ── h2 with left teal border (like in screenshots) ── */
.single-body h2 {
    padding-left: 16px;
    border-left: 3px solid var(--teal);
}

/* ── Sidebar about widget logo ─────────────────── */
.widget-about .widget-logo {
    padding: 16px;
    background: rgba(0,201,167,0.05);
    border-radius: 6px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
}
.widget-about .widget-logo img,
.widget-about .widget-logo svg {
    max-height: 42px;
    width: auto;
}
.sidebar-cta {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    margin-top: 16px !important;
    font-size: 13px !important;
    padding: 11px 0 !important;
    cursor: pointer !important;
    border: none !important;
    background: var(--teal) !important;
    color: var(--navy) !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    letter-spacing: 0.5px !important;
    transition: opacity .2s !important;
}
.sidebar-cta:hover { opacity: .85 !important; }

/* ── widget-about compact description ─────────── */
.widget-about .widget-desc {
    font-size: 12px;
    color: rgba(232,240,248,0.55);
    line-height: 1.6;
    text-align: center;
    margin-bottom: 0;
}

/* ── Single post: expert comment block ─────────── */
/* (rendered by plugin article.css — ensure wrapper colors match) */
/* expert comment styles → igng plugin article.css only */

