/* Shared styles for the blog / research post series.
   Pairs with project_post.css (base typography). */

.post-nav {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.post-meta {
    margin-top: -1rem;
    margin-bottom: 2.5rem;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.lede {
    font-size: 1.2rem;
    line-height: 1.6;
}

h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

.chart-container {
    margin: 3rem 0;
    padding: 1rem;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
}

.chart-container svg {
    display: block;
    width: 100%;
    height: auto;
}

.chart-caption {
    font-size: 0.85rem;
    color: #666;
    margin-top: 1rem;
    text-align: center;
    font-style: italic;
}

.figure img {
    margin-bottom: 0.75rem;
}

.figure .chart-caption {
    margin-top: 0;
}

.highlight {
    color: #0f4dd0;
    font-weight: bold;
}

.callout {
    margin: 2.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid #0f4dd0;
    background: #fff;
    font-size: 0.98rem;
}

.prompt-box {
    margin: 2rem 0;
    padding: 1rem 1.25rem;
    background: #1a1a1a;
    color: #f5f5f5;
    border-radius: 4px;
    font-size: 0.85rem;
    line-height: 1.5;
    white-space: pre-wrap;
    overflow-x: auto;
}

table.data {
    width: 100%;
    border-collapse: collapse;
    margin: 2.5rem 0;
    font-size: 0.9rem;
}

table.data th,
table.data td {
    padding: 0.5rem 0.6rem;
    border-bottom: 1px solid #eee;
    text-align: right;
}

table.data th:first-child,
table.data td:first-child {
    text-align: left;
}

table.data thead th {
    border-bottom: 2px solid #333;
    font-weight: 700;
}

table.data caption {
    caption-side: bottom;
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
    margin-top: 0.75rem;
    text-align: left;
}

.series-list {
    list-style: none;
    padding-left: 0;
}

.series-list li {
    margin-bottom: 1.25rem;
}

.series-list .num {
    color: #0f4dd0;
    font-weight: 700;
    margin-right: 0.5rem;
}

.series-list .desc {
    display: block;
    font-size: 0.9rem;
    color: #555;
    margin-top: 0.2rem;
}

.references {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    font-size: 0.85rem;
    color: #666;
}

.references h4 {
    margin-bottom: 1rem;
    color: #333;
}

.references ol {
    padding-left: 1.5rem;
}

.references li {
    margin-bottom: 0.5rem;
}

sup {
    font-size: 0.7em;
    color: #0f4dd0;
}
