/* =========================================
   POST & PAGE CONTENT STYLES (Final Update)
   Includes: Layout, Headings, Comments, Forms
   ========================================= */

/* -----------------------------------------
   1. LAYOUT & CARD WRAPPER
   ----------------------------------------- */
.mt-single-container {
    padding-top: 40px;
    padding-bottom: 60px;
}

.single-post-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.content-area {
    flex: 2; /* 66% width approx */
    min-width: 0;
}

/* White Card Box */
.mt-post-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    border: 1px solid #e5e5e5;
    margin-bottom: 30px;
}

/* -----------------------------------------
   2. HEADER & META
   ----------------------------------------- */
.entry-header {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.post-thumbnail {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.entry-title {
    font-size: 28px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 10px;
    line-height: 1.3;
}

.entry-meta {
    font-size: 14px;
    color: #888;
    display: flex;
    gap: 15px;
    align-items: center;
}

.entry-meta i {
    color: var(--primary-color, #00b894);
    margin-right: 5px;
}

/* -----------------------------------------
   3. CONTENT TYPOGRAPHY & HEADINGS (New Design)
   ----------------------------------------- */
.mt-article-body {
    font-size: 16px;
    line-height: 1.8;
    color: #2d3436;
}

.mt-article-body p {
    margin-bottom: 20px;
}

.mt-article-body ul, 
.mt-article-body ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.mt-article-body li {
    margin-bottom: 8px;
}

/* --- ✨ NEW: STYLED CONTENT HEADINGS --- */
/* Sirf content ke andar wale H2, H3, H4 par apply hoga */

.mt-article-body h2, 
.mt-article-body h3, 
.mt-article-body h4,
.mt-article-body h5,
.mt-article-body h6 {
    background: var(--primary-color, #00b894); /* Green Background */
    color: #ffffff; /* White Text */
    padding: 10px 20px; /* Spacing inside */
    border-radius: 20px; /* Pill Shape (Rounded) */
    margin-top: 35px;
    width: 100%;
    margin-bottom: 20px;
    font-weight: 700;
    display: inline-block; /* Text ke barabar width */
    line-height: 1.4;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Halka Shadow */
    
    /* Agar full width chahiye to ise 'block' karein */
    /* display: block; */ 
}

/* H2 thoda bada */
.mt-article-body h2 { font-size: 20px; }
/* H3 thoda chota */
.mt-article-body h3 { font-size: 18px; }
.mt-article-body h4 { font-size: 17px; }


/* -----------------------------------------
   4. COMMENTS SECTION (New Design)
   ----------------------------------------- */
.comments-area {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    border: 1px solid #e5e5e5;
    margin-top: 30px;
}

.comments-title, 
.comment-reply-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2d3436;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
}

/* Inputs & Textarea */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
    font-size: 15px;
    margin-bottom: 15px;
    transition: all 0.3s;
    outline: none;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.1);
}

/* Submit Button */
.comment-form .submit {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s;
    text-transform: uppercase;
}

.comment-form .submit:hover {
    background: #00a382; /* Thoda Dark Green */
}

/* Comment List Styles */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment-body {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}

.comment-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}

.comment-author cite {
    font-weight: 700;
    font-style: normal;
    color: #2d3436;
    font-size: 16px;
    margin-right: 5px;
}

/* -----------------------------------------
   5. CONTACT FORM 7 STYLING (Theme Match)
   ----------------------------------------- */
.mt-contact-form label {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
    color: #2d3436;
    font-size: 14px;
}

.wpcf7-form-control-wrap {
    display: block;
    margin-top: 5px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f9f9f9;
    font-size: 15px;
    transition: 0.3s;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: var(--primary-color);
    background: #fff;
}

.wpcf7 input[type="submit"] {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%; /* Mobile friendly */
}

.wpcf7 input[type="submit"]:hover {
    background: #00a382;
    transform: translateY(-2px);
}


/* -----------------------------------------
   🌑 DARK MODE SUPPORT
   ----------------------------------------- */
[data-theme="dark"] .mt-post-card,
[data-theme="dark"] .comments-area {
    background-color: #2d3436 !important; /* Sidebar Widget Color */
    border-color: #4b6584 !important;
    color: #dfe6e9;
    box-shadow: none;
}

/* Headings in Dark Mode */
[data-theme="dark"] .entry-title,
[data-theme="dark"] .comments-title,
[data-theme="dark"] .comment-reply-title,
[data-theme="dark"] .comment-author cite,
[data-theme="dark"] .mt-contact-form label {
    color: #ffffff !important;
}

/* Content Headings (Green BG remains, text white) */
[data-theme="dark"] .mt-article-body h2,
[data-theme="dark"] .mt-article-body h3,
[data-theme="dark"] .mt-article-body h4 {
    color: #ffffff !important;
    /* Background Primary color hi rahega jo dark me bhi chamkega */
}

/* Inputs in Dark Mode */
[data-theme="dark"] .comment-form input,
[data-theme="dark"] .comment-form textarea,
[data-theme="dark"] .wpcf7 input[type="text"],
[data-theme="dark"] .wpcf7 input[type="email"],
[data-theme="dark"] .wpcf7 textarea {
    background-color: #353b48;
    border-color: #636e72;
    color: #ffffff;
}

[data-theme="dark"] .comment-form input:focus,
[data-theme="dark"] .wpcf7 input:focus {
    border-color: var(--primary-color);
    background-color: #3d4655;
}

/* Comment List */
[data-theme="dark"] .comment-body,
[data-theme="dark"] .entry-header {
    border-bottom-color: #4b6584;
}

/* Links */
[data-theme="dark"] .mt-article-body a {
    color: #74b9ff;
}

/* =========================================
   🌑 DARK MODE SUBMIT BUTTON FIX
   (Force Green Button like Light Theme)
   ========================================= */

[data-theme="dark"] .comment-form .submit {
    background-color: var(--primary-color) !important; /* Green Color wapis */
    color: #ffffff !important;
    border: none !important;
    font-weight: 600 !important;
    text-transform: uppercase;
}

/* Hover Effect in Dark Mode */
[data-theme="dark"] .comment-form .submit:hover {
    background-color: #00a382 !important; /* Darker Green Hover */
    transform: translateY(-2px); /* Thoda sa lift effect */
}
/* -----------------------------------------
   📱 RESPONSIVE (Mobile/Tablet)
   ----------------------------------------- */
@media (max-width: 991px) {
    .single-post-layout {
        flex-direction: column;
    }
    
    .content-area {
        width: 100%;
        flex: none;
    }
    
    .mt-post-card, 
    .comments-area {
        padding: 20px;
    }
    
    .entry-title {
        font-size: 22px;
        border-radius: 5px;
    }
    
    /* Mobile me Headings thodi choti */
    .mt-article-body h2, 
    .mt-article-body h3 {
        font-size: 16px;
        padding: 8px 15px;
    }
}






/* -----------------------------------------
   🔥 4. RELATED JOBS SECTION (Unique Dashed Style)
   Reference: Screenshot 2025-12-26 002652.png
   ----------------------------------------- */
.mt-related-jobs-wrapper {
    margin-top: 50px;
    margin-bottom: 30px;
}

.mt-related-heading {
    background: var(--primary-color);
    color: #fff;
    padding: 12px;
    text-align: center;
    border-radius: 6px;
    margin-bottom: 25px;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 800;
}

.mt-related-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 Columns Grid */
    gap: 25px;
}

/* --- THE CARD DESIGN --- */
.mt-related-card.unique-dashed {
    background: #ffffff;
    /* BLUE DASHED BORDER as per request */
    border: 2px dashed var(--primary-color); 
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
}

/* Hover Effect */
.mt-related-card.unique-dashed:hover {
    background: #fdfdfd;
    box-shadow: 0 5px 20px rgba(9, 132, 227, 0.15);
    transform: translateY(-5px);
}

/* Title */
.mt-rel-title {
    font-size: 16px;
    margin: 0 0 15px 0;
    line-height: 1.4;
    font-weight: 700;
    min-height: 44px; /* Alignment fix */
}
.mt-rel-title a { color: #2d3436; text-decoration: none; }
.mt-rel-title a:hover { color: #0984e3; }

/* Info List (Icons + Text) */
.mt-rel-info-list {
    margin-bottom: 15px;
    font-size: 13px;
    color: #444;
}

.mt-info-row {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mt-info-row i {
    width: 20px; /* Fixed width for icon alignment */
    text-align: center;
    color: #2d3436; /* Dark Icon */
}

.mt-info-row strong {
    color: var(--primary-color); /* Green Label */
}

/* Last Date Label (Red Background Style) */
.mt-last-date-row {
    background: #d63031; /* Red BG */
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    display: inline-block;
    align-self: flex-start;
}
.mt-last-date-row i { margin-right: 5px; }

/* Green Apply Button */
.mt-rel-btn-green {
    background: var(--primary-color); /* Green Button */
    color: #ffffff !important;
    text-align: center;
    padding: 10px 0;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    text-decoration: none;
    display: block;
    width: 100%;
    border: 1px solid #00a382;
    transition: 0.3s;
}

.mt-rel-btn-green:hover {
    background: #008f72; /* Darker Green */
    box-shadow: 0 4px 10px rgba(0, 184, 148, 0.3);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .mt-related-grid {
        grid-template-columns: 1fr; /* Mobile me 1 column */
    }
}

/* --- DARK MODE --- */
[data-theme="dark"] .mt-related-card.unique-dashed {
    background: #2d3436;
    border-color: var(--primary-color); /* Border remains Blue */
}

[data-theme="dark"] .mt-rel-title a { color: #ffffff; }
[data-theme="dark"] .mt-rel-info-list { color: #dfe6e9; }
[data-theme="dark"] .mt-info-row i { color: #dfe6e9; }









/* =========================================
   📊 FINAL IBPS PO TIMELINE TABLE DESIGN (Dark Theme Fixed + No Hover)
   Features: Clean Look, Primary Border, Full Mobile Fit, No Zebra, No Hover
   ========================================= */
/* 1. Main Table Container */
.mt-article-body table,
.entry-content table {
    width: 100% !important;
    max-width: 100% !important;
    margin: 25px 0 !important;
    font-size: 15px !important;
    
    table-layout: auto !important;
    
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 4px solid var(--primary-color, #00b894) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    
    background-color: #ffffff !important;
    box-shadow: 0 4px 25px rgba(0,184,148,0.2) !important;
}

/* 2. ALL CELLS */
.mt-article-body th,
.mt-article-body td {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: anywhere !important;
    
    padding: 16px 20px !important;
    
    border-bottom: 1px solid #e0e0e0 !important;
    border-right: 1px solid #e0e0e0 !important;
    
    vertical-align: middle !important;
    line-height: 1.6 !important;
    text-align: left !important;
}

/* 3. HEADER */
.mt-article-body thead th,
.mt-article-body tr:first-child th,
.mt-article-body tr:first-child td {
    background: linear-gradient(135deg, var(--primary-color, #00b894), #00a085) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-align: center !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    border: none !important;
}

.mt-article-body thead th *,
.mt-article-body tr:first-child * {
    color: #ffffff !important;
}

/* 4. BODY - Pure Clean Background */
.mt-article-body tbody td {
    background-color: #ffffff !important;
    color: #2d3436 !important;
    font-weight: 500 !important;
}

/* Force no zebra stripes */
.mt-article-body tbody tr:nth-child(even) td,
.mt-article-body tbody tr:nth-child(odd) td,
.mt-article-body tbody tr td {
    background-color: #ffffff !important;
}

/* 5. BORDER CLEANUP */
.mt-article-body tr th:last-child,
.mt-article-body tr td:last-child {
    border-right: none !important;
}
.mt-article-body tr:last-child td {
    border-bottom: none !important;
}

/* =========================================
   📱 MOBILE FULL FIT
   ======================================== */
@media (max-width: 768px) {
    .mt-article-body table,
    .entry-content table {
        font-size: 14px !important;
        border-width: 3px !important;
        border-radius: 10px !important;
        margin: 20px 0 !important;
    }
    .mt-article-body th,
    .mt-article-body td {
        padding: 14px 12px !important;
        font-size: 13.5px !important;
    }
    .mt-article-body thead th,
    .mt-article-body tr:first-child th {
        font-size: 14px !important;
    }
}

/* =========================================
   🌑 DARK MODE - FULLY FIXED & VISIBLE
   ======================================== */
[data-theme="dark"] .mt-article-body table,
[data-theme="dark"] .entry-content table {
    border-color: var(--primary-color, #00b894) !important;
    background-color: #1e272e !important;
    box-shadow: 0 8px 30px rgba(0,184,148,0.35) !important;
}

[data-theme="dark"] .mt-article-body th,
[data-theme="dark"] .mt-article-body td {
    border-color: #4b5f71 !important;
    color: #dfe6e9 !important;
}

/* Dark Body - Uniform Dark Background */
[data-theme="dark"] .mt-article-body tbody td,
[data-theme="dark"] .mt-article-body tbody tr td {
    background-color: #1e272e !important;
    color: #dfe6e9 !important;
}

/* Dark Header - Primary Gradient */
[data-theme="dark"] .mt-article-body thead th,
[data-theme="dark"] .mt-article-body tr:first-child th,
[data-theme="dark"] .mt-article-body tr:first-child td {
    background: linear-gradient(135deg, var(--primary-color, #00b894), #00a085) !important;
    color: #ffffff !important;
}

/* Dark Links */
[data-theme="dark"] .mt-article-body td a {
    color: #74b9ff !important;
}

/* =========================================
   🚫 NO HOVER EFFECTS AT ALL
   ======================================== */
.mt-article-body tbody tr:hover td,
[data-theme="dark"] .mt-article-body tbody tr:hover td {
    background-color: transparent !important;
    transform: none !important;
    transition: none !important;
}