/* Блог: список статей и страница статьи. Дополняет site.css. */
.bgrid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.bcard { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: transform .15s, border-color .15s; display: block; }
.bcard:hover { transform: translateY(-3px); border-color: var(--line-2); }
.bcard-cover { aspect-ratio: 16/9; background: var(--panel-2) center/cover no-repeat; }
.bcard-cover-none { display: flex; align-items: center; justify-content: center; color: var(--faint); font-family: 'Unbounded', sans-serif; letter-spacing: .1em; font-size: 20px; }
.bcard-b { padding: 18px 20px 22px; }
.bcard-badge { display: inline-block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-family: 'IBM Plex Mono', monospace; margin-bottom: 10px; }
.bcard-title { font-family: 'Unbounded', sans-serif; font-size: 18px; font-weight: 500; line-height: 1.3; margin-bottom: 10px; color: var(--text); }
.bcard-ex { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin-bottom: 14px; }
.bcard-date { color: var(--faint); font-size: 12.5px; font-family: 'IBM Plex Mono', monospace; }
.bempty { padding: 50px 24px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 6px; font-size: 16px; }
.bempty a { color: var(--accent); }

/* Статья */
.art { max-width: 760px; margin: 0 auto; padding: 0 24px 40px; }
.art-head h1 { font-family: 'Unbounded', sans-serif; font-weight: 700; letter-spacing: -.02em; font-size: clamp(26px, 4.5vw, 40px); line-height: 1.12; margin: 8px 0 14px; }
.art-meta { color: var(--faint); font-size: 13.5px; font-family: 'IBM Plex Mono', monospace; margin-bottom: 26px; }
.art-cover { aspect-ratio: 16/9; background: var(--panel-2) center/cover no-repeat; border-radius: 8px; margin-bottom: 30px; }
.art-body { max-width: none; }
.art-body h2 { margin-top: 36px; }
.art-body h3 { margin-top: 28px; }
.art-foot { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
