/* ===========================================================
   GOVT JOB NEWS — ADVANCED HOMEPAGE STYLES
   Information-Dense, Utility-First, No Hero
   Mobile-Optimized, SarkariResult-Inspired Layout
   =========================================================== */

/* ---- Reveal Animations ---- */
.reveal-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.revealed { opacity: 1; transform: translateY(0); }

/* ============================================
   TICKER (Breaking News Strip)
   ============================================ */
.hp-ticker {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 2px solid #fbbf24;
}
.hp-ticker-inner { display: flex; align-items: center; gap: 0; height: 38px; }
.ticker-label {
  background: #fbbf24; color: #7f1d1d;
  padding: 0 16px; height: 100%; display: flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px;
  flex-shrink: 0; white-space: nowrap;
}
.ticker-track { overflow: hidden; flex: 1; margin-left: 12px; }
.ticker-scroll {
  display: inline-block;
  animation: tickerScroll 45s linear infinite;
  color: #fff; font-size: 0.85rem; font-weight: 600;
}
.ticker-scroll a { color: #fef08a; text-decoration: none; margin: 0 6px; }
.ticker-scroll a:hover { text-decoration: underline; color: #fff; }
.ticker-scroll .sep { color: rgba(255,255,255,0.35); margin: 0 14px; }
@keyframes tickerScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ============================================
   CLOSING SOON ALERT
   ============================================ */
.closing-alert {
  background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 50%, #b91c1c 100%);
  border-bottom: 2px solid #fbbf24;
}
.closing-inner {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.closing-icon {
  background: #fbbf24; color: #7f1d1d;
  padding: 5px 14px; border-radius: 6px;
  font-size: 0.78rem; font-weight: 800;
  display: flex; align-items: center; gap: 6px;
  flex-shrink: 0; white-space: nowrap;
}
.closing-links { display: flex; gap: 8px; flex: 1; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cl-item {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  padding: 5px 14px; border-radius: 6px;
  text-decoration: none; white-space: nowrap; flex-shrink: 0;
  transition: all 0.2s;
}
.cl-item:hover { background: rgba(255,255,255,0.2); text-decoration: none; }
.cl-name { color: #fff; font-size: 0.82rem; font-weight: 600; }
.cl-days {
  background: #fbbf24; color: #7f1d1d;
  padding: 1px 8px; border-radius: 4px;
  font-size: 0.7rem; font-weight: 800;
}
.cl-critical .cl-days { background: #fff; color: #dc2626; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0.4; } }

/* ============================================
   QUICK ACCESS BAR
   ============================================ */
.quick-bar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.qbar-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.qbar-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-decoration: none; color: var(--text-primary);
  padding: 10px 6px; border-radius: 10px;
  font-size: 0.8rem; font-weight: 600;
  transition: all 0.2s; text-align: center;
}
.qbar-item:hover { background: #f1f5f9; transform: translateY(-2px); text-decoration: none; color: var(--text-primary); }
.qbar-ic {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: transform 0.2s;
}
.qbar-item:hover .qbar-ic { transform: scale(1.1); }
.ic-fire { background: #fef2f2; color: #dc2626; }
.ic-green { background: #f0fdf4; color: #16a34a; }
.ic-amber { background: #fef3c7; color: #d97706; }
.ic-purple { background: #f5f3ff; color: #7c3aed; }
.ic-teal { background: #f0fdfa; color: #0d9488; }
.ic-rose { background: #fdf2f8; color: #db2777; }

/* ============================================
   LIVE STATS STRIP
   ============================================ */
.stats-strip {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 16px 0;
  border-bottom: 3px solid #FF8533;
}
.stats-row {
  display: flex; align-items: center; justify-content: center;
  gap: 0;
}
.stat-box {
  text-align: center; padding: 8px 24px; flex: 1;
}
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.1); flex-shrink: 0; }
.stat-num { font-size: 1.5rem; font-weight: 900; color: #ffb380; line-height: 1; }
.stat-num.green { color: #4ade80; }
.stat-num.red { color: #f87171; }
.stat-num.amber { color: #fbbf24; }
.stat-num.purple { color: #c084fc; }
.stat-lbl { font-size: 0.7rem; color: #94a3b8; font-weight: 600; margin-top: 3px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ============================================
   MAIN CONTENT (Single Column — No Sidebar)
   ============================================ */
.hp-main { padding: 24px 0 10px; }

/* ============================================
   CATEGORY STRIP (Horizontal Pills — replaces sidebar categories)
   ============================================ */
.cat-strip {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  padding: 16px;
}
.cat-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.cat-pill {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  text-decoration: none; color: inherit;
  transition: all 0.2s;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
}
.cat-pill:hover { border-color: #FF8533; background: #fff3e6; text-decoration: none; color: inherit; }
.cat-ic {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0;
}
.cat-ic.rail { background: #fff3e6; color: #FF6B00; }
.cat-ic.bank { background: #d1fae5; color: #059669; }
.cat-ic.def { background: #fef3c7; color: #d97706; }
.cat-ic.ssc { background: #ede9fe; color: #7c3aed; }
.cat-ic.teach { background: #fce7f3; color: #db2777; }
.cat-ic.state { background: #e0f2fe; color: #0284c7; }
.cat-ic.psu { background: #fef2f2; color: #dc2626; }
.cat-ic.upsc { background: #f0fdf4; color: #16a34a; }
.cat-info { display: flex; flex-direction: column; min-width: 0; }
.cat-info strong { font-size: 0.82rem; font-weight: 700; color: var(--text-primary); line-height: 1.2; }
.cat-info em { font-style: normal; font-size: 0.7rem; color: var(--text-muted); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-strip-all {
  display: block; text-align: center;
  padding: 10px; margin-top: 12px;
  border: 1px solid #FF8533; border-radius: 8px;
  color: #FF8533; font-size: 0.82rem; font-weight: 700;
  text-decoration: none; transition: all 0.2s;
}
.cat-strip-all:hover { background: #FF8533; color: #fff; text-decoration: none; }

/* ============================================
   SEARCH BOX
   ============================================ */
.search-box {
  margin-bottom: 20px;
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-box:focus-within { border-color: #FF8533; box-shadow: 0 0 0 4px rgba(255,107,0,0.1); }
.search-form {
  display: flex; align-items: center;
  padding: 4px 4px 4px 16px;
}
.search-form i { color: #94a3b8; font-size: 0.9rem; flex-shrink: 0; }
.search-form input {
  flex: 1; border: none; outline: none; background: none;
  padding: 12px 12px; font-size: 0.92rem;
  font-family: var(--font-sans); color: var(--text-primary);
  min-width: 0;
}
.search-form input::placeholder { color: #94a3b8; }
.search-form button {
  background: linear-gradient(135deg, #FF8533, #e05e00);
  color: #fff; border: none;
  padding: 11px 24px; border-radius: 10px;
  font-size: 0.88rem; font-weight: 700; cursor: pointer;
  font-family: var(--font-sans); transition: all 0.2s;
  white-space: nowrap;
}
.search-form button:hover { background: linear-gradient(135deg, #FF6B00, #e05e00); box-shadow: 0 4px 12px rgba(255,107,0,0.3); }

/* ============================================
   CONTENT BLOCKS
   ============================================ */
.content-block {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.block-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 2px solid var(--border-color);
  background: var(--bg-light);
  flex-wrap: wrap; gap: 8px;
}
.block-head h2 {
  font-size: 1.05rem; font-weight: 800;
  color: var(--text-primary);
  display: flex; align-items: center; gap: 8px;
  margin: 0; line-height: 1.3;
}
.block-head h2 i { font-size: 0.9rem; }
.see-all {
  display: inline-flex; align-items: center; gap: 4px;
  color: #FF8533; font-size: 0.82rem; font-weight: 600;
  text-decoration: none; padding: 5px 12px; border: 1px solid #FF8533;
  border-radius: 6px; transition: all 0.2s; white-space: nowrap;
}
.see-all:hover { background: #FF8533; color: #fff; text-decoration: none; }

/* ============================================
   LATEST JOBS TABLE (SarkariResult-Style)
   ============================================ */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.jobs-table {
  width: 100%; border-collapse: collapse; min-width: 640px;
}
.jobs-table thead {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}
.jobs-table th {
  padding: 11px 14px; color: #fff;
  font-size: 0.75rem; font-weight: 700;
  text-align: left; text-transform: uppercase;
  letter-spacing: 0.5px; white-space: nowrap;
}
.jobs-table td {
  padding: 12px 14px; font-size: 0.88rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}
.jobs-table tbody tr { transition: background 0.15s; cursor: pointer; }
.jobs-table tbody tr:hover { background: #f0f7ff; }
.jobs-table tbody tr:last-child td { border-bottom: none; }
.jobs-table tbody tr.row-urgent { background: #fff5f5; }
.jobs-table tbody tr.row-urgent:hover { background: #fee2e2; }
.jobs-table tbody tr.row-closed { background: #f9fafb; opacity: 0.7; }
.jobs-table tbody tr.row-closed:hover { background: #f3f4f6; opacity: 1; }
.jobs-table tbody tr.row-closed .job-link strong { color: #9ca3af; }
.jobs-table tbody tr.row-closed .td-vac,
.jobs-table tbody tr.row-closed .td-date { color: #9ca3af; }
.act-btn.act-muted { background: #f3f4f6; color: #9ca3af; border-color: #e5e7eb; }
.act-btn.act-muted:hover { background: #e5e7eb; color: #6b7280; }

.td-name { min-width: 200px; }
.job-link { display: block; color: inherit; text-decoration: none; }
.job-link:hover { text-decoration: none; color: inherit; }
.job-link strong { display: block; color: var(--text-primary); font-size: 0.9rem; font-weight: 700; line-height: 1.3; }
.job-link strong:hover { color: #FF6B00; }
.org-sub { display: block; font-size: 0.75rem; color: var(--text-muted); font-weight: 500; margin-top: 1px; }

.td-vac { font-weight: 700; color: var(--text-primary); text-align: center; white-space: nowrap; }
.td-qual { font-size: 0.82rem; white-space: nowrap; }
.td-date { font-weight: 600; white-space: nowrap; }
.td-date.urgent-date { color: #dc2626; }
.td-status { white-space: nowrap; }

.act-btn {
  display: inline-flex; align-items: center; gap: 4px;
  background: #fff3e6; color: #FF6B00;
  padding: 5px 12px; border-radius: 6px;
  font-size: 0.78rem; font-weight: 700;
  text-decoration: none; transition: all 0.2s;
  white-space: nowrap;
}
.act-btn:hover { background: #FF6B00; color: #fff; text-decoration: none; }

/* Notification badges (shared) */
.hp-notif-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; white-space: nowrap;
}
.hp-notif-badge.active { background: #dcfce7; color: #16a34a; }
.hp-notif-badge.upcoming { background: #fef3c7; color: #d97706; }
.hp-notif-badge.closing { background: #fef2f2; color: #dc2626; }

/* ============================================
   FEATURED JOBS GRID
   ============================================ */
.fjob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 16px; }
.fjob-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.25s;
  position: relative; overflow: hidden;
}
.fjob-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #FF8533, #8b5cf6);
  opacity: 0; transition: opacity 0.25s;
}
.fjob-card:hover { border-color: #FF8533; box-shadow: 0 6px 24px rgba(255,107,0,0.12); transform: translateY(-2px); text-decoration: none; color: inherit; }
.fjob-card:hover::before { opacity: 1; }

.fjob-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.fjob-date { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; }

.hp-job-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 5px;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px;
}
.hp-job-badge.hot { background: #fef2f2; color: #dc2626; }
.hp-job-badge.new { background: #fff3e6; color: #FF6B00; }
.hp-job-badge.closing { background: #fef3c7; color: #d97706; }

.fjob-org { font-size: 0.8rem; color: #FF8533; font-weight: 600; display: flex; align-items: center; gap: 5px; margin-bottom: 4px; }
.fjob-title { font-size: 1rem; font-weight: 700; color: var(--text-primary); line-height: 1.35; margin-bottom: 10px; }

.fjob-tags { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.78rem; color: var(--text-secondary); margin-bottom: 12px; }
.fjob-tags span { display: flex; align-items: center; gap: 4px; }
.fjob-tags i { color: #FF8533; font-size: 0.7rem; }
.tag-date { color: #dc2626; font-weight: 600; }
.tag-date i { color: #dc2626; }

.fjob-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 10px; border-top: 1px solid var(--border-color);
}
.fjob-salary { font-size: 0.85rem; font-weight: 700; color: #059669; }
.fjob-go {
  display: inline-flex; align-items: center; gap: 4px;
  background: #fff3e6; color: #FF6B00;
  padding: 4px 12px; border-radius: 6px;
  font-size: 0.78rem; font-weight: 600;
  transition: all 0.2s;
}
.fjob-card:hover .fjob-go { background: #FF6B00; color: #fff; }

/* ============================================
   TIMELINE / IMPORTANT DATES
   ============================================ */
.tl-list { padding: 16px 20px; }
.tl-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  padding-left: 20px;
}
.tl-item:last-child { border-bottom: none; }
.tl-dot {
  position: absolute; left: 0; top: 20px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #FF8533;
}
.tl-dot.urgent { background: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,0.2); }
.tl-dot.success { background: #16a34a; }
.tl-dot.warning { background: #d97706; }

.tl-date {
  flex-shrink: 0;
  background: var(--bg-light); border: 1px solid var(--border-color);
  border-radius: 8px; padding: 6px 12px; text-align: center;
  min-width: 56px;
}
.tl-day { display: block; font-size: 1.15rem; font-weight: 800; color: var(--text-primary); line-height: 1; }
.tl-mon { display: block; font-size: 0.65rem; font-weight: 600; color: #FF8533; text-transform: uppercase; margin-top: 1px; }

.tl-body { flex: 1; min-width: 0; }
.tl-title {
  display: block; font-size: 0.9rem; font-weight: 700;
  color: var(--text-primary); line-height: 1.35;
  text-decoration: none;
}
.tl-title:hover { color: #FF6B00; text-decoration: none; }

.tl-tag {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 0.65rem; font-weight: 700;
  padding: 2px 8px; border-radius: 4px;
  margin-top: 4px; text-transform: uppercase;
}
.tl-tag.red { background: #fef2f2; color: #dc2626; }
.tl-tag.blue { background: #fff3e6; color: #FF6B00; }
.tl-tag.green { background: #f0fdf4; color: #16a34a; }
.tl-tag.amber { background: #fef3c7; color: #d97706; }

/* ============================================
   FAQ (within content block)
   ============================================ */
.faq-list { padding: 8px 0; }

/* ============================================
   INLINE TOOLS GRID (replaces sidebar tools)
   ============================================ */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.tool-card {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  text-decoration: none; color: inherit;
  transition: all 0.2s;
  border-bottom: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
}
.tool-card:last-child { border-right: none; }
.tool-card:hover { background: #f8fafc; text-decoration: none; color: inherit; }
.tool-card-ic {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.tool-card-info { flex: 1; min-width: 0; }
.tool-card-info strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--text-primary); line-height: 1.3; }
.tool-card-info em { font-style: normal; font-size: 0.72rem; color: var(--text-muted); font-weight: 500; }
.tool-card-go {
  color: #FF8533; font-size: 0.85rem; flex-shrink: 0;
  opacity: 0; transition: opacity 0.2s, transform 0.2s;
}
.tool-card:hover .tool-card-go { opacity: 1; transform: translateX(3px); }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, #e05e00 0%, #7c3aed 50%, #db2777 100%);
  padding: 48px 0;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.cta-text h2 { font-size: 1.6rem; font-weight: 900; color: #fff; margin-bottom: 8px; line-height: 1.2; }
.cta-text p { font-size: 0.95rem; color: rgba(255,255,255,0.85); margin: 0; line-height: 1.6; max-width: 520px; }

.cta-actions {
  display: flex; flex-direction: column; gap: 8px;
  flex-shrink: 0;
}
.cta-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 10px;
  font-size: 0.88rem; font-weight: 700;
  text-decoration: none; transition: all 0.2s;
  white-space: nowrap;
  background: rgba(255,255,255,0.12); color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}
.cta-link:hover { background: rgba(255,255,255,0.22); text-decoration: none; color: #fff; }
.cta-main { background: #fff; color: #e05e00; border-color: #fff; }
.cta-main:hover { background: #f0f7ff; color: #e05e00; }


/* ===========================================================
   RESPONSIVE — TABLET (1024px)
   =========================================================== */
@media (max-width: 1024px) {
  .cat-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: 1fr; }
  .tool-card { border-right: none; }
  .tool-card-go { opacity: 1; }
  .fjob-grid { grid-template-columns: 1fr; }
  .qbar-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-text p { max-width: 100%; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}

/* ===========================================================
   RESPONSIVE — MOBILE (768px)
   =========================================================== */
@media (max-width: 768px) {
  .hp-main { padding: 16px 0 4px; }
  .cat-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .cat-pill { padding: 8px 10px; }
  .cat-ic { width: 32px; height: 32px; font-size: 0.82rem; }
  .cat-info strong { font-size: 0.78rem; }
  .cat-info em { font-size: 0.65rem; }
  .cat-strip { padding: 12px; }
  .qbar-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .qbar-item { padding: 6px 4px; font-size: 0.72rem; }
  .qbar-ic { width: 36px; height: 36px; font-size: 0.9rem; }
  .stats-row { flex-wrap: wrap; }
  .stat-box { flex: 0 0 33.33%; padding: 8px 10px; }
  .stat-divider { display: none; }
  .stat-num { font-size: 1.2rem; }
  .stat-lbl { font-size: 0.62rem; }
  .block-head { padding: 12px 14px; }
  .block-head h2 { font-size: 0.95rem; }
  .fjob-grid { padding: 10px; gap: 10px; grid-template-columns: repeat(2, 1fr); }
  .fjob-card { padding: 14px; }
  .fjob-title { font-size: 0.92rem; }
  .fjob-tags { gap: 6px; font-size: 0.72rem; }
  .tl-list { padding: 12px 14px; }
  .tl-item { padding: 10px 0 10px 16px; gap: 10px; }
  .tl-date { padding: 4px 8px; min-width: 46px; }
  .tl-day { font-size: 1rem; }
  .tl-title { font-size: 0.85rem; }
  .cta-banner { padding: 32px 0; }
  .cta-text h2 { font-size: 1.3rem; }
  .cta-text p { font-size: 0.88rem; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-link { width: 100%; }
  .closing-inner { padding: 8px 0; }
  .closing-icon { font-size: 0.72rem; padding: 4px 10px; }

  /* Search form mobile */
  .search-form { flex-direction: column; padding: 8px; }
  .search-form i { display: none; }
  .search-form button { width: 100%; border-radius: 8px; text-align: center; justify-content: center; }
}

/* ===========================================================
   RESPONSIVE — SMALL PHONES (480px)
   =========================================================== */
@media (max-width: 480px) {
  .qbar-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .qbar-item { font-size: 0.68rem; padding: 4px 2px; }
  .qbar-ic { width: 32px; height: 32px; font-size: 0.82rem; border-radius: 8px; }
  .stat-box { flex: 0 0 50%; }
  .stat-num { font-size: 1.05rem; }
  .fjob-grid { grid-template-columns: 1fr; }
  .cat-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .block-head h2 { font-size: 0.9rem; }
  .see-all { font-size: 0.75rem; padding: 4px 8px; }
  .cta-text h2 { font-size: 1.1rem; }
  .closing-links { gap: 6px; }
  .cl-item { padding: 4px 10px; }
  .cl-name { font-size: 0.75rem; }
  .tool-card { padding: 14px; gap: 10px; }
  .tool-card-ic { width: 38px; height: 38px; font-size: 0.95rem; }
  .tool-card-info strong { font-size: 0.82rem; }
}

/* ===========================================================
   RESPONSIVE — VERY SMALL (360px)
   =========================================================== */
@media (max-width: 360px) {
  .qbar-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 0.95rem; }
}

/* ===========================================================
   TOUCH DEVICE
   =========================================================== */
@media (hover: none) and (pointer: coarse) {
  .fjob-card:hover { transform: none; }
  .qbar-item:hover { transform: none; }
  .cat-pill:hover { background: none; }
  .fjob-card:active { transform: scale(0.99); }
  .qbar-item:active { transform: scale(0.97); }
  .jobs-table tbody tr:hover { background: transparent; }
  .jobs-table tbody tr:active { background: #f0f7ff; }
}

/* ===========================================================
   PRINT
   =========================================================== */
@media print {
  .hp-ticker, .closing-alert, .quick-bar, .stats-strip, .cta-banner,
  .search-box { display: none !important; }
}
