

.builder-editor {
    padding: 1.75rem 0;
}

.builder-editor.light {
    background-color: var(--white-color);
}

.builder-editor.dark {
    background-color: var(--light-gray-color);
}

.builder-editor .editor {
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 140%;
    color: var(--gray-color);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.builder-editor .editor h1,
.builder-editor .editor h2,
.builder-editor .editor h3,
.builder-editor .editor h4,
.builder-editor .editor h5,
.builder-editor .editor h6 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 140%;
    color: var(--navy-color);
}

.builder-editor .editor h1:first-of-type,
.builder-editor .editor h2:first-of-type,
.builder-editor .editor h3:first-of-type,
.builder-editor .editor h4:first-of-type,
.builder-editor .editor h5:first-of-type,
.builder-editor .editor h6:first-of-type {
    margin-bottom: 1.5rem;
}

.builder-editor .editor h1:not(:first-of-type),
.builder-editor .editor h2:not(:first-of-type),
.builder-editor .editor h3:not(:first-of-type),
.builder-editor .editor h4:not(:first-of-type),
.builder-editor .editor h5:not(:first-of-type),
.builder-editor .editor h6:not(:first-of-type) {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.builder-editor .editor .button:last-of-type {
    margin-top: 1.5rem;
}

.builder-editor .editor .button:not(:last-of-type) {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.builder-editor .editor img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.builder-editor .editor p {margin: 0;}

.builder-editor .editor a.red-link {
    color: var(--red-color);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.builder-editor .editor a.red-link:hover {
    transition: color 0.3s ease-in-out;
    text-decoration: underline;
}

@media (max-width: 991px) {
    .builder-editor .editor {
        text-align: center;
    }

    .builder-editor .editor .button {
        margin-left: auto;
        margin-right: auto;
    }

    .builder-editor .editor img {
        margin-left: auto;
        margin-right: auto;
    }
}
