@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/landing/material-symbols-outlined.ttf') format('truetype');
}

:root {
  --blog-bg: #fcf8ff;
  --blog-surface: #ffffff;
  --blog-text: #1c1a24;
  --blog-muted: #6d6980;
  --blog-primary: #5639e5;
  --blog-primary-soft: #6f57ff;
  --blog-border: #e5e0ee;
  --blog-radius: 1.25rem;
  --blog-max: 720px;
  --blog-header-h: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* clip, не hidden — иначе position: sticky у боковых колонок не работает */
  overflow-x: clip;
  overflow-y: auto;
  overscroll-behavior-y: none;
}

body.blog-page {
  overflow-x: clip;
}

body.blog-page {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--blog-bg);
  color: var(--blog-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  vertical-align: middle;
}

.blog-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 224, 238, 0.9);
}

.blog-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem;
  height: var(--blog-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.blog-logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--blog-primary-soft);
  text-decoration: none;
}

.blog-nav {
  display: none;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .blog-nav {
    display: flex;
  }
}

.blog-nav-link {
  color: var(--blog-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s;
}

.blog-nav-link:hover,
.blog-nav-link.is-active {
  color: var(--blog-primary);
}

.blog-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0 1rem;
  border-radius: 0.75rem;
  background: var(--blog-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}

.blog-cta:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.blog-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1rem 5rem;
}

.blog-hero {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.blog-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blog-primary);
}

.blog-hero-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.blog-hero-sub {
  margin: 0;
  color: var(--blog-muted);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.blog-grid-wrap {
  margin-top: 1rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background: var(--blog-surface);
  border-radius: var(--blog-radius);
  overflow: hidden;
  border: 1px solid var(--blog-border);
  box-shadow: 0 4px 24px -8px rgba(28, 26, 36, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -10px rgba(86, 57, 229, 0.18);
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.blog-card-cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #f1ecfa;
}

.blog-card-cover--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blog-primary-soft);
}

.blog-card-cover--placeholder .material-symbols-outlined {
  font-size: 3rem;
  opacity: 0.35;
}

.blog-card-body {
  padding: 1.125rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #f1ecfa;
  color: var(--blog-primary);
  font-size: 0.75rem;
  font-weight: 600;
}

.blog-card-title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.blog-card-sub {
  margin: 0 0 1rem;
  color: var(--blog-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  color: var(--blog-muted);
  font-size: 0.8125rem;
}

.blog-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--blog-muted);
  padding: 3rem 1rem;
}

/* Article page */
.article-main {
  max-width: calc(var(--blog-max) + 2rem);
}

.article-shell {
  background: var(--blog-surface);
  border-radius: calc(var(--blog-radius) + 0.25rem);
  border: 1px solid var(--blog-border);
  box-shadow: 0 8px 40px -16px rgba(28, 26, 36, 0.12);
  padding: 1.5rem 1.25rem 2rem;
}

@media (min-width: 768px) {
  .article-shell {
    padding: 2rem 2.5rem 2.5rem;
  }
}

.article-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}

.article-author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #6f57ff, #c7bfff);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.article-author-name {
  font-weight: 700;
  font-size: 0.9375rem;
}

.article-author-bio {
  font-size: 0.8125rem;
  color: var(--blog-muted);
  margin-top: 0.125rem;
}

.article-tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #f1ecfa;
  color: var(--blog-primary);
  font-size: 0.75rem;
  font-weight: 600;
}

.article-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.625rem, 4.5vw, 2.375rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.article-lead {
  margin: 0 0 1rem;
  color: var(--blog-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--blog-muted);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--blog-border);
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.article-cover {
  margin: 0 0 1.75rem;
  border-radius: 1.125rem;
  overflow: hidden;
  box-shadow:
    0 4px 6px -1px rgba(42, 36, 58, 0.07),
    0 14px 28px -8px rgba(79, 55, 138, 0.18);
  background: #f1ecfa;
}

.article-cover img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  vertical-align: middle;
}

.article-content {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #2a2833;
}

.article-content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.375rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: var(--blog-text);
}

.article-content h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--blog-text);
}

.article-content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
}

.article-content ol li {
  margin-bottom: 0.65rem;
  padding-left: 0.15rem;
}

.article-sources {
  margin: 2.5rem 0 0;
  padding: 1.35rem 1.25rem 1.15rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, #faf8ff 0%, #f6f3fc 100%);
  border: 1px solid var(--blog-border);
}

.article-sources-title {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blog-muted);
}

.article-sources-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.article-sources-list li {
  position: relative;
  padding-left: 1rem;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--blog-text);
}

.article-sources-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blog-primary);
  opacity: 0.55;
}

.article-sources-name {
  font-weight: 500;
}

.article-content p {
  margin: 0 0 1rem;
}

.article-content ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.article-content li {
  margin-bottom: 0.35rem;
}

.article-content a {
  color: var(--blog-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-content strong {
  font-weight: 700;
  color: var(--blog-text);
}

.article-figure {
  margin: 1.75rem auto;
  max-width: 100%;
  border-radius: 1.125rem;
  overflow: hidden;
  background: #f1ecfa;
  box-shadow:
    0 2px 4px -1px rgba(42, 36, 58, 0.06),
    0 10px 22px -10px rgba(79, 55, 138, 0.14);
}

.article-figure--inline {
  max-width: min(520px, 92%);
  margin: 1.5rem auto;
  border-radius: 1rem;
  box-shadow:
    0 2px 6px -2px rgba(42, 36, 58, 0.08),
    0 8px 20px -6px rgba(79, 55, 138, 0.12);
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  vertical-align: middle;
}

.article-figure--inline img {
  max-height: 260px;
}

.article-figure-caption {
  margin: 0;
  padding: 0.55rem 0.85rem 0.65rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--blog-muted);
  text-align: center;
  background: linear-gradient(180deg, rgba(248, 246, 252, 0.6) 0%, #f8f6fc 100%);
}

.article-sources-line {
  display: none;
}

.article-promo {
  margin-top: 2.5rem;
  padding: 1.25rem 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #f6f1ff 0%, #fcf8ff 100%);
  border: 1px solid var(--blog-border);
}

.article-promo h2 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

.article-promo p {
  margin: 0 0 1rem;
  color: var(--blog-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* Рекомендуем почитать — лента как у Дзена */
.article-recommended {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--blog-border);
}

.article-recommended-title {
  margin: 0 0 1.25rem;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.article-recommended-list {
  display: flex;
  flex-direction: column;
}

.article-recommended-item {
  border-bottom: 1px solid var(--blog-border);
}

.article-recommended-item:last-child {
  border-bottom: none;
}

.article-recommended-link {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.125rem 0;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.15s;
}

.article-recommended-link:hover {
  opacity: 0.88;
}

.article-recommended-link:hover .article-recommended-item-title {
  color: var(--blog-primary);
}

.article-recommended-media {
  position: relative;
  flex: 0 0 7.5rem;
  width: 7.5rem;
  aspect-ratio: 4 / 3;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #f1ecfa;
}

@media (min-width: 640px) {
  .article-recommended-media {
    flex-basis: 9.5rem;
    width: 9.5rem;
  }
}

.article-recommended-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-recommended-media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blog-primary-soft);
}

.article-recommended-media--placeholder > .material-symbols-outlined:first-child {
  font-size: 2rem;
  opacity: 0.35;
}

.article-recommended-time {
  position: absolute;
  right: 0.4rem;
  bottom: 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.article-recommended-time .material-symbols-outlined {
  font-size: 0.8125rem;
}

.article-recommended-body {
  flex: 1;
  min-width: 0;
  padding-top: 0.1rem;
}

.article-recommended-author {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  margin-bottom: 0.45rem;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--blog-muted);
}

.article-recommended-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blog-primary) 0%, var(--blog-primary-soft) 100%);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  flex-shrink: 0;
}

.article-recommended-author-name {
  font-weight: 600;
  color: var(--blog-text);
}

.article-recommended-author-meta {
  color: var(--blog-muted);
}

.article-recommended-item-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  transition: color 0.15s;
}

@media (min-width: 640px) {
  .article-recommended-item-title {
    font-size: 1.0625rem;
  }
}

.article-recommended-item-sub {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--blog-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-float-bar {
  position: fixed;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  background: rgba(28, 26, 36, 0.92);
  color: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}

.float-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.float-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.float-btn.is-active {
  color: #c7bfff;
}

.float-btn.is-active .material-symbols-outlined {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.float-divider {
  width: 1px;
  height: 1.25rem;
  background: rgba(255, 255, 255, 0.2);
}

.float-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
}

.blog-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1rem 2.5rem;
  text-align: center;
  color: var(--blog-muted);
  font-size: 0.875rem;
}

.blog-footer a {
  color: var(--blog-primary);
  text-decoration: none;
}

.blog-footer a:hover {
  text-decoration: underline;
}

.article-page .blog-main {
  padding-bottom: 6rem;
}

/* ── Dzen-like 3-column article layout ── */
:root {
  --blog-sidebar-w: 13.75rem;
  --blog-rail-w: 17.5rem;
  --blog-layout-max: 1280px;
}

.blog-article-layout {
  display: block;
  max-width: var(--blog-layout-max);
  margin: 0 auto;
  padding: 0 1rem 5rem;
}

.blog-sidebar {
  display: none;
}

.blog-sidebar--left {
  padding-top: 0.5rem;
}

@media (min-width: 1100px) {
  .blog-sidebar--left .blog-side-sticky {
    position: sticky;
    top: calc(var(--blog-header-h) + 1rem);
  }
}

.blog-side-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.blog-side-nav-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.75rem;
  color: var(--blog-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.blog-side-nav-item .material-symbols-outlined {
  font-size: 1.25rem;
  opacity: 0.85;
}

.blog-side-nav-item:hover {
  background: rgba(111, 87, 255, 0.08);
  color: var(--blog-text);
}

.blog-side-nav-item.is-active {
  background: rgba(111, 87, 255, 0.12);
  color: var(--blog-primary);
  font-weight: 600;
}

.blog-side-topic {
  margin-top: 1.75rem;
  padding: 0.85rem 0.75rem;
  border-radius: 0.875rem;
  background: var(--blog-surface);
  border: 1px solid var(--blog-border);
}

.blog-side-topic-label {
  margin: 0 0 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blog-muted);
}

.blog-side-topic-name {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--blog-primary);
}

.blog-side-download {
  display: none;
  margin-top: 1.25rem;
  width: 100%;
  text-align: center;
}

@media (min-width: 1100px) {
  .blog-sidebar--left .blog-side-download {
    display: inline-flex;
  }
}

.blog-sidebar--right {
  padding-top: 0.25rem;
}

.sidebar-topic-chip {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(111, 87, 255, 0.1);
  color: var(--blog-primary);
  font-size: 0.8125rem;
  font-weight: 600;
}

.sidebar-rail {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: visible;
}

.sidebar-module-wrap {
  position: relative;
}

.sidebar-module {
  position: sticky;
  top: calc(var(--blog-header-h) + 1rem);
  z-index: 2;
  margin-bottom: 0;
  padding: 1rem 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid var(--blog-border);
  background: var(--blog-surface);
  box-shadow:
    0 1px 2px rgba(42, 36, 58, 0.04),
    0 8px 24px -8px rgba(79, 55, 138, 0.12);
  transition: box-shadow 0.2s ease;
}

.sidebar-module-wrap.is-active .sidebar-module {
  box-shadow:
    0 2px 4px rgba(42, 36, 58, 0.06),
    0 12px 28px -8px rgba(79, 55, 138, 0.18);
}

.sidebar-module--nav {
  background: var(--blog-surface);
  border-color: var(--blog-border);
  padding: 0.65rem 0.5rem 0.85rem;
}

.sidebar-module--left .blog-side-topic {
  margin-top: 1rem;
}

.sidebar-module--left .blog-side-download {
  display: inline-flex;
  margin-top: 0.85rem;
  width: 100%;
}

.blog-side-toc-item {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.45;
  font-weight: 600;
  color: var(--blog-text);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.15s;
}

.blog-side-toc-item:hover {
  color: var(--blog-primary);
}

.sidebar-module-text--compact {
  font-size: 0.875rem;
  margin-bottom: 0.65rem;
}

.sidebar-module--lavender {
  background: linear-gradient(145deg, #faf7ff 0%, #f3edff 100%);
  border-color: #e8dff8;
}

.sidebar-module--peach {
  background: linear-gradient(145deg, #fff9f6 0%, #ffefe8 100%);
  border-color: #f5ddd2;
}

.sidebar-module--mint {
  background: linear-gradient(145deg, #f6fffb 0%, #e8f8f0 100%);
  border-color: #d4eddf;
}

.sidebar-module--sky {
  background: linear-gradient(145deg, #f6faff 0%, #e8f2ff 100%);
  border-color: #d4e4f8;
}

.sidebar-module--rose {
  background: linear-gradient(145deg, #fff8fa 0%, #ffeef3 100%);
  border-color: #f5d9e3;
}

.sidebar-module-label {
  margin: 0 0 0.55rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blog-muted);
}

.sidebar-module-media {
  margin: 0 0 0.65rem;
  border-radius: 0.65rem;
  overflow: hidden;
}

.sidebar-module-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: cover;
}

.sidebar-module-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  font-weight: 500;
  color: var(--blog-text);
  letter-spacing: -0.01em;
}

.sidebar-module-sub {
  margin: 0.45rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--blog-muted);
}

.article-mobile-insights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 720px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}

.article-mobile-insights .sidebar-module {
  position: static;
  opacity: 1 !important;
  transform: none !important;
}

@media (min-width: 1100px) {
  .blog-article-layout {
    display: grid;
    grid-template-columns: var(--blog-sidebar-w) minmax(0, 1fr) var(--blog-rail-w);
    gap: 2rem 2.25rem;
    /* stretch — колонки = высота статьи, иначе sticky не работает */
    align-items: stretch;
  }

  .blog-article-layout--index {
    grid-template-columns: var(--blog-sidebar-w) minmax(0, 1fr);
  }

  .blog-sidebar {
    display: flex;
    flex-direction: column;
    overflow: visible;
    min-height: 0;
  }

  .blog-sidebar--left {
    position: relative;
  }

  .blog-sidebar--right {
    padding-top: 0.5rem;
    position: relative;
  }

  .blog-side-sticky {
    position: sticky;
    top: calc(var(--blog-header-h) + 1rem);
    z-index: 3;
    width: 100%;
  }

  .sidebar-rail--right {
    flex: 1;
    width: 100%;
  }

  .sidebar-module-wrap {
    box-sizing: border-box;
  }

  .blog-side-download {
    display: inline-flex;
  }

  .blog-article-layout .blog-main {
    max-width: none;
    margin: 0;
    padding: 1.5rem 0 6rem;
  }

  .blog-article-layout--index .blog-main {
    padding-top: 1rem;
  }

  .article-shell {
    max-width: 680px;
    margin: 0 auto;
  }

  .article-mobile-insights {
    display: none;
  }
}

@media (max-width: 1099px) {
  .blog-sidebar--right {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .blog-card {
    transition: none;
  }
}
