/* Article artwork is shared with the directories; all selectors stay local. */
.article-header.article-header-illustrated {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  column-gap: 24px;
  row-gap: 10px;
  align-items: center;
}
.article-heading-copy { min-width: 0; }
.article-header-illustrated .article-heading-copy h1 { margin: 14px 0 4px; }
.article-title-art { display: block; width: 170px; height: auto; max-width: 100%; justify-self: end; }
.article-header-illustrated > .article-deck,
.article-header-illustrated > .article-meta { grid-column: 1 / -1; }
.article-header-illustrated > .article-deck { margin: 0; }
.article-header-illustrated > .article-meta { margin-top: 6px; flex-wrap: wrap; }

.topic-row:has(.topic-marker) { grid-template-columns: 64px minmax(0, 1fr) auto 18px; gap: 16px; }
.topic-marker { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; align-self: center; }
.topic-row-art { display: block; width: 64px; height: 48px; object-fit: contain; }
.topic-marker .topic-id { font-size: .75rem; line-height: 1.3; font-variant-numeric: tabular-nums; }
.topic-row:has(.topic-marker) > div { min-width: 0; }

.contents-links a:has(.contents-topic-art) { display: grid; grid-template-columns: 40px 27px minmax(0, 1fr) auto; gap: 8px; min-height: 58px; }
.contents-topic-art { display: block; width: 40px; height: 30px; object-fit: contain; }
.contents-links .contents-topic-id { font: .75rem/1.5 Georgia, serif; color: var(--gold); }
.contents-links .contents-topic-title { min-width: 0; overflow-wrap: anywhere; }
.contents-links a:has(.contents-topic-art) > .badge { margin-left: 0; }

.article-body figure.article-figure {
  margin: 26px 0 30px;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}
.article-figure > img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 420px;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 3px;
}
.article-body .article-figure figcaption { display: block; border: 0; padding: 0; margin-top: 10px; color: var(--text); font-size: .8125rem; line-height: 1.75; }
.article-figure .figure-credit, .article-figure .article-figure-credit { display: block; margin-top: 4px; color: var(--muted); font-size: .75rem; line-height: 1.65; }
.article-figure figcaption a { color: var(--olive); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }

@media (max-width: 700px) {
  .article-header.article-header-illustrated { grid-template-columns: minmax(0, 1fr) 90px; column-gap: 12px; row-gap: 10px; }
  .article-title-art { width: 90px; align-self: center; }
  .article-header-illustrated .article-heading-copy h1 { font-size: 1.75rem; line-height: 1.45; letter-spacing: .5px; margin-top: 12px; }
  .topic-row:has(.topic-marker) { grid-template-columns: 48px minmax(0, 1fr) 12px; gap: 12px; }
  .topic-row-art { width: 48px; height: 36px; }
  .topic-marker .topic-id { font-size: .6875rem; }
  .article-body figure.article-figure { margin: 22px 0 26px; padding-top: 12px; }
  .article-figure > img { max-height: 340px; }
}
@media (max-width: 360px) {
  .article-header.article-header-illustrated { grid-template-columns: minmax(0, 1fr) 76px; gap: 10px; }
  .article-title-art { width: 76px; }
  .article-header-illustrated .article-heading-copy h1 { font-size: 1.625rem; }
  .contents-links a:has(.contents-topic-art) { grid-template-columns: 32px 24px minmax(0, 1fr) auto; gap: 6px; }
  .contents-topic-art { width: 32px; height: 24px; }
}
