/* ============================================
   instructor-page.css
============================================ */

/* ──────────────────────────────────────────
   HERO  (.instructor-hero)
────────────────────────────────────────── */
.instructor-hero {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding-block: var(--space-8);
  overflow: hidden;
}

/* Two-column wrapper: text | card */
.instructor-hero__wrap {
  width: min(100%, var(--max-w));
  margin-inline: auto;
  padding-inline: var(--space-6);
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-7);
  align-items: center;
}

/* ── Left column ── */
.instructor-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

/* Eyebrow pill */
.instructor-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 5px 14px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-primary);
  background: var(--c-primary-soft);
  border-radius: var(--radius-full);
  line-height: 1;
}
.instructor-hero__eyebrow::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-primary);
}

/* Headline */
.instructor-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw, 2.625rem);
  font-weight: 700;
  line-height: 1.14;
  color: var(--c-title);
}

/* The <em> inside the title */
.instructor-hero__title em {
  font-style: normal;
  color: var(--c-primary);
  position: relative;
  display: inline;
}
#instructor-courses-subtitle {
  padding-top: 8px;
}
/* Subtitle */
.instructor-hero__subtitle {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--c-muted);
  max-width: 500px;
}

/* CTA row */
.instructor-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.instructor-hero__media-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
}

/* Subtle tinted overlay for depth */
.instructor-hero__media-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.04) 0%,
    transparent 55%
  );
  pointer-events: none;
  border-radius: inherit;
}

/* "Instructor Program" label */
.instructor-hero__badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 12px;
  margin-bottom: var(--space-4);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  background: var(--c-primary);
  border-radius: var(--radius-full);
  line-height: 1;
}
#instructor-courses-header{
  margin-bottom: 16px;
}
/* "How to get started" */
.instructor-hero__media-title {
  margin-bottom: var(--space-1);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--c-title);
  line-height: 1.3;
}

/* "Three simple steps…" */
.instructor-hero__media-subtitle {
  margin-bottom: var(--space-4);
  font-size: 0.875rem;
  color: var(--c-muted);
  line-height: 1.6;
}

/* Divider between subtitle and steps */
.instructor-hero__media-subtitle + .instructor-hero__steps {
  border-top: 1px solid var(--c-border);
  padding-top: var(--space-4);
}

/* Steps list */
.instructor-hero__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.instructor-hero__steps li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--c-body);
}

/* Numbered circle */
.step-num {
  flex-shrink: 0;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px; 
}

/* ──────────────────────────────────────────
   RESPONSIVE BREAKPOINTS
────────────────────────────────────────── */

/* ≤ 960px: hero collapses to single column */
@media (max-width: 960px) {
  .instructor-hero__wrap {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  /* Card moves above the text content */
  .instructor-hero__media {
    order: -1;
  }

  .instructor-hero__media-card {
    max-width: 480px;
    margin-inline: auto;
  }
}

/* ≤ 640px: tighten spacing, linearise course header */
@media (max-width: 640px) {
  .container,
  .instructor-hero__wrap {
    padding-inline: var(--space-4);
  }

  .instructor-hero {
    padding-block: var(--space-7);
  }

  .instructor-hero__title {
    font-size: 1.625rem;
  }

  .section-header-row {
    grid-template-columns: 1fr;
  }

}