/* ============ Blog article page ============
   Reference: ai-avatar-mockup-sections/mockup-sections/original/detail-blog.png
   (788px wide = 1440px desktop at ≈1/1.83 scale).
   Everything is scoped to .article-page / .article-* so the landing page
   is not affected. Header, final CTA and footer reuse the landing
   components from layout.css / sections.css. */

.article-page {
  --article-heading: var(--font-body);
  --article-card: #ffffff;
  --article-muted: #55545c;
  --article-radius: 12px;
  --article-divider-h: 28px;
  /* Same horizontal insets as .hero-shell, so every block lines up with the
     header, the final CTA and the footer (content max 1200px). The % part
     resolves against the full-width block that uses the variable. */
  --article-pad: 20px;
}

@media (min-width: 640px) {
  .article-page {
    --article-divider-h: 40px;
    --article-pad: 32px;
  }
}

@media (min-width: 1024px) {
  .article-page {
    --article-divider-h: 56px;
    --article-pad: 64px;
  }
}

@media (min-width: 1280px) {
  .article-page {
    --article-pad: 96px;
  }
}

@media (min-width: 1440px) {
  .article-page {
    --article-pad: max(112px, calc((100% - 1200px) / 2));
  }
}

.article-shell {
  width: 100%;
  padding-inline: var(--article-pad);
}

.article-page .site-header__list a[aria-current="page"] {
  color: var(--color-text);
}

/* ---- Shared bits ---- */

.article-hand {
  font-family: "Segoe Script", "Bradley Hand", "Snell Roundhand", cursive;
  line-height: 1.3;
  color: #3d3c44;
  white-space: nowrap;
  pointer-events: none;
}

/* Angular transition drawn by the existing divider SVGs: sits on the
   bottom edge of a zone and is filled with the colour of the next one. */
.article-divider {
  position: absolute;
  left: 0;
  bottom: -1px;
  z-index: 1;
  display: block;
  width: 100%;
  height: calc(var(--article-divider-h) + 1px);
  pointer-events: none;
}

.article-h2 {
  font-family: var(--article-heading);
  font-size: clamp(1.6rem, 1.25rem + 1.2vw, 2.125rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.article-section > p,
.article-content__intro {
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  line-height: 1.62;
  color: var(--article-muted);
}

.article-section > p + p {
  margin-top: 14px;
}

.article-section > .article-h2 + p {
  margin-top: 12px;
}

.article-section a:not([class]) {
  color: var(--color-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-section__lead {
  max-width: 620px;
}

.article-section__lead--wide {
  max-width: 760px;
}

/* ============ Hero ============
   Layout, collage and note are the landing hero (.hero, .hero__visual-wrap,
   .hero__visual-img, .hero__note in sections.css): the image is pulled down
   behind the zigzag exactly as on index.html. Only the text is article-specific. */

.article-hero__text {
  position: relative;
  z-index: 2;
}

/* The landing zigzag (hero-to-portfolio.svg) used as a mask, filled with sage */
.article-hero__divider {
  aspect-ratio: 1440 / 100;
  background-color: var(--color-sage);
  -webkit-mask: url("../img/dividers/hero-to-portfolio.svg") center / 100% 100% no-repeat;
  mask: url("../img/dividers/hero-to-portfolio.svg") center / 100% 100% no-repeat;
}

.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  font-size: 0.8125rem;
  color: var(--article-muted);
}

.article-hero__badge {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-blue);
}

.article-hero__title {
  margin-top: 22px;
  font-family: var(--article-heading);
  font-size: clamp(2.125rem, 0.2rem + 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.025em;
}

.article-hero__lead {
  max-width: 520px;
  margin-top: 22px;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.5;
  color: var(--article-muted);
}

.article-author {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 24px;
}

.article-author__photo {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e2e1dc;
}

.article-author__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.9375rem;
  line-height: 1.3;
}

.article-author__name {
  font-weight: 800;
}

.article-author__role {
  color: var(--article-muted);
}

.article-author__time {
  flex-basis: 100%;
  margin-top: -6px;
  padding-left: 84px;
  font-size: 0.9375rem;
  color: var(--color-text);
}

@media (min-width: 480px) {
  .article-author__time {
    flex-basis: auto;
    margin-top: 0;
    padding-left: 22px;
    border-left: 1px solid var(--color-line);
    line-height: 2.2;
  }
}

/* Final CTA is the landing component as is; only keep "AI-аватара?" whole */
.article-page .final-cta__accent {
  white-space: nowrap;
}

/* ============ Article body: TOC column + sage intro zone + main zone ============
   The TOC is a sibling of both zones inside .article-main. Mobile: it opens
   the sage zone. ≥900px: it sits in a column that spans both zones and
   sticks to the top of the viewport for the whole article. */

.article-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.article-aside {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
  padding: 40px var(--article-pad) 0;
  background-color: var(--color-sage);
}

.article-layout {
  position: relative;
  background-color: var(--color-sage);
  padding-block: 32px calc(var(--article-divider-h) + 24px);
}

.article-toc {
  padding: 24px 24px 22px;
  border-radius: var(--article-radius);
  background-color: var(--article-card);
  box-shadow: 0 6px 24px rgba(17, 11, 24, 0.06);
}

.article-toc__title {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-line);
  font-family: var(--article-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.article-toc__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
}

.article-toc__link {
  position: relative;
  display: block;
  padding: 8px 0 8px 28px;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--article-muted);
  transition: color 0.15s ease;
}

/* Round marker: grey ring, blue ring with a blue dot for the active item */
.article-toc__link::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2.5px solid #b9b9bb;
  background-color: var(--color-bg);
  box-sizing: border-box;
}

.article-toc__link:hover {
  color: var(--color-blue);
}

.article-toc__link.is-active {
  font-weight: 700;
  color: var(--color-text);
}

.article-toc__link.is-active::before {
  border-color: var(--color-blue);
  box-shadow: inset 0 0 0 2px var(--color-bg), inset 0 0 0 6px var(--color-blue);
}

.article-share__title {
  font-size: 0.875rem;
  color: var(--article-muted);
}

.article-share__list {
  display: flex;
  gap: 16px;
  margin-top: 14px;
}

.article-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--color-ink);
  border-radius: 50%;
  color: var(--color-ink);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.article-share__btn:hover {
  background-color: var(--color-ink);
  color: var(--color-text-on-ink);
}

.article-share__btn svg {
  display: block;
}

.article-share__status {
  min-height: 1.3em;
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--color-blue);
}

.article-aside__note {
  position: relative;
  display: none;
  width: max-content;
  margin-top: -8px;
  font-size: 1.3rem;
  transform: rotate(-9deg);
  transform-origin: left center;
}

.article-aside__arrow {
  position: absolute;
  left: calc(100% - 6px);
  bottom: -2px;
  width: 78px;
  height: auto;
  transform: rotate(9deg);
}

.article-content {
  min-width: 0;
}

.article-content__intro,
.article-content .article-section {
  max-width: 740px;
}

.article-section--first {
  margin-top: 26px;
}

.article-section {
  scroll-margin-top: 24px;
}

/* ---- Quote ---- */

.article-quote {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 20px;
  margin-top: 36px;
  padding: 28px 24px 30px;
  border-radius: var(--article-radius);
  overflow: hidden;
  background-color: var(--color-ink);
  color: var(--color-text-on-ink);
}

.article-quote__mark {
  grid-row: span 2;
  display: block;
  height: 0.62em;
  margin-top: -0.02em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5rem;
  font-weight: 700;
  line-height: 0.82;
  color: var(--color-green);
}

.article-quote__body {
  margin: 0;
}

.article-quote__text {
  position: relative;
  z-index: 1;
  font-family: var(--article-heading);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.8rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: 580px;
}

.article-quote__caption {
  position: relative;
  z-index: 1;
  max-width: 540px;
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text-on-ink-muted);
}

.article-quote__deco {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 90px;
  height: auto;
  opacity: 0.8;
  pointer-events: none;
}

/* ============ Main body (milk white) ============ */

.article-body {
  position: relative;
  padding-block: 8px calc(var(--article-divider-h) + 36px);
}

.article-body .article-section + .article-section,
.article-body .article-banner + .article-section {
  margin-top: 44px;
}

.article-section--text {
  max-width: 760px;
}

.article-body .article-section > .article-section__lead {
  margin-top: 10px;
  font-size: 1.0625rem;
  line-height: 1.5;
}

.article-uses {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  margin-top: 18px;
}

.article-steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.article-steps__item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 22px;
  row-gap: 4px;
}

.article-steps__num {
  grid-row: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-blue);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-on-blue);
}

.article-steps__title {
  padding-top: 4px;
  font-family: var(--article-heading);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.3;
}

.article-steps__text {
  max-width: 400px;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--article-muted);
}

/* ---- Было / Стало ---- */

.article-comparison {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  padding: 20px;
  border-radius: var(--article-radius);
  background-color: var(--article-card);
}

.article-comparison__media {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 10 / 7;
  background-color: var(--color-sage);
}

.article-comparison__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-comparison__col--after .article-comparison__media img {
  object-position: 50% 22%;
}

.article-comparison__label {
  position: absolute;
  left: 0;
  top: 0;
  padding: 7px 14px;
  border-bottom-right-radius: 8px;
  font-family: var(--article-heading);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  background-color: var(--color-ink);
  color: var(--color-text-on-ink);
}

.article-comparison__col--after .article-comparison__label {
  background-color: var(--color-green);
  color: var(--color-text-on-green);
}

.article-comparison__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.article-comparison__list li {
  position: relative;
  padding-left: 40px;
  min-height: 24px;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--article-muted);
}

/* Icons: grey circle with a minus / green circle with a check */
.article-comparison__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #c3c3c6 no-repeat center / 12px 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6h8' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.article-comparison__col--after .article-comparison__list li {
  color: var(--color-text);
}

.article-comparison__col--after .article-comparison__list li::before {
  background-color: #1fd35a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.3l2.4 2.4 5.2-5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.article-comparison__arrow {
  justify-self: center;
  width: 32px;
  height: auto;
  color: var(--color-ink);
  transform: rotate(90deg);
}

/* ---- Wide illustration ---- */

.article-banner {
  position: relative;
  height: clamp(220px, 12rem + 8vw, 300px);
  margin-top: 40px;
  border-radius: var(--article-radius);
  overflow: hidden;
  background-color: var(--color-sage);
}

/* Transparent collage (1212×1297): a head-and-shoulders crop in a box
   narrower than the banner, so the face keeps its size */
.article-banner__img {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(100%, 880px);
  height: 100%;
  object-fit: cover;
  object-position: 50% 27%;
  transform: translateX(-56%);
}

.article-banner__note {
  position: absolute;
  z-index: 1;
  display: none;
  left: 16px;
  top: 14px;
  font-size: 1rem;
  transform: rotate(-12deg);
  transform-origin: left top;
}

.article-banner__words {
  display: none;
}

/* ---- Что важно учесть ---- */

.article-factors {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.article-factors__card {
  padding: 26px 26px 30px;
  border-radius: var(--article-radius);
  background-color: var(--article-card);
}

.article-factors__icon {
  width: 32px;
  height: 32px;
  color: var(--color-blue);
}

.article-factors__title {
  margin-top: 14px;
  font-family: var(--article-heading);
  font-size: 1.1875rem;
  font-weight: 800;
  line-height: 1.3;
}

.article-factors__text {
  margin-top: 12px;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--article-muted);
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  line-height: 1.55;
  color: var(--article-muted);
}

.article-list li {
  position: relative;
  padding-left: 26px;
}

.article-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-blue);
}

/* ---- Tags / dates / back ---- */

.article-end {
  margin-top: 40px;
  padding-top: 34px;
  border-top: 1px solid var(--color-line);
}

.article-end__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.article-tags__label {
  font-size: 0.875rem;
  font-weight: 800;
}

.article-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.article-tag {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding-inline: 20px;
  border: 1px solid rgba(20, 20, 26, 0.22);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  color: var(--article-muted);
}

.article-end__dates {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 44px;
  font-size: 0.875rem;
  color: var(--article-muted);
}

.article-end__back {
  display: inline-flex;
  gap: 10px;
  margin-top: 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-blue);
}

.article-end__back:hover {
  color: var(--color-blue-hover);
}

/* ============ Related (sage) ============ */

.article-related {
  position: relative;
  background-color: var(--color-sage);
  padding-block: 12px calc(var(--article-divider-h) + 20px);
}

.article-related__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin-top: 18px;
}

.article-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: var(--article-radius);
  background-color: var(--article-card);
  transition: box-shadow 0.2s ease;
}

.article-card:hover {
  box-shadow: 0 10px 30px rgba(17, 11, 24, 0.1);
}

.article-card__img {
  width: 100%;
  aspect-ratio: 3 / 1;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  object-position: 72% 30%;
}

.article-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 12px 58px 8px 6px;
}

.article-card__date {
  font-size: 0.8125rem;
  color: var(--article-muted);
}

.article-card__title {
  margin-top: 8px;
  font-family: var(--article-heading);
  font-size: 1.1875rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* The whole card is clickable through the title link */
.article-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--article-radius);
}

.article-card__link:focus-visible {
  outline: none;
}

.article-card:has(.article-card__link:focus-visible) {
  outline: 3px solid var(--color-blue);
  outline-offset: 3px;
}

.article-card__text {
  margin-top: 8px;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--article-muted);
}

.article-card__arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  color: var(--color-ink);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.article-card__arrow svg {
  width: 16px;
  height: 16px;
}

.article-card:hover .article-card__arrow {
  background-color: var(--color-ink);
  color: var(--color-text-on-ink);
}

/* ============ ≥ 640px ============ */

@media (min-width: 640px) {
  .article-quote {
    column-gap: 36px;
    padding: 34px 110px 34px 40px;
  }

  .article-quote__mark {
    font-size: 6.5rem;
  }

  .article-quote__deco {
    width: 120px;
  }

  .article-comparison {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: start;
    gap: 20px;
    padding: 24px;
  }

  .article-comparison__arrow {
    align-self: start;
    margin-top: calc(var(--cmp-media-h, 150px) - 28px);
    transform: none;
  }

  .article-comparison__col--after {
    padding-left: 20px;
    border-left: 1px solid var(--color-line);
  }

  .article-banner__words {
    position: absolute;
    right: 5%;
    top: 20%;
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.9;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--color-ink);
    display: none;
  }

  .article-related__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============ ≥ 900px: sidebar layout, 3-up grids ============ */

@media (min-width: 900px) {
  .article-author__photo {
    width: 80px;
    height: 80px;
  }

  .article-page {
    --toc-w: 240px;
    --toc-gap: 32px;
  }

  /* Both zones keep their full-width backgrounds; their content moves
     right of the TOC column */
  .article-layout {
    grid-row: 1;
    grid-column: 1;
    padding-top: 56px;
  }

  .article-body {
    grid-row: 2;
    grid-column: 1;
  }

  .article-layout > .article-shell,
  .article-body > .article-shell {
    padding-left: calc(var(--article-pad) + var(--toc-w) + var(--toc-gap));
  }

  /* One grid area over both zones: sticky keeps the TOC in view from the
     start of the article to its tags, and never covers the header */
  .article-aside {
    position: sticky;
    top: 24px;
    z-index: 2;
    grid-row: 1 / 3;
    grid-column: 1;
    align-self: start;
    width: var(--toc-w);
    margin: 56px 0 48px var(--article-pad);
    padding: 0;
    background-color: transparent;
  }

  .article-aside__note {
    display: block;
  }

  .article-banner__note {
    display: block;
    left: 5%;
    top: 12%;
    font-size: 1.2rem;
  }

  .article-content__intro {
    margin-top: -6px;
  }

  .article-related__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (min-width: 1280px) {
  .article-page {
    --toc-w: 270px;
    --toc-gap: 56px;
  }

  .article-uses {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    column-gap: 32px;
    align-items: start;
  }

  .article-factors {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .article-banner__note {
    left: 7%;
    font-size: 1.35rem;
  }

  .article-banner__words {
    display: block;
  }

  /* Narrower collage leaves the right strip free for the caption words */
  .article-banner__img {
    width: 70%;
    transform: translateX(-60%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-toc__link,
  .article-card,
  .article-card__arrow,
  .article-share__btn {
    transition: none;
  }
}

/* Short screens: keep the sticky column (TOC + share) fully in view */
@media (min-width: 900px) and (max-height: 820px) {
  .article-aside__note {
    display: none;
  }
}

/* ============ Articles written in the admin editor ============
   Plain HTML (h2, p, lists, quote, images) inside one light zone. */

.article-body--plain {
  padding-top: 56px;
}

.article-prose {
  max-width: 760px;
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  line-height: 1.62;
  color: var(--article-muted);
}

.article-prose > * + * {
  margin-top: 16px;
}

.article-prose h2,
.article-prose h3 {
  margin-top: 40px;
  font-family: var(--article-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
  scroll-margin-top: 24px;
}

.article-prose h2 {
  font-size: clamp(1.6rem, 1.25rem + 1.2vw, 2.125rem);
}

.article-prose h3 {
  font-size: 1.35rem;
}

.article-prose > :first-child {
  margin-top: 0;
}

.article-prose ul,
.article-prose ol {
  padding-left: 1.4em;
  list-style: revert;
}

.article-prose li + li {
  margin-top: 8px;
}

.article-prose a {
  color: var(--color-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-prose strong {
  color: var(--color-text);
}

.article-prose blockquote {
  position: relative;
  margin: 32px 0;
  padding: 28px 28px 28px 104px;
  border-radius: var(--article-radius);
  background-color: var(--color-ink);
  color: var(--color-text-on-ink-muted);
}

.article-prose blockquote::before {
  content: "\201C";
  position: absolute;
  left: 28px;
  top: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-green);
}

.article-prose blockquote p:first-child {
  font-family: var(--article-heading);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text-on-ink);
}

.article-prose figure img {
  width: 100%;
  max-height: 480px;
  border-radius: var(--article-radius);
  object-fit: cover;
}

@media (max-width: 640px) {
  .article-prose blockquote {
    padding: 72px 20px 24px;
  }
}

.article-related--empty {
  padding-block: 32px calc(var(--article-divider-h) + 8px);
}

.article-preview-bar {
  padding: 8px 16px;
  background-color: var(--color-ink);
  color: var(--color-text-on-ink);
  font-size: 0.875rem;
  text-align: center;
}

.not-found {
  padding-block: 96px 128px;
}

.not-found .article-hero__lead {
  margin-bottom: 32px;
}
