/* Public blog pages (loaded after styles.min.css) */
.blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
@media(max-width:960px){.blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.blog-grid{grid-template-columns:1fr}}
.post-card{background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column}
.post-card-img{display:block;aspect-ratio:600/340;background:var(--gray)}
.post-card-img img{width:100%;height:100%;object-fit:cover;display:block}
.post-card-body{padding:20px;display:flex;flex-direction:column;gap:8px;flex:1}
.post-card h2,.post-card h3{font-size:1.15rem;line-height:1.35;margin:0}
.post-card h2 a,.post-card h3 a{color:var(--ink);text-decoration:none}
.post-card h2 a:hover,.post-card h3 a:hover{color:var(--blue)}
.post-card p{margin:0;color:var(--muted);font-size:.95rem}
.post-meta{font-size:.85rem;color:var(--muted)}.post-meta.lead{font-size:1rem}
.post-cat{font-weight:600;color:var(--orange)}
.post-more{margin-top:auto;font-weight:600;color:var(--blue);text-decoration:none}
.blog-pager{display:flex;justify-content:center;align-items:center;gap:22px;margin-top:34px}
.blog-pager a{font-weight:600;color:var(--blue)}
.blog-empty{text-align:center;padding:40px 0;color:var(--muted)}
.post-body{max-width:760px;margin:0 auto;font-size:1.06rem;line-height:1.8;color:#1f2d4d;overflow-wrap:anywhere}
.post-body h2{font-size:1.6rem;margin:1.8em 0 .5em;line-height:1.3}.post-body h3{font-size:1.25rem;margin:1.5em 0 .4em}
.post-body p{margin:0 0 1.1em}
.post-body ul,.post-body ol{padding-left:26px;margin:0 0 1.2em}.post-body ul{list-style:disc}.post-body ol{list-style:decimal}
.post-body li{margin-bottom:.4em}
.post-body a{color:var(--blue);text-decoration:underline}
.post-body img{max-width:100%;height:auto;border-radius:14px;display:block;margin:1.4em auto}
.post-body blockquote{border-left:4px solid var(--blue);background:var(--gray);padding:14px 20px;margin:1.4em 0;border-radius:0 12px 12px 0;color:#31415f}
.post-cover{width:100%;height:auto;border-radius:18px;margin:0 0 1.6em !important}
.post-cta{margin-top:2.4em;padding:24px;border-radius:var(--r);background:var(--gray);border:1px solid var(--line)}
.post-cta p{margin:6px 0 14px}
.post-related{max-width:1100px;margin:56px auto 0}.post-related h2{font-size:1.4rem;margin-bottom:18px}
.post-body a.btn{text-decoration:none;color:#fff}
