/* ─────────────────────────────────────────
   certifications.css
───────────────────────────────────────── */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #111113;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
}

/* ── HEADER — identical to techstack ── */
.page-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.back-btn {
  font-size: 0.82rem;
  font-weight: 500;
  color: #555;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}

.back-btn:hover { color: #111; }

.page-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111113;
  letter-spacing: -0.02em;
}

/* ── CERT GRID ── */
.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

/* ── CERT CARD — rounded like techstack tags ── */
.cert-card {
  display: block;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border: 1px solid #d0d0d8;
  border-radius: 5px;
  background: #ffffff;
  transition: background 0.12s, border-color 0.12s;
}

.cert-card:hover {
  background: #f5f5f7;
  border-color: #b0b0bc;
}

/* ── TEXT ── */
.cert-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #111113;
  margin-bottom: 0.15rem;
  line-height: 1.4;
}

.cert-issuer {
  font-size: 0.75rem;
  color: #8a8a92;
  font-weight: 400;
}

/* Dim wip / planned */
.cert-card.wip .cert-name      { color: #555; }
.cert-card.planned             { border-color: #e8e8ec; }
.cert-card.planned .cert-name  { color: #aaa; }
.cert-card.planned .cert-issuer{ color: #c0c0c8; }

/* ── RESPONSIVE ── */
@media (max-width: 540px) {
  .cert-grid { grid-template-columns: 1fr; }
}