/* ==========================================================================
   Shared Talk Stylesheet
   Load after the site's style.css. From a talk in talks/<year>/, use ../talks.css.
   ========================================================================== */

/* --- Talk Navigation, Sections & Metadata --- */
.talk-nav {
    margin-bottom: 1.5rem;
}

.talk-section > h2 {
    margin-top: 0;
}

.talk-section h3 {
    margin-top: 1.6rem;
}

.talk-section p,
.talk-section li {
    line-height: 1.7;
}

.talk-meta {
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* --- Mathematical Statement Blocks --- */
.definition-block,
.proposition-block,
.fact-block,
.observation-block,
.remark-block {
    margin: 1.25rem 0;
    padding: 1rem 1.15rem;
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
    background: var(--bg-light);
    scroll-margin-top: 1.5rem;
}

.definition-block {
    border-left-color: #0f766e;
}

.remark-block {
    border-left-color: #d97706;
}

.block-label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--text-heading);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.definition-block p:last-child,
.proposition-block p:last-child,
.fact-block p:last-child,
.observation-block p:last-child,
.remark-block p:last-child {
    margin-bottom: 0;
}

/* --- Display Equations --- */
.equation-scroll {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 1rem 0;
}

/* --- References & Citations --- */
.references-list {
    margin-top: 1.2rem;
    padding-left: 1.4rem;
}

.references-list li {
    margin-bottom: 0.85rem;
    line-height: 1.6;
}

.citation-tag {
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.citation-tag:hover {
    text-decoration: underline;
}
