/* ============================================================
   GOVT JOBS PAGE
   ============================================================ */

/* ---------- Hero ---------- */
.gov-hero {
  position: relative;
  padding: 56px 0 48px;
  overflow: hidden;
  background: linear-gradient(180deg, #0E5031 0%, #0A6B3F 100%);
  color: var(--paper);
}
.gov-hero-inner {
  position: relative;
  text-align: center;
}
.gov-hero-flag {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -40%);
  width: 120px;
  height: 120px;
  pointer-events: none;
  opacity: 0.18;
}
.gov-flag-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #E60028;
  filter: blur(2px);
}
.gov-eyebrow {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  color: #FFE5C2;
}
.gov-hero-sub {
  color: rgba(255,255,255,0.82);
  font-size: 16px;
  margin: 0 auto 28px;
  max-width: 720px;
  line-height: 1.6;
}
.gov-search { max-width: 720px; margin: 0 auto 32px; }
.gov-hero-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.gov-tile {
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  text-align: left;
}
.gov-tile-num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
body.lang-bn .gov-tile-num { font-family: var(--font-bn); }
.gov-tile-label {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

/* ---------- Category chips ---------- */
.gov-cats {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.gov-cats-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 4px;
}
.gov-cats-scroll::-webkit-scrollbar { height: 6px; }
.gov-cats-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.gov-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 100px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-bn), var(--font-body);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.18s ease;
}
.gov-cat-chip:hover { border-color: #0A6B3F; background: #E8F5EE; }
.gov-cat-chip.is-on { background: #0A6B3F; color: var(--paper); border-color: #0A6B3F; }
.gov-cat-icon { font-size: 16px; line-height: 1; }
.gov-cat-count {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 8px;
  background: var(--line);
  color: var(--ink-3);
  font-weight: 700;
}
.gov-cat-chip.is-on .gov-cat-count { background: var(--asb-orange); color: #fff; }

/* ---------- Tip card ---------- */
.gov-tip-card {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-mist) 0%, #FFF 100%);
  border: 1px solid var(--gold-soft);
  display: flex;
  gap: 12px;
}
.gov-tip-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--asb-orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gov-tip-icon svg { width: 18px; height: 18px; }
.gov-tip-title {
  font-family: var(--font-bn), var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.gov-tip-sub {
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 2px;
}
.gov-tip-link {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-bn), var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-deep);
  text-decoration: none;
}
.gov-tip-link:hover { color: var(--asb-orange); }

/* ---------- Job list ---------- */
.gov-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.gov-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  transition: all 0.22s ease;
}
.gov-card:hover {
  border-color: #0A6B3F;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(10, 107, 63, 0.10);
}
.gov-card.is-featured {
  border-color: var(--gold-soft);
  background: linear-gradient(180deg, #FFFCF5 0%, var(--surface) 100%);
}

/* Head */
.gov-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.gov-card-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: #fff;
  flex-shrink: 0;
}
.gov-card-id { flex: 1; min-width: 0; }
.gov-card-org {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0A6B3F;
  margin-bottom: 4px;
}
.gov-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
body.lang-bn .gov-card-title { font-family: var(--font-bn); font-weight: 700; }

/* Grid */
.gov-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background: var(--paper);
  margin-bottom: 14px;
}
.gov-card-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gov-card-cell-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.gov-card-cell-val {
  font-family: var(--font-bn), var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.gov-card-cell-vacancy {
  font-family: var(--font-mono);
  font-size: 22px;
  color: #0A6B3F;
  letter-spacing: -0.02em;
}

/* Foot */
.gov-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  margin-bottom: 14px;
  gap: 12px;
}
.gov-card-salary { display: flex; flex-direction: column; gap: 2px; }
.gov-card-salary-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.gov-card-salary-num {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}
.gov-card-deadline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--paper);
  border: 1.5px solid var(--line);
}
.gov-deadline-clock { display: flex; }
.gov-deadline-clock svg { width: 22px; height: 22px; }
.gov-deadline-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.gov-deadline-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}
.gov-deadline-normal { color: #0A6B3F; border-color: #BCE5CB; background: #ECF8F0; }
.gov-deadline-warning { color: var(--gold-deep); border-color: var(--gold-soft); background: var(--gold-mist); }
.gov-deadline-critical {
  color: var(--urgent);
  border-color: rgba(178, 53, 79, 0.4);
  background: var(--urgent-soft);
  animation: gov-pulse 2s ease-in-out infinite;
}
@keyframes gov-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(178, 53, 79, 0.3); }
  50% { box-shadow: 0 0 0 6px rgba(178, 53, 79, 0); }
}

/* Actions */
.gov-card-actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
  margin-bottom: 12px;
}
.gov-card-actions .btn { width: 100%; justify-content: center; padding: 11px 16px; font-size: 13px; }
.gov-card-actions .btn-ink svg { width: 14px; height: 14px; }

/* Meta row */
.gov-card-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--ink-3);
}
.gov-card-meta-item { display: inline-flex; align-items: center; gap: 4px; }
.gov-card-meta-item svg { width: 13px; height: 13px; }
.gov-card-meta-item strong { font-family: var(--font-mono); color: var(--ink); font-weight: 700; }
.gov-card-meta-divider { color: var(--ink-soft); }
.gov-card-exam {
  font-weight: 600;
  color: #0A6B3F;
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .gov-hero-tiles { grid-template-columns: repeat(2, 1fr); }
  .gov-card-grid { grid-template-columns: repeat(2, 1fr); }
  .gov-card-foot { flex-direction: column; align-items: flex-start; }
  .gov-card-deadline { width: 100%; justify-content: center; }
  .gov-card-actions { grid-template-columns: 1fr; }
  .gov-card-title { font-size: 17px; }
}
