.elementor-31944 .elementor-element.elementor-element-cdca757{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}/* Start custom CSS for text-editor, class: .elementor-element-5b23981 */<style>
/* 1. Global Wrapper & Card Container Styling */
.custom-post {
    /* Required card styling: left and right margin/padding 0px */
    margin: 0 auto;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
    /* --- CSS RESET SUBSET TO ISOLATE --- */
    font-family: Arial, sans-serif !important; /* Forces font family */
    line-height: 1.6 !important; /* Forces line height */
    color: #333 !important; /* Forces text color */
    box-sizing: border-box !important; /* Protects sizing */
    /* ----------------------------------- */
}

/* New: Individual Card Section Styling (Highly Specific) */
.custom-post .section-card {
    background-color: white; /* Separate card white bg */
    margin: 0; /* Left and right margin 0 */
    padding: 20px;
    margin-top: 0px !important;
    margin-bottom: 20px; /* Space between cards */
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* Header Styling (Highly Specific) */
.custom-post-header {
    background-color: #005b96;
    color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.custom-post-header h1 {
    margin: 0 !important; /* Use !important to override external H1 rules */
    font-size: 1.8em !important; 
}

/* Section Headings Styling (Highly Specific) */
.custom-post h2, .custom-post h3, .custom-post h4 {
    color: #003f63 !important;
    padding: 10px 0 !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    border-bottom: 2px solid #e0e0e0 !important;
}

/* Paragraph and List Isolation */
.custom-post p, .custom-post li {
    margin-bottom: 1em !important; /* Prevent parent themes from removing paragraph space */
    padding: 0 !important; /* Ensure no external padding is applied */
}


/* Table of Content (TOC) Styling (Highly Specific) */
.custom-post .toc {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.custom-post .toc h3 {
    color: #005b96;
    margin-top: 0 !important;
}

.custom-post .toc ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
    column-count: 1;
}

.custom-post .toc li a {
    color: #003f63 !important;
    text-decoration: none !important;
    display: block;
    padding: 5px 0 !important;
}

/* Responsive Table Container (Highly Specific) */
.custom-post .responsive-table {
    overflow-x: auto;
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Table Styling (Highly Specific) */
.custom-post table {
    table-layout: auto !important;
    width: 100% !important;
    border-collapse: collapse !important;
    min-width: 400px !important;
}

.custom-post table th, .custom-post table td {
    padding: 12px 15px !important;
    text-align: left !important;
    border: 1px solid #ddd !important;
    word-wrap: break-word !important;
}

.custom-post table th {
    background-color: #e2f0fb !important;
    color: #003f63 !important;
    font-weight: strong !important;
    text-transform: uppercase !important;
    font-size: 0.9em !important;
}

/* Important Notes Box Styling (Highly Specific) */
.custom-post .important {
    background-color: #fff3cd !important;
    border-left: 5px solid #ffca2c !important;
    padding: 15px !important;
    margin: 20px 0 !important;
    border-radius: 4px !important;
}

/* Button Styling (Highly Specific) */
.custom-post .admission-button {
    display: block !important;
    width: 100% !important;
    max-width: 400px !important;
    margin: 25px auto !important;
    padding: 15px 20px !important;
    text-align: center !important;
    text-decoration: none !important;
    background-color: #005b96 !important;
    color: white !important;
    font-weight: strong !important;
    border-radius: 6px !important;
    transition: background-color 0.3s !important;
    font-size: 1.1em !important;
}

.custom-post .admission-button:hover {
    background-color: #003f63 !important;
}

/* Footer Styling (Highly Specific) */
.custom-post-footer {
    background-color: #f4f4f4 !important;
    padding: 20px !important;
    margin-top: 30px !important;
    border-top: 1px solid #ddd !important;
    text-align: center !important;
}

.custom-post-footer a {
    color: #005b96 !important;
    text-decoration: none !important;
    margin: 0 10px !important;
}

.custom-post-footer a:hover {
    text-decoration: underline !important;
}

/* Media Queries also need the .custom-post context for maximum isolation */
@media (min-width: 480px) and (max-width: 768px) {
    .custom-post .toc ul {
        column-count: 2;
    }
}
@media (min-width: 769px) {
    .custom-post .toc ul {
        column-count: 3;
    }
}
</style>/* End custom CSS */