@charset "UTF-8";
/*
 * Article content styles.
 *
 * Loaded twice on purpose: once on the public article page, and once inside
 * the admin editor (TinyMCE content_css). One file means what the author sees
 * while writing is what the reader gets. Keep everything scoped to
 * .article-content so nothing leaks into the rest of the site.
 */

.article-content {
  --art-em: #1baa8b;
  --art-teal: #63b2b6;
  --art-deep: #06231f;
  --art-mist: #f2f8f6;
  --art-line: #e2edea;
  --art-ink: #20302d;
  --art-soft: #55706a;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--art-ink);
}

.article-content > *:first-child { margin-top: 0; }
.article-content > *:last-child { margin-bottom: 0; }

.article-content h2,
.article-content h3,
.article-content h4 {
  font-family: 'Jost', 'Inter', system-ui, sans-serif;
  color: var(--art-deep);
  line-height: 1.25;
  margin: 2.4rem 0 .85rem;
}
.article-content h2 { font-size: 1.65rem; }
.article-content h3 { font-size: 1.3rem; }
.article-content h4 { font-size: 1.08rem; }
.article-content p { margin: 0 0 1.15rem; }
.article-content a { color: var(--art-em); text-underline-offset: .18em; }
.article-content ul,
.article-content ol { margin: 0 0 1.3rem; padding-left: 1.35rem; }
.article-content li { margin-bottom: .5rem; }
.article-content blockquote {
  margin: 1.7rem 0;
  padding: .3rem 0 .3rem 1.3rem;
  border-left: 3px solid var(--art-em);
  font-size: 1.08rem;
  color: var(--art-soft);
  font-style: italic;
}
.article-content img { max-width: 100%; height: auto; border-radius: 12px; }
.article-content hr { border: 0; border-top: 1px solid var(--art-line); margin: 2.2rem 0; }

/* ---------------------------------------------------------------- tables */

/* Wide tables scroll inside their own box instead of stretching the page.
   The wrapper is added automatically when the article is saved. */
.article-content .art-table-wrap {
  overflow-x: auto;
  margin: 1.8rem 0;
  border: 1px solid var(--art-line);
  border-radius: 14px;
  -webkit-overflow-scrolling: touch;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: .94rem;
  min-width: 460px;
  background: #fff;
}

.article-content thead th {
  background: var(--art-deep);
  color: #fff;
  font-family: 'Jost', 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: left;
  vertical-align: bottom;
}

.article-content th,
.article-content td {
  padding: .82rem 1rem;
  border-bottom: 1px solid var(--art-line);
  vertical-align: top;
  text-align: left;
}

/* Row-label column (a <th> inside the body) — used by comparison tables. */
.article-content tbody th {
  background: var(--art-mist);
  font-weight: 600;
  color: var(--art-deep);
  white-space: nowrap;
}

.article-content tbody tr:last-child th,
.article-content tbody tr:last-child td { border-bottom: 0; }
.article-content tbody tr:hover td { background: #fbfdfc; }
.article-content caption {
  caption-side: bottom;
  padding: .85rem 1rem 0;
  font-size: .85rem;
  color: var(--art-soft);
  text-align: left;
}

/* ------------------------------------------------------------- callouts */

.article-content .art-callout {
  margin: 1.8rem 0;
  padding: 1.15rem 1.35rem;
  background: var(--art-mist);
  border-left: 4px solid var(--art-em);
  border-radius: 0 12px 12px 0;
}
.article-content .art-callout > *:last-child { margin-bottom: 0; }
.article-content .art-callout-title {
  font-family: 'Jost', 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--art-em);
  margin: 0 0 .45rem;
}

/* Warning variant — for the "this catches people out" boxes. */
.article-content .art-callout.art-warn {
  background: #fdf6ec;
  border-left-color: #d98324;
}
.article-content .art-callout.art-warn .art-callout-title { color: #b3661a; }

/* --------------------------------------------------------- key takeaway */

.article-content .art-takeaway {
  margin: 2.2rem 0;
  padding: 1.6rem 1.75rem;
  background: var(--art-deep);
  border-radius: 16px;
  color: #e8f5f1;
}
.article-content .art-takeaway > *:last-child { margin-bottom: 0; }
.article-content .art-takeaway-title {
  font-family: 'Jost', 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--art-teal);
  margin: 0 0 .55rem;
}
.article-content .art-takeaway strong { color: #fff; }
.article-content .art-takeaway a { color: #7fd9c2; }

/* ------------------------------------------------------------ stat tiles */

.article-content .art-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 1rem;
  margin: 1.9rem 0;
}
.article-content .art-stat {
  background: var(--art-mist);
  border: 1px solid var(--art-line);
  border-radius: 14px;
  padding: 1.15rem 1.2rem;
}
.article-content .art-stat-value {
  display: block;
  font-family: 'Jost', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.15rem, 1.6vw + .6rem, 1.4rem);
  font-weight: 700;
  white-space: nowrap;
  color: var(--art-em);
  line-height: 1.15;
  margin-bottom: .3rem;
}
.article-content .art-stat-label {
  display: block;
  font-size: .84rem;
  line-height: 1.45;
  color: var(--art-soft);
}

/* ----------------------------------------------------------------- cards */

.article-content .art-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 1.1rem;
  margin: 1.9rem 0;
}
.article-content .art-card {
  background: #fff;
  border: 1px solid var(--art-line);
  border-radius: 16px;
  padding: 1.3rem 1.35rem;
}
.article-content .art-card > *:last-child { margin-bottom: 0; }
.article-content .art-card-title {
  font-family: 'Jost', 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--art-deep);
  margin: 0 0 .5rem;
}
.article-content .art-card ul { margin-bottom: 0; padding-left: 1.15rem; }
.article-content .art-card li { font-size: .93rem; }

/* ---------------------------------------------------------- on this page */

.article-content .art-toc {
  margin: 1.9rem 0;
  padding: 1.25rem 1.45rem;
  background: var(--art-mist);
  border: 1px solid var(--art-line);
  border-radius: 14px;
}
.article-content .art-toc-title {
  font-family: 'Jost', 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--art-soft);
  margin: 0 0 .6rem;
}
.article-content .art-toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 1.6rem;
}
.article-content .art-toc li { margin-bottom: .34rem; font-size: .92rem; }

@media (max-width: 575.98px) {
  .article-content .art-toc ul { columns: 1; }
  .article-content .art-takeaway { padding: 1.3rem 1.25rem; }
}

/* Inside the editor only: show the shape of a block that has no visible
   border of its own, so the author can see what they are editing. */
body.article-content { padding: 1.2rem 1.4rem; background: #fff; }
