/**
 * /courses/ hub — Paths + skill Courses listing.
 * Reuses .tools-grid / .tool-card from main.css. Feature-image icons; ad-free.
 */

.courses-listing-page {
  padding-bottom: 56px;
}

.courses-listing-page .section-header {
  margin-bottom: 8px;
}

.as-courses-section {
  margin-top: 28px;
}

.as-courses-section-head {
  margin-bottom: 14px;
  max-width: 560px;
}

.as-courses-h2 {
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.as-courses-sub {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink3);
}

.as-courses-grid .tool-icon {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 106, 0, 0.08);
}

.as-courses-grid .tool-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.as-courses-icon-fallback {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover, #ff3d00));
}

.as-courses-card--static {
  cursor: default;
}

.as-courses-card--static:hover {
  transform: none;
  box-shadow: none;
}

.as-courses-card--static::before {
  display: none;
}

.as-courses-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink3);
  background: rgba(15, 23, 42, 0.06);
  padding: 4px 8px;
  border-radius: 6px;
}

.as-courses-badge--live {
  color: #fff;
  background: var(--accent);
}

.as-courses-stats {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--ink2);
  font-variant-numeric: tabular-nums;
}

.as-courses-progress {
  margin: 0 0 12px;
}

.as-courses-progress-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
  margin-bottom: 6px;
}

.as-courses-progress-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover, #ff3d00));
  transition: width 240ms cubic-bezier(0.23, 1, 0.32, 1);
}

.as-courses-progress-meta {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink2);
  font-variant-numeric: tabular-nums;
}

.as-courses-cta {
  font-size: 13px;
  font-weight: 650;
  color: var(--accent);
  margin-left: auto;
}

.as-courses-waitlist {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-left: auto;
}

.as-courses-waitlist:hover {
  color: var(--accent-hover);
}

.as-courses-card .tool-footer {
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.as-courses-card--path .tool-arrow {
  display: none;
}
