.text-editor .container-fluid {
    display: flex;
    flex-direction: column;
    gap: 100px;
    margin: 0;
    padding: 0;
}

.text-editor .container-fluid .row {
    margin: 0;
    padding: 0;
}

.text-editor .row-gap {
    row-gap: 60px;
}

.text-editor .container-fluid .col-12 {
    margin: 0;
    padding: 0;
}

.text-editor .text-editor-content p {
    margin: 0;
    padding: 0;
}

.text-editor .text-editor-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.text-editor .text-editor-content.has-content-beyond-image {
    padding: 60px;
    gap: 48px;
}

.text-editor .text-editor-content.has-content-beyond-image *:not(a) {
    margin: 0;
    padding: 0;
}

.text-editor .align-self-stretch .text-editor-content {
    width: 100%;
    height: 100%;
}

.text-editor .row:has(.text-editor-content.has-content-beyond-image):has(.text-editor-content:not(.has-content-beyond-image)) {
    align-items: stretch !important;
}

.text-editor .align-self-stretch .text-editor-content:not(.has-content-beyond-image) {
    overflow: hidden;
}

.text-editor .align-self-stretch .text-editor-content p img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.text-editor .align-self-stretch .text-editor-content p svg {
    display: block;
    max-width: 100%;
    max-width: 100%;
    height: auto;
    width: auto;
}

.text-editor .align-self-stretch .text-editor-content p:has(:is(img, svg)) {
    height: 100%;
}

.text-editor .row.align-items-center .text-editor-content {
    justify-content: center !important;
}

.text-editor .align-self-stretch .text-editor-content h1,
.text-editor .align-self-stretch .text-editor-content h2,
.text-editor .align-self-stretch .text-editor-content h3,
.text-editor .align-self-stretch .text-editor-content h4,
.text-editor .align-self-stretch .text-editor-content h5,
.text-editor .align-self-stretch .text-editor-content h6 {
    hyphens: auto;
}

.text-editor h1 strong,
.text-editor h2 strong,
.text-editor h3 strong,
.text-editor h4 strong,
.text-editor h5 strong,
.text-editor h6 strong {
    font-weight: 500;
}

.text-editor .align-self-stretch .text-editor-content h1 {
    font-size: 56px;
    font-weight: 500;
}

.text-editor .align-self-stretch .text-editor-content h2 {
    font-size: 48px;
    font-weight: 500;
}

.text-editor .align-self-stretch .text-editor-content h3 {
    font-size: 40px;
    font-weight: 500;
}

.text-editor .align-self-stretch .text-editor-content h4 {
    font-size: 32px;
    font-weight: 500;
}

.text-editor .align-self-stretch .text-editor-content h5 {
    font-size: 24px;
    font-weight: 500;
}

.text-editor .align-self-stretch .text-editor-content h6 {
    font-size: 20px;
    font-weight: 500;
}

.text-editor.no-padding {padding: 0 !important;}

@media (max-width: 1199.98px) {
    .text-editor .align-self-stretch .text-editor-content h1 {
        font-size: 48px;
    }
    .text-editor .align-self-stretch .text-editor-content h2 {
        font-size: 40px;
    }
    .text-editor .align-self-stretch .text-editor-content h3 {
        font-size: 32px;
    }
    .text-editor .align-self-stretch .text-editor-content h4 {
        font-size: 24px;
    }
    .text-editor .align-self-stretch .text-editor-content h5 {
        font-size: 20px;
    }
    .text-editor .align-self-stretch .text-editor-content h6 {
        font-size: 16px;
    }

    .text-editor .container-fluid {
        gap: 60px;
    }
}

@media (max-width: 991.98px) {
    .text-editor .align-self-stretch .text-editor-content h1 {
        font-size: 40px;
    }
    .text-editor .align-self-stretch .text-editor-content h2 {
        font-size: 32px;
    }
    .text-editor .align-self-stretch .text-editor-content h3 {
        font-size: 24px;
    }
    .text-editor .align-self-stretch .text-editor-content h4 {
        font-size: 20px;
    }
    .text-editor .align-self-stretch .text-editor-content h5 {
        font-size: 18px;
    }
    .text-editor .align-self-stretch .text-editor-content h6 {
        font-size: 16px;
    }

    .text-editor .align-self-stretch .text-editor-content.has-content-beyond-image {
        padding: 60px;
        gap: 30px;
    }

    .text-editor .container-fluid {
        gap: 40px;
    }
}

@media (max-width: 767.98px) {
    .text-editor .align-self-stretch .text-editor-content h1 {
        font-size: 32px;
    }
    .text-editor .align-self-stretch .text-editor-content h2 {
        font-size: 24px;
    }
    .text-editor .align-self-stretch .text-editor-content h3 {
        font-size: 20px;
    }

    .text-editor .align-self-stretch .text-editor-content.has-content-beyond-image {
        padding: 30px;
        gap: 20px;
    }

    .text-editor .container-fluid {
        gap: 30px;
    }
}

@media (max-width: 575.98px) {
    .text-editor .align-self-stretch .text-editor-content h1 {
        font-size: 24px;
    }
    .text-editor .align-self-stretch .text-editor-content h2 {
        font-size: 20px;
    }
    .text-editor .align-self-stretch .text-editor-content h3 {
        font-size: 18px;
    }

    .text-editor .align-self-stretch .text-editor-content.has-content-beyond-image {
        padding: 30px;
        gap: 30px;
    }

    .text-editor .container-fluid {
        gap: 20px;
    }
}