/* ============================================================
   AUSTRAINER — Courses Page
   ============================================================ */

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-teal-deeper, #0E4257) 100%);
  padding-top: calc(68px + clamp(var(--space-12), 8vw, var(--space-20)));
  padding-bottom: clamp(var(--space-10), 6vw, var(--space-16));
  color: #fff;
}
.page-hero-content { max-width: 680px; }
.page-hero-content .tag {
  margin-bottom: var(--space-4);
  background: rgba(232,160,32,0.2);
  color: #F0C060;
  border: 1px solid rgba(232,160,32,0.4);
}
.page-hero-content h1 {
  font-size: var(--text-2xl);
  font-weight: 900;
  color: #fff;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}
.page-hero-content p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  max-width: 56ch;
}

/* Course Detail Layout */
.course-detail { background: var(--color-bg); }
.course-detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-12);
  align-items: start;
}
@media (max-width: 1024px) {
  .course-detail-grid {
    grid-template-columns: 1fr;
  }
  .course-sidebar { order: -1; }
}

/* Content blocks */
.course-block {
  margin-bottom: var(--space-12);
}
.course-block h2 {
  font-size: var(--text-xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
  color: var(--color-text);
}
.course-block > p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
  line-height: 1.7;
}

/* Checklist */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-text);
  max-width: none;
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  line-height: 1.5;
}
.check-list li::before {
  content: '';
  width: 18px; height: 18px;
  min-width: 18px;
  border-radius: var(--radius-full);
  background: var(--color-teal-light);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 1L4 7L1 4' stroke='%231A6B8A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* Timeline */
.session-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid var(--color-border);
  padding-left: var(--space-6);
  margin-left: var(--space-4);
}
.session-item {
  display: flex;
  gap: var(--space-5);
  padding-bottom: var(--space-6);
  position: relative;
}
.session-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-6) - 5px);
  top: 4px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--color-border);
  border: 2px solid var(--color-bg);
}
.session-item.accent::before {
  background: var(--color-gold);
}
.session-time {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text-muted);
  white-space: nowrap;
  min-width: 60px;
  padding-top: 2px;
}
.session-body h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}
.session-item.accent .session-body h4 { color: var(--color-teal); }
.session-body p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: none;
}

/* Workshop streams */
.streams-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
@media (max-width: 700px) { .streams-grid { grid-template-columns: 1fr; } }

.stream-card {
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid var(--color-border);
}
.stream-mining {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-teal-deeper, #0E4257) 100%);
  border-color: transparent;
  color: #fff;
}
.stream-business {
  background: var(--color-surface);
}
.stream-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-2);
}
.stream-mining .stream-label { color: rgba(255,255,255,0.6); }
.stream-business .stream-label { color: var(--color-primary); }

.stream-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.stream-mining h3 { color: #fff; }
.stream-card p {
  font-size: var(--text-sm);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}
.stream-mining p { color: rgba(255,255,255,0.7); }
.stream-business p { color: var(--color-text-muted); }
.stream-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.stream-card ul li {
  font-size: var(--text-sm);
  max-width: none;
}
.stream-card ul li::before {
  content: '- ';
}
.stream-mining ul li { color: rgba(255,255,255,0.65); }
.stream-business ul li { color: var(--color-text-muted); }

/* Inclusions */
.inclusions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
@media (max-width: 600px) { .inclusions-grid { grid-template-columns: 1fr; } }

.inclusion-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.inclusion-item svg { flex-shrink: 0; color: var(--color-teal); }

/* ---- Sidebar ---- */
.course-sidebar {
  position: sticky;
  top: calc(68px + var(--space-6));
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
@media (max-width: 1024px) {
  .course-sidebar { position: static; }
}

.booking-card {
  padding: var(--space-6);
}
.booking-eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.booking-price {
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: var(--space-1);
}
.booking-price span:first-of-type { color: var(--color-teal); }
.price-suffix {
  font-size: var(--text-base) !important;
  font-weight: 500;
  color: var(--color-text-muted);
}
.booking-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}

.booking-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.booking-detail-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.booking-detail-row svg { flex-shrink: 0; color: var(--color-teal); margin-top: 2px; }

.pricing-tiers h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}
.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-divider);
  gap: var(--space-4);
}
.pricing-row span { color: var(--color-text-muted); }
.pricing-row strong { color: var(--color-text); white-space: nowrap; }
.pricing-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-3);
  line-height: 1.6;
  max-width: none;
}

.sidebar-cert {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-5);
}
.sidebar-cert-title {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-text);
  margin-bottom: var(--space-1);
  max-width: none;
}
.sidebar-cert-body {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  max-width: none;
}

.sidebar-legislation {
  padding: var(--space-5);
}
.sidebar-leg-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  max-width: none;
}
.sidebar-leg-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.sidebar-leg-list li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: none;
  padding-left: var(--space-4);
  position: relative;
}
.sidebar-leg-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-teal);
}
