.entity-editorial {
  --entity-accent: var(--text);
  --entity-line: var(--line);
}

.entity-editorial .entity-detail-hero {
  padding-block: clamp(22px, 2.5vw, 34px) clamp(20px, 2vw, 28px);
}

.entity-editorial .breadcrumb {
  margin-bottom: clamp(16px, 2vw, 24px);
}

.entity-editorial .entity-kind {
  margin-bottom: 6px;
  color: var(--entity-accent);
  font: 600 0.8125rem/1.5 var(--font-body);
  letter-spacing: normal;
}

.entity-editorial .entity-hero h1 {
  max-width: 34ch;
  font-size: clamp(1.875rem, 2.2vw + 0.65rem, 2.75rem);
  line-height: 1.22;
}

.entity-editorial .entity-lead {
  max-width: 66ch;
  margin-top: 12px;
  color: var(--ink-body);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.entity-editorial-role {
  margin-top: 8px;
  color: var(--entity-accent);
  font-size: 0.9375rem;
  font-weight: 600;
}

.entity-editorial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.8125rem;
}

.entity-editorial .hero-actions {
  margin-top: 16px;
}

.entity-editorial .hero-actions .btn {
  min-height: 40px;
  border-radius: 5px;
}

.entity-jump .wrap {
  display: flex;
  flex-wrap: wrap;
  column-gap: clamp(12px, 2vw, 24px);
  padding-block: 3px;
  border-block: 1px solid var(--entity-line);
}

.entity-jump a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  color: var(--entity-accent);
  font-size: 0.8125rem;
  font-weight: 600;
}

.entity-jump a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.entity-editorial .entity-detail-layout {
  grid-template-columns: minmax(0, 2.35fr) minmax(220px, 1fr);
  gap: clamp(28px, 4vw, 54px);
  padding-block: 4px 64px;
}

.entity-editorial .entity-jump + .entity-detail-layout {
  padding-top: 23px;
}

.entity-editorial .entity-detail-layout > :only-child {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 53rem;
}

.entity-editorial .wiki-main,
.entity-editorial .aside-block {
  border: 0;
  border-radius: 0;
  background: none;
  padding: 0;
  box-shadow: none;
}

.entity-editorial .entity-detail-layout .wiki-main > section {
  margin-bottom: 30px;
  scroll-margin-top: var(--anchor-offset);
}

.entity-editorial .entity-detail-layout .wiki-main > section:last-child {
  margin-bottom: 0;
}

.entity-editorial .tool-features > div[id] {
  scroll-margin-top: var(--anchor-offset);
}

.entity-editorial .wiki-main > section > h2,
.entity-editorial .entity-section-heading {
  border: 0;
  border-top: 1px solid var(--entity-line);
  padding: 13px 0 0;
  margin: 0 0 12px;
}

.entity-editorial .wiki-main h2 {
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  line-height: 1.4;
}

.entity-editorial .entity-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 16px;
}

.entity-editorial .entity-section-heading h2 {
  border: 0;
  padding: 0;
  margin: 0;
}

.entity-editorial .entity-section-heading a {
  color: var(--entity-accent);
  font-size: 0.8125rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.entity-editorial .info-list > div {
  padding-block: 10px;
}

.entity-editorial .detail-facts {
  border-top: 1px solid var(--entity-line);
}

.entity-editorial .detail-facts dd a {
  color: var(--entity-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.entity-editorial .wiki-main .entity-editorial-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.8125rem;
}

.entity-editorial-note > span {
  display: inline-block;
  margin-inline-start: 4px;
}

.entity-editorial .wiki-aside {
  gap: 22px;
}

.entity-editorial .aside-block h2 {
  border: 0;
  border-top: 1px solid var(--entity-line);
  padding: 13px 0 0;
  margin: 0 0 7px;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.entity-editorial .aside-link-item > :first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.entity-editorial .sources-list li {
  margin-block: 6px;
  overflow-wrap: anywhere;
}

.entity-source-date {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.entity-index {
  margin: 0;
  padding: 0;
  list-style: none;
}

.entity-index-row {
  display: grid;
  justify-items: start;
  gap: 3px;
  padding-block: 10px;
  border-bottom: 1px solid var(--entity-line);
  overflow-wrap: anywhere;
}

.entity-index-row > a,
.entity-editorial .entity-opinion h3 a {
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.5;
}

.entity-index-row > a:hover,
.entity-editorial .entity-opinion h3 a:hover,
.entity-editorial .aside-link-item:hover strong {
  color: var(--entity-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.entity-index-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.entity-index-meta .window-badge {
  min-height: 0;
  padding: 0;
  background: none;
  border: 0;
  white-space: normal;
}

.entity-editorial .entity-index-row p,
.entity-editorial .entity-opinion p {
  color: var(--ink-body);
  font-size: 0.875rem;
  line-height: 1.6;
}

.entity-editorial .entity-opinion {
  padding: 10px 0 14px;
}

.entity-editorial .entity-opinion h3 {
  margin: 0 0 3px;
  overflow-wrap: anywhere;
}

.entity-editorial .entity-opinion .vote-btn {
  min-height: 34px;
}

.entity-editorial .full-shot {
  padding: 0;
  margin: 12px 0 20px;
  background: none;
  border: 0;
}

@media (max-width: 960px) {
  .entity-editorial .entity-detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .entity-editorial .entity-detail-hero {
    padding-block: 16px 20px;
  }

  .entity-editorial .entity-detail-layout {
    gap: 24px;
    padding-bottom: 44px;
  }

  .entity-editorial .entity-jump + .entity-detail-layout {
    padding-top: 15px;
  }

  .entity-editorial .entity-detail-layout .wiki-main > section:not(:last-child) {
    margin-bottom: 23px;
  }

  .entity-editorial .info-list > .fact-compact {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
  }
}
