.article-page #story > .shell,
.article-page .related {
  max-width: 1200px;
}

.article-page .site-header .top .shell {
  min-height: 30px;
}

.article-page .site-header .masthead {
  min-height: 66px;
}

.article-page .site-header .logo {
  font-size: 60px;
}

.article-page .breadcrumb {
  padding: 14px 0 10px;
}

.article-page .storyhead {
  display: block;
  padding: 22px 0 26px;
}

.article-page .storyhead h1 {
  max-width: 1050px;
  margin: 14px 0 0;
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.article-page .storyhead .deck {
  max-width: 820px;
  margin: 18px 0 0;
  font-size: 21px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.article-page .story-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  border: 0;
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding: 10px 0 0;
}

.article-page .story-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 16px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.article-page .story-byline strong {
  font-size: 14px;
}

.article-page .story-byline .mono {
  font-size: 13px;
}

.article-page .story-share {
  min-width: 0;
}

.article-page .story-share .icon-button {
  min-height: 44px;
  font-size: 14px;
}

.article-page .story-share .status {
  min-height: 0;
}

.article-page .storyhead .deck:empty,
.article-page .story-byline > :empty,
.article-page .related .section-head p:empty,
.article-page .story-reading:not(:has(.reading-minutes:not(:empty))),
.article-page .story-image figcaption:empty,
.article-page .story-image:not(:has(img[src]:not([src=""]))),
.article-page .contents:not(:has(ul a)),
.article-page .related:not(:has(.related-grid article)) {
  display: none;
}

.article-page .story-image .media {
  height: auto;
  aspect-ratio: 2.2;
}

.article-page .story-image img {
  position: absolute;
  inset: 0;
  object-position: var(--article-image-focus, 50% 55%);
}

.article-page .story-content {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(0, 720px) minmax(140px, 1fr);
  gap: 28px;
  padding: 32px 0 55px;
}

.article-page .storyhead + .story-content,
.article-page .story-image:not(:has(img[src]:not([src=""]))) + .story-content {
  padding-top: 0;
}

.article-page .contents {
  grid-column: 1;
  grid-row: 1;
  top: 24px;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
}

.article-page .contents summary {
  display: none;
}

.article-page .story-content .prose {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  font-size: 19px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.article-page .prose h2,
.article-page .prose h3 {
  font-size: 32px;
  line-height: 1.15;
}

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

.article-page .prose [id] {
  scroll-margin-top: 24px;
}

.article-page .comparison {
  overflow-x: auto;
}

@media (max-width: 1199px) {
  .article-page .storyhead h1 { font-size: 44px; }
  .article-page .storyhead .deck { font-size: 20px; }
  .article-page .prose h2,
  .article-page .prose h3 { font-size: 28px; }
  .article-page .story-content {
    grid-template-columns: minmax(135px, 1fr) minmax(0, 720px);
    gap: 24px;
  }
  .article-page .story-content:not(:has(.contents ul a)) .prose {
    grid-column: 1 / -1;
    width: min(100%, 720px);
    justify-self: center;
  }
}

@media (max-width: 767px) {
  .article-page .site-header .top .shell { min-height: 28px; }
  .article-page .site-header .masthead {
    display: flex;
    min-height: 58px;
    justify-content: space-between;
  }
  .article-page .site-header .mastnote { display: none; }
  .article-page .site-header .logo { font-size: 43px; }
  .article-page .site-header .actions { gap: 6px; }
  .article-page .site-header .actions .icon-button {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
  }
  .article-page .site-header .actions button span { display: none; }
  .article-page .site-header .nav { display: none; }
  .article-page .site-header .nav.is-open,
  .no-js .article-page .site-header .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }
  .article-page .site-header .nav a {
    margin: 0;
    padding-inline: 10px;
    justify-content: flex-start;
    border-bottom: 1px solid var(--line);
  }
  .article-page .storyhead { padding: 20px 0 24px; }
  .article-page .storyhead h1 {
    font-size: 34px;
    text-wrap: wrap;
  }
  .article-page .storyhead .deck { font-size: 18px; }
  .article-page .story-image .media { aspect-ratio: 16 / 9; }
  .article-page .story-content {
    display: block;
    padding: 22px 0 35px;
  }
  .article-page .story-content .prose { font-size: 18px; }
  .article-page .prose h2,
  .article-page .prose h3 { font-size: 26px; }
  .article-page .contents {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
    margin: 0 0 18px;
    border-bottom: 1px solid var(--line);
  }
  .article-page .contents summary {
    display: list-item;
    min-height: 44px;
    padding: 13px 0;
    cursor: pointer;
  }
  .article-page .contents-label { display: none; }
  .article-page .contents ul { display: block; margin: 0 0 8px; }
  .article-page .contents li a { display: flex; align-items: center; min-height: 44px; padding: 8px 0; }
}
