.single-post {
  --dc-header-height: 72px;
  background: var(--dc-bg);
}

.single-post .site-header__utility {
  display: none;
}

.single-post .site-header__inner,
.single-post .nav-list a {
  min-height: var(--dc-header-height);
}

.single-post .site-header .site-brand__logo {
  height: 64px;
}

.blog-article {
  padding-bottom: 84px;
  background:
    linear-gradient(180deg, rgba(255, 254, 253, 0.98) 0, rgba(255, 254, 253, 0.98) 580px, var(--dc-bg) 920px),
    var(--dc-bg);
}

.blog-article__masthead {
  padding: 22px 0 18px;
}

.blog-article__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 14px;
  color: var(--dc-muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.blog-article__breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

.blog-article__breadcrumb a:hover {
  color: var(--dc-primary);
}

.blog-article__breadcrumb span {
  color: rgba(104, 112, 120, 0.6);
}

.blog-article__header {
  display: grid;
  justify-items: center;
  max-width: 980px;
  margin-inline: auto;
  text-align: center;
}

.blog-article__category {
  margin-bottom: 8px;
  color: var(--dc-secondary-dark);
  font-size: 0.83rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
}

.blog-article__header h1 {
  max-width: 930px;
  margin: 0;
  color: var(--dc-primary-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 4.45vw, 4.35rem);
  font-weight: 500;
  line-height: 0.99;
  text-wrap: balance;
}

.blog-article__lead {
  max-width: 760px;
  margin: 11px auto 0;
  color: var(--dc-soft-ink);
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  line-height: 1.55;
  text-wrap: balance;
}

.blog-article__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  margin-top: 9px;
  color: var(--dc-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.blog-article__meta span[aria-hidden="true"] {
  color: var(--dc-secondary);
}

.blog-article__hero {
  overflow: hidden;
  aspect-ratio: 21 / 5;
  border-radius: 8px;
  background: var(--dc-surface-alt);
  box-shadow: 0 12px 34px rgba(23, 24, 76, 0.08);
}

.blog-article__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-article__reading {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(250px, 286px);
  gap: clamp(34px, 5vw, 64px);
  justify-content: center;
  align-items: start;
  padding-top: 28px;
}

.blog-article__content {
  min-width: 0;
}

.blog-article__content > * {
  max-width: 100%;
}

.blog-article__content > :first-child {
  margin-top: 0;
}

.blog-article__content p,
.blog-article__content li {
  color: var(--dc-soft-ink);
  font-size: 1.03rem;
  line-height: 1.72;
}

.blog-article__content p {
  margin: 0 0 1.25em;
}

.blog-article__content > p:first-child {
  color: var(--dc-ink);
  font-size: 1.11rem;
  line-height: 1.7;
}

.blog-article__content h2,
.blog-article__content h3 {
  scroll-margin-top: calc(var(--dc-header-height) + 30px);
  color: var(--dc-primary-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  text-wrap: balance;
}

.blog-article__content h2 {
  margin: 1.5em 0 0.55em;
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  line-height: 1.08;
}

.blog-article__content h3 {
  margin: 1.35em 0 0.5em;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.16;
}

.blog-article__content a {
  color: var(--dc-primary);
  font-weight: 680;
  text-decoration-color: rgba(47, 49, 139, 0.36);
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.blog-article__content a:hover {
  color: var(--dc-primary-dark);
  text-decoration-color: currentColor;
}

.blog-article__content ul,
.blog-article__content ol {
  display: grid;
  gap: 8px;
  margin: 0 0 1.5em;
  padding-left: 1.4em;
}

.blog-article__content li::marker {
  color: var(--dc-secondary-dark);
  font-weight: 800;
}

.blog-article__content blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--dc-secondary);
  color: var(--dc-primary-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
}

.blog-article__content blockquote p {
  margin: 0;
  color: inherit;
  font: inherit;
  line-height: 1.55;
}

.blog-article__content figure {
  margin: 34px 0;
}

.blog-article__content figure img {
  width: 100%;
  border-radius: 8px;
  background: var(--dc-surface-alt);
}

.blog-article__content figcaption {
  margin-top: 10px;
  color: var(--dc-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: center;
}

.blog-article__expert-note {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin: 26px 0 30px;
  padding: 18px 20px;
  border: 1px solid rgba(0, 162, 233, 0.18);
  border-radius: 8px;
  background: var(--dc-secondary-soft);
}

.blog-article__expert-icon {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, transparent 0 7px, var(--dc-secondary-dark) 7.5px 9px, transparent 9.5px),
    radial-gradient(ellipse at 50% 75%, transparent 0 14px, var(--dc-secondary-dark) 14.5px 16px, transparent 16.5px),
    rgba(0, 162, 233, 0.12);
}

.blog-article__expert-icon::after {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(0, 110, 166, 0.2);
  border-radius: 50%;
  content: "";
}

.blog-article__expert-note p {
  margin: 0;
  color: var(--dc-soft-ink);
  font-size: 0.91rem;
  line-height: 1.55;
}

.blog-article__expert-note .blog-article__expert-title {
  margin-bottom: 3px;
  color: var(--dc-primary-deep);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.35;
}

.blog-article__sidebar {
  position: sticky;
  top: calc(var(--dc-header-height) + 22px);
}

.blog-article__toc {
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--dc-line);
  border-radius: 8px;
  background: rgba(255, 254, 253, 0.98);
  box-shadow: 0 10px 28px rgba(23, 24, 76, 0.06);
}

.blog-article__toc h2 {
  margin: 0 0 16px;
  color: var(--dc-ink);
  font-size: 1rem;
  font-weight: 820;
  line-height: 1.3;
}

.blog-article__toc ol {
  position: relative;
  display: grid;
  gap: 0;
  max-height: min(52vh, 420px);
  margin: 0;
  padding: 0 0 0 18px;
  overflow-y: auto;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(47, 49, 139, 0.3) transparent;
}

.blog-article__toc ol::before {
  position: absolute;
  top: 11px;
  bottom: 11px;
  left: 4px;
  width: 1px;
  background: rgba(0, 162, 233, 0.42);
  content: "";
}

.blog-article__toc li {
  position: relative;
}

.blog-article__toc li::before {
  position: absolute;
  top: 17px;
  left: -18px;
  z-index: 1;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--dc-secondary);
  border-radius: 50%;
  background: var(--dc-surface);
  content: "";
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.blog-article__toc li.is-current::before {
  border-color: var(--dc-primary);
  background: var(--dc-primary);
  box-shadow: 0 0 0 3px rgba(47, 49, 139, 0.12);
  transform: scale(1.08);
}

.blog-article__toc ol a {
  display: block;
  padding: 9px 2px;
  color: var(--dc-soft-ink);
  font-size: 0.83rem;
  font-weight: 620;
  line-height: 1.35;
  text-decoration: none;
  transition: color 160ms ease;
}

.blog-article__toc ol a:hover,
.blog-article__toc ol a.is-current {
  color: var(--dc-primary);
}

.blog-article__toc ol a.is-current {
  font-weight: 780;
}

.blog-article__toc ol .is-subsection a {
  padding-left: 10px;
  color: var(--dc-muted);
  font-size: 0.78rem;
}

.blog-article__consultation {
  display: inline-flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--dc-primary);
  color: var(--dc-surface);
  font-size: 0.9rem;
  font-weight: 780;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.blog-article__consultation:hover {
  background: var(--dc-primary-dark);
  transform: translateY(-1px);
}

.blog-article__consultation svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

@media (max-width: 980px) {
  .blog-article {
    padding-bottom: 64px;
  }

  .blog-article__header h1 {
    max-width: 820px;
  }

  .blog-article__hero {
    aspect-ratio: 16 / 7;
  }

  .blog-article__reading {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 820px;
  }

  .blog-article__sidebar {
    position: static;
    grid-row: 1;
  }

  .blog-article__toc ol {
    max-height: 250px;
  }
}

@media (max-width: 640px) {
  .blog-article {
    padding-bottom: 52px;
  }

  .blog-article__masthead {
    padding: 18px 0 20px;
  }

  .blog-article__breadcrumb {
    gap: 6px 9px;
    margin-bottom: 16px;
    font-size: 0.78rem;
  }

  .blog-article__category {
    margin-bottom: 9px;
    font-size: 0.75rem;
  }

  .blog-article__header h1 {
    font-size: clamp(2.15rem, 10.5vw, 3rem);
    line-height: 1.02;
  }

  .blog-article__lead {
    margin-top: 13px;
    font-size: 0.98rem;
  }

  .blog-article__meta {
    margin-top: 10px;
    font-size: 0.82rem;
  }

  .blog-article__hero {
    width: calc(100vw - 28px);
    aspect-ratio: 4 / 3;
  }

  .blog-article__reading {
    width: calc(100vw - 28px);
    padding-top: 28px;
  }

  .blog-article__content p,
  .blog-article__content li {
    font-size: 1rem;
    line-height: 1.68;
  }

  .blog-article__content > p:first-child {
    font-size: 1.05rem;
  }

  .blog-article__content h2 {
    margin-top: 1.35em;
    font-size: 1.72rem;
  }

  .blog-article__expert-note {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .blog-article__expert-icon {
    width: 42px;
    height: 42px;
  }

  .blog-article__toc {
    padding: 18px;
  }

  .blog-article__toc ol {
    max-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-article__breadcrumb a,
  .blog-article__content a,
  .blog-article__consultation {
    transition: none;
  }

  .blog-article__toc li::before {
    transition: none;
  }
}
