/* ============================================================
   NTM Article — Body

   Narrow editorial column on the page background. Styles
   descendants of `.ntm-article-body__content` directly so the
   article's rich-text HTML (no author-supplied classes) reads
   in the NTM voice: serif drop cap on the lede, generous
   paragraph rhythm, H2 with hairline above, blockquote pull
   quote with teal mark, and a numbered list set with
   tabular-figure numerals.
   ============================================================ */

.ntm-article-body {
    background-color: #ffffff;
    /* Extra bottom padding so the author-bio's portrait (which bleeds above
       its own section) doesn't overlap the closing body paragraphs. */
    padding: clamp(48px, 6vw, 88px) clamp(24px, 5vw, 64px) clamp(140px, 14vw, 200px);
    color: var(--ntm-ink, #14323a);
}

.ntm-article-body__inner {
    max-width: 1220px;
    margin: 0 auto;
}

.ntm-article-body__content {
    font-family: var(--ntm-font-sans);
    font-weight: 400;
    font-size: clamp(1rem, 1.08vw, 1.0625rem);
    line-height: 1.78;
    color: rgba(20, 50, 58, 0.88);
}

/* ---------- Paragraph rhythm ---------- */
.ntm-article-body__content > p {
    margin: 0 0 clamp(20px, 1.8vw, 28px);
}

.ntm-article-body__content > p:last-child {
    margin-bottom: 0;
}

/* ---------- Drop cap on the lede ---------- */
.ntm-article-body__content > p:first-of-type::first-letter {
    font-family: var(--ntm-font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--ntm-accent-teal);
    float: left;
    font-size: clamp(3.5rem, 5.5vw, 4.75rem);
    line-height: 0.88;
    padding: 0.12em 0.14em 0 0;
    margin-right: 0.04em;
}

/* ---------- Section heads ---------- */
.ntm-article-body__content h2,
.ntm-article-body__content h3 {
    font-family: var(--ntm-font-serif);
    font-weight: 400;
    color: var(--ntm-ink, #14323a);
    line-height: 1.2;
    margin: clamp(40px, 4vw, 56px) 0 clamp(16px, 1.6vw, 22px);
}

.ntm-article-body__content h2 {
    font-size: clamp(1.5rem, 2vw, 1.875rem);
    padding-top: clamp(20px, 2vw, 28px);
    border-top: 1px solid rgba(20, 50, 58, 0.18);
}

.ntm-article-body__content h3 {
    font-size: clamp(1.25rem, 1.6vw, 1.5rem);
}

/* ---------- Pull quote ---------- */
.ntm-article-body__content blockquote {
    margin: clamp(36px, 4vw, 56px) 0;
    padding: clamp(20px, 2vw, 28px) 0 clamp(16px, 1.6vw, 24px);
    border-top: 1px solid rgba(20, 50, 58, 0.18);
    border-bottom: 1px solid rgba(20, 50, 58, 0.18);
    text-align: center;
    position: relative;
}

.ntm-article-body__content blockquote::before {
    content: "“";
    display: block;
    font-family: var(--ntm-font-serif);
    font-style: italic;
    font-size: clamp(2.5rem, 4vw, 3.25rem);
    line-height: 0.5;
    color: var(--ntm-accent-teal);
    margin-bottom: clamp(10px, 1vw, 14px);
}

.ntm-article-body__content blockquote p {
    font-family: var(--ntm-font-serif);
    font-style: italic;
    font-size: clamp(1.25rem, 1.8vw, 1.625rem);
    line-height: 1.4;
    color: var(--ntm-ink, #14323a);
    margin: 0 auto;
    max-width: 38ch;
}

.ntm-article-body__content blockquote cite,
.ntm-article-body__content blockquote footer {
    display: block;
    margin-top: clamp(14px, 1.4vw, 18px);
    font-family: var(--ntm-font-sans);
    font-style: normal;
    font-weight: 600;
    font-size: clamp(0.7rem, 0.78vw, 0.8rem);
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ntm-accent-teal);
}

/* ---------- Numbered list ---------- */
.ntm-article-body__content ol {
    list-style: none;
    margin: clamp(20px, 2vw, 28px) 0;
    padding: 0;
    counter-reset: ntm-article-ol;
    display: flex;
    flex-direction: column;
    gap: clamp(14px, 1.4vw, 20px);
}

.ntm-article-body__content ol > li {
    counter-increment: ntm-article-ol;
    position: relative;
    padding-left: clamp(44px, 4vw, 56px);
}

.ntm-article-body__content ol > li::before {
    content: counter(ntm-article-ol, decimal-leading-zero) ".";
    position: absolute;
    left: 0;
    top: 0.05em;
    font-family: var(--ntm-font-sans);
    font-weight: 600;
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    line-height: 1.5;
    letter-spacing: 0.08em;
    color: var(--ntm-accent-teal);
    font-variant-numeric: tabular-nums;
}

/* ---------- Unordered list (parity, no bullet drift) ---------- */
.ntm-article-body__content ul {
    margin: clamp(20px, 2vw, 28px) 0;
    padding-left: 1.2em;
}

.ntm-article-body__content ul > li {
    margin-bottom: clamp(8px, 1vw, 12px);
}

/* ---------- Inline links ---------- */
.ntm-article-body__content a {
    color: var(--ntm-accent-teal);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color 0.18s ease;
}

.ntm-article-body__content a:hover,
.ntm-article-body__content a:focus-visible {
    color: var(--ntm-ink, #14323a);
}

/* ---------- Inline emphasis ---------- */
.ntm-article-body__content strong,
.ntm-article-body__content b {
    font-weight: 600;
    color: var(--ntm-ink, #14323a);
}

.ntm-article-body__content em,
.ntm-article-body__content i {
    font-style: italic;
}

/* ---------- Inline images ---------- */
.ntm-article-body__content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: clamp(28px, 3vw, 40px) auto;
}
