/* ============================================
   Course & Work Assistance Page Styles
   Shared by all training and service pages
   ============================================ */

/* Course Hero */
.course-hero {
  padding: 4rem 0 2rem;
}
.course-hero h1 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.course-hero .lead {
  max-width: 720px;
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Course Meta Tags */
.course-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.course-meta__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(79, 124, 255, 0.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.course-meta__tag--accent {
  background: rgba(244, 184, 96, 0.15);
  color: var(--accent);
}

/* Curriculum Grid */
.curriculum-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.curriculum-item {
  border-left: 3px solid var(--primary);
  padding-left: 1.2rem;
}
.curriculum-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.curriculum-item p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Project Cards */
.project-cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.project-card {
  background: var(--card);
  color: var(--text-dark);
  padding: 1.8rem;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.project-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}
.project-card p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.project-card__tech {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.project-card__tech span {
  background: rgba(79, 124, 255, 0.08);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

/* Format Section */
.format-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.format-card {
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}
.format-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.format-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Instructor Block */
.instructor-block {
  display: grid;
  gap: 2rem;
  grid-template-columns: auto 1fr;
  align-items: start;
}
.instructor-block img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}
.instructor-block h3 {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}
.instructor-block__role {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}
.instructor-block__credentials {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}
.instructor-block__credentials li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
}
.instructor-block__credentials li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Related Links */
.related-links {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.related-link {
  display: block;
  border: 1px solid var(--border);
  padding: 1.2rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
}
.related-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(79, 124, 255, 0.12);
}
.related-link h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.related-link p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Problem Grid (Work Assistance) */
.problem-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.problem-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 16px;
}
.problem-card__icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}
.problem-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.problem-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Scenario Cards */
.scenario-cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.scenario-card {
  background: var(--card);
  color: var(--text-dark);
  padding: 1.8rem;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.scenario-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}
.scenario-card p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
}
.scenario-card ul {
  list-style: none;
  margin-top: 0.8rem;
}
.scenario-card li {
  padding: 0.3rem 0;
  font-size: 0.9rem;
  color: #64748b;
}
.scenario-card li::before {
  content: "→ ";
  color: var(--primary);
  font-weight: 700;
}

/* ============================================
   Responsive — Mobile (760px)
   ============================================ */
@media (max-width: 760px) {
  .course-hero {
    padding: 2.5rem 0 1.5rem;
  }
  .course-hero h1 {
    font-size: 1.75rem;
  }
  .course-hero .lead {
    font-size: 1rem;
  }
  .curriculum-grid {
    grid-template-columns: 1fr;
  }
  .project-cards {
    grid-template-columns: 1fr;
  }
  .format-grid {
    grid-template-columns: 1fr;
  }
  .instructor-block {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .instructor-block img {
    margin: 0 auto;
  }
  .instructor-block__credentials {
    text-align: left;
  }
  .related-links {
    grid-template-columns: 1fr;
  }
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .scenario-cards {
    grid-template-columns: 1fr;
  }
}
