/* =========================
   Projects Section (pj-*)
   ========================= */
.pj-wrap{ max-width:1100px; margin:0 auto; padding:22px 20px 0; }
.pj-head{ display:flex; justify-content:space-between; align-items:baseline; gap:12px; margin-bottom:12px; }
.pj-title{ margin:0; font-size:18px; font-weight:900; color:#0f172a; letter-spacing:-0.02em; }
.pj-more{ font-size:13px; font-weight:800; color:#2563eb; text-decoration:none; white-space:nowrap; }
.pj-more:hover{ text-decoration:underline; }
.pj-empty{ border:1px solid #e5e7eb; background:#fff; border-radius:14px; padding:14px 16px; color:#6b7280; }

.pj-grid{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:14px; }
@media (max-width:1000px){ .pj-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media (max-width:640px){ .pj-wrap{ padding:18px 14px 0; } .pj-grid{ grid-template-columns:1fr; } }

.pj-card{ position:relative; border:1px solid #e5e7eb; background:#fff; border-radius:16px; overflow:hidden; transition:transform .12s ease, box-shadow .12s ease; }
.pj-card:hover{ transform:translateY(-2px); box-shadow:0 12px 24px rgba(0,0,0,.06); }
.pj-link{ position:absolute; inset:0; z-index:1; }

.pj-thumb{
  height:150px;
  background:#f1f5f9;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* 태블릿 */
@media (max-width:1024px){
  .pj-thumb{ height:300px; }
}

/* 모바일 */
@media (max-width:640px){
  .pj-thumb{ height:350px; }
}

.pj-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.pj-thumb.is-empty{ color:#94a3b8; font-weight:900; font-size:12px; }

.pj-body{ padding:12px 12px 14px; position:relative; z-index:2; }
.pj-topline{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-bottom:8px; }
.pj-badge, .pj-chip{ font-size:14px; padding:6px 10px; border-radius:999px; border:0.5px solid #e5e7eb; }
.pj-badge{ background:#f8fafc; color:#334155; }
.pj-chip{ background:#fff; color:#0f172a; }

.st-open{ background:#ecfeff; border-color:#a5f3fc; color:#155e75; }
.st-soon{ background:#eff6ff; border-color:#bfdbfe; color:#1d4ed8; }
.st-closed{ background:#f1f5f9; border-color:#e2e8f0; color:#475569; }
.st-done{ background:#ecfdf5; border-color:#bbf7d0; color:#166534; }
.st-stop{ background:#fef2f2; border-color:#fecaca; color:#991b1b; }
.st-default{ background:#f8fafc; border-color:#e5e7eb; color:#334155; }

.pj-name{
  margin:0;
  color:#0f172a;
  line-height:1.35;
  letter-spacing:-0.02em;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.pj-meta{ margin-top:6px; font-size:16px; font-weight:600; }

.pj-summary{
  margin:6px 0 0;
  font-size:15px;
  color:#353535;
  line-height:1.55;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.pj-actions{ margin-top:12px; display:flex; gap:8px; flex-wrap:wrap; }
.pj-btn{ display:inline-flex; align-items:center; justify-content:center; height:34px; padding:0 14px; border-radius:999px; text-decoration:none; font-size:14px; border:0.5px solid #e5e7eb; background:#f8fafc; color:#0f172a; position:relative; z-index:3; }
.pj-btn-detail{ background:#111827; border-color:#111827; color:#fff; }
.pj-btn-call{ background:#eff6ff; border-color:#bfdbfe; color:#1d4ed8; }
.pj-btn-home{ background:#fff; border-color:#e5e7eb; color:#111827; }
