/*
Theme Name: JobsAlert
Theme URI: https://thejobkart.in
Author: JobsAlert
Author URI: https://thejobkart.in
Description: Professional job notification theme for government and private job alerts. Dark navy and orange color scheme with clean card layout.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jobsalert
Tags: jobs, government, recruitment, result, admit-card
*/

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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f0f2f5;
  color: #1a1a2e;
  font-size: 14px;
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* =====================
   TOP BAR
===================== */
.topbar {
  background: #0d1b2a;
  color: #cdd3da;
  font-size: 12px;
  padding: 5px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: #f4a01c; margin-left: 12px; }
.ticker-wrap { overflow: hidden; white-space: nowrap; flex: 1; margin: 0 20px; }
.ticker { display: inline-block; animation: ticker 35s linear infinite; }
@keyframes ticker {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* =====================
   HEADER
===================== */
.site-header {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a3a5c 100%);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 3px 12px rgba(0,0,0,0.3);
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #f4a01c, #e8880d);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 900; color: #fff;
  box-shadow: 0 3px 8px rgba(244,160,28,0.4);
}
.logo-text h1 { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.logo-text .tagline { font-size: 11px; color: #f4a01c; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }
.header-btns { display: flex; gap: 8px; }
.btn-tg, .btn-wa {
  color: #fff; border: none; padding: 8px 16px;
  border-radius: 6px; font-size: 13px; cursor: pointer; font-weight: 700;
}
.btn-tg { background: #0088cc; }
.btn-wa { background: #25d366; }

/* =====================
   NAVIGATION
===================== */
.main-nav {
  background: #f4a01c;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  box-shadow: 0 2px 8px rgba(244,160,28,0.3);
}
.main-nav a {
  color: #0d1b2a; font-size: 13px; font-weight: 700;
  padding: 13px 14px; display: flex; align-items: center; gap: 5px;
  text-transform: uppercase; letter-spacing: 0.3px;
  transition: background 0.2s;
}
.main-nav a:hover, .main-nav a.current-menu-item { background: #0d1b2a; color: #f4a01c; }
.main-nav .menu-icon { font-size: 14px; }

/* =====================
   ALERT BANNER
===================== */
.alert-banner {
  background: linear-gradient(90deg, #1a3a5c, #0d1b2a);
  color: #fff; text-align: center; padding: 10px 20px;
  font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 15px;
}
.alert-banner span { color: #f4a01c; font-weight: 700; }
.alert-btn {
  padding: 5px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 700; cursor: pointer; border: none;
}
.alert-btn.tg { background: #0088cc; color: #fff; }
.alert-btn.wa { background: #25d366; color: #fff; }

/* =====================
   MAIN LAYOUT
===================== */
.site-container { max-width: 1200px; margin: 0 auto; padding: 20px; }
.content-wrap { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; }

/* =====================
   SECTION HEADINGS
===================== */
.section-heading {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px; margin-top: 18px;
}
.section-heading h2 {
  font-size: 16px; font-weight: 800; color: #0d1b2a;
  text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap;
}
.section-heading .line { flex: 1; height: 2px; background: linear-gradient(90deg, #f4a01c, transparent); }
.section-heading .badge {
  background: #f4a01c; color: #0d1b2a;
  font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 10px;
}

/* =====================
   JOB CARDS GRID
===================== */
.jobs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.job-card {
  background: #fff; border-radius: 10px; padding: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-left: 4px solid #f4a01c;
  transition: transform 0.2s, box-shadow 0.2s;
}
.job-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.12); }
.job-card:nth-child(2) { border-left-color: #1a3a5c; }
.job-card:nth-child(3) { border-left-color: #27ae60; }
.job-card:nth-child(4) { border-left-color: #e74c3c; }
.job-card:nth-child(5) { border-left-color: #8e44ad; }
.job-card:nth-child(6) { border-left-color: #16a085; }
.job-card:nth-child(7) { border-left-color: #0088cc; }
.job-card:nth-child(8) { border-left-color: #e67e22; }
.job-card:nth-child(9) { border-left-color: #2c3e50; }
.job-card-tag {
  display: inline-block; font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 4px; background: #fff3e0; color: #e65100; margin-bottom: 8px;
}
.job-card h3 { font-size: 13px; font-weight: 700; color: #0d1b2a; margin-bottom: 8px; line-height: 1.4; }
.apply-btn {
  display: block; text-align: center; background: #f4a01c; color: #0d1b2a;
  font-size: 11px; font-weight: 800; padding: 5px; border-radius: 5px;
  text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.2s;
}
.apply-btn:hover { background: #0d1b2a; color: #f4a01c; }

/* =====================
   LIST SECTIONS
===================== */
.list-section {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07); margin-bottom: 18px;
}
.list-section-header {
  padding: 11px 16px; font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.list-section-header.result { background: #1a3a5c; color: #fff; }
.list-section-header.admit { background: #27ae60; color: #fff; }
.list-section-header.answer { background: #8e44ad; color: #fff; }
.list-section-header.syllabus { background: #e74c3c; color: #fff; }
.list-section-header.vacancy { background: #e67e22; color: #fff; }
.list-section-header.qualification { background: #16a085; color: #fff; }
.list-section ul li {
  padding: 9px 16px; font-size: 13px; border-bottom: 1px solid #f0f2f5;
  display: flex; align-items: flex-start; gap: 8px; transition: background 0.15s; cursor: pointer;
}
.list-section ul li:hover { background: #fafbfc; }
.list-section ul li::before { content: "▶"; color: #f4a01c; font-size: 9px; margin-top: 3px; flex-shrink: 0; }
.list-section ul li a { color: #0d1b2a; line-height: 1.4; }
.list-section ul li a:hover { color: #f4a01c; }
.new-tag {
  background: #e74c3c; color: #fff; font-size: 9px; font-weight: 800;
  padding: 1px 5px; border-radius: 3px; flex-shrink: 0; margin-top: 2px;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
.view-all {
  display: block; text-align: center; padding: 8px; font-size: 12px; font-weight: 700;
  color: #f4a01c; background: #fafbfc; border-top: 1px solid #f0f2f5;
}
.view-all:hover { background: #fff3e0; }

/* =====================
   SIDEBAR
===================== */
.sidebar { display: flex; flex-direction: column; gap: 16px; }

.quick-links { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.07); }
.quick-links-header { background: #0d1b2a; color: #f4a01c; padding: 11px 16px; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.quick-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #f0f2f5; }
.quick-link-item {
  background: #fff; padding: 12px 8px; text-align: center;
  font-size: 12px; font-weight: 700; display: flex; flex-direction: column; align-items: center; gap: 5px;
  transition: background 0.15s; color: #0d1b2a;
}
.quick-link-item:hover { background: #fff3e0; color: #f4a01c; }
.ql-icon { font-size: 22px; }

.imp-dates { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.07); }
.imp-dates-header { background: #e74c3c; color: #fff; padding: 11px 16px; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.date-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 14px; border-bottom: 1px solid #f0f2f5; font-size: 12px;
}
.date-item .dt-title { color: #0d1b2a; font-weight: 600; flex: 1; }
.date-item .dt-date { color: #e74c3c; font-weight: 800; white-space: nowrap; margin-left: 8px; }

.notice-box {
  background: linear-gradient(135deg, #0d1b2a, #1a3a5c);
  border-radius: 12px; padding: 16px; color: #fff; text-align: center;
}
.notice-box h3 { font-size: 14px; font-weight: 800; margin-bottom: 6px; color: #f4a01c; }
.notice-box p { font-size: 12px; color: #cdd3da; line-height: 1.5; margin-bottom: 12px; }
.notice-box .join-btns { display: flex; gap: 8px; }
.notice-box .join-btns a {
  flex: 1; padding: 9px; border-radius: 7px;
  font-size: 12px; font-weight: 800; text-align: center; color: #fff;
}
.notice-box .join-btns a.tg { background: #0088cc; }
.notice-box .join-btns a.wa { background: #25d366; }

/* =====================
   3-COL BOTTOM
===================== */
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }

/* =====================
   WIDGETS
===================== */
.widget { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.07); margin-bottom: 18px; }
.widget-title {
  background: #1a3a5c; color: #fff; padding: 10px 14px;
  font-size: 13px; font-weight: 800; text-transform: uppercase;
}

/* =====================
   FOOTER
===================== */
.site-footer { background: #0d1b2a; color: #8a9bb0; margin-top: 30px; padding: 30px 20px 16px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px; padding-bottom: 20px; border-bottom: 1px solid #1a3a5c;
}
.footer-brand h3 { color: #f4a01c; font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.footer-brand p { font-size: 13px; line-height: 1.6; }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a { color: #8a9bb0; font-size: 13px; }
.footer-col ul li a:hover { color: #f4a01c; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; margin-top: 16px; flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: #f4a01c; margin-left: 14px; }

/* =====================
   WP ADMIN BAR FIX
===================== */
.admin-bar .site-header { margin-top: 0; }
.admin-bar .topbar { margin-top: 32px; }

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 900px) {
  .content-wrap { grid-template-columns: 1fr; }
  .jobs-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .three-col { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .jobs-grid { grid-template-columns: 1fr; }
  .main-nav a { padding: 10px 10px; font-size: 11px; }
  .site-header { flex-direction: column; gap: 10px; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .quick-links-grid { grid-template-columns: repeat(4, 1fr); }
}
