/* The article uses the canonical Atlas document layout and selected site palette. */
/* Every addition is scoped to the blog; the shared chrome remains canonical. */
.showcase-blog .blog-main {
  padding-top: var(--space-16);
}

.showcase-blog .atlas-story {
  width: 100%;
}

.showcase-blog .blog-introduction {
  margin-bottom: var(--space-16);
}

.showcase-blog .blog-kicker {
  margin-bottom: var(--space-5);
  color: var(--color-muted);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.showcase-blog .blog-introduction h1 {
  margin: 0 0 var(--space-6);
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 4.25vw, 4.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: pretty;
}

.showcase-blog .atlas-prose p {
  max-width: none;
  margin: 0 0 var(--space-5);
  color: var(--color-body);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.showcase-blog .atlas-prose p:last-child {
  margin-bottom: 0;
}

.showcase-blog .blog-introduction .blog-lead {
  font-size: 1.1875rem;
  line-height: 1.65;
}

.showcase-blog .blog-introduction .blog-kicker {
  color: var(--color-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.showcase-blog .atlas-prose h2 {
  margin: 0 0 var(--space-5);
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.4vw, 2.05rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.showcase-blog .blog-figure {
  margin: var(--space-8) 0 0;
  max-width: var(--atlas-story-width);
}

.showcase-blog .blog-figure :is(iframe, img) {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-small);
  background: #fff8ed;
  color-scheme: light;
}

.showcase-blog .blog-figure--flow iframe {
  aspect-ratio: 1600 / 1596;
}

.showcase-blog .blog-figure--archive iframe {
  aspect-ratio: 1600 / 1200;
}

.showcase-blog .blog-figure--optimization iframe {
  aspect-ratio: 1600 / 1460;
}

.showcase-blog .blog-figure--stats iframe {
  aspect-ratio: 1600 / 1020;
}

.showcase-blog .blog-figure figcaption {
  max-width: var(--atlas-reading-width);
  margin-top: var(--space-4);
  color: var(--color-muted);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.showcase-blog .atlas-prose a {
  color: var(--color-amber-deep);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

.showcase-blog .atlas-prose a:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 5px;
}

.showcase-blog .blog-last-chapter {
  padding-bottom: var(--space-8);
}

@media (max-width: 59.99rem) {
  .showcase-blog .blog-main {
    padding-top: var(--space-10);
  }
}

@media (max-width: 39.99rem) {
  .showcase-blog .blog-main {
    padding-top: var(--space-8);
  }

  .showcase-blog .blog-introduction {
    margin-bottom: var(--space-12);
  }

  .showcase-blog .blog-introduction h1 {
    font-size: clamp(2.35rem, 8.7vw, 3.25rem);
    line-height: 1.08;
  }

  .showcase-blog .atlas-prose p {
    font-size: 1rem;
  }

  .showcase-blog .blog-introduction .blog-lead {
    font-size: 1.0625rem;
  }

  .showcase-blog .blog-figure {
    margin-top: var(--space-6);
  }
}
