/* The same heading, contents and marker treatment used in new articles.
   Scope these rules to the text so older embedded article styles can coexist. */
.tbd-article[data-tbd-body] h2[data-article-section] {
  margin: 2.5em 0 .85em;
  padding: .55em 0 .55em .75em;
  border: 0;
  border-left: 5px solid #ddd;
  border-bottom: 1px solid #e4e4e4;
  background: #fff;
  color: #222;
  font-size: clamp(1.28rem, 2.8vw, 1.55rem);
  font-weight: 800;
  line-height: 1.45;
  scroll-margin-top: 6rem;
}
.tbd-article[data-tbd-body] h3[data-article-section],
.tbd-article[data-tbd-body] h4 {
  background: #fff;
  color: #333;
  scroll-margin-top: 6rem;
}
.tbd-article[data-tbd-body] nav[data-article-reading] {
  display: block;
  box-sizing: border-box;
  margin: 2em 0;
  padding: clamp(16px, 4vw, 28px);
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  color: #333;
}
.tbd-article[data-tbd-body] nav[data-article-reading] .toc_label {
  margin: 0 0 .7em;
  color: #222;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: .08em;
}
nav[data-article-reading] ol.toc_list,
nav[data-article-reading] .toc_list li.toc_item {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tbd-article nav[data-article-reading] li.toc_item--2 ~ li.toc_item--2 {
  margin-top: .6em;
  padding-top: .5em;
  border-top: 1px solid #e4e4e4;
}
.tbd-article nav[data-article-reading] .toc_list .toc_item a {
  display: grid;
  grid-template-columns: max-content 1fr;
  align-items: baseline;
  gap: .6em;
  padding: .22em 0;
  color: #333;
  font-weight: 700;
  line-height: 1.55;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.tbd-article nav[data-article-reading] .toc_list .toc_item--3 a {
  padding-left: 1em;
  font-size: .94em;
  font-weight: 400;
}
.tbd-article nav[data-article-reading] .toc_number {
  min-width: 2.2em;
  color: #666;
  font-size: .92em;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.tbd-article nav[data-article-reading] .toc_list a:is(:hover,:focus-visible) { text-decoration: underline; }
.tbd-article[data-tbd-body] :is(p, li) :is(strong, b) { font-weight: 700; }
.tbd-article[data-tbd-body] .tbd-mark {
  padding: 0 .08em;
  background: #ffeb66;
  color: #20251f;
  font-weight: 700;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.tbd-article[data-tbd-body] .tbd-mark[data-tone] {
  background: linear-gradient(transparent 48%, var(--tbd-marker, #ffff66) 48% 94%, transparent 94%);
}
.tbd-article[data-tbd-body] .tbd-mark[data-tone="blue"] { --tbd-marker: #b5dfff; }
.tbd-article[data-tbd-body] .tbd-mark[data-tone="pink"] { --tbd-marker: #ffd5d5; }
.tbd-article[data-tbd-body] .tbd-editorial-figure { margin: 1.6em 0 2.2em; }
.tbd-article[data-tbd-body] .tbd-editorial-figure blockquote { margin: 0; padding: 0; border: 0; background: white; }
.tbd-article[data-tbd-body] :is(.tbd-cite, blockquote) {
  /* Archived CMS articles include their own quotation styles. */
  border-inline-start: 0 !important;
  border-left: 0 !important;
}
.tbd-editorial-figure .tbd-editorial-source { display: block; margin-top: .45em; color: #555; font-style: normal; }
.tbd-article[data-tbd-body] .tbd-editorial-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 36rem;
  margin: 0 auto;
  object-fit: contain;
}
.tbd-article[data-tbd-body] .tbd-editorial-figure figcaption {
  margin: .6em 0 0;
  font-size: .9rem;
  line-height: 1.7;
  color: #444;
  text-align: left;
}
