@import url('/legal-style.css');

/* ── Blog index ── */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.post-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
}
.post-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    transform: translateY(-2px);
}

.post-card h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.3;
}
.post-card h2 a {
    color: var(--text);
    text-decoration: none;
}
.post-card h2 a:hover {
    color: var(--accent);
}

.post-meta {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.post-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--accent-soft);
    color: var(--accent);
}

.post-excerpt {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 10px 0 14px;
}

.read-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}
.read-more:hover {
    color: var(--accent-light);
}
.read-more::after {
    content: " \2192";
}

/* ── Hero image ── */
.hero-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 32px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ── Blog post ── */
.post-header {
    margin-bottom: 36px;
}
.post-header h1 {
    margin-bottom: 8px;
}
.post-header .post-meta {
    margin-bottom: 0;
}

.math-block {
    background: var(--bg-warm);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px 20px;
    font-family: 'Menlo', 'Consolas', monospace;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: auto;
    margin: 20px 0;
    color: var(--text);
}

.callout-box {
    background: var(--accent-soft);
    border-radius: 12px;
    padding: 24px;
    margin: 28px 0;
    text-align: center;
}
.callout-box p {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.5;
    margin: 0;
}

.feedback-loop {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.loop-step {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.loop-step:last-child { border-bottom: none; }

.loop-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.loop-text {
    font-size: 15px;
    color: var(--text);
    line-height: 1.5;
}

.loop-arrow {
    color: var(--accent);
    font-size: 13px;
    margin: 4px 0 4px 38px;
}
