@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;700;800&family=DM+Sans:wght@300;400;500&display=swap');

/* =============================================
   SKILLS TRAINING PAGE — courses only
   stp-* namespace
============================================= */

/* ── Page Header ───────────────────────────── */
.stp-page-header {
  padding: 50px 0 40px;
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.stp-page-header h1 {
  /*font-family: 'Syne', sans-serif;*/
  font-size: 42px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 6px;
  line-height: 1.15;
}
.stp-page-header h1 span { color: #F94D1C; }
.stp-page-header p {
  font-size: 15px;
  color: #6b7280;
  margin: 0;
  /*font-family: 'DM Sans', sans-serif;*/
}

/* ── Main Section ──────────────────────────── */
.stp-section { padding: 60px 0 80px; }

/* ── Filter Tabs ───────────────────────────── */
.stp-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.stp-fb {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid rgba(0,0,0,.10);
  background: transparent;
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  /*font-family: 'DM Sans', sans-serif;*/
  letter-spacing: .01em;
}
.stp-fb:hover {
  border-color: rgba(0,0,0,.2);
  color: #111827;
}
.stp-fb.active {
  background: #111827;
  border-color: #111827;
  color: #fff;
}
.stp-fb .stp-n {
  font-size: 11px;
  opacity: .65;
}

/* ── Count Label ───────────────────────────── */
.stp-count-label {
  font-size: 12px;
  color: #9ca3af;
  /*font-family: 'DM Sans', sans-serif;*/
  margin-bottom: 20px;
  display: block;
}

/* ── Course Grid ───────────────────────────── */
.stp-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

/* ── Course Card ───────────────────────────── */
.stp-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 20px 18px 18px;
  border: 1px solid transparent;
  cursor: default;
  transition: transform .3s ease, box-shadow .3s ease;
  transform-style: preserve-3d;
  perspective: 800px;
}
.stp-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,.13), 0 6px 14px rgba(0,0,0,.07);
}

/* Shine overlay */
.stp-card .stp-shine {
  position: absolute;
  top: -50%; left: -50%;
  width: 80%; height: 80%;
  background: linear-gradient(135deg, rgba(255,255,255,.55) 0%, transparent 60%);
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transition: opacity .3s;
}
.stp-card:hover .stp-shine { opacity: 1; }

/* Glow overlay */
.stp-card .stp-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
  border-radius: 16px;
}
.stp-card:hover .stp-glow { opacity: 1; }

/* Card top row */
.stp-card-top {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
}
.stp-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.stp-cat-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  /*font-family: 'DM Sans', sans-serif;*/
}
.stp-course-name {
  /*font-family: 'Syne', sans-serif;*/
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  line-height: 1.45;
  margin: 0;
}

/* ── Color Themes ──────────────────────────── */

/* ── No Results ────────────────────────────── */
.stp-no-results {
  text-align: center;
  padding: 60px 20px;
  color: #9ca3af;
  font-size: 14px;
  /*font-family: 'DM Sans', sans-serif;*/
  display: none;
}
.stp-no-results i { font-size: 36px; display: block; margin-bottom: 10px; color: #d1d5db; }

/* ── Responsive ────────────────────────────── */
@media (max-width: 767px) {
  .stp-page-header h1 { font-size: 30px; }
  .stp-courses-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .stp-page-header h1 { font-size: 26px; }
  .stp-fb { font-size: 11px; padding: 7px 13px; }
}