.article-masthead {
  --emblem-blue: var(--brand);
  --emblem-gold: var(--gold);
  --emblem-seam: var(--bg);
  --emblem-cut: 24%;
  --emblem-corner: 18%;
  margin-block: 0 24px;
  color: var(--ink);
}
.article-masthead__composition h1.title {
  margin: 0;
  color: var(--brand);
  letter-spacing: -.035em;
  line-height: 1.04;
  text-wrap: balance;
}
.article-masthead__description {
  margin: 12px 0 0;
  max-inline-size: 48ch;
  color: var(--ink-muted);
  font-size: .9375rem;
  line-height: 1.52;
}
.article-masthead__mark {
  display: flex;
  align-items: center;
  gap: 12px;
}
.article-emblem {
  display: grid;
  align-content: space-between;
  flex: none;
  position: relative;
  isolation: isolate;
  inline-size: var(--emblem-size, 68px);
  aspect-ratio: 1;
  box-sizing: border-box;
  padding: 8px 9px 8px 10px;
  background: var(--emblem-gold);
  color: var(--ink-on-brand);
  font-family: "Hanken Grotesk", sans-serif;
}
.article-emblem::before, .article-emblem::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}
.article-emblem::before {
  background: var(--emblem-seam);
  clip-path: polygon(0 0, calc(100% - var(--emblem-corner)) 0, 100% var(--emblem-corner), 100% 100%, 0 100%);
}
.article-emblem::after {
  background: var(--emblem-blue);
  clip-path: polygon(0 0, calc(100% - var(--emblem-cut)) 0, 100% var(--emblem-cut), 100% 100%, 0 100%);
}
.article-emblem__number {
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  line-height: 1;
}
.article-emblem__symbol {
  font-weight: 600;
  font-size: var(--emblem-type, 2.125rem);
  letter-spacing: -.04em;
  line-height: .92;
}
.article-emblem__caption {
  display: grid;
  gap: 2px;
  color: var(--ink-muted);
  font-size: .8125rem;
  line-height: 1.25;
}
.article-emblem__caption strong { color: var(--brand); font-weight: 600; }
.article-sr-only {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.article-masthead__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin-block-start: 16px;
  font-size: .875rem;
}
.article-masthead__actions a { display: inline-flex; align-items: center; min-block-size: 44px; }
.article-masthead__actions a:focus-visible,
.article-masthead__table-link:focus-visible { outline-offset: 3px; }

.article-masthead--seal { --emblem-size: 72px; --emblem-type: 2rem; }
.article-masthead--seal .article-masthead__mark { gap: 16px; }
.article-emblem__caption--linked {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: baseline;
  min-block-size: 44px;
  gap: 4px 12px;
  font-size: 1em;
  line-height: 1.3;
  color: var(--ink-muted);
  text-decoration: none;
}
.article-emblem__caption--linked:is(:hover, :focus-visible) { text-decoration: none; }
.article-emblem__caption--linked:hover strong { color: var(--link); }
.article-masthead--seal .article-masthead__composition {
  display: grid;
  gap: 18px;
  padding-block-end: 20px;
  border-block-end: 1px solid var(--line-strong);
}

.article-masthead--index { --emblem-size: 98px; --emblem-type: 3rem; }
.article-masthead--index .article-masthead__composition {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "heading emblem" "caption emblem";
  gap: 10px 20px;
  align-items: center;
  padding-block: 10px 20px;
  border-block-end: 1px solid var(--line-strong);
}
:is(.article-masthead--index, .article-masthead--cover) .article-masthead__heading { grid-area: heading; }
:is(.article-masthead--index, .article-masthead--cover) .article-masthead__mark { display: contents; }
:is(.article-masthead--index, .article-masthead--cover) .article-emblem { grid-area: emblem; justify-self: end; }
:is(.article-masthead--index, .article-masthead--cover) .article-emblem__caption {
  grid-area: caption;
  display: flex;
  flex-wrap: wrap;
  align-self: start;
  column-gap: 8px;
}
:is(.article-masthead--index, .article-masthead--cover) .article-emblem__caption span {
  padding-inline-start: 8px;
  border-inline-start: 1px solid currentColor;
}
.article-masthead--index .article-emblem { padding: 12px 13px; }

.article-masthead--cover {
  --emblem-size: 96px;
  --emblem-type: 2.875rem;
  --emblem-blue: var(--paper);
  --emblem-seam: var(--brand);
}
.article-masthead--cover .article-masthead__composition {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "heading emblem" "caption emblem";
  align-items: center;
  gap: 12px 20px;
  padding: 28px;
  background: var(--brand);
}
.article-masthead--cover .article-emblem { color: var(--brand); padding: 12px; }
.article-masthead--cover .article-emblem__caption,
.article-masthead--cover .article-emblem__caption strong,
.article-masthead--cover .article-masthead__composition h1.title,
.article-masthead--cover .article-masthead__description { color: var(--ink-on-brand); }
.article-masthead--cover .article-masthead__description { opacity: .87; }
.article-masthead__table-link {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  font-size: .875rem;
  text-underline-offset: .2em;
}
.ux-reading--masthead .ux-reading-main > .crumbs { margin-block-end: 20px; }
.ux-reading--masthead .ux-reading-main > .ux-reading-mobile-contents { margin-block: 16px 18px; }

@media (max-width: 760px) {
  .ux-reading--masthead .ux-reading-rail { display: none; }
  .article-masthead { margin-block-end: 18px; }
  .article-masthead__composition h1.title { font-size: 2.25rem; }
  .article-masthead--seal { --emblem-size: 64px; --emblem-type: 1.8125rem; }
  .article-masthead--seal .article-masthead__mark { gap: 12px; }
  .article-masthead--seal .article-masthead__composition { gap: 12px; padding-block-end: 14px; }
  .article-masthead--index { --emblem-size: 66px; --emblem-type: 2rem; }
  .article-masthead--index .article-emblem { padding: 8px; }
  .article-masthead--index .article-masthead__composition { grid-template-columns: minmax(0, 1fr) 74px; gap: 12px; align-items: start; }
  .article-masthead--index .article-emblem__caption,
  .article-masthead--cover .article-emblem__caption { font-size: .75rem; }
  .article-masthead--cover { --emblem-size: 60px; --emblem-type: 1.875rem; }
  .article-masthead--cover .article-masthead__composition { grid-template-columns: minmax(0, 1fr) 68px; padding: 16px; gap: 10px; align-items: start; }
  .article-masthead--cover .article-emblem { padding: 8px; }
  .article-masthead--cover .article-masthead__composition h1.title { font-size: 1.875rem; }
  .article-masthead__description { font-size: .875rem; }
  .article-masthead__actions { gap: 4px 14px; margin-block-start: 12px; }
}
@media (max-width: 360px) {
  .article-masthead--index .article-masthead__composition h1.title { font-size: 1.875rem; }
  .article-masthead--cover .article-masthead__composition h1.title { font-size: 1.625rem; }
}
