/* Rich text from the treatment editor, scoped away from other page templates. */
.treatment-content {
  max-width: 960px;
  margin: 0 auto;
  color: #212b35;
  overflow-wrap: anywhere;
  font-size: 1rem;
  line-height: 1.75;
}

.treatment-content :is(h2, h3, h4, h5, h6) {
  margin: 2.5rem 0 1rem;
  color: #543763;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  line-height: 1.35;
}

.treatment-content h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.treatment-content h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.treatment-content :is(h4, h5, h6) { font-size: 1.125rem; }
.treatment-content > :first-child { margin-top: 0; }
.treatment-content > :last-child { margin-bottom: 0; }
.treatment-content p { margin: 0 0 1.25rem; line-height: 1.75; }
.treatment-content :is(ul, ol) { margin: 1rem 0 1.5rem; padding-left: 1.5rem; }
.treatment-content ol { list-style-type: decimal; }
.treatment-content li { margin-bottom: .625rem; line-height: 1.75; }
.treatment-content li::marker { color: #b96e60; }
.treatment-content li > :is(ul, ol) { margin: .5rem 0; }
.treatment-content :is(strong, b) { color: inherit; font-weight: 700; }
.treatment-content a { color: #543763; text-decoration: underline; text-underline-offset: .2em; }
.treatment-content :is(img, video, iframe) { max-width: 100%; }
.treatment-content :is(img, video) { height: auto; border-radius: 1rem; }
.treatment-content blockquote {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid #e9a99c;
  background: #fdf7f5;
  border-radius: 0 .75rem .75rem 0;
}

.treatment-table {
  max-width: 100%;
  margin: 1.5rem 0 2rem;
  overflow-x: auto;
  border: 1px solid #eeded9;
  border-radius: 1rem;
  -webkit-overflow-scrolling: touch;
}
.treatment-table:focus-visible { outline: 2px solid #543763; outline-offset: 4px; }
.treatment-content table { width: 100%; min-width: 600px; border: 0; border-collapse: collapse; font-size: 1rem; line-height: 1.6; }
.treatment-content :is(th, td) { padding: 1rem 1.25rem; border: 0; border-bottom: 1px solid #eeded9; text-align: left; vertical-align: top; }
.treatment-content th { background: #f6e9e5; color: #543763; font-weight: 700; }
.treatment-content tbody tr:nth-child(odd) td { background: #fdf7f5; }
.treatment-content tr:last-child td { border-bottom: 0; }

@media (min-width: 1024px) {
  .treatment-content { font-size: 1.125rem; }
  .treatment-content :is(h2, h3, h4, h5, h6) { margin-top: 3rem; }
  .treatment-content > :first-child { margin-top: 0; }
}
