/* Shared by the frontend and the block editor. */
.nti-content, .editor-styles-wrapper { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.8; overflow-wrap: break-word; }
.nti-content > :where(p, ul, ol, blockquote, h2, h3, h4, h5, h6) { max-width: 76ch; }
.nti-content p { margin-block: 0 1.4em; }
.nti-content :where(h2, h3, h4) { margin-top: 1.8em; margin-bottom: .8em; line-height: 1.3; letter-spacing: -.02em; }
.nti-content h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.nti-content h3 { font-size: 1.3rem; }
.nti-content :where(ul, ol) { padding-inline-start: 1.5em; }
.nti-content li { margin-bottom: .5em; }
.nti-content :where(a:not(.wp-block-button__link)) { text-decoration: underline; text-underline-offset: .2em; }
.nti-content :where(figure) { max-width: 100%; margin-inline: 0; }
.nti-content :where(img, video, iframe, embed, object) { max-width: 100%; }
.nti-content iframe[src*="youtube"], .nti-content iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.nti-content .alignleft { float: left; margin: 0 1.5em 1em 0; }
.nti-content .alignright { float: right; margin: 0 0 1em 1.5em; }
.nti-content .aligncenter { display: block; margin-inline: auto; }
.nti-content .alignwide, .nti-content .alignfull { width: 100%; max-width: none; margin-inline: 0; }
.nti-content::after { content: ""; display: table; clear: both; }
.nti-content :where(figcaption, .wp-caption-text) { color: #526078; font-size: .8125rem; margin-top: 10px; line-height: 1.6; }
.nti-content .wp-caption { max-width: 100%; }
.nti-content :where(blockquote, .wp-block-quote) { border-left: 3px solid #06758a; margin: 28px 0; padding: 16px 24px; background: #f6f8fc; }
.nti-content blockquote p:last-child { margin-bottom: 0; }
.nti-content :where(pre) { white-space: pre-wrap; overflow-wrap: anywhere; background: #f6f8fc; padding: 20px; border-radius: 6px; font-size: .875rem; }
.nti-content table { border-collapse: collapse; max-width: 100%; margin-block: 24px; font-size: .9375rem; }
.nti-content :where(th, td) { border: 1px solid #dce3ed; padding: 12px 16px; text-align: start; vertical-align: top; }
.nti-content th { background: #edf3fc; color: #17263c; font-weight: 700; }
.nti-table-scroll, .nti-content .wp-block-table { overflow-x: auto; max-width: 100%; overscroll-behavior-x: contain; margin-block: 24px; }
.nti-table-scroll > table { margin-block: 0; }
.nti-content .wp-block-button__link { min-height: 44px; padding: 12px 20px; border-radius: 6px; }
.nti-content .wp-block-columns, .nti-content .wp-block-column { min-width: 0; }
.nti-content .wp-block-cover { overflow: hidden; }
.nti-content :where(input:not([type="checkbox"], [type="radio"], [type="submit"], [type="button"], [type="hidden"]), select, textarea) { border: 1px solid #74849c; border-radius: 5px; color: #17263c; background: #fff; padding: 10px 12px; max-width: 100%; min-height: 44px; }
.nti-content textarea { width: 100%; min-height: 140px; }
.nti-content :where(input[type="submit"], input[type="button"]) { border: 1px solid transparent; background: #183883; color: #fff; min-height: 44px; padding: 10px 20px; border-radius: 5px; cursor: pointer; }
.nti-content :where(label, legend) { font-weight: 600; }
.nti-content details { border: 1px solid #dce3ed; border-radius: 6px; margin-block: 16px; padding: 16px 20px; }
.nti-content summary { min-height: 32px; font-weight: 650; }
.nti-content details[open] summary { margin-bottom: 16px; }
.nti-alert { background: #edf3fc; border-left: 4px solid #183883; padding: 20px 24px; border-radius: 4px; }
.nti-alert-error { border-color: #a32336; }
.nti-alert-success { border-color: #146b45; }
.nti-alert-warning { border-color: #805400; }
.nti-badge { display: inline-block; padding: 2px 10px; background: #edf3fc; color: #183883; border-radius: 4px; font-size: .75rem; font-weight: 650; }
.nti-high-contrast .nti-content :where(p, span, li, td, th, div, blockquote, pre, input, select, textarea) { color: #fff !important; background-color: #000 !important; border-color: #fff; }
.nti-high-contrast .nti-content a { color: #ffed00 !important; }
@media (min-width: 960px) {
  .nti-content-layout:not(.nti-with-sidebar) > .nti-content-column { width: min(100%, 840px); margin-inline: auto; }
  .page-template-full-width .nti-content-layout > .nti-content-column { width: 100%; }
  .nti-content-layout:not(.nti-with-sidebar) .alignwide { width: min(1100px, calc(100vw - 64px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
  .nti-content-layout:not(.nti-with-sidebar) .alignfull { width: min(1280px, calc(100vw - 64px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
}
@media (max-width: 639px) {
  .nti-content .alignleft, .nti-content .alignright { float: none; margin-inline: 0; }
  .nti-content :where(th, td) { padding: 10px; }
}
