.elementor-28763 .elementor-element.elementor-element-0d3410c{--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-db5af76 *//* Custom Post Styling for NITTTR Kolkata PhD Admission 2025-26 */

.custom-post {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.custom-post * {
    box-sizing: border-box;
}

/* Card Styling - NEW */
.custom-post .card {
    background-color: #ffffff; /* Explicitly set to white */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px; /* Space between cards */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

/* Header Styling */
.custom-post .header-banner {
    background-color: #005b96;
    color: white;
    padding: 15px;
    border-radius: 8px 8px 0 0;
    text-align: center;
    margin-bottom: 20px;
}

.custom-post .header-banner h1 {
    margin: 0;
    font-size: 1.8em;
    line-height: 1.2;
}

/* Section Heading Styling - Adjusted for Card */
.custom-post h2, .custom-post h3 {
    color: #003f63;
    border-bottom: 2px solid #e2f0fb;
    padding-bottom: 5px;
    margin-top: 25px; 
    font-size: 1.5em;
}

/* Ensure first heading inside a card does not have excessive top margin */
.custom-post .card h2:first-child, .custom-post .card h3:first-child {
    margin-top: 0;
}


/* Responsive Table Styling */
.custom-post .responsive-table {
    overflow-x: auto;
    margin: 15px 0;
}

.custom-post table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    margin: 0;
}

.custom-post th, .custom-post td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
    word-wrap: break-word; /* Wrap long text */
}

.custom-post th {
    background-color: #e2f0fb;
    color: #003f63;
    font-weight: bold;
}

/* List Styling */
.custom-post ul, .custom-post ol {
    padding-left: 20px;
    margin: 15px 0;
}

.custom-post ul li, .custom-post ol li {
    margin-bottom: 10px;
}

/* Important Notes Box Styling */
.custom-post .important {
    background-color: #fff3cd;
    border-left: 5px solid #ffca2c;
    padding: 15px;
    margin: 20px 0;
    color: #856404;
    border-radius: 4px;
}

.custom-post .important h4 {
    margin-top: 0;
    color: #856404;
    font-size: 1.1em;
}

/* Call to Action Button */
.custom-post .cta-button {
    display: block;
    width: 100%;
    padding: 15px;
    margin: 20px 0;
    background-color: #005b96;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.custom-post .cta-button:hover {
    background-color: #003f63;
}

/* Two-Column Layout for Disciplines & Vacancies */
.custom-post .two-col-table-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between the two "columns" */
    margin: 20px 0;
}

.custom-post .two-col-item {
    flex: 1 1 100%; /* Default to full width on small screens */
    min-width: 280px; /* Ensures minimum readable width */
}

/* Adjust for larger screens (e.g., tablet and desktop) */
@media (min-width: 768px) {
    .custom-post .two-col-item {
        flex: 1 1 calc(50% - 10px); /* Two columns with gap */
    }
}

/* Table of Contents Styling - Now uses .card style */
.custom-post #table-of-content {
    margin: 20px 0;
}

.custom-post #table-of-content h3 {
    color: #003f63;
    margin-top: 0;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.custom-post #table-of-content ul {
    list-style: none;
    padding: 0;
}

.custom-post #table-of-content ul li a {
    text-decoration: none;
    color: #005b96;
    display: block;
    padding: 5px 0;
}

.custom-post #table-of-content ul li a:hover {
    text-decoration: underline;
}

/* Image styling */
.custom-post img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px auto;
    border-radius: 5px;
}

/* Footer Styling */
.custom-post .footer {
    text-align: center;
    padding: 15px;
    border-top: 2px solid #e2f0fb;
    margin-top: 30px;
    font-size: 0.9em;
}

.custom-post .footer a {
    color: #005b96;
    text-decoration: none;
    margin: 0 10px;
}

.custom-post .footer a:hover {
    text-decoration: underline;
}/* End custom CSS */