html.article-page {
  --paper: #fff;
  --muted: #626262;
  --line: #e5e5e5;
  --wash: #f4f4f4;
  font-family: Manrope, system-ui, sans-serif;
}

.article-page main.shell {
  width: min(1140px, calc(100% - 48px));
}

.article-page .breadcrumbs {
  gap: 9px;
  margin: 20px 0 30px;
  font-size: 14px;
}

.article-page .breadcrumbs a::after {
  margin-inline-start: 9px;
  color: var(--muted);
  font-weight: 400;
  content: '/';
}

.story-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  padding: 4px 0 42px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.story-hero h1 {
  font-size: clamp(35px, 4.6vw, 53px);
  font-weight: 800;
  line-height: 1.075;
  letter-spacing: -.05em;
}

.story-hero p {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.55;
}

.article-page .actions {
  flex-wrap: wrap;
  gap: 8px 18px;
}

.article-page main .button {
  min-height: 48px;
  border-radius: 10px;
  font-weight: 750;
}

.article-page main .button-primary {
  background: var(--yellow);
  color: var(--ink);
}

.article-page main .button-primary:hover {
  background: var(--yellow-hover);
}

.story-cover {
  aspect-ratio: 1.43;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--wash);
}

.story-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-guide {
  display: grid;
  grid-template-columns: minmax(160px, 218px) minmax(0, 720px);
  align-items: start;
  gap: clamp(24px, 5vw, 68px);
  padding-top: 37px;
  border-top: 1px solid var(--line);
}

.story-toc {
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--wash);
}

.story-toc p {
  font-size: 15px;
  font-weight: 800;
}

.story-toc ol {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.story-toc a {
  display: block;
  padding-block: 8px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.story-toc li + li {
  border-top: 1px solid var(--line);
}

@media (hover: hover) and (pointer: fine) {
  .story-toc a:hover {
    color: #735514;
  }
}

.story-prose {
  width: 100%;
  max-width: 68ch;
  margin: 0;
  padding: 0;
  border: 0;
}

.story-prose > section {
  scroll-margin-top: 24px;
}

.story-prose > section + section {
  margin-top: 30px;
}

.story-prose h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 800;
  line-height: 1.17;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.story-prose :is(p + p, ul) {
  margin-top: 10px;
}

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

.article-page .story-prose :is(p, li) a:not(.button) {
  color: #765611;
  font-weight: 750;
}

.article-page .story-prose :is(p, li) a:not(.button)::after {
  content: "\202f\2192" / "";
  font-size: .85em;
}

.article-page .story-prose :is(p, li) a[href^="http"]:not(.button)::after {
  content: "\202f\2197" / "";
}

@media (hover: hover) and (pointer: fine) {
  .article-page .story-prose :is(p, li) a:not(.button):hover {
    color: var(--ink);
  }
}

.story-prose .notice {
  margin-top: 26px;
  padding: 18px 21px;
  border: 0;
  border-radius: 12px;
  background: #fff3ca;
}

.article-page .section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.article-page .tile-grid {
  gap: 12px;
}

.article-page .tile {
  padding: 20px;
  border: 0;
  border-radius: 14px;
  background: var(--wash);
}

.article-page .tile h3 {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.article-page .tile p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.article-page .referral-inline {
  gap: 14px 20px;
  margin-block: 40px 36px;
  padding: 19px 22px;
  border-radius: 16px;
  background: var(--wash);
}

.article-page .home-footer-inner {
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .story-hero {
    gap: 24px;
  }

  .story-guide {
    grid-template-columns: minmax(145px, 180px) minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 760px) {
  .article-page main.shell {
    width: calc(100% - 32px);
  }

  .article-page .breadcrumbs {
    margin-block: 17px 23px;
  }

  .story-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 21px;
    padding-block: 0 26px;
  }

  .story-hero p {
    margin-top: 14px;
    font-size: 16px;
  }

  .story-cover {
    aspect-ratio: 1.57;
  }

  .story-guide {
    grid-template-columns: minmax(0, 1fr);
    gap: 27px;
    padding-top: 23px;
  }

  .story-prose > section + section,
  .story-prose .notice {
    margin-top: 24px;
  }
}

@media (max-width: 480px) {
  .story-hero h1 {
    font-size: clamp(31px, 9vw, 38px);
  }

  .story-prose {
    font-size: 16px;
  }

  .article-page .referral-inline {
    padding: 16px;
  }
}

