:root{
  --bg:#f7f8fb;
  --card:#fff;
  --text:#0f172a;
  --muted:#64748b;
  --pri:#1d4ed8;
  --pri2:#0ea5e9;
  --bd:#e2e8f0;
  --radius:16px;
  --shadow:0 6px 18px rgba(15,23,42,.06);
  font-synthesis:style;
}

*{box-sizing:border-box}
body{
  margin:0; font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial, 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji';
  color:var(--text); background:var(--bg); 
}
a{color:inherit; text-decoration:none}
.container{width:min(1100px,92%); margin:auto}

.topbar{
  background:#fff; border-bottom:1px solid var(--bd);
  position:sticky; top:0; z-index:10;
}
.topbar-inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0}
.logo{font-weight:800; letter-spacing:.2px; font-size:20px; color:var(--pri)}
.nav a{margin-left:16px; color:var(--muted); font-weight:600}
.nav a:hover{color:var(--text)}

.hero{
  background:linear-gradient(135deg,#0ea5e9 0%,#1d4ed8 60%);
  color:#fff; padding:44px 0 56px;
}
.hero-inner h1{font-size:34px; margin:0 0 8px}
.hero-inner p{opacity:.9}

.searchbar{
  display:grid; grid-template-columns:1.4fr 1fr auto;
  gap:10px; margin-top:18px;
  background:#fff; padding:10px; border-radius:999px; box-shadow:var(--shadow);
}
.searchbar input{
  border:0; padding:12px 14px; font-size:15px; outline:none;
}
.searchbar button{
  border:0; padding:12px 18px; border-radius:999px;
  background:var(--pri); color:#fff; font-weight:700; cursor:pointer;
}

.section{padding:28px 0}
.section-head{display:flex; align-items:center; justify-content:space-between; margin-bottom:12px}
.section-head h2{margin:0; font-size:22px}

.grid{display:grid; gap:14px}
.cats-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}
.jobs-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}

.card, .cat-card, .job-card{
  background:var(--card); border:1px solid var(--bd);
  border-radius:var(--radius); box-shadow:var(--shadow); margin: 5px 0px 5px 0px;
}

.cat-card{
  padding:18px; display:flex; gap:10px; align-items:center;
  transition:.15s ease transform,.15s ease border;
}
.cat-card:hover{transform:translateY(-2px); border-color:#cbd5e1}
.cat-icon{font-size:22px}
.cat-name{font-weight:700}

.job-card{padding:14px}
.job-top{display:flex; gap:12px; align-items:flex-start}
.company-logo{width:44px; height:44px; border-radius:10px; object-fit:cover; border:1px solid var(--bd)}
.company-logo.xl{width:64px; height:64px}
.job-title{font-weight:800; display:inline-block; margin-bottom:4px}
.job-title:hover{color:var(--pri)}
.job-meta{color:var(--muted); font-size:14px}

.job-badges{margin-top:10px; display:flex; flex-wrap:wrap; gap:6px}
.badge{
  font-size:12px; padding:5px 8px; border-radius:999px;
  font-weight:700; background:#eff6ff; color:var(--pri);
}
.badge.ghost{background:#f1f5f9; color:#334155}

.job-foot{margin-top:10px; display:flex; align-items:center; justify-content:space-between}

.btn{
  display:inline-block; background:var(--pri); color:#fff; padding:10px 14px;
  border-radius:12px; font-weight:800; border:0; cursor:pointer;
}
.btn.small{padding:7px 10px; font-size:13px}
.btn.full{width:100%; text-align:center}

.muted{color:var(--muted)}

.listing-layout{
  display:grid; grid-template-columns:1fr 280px; gap:16px;
}
.listing-filters{
  padding:14px; position:sticky; top:80px; height:max-content;
}
.listing-filters label{display:block; font-weight:700; margin-top:10px; font-size:13px}
.listing-filters select, .listing-filters input{
  width:100%; padding:9px 10px; border:1px solid var(--bd);
  border-radius:10px; margin-top:6px; background:#fff;
}

.form-card{padding:18px}
.form label{display:block; margin-top:10px; font-weight:700; font-size:14px}
.form input,.form textarea{
  width:100%; padding:10px; border:1px solid var(--bd);
  border-radius:10px; margin-top:6px; outline:none;
}
.form input:focus,.form textarea:focus{border-color:#94a3b8}

.footer{background:#fff; border-top:1px solid var(--bd); margin-top:20px}
.footer-inner{padding:18px 0; color:var(--muted); font-size:14px}
@media (max-width:900px){
  .listing-layout{grid-template-columns:1fr}
  .searchbar{grid-template-columns:1fr; border-radius:16px}
}

.pagination{
  margin-top:18px;
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  align-items:center;
}

.page-btn{
  padding:8px 12px;
  border:1px solid var(--bd);
  background:#fff;
  border-radius:10px;
  font-weight:700;
  font-size:14px;
  color:#0f172a;
  box-shadow:var(--shadow);
}

.page-btn:hover{border-color:#cbd5e1; transform:translateY(-1px)}
.page-btn.active{
  background:var(--pri);
  color:#fff;
  border-color:var(--pri);
}
.page-btn.disabled{
  opacity:.45;
  cursor:not-allowed;
  box-shadow:none;
}
.page-dots{
  padding:0 4px;
  color:var(--muted);
  font-weight:800;
}

.job-header,
.job-body {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--bd);
  box-shadow: var(--shadow);
}

.job-detail h3 {
  margin-top: 22px;
  margin-bottom: 8px;
}

.job-body .richtext {
  line-height: 1.6;
}

.company-logo.xl {
  margin-right: 14px;
}

.job-cta{
margin-top: 15px;
}