.elementor-28247 .elementor-element.elementor-element-ad836e8{--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 );}.elementor-28247 .elementor-element.elementor-element-98e55ca > .elementor-widget-container{padding:0px 0px 0px 0px;}/* Start custom CSS for text-editor, class: .elementor-element-98e55ca */.custom-post {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    /* Ensure no unnecessary margins/padding that would cause overflow */
    margin: 0; 
    padding: 0;
    overflow-x: hidden;
}

.custom-post header {
    background-color: #005b96;
    color: white;
    padding: 20px;
    border-radius: 8px 8px 0 0;
    text-align: center;
}

.custom-post h1 {
    margin-top: 0;
    font-size: 1.8em;
}

.custom-post h2 {
    color: #003f63;
    border-bottom: 2px solid #003f63;
    padding-bottom: 5px;
    margin-top: 20px;
    font-size: 1.5em;
}

.custom-post h3 {
    color: #003f63;
    font-size: 1.2em;
    margin-top: 15px;
}

.custom-post .institute-address {
    text-align: center;
    margin: 10px 0;
    font-size: 0.9em;
    color: #555;
}

/* Card Styling for Sections AND Ads */
.custom-post .section-card {
    background-color: white;
    padding: 20px;
    margin: 20px 0; /* 0px left/right margin, as requested */
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.custom-post .ad-card {
    background-color: white;
    padding: 10px;
    margin: 20px 0; /* 0px left/right margin, as requested */
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    text-align: center;
}

.custom-post .ad-card p {
    margin: 0;
    font-size: 0.8em;
    color: #888;
}

.custom-post .responsive-table {
    overflow-x: auto;
    width: 100%;
    margin-bottom: 15px;
}

.custom-post table {
    table-layout: auto;
    width: 100%;
    border-collapse: collapse;
    min-width: 500px; /* Ensure better mobile readability for complex tables */
}

.custom-post th, .custom-post td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
    word-wrap: break-word; /* Ensure long text wraps */
}

.custom-post th {
    background-color: #e2f0fb;
    color: #003f63;
    font-weight: bold;
}

.custom-post ul {
    padding-left: 20px;
}

.custom-post .important {
    background-color: #fff3cd;
    border-left: 5px solid #ffca2c;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.custom-post .apply-button {
    display: block;
    width: fit-content;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #005b96;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

/* Table of Contents Styling */
.custom-post #toc {
    border: 1px solid #ddd;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin: 20px 0;
}

.custom-post #toc ul {
    list-style: none;
    padding: 0;
}

.custom-post #toc li {
    margin-bottom: 5px;
}

@media (max-width: 600px) {
    .custom-post h1 {
        font-size: 1.5em;
    }

    .custom-post h2 {
        font-size: 1.3em;
    }
    
    .custom-post table {
        /* Tables should rely on overflow-x: auto in .responsive-table */
        min-width: 100%; /* For small content in tables */
    }
}/* End custom CSS */