.editorial {
  padding-block: var(--section-space);
}
.editorial-header,
.editorial-body,
.editorial-list,
.editorial-action {
  max-width: 52rem;
}
.editorial-header {
  margin-bottom: clamp(32px, 6vw, 68px);
}
.editorial-trail {
  display: flex;
  align-items: baseline;
  gap: .65rem;
  margin-bottom: 24px;
  color: var(--amber);
}
.editorial h1 {
  font-size: clamp(2.7rem, 6.5vw, 5.5rem);
  line-height: 1.04;
}
.editorial h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -.04em;
}
.editorial h3 {
  font-size: 1.4rem;
}
.editorial-lead {
  max-width: 60ch;
  margin-top: 20px;
  color: var(--muted);
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  line-height: 1.55;
}
.editorial-date {
  margin-top: 18px;
  color: var(--muted);
  font-size: .875rem;
}
.editorial-body,
.editorial-list {
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.editorial-body > * + * {
  margin-block-start: 1.1em;
}
.editorial-body > h2:not(:first-child) {
  margin-block-start: 1.4em;
}
.editorial-body a,
.editorial-list a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: .16em;
}
.editorial-body pre {
  overflow: auto;
  padding: 1rem;
  border: 1px solid var(--line);
}
.editorial-action {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.editorial-list section + section {
  margin-top: 36px;
}
.editorial-list ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.editorial-list li {
  padding-block: 16px;
  border-top: 1px solid var(--line);
}
.editorial-list p {
  color: var(--muted);
}
.comparison-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.comparison-table table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
}
.comparison-table th,
.comparison-table td {
  padding: .8rem 1rem;
  text-align: left;
  vertical-align: top;
}
.comparison-table tr > th:first-child {
  min-width: 8rem;
  overflow-wrap: normal;
}
.comparison-table thead {
  background: #211913;
}
.comparison-table tbody tr {
  border-top: 1px solid var(--line);
}

.editorial-references {
  max-width: 52rem;
  margin-top: 2.25rem;
  overflow-wrap: anywhere;
}
.editorial-references ul {
  padding-inline-start: 1.25rem;
  line-height: 1.65;
}
.editorial-references a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: .16em;
}

.editorial-body p > img:only-child {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.editorial-body img[src^="/assets/todoist-"] {
  max-height: 26rem;
  border: 1px solid var(--line);
}
.editorial-body p:has(> img:only-child) + p:has(> em:only-child) {
  margin-top: .6rem;
  color: var(--muted);
  font-size: .9375rem;
}
.editorial-body p:has(> img:only-child) + p > em:only-child {
  color: inherit;
  font: inherit;
  letter-spacing: normal;
}
