[class^="el-"] {
    display: block;
    box-sizing: border-box;
    page-break-inside: avoid;
    break-inside: avoid;
    width: 100%;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.el-image {
    width: 100%;
    height: 100%;
    max-width: unset;
    max-height: unset;
}

.el-image-placeholder .img-upload-wrapper {
    display: flex !important;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.el-family-signature-border-top {
    border-top: 1px solid #e5e7eb;
    padding-top: 0.5rem;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
}

/* Inactive: same flex+gap mechanism as the active editor below (.span-pair-rich-inline)*/
.el-birth-death-date-inline {
    display: flex;
    gap: var(--birth-death-gap, 50pt);
    justify-content: center;
}

.el-birth-death-date-inline > span {
    display: inline;
    width: 100%;
}

/* Active: SpanPairRichEditor layout classes */
.span-pair-rich-inline {
    display: flex;
    gap: var(--birth-death-gap, 50pt);
    justify-content: center;
    width: 100%;
}

.span-pair-rich-stacked {
    display: flex;
    flex-direction: column;
    width: 100%;
}
