/**
 * CMS / TinyMCE HTML — loaded after Tailwind so lists and typography match the editor.
 */
.cms-content,
.cms-heading,
.text-content.cms-content {
  color: #1f2937;
  font-size: 1rem;
  line-height: 1.75;
  word-wrap: break-word;
}

.cms-content--left {
  text-align: left;
}

.cms-content--center {
  text-align: center;
}

.cms-content--right {
  text-align: right;
}

.cms-content--justify {
  text-align: justify;
}

.cms-heading {
  color: #286a4d;
  margin-bottom: 1.25rem;
}

.cms-heading h1,
.cms-heading h2,
.cms-heading h3,
.cms-heading h4,
.cms-heading h5,
.cms-heading h6,
.cms-heading p {
  margin: 0;
  font: inherit;
  color: inherit;
}

.cms-content p,
.cms-content .MsoNormal {
  margin: 0 0 1em;
}

.cms-content p:last-child,
.cms-content .MsoNormal:last-child {
  margin-bottom: 0;
}

.cms-content ul,
.cms-content ol {
  margin: 0.75em 0 1em;
  padding-left: 1.75rem;
}

.cms-content ul {
  list-style-type: disc !important;
}

.cms-content ol {
  list-style-type: decimal !important;
}

.cms-content ul ul {
  list-style-type: circle;
  margin-top: 0.35em;
}

.cms-content ul ul ul {
  list-style-type: square;
}

.cms-content li {
  display: list-item !important;
  margin: 0.35em 0;
  padding-left: 0.25rem;
}

.cms-content li > p {
  margin: 0;
}

.cms-content h1,
.cms-content h2,
.cms-content h3,
.cms-content h4,
.cms-content h5,
.cms-content h6 {
  margin: 1.25em 0 0.65em;
  font-weight: 700;
  line-height: 1.35;
  color: #003618;
}

.cms-content h1 {
  font-size: 1.875rem;
}

.cms-content h2 {
  font-size: 1.5rem;
}

.cms-content h3 {
  font-size: 1.25rem;
}

.cms-content a {
  color: #005224;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cms-content a:hover {
  color: #003618;
}

.cms-content strong,
.cms-content b {
  font-weight: 700;
}

.cms-content em,
.cms-content i {
  font-style: italic;
}

.cms-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.375rem;
}

.cms-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
}

.cms-content th,
.cms-content td {
  border: 1px solid #d1d5db;
  padding: 0.5rem 0.75rem;
  vertical-align: top;
}

.cms-content th {
  background: #f3f4f6;
  font-weight: 600;
}

.cms-content blockquote {
  margin: 1em 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid #005224;
  background: #f9fafb;
}

.cms-content--on-dark,
.cms-content--on-dark p,
.cms-content--on-dark li,
.cms-content--on-dark span {
  color: #fff;
}

.cms-content--on-dark a {
  color: #d1fae5;
}