/* Basic styles for the content of SimpleEmbed pages (html from the CKEditor) */
.plg-simpleembed-content img {
    max-width: 100%;
    height: auto;
}

.plg-simpleembed-content figure.image {
    display: table;
    margin: 1rem auto;
}

.plg-simpleembed-content figure.image-style-side {
    float: right;
    margin-left: 1.5rem;
    max-width: 50%;
}

.plg-simpleembed-content figcaption {
    font-size: .875rem;
    color: var(--bs-secondary-color, #6c757d);
    text-align: center;
}

.plg-simpleembed-content table {
    width: auto;
    max-width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.plg-simpleembed-content th,
.plg-simpleembed-content td {
    padding: .4rem .75rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
    vertical-align: top;
}

.plg-simpleembed-content th {
    background-color: var(--bs-tertiary-bg, #f8f9fa);
}

.plg-simpleembed-content blockquote {
    padding-left: 1rem;
    border-left: 4px solid var(--bs-border-color, #dee2e6);
    color: var(--bs-secondary-color, #6c757d);
}

.plg-simpleembed-content::after {
    content: "";
    display: table;
    clear: both;
}
