/* TinyMCE wrapper spacing in admin forms */
.tox-tinymce {
    border-radius: 0.35rem;
    border-color: #d1d3e2 !important;
}

.tox .tox-edit-area__iframe {
    background: #fff;
}

/* Frontend / detail views: rich HTML from TinyMCE */
.post-description,
.post_description,
.entry-content,
.page-content,
.acbar-rich-content {
    line-height: 1.7;
    word-wrap: break-word;
}

.acbar-rich-content ul,
.post-description ul,
.post_description ul,
.entry-content ul {
    list-style: disc;
    padding-inline-start: 1.5em;
    margin: 0 0 1em;
}

.acbar-rich-content ol,
.post-description ol,
.post_description ol,
.entry-content ol {
    list-style: decimal;
    padding-inline-start: 1.5em;
    margin: 0 0 1em;
}

.acbar-rich-content table,
.post-description table,
.post_description table,
.entry-content table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 0 0 1em;
}

.acbar-rich-content table td,
.acbar-rich-content table th,
.post-description table td,
.post-description table th {
    border: 1px solid #ddd;
    padding: 8px;
}

.acbar-rich-content img,
.post-description img,
.post_description img,
.entry-content img {
    max-width: 100%;
    height: auto;
}

[dir="rtl"] .acbar-rich-content,
[dir="rtl"] .post-description,
[dir="rtl"] .post_description {
    text-align: right;
}
