/*
Theme Name: Govt Jobs
Description: Government job recruitment and vacancy information theme.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GPL v2 or later
Text Domain: govt-jobs
*/

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:     #1a56db;
  --primary-dk:  #1241a8;
  --accent:      #e74c3c;
  --success:     #27ae60;
  --warning:     #f39c12;
  --text:        #1a202c;
  --text-muted:  #6b7280;
  --border:      #e5e7eb;
  --bg:          #f8fafc;
  --white:       #ffffff;
  --card-shadow: 0 2px 8px rgba(0,0,0,.08);
  --radius:      10px;
  --font:        'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ============================================
   LAYOUT
   ============================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.site-main { padding: 32px 0 60px; }
.content-grid { display: grid; grid-template-columns: 1fr 300px; gap: 32px; }
@media (max-width: 900px) { .content-grid { grid-template-columns: 1fr; } }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  background: var(--primary);
  color: var(--white);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.header-inner {position: relative; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.site-logo { font-size: 22px; font-weight: 700; color: var(--white); letter-spacing: -.3px; }
.site-logo:hover { text-decoration: none; opacity: .9; }
.site-logo span { color: #ffd700; }

/* Nav */
.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  color: rgba(255,255,255,.9); font-size: 14px; font-weight: 500;
  padding: 6px 12px; border-radius: 6px; transition: background .2s;
}
.main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,.15); text-decoration: none; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: white; margin: 5px 0; border-radius: 2px; transition: .3s; }

.advt-hd-tp {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .3px;
  max-width: calc(100% - 20px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; flex-direction: column; }
  .main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--primary-dk); padding: 16px 20px; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .advt-hd-tp{ position: static !IMPORTANT;}
}
@media (max-width: 1024px) {
  .advt-hd-tp {
    position: static;
    display: inline-block;
    margin-top: 10px;
    max-width: 100%;
  }
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb-bar { background: var(--white); border-bottom: 1px solid var(--border); padding: 10px 0; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.breadcrumb a { color: var(--primary); }
.breadcrumb .sep { color: var(--border); }

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero { position: relative; width: 100%; overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 100%);
  color: var(--white); padding: 40px 0 32px;
}
.page-hero h1 { font-size: clamp(22px, 4vw, 34px); font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.page-hero .intro { font-size: 15px; opacity: .88;  line-height: 1.7; }
.hero-meta { display: flex; gap: 20px; margin-top: 18px; flex-wrap: wrap; }
.hero-badge {
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  padding: 5px 14px; border-radius: 20px; font-size: 13px; font-weight: 500;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar { background: var(--white); border-bottom: 1px solid var(--border); padding: 14px 0; }
.stats-inner { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-item .num { font-size: 22px; font-weight: 700; color: var(--primary); line-height: 1; }
.stat-item .lbl { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }

/* ============================================
   JOB CARDS
   ============================================ */
.jobs-section { }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.section-title { font-size: 20px; font-weight: 700; color: var(--text); }
.section-title::before { content: ''; display: inline-block; width: 4px; height: 20px; background: var(--primary); border-radius: 2px; margin-right: 10px; vertical-align: middle; }
.jobs-count { font-size: 13px; color: var(--text-muted); background: var(--bg); padding: 4px 10px; border-radius: 20px; border: 1px solid var(--border); }

.jobs-grid { display: flex; flex-direction: column; gap: 14px; }

.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--card-shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
  overflow: hidden;
}
.job-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.1); border-color: var(--primary); }
.job-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--primary); }
.job-card.urgent::before { background: var(--accent); }
.job-card.new::before { background: var(--success); }

.job-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.job-title { font-size: 17px; font-weight: 700; color: var(--text); line-height: 1.35; }
.job-title a { color: inherit; }
.job-title a:hover { color: var(--primary); text-decoration: none; }
.job-badge { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; white-space: nowrap; flex-shrink: 0; }
.badge-new { background: #d1fae5; color: #065f46; }
.badge-urgent { background: #fee2e2; color: #991b1b; }
.badge-open { background: #dbeafe; color: #1e40af; }
.badge-closed { background: #f3f4f6; color: #6b7280; }

.job-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.meta-item { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--text-muted); }
.meta-item svg { flex-shrink: 0; }
.meta-item strong { color: var(--text); font-weight: 600; }

.job-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.last-date { font-size: 13px; }
.last-date .label { color: var(--text-muted); }
.last-date .date { font-weight: 600; color: var(--accent); }
.last-date.safe .date { color: var(--success); }

.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; border: none; transition: .2s; white-space: nowrap; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dk); text-decoration: none; color: white; }
.btn-outline { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; text-decoration: none; }
.btn-sm { padding: 6px 14px; font-size: 12px; }

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar { position: sticky; top: 80px; align-self: start; }
.widget { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; box-shadow: var(--card-shadow); }
.widget-title { font-size: 15px; font-weight: 700; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); color: var(--text); }

/* Filter Widget */
.filter-group { margin-bottom: 16px; }
.filter-label { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.filter-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-tag {
  font-size: 12px; padding: 4px 10px; border-radius: 20px;
  border: 1px solid var(--border); background: var(--bg);
  color: var(--text-muted); cursor: pointer; transition: .2s;
}
.filter-tag:hover, .filter-tag.active { background: var(--primary); color: white; border-color: var(--primary); text-decoration: none; }

/* Quick Links */
.quick-links li { border-bottom: 1px solid var(--border); }
.quick-links li:last-child { border-bottom: none; }
.quick-links a { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; font-size: 13px; color: var(--text); }
.quick-links a:hover { color: var(--primary); text-decoration: none; }
.quick-links .arrow { color: var(--primary); font-size: 16px; }
.quick-links .count-badge { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; font-size: 11px; padding: 1px 7px; color: var(--text-muted); }

/* ============================================
   INTERNAL LINKS / CATEGORY GRID
   ============================================ */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin: 32px 0; }
.cat-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 16px;
  text-align: center; transition: .2s; box-shadow: var(--card-shadow);
}
.cat-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.1); text-decoration: none; }
.cat-card .icon { font-size: 28px; margin-bottom: 8px; }
.cat-card .name { font-size: 14px; font-weight: 600; color: var(--text); }
.cat-card .cnt { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ============================================
   INTERNAL LINKS SECTION
   ============================================ */
.internal-links-section { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-top: 32px; box-shadow: var(--card-shadow); }
.internal-links-section h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.link-grid a { font-size: 13px; color: var(--primary); padding: 6px 10px; background: var(--bg); border-radius: 6px; border: 1px solid var(--border); display: block; }
.link-grid a:hover { background: var(--primary); color: white; border-color: var(--primary); text-decoration: none; }

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section { margin-top: 32px; }
.faq-section h2 { font-size: 22px; font-weight: 700; margin-bottom: 20px; color: var(--text); }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
.faq-question { padding: 16px 20px; font-weight: 600; font-size: 15px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background .2s; }
.faq-question:hover { background: var(--bg); }
.faq-question.open { background: var(--primary); color: white; }
.faq-question .faq-icon { transition: transform .3s; font-size: 18px; }
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s; font-size: 14px; color: var(--text-muted); line-height: 1.8; }
.faq-answer.open { max-height: 300px; padding: 16px 20px; }

/* ============================================
   SINGLE JOB PAGE
   ============================================ */
.job-detail { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--card-shadow); }
.job-detail h1 { font-size: 26px; font-weight: 700; margin-bottom: 20px; color: var(--text); }
.detail-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.detail-table tr:nth-child(even) { background: var(--white); }
.detail-table td { padding: 12px 16px; border: 1px solid var(--border); font-size: 14px; }
.detail-table td:first-child { font-weight: 600; color: var(--text-muted); }
.apply-btn-wrap { margin: 28px 0; text-align: center; }
.apply-btn-wrap .btn { padding: 14px 40px; font-size: 16px; border-radius: 8px; }
.important-dates { background: #fffbeb; border: 1px solid #fcd34d; border-radius: 8px; padding: 16px 20px; margin: 20px 0; }
.important-dates h3 { font-size: 14px; font-weight: 700; color: #92400e; margin-bottom: 10px; }
.important-dates ul li { font-size: 13px; color: #78350f; padding: 4px 0; }

/* ============================================
   PAGINATION
   ============================================ */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 6px;
  font-size: 14px; font-weight: 500; border: 1px solid var(--border);
  background: var(--white); color: var(--text); transition: .2s;
}
.pagination a:hover { background: var(--primary); color: white; border-color: var(--primary); text-decoration: none; }
.pagination .current { background: var(--primary); color: white; border-color: var(--primary); }

/* ============================================
   NO RESULTS
   ============================================ */
.no-results { text-align: center; padding: 60px 20px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); }
.no-results .icon { font-size: 48px; margin-bottom: 16px; }
.no-results h2 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.no-results p { color: var(--text-muted); font-size: 14px; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: #1a202c; color: rgba(255,255,255,.7); padding: 48px 0 24px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { font-size: 13px; margin-top: 10px; line-height: 1.8; max-width: 260px; }
.footer-logo { font-size: 20px; font-weight: 700; color: white; }
.footer-logo span { color: #ffd700; }
.footer-col h4 { color: white; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: rgba(255,255,255,.6); font-size: 13px; }
.footer-col ul a:hover { color: white; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; font-size: 12px; gap: 12px; }
.footer-bottom a { color: rgba(255,255,255,.5); }

/* ============================================
   NOTICE BAR
   ============================================ */
.notice-bar { background: var(--warning); padding: 8px 0; overflow: hidden; }
.ticker-wrap { overflow: hidden; position: relative; }
.ticker { display: flex; animation: ticker 40s linear infinite; white-space: nowrap; }
.ticker:hover { animation-play-state: paused; }
.ticker-item { font-size: 13px; font-weight: 500; color: var(--text); padding: 0 40px; }
.ticker-item a { color: var(--text); font-weight: 700; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.hidden { display: none !important; }
.loading { opacity: .5; pointer-events: none; }

/* ── Structured Post Section Headings ── */
.section-heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    background: #eff6ff;
    border-left: 4px solid var(--primary);
    padding: 10px 14px;
    margin: 0 0 0 0;
    border-radius: 0 6px 6px 0;
}
.detail-section {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}
.detail-section .section-heading {
    border-radius: 0;
    border-left: 4px solid var(--primary);
}
.detail-section .detail-table {
    border-top: none;
}

/* ── FAQ Accordion ── */
.faq-section .section-heading { border-radius: 8px 8px 0 0; }
.faq-item:last-child { border-bottom: none !important; }
.faq-question:hover { background: #1241a8 !important; }
.faq-question:hover .faq-icon { transform: scale(1.1); }
.faq-answer { border-top: 1px solid var(--border); background: #fafafa; }

/* ── Comments Section ── */
.comments-section .section-heading { border-radius: 8px 8px 0 0; }
.comments-section .comment-list { list-style: none; padding: 0; margin: 0 0 24px; }
.comments-section .comment { padding: 16px 0; border-bottom: 1px solid var(--border); }
.comments-section .comment:last-child { border-bottom: none; }
.comments-section .comment-author { font-weight: 700; color: var(--heading); font-size: 14px; }
.comments-section .comment-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.comments-section .comment-content p { font-size: 14px; line-height: 1.7; margin: 0; }
.comments-section #respond { margin-top: 24px; }
.comments-section #respond h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; color: var(--heading); }
.comments-section .comment-form input[type="text"],
.comments-section .comment-form input[type="email"],
.comments-section .comment-form input[type="url"],
.comments-section .comment-form textarea {
    width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 6px;
    font-size: 14px; font-family: inherit; margin-bottom: 12px; background: #fff;
    transition: border-color .2s;
}
.comments-section .comment-form input:focus,
.comments-section .comment-form textarea:focus { outline: none; border-color: var(--primary); }
.comments-section .comment-form textarea { min-height: 100px; resize: vertical; }
.comments-section .comment-form-comment label,
.comments-section .comment-form-author label,
.comments-section .comment-form-email label { font-size: 13px; font-weight: 600; display: block; margin-bottom: 4px; }
.comments-section #submit {
    background: var(--primary); color: #fff; border: none; padding: 12px 28px;
    border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; transition: .2s;
}
.comments-section #submit:hover { background: var(--primary-dark, #1d4ed8); }

/* ── FAQ accordion hidden state (ensure [hidden] works even if CSS overrides display) ── */
.faq-ans[hidden] { display: none !important; }
.faq-ans:not([hidden]) { display: block !important; }
.faq-q:hover { background: #f0f7ff !important; }


/* ════════════════════════════════════════════════
   JOB TABLE — matches screenshot design
   Columns: Organization | Posts | Post Name | Qualification | Deadline | Details
   ════════════════════════════════════════════════ */

.jobs-table-wrap {
    margin-bottom: 24px;
    border: 1px solid #b8cfe8;
    border-radius: 6px;
    overflow: hidden;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.jobs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    background: #fff;
}

/* ── Header row — light steel-blue matching screenshot ── */
.jobs-table thead tr {
    background: #cfe0f3;
}
.jobs-table thead th {
    padding: 10px 12px;
    font-weight: 600;
    font-size: 13px;
    color: #1a2e4a;
    text-align: left;
    border-bottom: 1px solid #b0c9e4;
    border-right: 1px solid #b0c9e4;
    white-space: nowrap;
}
.jobs-table thead th:last-child { border-right: none; }

/* ── Column width hints ── */
.jth-org    { width: 13%; }
.jth-posts  { width: 7%; text-align: center !important; }
.jth-post   { width: 18%; }
.jth-qual   { width: 33%; }
.jth-date   { width: 14%; text-align: center !important; }
.jth-action { width: 10%; text-align: center !important; }

/* ── Data rows ── */
.job-table-row {
    border-bottom: 1px solid #d8e8f5;
    background: #fff;
    transition: background .12s;
}
.job-table-row:last-child { border-bottom: none; }
.job-table-row:hover { background: #f0f7ff; }

.job-table-row td {
    padding: 10px 12px;
    vertical-align: middle;
    color: #2d3748;
    border-right: 1px solid #e8f0f8;
    font-size: 13.5px;
    line-height: 1.45;
}
.job-table-row td:last-child { border-right: none; }

/* Organization — blue link, bold */
.jt-org { white-space: nowrap; }
.jt-org-link {
    color: #1a56db;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
}
.jt-org-link:hover { text-decoration: underline; }

/* Posts — centered number */
.jt-posts {
    text-align: center;
    font-weight: 700;
    color: #1a2e4a;
    font-size: 14px;
}

/* Post Name — normal weight */
.jt-post {
    color: #2d3748;
    font-size: 13px;
}

/* Qualification — slightly muted, wraps */
.jt-qual {
    color: #374151;
    font-size: 13px;
}

/* Deadline — green/amber coloured, centered */
.jt-date { text-align: center; }

/* Details — plain blue link */
.jt-action { text-align: center; }
.jt-detail-link {
    color: #1a56db;
    font-weight: 500;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
}
.jt-detail-link:hover { text-decoration: underline; }

/* ── Mobile: stack as labelled cards ── */
@media (max-width: 680px) {
    .jobs-table-wrap { border-radius: 0; border-left: none; border-right: none; }
    .jobs-table thead { display: none; }
    .jobs-table, .jobs-table tbody, .job-table-row, .job-table-row td { display: block; width: 100%; box-sizing: border-box; }
    .job-table-row { border: 1px solid #d0e4f5; border-radius: 8px; margin-bottom: 10px; }
    .job-table-row td {
        display: flex; align-items: flex-start; gap: 10px;
        padding: 9px 14px; border-bottom: 1px solid #e8f0f8; border-right: none;
        text-align: left !important;
    }
    .job-table-row td:last-child { border-bottom: none; }
    .job-table-row td::before {
        content: attr(data-label);
        font-weight: 700; font-size: 11px; color: #6b7280;
        min-width: 100px; text-transform: uppercase; letter-spacing: .4px; padding-top: 2px; flex-shrink: 0;
    }
}
/* ──────────────────────────────────────────────
   COMBINED STYLES — card
   ────────────────────────────────────────────── */

/* ════════════════════════════════
   CATEGORY PAGE — CARD DESIGN
   ════════════════════════════════ */
.gjs-job-cards-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.gjs-job-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: start;
    background: #ffffff;
    border: 0.5px solid #e5e5e5;
    border-radius: 12px;
    padding: 14px 18px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.gjs-job-card:hover {
    border-color: #b5b5b5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.gjs-jc-left {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
}
.gjs-jc-org-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.gjs-jc-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    flex-shrink: 0;
    text-transform: uppercase;
}
.gjs-jc-org-name {
    font-size: 14px;
    font-weight: 600;
    color: #111111;
    text-decoration: none;
    line-height: 1.3;
}
.gjs-jc-org-name:hover { text-decoration: underline; }
.gjs-jc-dept {
    font-size: 11px;
    color: #888888;
    margin-top: 2px;
    line-height: 1.3;
}
.gjs-jc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.gjs-jc-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    padding: 3px 9px;
    border-radius: 20px;
    white-space: nowrap;
}
.gjs-jc-pill svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}
.gjs-pill-posts    { background: #eaf3de; color: #27500a; }
.gjs-pill-postname { background: #eeedfe; color: #3c3489; white-space:normal; display:none; }
.gjs-pill-qual     { background: #f3f3f3; color: #555555; }
.gjs-jc-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 9px;
    flex-shrink: 0;
}
.gjs-jc-date-block { text-align: right; }
.gjs-jc-date-eyebrow {
    font-size: 10px;
    color: #aaaaaa;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1;
}
.gjs-jc-date-value {
    font-size: 13.5px;
    font-weight: 700;
    margin-top: 3px;
    line-height: 1;
}
.gjs-jc-days-label {
    font-size: 11px;
    margin-top: 3px;
    line-height: 1;
}
.gjs-color-green { color: #16a34a; }
.gjs-color-amber { color: #d97706; }
.gjs-color-red   { color: #c0392b; }
.gjs-jc-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 6px;
    border: 0.5px solid #d0d0d0;
    background: #1a56db;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.12s ease;
    cursor: pointer;
}
.gjs-jc-detail-btn:hover {
    background: #f5f5f5;
    border-color: #aaaaaa;
    color: #111111;
    text-decoration: none;
}
.gjs-jc-detail-btn svg {
    width: 13px;
    height: 13px;
}

@media ( max-width: 540px ) {
    .gjs-job-card { grid-template-columns: 1fr; }
    .gjs-jc-right {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .gjs-jc-date-block { text-align: left; }
}


.menu-title{
    display:flex;
    align-items:center;
    gap:8px;
}
.menu-icon{
    width:18px;
    height:18px;
    display:inline-block;
    vertical-align:middle;
    fill:currentColor;
    flex-shrink:0;
}





