/* Article Inline Styles — Overrides for TOC, Drop cap in editor content */

/* Drop cap for lede paragraph */
.om-article-main p.om-lede::first-letter {
  font-family: var(--om-font-serif-display);
  font-size: 68px;
  line-height: 0.9;
  float: left;
  padding: 8px 12px 0 0;
  color: var(--om-burgundy);
  font-weight: 500;
}

/* Inline TOC (if editor adds [toc] shortcode) */
.om-toc-inline {
  background: var(--om-cream-soft);
  border-top: 2px solid var(--om-ink);
  border-bottom: 1px solid var(--om-rule);
  padding: 24px 28px;
  margin: 0 0 48px;
}
.om-toc-inline .om-label {
  font-family: var(--om-font-sans);
  font-size: 10px;
  letter-spacing: var(--om-track-wide);
  text-transform: uppercase;
  color: var(--om-burgundy);
  font-weight: 700;
  margin-bottom: 14px;
}
.om-toc-inline ol {
  font-family: var(--om-font-serif-body);
  font-size: 14px;
  line-height: 1.8;
  padding-left: 0;
  list-style: none;
  counter-reset: om-toc;
  margin: 0;
  column-count: 2;
  column-gap: 32px;
}
.om-toc-inline li {
  counter-increment: om-toc;
  padding-left: 28px;
  position: relative;
  break-inside: avoid;
}
.om-toc-inline li::before {
  content: counter(om-toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-family: var(--om-font-serif-display);
  color: var(--om-burgundy);
  font-size: 11px;
  top: 2px;
  font-weight: 500;
  letter-spacing: 1px;
}
.om-toc-inline a {
  color: var(--om-ink);
  border-bottom: none;
  text-decoration: none;
}
.om-toc-inline a:hover { color: var(--om-burgundy); }
