/* «Полезные материалы» и страница статьи */
.materials-page { padding-top: 130px; padding-bottom: 40px; }
.materials-title { font-size: clamp(38px, 6vw, 68px); margin-bottom: 44px; overflow-wrap: anywhere; }
.materials-title--small { margin: 22px 0 32px; }
.materials-more { text-align: center; margin-top: 36px; }
.materials-empty { color: var(--color-text-muted); padding: 32px 0; }
.materials-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.materials-filter { padding: 6px 14px; border-radius: 50px; border: 1px solid rgba(255,255,255,.08); font-size: 13px; color: rgba(255,255,255,.65); text-decoration: none; transition: border-color .2s, color .2s; }
.materials-filter:hover { border-color: rgba(255,255,255,.3); color: #fff; }
.materials-filter.is-active { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.05); color: #fff; }
.materials-back { font-size: 14px; color: rgba(255,255,255,.45); text-decoration: none; transition: color .2s; }
.materials-back:hover { color: #fff; }
.materials-pager { display: flex; justify-content: center; gap: 12px; margin-top: 36px; }
.materials-cta { margin-top: 56px; padding: 44px; text-align: center; border-radius: 28px; background: radial-gradient(ellipse at center, rgba(255,255,255,.05), transparent 70%); }
.materials-cta h2 { font-size: 30px; margin-bottom: 10px; }
.materials-cta p { color: var(--color-text-secondary); margin-bottom: 22px; }
.blog-card { display: flex; flex-direction: column; }
.blog-card--link { text-decoration: none; color: inherit; }
.blog-card--link .more { font-size: 13px; font-weight: 500; opacity: .7; }

.article { max-width: 760px; margin: 0 auto; padding: 130px 24px 70px; position: relative; z-index: 2; }
.article h1 { font-size: clamp(34px, 5vw, 50px); margin: 22px 0 10px; overflow-wrap: anywhere; }
.article-meta { font-size: 13px; color: rgba(255,255,255,.42); margin-bottom: 36px; }
.article-body { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.82); overflow-wrap: anywhere; }
.article-body h2 { font-size: 26px; font-weight: 500; letter-spacing: -.02em; color: #fff; margin: 32px 0 12px; }
.article-body h3 { font-size: 20px; font-weight: 500; color: #fff; margin: 26px 0 10px; }
.article-body p { margin-bottom: 14px; }
.article-body ul, .article-body ol { margin: 0 0 14px 22px; }
.article-body a { color: #fff; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }
.article-body blockquote { margin: 18px 0; padding: 4px 0 4px 18px; border-left: 2px solid rgba(255,255,255,.25); color: rgba(255,255,255,.7); }
.article-body pre { margin: 18px 0; padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); overflow-x: auto; font-size: 13.5px; }
.article-body code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }
.article-body figure { margin: 20px 0; }
.article-body img { max-width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid rgba(255,255,255,.08); }
.article-body figcaption { font-size: 13px; color: rgba(255,255,255,.42); margin-top: 8px; }
.preview-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 200; display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; padding: 8px 20px; background: #e6b422; color: #000; font-size: 14px; font-weight: 500; }
body.is-preview .header { top: 38px; }
@media (max-width: 768px) {
  .materials-page { padding-top: 100px; }
  .article { padding-top: 100px; }
  .materials-cta { padding: 28px 16px; }
}
