/* /blog/ - редизайн блога */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Onest:wght@400;500;600;700&display=swap");

.main--blog-hub {
  margin-bottom: 0;
}

.main--blog-hub .page-top {
  margin-bottom: 0;
}

.main--blog-hub .breadcrumbs {
  margin-bottom: 0;
}

.blog-hub {
  --bh-ink: #14161d;
  --bh-ink-70: #3d4250;
  --bh-ink-50: #6b7280;
  --bh-ink-30: #c4c9d4;
  --bh-surface: #f3f5f8;
  --bh-surface-2: #eaeef4;
  --bh-line: #e4e8ee;
  --bh-accent: #15a05a;
  --bh-accent-700: #0f7d45;
  --bh-accent-50: #e9f6ef;
  --bh-indigo: #4f46e5;
  --bh-indigo-50: #ecebfb;
  --bh-navy: #0f1320;
  --bh-r: 16px;
  --bh-r-sm: 10px;
  --bh-font-display: "Manrope", sans-serif;
  --bh-font-body: "Onest", sans-serif;
  color: var(--bh-ink);
  font-family: var(--bh-font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Hero */
.blog-hub__hero {
  padding: 8px 0 30px;
  position: relative;
  overflow: hidden;
}

.blog-hub__hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(21, 160, 90, 0.12) 0%, transparent 68%);
  pointer-events: none;
}

.blog-hub__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  background: var(--bh-accent-50);
  color: var(--bh-accent-700);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  position: relative;
}

.blog-hub__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bh-accent);
  box-shadow: 0 0 0 0 rgba(21, 160, 90, 0.5);
  animation: blog-hub-pulse 2.2s infinite;
}

.blog-hub__pulse--light {
  background: #6fe3a4;
  box-shadow: none;
  animation: none;
}

@keyframes blog-hub-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(21, 160, 90, 0.45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(21, 160, 90, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(21, 160, 90, 0);
  }
}

.blog-hub__title {
  font-family: var(--bh-font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.8vw, 50px);
  line-height: 1.06;
  letter-spacing: -1.4px;
  margin: 0 0 18px;
  max-width: 16ch;
}

.blog-hub__title em {
  font-style: normal;
  color: var(--bh-accent);
}

.blog-hub__lead {
  color: var(--bh-ink-70);
  font-size: 17px;
  line-height: 1.6;
  max-width: 560px;
  margin: 0;
}

/* Featured */
.blog-hub__featured-wrap {
  padding-bottom: 8px;
}

.blog-hub__featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--bh-navy);
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 70px rgba(15, 19, 32, 0.22);
  text-decoration: none;
  color: inherit;
}

.blog-hub__featured-cover {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  background: #11162a;
}

.blog-hub__featured-cover .blog-hub__cover-art {
  position: absolute;
  inset: 0;
}

.blog-hub__featured-body {
  padding: 34px;
  display: flex;
  flex-direction: column;
}

.blog-hub__featured-flag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  align-self: flex-start;
  background: rgba(79, 209, 138, 0.16);
  color: #6fe3a4;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.blog-hub__featured-body h2 {
  font-family: var(--bh-font-display);
  font-weight: 800;
  color: #fff;
  font-size: clamp(24px, 3.4vw, 33px);
  line-height: 1.12;
  letter-spacing: -0.8px;
  margin: 0 0 14px;
}

.blog-hub__featured-body p {
  color: #aab2c5;
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 56ch;
}

.blog-hub__featured-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.blog-hub__meta-line {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #8a92a6;
  font-size: 13.5px;
}

.blog-hub__featured-meta .blog-hub__meta-line {
  color: #8a92a6;
}

.blog-hub__meta-line span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-hub__meta-line svg {
  width: 15px;
  height: 15px;
  opacity: 0.8;
  flex-shrink: 0;
}

.blog-hub__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--bh-ink-30);
  flex-shrink: 0;
}

.blog-hub__featured-meta .blog-hub__dot {
  background: #4a5266;
}

.blog-hub__featured-read {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--bh-navy);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: var(--bh-r-sm);
  transition: all 0.18s;
}

.blog-hub__featured-read svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.blog-hub__featured:hover .blog-hub__featured-read {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.blog-hub__featured:hover .blog-hub__featured-read svg {
  transform: translateX(3px);
}

/* Toolbar */
.blog-hub__toolbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bh-line);
}

.blog-hub__toolbar-inner {
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.blog-hub__tb-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.blog-hub__cat-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-hub__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--bh-line);
  background: #fff;
  color: var(--bh-ink-70);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 100px;
  transition: all 0.16s;
  text-decoration: none;
}

.blog-hub__pill:hover {
  border-color: var(--bh-ink-50);
  color: var(--bh-ink);
}

.blog-hub__pill--active {
  background: var(--bh-navy);
  border-color: var(--bh-navy);
  color: #fff;
}

.blog-hub__search {
  margin-left: auto;
  position: relative;
  display: flex;
  align-items: center;
  min-width: 230px;
  flex: 1;
  max-width: 320px;
}

.blog-hub__search svg {
  position: absolute;
  left: 14px;
  width: 17px;
  height: 17px;
  color: var(--bh-ink-50);
  pointer-events: none;
}

.blog-hub__search input {
  width: 100%;
  font-family: "Onest", sans-serif;
  font-size: 14.5px;
  color: var(--bh-ink);
  background: var(--bh-surface);
  border: 1px solid var(--bh-line);
  border-radius: 100px;
  padding: 11px 16px 11px 40px;
  transition: all 0.16s;
  outline: none;
}

.blog-hub__search input:focus {
  background: #fff;
  border-color: var(--bh-accent);
  box-shadow: 0 0 0 4px var(--bh-accent-50);
}

.blog-hub__tags-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-items: center;
}

.blog-hub__tags-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--bh-ink-50);
  margin-right: 2px;
}

.blog-hub__tag-chip {
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--bh-ink-70);
  background: var(--bh-surface);
  border: 1px solid transparent;
  padding: 6px 12px;
  border-radius: 100px;
  transition: all 0.14s;
  font-family: "Onest", sans-serif;
}

.blog-hub__tag-chip:hover {
  background: var(--bh-surface-2);
}

.blog-hub__tag-chip--active {
  background: var(--bh-accent-50);
  color: var(--bh-accent-700);
  border-color: rgba(21, 160, 90, 0.3);
}

/* Grid */
.blog-hub__posts {
  padding: 40px 0 16px;
}

.blog-hub__posts-count {
  font-size: 13.5px;
  color: var(--bh-ink-50);
  margin-bottom: 22px;
}

.blog-hub__posts-count b {
  color: var(--bh-ink);
  font-weight: 700;
}

.blog-hub__grid,
.blog-hub__related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.blog-hub__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--bh-line);
  border-radius: var(--bh-r);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  text-decoration: none;
  color: inherit;
}

.blog-hub__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(20, 22, 29, 0.1);
  border-color: transparent;
  color: inherit;
}

.blog-hub__card-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-hub__card-cover .blog-hub__cover-art {
  position: absolute;
  inset: 0;
}

.blog-hub__card-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
}

.blog-hub__card-cat.is-soft {
  background: rgba(21, 160, 90, 0.92);
  color: #fff;
}

.blog-hub__card-cat.is-art {
  background: rgba(255, 255, 255, 0.92);
  color: var(--bh-navy);
}

.blog-hub__card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-hub__card-body h3 {
  font-family: var(--bh-font-display);
  font-weight: 700;
  font-size: 18.5px;
  line-height: 1.28;
  letter-spacing: -0.3px;
  margin: 0 0 9px;
}

.blog-hub__card:hover .blog-hub__card-body h3 {
  color: var(--bh-accent-700);
}

.blog-hub__card-body p {
  color: var(--bh-ink-70);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-hub__card-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--bh-ink-50);
}

.blog-hub__card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-hub__card-meta svg {
  width: 14px;
  height: 14px;
}

/* Cover art */
.blog-hub__cover-art {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.blog-hub__grain {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.16) 1px, transparent 0);
  background-size: 18px 18px;
}

.blog-hub__motif {
  width: 84px;
  height: 84px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.blog-hub__cover-art--large .blog-hub__motif {
  width: 110px;
  height: 110px;
}

.blog-hub__motif svg {
  width: 100%;
  height: 100%;
}

.cover-green,
.blog-hub__cover-art.cover-green {
  background: linear-gradient(135deg, #15a05a 0%, #0c8147 100%);
}

.cover-green .blog-hub__motif,
.blog-hub__cover-art.cover-green .blog-hub__motif {
  color: rgba(255, 255, 255, 0.92);
}

.cover-navy,
.blog-hub__cover-art.cover-navy {
  background: linear-gradient(135deg, #1b2236 0%, #0f1320 100%);
}

.cover-navy .blog-hub__motif,
.blog-hub__cover-art.cover-navy .blog-hub__motif {
  color: rgba(111, 227, 164, 0.9);
}

.cover-indigo,
.blog-hub__cover-art.cover-indigo {
  background: linear-gradient(135deg, #5b52e8 0%, #4f46e5 100%);
}

.cover-indigo .blog-hub__motif,
.blog-hub__cover-art.cover-indigo .blog-hub__motif {
  color: rgba(255, 255, 255, 0.9);
}

.cover-amber,
.blog-hub__cover-art.cover-amber {
  background: linear-gradient(135deg, #e0901f 0%, #c9760c 100%);
}

.cover-amber .blog-hub__motif,
.blog-hub__cover-art.cover-amber .blog-hub__motif {
  color: rgba(255, 255, 255, 0.92);
}

.cover-cyan,
.blog-hub__cover-art.cover-cyan {
  background: linear-gradient(135deg, #12b3c6 0%, #0e8ea0 100%);
}

.cover-cyan .blog-hub__motif,
.blog-hub__cover-art.cover-cyan .blog-hub__motif {
  color: rgba(255, 255, 255, 0.92);
}

.cover-violet,
.blog-hub__cover-art.cover-violet {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.cover-violet .blog-hub__motif,
.blog-hub__cover-art.cover-violet .blog-hub__motif {
  color: rgba(255, 255, 255, 0.94);
}

.cover-rose,
.blog-hub__cover-art.cover-rose {
  background: linear-gradient(135deg, #e0466e 0%, #b8325a 100%);
}

.cover-rose .blog-hub__motif,
.blog-hub__cover-art.cover-rose .blog-hub__motif {
  color: rgba(255, 255, 255, 0.94);
}

.blog-hub__empty {
  display: none;
  text-align: center;
  padding: 60px 20px;
  color: var(--bh-ink-50);
}

.blog-hub__empty--show {
  display: block;
}

.blog-hub__empty svg {
  width: 40px;
  height: 40px;
  color: var(--bh-ink-30);
  margin-bottom: 14px;
}

.blog-hub__empty h3 {
  font-family: "Manrope", sans-serif;
  font-size: 19px;
  color: var(--bh-ink);
  margin: 0 0 6px;
}

.blog-hub__card.blog-hub__card--hidden,
.blog-hub__featured-wrap.blog-hub__featured-wrap--hidden {
  display: none;
}

/* Newsletter */
.blog-hub__news {
  padding: 16px 0 64px;
}

.blog-hub__news-inner {
  background: var(--bh-surface);
  border: 1px solid var(--bh-line);
  border-radius: 20px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

.blog-hub__news-title {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.6px;
  margin: 0 0 8px;
}

.blog-hub__news-text {
  color: var(--bh-ink-70);
  font-size: 15px;
  max-width: 46ch;
  margin: 0;
}

.blog-hub__news-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.blog-hub__news-form input {
  flex: 1;
  min-width: 200px;
  font-family: "Onest", sans-serif;
  font-size: 14.5px;
  background: #fff;
  border: 1px solid var(--bh-line);
  border-radius: var(--bh-r-sm);
  padding: 13px 16px;
  outline: none;
  transition: all 0.16s;
}

.blog-hub__news-form input:focus {
  border-color: var(--bh-accent);
  box-shadow: 0 0 0 4px var(--bh-accent-50);
}

.blog-hub__news-note {
  font-size: 12px;
  color: var(--bh-ink-50);
  margin: 0;
  grid-column: 1 / -1;
}

.blog-hub__news-status {
  font-size: 13px;
  margin: 0;
  grid-column: 1 / -1;
}

.blog-hub__news-status:empty {
  display: none;
}

.blog-hub__news-status--success {
  color: var(--bh-accent-700);
}

.blog-hub__news-status--error {
  color: #dc2626;
}

.blog-hub__news-status--pending {
  color: var(--bh-ink-50);
}

.blog-hub__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* CTA */
.blog-hub__cta {
  background: var(--bh-navy);
  position: relative;
  overflow: hidden;
}

.blog-hub__cta::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(21, 160, 90, 0.4) 0%, transparent 65%);
}

.blog-hub__cta .container {
  position: relative;
  padding-top: 72px;
  padding-bottom: 72px;
  text-align: center;
}

.blog-hub__cta-title {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  color: #fff;
  font-size: clamp(26px, 4.6vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.9px;
  margin: 0 0 12px;
}

.blog-hub__cta-text {
  color: #9aa3b6;
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto 32px;
}

.blog-hub__cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.blog-hub__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-family: "Onest", sans-serif;
  font-weight: 600;
  border: none;
  transition: all 0.18s;
  white-space: nowrap;
  text-decoration: none;
}

.blog-hub__btn--primary {
  background: var(--bh-accent);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--bh-r-sm);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  border: none;
}

.blog-hub__btn--primary:hover {
  background: var(--bh-accent-700);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(21, 160, 90, 0.3);
}

.blog-hub__btn--white {
  background: #fff;
  color: var(--bh-navy);
  padding: 14px 30px;
  border-radius: var(--bh-r-sm);
  font-size: 15px;
  font-weight: 700;
}

.blog-hub__btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
  color: var(--bh-navy);
}

.blog-hub__btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 14px 30px;
  border-radius: var(--bh-r-sm);
  font-size: 15px;
}

.blog-hub__btn--outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

/* Article */
.blog-hub__read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--bh-accent);
  z-index: 3000;
  transition: width 0.1s linear;
}

.blog-hub__article-hero {
  padding: 44px 0 30px;
}

.blog-hub__art-cat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.blog-hub__art-cat.is-art {
  background: var(--bh-accent-50);
  color: var(--bh-accent-700);
}

.blog-hub__art-cat.is-soft {
  background: var(--bh-indigo-50);
  color: var(--bh-indigo);
}

.blog-hub__article-title {
  font-family: var(--bh-font-display);
  font-weight: 800;
  font-size: clamp(30px, 5.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -1.2px;
  margin: 0 0 18px;
  max-width: 20ch;
  text-wrap: balance;
}

.blog-hub__lede {
  color: var(--bh-ink-70);
  font-size: 18px;
  line-height: 1.6;
  max-width: 64ch;
  margin: 0 0 24px;
}

.blog-hub__art-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.blog-hub__art-author {
  display: flex;
  align-items: center;
  gap: 11px;
}

.blog-hub__art-ava {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bh-accent-50);
  color: var(--bh-accent);
  font-family: var(--bh-font-display);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.blog-hub__who {
  font-size: 14px;
  font-weight: 600;
  color: var(--bh-ink);
}

.blog-hub__role {
  font-size: 12.5px;
  color: var(--bh-ink-50);
}

.blog-hub__meta-sep {
  width: 1px;
  height: 30px;
  background: var(--bh-line);
}

.blog-hub__art-share {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.blog-hub__share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--bh-line);
  background: #fff;
  color: var(--bh-ink-70);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.16s;
  padding: 0;
}

.blog-hub__share-btn:hover {
  border-color: var(--bh-accent);
  color: var(--bh-accent);
  background: var(--bh-accent-50);
}

.blog-hub__share-btn svg {
  width: 17px;
  height: 17px;
}

.blog-hub__art-cover {
  aspect-ratio: 21 / 9;
  max-height: 380px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  margin-bottom: 8px;
}

.blog-hub__art-cover .blog-hub__cover-art {
  position: absolute;
  inset: 0;
}

.blog-hub__art-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
  padding: 16px 0 24px;
}

.blog-hub__toc {
  display: none;
}

.blog-hub__toc-inner {
  position: sticky;
  top: 94px;
}

.blog-hub__toc h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--bh-ink-50);
  margin: 0 0 14px;
}

.blog-hub__toc ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 2px solid var(--bh-line);
  margin: 0;
  padding: 0;
}

.blog-hub__toc a {
  display: block;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--bh-ink-50);
  padding: 7px 0 7px 16px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  transition: all 0.16s;
  text-decoration: none;
}

.blog-hub__toc a:hover {
  color: var(--bh-ink);
}

.blog-hub__toc a.blog-hub__toc-link--active {
  color: var(--bh-accent-700);
  border-left-color: var(--bh-accent);
  font-weight: 600;
}

.blog-hub__art-body {
  max-width: 720px;
}

.blog-hub__art-body > * + * {
  margin-top: 22px;
}

.blog-hub__art-body h2 {
  font-family: var(--bh-font-display);
  font-weight: 800;
  font-size: 27px;
  letter-spacing: -0.6px;
  line-height: 1.2;
  margin-top: 44px;
  scroll-margin-top: 96px;
  color: var(--bh-ink);
}

.blog-hub__art-body h3 {
  font-family: var(--bh-font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.3px;
  margin-top: 32px;
  scroll-margin-top: 96px;
  color: var(--bh-ink);
}

.blog-hub__art-body p {
  font-family: var(--bh-font-body);
  font-size: 17px;
  line-height: 1.72;
  color: var(--bh-ink-70);
}

.blog-hub__art-body li {
  font-family: var(--bh-font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--bh-ink-70);
}

.blog-hub__art-body strong {
  color: var(--bh-ink);
  font-weight: 700;
}

.blog-hub__art-body a:not(.blog-hub__btn) {
  color: var(--bh-accent-700);
  font-weight: 600;
  border-bottom: 1px solid rgba(21, 160, 90, 0.3);
  text-decoration: none;
}

.blog-hub__art-body a:not(.blog-hub__btn):hover {
  border-bottom-color: var(--bh-accent);
}

.blog-hub__art-cta .blog-hub__btn--primary {
  border-bottom: none;
}

.blog-hub__art-body ul,
.blog-hub__art-body ol {
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-hub__art-body li::marker {
  color: var(--bh-accent);
}

.blog-hub__art-body figure {
  margin: 0;
}

.blog-hub__art-body figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--bh-r);
  border: 1px solid var(--bh-line);
}

.blog-hub__art-body figcaption {
  font-size: 13px;
  color: var(--bh-ink-50);
  margin-top: 10px;
  text-align: center;
}

.blog-hub__art-body pre.blog-hub__code {
  margin: 0;
  background: #0f1320;
  border: 1px solid #1d2435;
  border-radius: var(--bh-r-sm);
  padding: 14px 16px;
  overflow-x: auto;
}

.blog-hub__art-body pre.blog-hub__code code {
  font-family: "JetBrains Mono", "Fira Code", "Consolas", monospace;
  font-size: 14px;
  line-height: 1.55;
  color: #e8edf7;
  white-space: pre-wrap;
  word-break: break-word;
}

.blog-hub__art-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--bh-line);
}

.blog-hub__tag-item {
  font-size: 13px;
  font-weight: 600;
  color: var(--bh-ink-70);
  background: var(--bh-surface);
  padding: 7px 14px;
  border-radius: 100px;
}

.blog-hub__author-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bh-surface);
  border: 1px solid var(--bh-line);
  border-radius: var(--bh-r);
  padding: 24px;
  margin-top: 24px;
}

.blog-hub__author-card .blog-hub__art-ava {
  width: 56px;
  height: 56px;
  font-size: 20px;
}

.blog-hub__author-card .blog-hub__who {
  font-family: var(--bh-font-display);
  font-weight: 700;
  font-size: 16px;
}

.blog-hub__author-card .blog-hub__role {
  font-size: 13px;
  margin-bottom: 8px;
}

.blog-hub__author-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--bh-ink-70);
  margin: 0;
}

.blog-hub__art-cta {
  background: var(--bh-navy);
  border-radius: 20px;
  padding: 32px 34px;
  margin-top: 32px;
  position: relative;
  overflow: hidden;
}

.blog-hub__art-cta::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(21, 160, 90, 0.35) 0%, transparent 65%);
}

.blog-hub__art-cta-inner {
  position: relative;
}

.blog-hub__art-cta h3 {
  font-family: var(--bh-font-display);
  font-weight: 800;
  font-size: 23px;
  color: #fff;
  letter-spacing: -0.5px;
  margin: 0 0 10px;
}

.blog-hub__art-cta p {
  color: #9aa3b6;
  font-size: 15px;
  margin: 0 0 22px;
  max-width: 50ch;
}

.blog-hub__related {
  background: var(--bh-surface);
}

.blog-hub__related .container {
  padding-top: 64px;
  padding-bottom: 64px;
}

.blog-hub__sec-head {
  margin-bottom: 32px;
}

.blog-hub__sec-label {
  display: inline-block;
  color: var(--bh-accent);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 10px;
}

.blog-hub__sec-head h2 {
  font-family: var(--bh-font-display);
  font-weight: 800;
  font-size: clamp(24px, 4vw, 32px);
  letter-spacing: -0.8px;
  margin: 0;
}

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

  .blog-hub__news-inner {
    grid-template-columns: 1.2fr 1fr;
  }
}

@media (min-width: 880px) {
  .blog-hub__featured {
    grid-template-columns: 1.05fr 1fr;
  }

  .blog-hub__featured-cover {
    min-height: 100%;
  }

  .blog-hub__grid,
  .blog-hub__related-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .blog-hub__art-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 56px;
  }

  .blog-hub__art-layout--solo {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-hub__art-layout:not(:has(.blog-hub__toc)) {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-hub__art-layout--solo .blog-hub__art-body {
    grid-column: 1 / -1;
    max-width: 720px;
  }

  .blog-hub__art-layout:not(:has(.blog-hub__toc)) .blog-hub__art-body {
    grid-column: 1 / -1;
    max-width: 720px;
  }

  .blog-hub__art-layout:has(.blog-hub__toc) .blog-hub__toc {
    grid-column: 1;
  }

  .blog-hub__art-layout:has(.blog-hub__toc) .blog-hub__art-body {
    grid-column: 2;
  }

  .blog-hub__toc {
    display: block;
  }
}

@media (max-width: 767px) {
  .blog-hub__search {
    margin-left: 0;
    max-width: none;
    width: 100%;
  }

  .blog-hub__featured-read {
    margin-left: 0;
  }

  .blog-hub__art-share {
    margin-left: 0;
    width: 100%;
  }

  .blog-hub__meta-sep {
    display: none;
  }
}
