/* History page — extends spongefork.css */

main {
    display: block;
    min-height: auto;
    padding: 48px 24px 64px;
}

.history {
    max-width: 680px;
    margin: 0 auto;
}

.history h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.history section {
    margin-bottom: 48px;
}

.history h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.history h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.history p {
    color: var(--secondary);
    margin-bottom: 1em;
    line-height: 1.75;
}

.history p:last-child {
    margin-bottom: 0;
}

.history a {
    color: var(--accent);
    text-decoration: none;
}

.history a:hover {
    text-decoration: underline;
}

.history ul {
    color: var(--secondary);
    margin: 0 0 1em 1.25em;
    line-height: 1.75;
}

.history li {
    margin-bottom: 0.25em;
}

.history li strong {
    color: var(--text);
}

.history ul.contributors {
    list-style: none;
    margin-left: 0;
}

/* ─── Figures ─────────────────────────────────────────────── */

.history figure {
    margin: 1.5em 0;
}

.history figure img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: #0a0a0a;
}

.history figcaption {
    font-size: 13px;
    color: var(--secondary);
    margin-top: 8px;
}

/* ─── Version Entries ─────────────────────────────────────── */

.version-entry {
    margin-bottom: 2em;
}

.version-entry:last-child {
    margin-bottom: 0;
}

/* ─── Inline Icons ───────────────────────────────────────── */

.version-entry .inline-icon {
    float: right;
    width: 64px;
    height: 64px;
    margin: 0 0 0.5em 1em;
}

/* ─── Blockquotes ─────────────────────────────────────────── */

.history blockquote {
    border-left: 2px solid var(--border);
    padding-left: 1.25em;
    margin: 1.25em 0;
}

.history blockquote p {
    color: var(--text);
    font-style: italic;
    margin-bottom: 0.25em;
}

.history blockquote cite {
    font-size: 14px;
    font-style: normal;
    color: var(--secondary);
}
