/*
Theme Name: JobsGuide
Theme URI: https://www.jobsguide.in
Author: JobsGuide
Author URI: https://www.jobsguide.in
Description: A fast, clean WordPress theme for sarkari government jobs notification websites. Inspired by popular sarkari result sites. Includes job listings, important dates, admit cards, results sections. Optimized for speed and Google AdSense.
Version: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jobsguide
Tags: news, blog, government, jobs, india, sarkari, adsense-ready
*/

/* =====================================================
   CSS CUSTOM PROPERTIES
   ===================================================== */
:root {
    --primary:      #cc0000;
    --primary-dark: #880000;
    --secondary:    #003380;
    --accent:       #ff6600;
    --text:         #222222;
    --text-light:   #666666;
    --border:       #dddddd;
    --bg:           #f4f4f4;
    --white:        #ffffff;
    --link:         #cc0000;
    --font:         Arial, 'Helvetica Neue', sans-serif;
    --radius:       4px;
    --shadow:       0 2px 8px rgba(0,0,0,0.1);
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    margin: 0;
    padding: 0;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4,h5,h6 { margin: 0 0 10px; line-height: 1.3; }

/* =====================================================
   TOP BAR
   ===================================================== */
.jg-topbar {
    background: #111;
    color: #ccc;
    font-size: 12px;
    padding: 5px 0;
    border-bottom: 2px solid var(--primary);
}
.jg-topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.jg-topbar a { color: #aaa; }
.jg-topbar a:hover { color: #fff; text-decoration: none; }
.jg-topbar-links { display: flex; gap: 14px; }

/* =====================================================
   HEADER
   ===================================================== */
.jg-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 0;
    box-shadow: 0 4px 16px rgba(200,0,0,0.3);
}
.jg-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    flex-wrap: wrap;
    gap: 12px;
}
.jg-site-branding { display: flex; align-items: center; gap: 14px; }
.jg-site-icon {
    width: 56px; height: 56px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; font-weight: 900;
    color: #fff;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.3);
    flex-shrink: 0;
}
.jg-site-name { font-size: 26px; font-weight: 900; color: #fff; display: block; letter-spacing: 0.5px; }
.jg-site-tagline { font-size: 12px; color: rgba(255,255,255,0.7); display: block; margin-top: -2px; }
.jg-header-social { display: flex; gap: 10px; }
.jg-header-social a {
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.2s;
}
.jg-header-social a:hover { background: rgba(255,255,255,0.3); text-decoration: none; }
.jg-header-social .wa-btn { background: rgba(37,211,102,0.5); }
.jg-header-social .tg-btn { background: rgba(0,136,204,0.5); }

/* =====================================================
   NAVIGATION
   ===================================================== */
.jg-nav { background: var(--secondary); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,51,0.3); }
.jg-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.jg-nav ul li { position: relative; }
.jg-nav ul li a {
    display: block;
    color: #fff;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s;
    white-space: nowrap;
}
.jg-nav ul li a:hover, .jg-nav ul li.current-menu-item > a { background: var(--primary); text-decoration: none; }
.jg-nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--secondary);
    min-width: 200px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    z-index: 200;
}
.jg-nav ul li:hover > ul { display: block; }
.jg-nav ul li ul li a { padding: 10px 18px; font-size: 12px; border-bottom: 1px solid rgba(255,255,255,0.08); }

/* Mobile menu toggle */
.jg-menu-toggle {
    display: none;
    background: none;
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
    padding: 7px 14px;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    margin: 8px 0;
}

/* =====================================================
   CONTAINER & LAYOUT
   ===================================================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.jg-main-layout { display: grid; grid-template-columns: 1fr 300px; gap: 22px; padding: 22px 0; }
@media (max-width: 900px) { .jg-main-layout { grid-template-columns: 1fr; } }
.jg-content-area {}
.jg-sidebar {}

/* =====================================================
   SECTION HEADERS
   ===================================================== */
.jg-section-head {
    background: var(--primary);
    color: #fff;
    padding: 9px 16px;
    font-size: 15px;
    font-weight: 700;
    border-left: 5px solid var(--primary-dark);
    margin: 0 0 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.jg-section-head a { color: rgba(255,255,255,0.8); font-size: 12px; font-weight: 400; }
.jg-section-head a:hover { color: #fff; text-decoration: none; }

/* =====================================================
   JOB LISTING TABLE
   ===================================================== */
.jg-job-table-wrap {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 22px;
}
.jg-job-table { width: 100%; border-collapse: collapse; }
.jg-job-table thead th {
    background: var(--secondary);
    color: #fff;
    padding: 10px 14px;
    font-size: 13px;
    text-align: left;
    font-weight: 700;
}
.jg-job-table tbody tr { border-bottom: 1px solid #f0f0f0; transition: background 0.15s; }
.jg-job-table tbody tr:hover { background: #fff8f8; }
.jg-job-table tbody td { padding: 9px 14px; font-size: 13px; vertical-align: top; }
.jg-job-table .col-name { font-weight: 600; }
.jg-job-table .col-name a { color: var(--text); }
.jg-job-table .col-name a:hover { color: var(--primary); text-decoration: none; }
.jg-badge {
    display: inline-block;
    background: #e8f4ff;
    color: var(--secondary);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
    margin-top: 3px;
    border: 1px solid #c5deff;
}
.jg-badge-new { background: #fff0f0; color: var(--primary); border-color: #ffcccc; }
.jg-badge-hot { background: #fff3e0; color: #e65100; border-color: #ffcc80; }
.jg-new-label { color: var(--primary); font-weight: 900; font-size: 11px; animation: jg-blink 1s infinite; }
@keyframes jg-blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* =====================================================
   POST CARD GRID
   ===================================================== */
.jg-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-bottom: 22px; }
.jg-post-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.jg-post-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.jg-post-card-thumb { height: 160px; overflow: hidden; background: linear-gradient(135deg, var(--secondary), var(--primary)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 32px; }
.jg-post-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.jg-post-card-body { padding: 14px; }
.jg-post-card-cat { font-size: 11px; color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.jg-post-card-title { font-size: 14px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.jg-post-card-title a { color: var(--text); }
.jg-post-card-title a:hover { color: var(--primary); text-decoration: none; }
.jg-post-card-meta { font-size: 12px; color: var(--text-light); }
.jg-post-card-meta span { margin-right: 10px; }

/* =====================================================
   SINGLE POST
   ===================================================== */
.jg-single-post {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 22px;
}
.jg-single-header { padding: 20px 22px 14px; border-bottom: 2px solid #f5f5f5; }
.jg-single-header h1 { font-size: 22px; color: var(--text); margin-bottom: 8px; }
.jg-post-meta { font-size: 12px; color: var(--text-light); display: flex; flex-wrap: wrap; gap: 14px; }
.jg-post-meta span { display: flex; align-items: center; gap: 4px; }
.jg-single-content { padding: 20px 22px; }
.jg-single-content p { margin-bottom: 12px; }
.jg-single-content h2 { background: var(--primary); color: #fff; padding: 9px 14px; margin: 20px -22px 12px; font-size: 16px; border-left: 5px solid var(--primary-dark); }
.jg-single-content h3 { background: var(--secondary); color: #fff; padding: 7px 12px; margin: 14px 0 8px; font-size: 14px; }
.jg-single-content h4 { background: #444; color: #fff; padding: 6px 12px; margin: 12px 0 6px; font-size: 13px; text-align: center; text-transform: uppercase; letter-spacing: 1px; }
.jg-single-content table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 14px; }
.jg-single-content table td, .jg-single-content table th { border: 1px solid #ccc; padding: 8px 12px; text-align: left; vertical-align: top; }
.jg-single-content table th { background: var(--secondary); color: #fff; }
.jg-single-content table tr:nth-child(even) td { background: #f8f8f8; }
.jg-single-content ul, .jg-single-content ol { padding-left: 20px; margin: 8px 0; }
.jg-single-content li { margin: 5px 0; }
.jg-single-content a { color: var(--primary); }
.jg-single-content a:hover { text-decoration: underline; }

/* Social share */
.jg-social-share {
    background: #f9f9f9;
    border-top: 1px solid var(--border);
    padding: 14px 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.jg-social-share span { font-size: 13px; font-weight: 700; color: #555; }
.jg-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}
.jg-share-btn:hover { opacity: 0.85; text-decoration: none; color: #fff; }
.jg-share-wa { background: #25D366; }
.jg-share-tg { background: #0088cc; }

/* =====================================================
   SIDEBAR
   ===================================================== */
.jg-widget {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 20px;
}
.jg-widget-title {
    background: var(--secondary);
    color: #fff;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 700;
    border-left: 4px solid var(--primary);
}
.jg-widget-body { padding: 12px 14px; }

/* Sidebar latest list */
.jg-sidebar-list { list-style: none; margin: 0; padding: 0; }
.jg-sidebar-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
    line-height: 1.4;
}
.jg-sidebar-list li:last-child { border-bottom: none; }
.jg-sidebar-list li a { color: var(--text); font-weight: 600; }
.jg-sidebar-list li a:hover { color: var(--primary); text-decoration: none; }
.jg-sidebar-list .jg-date { color: #999; font-size: 11px; display: block; margin-top: 2px; }

/* AdSense placeholder in sidebar */
.jg-ad-box {
    background: #f9f9f9;
    border: 1px dashed #ccc;
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
    color: #aaa;
    font-size: 12px;
    margin-bottom: 20px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* =====================================================
   HOMEPAGE HERO
   ===================================================== */
.jg-hero-notice {
    background: linear-gradient(135deg, #003380, #001a55);
    color: #fff;
    padding: 12px 0;
    overflow: hidden;
    border-bottom: 3px solid var(--primary);
}
.jg-ticker-wrap { display: flex; align-items: center; gap: 14px; }
.jg-ticker-label {
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
    border-radius: 3px;
    flex-shrink: 0;
}
.jg-ticker-inner {
    overflow: hidden;
    flex: 1;
}
.jg-ticker-track {
    display: flex;
    gap: 40px;
    animation: jg-ticker 30s linear infinite;
    white-space: nowrap;
}
.jg-ticker-track:hover { animation-play-state: paused; }
@keyframes jg-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.jg-ticker-track a { color: rgba(255,255,255,0.9); font-size: 13px; text-decoration: none; }
.jg-ticker-track a:hover { color: #fff; }

/* Category tabs */
.jg-cat-tabs {
    display: flex;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
    margin-bottom: 0;
    box-shadow: var(--shadow);
    flex-wrap: wrap;
}
.jg-cat-tab {
    padding: 11px 18px;
    font-size: 13px;
    font-weight: 700;
    color: #555;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}
.jg-cat-tab:hover, .jg-cat-tab.active { color: var(--primary); border-bottom-color: var(--primary); background: #fff8f8; }

/* =====================================================
   PAGINATION
   ===================================================== */
.jg-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 20px 0;
    flex-wrap: wrap;
}
.jg-pagination a, .jg-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 700;
    border: 1px solid var(--border);
    color: var(--text);
    background: var(--white);
    transition: all 0.2s;
}
.jg-pagination a:hover, .jg-pagination .current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    text-decoration: none;
}

/* =====================================================
   FOOTER
   ===================================================== */
.jg-footer {
    background: #111;
    color: #ccc;
    padding: 40px 0 0;
    margin-top: 30px;
    border-top: 4px solid var(--primary);
}
.jg-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; margin-bottom: 28px; }
.jg-footer-widget h4 { color: #fff; font-size: 15px; margin-bottom: 14px; border-bottom: 2px solid var(--primary); padding-bottom: 8px; }
.jg-footer-widget ul { list-style: none; margin: 0; padding: 0; }
.jg-footer-widget ul li { padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 13px; }
.jg-footer-widget ul li a { color: #aaa; }
.jg-footer-widget ul li a:hover { color: #fff; text-decoration: none; }
.jg-footer-widget p { font-size: 13px; line-height: 1.7; }
.jg-footer-bottom {
    background: #000;
    padding: 14px 0;
    text-align: center;
    font-size: 12px;
    color: #666;
    border-top: 1px solid #222;
}
.jg-footer-bottom a { color: #888; }
.jg-footer-bottom a:hover { color: #fff; text-decoration: none; }
.jg-footer-bottom-links { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 6px; }

/* =====================================================
   BREADCRUMB
   ===================================================== */
.jg-breadcrumb {
    background: var(--white);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
    color: #888;
}
.jg-breadcrumb a { color: var(--secondary); }
.jg-breadcrumb span { margin: 0 6px; color: #ccc; }

/* =====================================================
   SEARCH
   ===================================================== */
.jg-search-form { display: flex; gap: 0; }
.jg-search-input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid var(--border);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    font-size: 14px;
    outline: none;
}
.jg-search-input:focus { border-color: var(--primary); }
.jg-search-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
}
.jg-search-btn:hover { background: var(--primary-dark); }

/* =====================================================
   UTILITIES
   ===================================================== */
.jg-new { color: var(--primary); font-weight: 900; font-size: 11px; }
.text-center { text-align: center; }
.jg-tag { background: var(--primary); color: #fff; font-size: 11px; padding: 2px 7px; border-radius: 3px; font-weight: 700; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {
    .jg-nav ul { display: none; }
    .jg-nav ul.open { display: flex; flex-direction: column; }
    .jg-menu-toggle { display: block; }
    .jg-header-social { display: none; }
    .jg-single-content h2 { margin: 20px 0 12px; }
    .jg-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .jg-site-name { font-size: 20px; }
    .jg-footer-grid { grid-template-columns: 1fr; }
    .jg-post-grid { grid-template-columns: 1fr; }
    .jg-job-table thead { display: none; }
    .jg-job-table tbody td { display: block; padding: 5px 12px; }
    .jg-job-table tbody tr { margin-bottom: 10px; border: 1px solid var(--border); border-radius: var(--radius); display: block; }
}

/* =====================================================
   QUICK LINKS GRID (sarkariresult style)
   ===================================================== */
.jg-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 18px 0;
}
@media (max-width: 768px) { .jg-quick-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .jg-quick-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; } }

.jg-quick-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px 10px;
    border-radius: 6px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
    text-decoration: none;
    min-height: 70px;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.jg-quick-box:hover { opacity: 0.9; transform: translateY(-2px); text-decoration: none; color: #fff; }
.jg-quick-box small { font-size: 11px; font-weight: 400; opacity: 0.85; margin-top: 4px; }

/* =====================================================
   3-COLUMN SECTION (Results | Admit Cards | Latest Jobs)
   ===================================================== */
.jg-three-col-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 22px 0;
}
@media (max-width: 768px) { .jg-three-col-section { grid-template-columns: 1fr; } }

.jg-col-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.jg-col-head {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 11px 14px;
    text-align: center;
}
.jg-col-list {
    list-style: none;
    margin: 0;
    padding: 6px 0;
}
.jg-col-list li {
    padding: 7px 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}
.jg-col-list li:last-child { border-bottom: none; }
.jg-col-list li::before { content: "•"; color: var(--primary); font-weight: 900; flex-shrink: 0; margin-top: 1px; }
.jg-col-list li a { color: #003380; font-weight: 500; }
.jg-col-list li a:hover { color: var(--primary); text-decoration: none; }
.jg-col-more {
    text-align: center;
    padding: 10px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}
.jg-col-more a { font-size: 12px; color: var(--primary); font-weight: 700; }

/* Inline NEW badge */
.jg-inline-new {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 9px;
    padding: 1px 5px;
    border-radius: 3px;
    font-weight: 900;
    flex-shrink: 0;
    animation: jg-blink 1s infinite;
    margin-left: 4px;
}

/* =====================================================
   COLORFUL CATEGORY BOXES (8 boxes grid)
   ===================================================== */
.jg-cat-boxes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 18px 0 26px;
}
@media (max-width: 900px) { .jg-cat-boxes-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .jg-cat-boxes-grid { grid-template-columns: repeat(2,1fr); gap: 8px; } }

.jg-cat-box {
    display: flex;
    flex-direction: column;
    background: linear-gradient(160deg, var(--box-color), var(--box-dark));
    border-radius: 10px;
    padding: 14px 14px 12px;
    text-decoration: none;
    color: #fff;
    min-height: 110px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    border-bottom: 4px solid rgba(0,0,0,0.25);
    transition: transform 0.22s, box-shadow 0.22s;
}
.jg-cat-box::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 100px; height: 100px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    pointer-events: none;
}
.jg-cat-box::after {
    content: '';
    position: absolute;
    bottom: -40px; left: -20px;
    width: 80px; height: 80px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    pointer-events: none;
}
.jg-cat-box:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.28);
    text-decoration: none;
    color: #fff;
}

.jg-cat-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.jg-cat-box-name {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.3px;
    line-height: 1.2;
}
.jg-cat-box-count {
    background: rgba(255,255,255,0.2);
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.jg-cat-box-post {
    flex: 1;
    position: relative;
}
.jg-box-new {
    background: #fff;
    color: #cc0000;
    font-size: 9px;
    font-weight: 900;
    padding: 1px 6px;
    border-radius: 3px;
    margin-right: 5px;
    vertical-align: middle;
    display: inline-block;
    margin-bottom: 3px;
    animation: jg-blink 1.2s infinite;
}
.jg-cat-box-title {
    font-size: 12.5px;
    line-height: 1.45;
    opacity: 0.92;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jg-cat-box-arrow {
    margin-top: 10px;
    font-size: 11px;
    font-weight: 700;
    opacity: 0.75;
    letter-spacing: 0.3px;
    text-align: right;
}

/* =====================================================
   3 LONG COLUMNS (Admit Card | Results | Latest Jobs)
   ===================================================== */
.jg-three-long-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0 0 26px;
}
@media (max-width: 768px) { .jg-three-long-cols { grid-template-columns: 1fr; } }

.jg-long-col {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.jg-long-col-head {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    padding: 13px 16px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}
.jg-long-col-head::after {
    content: '';
    position: absolute;
    bottom: 0; left: 20%; right: 20%;
    height: 2px;
    background: rgba(255,255,255,0.25);
}

.jg-long-col-body {
    flex: 1;
    padding: 0;
}

.jg-long-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.jg-long-list li {
    padding: 9px 14px;
    border-bottom: 1px solid #f2f4f8;
    font-size: 13px;
    line-height: 1.4;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 4px;
    transition: background 0.15s, padding-left 0.15s;
    cursor: pointer;
}
.jg-long-list li:hover {
    background: #fff8f8;
    padding-left: 18px;
}
.jg-long-list li::before {
    content: '▸';
    color: #cc0000;
    font-size: 10px;
    flex-shrink: 0;
    margin-top: 2px;
    font-weight: 900;
}
.jg-long-list li a {
    color: #1a1a2e;
    font-weight: 600;
    flex: 1;
    transition: color 0.15s;
    text-decoration: none;
}
.jg-long-list li a:hover {
    color: #cc0000;
}
.jg-list-date {
    display: block;
    width: 100%;
    font-size: 10.5px;
    color: #aaa;
    margin-top: 2px;
    padding-left: 14px;
}

.jg-long-col-footer {
    padding: 10px 14px;
    text-align: center;
    background: #f8f9ff;
    border-top: 1px solid #edf0f8;
    margin-top: auto;
}
.jg-long-col-footer a {
    font-size: 12px;
    color: #001f5e;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color 0.15s;
}
.jg-long-col-footer a:hover { color: #cc0000; }

.jg-no-posts {
    padding: 20px;
    color: #aaa;
    font-size: 13px;
    text-align: center;
}

/* Inline NEW badge override */
.jg-inline-new {
    background: #cc0000;
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    padding: 2px 5px;
    border-radius: 3px;
    flex-shrink: 0;
    letter-spacing: 0.5px;
    animation: jg-blink 1.2s infinite;
}
