.ckeditor-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.ckeditor-content h1,
.ckeditor-content h2,
.ckeditor-content h3,
.ckeditor-content h4,
.ckeditor-content h5,
.ckeditor-content h6 {
    color: #101828;
    font-weight: 700;
    margin: 1.25rem 0 0.75rem;
    line-height: 1.35;
}

.ckeditor-content h2 { font-size: 26px; }
.ckeditor-content h3 { font-size: 22px; }
.ckeditor-content h4 { font-size: 18px; }

.ckeditor-content p {
    margin: 0 0 1rem;
}

.ckeditor-content ul,
.ckeditor-content ol {
    margin: 0 0 1rem;
    padding-left: 1.5rem;
}

.ckeditor-content li {
    margin-bottom: 0.35rem;
}

.ckeditor-content a {
    color: #216fdb;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ckeditor-content a:hover {
    color: #1a5bb8;
}

.ckeditor-content figure.image {
    margin: 1.25rem 0;
    text-align: center;
}

.ckeditor-content figure.image img,
.ckeditor-content img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
}

.ckeditor-content figure.media {
    margin: 1.5rem 0;
}

.ckeditor-content .article-inline-video-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    margin: 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.ckeditor-content .article-inline-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.ckeditor-content figure.table,
.ckeditor-content .article-table-scroll {
    margin: 1.25rem 0;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
}

.ckeditor-content table {
    width: 100%;
    min-width: 100%;
    table-layout: auto;
    border-collapse: collapse;
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.ckeditor-content table td,
.ckeditor-content table th {
    border: 1px solid #d0d5dd;
    padding: 10px 12px;
    width: auto !important;
    min-width: 90px;
    vertical-align: top;
    text-align: left;
    background: #fff;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    height: auto;
}

.ckeditor-content table th {
    background: #f9fafb;
    font-weight: 600;
    color: #101828;
}

.ckeditor-content table tr:nth-child(even) td {
    background: #fcfcfd;
}

.ckeditor-content table p {
    margin: 0;
}

.ckeditor-content blockquote {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border-left: 4px solid #216fdb;
    background: #f9fafb;
    color: #344054;
}

.ckeditor-content .axglb_blg_sec3_card {
    margin: 1.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    background: #0a2d6e;
    position: relative;
}

.ckeditor-content .axglb_blg_sec3_card_inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    min-height: 160px;
    position: relative;
}

.ckeditor-content .axglb_blg_sec3_card_text_inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 28px 36px;
    z-index: 2;
    position: relative;
    flex: 0 0 45%;
    max-width: 45%;
}

.ckeditor-content .axglb_blg_sec3_card_text {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.ckeditor-content .axglb_blg_sec3_card_text_emphasis {
    font-size: 26px;
}

.ckeditor-content .axglb_blg_sec3_card_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid #ffffff;
    border-radius: 8px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    width: fit-content;
    transition: background 0.2s, color 0.2s;
}

.ckeditor-content .axglb_blg_sec3_card_btn:hover {
    background: #ffffff;
    color: #0a2d6e;
    text-decoration: none;
}

.ckeditor-content .axglb_blg_sec3_card_img_wrap {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 55%;
    overflow: hidden;
}

.ckeditor-content .axglb_blg_sec3_card_img_wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #0a2d6e 0%, rgba(10, 45, 110, 0.75) 35%, rgba(10, 45, 110, 0.2) 70%, transparent 100%);
    pointer-events: none;
}

.ckeditor-content .axglb_blg_sec3_card_img_wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: blur(2px);
    transform: scale(1.02);
    border-radius: 0;
    margin: 0;
    max-width: none;
}

@media (max-width: 767.98px) {
    .ckeditor-content h2 { font-size: 20px; }
    .ckeditor-content h3 { font-size: 18px; }
    .ckeditor-content h4 { font-size: 16px; }
}
