/*!
 * Smart Studio Shared Rich Text CSS
 *
 * Shared formatting for event descriptions rendered in admin, portal and public calendar views.
 */

.studio-rich-text {
    overflow-wrap: anywhere;
}

.studio-rich-text p {
    margin: 0 0 8px;
    overflow-wrap: anywhere;
    white-space: normal;
}

.studio-rich-text p:last-child {
    margin-bottom: 0;
}

.studio-rich-text p:empty::before {
    content: "\00a0";
}

.studio-rich-text ul,
.studio-rich-text ol {
    margin: 8px 0 8px 20px;
    padding: 0;
}

.studio-rich-text li {
    margin: 3px 0;
}

.studio-rich-text img {
    max-width: 100%;
    height: auto;
}

.studio-rich-text img.emoji,
.studio-rich-text img.wp-smiley,
.studio-rich-text img[src*="/emoji/"],
.studio-rich-text img[src*="twemoji"],
.studio-rich-text img[src*="s.w.org/images/core/emoji"] {
    display: inline-block;
    width: 1.05em;
    max-width: 1.05em;
    height: 1.05em;
    max-height: 1.05em;
    margin: 0 .08em 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    object-fit: contain;
    vertical-align: -.14em;
}
