/*
Theme Name: LatestJobUpdate Pro
Theme URI: https://latestjobupdate.com
Author: LatestJobUpdate.com
Author URI: https://latestjobupdate.com
Description: Professional, Fast & SEO Optimized Theme for LatestJobUpdate.com — India ki #1 Sarkari Job Site
Version: 3.3
License: GNU General Public License v2
Text Domain: latestjobupdate
Tags: government-jobs, sarkari-naukri, job-portal, hinglish, fast, seo-optimized
*/

/* ============================================================
   CSS VARIABLES — Easy Customize Karo
   ============================================================ */
:root {
    --primary:    #FF6B00;      /* Saffron Orange — Main Brand Color */
    --primary-dk: #D45500;      /* Dark Orange — Hover */
    --primary-lt: #FFF3E0;      /* Light Orange — Backgrounds */
    --navy:       #0A1628;      /* Dark Navy — Header/Footer */
    --navy-mid:   #0F2040;      /* Medium Navy */
    --navy-lt:    #1A3355;      /* Light Navy */
    --green:      #0f6b3a;      /* Dark Green */
    --green-lt:   #dcfce7;      /* Light Green */
    --red:        #dc2626;      /* Red — Alerts/Last Date */
    --red-lt:     #fee2e2;      /* Light Red */
    --gold:       #f59e0b;      /* Gold — Badges */
    --white:      #ffffff;
    --gray-50:    #f8fafc;
    --gray-100:   #f1f5f9;
    --gray-200:   #e2e8f0;
    --gray-300:   #cbd5e1;
    --gray-400:   #94a3b8;
    --gray-600:   #475569;
    --gray-800:   #1e293b;
    --shadow-sm:  0 1px 3px rgba(0,0,0,.07);
    --shadow-md:  0 4px 12px rgba(0,0,0,.10);
    --r:          8px;
    --r-lg:       12px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Noto Sans', 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-100);
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea { font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 { font-size: 24px; font-weight: 800; line-height: 1.25; }
h2 { font-size: 20px; font-weight: 700; line-height: 1.3; }
h3 { font-size: 16px; font-weight: 700; line-height: 1.4; }
h4 { font-size: 14px; font-weight: 600; }
p  { margin-bottom: 8px; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
.main-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    padding: 20px 0;
}
.content-area { min-width: 0; }

/* ============================================================
   TICKER BAR
   ============================================================ */
.ticker-bar {
    background: var(--navy);
    padding: 6px 0;
    overflow: hidden;
    position: relative;
}
.ticker-bar::before {
    content: '🔴 LIVE';
    background: var(--red);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    z-index: 2;
    white-space: nowrap;
}
.ticker-wrap {
    overflow: hidden;
    margin-left: 60px;
}
.ticker-inner {
    display: flex;
    gap: 48px;
    animation: ticker 25s linear infinite;
    white-space: nowrap;
    width: max-content;
}
.ticker-inner:hover { animation-play-state: paused; }
@keyframes ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.ticker-inner span {
    color: #FFD580;
    font-size: 12px;
    font-weight: 600;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    background: var(--white);
    border-bottom: 3px solid var(--primary);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 16px;
    max-width: 1200px;
    margin: 0 auto;
}
/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 900;
}
.logo-text .site-name {
    display: block;
    font-size: 18px;
    font-weight: 900;
    color: var(--navy);
    line-height: 1.1;
    letter-spacing: -.3px;
}
.logo-text .site-tagline {
    display: block;
    font-size: 10px;
    color: var(--gray-400);
}
/* Header Search */
.header-search {
    flex: 1;
    max-width: 420px;
    margin: 0 auto;
    position: relative;
}
.header-search input {
    width: 100%;
    padding: 9px 16px 9px 38px;
    border: 1.5px solid var(--gray-200);
    border-radius: 24px;
    font-size: 13px;
    background: var(--gray-50);
    outline: none;
    transition: .2s;
}
.header-search input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(255,107,0,.1);
}
.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 14px;
}
.header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}
.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 9px 18px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 700;
    transition: .2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.btn-primary:hover { background: var(--primary-dk); }
/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--navy);
    padding: 4px;
}

/* Mobile Menu — CSS se control (JS wala bug tha) */
.mobile-menu {
    background: #fff;
    border-top: 2px solid var(--primary);
    padding: 10px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.mobile-menu[hidden] {
    display: none !important;
}
.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mobile-menu nav a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    transition: .15s;
}
.mobile-menu nav a:hover { background: var(--primary-lt); }
.mobile-menu .mobile-search {
    margin-bottom: 8px;
}
.mobile-menu .mobile-search input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: 24px;
    font-size: 14px;
    outline: none;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.main-nav {
    background: var(--navy);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }
.nav-inner a {
    color: rgba(255,255,255,.8);
    padding: 11px 14px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: .2s;
    display: block;
}
.nav-inner a:hover,
.nav-inner a.current-menu-item,
.nav-inner a.active {
    color: white;
    border-bottom-color: var(--primary);
    background: rgba(255,107,0,.1);
}
.nav-inner a .nav-badge {
    background: var(--red);
    color: white;
    font-size: 9px;
    padding: 1px 4px;
    border-radius: 4px;
    margin-left: 4px;
    font-weight: 800;
    vertical-align: middle;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
    background: var(--green);
    padding: 10px 0;
}
.stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 0;
    flex-wrap: wrap;
    gap: 8px;
}
.stat-item { text-align: center; color: white; }
.stat-item .num {
    font-size: 18px;
    font-weight: 900;
    line-height: 1.1;
}
.stat-item .lbl {
    font-size: 10px;
    opacity: .75;
    margin-top: 2px;
}
.stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,.2);
}
.live-badge {
    background: rgba(0,0,0,.2);
    color: rgba(255,255,255,.9);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.live-dot {
    width: 7px;
    height: 7px;
    background: #4ade80;
    border-radius: 50%;
    animation: blink 1.2s ease infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ============================================================
   QUICK ACCESS
   ============================================================ */
.quick-section {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 14px 0;
}
.quick-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
.quick-card {
    border-radius: var(--r);
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: .2s;
    border: 1.5px solid transparent;
    text-decoration: none;
    display: block;
}
.quick-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.quick-card .qc-icon { font-size: 24px; margin-bottom: 5px; }
.quick-card h4 { font-size: 12px; font-weight: 700; color: var(--gray-800); margin-bottom: 2px; }
.quick-card p  { font-size: 10px; color: var(--gray-400); margin: 0; }
.qc-result   { background: #fff7ed; border-color: #fed7aa; }
.qc-admit    { background: #eff6ff; border-color: #bfdbfe; }
.qc-job      { background: #f0fdf4; border-color: #bbf7d0; }
.qc-answer   { background: #fdf4ff; border-color: #e9d5ff; }
.qc-syllabus { background: #fefce8; border-color: #fde68a; }
.qc-admit2   { background: #ecfdf5; border-color: #a7f3d0; }

/* ============================================================
   FILTER STRIP
   ============================================================ */
.filter-strip {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 8px 0;
    position: sticky;
    top: 67px;
    z-index: 90;
}
.filter-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}
.filter-inner::-webkit-scrollbar { display: none; }
.filter-label { font-size: 11px; color: var(--gray-400); font-weight: 700; flex-shrink: 0; }
.filter-chip {
    padding: 5px 12px;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    background: white;
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    white-space: nowrap;
    transition: .15s;
    flex-shrink: 0;
}
.filter-chip:hover,
.filter-chip.active {
    background: var(--navy);
    border-color: var(--navy);
    color: white;
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.section-title h2 {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-title h2::before {
    content: '';
    width: 4px;
    height: 18px;
    background: var(--primary);
    border-radius: 2px;
    display: inline-block;
    flex-shrink: 0;
}
.section-badge {
    background: var(--primary-lt);
    color: var(--primary-dk);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 8px;
}
.view-all {
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
    white-space: nowrap;
}
.view-all:hover { color: var(--primary-dk); }

/* ============================================================
   CATEGORY CARDS (Homepage Grid)
   ============================================================ */
.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.cat-card {
    background: white;
    border-radius: var(--r-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.cat-head {
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 800;
    color: white;
    letter-spacing: .3px;
}
.cat-head .head-cnt {
    background: rgba(255,255,255,.25);
    padding: 2px 7px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
}
.cat-result  .cat-head { background: #b45309; }
.cat-admit   .cat-head { background: #1d4ed8; }
.cat-job     .cat-head { background: #0f6b3a; }
.cat-answer  .cat-head { background: #7c3aed; }
.cat-syllabus .cat-head { background: #0891b2; }
.cat-admit2  .cat-head { background: #be185d; }
.cat-offline .cat-head { background: #c2410c; }
.cat-notif   .cat-head { background: #374151; }

.cat-body { padding: 4px 0; }
.job-item {
    padding: 7px 14px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: .15s;
    gap: 8px;
}
.job-item:last-child { border: none; }
.job-item:hover { background: var(--gray-50); }
.job-item-name {
    font-size: 12px;
    color: var(--gray-800);
    line-height: 1.4;
    flex: 1;
}
.job-item-name:hover { color: var(--primary); }
.apply-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
    transition: .15s;
}
.apply-btn:hover { background: var(--primary-dk); }
.apply-btn.btn-download { background: #1d4ed8; }
.apply-btn.btn-check    { background: #b45309; }
.apply-btn.btn-result   { background: #0f6b3a; }
.cat-footer {
    padding: 8px 14px;
    border-top: 1px solid var(--gray-100);
    text-align: center;
}
.cat-footer a {
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
}
.cat-footer a:hover { color: var(--primary); }

/* NEW/HOT Badge on items */
.item-badge {
    font-size: 9px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 3px;
    flex-shrink: 0;
    vertical-align: middle;
    margin-left: 4px;
}
.badge-new { background: var(--red); color: white; }
.badge-hot { background: var(--primary); color: white; }

/* ============================================================
   ALERT BAR
   ============================================================ */
.alert-bar {
    background: var(--navy);
    color: white;
    padding: 10px 14px;
    border-radius: var(--r);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}
.alert-bar strong { color: #FFD580; }
.alert-bar a {
    color: #4ade80;
    margin-left: auto;
    font-weight: 700;
    font-size: 11px;
    flex-shrink: 0;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar { display: flex; flex-direction: column; gap: 16px; }
.widget {
    background: white;
    border-radius: var(--r-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.widget-head {
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 800;
    color: white;
    background: var(--navy);
    display: flex;
    align-items: center;
    gap: 6px;
}
.widget-head.orange { background: var(--primary); }
.widget-head.green  { background: var(--green); }
.widget-body { padding: 10px 14px; }

/* Notification Items */
.notif-item {
    display: flex;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
    transition: .15s;
}
.notif-item:last-child { border: none; }
.notif-item:hover { padding-left: 4px; }
.notif-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
}
.notif-text { font-size: 12px; color: var(--gray-800); line-height: 1.3; }
.notif-time { font-size: 10px; color: var(--gray-400); margin-top: 2px; }

/* Important Dates */
.date-item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid var(--gray-100);
}
.date-item:last-child { border: none; }
.date-box {
    padding: 5px 7px;
    border-radius: 6px;
    text-align: center;
    min-width: 38px;
    flex-shrink: 0;
}
.date-box .day { display: block; font-size: 16px; font-weight: 900; line-height: 1; }
.date-box .mon { display: block; font-size: 8px;  font-weight: 800; margin-top: 1px; }
.date-info h4  { font-size: 12px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.date-info p   { font-size: 10px; color: var(--gray-400); margin: 0; }

/* Social Join Widget */
.social-btns { display: flex; gap: 8px; }
.social-btn {
    flex: 1;
    padding: 9px 8px;
    border-radius: 20px;
    text-align: center;
    color: white;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: .2s;
}
.social-btn:hover { opacity: .9; transform: translateY(-1px); }
.btn-telegram  { background: #0088cc; }
.btn-whatsapp  { background: #25d366; }

/* Ad Widget */
.ad-widget {
    background: var(--gray-100);
    border-radius: var(--r-lg);
    padding: 12px;
    text-align: center;
    border: 1px dashed var(--gray-300);
}
.ad-widget .ad-label { font-size: 10px; color: var(--gray-400); margin-bottom: 6px; }

/* ============================================================
   HARYANA SECTION
   ============================================================ */
.haryana-section {
    background: white;
    padding: 16px 0;
    border-top: 2px solid var(--primary);
    margin-top: 20px;
}
.haryana-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 12px;
}
.haryana-card {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: var(--r);
    padding: 12px 10px;
    cursor: pointer;
    transition: .2s;
    text-decoration: none;
    display: block;
}
.haryana-card:hover {
    background: #ffedd5;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.haryana-card h3 { font-size: 12px; font-weight: 700; color: #9a3412; margin-bottom: 4px; line-height: 1.3; }
.haryana-card p  { font-size: 10px; color: #c2410c; margin-bottom: 6px; }
.haryana-card .vac-badge {
    background: #ea580c;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    display: inline-block;
}

/* ============================================================
   EXAM / POPULAR SECTION
   ============================================================ */
.exam-section {
    background: white;
    padding: 16px 0;
    border-top: 1px solid var(--gray-200);
}
.exam-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
    margin-top: 12px;
}
.exam-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--r);
    padding: 10px 6px;
    text-align: center;
    cursor: pointer;
    transition: .2s;
    text-decoration: none;
    display: block;
}
.exam-card:hover {
    border-color: var(--primary);
    background: var(--primary-lt);
}
.exam-card .ename { font-size: 13px; font-weight: 800; color: var(--navy); }
.exam-card .edesc { font-size: 9px;  color: var(--gray-400); margin-top: 3px; }

/* ============================================================
   STATE SECTION
   ============================================================ */
.state-section {
    background: white;
    padding: 16px 0;
    border-top: 1px solid var(--gray-200);
}
.state-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-top: 12px;
}
.state-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--r);
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: .2s;
    text-decoration: none;
    display: block;
}
.state-card:hover {
    border-color: var(--primary);
    background: var(--primary-lt);
    transform: translateY(-2px);
}
.state-card .flag  { font-size: 20px; margin-bottom: 5px; }
.state-card h4     { font-size: 11px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.state-card p      { font-size: 10px; color: var(--gray-400); margin: 0; }

/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
.newsletter-section {
    background: var(--navy);
    padding: 24px 0;
    margin-top: 20px;
}
.newsletter-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.newsletter-text h2 { font-size: 18px; color: white; margin-bottom: 4px; }
.newsletter-text p  { font-size: 12px; color: rgba(255,255,255,.65); margin: 0; }
.newsletter-form {
    display: flex;
    gap: 8px;
    flex: 1;
    min-width: 280px;
}
.newsletter-form input {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 24px;
    font-size: 13px;
    outline: none;
}
.newsletter-form button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: .2s;
}
.newsletter-form button:hover { background: var(--primary-dk); }

/* ============================================================
   SINGLE POST
   ============================================================ */
.post-header {
    background: white;
    border-radius: var(--r-lg);
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--gray-200);
}
.post-header h1 {
    font-size: 22px;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.3;
}
.post-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.post-meta span {
    font-size: 11px;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 4px;
}
.post-category-badge {
    background: var(--primary-lt);
    color: var(--primary-dk);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
}
.post-alert {
    background: #fef2f2;
    border: 1.5px solid #fca5a5;
    border-radius: var(--r);
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--red);
    margin-bottom: 12px;
}
.post-content {
    background: white;
    border-radius: var(--r-lg);
    padding: 20px;
    border: 1px solid var(--gray-200);
    font-size: 14px;
    line-height: 1.75;
}
.post-content h2 {
    background: var(--navy);
    color: white;
    padding: 9px 14px;
    border-radius: 6px;
    font-size: 14px;
    margin: 20px 0 10px;
}
/* Table — mobile pe scroll hogi, tootegi nahi */
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 13px;
    display: block;          /* scroll ke liye */
    overflow-x: auto;        /* mobile pe swipe karke dekh sakte hain */
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;     /* cells wrap nahi honge */
}
.post-content table th {
    background: var(--navy);
    color: white;
    padding: 8px 10px;
    text-align: left;
    font-weight: 700;
}
.post-content table td {
    padding: 7px 10px;
    border-bottom: 1px solid var(--gray-100);
}
.post-content table tr:nth-child(even) { background: var(--gray-50); }

/* Mobile — post content tight padding */
@media (max-width: 480px) {
    .post-content { padding: 14px 12px; font-size: 13px; }
    .post-content table { font-size: 12px; }
    .post-content table th,
    .post-content table td { padding: 6px 8px; }
}

/* ============================================================
   CATEGORY PAGE
   ============================================================ */
.category-banner {
    background: var(--navy);
    padding: 20px 0;
}
.category-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.cat-big-icon {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}
.cat-info h1 { font-size: 20px; color: white; margin-bottom: 3px; }
.cat-info p  { font-size: 12px; color: rgba(255,255,255,.65); }
.cat-stats   { display: flex; gap: 16px; margin-top: 6px; }
.cat-stats span { font-size: 11px; color: rgba(255,255,255,.8); }
.cat-stats strong { color: var(--primary); }

.posts-list { display: flex; flex-direction: column; gap: 10px; }
.post-card {
    background: white;
    border-radius: var(--r-lg);
    border: 1px solid var(--gray-200);
    padding: 14px 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: .2s;
    text-decoration: none;
}
.post-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    transform: translateY(-1px);
}
.post-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    background: var(--primary-lt);
}
.post-card-body { flex: 1; min-width: 0; }
.post-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 5px;
    line-height: 1.3;
}
.post-card-title:hover { color: var(--primary); }
.post-card-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.meta-tag {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 8px;
}
.meta-date   { background: var(--red-lt);   color: var(--red); }
.meta-cat    { background: var(--green-lt);  color: var(--green); }
.meta-vac    { background: var(--primary-lt);color: var(--primary-dk); }
.post-card-action { flex-shrink: 0; }
.btn-apply-sm {
    background: var(--primary);
    color: white;
    border: none;
    padding: 7px 14px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
    display: inline-block;
    transition: .15s;
}
.btn-apply-sm:hover { background: var(--primary-dk); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 20px 0 8px;
    flex-wrap: wrap;
}
.page-numbers {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    background: white;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: .15s;
    text-decoration: none;
}
.page-numbers:hover,
.page-numbers.current {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}
.page-numbers.dots { border: none; background: none; cursor: default; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
    padding: 8px 0;
    font-size: 11px;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span { color: var(--gray-400); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,.7);
    padding: 32px 0 0;
    margin-top: 32px;
}
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 28px;
}
.footer-brand .brand-logo {
    font-size: 18px;
    font-weight: 900;
    color: white;
    margin-bottom: 8px;
}
.footer-brand p {
    font-size: 12px;
    line-height: 1.7;
    color: rgba(255,255,255,.5);
    margin: 0;
}
.footer-col h4 {
    font-size: 11px;
    font-weight: 800;
    color: rgba(255,255,255,.4);
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 10px;
}
.footer-col a {
    display: block;
    color: rgba(255,255,255,.65);
    font-size: 12px;
    padding: 4px 0;
    transition: .15s;
}
.footer-col a:hover { color: var(--primary); padding-left: 4px; }
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 16px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-bottom p { font-size: 11px; color: rgba(255,255,255,.3); margin: 0; }

/* India Flag Bar */
.india-bar {
    height: 5px;
    background: linear-gradient(90deg, #FF9933 33.33%, white 33.33%, white 66.66%, #138808 66.66%);
}

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.fab-wrap {
    position: fixed;
    bottom: 20px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}
.fab {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    transition: .2s;
    cursor: pointer;
    text-decoration: none;
}
.fab:hover { transform: scale(1.1); }
.fab-top { background: var(--primary); color: white; opacity: 0; pointer-events: none; transition: .3s; }
.fab-top.visible { opacity: 1; pointer-events: auto; }
.fab-tg { background: #0088cc; color: white; }

/* ============================================================
   404 PAGE
   ============================================================ */
.error-404 { text-align: center; padding: 60px 16px; }
.error-404 h1 { font-size: 72px; color: var(--primary); margin-bottom: 8px; }
.error-404 h2 { font-size: 22px; color: var(--navy); margin-bottom: 12px; }
.error-404 p  { color: var(--gray-400); margin-bottom: 20px; }

/* ============================================================
   RESPONSIVE — MOBILE FIRST
   ============================================================ */
@media (max-width: 1024px) {
    .main-layout { grid-template-columns: 1fr 260px; gap: 16px; }
    .haryana-grid { grid-template-columns: repeat(3, 1fr); }
    .exam-grid { grid-template-columns: repeat(4, 1fr); }
    .state-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .main-layout { grid-template-columns: 1fr; }
    .sidebar { display: none; }
    .category-grid { grid-template-columns: 1fr; }
    .quick-grid { grid-template-columns: repeat(3, 1fr); }
    .haryana-grid { grid-template-columns: repeat(2, 1fr); }
    .exam-grid { grid-template-columns: repeat(4, 1fr); }
    .state-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-inner { gap: 12px; }
    .stat-divider { display: none; }
    .newsletter-inner { flex-direction: column; gap: 12px; }
    .post-card { flex-direction: column; gap: 8px; }
    .header-search { display: none; }
    .menu-toggle { display: block; }
}

@media (max-width: 480px) {
    .quick-grid { grid-template-columns: repeat(3, 1fr); }
    .exam-grid { grid-template-columns: repeat(3, 1fr); }
    .state-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .haryana-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
    .ticker-bar, nav, .filter-strip, .sidebar,
    .newsletter-section, .fab-wrap { display: none; }
    .main-layout { grid-template-columns: 1fr; }
}

/* show-more-btn */
.show-more-btn {
    background: none;
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: .15s;
}
.show-more-btn:hover {
    background: var(--primary-lt);
    border-color: var(--primary);
    color: var(--primary-dk);
}
   ============================================================ */

/* Common wrapper */
.lju-ad-wrap {
    text-align: center;
    overflow: hidden;
    position: relative;
}
.lju-ad-label {
    font-size: 9px;
    color: #b0b8c4;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 3px;
    font-weight: 500;
}

/* 728×90 — Nav ke neeche, sab pages */
.ad-leaderboard {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 8px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px; /* CLS prevent — space already reserved */
}

/* 300×250 — Sidebar */
.ad-sidebar-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 8px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* In-feed — Homepage grid ke baad */
.ad-infeed {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px;
    margin: 14px 0;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Below title — Post header ke baad (high viewability) */
.ad-below-title {
    background: #f8fafc;
    border-radius: 10px;
    padding: 8px;
    margin: 12px 0;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
}

/* Mid-content — Post ke beech mein (HIGHEST CTR) */
.ad-mid-content {
    background: #f8fafc;
    border-radius: 10px;
    padding: 10px 8px;
    margin: 20px 0;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 2px solid #FF6B00;
    border-bottom: 2px solid #FF6B00;
}

/* After related — engagement ke waqt */
.ad-after-related {
    background: #f8fafc;
    border-radius: 10px;
    padding: 8px;
    margin: 12px 0;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
}

/* 320×50 Mobile sticky — fixed bottom */
.ad-mobile-sticky {
    display: none; /* Desktop pe hidden */
}
/* Mobile sticky close button */
.ad-sticky-close {
    display: none;
}

@media (max-width: 768px) {
    .ad-leaderboard     { display: none; }
    .ad-below-title     { min-height: 60px; }
    .ad-mid-content     { min-height: 60px; }
    .ad-infeed          { min-height: 60px; }

    .ad-mobile-sticky {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 998;
        background: #fff;
        border-top: 2px solid var(--primary);
        box-shadow: 0 -2px 10px rgba(0,0,0,.10);
        min-height: 58px;
        padding: 4px 0;
        transition: transform .3s ease;
    }
    .ad-mobile-sticky.dismissed {
        transform: translateY(100%);
    }
    /* Close button — user disturb na ho */
    .ad-sticky-close {
        display: flex;
        position: absolute;
        top: -18px;
        right: 8px;
        background: var(--navy);
        color: #fff;
        border: none;
        border-radius: 50% 50% 0 0;
        width: 28px;
        height: 18px;
        font-size: 10px;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-weight: 700;
        line-height: 1;
    }
    /* Content sticky bar ke peeche na chuppe */
    body { padding-bottom: 62px; }
    .fab-wrap { bottom: 72px; }
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-404 { text-align: center; padding: 60px 16px; }
.error-404 h1 { font-size: 72px; color: var(--primary); margin-bottom: 8px; }
.error-404 h2 { font-size: 22px; color: var(--navy); margin-bottom: 12px; }
.error-404 p  { color: var(--gray-400); margin-bottom: 20px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .main-layout { grid-template-columns: 1fr 260px; gap: 16px; }
    .haryana-grid { grid-template-columns: repeat(3, 1fr); }
    .exam-grid { grid-template-columns: repeat(4, 1fr); }
    .state-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .main-layout { grid-template-columns: 1fr; }
    .sidebar { display: none; }
    .category-grid { grid-template-columns: 1fr; }
    .quick-grid { grid-template-columns: repeat(3, 1fr); }
    .haryana-grid { grid-template-columns: repeat(2, 1fr); }
    .exam-grid { grid-template-columns: repeat(4, 1fr); }
    .state-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-inner { gap: 12px; }
    .stat-divider { display: none; }
    .newsletter-inner { flex-direction: column; gap: 12px; }
    .post-card { flex-direction: column; gap: 8px; }
    .header-search { display: none; }
    .menu-toggle { display: block; }
}

@media (max-width: 480px) {
    .quick-grid { grid-template-columns: repeat(3, 1fr); }
    .exam-grid { grid-template-columns: repeat(3, 1fr); }
    .state-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .haryana-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
    .ticker-bar, nav, .filter-strip, .sidebar,
    .newsletter-section, .fab-wrap { display: none; }
    .main-layout { grid-template-columns: 1fr; }
}

/* ============================================================
   AD STYLES — lju_render_ad() se inject hote hain
   ============================================================ */

/* Common wrapper */
.lju-ad-wrap {
    text-align: center;
    overflow: hidden;
}
.lju-ad-label {
    font-size: 10px;
    color: #94a3b8;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

/* 728x90 — Nav ke neeche */
.ad-leaderboard {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 8px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 108px;
}

/* 300x250 — Sidebar */
.ad-sidebar-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 10px;
    min-height: 270px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* In-feed ad — Post list ke beech */
.ad-infeed {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px;
    margin: 14px 0;
    min-height: 108px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 320x50 — Mobile sticky bar — Desktop pe hidden */
.ad-mobile-sticky {
    display: none;
}

@media (max-width: 768px) {
    /* Leaderboard desktop par hi accha lagta hai, mobile pe hide */
    .ad-leaderboard { display: none; }

    /* Mobile sticky bar show karo */
    .ad-mobile-sticky {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 998;
        background: #fff;
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 -2px 8px rgba(0,0,0,.08);
        min-height: 58px;
        padding: 4px 0;
    }
    /* Content sticky bar ke peeche na chuppe */
    body { padding-bottom: 62px; }
    /* FABs sticky bar ke upar */
    .fab-wrap { bottom: 72px; }
}

/* ============================================================
   OFFSIDE PLUGIN CONFLICT FIX
   ============================================================ */

/* Offside plugin overflow-x:hidden se content hide hota tha */
body.offside-js--init {
    overflow-x: visible !important;
}

/* Hamara mobile menu offside se alag rakho */
#mobileMenu {
    position: relative !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    z-index: 100;
}

/* Offside ka apna menu hamari theme pe apply na ho */
.offside,
.offside-left,
.offside-right {
    display: none !important;
}

/* ============================================================
   POPULAR SEARCHES
   ============================================================ */
.popular-searches {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 6px 16px 8px;
    max-width: 1200px;
    margin: 0 auto;
}
.ps-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-500);
    white-space: nowrap;
}
.ps-tag {
    display: inline-block;
    background: var(--primary-lt);
    color: var(--primary-dk);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-decoration: none;
    border: 1px solid #fed7aa;
    transition: .15s;
    white-space: nowrap;
}
.ps-tag:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
@media (max-width: 768px) {
    .popular-searches { padding: 5px 12px 6px; gap: 5px; }
    .ps-tag { font-size: 10px; padding: 2px 8px; }
}

    100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
    .lju-ticker { height: 28px; }
    .ticker-badge { font-size: 9px; padding: 3px 8px; }
    .ticker-item { font-size: 11px; }
    .ticker-track { animation-duration: 25s; }
}


/* ============================================================
   MOBILE — Extra fixes
   ============================================================ */

/* Category grid — mobile pe full width cards */
@media (max-width: 768px) {
    .category-grid { grid-template-columns: 1fr; gap: 12px; }
    .cat-card { border-radius: 12px; }
    .cat-head { padding: 10px 14px; }

    /* Updates box — 2 col on small tablet */
/* Popular searches — wrap properly */
    .popular-searches { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
    .popular-searches::-webkit-scrollbar { display: none; }

    /* Stats bar — center align */
    .stats-inner { justify-content: center; flex-wrap: wrap; gap: 10px; }
    .stat-item { text-align: center; }

    /* Single post share buttons — stack on tiny screens */
    .post-header > div[style*="flex"] { flex-wrap: wrap; }
}

@media (max-width: 420px) {
    /* Updates box — single column on very small phones */
/* Quick nav grid — 3 per row */
    .quick-grid { grid-template-columns: repeat(3, 1fr); }

    /* Exam grid */
    .exam-grid { grid-template-columns: repeat(3, 1fr); }

    /* Header logo small */
    .site-logo { font-size: 20px; }
    .site-tagline { display: none; }

    /* Footer bottom text */
    .footer-bottom p { font-size: 11px; }

    /* Mobile sticky ad close button bigger tap target */
    .ad-sticky-close { width: 36px; height: 22px; top: -22px; font-size: 12px; }
}

/* Touch — better tap targets */
@media (hover: none) {
    .ps-tag,
    .quick-card,
    .cat-footer a {
        -webkit-tap-highlight-color: rgba(255,107,0,.15);
    }
    /* Larger touch areas on small elements */
    .ps-tag { padding: 5px 12px; }
}
/* ============================================================
   CAT-FOOTER — Show More + View All buttons
   ============================================================ */
.cat-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-top: 1px solid rgba(0,0,0,.06);
    background: rgba(0,0,0,.02);
}

/* "Aur Dekho" button */
.lju-show-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1.5px solid var(--gray-200);
    color: var(--gray-600);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
    font-family: inherit;
}
.lju-show-more:hover {
    background: var(--primary-lt);
    border-color: var(--primary);
    color: var(--primary-dk);
}
.lju-show-more[aria-expanded="true"] .smb-icon {
    transform: rotate(180deg);
    display: inline-block;
    transition: transform .2s;
}
.smb-icon { transition: transform .2s; }

/* "Sab Dekho →" link */
.lju-view-all {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    background: var(--navy);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: background .15s, transform .15s;
    white-space: nowrap;
}
.lju-view-all:hover {
    background: var(--primary);
    transform: translateX(2px);
}
.va-arrow {
    transition: transform .15s;
}
.lju-view-all:hover .va-arrow {
    transform: translateX(3px);
}


/* ============================================================
   CAT-FOOTER — NEXT Button only (right aligned)
   ============================================================ */
.cat-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 7px 12px;
    border-top: 1px solid rgba(0,0,0,.07);
    background: rgba(0,0,0,.015);
}
.lju-next-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--navy);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    padding: 5px 16px;
    border-radius: 20px;
    text-decoration: none;
    transition: background .15s, transform .15s;
    border: none;
    cursor: pointer;
}
.lju-next-btn:hover {
    background: var(--primary);
    transform: translateY(-1px);
}
.next-arrow {
    font-size: 10px;
    transition: transform .2s;
}
.lju-next-btn:hover .next-arrow {
    transform: translateY(2px);
}

