/* HILDA — блог */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--h-line); border-radius: 16px; overflow: hidden; transition: transform .15s ease, border-color .15s ease; }
.blog-card:hover { transform: translateY(-2px); border-color: var(--h-accent); }
.blog-card__img { display: block; aspect-ratio: 1200 / 630; background: var(--h-ink); }
.blog-card__img img, .blog-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.page-content .blog-card__title { font-size: 19px; line-height: 1.3; margin: 0; text-wrap: pretty; }
.blog-card__title a { color: var(--h-ink); text-decoration: none; }
.blog-card__title a:hover { color: var(--h-accent); }
.page-content .blog-card__excerpt { font-size: 15px; margin: 0; color: #59605a; }
.blog-meta { font-size: 13px; color: var(--h-muted); }
.blog .navigation.pagination { margin-top: 36px; }
.blog .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.blog .page-numbers { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--h-line); border-radius: 10px; color: var(--h-ink); text-decoration: none; }
.blog .page-numbers.current, .blog .page-numbers:hover { background: var(--h-accent); border-color: var(--h-accent); color: #fff; }
.post-article { max-width: 780px; margin: 0 auto; }
.post-crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--h-muted); margin-bottom: 14px; }
.post-crumbs a { color: var(--h-muted); text-decoration: none; }
.post-crumbs a:hover { color: var(--h-accent); }
.blog-single h1 { text-wrap: pretty; margin-bottom: 10px; }
.post-cover { width: 100%; height: auto; border-radius: 18px; margin: 22px 0 28px; display: block; }
.post-body { font-size: 17px; line-height: 1.7; }
.post-body h3 { font-size: 18px; margin: 22px 0 6px; }
.post-body ul, .post-body ol { padding-left: 22px; }
.post-body li { margin-bottom: 6px; }
.post-body a { color: var(--h-accent); }
.post-toc { background: var(--h-surface); border-radius: 14px; padding: 18px 22px; margin: 22px 0; }
.post-toc p { margin: 0 0 6px; }
.post-toc ul { margin: 0; }
.post-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 40px; padding: 24px 26px; border-radius: 18px; background: var(--h-accent-soft); }
.post-cta__title { font-family: var(--h-head); font-weight: 600; font-size: 20px; }
.post-cta__text { font-size: 15px; color: #3c433a; margin-top: 4px; }
.post-related { max-width: 1100px; margin: 64px auto 0; }
@media (max-width: 600px) { .post-body { font-size: 16px; } .post-cta { padding: 20px; } .post-cta .btn { width: 100%; justify-content: center; } }

.blog-grid > article { margin: 0 !important; }
.blog-card__img img { max-width: none; }
