/* library.css — Comprehensive site index page */

.library-intro {
    font-family: var(--font-sans);
    font-size: var(--text-size-small);
    color: var(--text-muted);
    margin-top: 0.25rem;
    margin-bottom: 2.5rem;
}

/* ============================================================
   PORTAL SECTIONS
   ============================================================ */

.library-section {
    margin-bottom: 2.5rem;
}

.library-section h2 {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-variant: small-caps;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-transform: lowercase;
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border);
}

.library-section h2 a {
    color: inherit;
    text-decoration: none;
}

.library-section h2 a:hover {
    color: var(--text);
}

/* ============================================================
   ENTRY LIST
   ============================================================ */

.library-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.library-entry-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.library-entry-title {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--text);
    text-decoration: none;
    line-height: 1.3;
}

.library-entry-title:hover {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.library-entry-date {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    color: var(--text-faint);
    white-space: nowrap;
    flex-shrink: 0;
}

.library-entry-abstract {
    font-family: var(--font-sans);
    font-size: var(--text-size-small);
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0.2rem 0 0;
}
