/*
Theme Name: SarkariJobs GP Child
Template: generatepress
Version: 1.0.2
*/

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&family=Hind:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #c0392b;
  --primary-dark: #96281b;
  --accent: #f39c12;
  --dark: #1a1a2e;
}

body { font-family: 'Hind', sans-serif !important; }
h1,h2,h3,h4,h5,h6 { font-family: 'Baloo 2', sans-serif !important; }

/* Job Cards */
.post-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.post-card-header {
  background: linear-gradient(to right, #c0392b, #96281b);
  padding: 15px;
  color: #fff;
}

.post-card-header h3 {
  margin: 0;
  font-size: 18px;
  color: #fff !important;
}

.post-card-header a {
  color: #fff !important;
  text-decoration: none;
}

.post-card-body {
  padding: 15px;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 15px;
}

.meta-item {
  background: #f4f6f8;
  padding: 10px;
  border-radius: 4px;
}

.meta-item .label {
  font-size: 11px;
  color: #6b7280;
  text-transform: uppercase;
  font-weight: 600;
}

.meta-item .val {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  margin-top: 4px;
}

.meta-item .val.red {
  color: #c0392b;
}

.post-card-footer {
  padding: 12px 15px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag-chip {
  background: #f4f6f8;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  color: #6b7280;
  text-decoration: none;
  border: 1px solid #e5e7eb;
}

.tag-chip:hover {
  background: #fde8e8;
  color: #c0392b;
  border-color: #c0392b;
}

.read-btn {
  margin-left: auto;
  background: #c0392b;
  color: #fff !important;
  padding: 6px 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.read-btn:hover {
  background: #96281b;
}

.job-badge {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 700;
  margin-left: 8px;
}

.badge-hot {
  background: #c0392b;
  color: #fff;
}

.badge-new {
  background: #27ae60;
  color: #fff;
}

/* Single Job */
.quick-info-box {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.quick-info-box h3 {
  color: #f39c12 !important;
  font-size: 14px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.qi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.qi-item {
  background: rgba(255,255,255,0.1);
  padding: 10px;
  border-radius: 4px;
}

.qi-label {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}

.qi-val {
  font-size: 14px;
  font-weight: 700;
  margin-top: 4px;
}

/* Ticker */
.topbar {
  background: #c0392b;
  color: #fff;
  padding: 8px 0;
  font-size: 13px;
}

.ticker-wrap {
  overflow: hidden;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-block;
  animation: scroll 30s linear infinite;
}

@keyframes scroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.ticker-inner a {
  color: #fff;
  margin-right: 40px;
  text-decoration: none;
}

/* Top Notice */
.top-notice {
  background: #f39c12;
  color: #1a1a2e;
  text-align: center;
  padding: 10px;
  font-weight: 600;
  font-size: 13px;
}

/* Hero */
.home-hero {
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  padding: 30px 0;
  margin-bottom: 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-card {
  background: rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: 8px;
  color: #fff;
  text-align: center;
  text-decoration: none !important;
}

.hero-card .count {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
}

.hero-card h3 {
  color: #f39c12 !important;
  font-size: 14px;
  margin: 10px 0;
}

.hero-card p {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .meta-grid { grid-template-columns: 1fr 1fr; }
  .qi-grid { grid-template-columns: 1fr 1fr; }
}
