/* Platform CMS content preset */
/* Usage: <link rel="stylesheet" href="/assets/cms-content.css" /> and wrap HTML with <div class="cms-content">...</div> */
.cms-content {
  color: #243431;
  line-height: 1.85;
  font-size: 1rem;
}
.cms-content > :first-child { margin-top: 0; }
.cms-content > :last-child { margin-bottom: 0; }
.cms-content h1, .cms-content h2, .cms-content h3, .cms-content h4, .cms-content h5, .cms-content h6 {
  color: #13211f;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
}
.cms-content h1 { font-size: 2rem; }
.cms-content h2 { font-size: 1.55rem; padding-bottom: 0.3rem; border-bottom: 1px solid rgba(15,23,42,0.12); }
.cms-content h3 { font-size: 1.2rem; }
.cms-content h4, .cms-content h5, .cms-content h6 { font-size: 1rem; }
.cms-content p, .cms-content ul, .cms-content ol, .cms-content blockquote, .cms-content pre, .cms-content table, .cms-content hr {
  margin-top: 1em;
  margin-bottom: 1em;
}
.cms-content ul, .cms-content ol { padding-left: 1.5rem; }
.cms-content ul { list-style: disc; }
.cms-content ol { list-style: decimal; }
.cms-content li + li { margin-top: 0.35rem; }
.cms-content li > p { margin-top: 0; margin-bottom: 0; }
.cms-content li > ul, .cms-content li > ol { margin-top: 0.5rem; margin-bottom: 0; }
.cms-content blockquote {
  margin-left: 0;
  margin-right: 0;
  padding: 0.8rem 1rem;
  border-left: 3px solid rgba(15,23,42,0.12);
  background: rgba(18, 60, 51, 0.06);
  color: #5f6f69;
}
.cms-content hr { border: 0; border-top: 1px solid rgba(15,23,42,0.12); }
.cms-content a { color: #2563eb; text-decoration: underline; text-underline-offset: 0.18em; }
.cms-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.875em;
  line-height: 1.45;
  padding: 0.15rem 0.35rem;
  border-radius: 0.375rem;
  background: rgba(18, 60, 51, 0.08);
}
.cms-content pre {
  overflow-x: auto;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(15,23,42,0.12);
  border-radius: 0.9rem;
  background: rgba(18, 60, 51, 0.06);
}
.cms-content pre code { padding: 0; border-radius: 0; background: transparent; }
.cms-content table { width: 100%; border-collapse: collapse; font-size: 0.95rem; overflow: hidden; border-radius: 16px; }
.cms-content th, .cms-content td {
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(15,23,42,0.12);
  text-align: left;
  vertical-align: top;
}
.cms-content th { font-weight: 700; color: #13211f; background: rgba(18, 60, 51, 0.08); }
.cms-content img { display: block; max-width: 100%; height: auto; margin: 1rem auto; border-radius: 0.9rem; }
