.article-content { font-family: Nunito, sans-serif; font-size: 18px; line-height: 1.8; overflow-wrap: anywhere; color: #2b2d41; }
.article-content > * + * { margin-top: 2rem; }
.article-section [hidden], .article-builder [hidden] { display: none !important; }
.article-section__heading, .article-content h1, .article-rich-text :is(h2,h3,h4) { font-family: Outfit, sans-serif; font-weight: 600; line-height: 1.25; color: #2b2d41; }
.article-content h1 { font-size: clamp(2rem, 5vw, 3rem); }
.article-section__heading { font-size: 1.75rem; margin-bottom: 1.25rem; }
.article-section__layout { display: grid; gap: 1.5rem; min-width: 0; }
.article-section__figure { width: var(--article-image-width, 100%); max-width: 100%; margin: 0 auto; }
.article-section[data-image-alignment="left"] .article-section__figure { margin-left: 0; }
.article-section[data-image-alignment="right"] .article-section__figure { margin-right: 0; }
.article-section__figure img { display: block; width: 100%; height: auto; border-radius: 1rem; }
.article-section__figure figcaption { margin-top: .75rem; color: #657080; font-size: .875rem; line-height: 1.6; }
.article-rich-text { min-width: 0; }
.article-rich-text mark, .article-rich-editor mark { background-color: transparent; color: inherit; }
.article-rich-text > :first-child { margin-top: 0; }
.article-rich-text > :last-child { margin-bottom: 0; }
.article-rich-text p { margin: 0 0 1rem; }
.article-rich-text h2 { font-size: 1.75rem; margin: 1.75rem 0 1rem; }
.article-rich-text h3 { font-size: 1.4rem; margin: 1.5rem 0 .75rem; }
.article-rich-text h4 { font-size: 1.15rem; margin: 1.25rem 0 .75rem; }
.article-rich-text :is(ul,ol) { padding-left: 1.5rem; margin: 1rem 0; }
.article-rich-text ul { list-style: disc; }
.article-rich-text ol { list-style: decimal; }
.article-rich-text li + li { margin-top: .4rem; }
.article-rich-text a { color: #0768a9; text-decoration: underline; text-underline-offset: 3px; }
.article-rich-text blockquote { margin: 1.25rem 0; padding: .75rem 1.25rem; border-left: 3px solid #0768a9; border-radius: 0 .5rem .5rem 0; background: #f0f7fc; }
.article-rich-text pre { white-space: pre-wrap; border-radius: .75rem; background: #f3f5f7; padding: 1rem; font-size: .875rem; }
.article-rich-text code { font-family: monospace; }
.article-rich-text table { display: block; overflow-x: auto; border-collapse: collapse; max-width: 100%; margin: 1rem 0; }
.article-rich-text :is(td,th) { padding: .6rem .8rem; border: 1px solid #dce2e7; }
.article-rich-text th { background: #f3f5f7; text-align: left; font-weight: 700; }
.article-rich-text hr { border: 0; border-top: 1px solid #dce2e7; margin: 2rem 0; }
.article-type-toolbar { display: flex; flex-wrap: wrap; gap: .75rem; padding: .75rem; margin-bottom: .5rem; background: #f6f8fa; border: 1px solid #e1e7ec; border-radius: .75rem; }
.article-type-toolbar label { display: flex; align-items: center; gap: .5rem; color: #596575; font-size: .75rem; font-weight: 600; }
.article-type-toolbar select { min-height: 36px; max-width: 180px; border: 1px solid #d7dfe6; border-radius: .5rem; background: white; padding: .4rem 1.75rem .4rem .6rem; font-size: .8125rem; color: #2b2d41; }
.article-rich-editor lexxy-editor { --lexxy-color-accent: #0768a9; --lexxy-color-ink: #2b2d41; --lexxy-font-base: Nunito, sans-serif; --lexxy-radius: .75rem; border: 1px solid #d7dfe6; border-radius: .875rem; background: white; overflow: visible; }
.article-rich-editor .lexxy-editor__content { min-height: 240px; font-family: Nunito, sans-serif; font-size: 18px; line-height: 1.8; padding: 1.25rem; overflow-wrap: anywhere; }
.article-rich-editor lexxy-toolbar { border-radius: .875rem .875rem 0 0; padding: .5rem; gap: .25rem; }
.article-rich-editor lexxy-editor:focus-within { outline: 2px solid #0768a933; outline-offset: 2px; }
.article-preview-dialog { width: min(1100px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 1px solid #dce2e7; border-radius: 1.25rem; background: white; color: #2b2d41; box-shadow: 0 24px 80px #19263b40; }
.article-preview-dialog::backdrop { background: #19263b88; backdrop-filter: blur(4px); }
.article-preview-content { max-width: 900px; margin: 0 auto; padding: clamp(20px, 5vw, 56px); }
.article-preview-summary { font-size: 1.125rem; color: #657080; }
@media (min-width: 640px) {
  .article-section:is([data-layout="image_left"],[data-layout="image_right"]) .article-section__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 2rem; }
  .article-section[data-layout="image_right"] .article-section__figure { order: 2; }
}
@media (max-width: 639px) {
  .article-type-toolbar { gap: .5rem; }
  .article-type-toolbar label { flex: 1 1 auto; }
  .article-rich-editor .lexxy-editor__content { padding: 1rem; }
}
