/* I2CAN — homepage hero options + carousel, featured courses, Courses-page batches table.
   Same tokens, type and components as the rest of the theme. */

/* ---------- Hero: three navigation options ---------- */
.hc-nav{margin:6px 0 0;max-width:520px}
.hc-nav__ask{margin:0 0 12px;font-size:var(--fs-2xs,11px);font-weight:600;letter-spacing:.19em;text-transform:uppercase;color:#b3c3da}
.hc-pick{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 20px;margin-bottom:10px;border-radius:var(--r-lg,16px);background:#fff;color:var(--ink,#0B1B33);text-decoration:none;box-shadow:var(--sh-2,0 8px 24px rgba(0,26,65,.12));border:1px solid transparent;transition:transform .18s ease,box-shadow .25s ease,border-color .18s ease}
.hc-pick b{display:block;font-size:1.02rem;font-weight:600;color:var(--navy-900,#001A41);line-height:1.35}
.hc-pick small{display:block;font-size:var(--fs-xs,13px);color:var(--body,#4E5A6E);line-height:1.55;margin-top:3px}
.hc-pick svg{flex:none;width:20px;height:20px;fill:none;stroke:var(--red-600,#C5141A);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s ease}
.hc-pick:hover,.hc-pick:focus-visible{transform:translateY(-2px);border-color:var(--blue-200,#9DB8DF);color:var(--ink,#0B1B33)}
.hc-pick:hover svg,.hc-pick:focus-visible svg{transform:translateX(4px)}
.hc-pick:focus-visible{outline:3px solid #fff;outline-offset:3px}
.hc-hero .ix-hero__copy>p{margin-bottom:26px}
.hc-hero .ix-hero__foot{margin-top:34px}

/* ---------- Hero: carousel with a fixed frame ---------- */
.hc-scene .ix-scene__pictures{height:auto;aspect-ratio:6/5}
.hc-scene__bar{display:flex;align-items:flex-start;gap:14px;margin-top:19px}
.hc-scene__bar .ix-scene__tabs{flex:1;margin-top:0;min-width:0}
.hc-scene__pause{flex:none;width:36px;height:36px;margin-top:6px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:transparent;color:#fff;display:grid;place-items:center;cursor:pointer;transition:border-color .18s ease,background .18s ease}
.hc-scene__pause:hover,.hc-scene__pause:focus-visible{border-color:#fff;background:rgba(255,255,255,.08)}
.hc-scene__pause:focus-visible{outline:2px solid #fff;outline-offset:2px}
.hc-scene__pause svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.hc-scene__pause .hc-i-play{display:none;fill:currentColor;stroke:none}
.hc-scene__pause[aria-pressed=true] .hc-i-pause{display:none}
.hc-scene__pause[aria-pressed=true] .hc-i-play{display:block}
.hc-scene .ix-scene__tabs button:focus-visible{outline:2px solid #fff;outline-offset:3px}

/* ---------- Featured courses ---------- */
.hc-featured .ix-course>a{box-shadow:0 1px 0 rgba(0,26,65,.04)}
.hc-course .ix-course__image>span{font-weight:600;letter-spacing:.04em}
.hc-course h3{margin-bottom:12px}
.hc-course__desc{font-size:13px;line-height:1.7;color:#526078;margin:0 0 14px}
.hc-course .ix-course__cta{font-weight:600}

/* Homepage "Plan your next step" buttons */
.hc-batch-btns{display:flex;flex-wrap:wrap;gap:10px;flex-shrink:0}

/* ---------- Courses: upcoming batches ---------- */
.hc-batches{border-top:1px solid var(--line,#E4E9F0)}
.hc-batches .ix-section-head h2 em{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-weight:400}
.hc-batches__wrap{background:#fff;border:1px solid var(--line,#E4E9F0);border-radius:var(--r-lg,16px);overflow:hidden;box-shadow:0 10px 30px rgba(0,26,65,.06)}
.hc-batches__table{width:100%;border-collapse:collapse;font-size:var(--fs-sm,15px);color:var(--ink,#0B1B33)}
.hc-batches__table thead th{background:var(--navy-900,#001A41);color:#fff;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;text-align:left;padding:15px 18px;white-space:nowrap}
.hc-batches__table tbody tr{border-top:1px solid var(--line,#E4E9F0)}
.hc-batches__table tbody tr:first-child{border-top:0}
.hc-batches__table tbody tr:not(.hc-batches__sub):hover{background:#F7F9FC}
.hc-batches__table th[scope=row],.hc-batches__table td{padding:16px 18px;text-align:left;vertical-align:middle;font-weight:400}
.hc-b__code{display:inline-block;margin-bottom:4px;padding:2px 8px;border-radius:999px;background:var(--blue-050,#EEF3FA);color:var(--navy-900,#001A41);font-size:11px;font-weight:700;letter-spacing:.04em}
.hc-b__name{display:block;font-weight:600;line-height:1.4;color:var(--navy-900,#001A41)}
.hc-b__name a{color:inherit;text-decoration:none;border-bottom:1px solid var(--line,#E4E9F0)}
.hc-b__name a:hover{color:var(--red-600,#C5141A);border-color:currentColor}
.hc-batches__table time{font-weight:600;white-space:nowrap;color:var(--navy-900,#001A41)}
.hc-b__sched span{display:block;font-size:var(--fs-xs,13px);color:var(--body,#4E5A6E);line-height:1.6;white-space:nowrap}
.hc-b__act{text-align:right!important;white-space:nowrap}
.hc-b__act .btn{gap:8px}
.hc-b__act svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.hc-b__tba{font-size:var(--fs-xs,13px);color:var(--body,#4E5A6E)}
.hc-batches__sub th{background:var(--tint,#EEF3FA);padding:11px 18px;text-align:left;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--body,#4E5A6E)}
.hc-batches__note{margin:16px 0 0;font-size:var(--fs-xs,13px);line-height:1.7;color:var(--body,#4E5A6E);max-width:80ch}
.hc-enq-note{margin:0 0 14px;padding:12px 14px;border-left:3px solid var(--red-600,#C5141A);background:var(--tint,#EEF3FA);border-radius:0 8px 8px 0;font-size:var(--fs-xs,13px);line-height:1.6;color:var(--navy-900,#001A41)}
.hc-enq-note b{display:block}
.hc-enq-note button{margin-top:6px;padding:0;border:0;background:none;color:var(--blue-600,#20549F);font:inherit;font-weight:600;text-decoration:underline;cursor:pointer}

/* ---------- Responsive ---------- */
@media (max-width:1000px){
  .hc-nav{max-width:none}
}
@media (max-width:900px){
  .hc-batches__table th[scope=row],.hc-batches__table td{padding:14px}
  .hc-b__sched span{white-space:normal}
}
@media (max-width:760px){
  .hc-batches__wrap{background:transparent;border:0;box-shadow:none;border-radius:0;overflow:visible}
  .hc-batches__table,.hc-batches__table tbody,.hc-batches__table tr,.hc-batches__table th,.hc-batches__table td{display:block;width:100%}
  .hc-batches__table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
  .hc-batches__table tbody tr{background:#fff;border:1px solid var(--line,#E4E9F0)!important;border-radius:var(--r-md,12px);margin-bottom:12px;padding:6px 0;box-shadow:0 6px 18px rgba(0,26,65,.05)}
  .hc-batches__table tbody tr:hover{background:#fff}
  .hc-batches__table th[scope=row]{padding:12px 16px 10px;border-bottom:1px solid var(--line,#E4E9F0)}
  .hc-batches__table td{display:grid;grid-template-columns:118px minmax(0,1fr);gap:10px;padding:8px 16px}
  .hc-batches__table td::before{content:attr(data-label);font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--body,#4E5A6E);padding-top:2px}
  .hc-batches__table td.hc-b__act{display:block;padding:10px 16px 12px}
  .hc-batches__table td.hc-b__act::before{content:none}
  .hc-b__act .btn{width:100%;justify-content:center;min-height:44px}
  .hc-batches__sub{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:20px 0 10px}
  .hc-batches__sub th{background:transparent;padding:0}
}
@media (max-width:680px){
  .hc-nav{margin-top:0}
  .hc-pick{padding:14px 16px;margin-bottom:8px}
  .hc-pick b{font-size:.98rem}
  .hc-scene .ix-scene__pictures{aspect-ratio:4/3;height:auto}
  .hc-scene .ix-scene__caption{bottom:18px;left:18px;right:18px}
  .hc-scene .ix-scene__caption strong{font-size:20px;margin-top:6px}
  .hc-scene__bar{gap:10px;margin-top:12px}
  .hc-scene__pause{margin-top:3px;width:32px;height:32px}
  .hc-batch-btns{width:100%}
  .hc-batch-btns .btn{flex:1 1 100%;justify-content:center}
}
@media (prefers-reduced-motion:reduce){
  .hc-pick,.hc-pick svg{transition:none}
  .hc-pick:hover,.hc-pick:focus-visible{transform:none}
}
