/* FinMatters articles — listing cards and article body.
   Built on site.css tokens; nothing here redefines brand colour. */

/* ---------- listing ---------- */
.fm-art-card { display: flex; flex-direction: column; }
.fm-art-card h3 { margin-bottom: .4rem; }
.fm-art-card-meta {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: .72rem; letter-spacing: .04em; text-transform: uppercase;
  opacity: .62; margin: .35rem 0 .9rem;
}
.fm-art-card .more { margin-top: auto; }

/* ---------- article head ---------- */
.fm-art-hero h1 { max-width: 20ch; }
.fm-art-byline {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: .74rem; letter-spacing: .04em; text-transform: uppercase;
  opacity: .62; margin-top: 1.1rem;
}

/* ---------- article body ---------- */
.fm-art-body { max-width: 68ch; }
.fm-art-body > h2 {
  margin: 2.6rem 0 .8rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.22;
}
.fm-art-body > h2:first-child { margin-top: 0; }
.fm-art-body > h3 { margin: 1.9rem 0 .55rem; font-size: 1.08rem; }
.fm-art-body > p { margin: 0 0 1.05rem; line-height: 1.72; }
.fm-art-body a { text-decoration: underline; text-underline-offset: .18em; }

.fm-art-list { margin: 0 0 1.25rem; padding-left: 1.1rem; }
.fm-art-list li { margin-bottom: .5rem; line-height: 1.66; }

.fm-art-quote {
  margin: 1.8rem 0; padding: 0 0 0 1.15rem;
  border-left: 2px solid currentColor;
}
.fm-art-quote p { font-size: 1.1rem; line-height: 1.6; margin: 0 0 .5rem; }
.fm-art-quote cite {
  font-style: normal; font-size: .82rem; letter-spacing: .03em;
  text-transform: uppercase; opacity: .62;
}

.fm-art-callout {
  margin: 1.8rem 0; padding: 1.15rem 1.25rem;
  border: 1px solid rgba(128, 128, 128, .28); border-radius: 10px;
}
.fm-art-callout .eyebrow { margin: 0 0 .4rem; }
.fm-art-callout p:last-child { margin: 0; line-height: 1.66; }

.fm-art-tablewrap { margin: 1.6rem 0; overflow-x: auto; }
.fm-art-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.fm-art-table th, .fm-art-table td {
  text-align: left; padding: .62rem .7rem;
  border-bottom: 1px solid rgba(128, 128, 128, .22);
}
.fm-art-table thead th {
  font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; opacity: .7;
}
.fm-art-table tbody th { font-weight: 600; }
.fm-art-table td { font-family: 'JetBrains Mono', ui-monospace, monospace; }

.fm-art-note { font-size: .82rem; opacity: .66; margin: -.9rem 0 1.5rem; line-height: 1.55; }

.fm-art-sources { margin: 2.6rem 0 0; padding-top: 1.4rem; border-top: 1px solid rgba(128, 128, 128, .22); }
.fm-art-sources h2 { font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; opacity: .7; margin: 0 0 .7rem; }
.fm-art-sources ul { margin: 0; padding-left: 1.1rem; }
.fm-art-sources li { margin-bottom: .35rem; font-size: .9rem; }

.fm-art-general {
  margin: 1.8rem 0 0; padding-top: 1.2rem;
  border-top: 1px solid rgba(128, 128, 128, .22);
  font-size: .82rem; opacity: .66; line-height: 1.6;
}

@media (max-width: 700px) {
  .fm-art-body { max-width: none; }
  .fm-art-hero h1 { max-width: none; }
}

/* companion-piece label ("Explain it like you're seven", "Our take", ...) */
.fm-art-series {
  display: inline-block; margin-left: .45rem; padding: .12rem .5rem;
  border: 1px solid currentColor; border-radius: 999px;
  font-size: .64rem; letter-spacing: .06em; text-transform: uppercase;
  opacity: .85; vertical-align: .08em;
}
