/* Blog (static pages generated by scripts/blog.py) */
.post { padding: 56px 24px 96px; }
.post-inner { max-width: 760px; margin: 0 auto; }
.breadcrumb { font-size: 13px; color: var(--slate); margin-bottom: 24px; }
.breadcrumb a { color: var(--indigo); }
.breadcrumb a:hover { text-decoration: underline; }
.post-header h1 { font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; letter-spacing: -0.8px; margin-bottom: 14px; }
.post-meta { font-size: 14px; color: var(--slate); margin-bottom: 8px; }
.post-tags { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.post-tag { font-size: 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: 2px 10px; color: var(--slate); }
.post-hero { width: 100%; height: auto; border-radius: var(--radius-lg); margin: 28px 0 8px; display: block; }
.post-body { font-size: 18px; line-height: 1.8; color: var(--dark-2); }
.post-body h2 { font-size: 28px; font-weight: 700; margin: 44px 0 14px; letter-spacing: -0.4px; }
.post-body h3 { font-size: 21px; font-weight: 700; margin: 32px 0 10px; }
.post-body p { margin: 0 0 20px; }
.post-body ul, .post-body ol { margin: 0 0 22px 24px; }
.post-body li { margin-bottom: 8px; }
.post-body a { color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }
.post-body blockquote { border-left: 4px solid var(--indigo); padding: 4px 0 4px 18px; margin: 0 0 22px; color: var(--slate); }
.post-body img { max-width: 100%; height: auto; border-radius: var(--radius); }
.post-cta { margin: 48px 0 40px; padding: 28px; background: var(--dark); color: rgba(255,255,255,0.8); border-radius: var(--radius-lg); }
.post-cta h2 { color: #fff; font-size: 22px; margin-bottom: 10px; }
.post-cta a { color: var(--indigo-lt); text-decoration: underline; }
.post-related h2 { font-size: 20px; margin-bottom: 14px; }
.post-related ul { list-style: none; display: grid; gap: 12px; }
.post-related li { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; }
.post-related a { font-weight: 600; color: var(--dark); }
.post-related a:hover { color: var(--indigo); }
.post-related span { display: block; font-size: 13px; color: var(--slate); }
.post-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; font-size: 14px; }
.post-pager a { color: var(--indigo); max-width: 48%; }
.post-pager-next { margin-left: auto; text-align: right; }
.post-back { margin-top: 24px; font-size: 14px; }
.post-back a { color: var(--indigo); }
.blog-count { font-size: 13px; color: var(--slate); margin: -36px 0 24px; }
.blog-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.blog-card { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: box-shadow .2s, border-color .2s; }
.blog-card:hover { box-shadow: 0 8px 24px rgba(15,23,42,0.08); border-color: #cbd5e1; }
.blog-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.blog-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.blog-card-title { font-size: 19px; font-weight: 700; line-height: 1.3; }
.blog-card-title a:hover { color: var(--indigo); }
.blog-card p { font-size: 15px; color: var(--slate); line-height: 1.6; margin: 0; }
.blog-card time { font-size: 13px; color: var(--slate-lt); }
.blog-latest-more { margin-top: 28px; }
.blog-latest-more a { color: var(--indigo); font-weight: 600; }
/* Footer NAP (sitewide) */
.footer-nap { font-style: normal; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.55); margin-top: 16px; }
.footer-nap strong { color: rgba(255,255,255,0.85); font-weight: 600; }
.footer-nap a { color: rgba(255,255,255,0.65); }
.footer-nap a:hover { color: #fff; }
.footer-area { display: inline-block; margin-top: 6px; font-size: 13px; color: rgba(255,255,255,0.45); }
@media (max-width: 640px) { .post { padding-top: 32px; } .post-body { font-size: 17px; } .blog-list { grid-template-columns: 1fr; } }
/* the site-wide `nav` rule is for the header bar; reset it for in-page navs */
nav.breadcrumb, nav.post-pager { position: static; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; z-index: auto; }
