/* /induction - global induction session calendar. Same isun-* token /
   white-cream alternating-band shell as guidelines.css and design_brief.css;
   class prefix: induction-*. Hover/toggle interactions are CSS-only
   (:hover/:focus-visible) except the slot-card <-> table highlight, which
   needs a tiny bit of state and lives in induction-filter.js - CSP's
   style-src/script-src 'self' rules out inline styles and inline scripts. */
body.page-induction main {
  background: #fff;
}

.induction-eyebrow {
  display: block;
  font: 700 var(--text-sm) var(--font-heading);
  letter-spacing: var(--tracking-eyebrow-wide);
  text-transform: uppercase;
  color: var(--isun-orange);
  margin: 0 0 var(--space-3);
}

.induction-heading {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font: 600 clamp(2rem, 4vw, 2.65rem)/1.15 var(--font-heading);
  letter-spacing: -0.02em;
  color: var(--isun-ink);
  margin: 0 0 var(--space-6);
}

.induction-heading-bar {
  display: inline-block;
  width: 7px;
  height: 0.85em;
  background: var(--isun-orange);
  border-radius: 3px;
  flex: none;
}

.induction-section-lead {
  color: var(--isun-body);
  font-size: var(--text-md);
  line-height: 1.75;
  max-width: 860px;
  margin: 0 0 var(--space-7);
}

/* Hero */
.induction-hero {
  padding: 2rem 0 var(--space-8) 0;
}

.induction-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.induction-intro {
  color: var(--isun-body);
  font-size: var(--text-md);
  line-height: 1.75;
  max-width: 860px;
  margin: 0 0 var(--space-6);
}

.induction-hero-actions {
  margin: 0 0 var(--space-6);
}

.induction-register-btn {
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 24px rgba(240, 90, 34, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.induction-register-btn:hover,
.induction-register-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(240, 90, 34, 0.36);
  outline: none;
}

.induction-next-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  background: linear-gradient(115deg, var(--isun-navy), var(--isun-navy-deep));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  box-shadow: 0 12px 34px rgba(13, 16, 74, 0.16);
}

.induction-next-label {
  font: 700 var(--text-xs) var(--font-heading);
  letter-spacing: var(--tracking-eyebrow-wide);
  text-transform: uppercase;
  color: var(--isun-orange);
  flex: none;
}

.induction-next-detail {
  font: 600 var(--text-md) var(--font-heading);
  color: rgba(255, 255, 255, 0.95);
}

.induction-next-countdown {
  margin-left: auto;
  font: 800 var(--text-lg) var(--font-heading);
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  padding: 6px 20px;
  flex: none;
  white-space: nowrap;
}

/* Section shell */
.induction-section {
  padding: var(--space-8) 0;
}

.induction-section-cream {
  background: var(--isun-cream);
}

.induction-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Coverage strategy - slot cards */
.induction-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.induction-slots.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.induction-slot-card {
  position: relative;
  text-align: left;
  background: #fff;
  border: 1px solid var(--isun-line);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5) var(--space-5);
  cursor: pointer;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  box-shadow: 0 6px 18px rgba(13, 16, 74, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.induction-slot-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--isun-orange);
}

.induction-slot-card[data-slot="B"]::before { background: var(--isun-navy); }
.induction-slot-card[data-slot="C"]::before { background: var(--green); }

.induction-slot-card:hover,
.induction-slot-card:focus-visible,
.induction-slot-card.is-active {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(13, 16, 74, 0.14);
  border-color: var(--isun-orange);
  outline: none;
}

.induction-slot-card[data-slot="B"]:hover,
.induction-slot-card[data-slot="B"]:focus-visible,
.induction-slot-card[data-slot="B"].is-active { border-color: var(--isun-navy); }

.induction-slot-card[data-slot="C"]:hover,
.induction-slot-card[data-slot="C"]:focus-visible,
.induction-slot-card[data-slot="C"].is-active { border-color: var(--green); }

.induction-slot-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.induction-slot-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  font: 800 var(--text-lg) var(--font-heading);
  color: #fff;
  background: var(--isun-orange);
}

.induction-slot-card[data-slot="B"] .induction-slot-badge { background: var(--isun-navy); }
.induction-slot-card[data-slot="C"] .induction-slot-badge { background: var(--green); }

.induction-slot-label {
  font: 700 var(--text-sm) var(--font-heading);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--isun-body);
}

.induction-slot-time {
  font: 700 var(--text-sm) var(--font-heading);
  color: var(--isun-orange);
  letter-spacing: 0.02em;
}

.induction-slot-card[data-slot="B"] .induction-slot-time { color: var(--isun-navy); }
.induction-slot-card[data-slot="C"] .induction-slot-time { color: var(--green-deep); }

.induction-slot-title {
  font: 700 var(--text-lg) var(--font-heading);
  color: var(--isun-ink);
}

.induction-slot-desc {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--isun-body);
}

.induction-slot-hint {
  margin-top: auto;
  padding-top: var(--space-2);
  font: 700 var(--text-xs) var(--font-heading);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--isun-orange);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.induction-slot-card[data-slot="B"] .induction-slot-hint { color: var(--isun-navy); }
.induction-slot-card[data-slot="C"] .induction-slot-hint { color: var(--green-deep); }

.induction-slot-card:hover .induction-slot-hint,
.induction-slot-card:focus-visible .induction-slot-hint,
.induction-slot-card.is-active .induction-slot-hint {
  opacity: 1;
  transform: translateX(0);
}

/* Session calendar table */
.induction-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--isun-line);
  box-shadow: 0 12px 34px rgba(13, 16, 74, 0.08);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.induction-table-wrap.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.induction-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.induction-table thead th {
  background: var(--isun-navy);
  color: #fff;
  text-align: left;
  font: 700 var(--text-xs) var(--font-heading);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: var(--space-4);
  white-space: nowrap;
}

.induction-row td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--isun-line);
  color: var(--isun-body);
  background: #fff;
  transition: opacity 0.25s ease, background 0.15s ease;
  white-space: nowrap;
}

.induction-row:last-child td { border-bottom: none; }
.induction-row:hover td { background: #fbf6f0; }
.induction-row.is-dimmed td { opacity: 0.35; }

.induction-slot-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font: 800 var(--text-xs) var(--font-heading);
  color: #fff;
  background: var(--isun-orange);
}

.induction-slot-chip-b { background: var(--isun-navy); }
.induction-slot-chip-c { background: var(--green); }

.induction-status {
  display: inline-block;
  font: 700 var(--text-xs) var(--font-heading);
  letter-spacing: 0.02em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.induction-status-upcoming { background: #fdeee6; color: var(--isun-orange-deep); }
.induction-status-live { background: var(--g-tint2); color: var(--green-deep); }
.induction-status-completed { background: var(--isun-cream); color: var(--isun-body); }

.induction-filter-reset {
  display: inline-block;
  margin-top: var(--space-4);
  font: 600 var(--text-sm) var(--font-heading);
  color: var(--isun-orange);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.induction-filter-reset[hidden] {
  display: none;
}

.induction-filter-reset:hover,
.induction-filter-reset:focus-visible {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .induction-slots {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .induction-next-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .induction-next-countdown {
    margin-left: 0;
  }
}
