/* Vvveb sections are saved inside the article, not as direct children of body.
   These rules keep the editor's cover image, overlay, and text stacking intact. */
.payera-editor-content header,
.payera-editor-content section,
.payera-editor-content footer {
    position: relative;
    isolation: isolate;
}

.payera-editor-content header .background-container,
.payera-editor-content section .background-container,
.payera-editor-content footer .background-container {
    z-index: 0;
}

.payera-editor-content header .overlay,
.payera-editor-content section .overlay,
.payera-editor-content footer .overlay {
    z-index: 1;
}

.payera-editor-content header > .container,
.payera-editor-content header > .container-fluid,
.payera-editor-content section > .container,
.payera-editor-content section > .container-fluid,
.payera-editor-content footer > .container,
.payera-editor-content footer > .container-fluid {
    position: relative;
    z-index: 2;
}

.payera-editor-content .background-container img,
.payera-editor-content .overlay img {
    height: 100% !important;
    width: auto !important;
    max-width: none !important;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}
