/* Optional long-form page template; applies to HTML and Gutenberg content. */
.stc-site-main.stc-document-page {
  --stc-prose-width: 640px;
  box-sizing: border-box;
  width: min(100%, 848px);
  margin-inline: auto;
  padding: 56px 24px 96px;
  text-align: left;
}
.stc-document-page > .wp-block-post-title {
  margin: 0 0 24px;
  font-size: 40px;
  line-height: 1.1;
}
.stc-document-page > .stc-prose {
  max-width: none;
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.65;
}
.stc-document-page .stc-prose :is(p, ul, ol, h2, h3, blockquote) {
  box-sizing: border-box;
  max-width: min(68ch, var(--stc-prose-width));
  margin-inline: 0;
}
.stc-document-page .stc-prose :is(p, ul, ol) { margin-block: 0 24px; }
.stc-document-page .stc-prose :is(h2, h3) {
  font-family: inherit;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.stc-document-page .stc-prose h2 { font-size: 24px; line-height: 1.3; margin-block: 48px 16px; }
.stc-document-page .stc-prose h3 { font-size: 20px; line-height: 1.35; margin-block: 32px 12px; }
.stc-document-page .stc-prose :is(ul, ol) { padding-inline-start: 24px; }
.stc-document-page .stc-prose li + li { margin-block-start: 8px; }
.stc-document-page .stc-prose li > :is(p, ul, ol) { margin-block-end: 8px; }
.stc-document-page .stc-prose :is(.stc-document-notice, p[style*="border-left"]) {
  max-width: none;
  padding: 20px 24px !important;
  border: 1px solid #dfc689 !important;
  background: #fff4da !important;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  margin-block: 0 16px;
}
.stc-document-page .stc-prose :is(.stc-document-notice, p[style*="border-left"]) strong { font-weight: inherit; }
.stc-document-page .stc-prose :is(.stc-document-version, p[style*="border-left"] + p) {
  font-size: 14px;
  color: #355252;
  margin-block-end: 40px;
}
.stc-document-page .stc-prose :is(.stc-document-version, p[style*="border-left"] + p) + h2 { margin-block-start: 0; }
.stc-document-page .stc-prose .wp-block-table {
  max-width: 100%;
  margin: 24px 0 32px;
  overflow-x: auto;
}
.stc-document-page .stc-prose table {
  width: 100% !important;
  border-collapse: collapse;
  table-layout: auto !important;
  font-size: 16px;
  line-height: 1.55;
}
.stc-document-page .stc-prose :is(td, th) {
  padding: 12px 16px !important;
  border: 0;
  border-bottom: 1px solid #e5e5df;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.stc-document-page .stc-prose th { background: #eef9f1; font-weight: 700; text-align: left; }
.stc-document-page .stc-prose tbody tr:nth-child(even) { background: #f8f4ea; }
.stc-document-page .stc-prose :is(a, .wp-block-table):focus-visible { outline: 3px solid #8f6819; outline-offset: 4px; }
@media (max-width: 700px) {
  .stc-site-main.stc-document-page { padding: 32px 20px 64px; }
  .stc-document-page > .wp-block-post-title { font-size: 34px; overflow-wrap: anywhere; }
  .stc-document-page > .stc-prose { font-size: 16px; }
  .stc-document-page .stc-prose :is(p, ul, ol) { margin-block-end: 20px; }
  .stc-document-page .stc-prose h2 { font-size: 22px; margin-block-start: 40px; }
  .stc-document-page .stc-prose h3 { font-size: 18px; }
  .stc-document-page .stc-prose :is(.stc-document-notice, p[style*="border-left"]) { padding: 16px !important; }
  .stc-document-page .stc-prose table { min-width: 620px; }
}
