.editorial-post {
  --tutorial-paper-primary: #2563eb;
  --tutorial-paper-primary-soft: #eff4ff;
  --tutorial-paper-muted: #64748b;
  --tutorial-paper-border: #e2e8f0;
  --tutorial-paper-surface: #f8fafc;
  max-width: 820px;
}

.editorial-post .blog-post__header {
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.editorial-post .post-content {
  counter-reset: none;
}

.editorial-post .post-content .post-lede {
  max-width: 100%;
  margin: 0 0 3.5rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  color: var(--ink);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(37, 99, 235, 0.02));
  border-left: 4px solid var(--tutorial-paper-primary);
  border-radius: 0 8px 8px 0;
  font-family: inherit;
  font-size: 1.05rem;
  line-height: 1.7;
}

.editorial-post .post-content .post-note {
  color: var(--tutorial-paper-muted);
  background: var(--tutorial-paper-surface);
  border: 1px solid var(--tutorial-paper-border);
}

.editorial-post .post-content h2 {
  display: inline-block;
  margin: 3.75rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--tutorial-paper-primary);
  font-size: clamp(1.55rem, 4vw, 1.9rem);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: 0;
}

.editorial-post .post-content h2::before {
  content: none;
  display: none;
}

.editorial-post .post-content h2 + p {
  color: inherit;
  font-size: 1.02rem;
}

.editorial-post .post-content .tutorial-steps {
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.editorial-post .post-content .tutorial-steps li {
  background: #fff;
  border: 1px solid var(--tutorial-paper-border);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
}

.editorial-post .post-content .tutorial-steps li::before {
  color: var(--tutorial-paper-primary);
}

.editorial-post .visual-panel {
  border: 1px solid var(--tutorial-paper-border);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
}

.editorial-post .visual-panel__heading p {
  color: var(--tutorial-paper-primary);
}

.editorial-post .post-figure img {
  border-color: var(--tutorial-paper-border);
  box-shadow: none;
}

.editorial-post .post-content .tutorial-conclusion {
  background: var(--tutorial-paper-primary-soft);
  border-left-color: var(--tutorial-paper-primary);
}

.editorial-post .post-content .tutorial-discussion {
  background: #fff;
  border-color: var(--tutorial-paper-border);
}

@media print {
  .editorial-post .visual-panel,
  .editorial-post .post-content .tutorial-steps li {
    box-shadow: none;
  }
}
