/**
 * TinyMCE-like content styles for frontend rendering.
 * Scoped to .mce-content-body to avoid global bleed.
 */
.mce-content-body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #111;
    text-align: left;
    overflow: auto;
}

.mce-content-body p {
    margin: 1em 0;
}

.mce-content-body ul,
.mce-content-body ol {
    margin: 1em 0;
    padding-left: 40px;
}

.mce-content-body li {
    list-style: disc;
    margin-bottom: 6px;
}

.mce-content-body li:last-child {
    margin-bottom: 0;
}

.mce-content-body table {
    border-collapse: collapse;
    width: 100%;
    max-width: 100%;
    margin-bottom: 12px;
}

.mce-content-body table th,
.mce-content-body table td {
    border: 1px solid #e0e0e0;
    padding: 12px;
    vertical-align: top;
}

.mce-content-body a {
    color: #007AFF;
}

.mce-content-body .h1,
.mce-content-body .h2,
.mce-content-body .h3,
.mce-content-body h1,
.mce-content-body h2,
.mce-content-body h3 {
    margin-top: 24px;
    margin-bottom: 12px;
    font-weight: 400;
}

.mce-content-body .h1,
.mce-content-body h1 {
    font-weight: 700;
    font-size: 48px;
}

.mce-content-body .h2,
.mce-content-body h2 {
    font-weight: 700;
    font-size: 36px;
}

.mce-content-body .h3,
.mce-content-body h3 {
    font-weight: 700;
    font-size: 29px;
}

@media (max-width: 750px) {
    .mce-content-body .h1,
    .mce-content-body .h2,
    .mce-content-body .h3,
    .mce-content-body h1,
    .mce-content-body h2,
    .mce-content-body h3 {
        margin: 12px 0;
        font-weight: 400;
    }

    .mce-content-body .h1,
    .mce-content-body h1 {
        font-size: 48px;
        font-weight: 700;
    }

    .mce-content-body .h2,
    .mce-content-body h2 {
        font-size: 40px;
        font-weight: 700;
    }

    .mce-content-body .h3,
    .mce-content-body h3 {
        font-size: 32px;
        font-weight: 700;
    }

    .mce-content-body ul,
    .mce-content-body ol {
        margin: 8px 0;
        padding-left: 24px;
    }

    .mce-content-body li {
        margin-bottom: 8px;
    }

    .mce-content-body table {
        max-width: 100%;
    }

    .mce-content-body table th,
    .mce-content-body table td {
        padding: 8px;
        font-size: 26px;
    }
}

.mce-content-body .TyagGW_tableContainer,
.mce-content-body .TyagGW_tableWrapper {
    width: 100%;
    overflow-x: auto;
}
