.tm-news-article {
    --news-ink: #26332b;
    --news-accent: #204c38;
    --news-border: #d7e2d7;
    max-width: 880px;
}

.tm-news-article > header,
.tm-news-article > .tm-article-text {
    max-width: 720px;
    margin-inline: auto;
}

.tm-news-article > header h1 {
    font-family: "PT Serif", Georgia, serif;
    font-size: clamp(31px, 5vw, 50px);
    font-weight: 700;
    line-height: 1.13;
    letter-spacing: -.024em;
    color: var(--news-accent);
    text-wrap: balance;
}

.tm-news-article .tm-article-lead {
    max-width: 62ch;
    color: #4e6054;
    line-height: 1.55;
}

.tm-news-article > .tm-article-text {
    color: var(--news-ink);
    font: 400 18px/1.72 "Source Sans 3", system-ui, sans-serif;
    overflow-wrap: break-word;
}

.tm-news-article .tm-article-text p {
    margin: 0 0 1.15em;
}

.tm-news-article .tm-article-text :is(img, video, iframe, figure) { max-width: 100%; }
.tm-news-article .tm-article-text :is(img, video) { height: auto; }
.tm-news-article .tm-article-text :is(pre, figure) { margin-inline: 0; }
.tm-news-article .tm-article-text pre { overflow: auto; }

.tm-news-article .tm-article-text h2 {
    margin: 2em 0 .65em;
    padding-top: .9em;
    border-top: 1px solid var(--news-border);
    color: var(--news-accent);
    font-size: clamp(22px, 3.5vw, 28px);
    font-weight: 720;
    line-height: 1.28;
    text-wrap: balance;
}

.tm-news-article .tm-article-text h3,
.tm-news-article .tm-article-text h4 {
    margin: 1.5em 0 .55em;
    color: var(--news-accent);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
}

.tm-news-article .tm-article-text h4 {
    font-size: 17px;
}

.tm-news-article .tm-article-text :is(ul, ol) {
    margin: 0 0 1.15em;
    padding-inline-start: 1.55em;
}

.tm-news-article .tm-article-text ul { list-style: disc; }
.tm-news-article .tm-article-text ol { list-style: decimal; }
.tm-news-article .tm-article-text li + li { margin-top: .46em; }
.tm-news-article .tm-article-text li > p { margin: 0; }
.tm-news-article .tm-article-text li::marker { color: #52765e; }
.tm-news-article .tm-article-text strong { font-weight: 720; }

.tm-news-article .tm-article-text a {
    color: #245d43;
    text-decoration: underline;
    text-underline-offset: .18em;
    overflow-wrap: anywhere;
}

.tm-news-article .tm-article-text a:hover { color: #173b2a; }

.tm-news-article .tm-article-text blockquote {
    margin: 1.5em 0;
    padding: 16px 20px;
    border: 0;
    border-inline-start: 4px solid #688c6e;
    border-radius: 0 12px 12px 0;
    background: #edf3ea;
    color: #294535;
}

.tm-news-article .tm-article-text blockquote > :last-child { margin-bottom: 0; }

.tm-news-article .tm-news-table {
    margin: 24px 0 30px;
    overflow-x: auto;
    border: 1px solid var(--news-border);
    border-radius: 12px;
    background: #fff;
}

.tm-news-article .tm-news-table:focus-visible {
    outline: 2px solid #2e6549;
    outline-offset: 3px;
}

.tm-news-article .tm-news-table table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.5;
}

.tm-news-article .tm-news-table table:has(tr:first-child > :nth-child(3)) { min-width: 550px; }

.tm-news-article .tm-news-table caption {
    padding: 10px 15px;
    color: var(--news-accent);
    font-weight: 650;
    text-align: left;
}

.tm-news-article .tm-news-table :is(th, td) {
    padding: 12px 15px;
    text-align: left;
    vertical-align: top;
    border: 0;
    border-bottom: 1px solid #e1e9df;
}

.tm-news-article .tm-news-table th {
    color: #2b4d3a;
    background: #e8f0e5;
    font-weight: 700;
}

.tm-news-article .tm-news-table tbody tr:nth-child(even) { background: #f4f7f2; }
.tm-news-article .tm-news-table tbody td:first-child { font-weight: 650; }
.tm-news-article .tm-news-table tbody tr:last-child td { border-bottom: 0; }

.tm-news-article .tm-news-table td { font-variant-numeric: tabular-nums; }

@media (max-width: 600px) {
    .tm-news-article > .tm-article-text { font-size: 16px; line-height: 1.7; }
    .tm-news-article .tm-article-text h2 { margin-top: 1.75em; text-wrap: wrap; }
    .tm-news-article .tm-article-text h3 { font-size: 18px; }
    .tm-news-article .tm-news-table { margin: 18px 0 24px; }
    .tm-news-article .tm-news-table :is(th, td) { padding: 10px 12px; }
}
