/* The same article defaults are used in the editor, preview and public page.
   Saved inline formatting takes precedence over these defaults. */
.otithi-rich-text {
    display: flow-root;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: CanvasText;
    overflow-wrap: anywhere;
}
.otithi-rich-text :where(p, li, div, blockquote) {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}
.otithi-rich-text :where(h1, h2, h3, h4, h5, h6) {
    font-family: inherit;
    font-weight: 600;
    line-height: 1.3;
    color: inherit;
    margin-block: .65em;
}
.otithi-rich-text h1 { font-size: 2em; }
.otithi-rich-text h2 { font-size: 1.5em; }
.otithi-rich-text h3 { font-size: 1.17em; }
.otithi-rich-text h4 { font-size: 1em; }
.otithi-rich-text h5 { font-size: .83em; }
.otithi-rich-text h6 { font-size: .67em; }
.otithi-rich-text :where(b, strong) { font-weight: bolder; color: inherit; }
.otithi-rich-text p { margin-block: 0 1em; }
.otithi-rich-text img { max-width: 100%; }
.otithi-rich-text iframe.note-video-clip, .otithi-rich-text video.note-video-clip {
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}
.otithi-rich-text .otithi-image-caption {
    display: block;
    font-size: .875em;
    text-align: center;
    margin-block: .5em 1em;
}
.otithi-rich-text table { border-collapse: collapse; max-width: 100%; }
.otithi-rich-text :where(td, th) { border: 1px solid #ececec; padding: 5px 3px; }

/* List layout shared by the editor and rendered descriptions. */
.otithi-rich-text ol,
.otithi-rich-text ul {
    margin-block: .75em;
    padding-inline-start: 2.5em;
    padding-inline-end: 0;
    list-style-position: outside;
}

.otithi-rich-text ol {
    list-style-type: decimal;
}

.otithi-rich-text ul {
    list-style-type: disc;
}

.otithi-rich-text li {
    display: list-item;
    list-style-type: inherit;
    list-style-position: outside;
    padding: 0;
    margin: 0;
}
