body .text-wrapper {
    margin-left: auto !important;
    margin-right: auto !important;
}

.two-columns .text-wrapper {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100%;
}

/* Text alignment options - only affect content, not wrapper positioning */
body .text-wrapper.text-align-left [data-sdc-field="text"],
body .text-wrapper.text-align-left [data-sdc-field="text"] * {
    text-align: left;
}

body .text-wrapper.text-align-center [data-sdc-field="text"],
body .text-wrapper.text-align-center [data-sdc-field="text"] * {
    text-align: center;
}

body .text-wrapper.text-align-right [data-sdc-field="text"],
body .text-wrapper.text-align-right [data-sdc-field="text"] * {
    text-align: right;
}


/* @media (min-width: 576px) {
    body .text-wrapper {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    body .text-wrapper {
        max-width: 720px;
    }
}

@media (min-width: 1010px) {
    body .text-wrapper {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    body .text-wrapper {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    body .text-wrapper {
        max-width: 1320px;
    }
} */

body .text-wrapper.animated {
    opacity: 0;
    translate: 0 30px;
    transition: opacity 0.6s ease, translate 0.6s ease;
}

/* Animated state when text block enters viewport */
body .text-wrapper.animate-in {
    opacity: 1;
    translate: 0 0;
}

/* Disable animations when wrapped in block-wrapper */
.block-wrapper .text-wrapper {
    opacity: 1 !important;
    translate: 0 0 !important;
    transition: none !important;
}

.ck-content{ 
    font-family: unset !important;
    font-size: unset !important;
    color: inherit !important;
    line-height: unset !important;
    word-break: unset !important;
}

/* Ensure text inherits color from blue background sections */
.mse-new-blue-wave-parallax-section .ck-content,
.mse-new-blue-section .ck-content,
.mse-new-blue-wave-section .ck-content {
    color: white !important;
}

/* Ensure proper color inheritance for all heading and paragraph elements */
.mse-new-blue-wave-parallax-section h1,
.mse-new-blue-wave-parallax-section h2,
.mse-new-blue-wave-parallax-section h3,
.mse-new-blue-wave-parallax-section h4,
.mse-new-blue-wave-parallax-section h5,
.mse-new-blue-wave-parallax-section h6,
.mse-new-blue-wave-parallax-section p,
.mse-new-blue-wave-parallax-section li,
.mse-new-blue-section h1,
.mse-new-blue-section h2,
.mse-new-blue-section h3,
.mse-new-blue-section h4,
.mse-new-blue-section h5,
.mse-new-blue-section h6,
.mse-new-blue-section p,
.mse-new-blue-section li,
.mse-new-blue-wave-section h1,
.mse-new-blue-wave-section  h2,
.mse-new-blue-wave-section  h3,
.mse-new-blue-wave-section  h4,
.mse-new-blue-wave-section  h5,
.mse-new-blue-wave-section  h6,
.mse-new-blue-wave-section  p,
.mse-new-blue-wave-section  li {
    color: white !important;
}