.post-hero { padding: 90px 0 30px; }
.post-shell { max-width: 1200px; margin: 0 auto; }
.post-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 14px;
}
.post-breadcrumb a { color: inherit; }
.post-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}
.post-main {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    gap: 16px;
}
.post-content-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow);
}
.post-title { margin: 0; font-size: 28px; text-align: center; }
.post-meta { color: var(--muted); font-size: 13px; margin-top: 8px; text-align: right; }
.post-content {
    line-height: 1.8;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.post-content a,
.post-content p,
.post-content li,
.post-content td,
.post-content th {
    overflow-wrap: anywhere;
    word-break: break-word;
}
.post-content pre,
.post-content code {
    white-space: pre-wrap;
    word-break: break-word;
}
.post-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: var(--muted);
    margin-top: 12px;
    align-items: flex-start;
}
.post-nav a { color: inherit; }
.post-side {
    flex: 0 0 auto;
    width: 280px;
}
.side-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 18px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
    display: grid;
    gap: 12px;
}
.side-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}
.side-list {
    display: grid;
    gap: 10px;
}
.side-link {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 13px;
    color: var(--muted);
    background: #f8fafc;
    display: block;
}
.side-link:hover {
    color: var(--accent-strong);
    border-color: rgba(37, 99, 235, 0.35);
}
.related-item {
    display: grid;
    gap: 4px;
    font-size: 13px;
    color: var(--muted);
}
.related-item strong {
    color: var(--ink);
    font-weight: 600;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 1100px) {
    .post-layout { flex-direction: column; }
    .post-side { width: 100%; }
}
@media (max-width: 640px) {
    .post-hero { padding-top: 70px; }
    .post-content-card { padding: 20px; }
}
