/* Reset & Basics */
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background-color: #ffffff; color: #222; margin: 0; padding: 0; line-height: 1.5; }
a { text-decoration: none; color: inherit; transition: color 0.1s ease; }
a:hover { color: #0000ee; text-decoration: underline; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; }

/* Header & Logo */
.site-header { background-color: #edbd79; padding: 20px 40px; position: relative; min-height: 120px; }
.site-branding-container { display: flex; align-items: center; }
.site-logo img { width: 100px; height: 100px; border-radius: 50%; margin-right: 15px; }
.main-title { font-family: Arial; font-weight: 900; font-size: 42px; text-transform: uppercase; margin: 0; line-height: 1.2; }
.main-title a { color: #612625; text-decoration: none; }
.site-description { font-weight: 900; text-transform: uppercase; font-size: 18px; color: #612625; margin: 0; }

/* Navigation Menu */
.main-navigation { background-color: #612625; width: 100%; display: block; }
.main-navigation ul { display: flex; justify-content: center; flex-wrap: wrap; }
.main-navigation li { position: relative; border-right: 1px solid #fff; }
.main-navigation a { display: block; color: #fefffe; padding: 0 20px; line-height: 50px; font-weight: 700; font-size: 17px; text-decoration: none; }
.main-navigation a:hover { background-color: #3f4047; }

/* Container & Layout */
.container { max-width: 1100px; margin: 0 auto; padding: 20px 10px; }

/* Marquee Section */
.marquee-section { margin-bottom: 20px; font-weight: bold; background: #f0f0f0; padding: 5px; border: 1px solid #ddd; }
.scrolling-jobs a { color: #000; text-decoration: underline; font-size: 16px; margin: 0 10px; }

/* Colored Table Boxes (As per original design) */
.responsive-table { width: 100%; border-collapse: separate; border-spacing: 5px; margin-bottom: 20px; }
.responsive-table td.cell { 
    text-align: center; 
    padding: 15px 5px; 
    border: 2px solid #fff; 
    color: #fff; 
    font-weight: bold; 
    font-size: 16px; 
    line-height: 1.3; 
    border-radius: 5px;
    vertical-align: middle;
}
.responsive-table a { color: #fff !important; text-decoration: none; display: block; }

/* Flexbox Grid for Posts */
.flex-container { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 20px; }
.flex-box { 
    flex: 1 1 calc(33.33% - 15px); 
    border: 2px solid #d3681f; 
    display: flex; 
    flex-direction: column; 
    background: #fff;
}
.flex-box header { background: #7a312e; color: #fff; padding: 5px; text-align: center; }
.flex-box header h2 { margin: 0; font-size: 20px; text-transform: uppercase; }
.flex-box article { padding: 10px; flex-grow: 1; }
.flex-box article ul li { margin-bottom: 8px; font-size: 15px; font-weight: 700; border-bottom: 1px dotted #ccc; padding-bottom: 4px; }
.flex-box article ul li a { color: #0501a1; text-decoration: none; }
.flex-box article ul li a:hover { color: #ff0000; }
.flex-box footer { padding: 8px; text-align: right; background: #f9f9f9; border-top: 1px solid #eee; }
.flex-box footer a { font-weight: bold; color: #d3681f; }

/* Footer */
.site-footer { background-color: #ffffff; padding: 40px 20px; border-top: 5px solid #612625; margin-top: 30px; }
.copyright-bar { text-align: center; font-size: 15px; color: #222; margin-top: 20px; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .site-header { text-align: center; }
    .site-branding-container { flex-direction: column; }
    .site-logo img { margin: 0 0 10px 0; }
    .main-title { font-size: 28px; }
    .main-navigation ul { flex-direction: column; }
    .main-navigation li { border-right: none; border-bottom: 1px solid #ffffff33; text-align: center; }
    
    .flex-box { flex: 1 1 100%; } /* Mobile pe full width */
    
    /* Table Fix for Mobile */
    .responsive-table td.cell { font-size: 13px; padding: 8px 2px; }
}
/* --- Single Post Page Styles --- */
.post-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Do barabar columns */
    gap: 0;
    border: 1px solid #000;
    margin-bottom: 20px;
}
.meta-item {
    padding: 10px;
    border-bottom: 1px solid #000;
    display: flex;
    align-items: center;
}
.meta-item:last-child, .meta-item:nth-last-child(2) {
    border-bottom: none; /* Last row ka border hatao */
}
.meta-label {
    font-weight: bold;
    color: #ff0000; /* Red Color for Labels */
    margin-right: 10px;
    width: 40%;
}
.meta-value {
    width: 60%;
}
.meta-value h1 { color: #ff00ff; margin: 0; font-size: 24px; font-weight: bold; } /* Pink Title */

/* Important Dates & Fees Box */
.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid #000;
    margin-bottom: 20px;
}
.details-col {
    padding: 15px;
    border-right: 1px solid #000;
}
.details-col:last-child { border-right: none; }
.details-col h4 {
    color: #008000; /* Green Heading */
    text-align: center;
    font-weight: bold;
    margin-top: 0;
    text-decoration: underline;
}
.details-col ul { list-style: disc; padding-left: 20px; }
.details-col li { margin-bottom: 5px; }

/* Links Table (Clean Look) */
.links-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #000;
    margin-top: 20px;
}
.links-table td {
    border: 1px solid #000;
    padding: 10px;
    text-align: center;
}
.links-table .link-label {
    width: 40%;
    font-weight: bold;
    color: #ff00ff; /* Pink Label */
    background: #f9f9f9;
}
.links-table .link-btn a {
    display: inline-block;
    font-weight: bold;
    color: #000;
    text-decoration: none;
}
.links-table .link-btn a:hover { color: blue; text-decoration: underline; }

/* Mobile Fixes for Single Page */
@media (max-width: 768px) {
    .post-meta-grid, .details-grid { grid-template-columns: 1fr; } /* Stack vertically */
    .meta-item { border-bottom: 1px solid #ddd; }
    .details-col { border-right: none; border-bottom: 1px solid #000; }
    .meta-label { width: 100%; display: block; margin-bottom: 5px; }
    .meta-value { width: 100%; display: block; }
}
/* --- Category/Archive Page Styles --- */
.archive-header {
    background: #7a312e;
    color: #fff;
    padding: 10px;
    text-align: center;
    margin-bottom: 20px;
    border: 2px solid #d3681f;
}
.archive-header h1 { margin: 0; font-size: 28px; text-transform: uppercase; }

.category-list {
    border: 1px solid #ddd;
    background: #fff;
    padding: 20px;
}
.category-list ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #ccc;
    font-size: 16px;
    font-weight: bold;
}
.category-list ul li:last-child { border-bottom: none; }
.category-list ul li a { color: #000; text-decoration: none; }
.category-list ul li a:hover { color: #ff0000; text-decoration: underline; }

/* Pagination Styling */
.pagination { margin-top: 20px; text-align: center; }
.pagination a, .pagination strong {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    color: #333;
    text-decoration: none;
}
.pagination strong { background: #612625; color: #fff; border-color: #612625; }
/* --- Single Post Page (RojgarForum Style) --- */

.rf-table td {
    font-size: 16px;
    line-height: 1.5;
}

.rf-table-bordered {
    margin-bottom: 20px;
}

.rf-table-bordered td {
    border: 1px solid #000 !important;
}

/* List Styling inside Tables (Dates/Fees) */
.rf-content-list ul {
    list-style-type: none; /* Default bullet hatao */
    padding: 0;
    margin: 0;
    text-align: center; /* Center align jaisa aapke screenshot me tha */
}

.rf-content-list li {
    margin-bottom: 5px;
    font-family: 'Times New Roman', serif;
    font-size: 17px;
}

/* Links Table Styling */
.link-label {
    text-align: center;
    color: #ff00ff !important;
    font-weight: bold;
    font-family: 'Times New Roman', serif;
    font-size: 18px;
    vertical-align: middle;
}

.link-btn {
    text-align: center;
    vertical-align: middle;
}

.link-btn a {
    font-weight: bold;
    font-family: 'Times New Roman', serif;
    color: blue;
    text-decoration: underline;
    font-size: 18px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .rf-table-bordered td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }
    .rf-table-bordered tr {
        border-bottom: 2px solid #000;
    }
}
/* --- Mobile Navigation Styles --- */

/* 1. Desktop Default (Button Chhupa rahega) */
.menu-toggle {
    display: none; /* Desktop par button nahi dikhega */
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 15px;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.icon-bar { font-size: 22px; margin-right: 10px; }

/* 2. Mobile View Settings */
@media (max-width: 768px) {
    
    /* Nav ka background */
    .main-navigation {
        position: relative;
    }

    /* Button dikhao */
    .menu-toggle {
        display: block; 
        background-color: #4a1d1d; /* Thoda dark color button ke liye */
    }

    /* Menu List ko By Default Chhupa do */
    .main-navigation ul {
        display: none; /* Gayab */
        flex-direction: column; /* Links ek ke neeche ek aayenge */
        width: 100%;
        background-color: #612625;
        padding: 0;
        margin: 0;
    }

    .main-navigation li {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
        text-align: left;
    }

    .main-navigation li a {
        padding: 12px 20px;
        line-height: normal; /* Height fix */
    }

    /* 3. MAGIC CLASS (Jab Button Click Hoga tab ye class lagegi) */
    .main-navigation.toggled ul {
        display: block; /* Ab dikhao */
        animation: slideDown 0.3s ease-out; /* Smooth Animation */
    }
}

/* Thoda sa Animation */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* --- HIGH CONTRAST SARKARI STYLE CSS --- */

/* Universal Font Setting for Single Post */
.single-post * {
    font-family: 'Times New Roman', Times, serif !important;
}

/* Table styling */
.rf-content-list ul li {
    font-size: 18px !important; /* Bada Text */
    font-weight: 700 !important; /* Mota Text */
    color: #000;
    margin-bottom: 6px;
    line-height: 1.6;
}

/* Link Table Styling */
.links-table td {
    border: 2px solid #000 !important; /* Border Mota kiya */
    padding: 12px !important;
}

.link-label {
    color: #ff00ff !important;
    font-weight: 900 !important;
    font-size: 20px !important; /* 20px Size */
}

.link-btn a {
    color: blue !important;
    font-weight: 900 !important;
    font-size: 20px !important;
    text-decoration: underline;
}

/* Vacancy Table Styling */
.vacancy-table-container table {
    width: 100%;
    border-collapse: collapse;
}
.vacancy-table-container th {
    background-color: #f0f0f0 !important;
    color: #008000 !important;
    border: 2px solid #000 !important;
    padding: 12px !important;
    font-size: 19px !important;
    font-weight: 900 !important;
}
.vacancy-table-container td {
    border: 2px solid #000 !important;
    padding: 10px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

/* Mobile Fixes */
@media (max-width: 768px) {
    .single-post h1 { font-size: 22px !important; }
    .single-post h2 { font-size: 20px !important; }
    .single-post h3 { font-size: 18px !important; }
    .rf-content-list ul li { font-size: 16px !important; }
    .links-table td { font-size: 16px !important; padding: 8px !important; }
    
    /* Mobile pe table stack na ho, scroll ho */
    .vacancy-table-container {
        overflow-x: auto;
    }
}
.sr-container {
    max-width: 900px;
    margin: auto;
    padding: 10px;
    font-family: 'Times New Roman';
}

.sr-box {
    border: 2px solid #000;
    margin-bottom: 20px;
    border-radius: 6px;
    background: #fff;
}

.sr-heading {
    text-align: center;
    margin: 0;
    padding: 10px;
    border-bottom: 2px solid #000;
    font-weight: 900;
}

.magenta { color: #d100d1; font-size: 24px; }
.green { color: #008000; font-size: 24px; }
.pink { color: #ff00ff; font-size: 20px; font-weight: 900;}

.sr-content {
    padding: 10px;
    font-size: 18px;
}

.sr-table {
    width: 100%;
    border-collapse: collapse;
}

.sr-table td {
    padding: 12px;
    font-size: 19px;
    border-bottom: 2px solid #000;
}

.sr-table td:first-child {
    width: 50%;
    border-right: 2px solid #000;
}

.sr-link {
    font-weight: 900;
    font-size: 20px;
    text-decoration: underline;
    color: blue;
}

.tg {
    font-weight: 900;
    color: #0088cc;
    font-size: 20px;
}
.wa {
    font-weight: 900;
    color: #25d366;
    font-size: 20px;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .sr-table td { 
        display: block; 
        width: 100%; 
        border-right: none !important; 
    }
    .sr-table tr { 
        display: block; 
        margin-bottom: 15px;
    }
    .sr-heading { font-size: 20px; }
}
