.elementor-32707 .elementor-element.elementor-element-23cd498{--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-67099d5 */.custom-post {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    padding: 0;
    margin: 0;
    width: 100%;
}

.custom-post .container {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

/* New Card Styling for Sections */
.custom-post .section-card {
    background-color: white;
    margin: 0 0 20px 0; /* 0px left/right margin, 20px bottom margin for separation */
    padding: 20px; /* Internal padding for content to create the 'card' look */
    box-sizing: border-box;
    border: 1px solid #eee; /* Subtle border for definition */
    border-radius: 8px; /* Rounded corners for card look */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* Soft shadow for lift effect */
}

/* Reset margins for first elements inside a card */
.custom-post .section-card h1,
.custom-post .section-card h2, 
.custom-post .section-card h3,
.custom-post .section-card h4 {
    margin-top: 0; 
}

.custom-post h1 {
    color: #003f63;
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
}

.custom-post h2, .custom-post h3, .custom-post h4 {
    color: #003f63;
    border-bottom: 2px solid #e2f0fb;
    padding-bottom: 5px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.custom-post h2 {
    font-size: 22px;
}

.custom-post h3 {
    font-size: 20px;
}

.custom-post h4 {
    font-size: 18px;
}

.custom-post p {
    margin-bottom: 15px;
    text-align: justify;
}

.custom-post ul, .custom-post ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.custom-post li {
    margin-bottom: 8px;
}

.custom-post .responsive-table {
    overflow-x: auto;
    margin-bottom: 20px;
}

.custom-post table {
    width: 100%;
    table-layout: auto;
    border-collapse: collapse;
    margin-top: 10px;
}

.custom-post th, .custom-post td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    word-wrap: break-word;
}

.custom-post th {
    background-color: #e2f0fb;
    color: #003f63;
    font-weight: strong;
    vertical-align: top;
}

.custom-post .important {
    background-color: #fff3cd;
    border-left: 5px solid #ffca2c;
    padding: 15px;
    margin: 20px 0;
    font-size: 14px;
}

.custom-post .button-container {
    text-align: center;
    margin: 20px 0 0 0; /* Adjust top margin for better flow inside a card */
}

.custom-post .admission-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #003f63;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: strong;
    transition: background-color 0.3s;
}

.custom-post .admission-button:hover {
    background-color: #005688;
}

/* Table of Content styling adjusted to sit inside a white card */
.custom-post .table-of-content {
    background-color: transparent;
    border: none;
    padding: 0;
    margin-bottom: 0;
    border-radius: 0;
}

.custom-post .table-of-content h3 {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 10px;
}

.custom-post .table-of-content ul {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}

.custom-post .table-of-content li a {
    color: #003f63;
    text-decoration: none;
}

.custom-post .table-of-content li a:hover {
    text-decoration: underline;
}

/* Specific styling for the Department/Research Area Table */
.custom-post .department-research-table th:first-child,
.custom-post .department-research-table td:first-child {
    width: 30%; /* Allocating more space for department name */
}

/* Mobile responsiveness adjustments */
@media (max-width: 600px) {
    .custom-post h1 {
        font-size: 20px;
    }

    .custom-post h2 {
        font-size: 18px;
    }

    .custom-post .section-card {
        padding: 15px;
    }

    .custom-post th, .custom-post td {
        padding: 6px;
        font-size: 14px;
    }

    .custom-post .important {
        padding: 10px;
    }
}/* End custom CSS */