/* Guides (blog): reading layout on top of styles.css */
.post { padding-top: 40px; padding-bottom: 72px; }
.post h1 { font-size: clamp(2rem, 4.6vw, 2.9rem); margin: 6px 0 14px; max-width: 24ch; }
.post h2 { font-size: 1.45rem; margin: 2.6rem 0 0.8rem; scroll-margin-top: 90px; }
.post h3 { font-size: 1.12rem; margin: 1.8rem 0 0.5rem; }
.post p, .post li { color: color-mix(in srgb, var(--text) 86%, var(--muted)); }
.post ul, .post ol { padding-left: 1.3rem; }
.post li { margin: 0.45rem 0; }
.post a:not(.btn) { color: var(--brand); font-weight: 600; }

.crumbs { font-size: 0.88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted) !important; font-weight: 500 !important; text-decoration: none; }
.crumbs a:hover { color: var(--text) !important; }
.post-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; }
.post-lead { font-size: 1.15rem; line-height: 1.7; }

.post-toc { border-left: 4px solid var(--brand); padding: 4px 0 4px 18px; margin: 24px 0 8px; }
.post-toc p { font-weight: 700; margin: 0 0 6px; color: var(--text); }
.post-toc ol { margin: 0; }

.post ol.howto { padding-left: 1.4rem; }
.post ol.howto > li { margin: 0.9rem 0; padding-left: 4px; min-width: 0; }
.post pre { max-width: 100%; }

.post pre { background: #0b1220; color: #e6edf3; border-radius: 12px; padding: 16px; overflow-x: auto; margin: 12px 0; }
.post pre code { background: none; padding: 0; font-size: 0.86rem; line-height: 1.6; white-space: pre; color: inherit; }

.note { background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); border-radius: 14px; padding: 14px 16px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--card); margin: 12px 0; }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 0.92rem; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 11px 13px; border-bottom: 1px solid var(--line); }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap th { background: var(--bg-alt); color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }

.cta-box { display: flex; gap: 16px; align-items: flex-start; margin: 40px 0 8px; padding: 22px; border-radius: 12px; border: 2px solid var(--brand); background: var(--card); }
.cta-box img { flex: none; border-radius: 8px; }
.cta-title { font-weight: 700; font-size: 1.1rem; margin: 0 0 6px; color: var(--text) !important; }
.cta-box p { margin-bottom: 14px; }
@media (max-width: 520px) { .cta-box { flex-direction: column; } }

.related { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 8px; }
.related ul { list-style: none; padding: 0; }
.related li { margin: 10px 0; }

.guide-list { list-style: none; padding: 0; margin: 28px 0 0; }
.guide-card { padding: 22px 0; border-bottom: 1px solid var(--line); }
.guide-card:first-child { border-top: 1px solid var(--line); }

.guide-card h2 { font-size: 1.2rem; margin: 2px 0 8px; }
.guide-card h2 a { color: var(--text) !important; text-decoration: none; font-weight: 700 !important; }
.guide-card h2 a:hover { color: var(--brand) !important; text-decoration: underline; text-underline-offset: 3px; }
.guide-card p { margin-bottom: 10px; }

