/* IELTS classes page: banner, class timings, booking */
.ie-hero { padding: 56px 0 48px; min-height: min(calc(100svh - 110px), 760px); }
.ie-hero .ca-hero-bg { z-index: -4; background: url("video/ielts-hero-poster.jpg") center 40% / cover no-repeat, #0a1626; }
.ie-hero .im-hero-shade { background: linear-gradient(95deg, rgba(8,20,36,.95) 0%, rgba(8,20,36,.84) 40%, rgba(8,20,36,.45) 75%, rgba(8,20,36,.28) 100%); }
.ie-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: center; }
.ie-hero h1 { max-width: 700px; font-family: "Poppins", "Manrope", sans-serif; font-size: clamp(34px, 4.4vw, 56px); font-weight: 500; letter-spacing: -.015em; line-height: 1.12; }
.ie-hero .ca-lead { max-width: 620px; }

.ie-today { overflow: hidden; padding: 0 22px 22px; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: rgba(10,22,38,.62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; }
.ie-today-top { margin: 0 -22px 6px; padding: 18px 22px 16px; border-bottom: 1px solid rgba(212,170,80,.35); background: linear-gradient(135deg, rgba(212,170,80,.34), rgba(212,170,80,.12)); }
.ie-today-k { margin: 0; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ie-today-h { margin: 6px 0 0; font-family: "Poppins", sans-serif; font-size: 17px; font-weight: 500; }
.ie-today li:first-child { border-top: 0; }
.ie-today ul { margin: 0; padding: 0; list-style: none; }
.ie-today li { display: flex; gap: 12px; align-items: baseline; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.82); font-size: 14px; }
.ie-today li span { min-width: 64px; color: #fff; font-weight: 700; }
.ie-today li.is-now span, .ie-today li.is-next span { color: var(--gold); }
.ie-today li em { margin-left: auto; padding: 2px 8px; border-radius: 99px; background: rgba(212,170,80,.18); color: var(--gold); font-size: 11px; font-style: normal; font-weight: 700; white-space: nowrap; }
.ie-today li.is-past { opacity: .45; }
.ie-today-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--gold); font-weight: 700; text-decoration: none; }
.ie-today-cta .ca-btn-icon { width: 18px; height: 18px; }

.ie-hero-slots { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 6px; }
.ie-mini { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 14px 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(10,22,38,.58); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.ie-mini:hover { border-color: var(--gold); background: rgba(10,22,38,.78); transform: translateY(-2px); }
.ie-mini:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.ie-mini-i { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 8px; border-radius: 10px; background: rgba(212,170,80,.2); color: var(--gold); }
.ie-mini-i svg { width: 18px; height: 18px; }
.ie-mini-t { font-family: "Poppins", sans-serif; font-size: 19px; font-weight: 500; line-height: 1.15; }
.ie-mini-e { color: rgba(255,255,255,.62); font-size: 12.5px; }
.ie-mini-n { margin-top: 8px; color: var(--gold); font-size: 13px; font-weight: 700; }
.ie-mini-s { color: rgba(255,255,255,.72); font-size: 12px; }
.ie-path-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ie-path { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.ie-path:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(10,22,38,.1); }
.ie-path-i { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 8px; border-radius: 14px; background: rgba(212,170,80,.14); color: var(--gold-dark, #9c741f); }
.ie-path-i svg { width: 24px; height: 24px; }
.ie-path-k { color: var(--ink-soft); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ie-path strong { font-family: "Poppins", sans-serif; font-size: 22px; font-weight: 500; }
.ie-path p { margin: 2px 0 6px; color: var(--ink-soft); }
.ie-path-link { margin-top: auto; color: var(--gold-dark, #9c741f); font-weight: 700; }
.ie-path-soft { background: linear-gradient(160deg, var(--surface), rgba(212,170,80,.07)); }
.ie-unsure { margin: 18px 0 0; color: var(--ink-soft); }
.ie-unsure a { color: var(--gold-dark, #9c741f); font-weight: 700; }

.ie-sched { background: linear-gradient(180deg, rgba(212,170,80,.06), transparent 60%); }
.ie-filters { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 0 0 22px; }
.ie-fgroup { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ie-fgroup > span { margin-right: 4px; color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.ie-chip { min-height: 38px; padding: 0 16px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--ink); font: 600 14px/1 "Manrope", sans-serif; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.ie-chip:hover { border-color: var(--gold); }
.ie-chip.is-on { border-color: var(--navy, #0f1b33); background: var(--navy, #0f1b33); color: #fff; }
.ie-chip:focus-visible, .ie-book:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.ie-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.ie-slot { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.ie-slot:hover { border-color: rgba(212,170,80,.7); box-shadow: 0 14px 34px rgba(10,22,38,.08); }
.ie-slot[hidden] { display: none; }
.ie-slot.is-picked { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,170,80,.25); }
.ie-slot-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 24px; }
.ie-band { color: var(--ink-soft); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ie-live { padding: 3px 9px; border-radius: 99px; background: #e8f6ee; color: #1f7a4a; font-size: 11px; font-weight: 800; }
.ie-live.is-next { background: rgba(212,170,80,.16); color: var(--gold-dark, #9c741f); }
.ie-time { margin: 10px 0 2px; color: var(--ink); font-family: "Poppins", sans-serif; font-size: 28px; font-weight: 500; line-height: 1.15; }
.ie-time small { display: block; color: var(--ink-soft); font-size: 14px; font-weight: 400; }
.ie-slot h3 { margin: 10px 0 4px; color: var(--ink); font-size: 17px; }
.ie-meta { margin: 0; color: var(--ink-soft); font-size: 14px; }
.ie-modes { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 18px; }
.ie-mode { display: inline-block; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; }
.ie-mode-physical { background: #eaf2ff; color: #2f5fb3; }
.ie-mode-online { background: #e8f6ee; color: #1f7a4a; }
.ie-mode-hybrid { background: #f3ecff; color: #6a45b8; }
.ie-book { justify-content: center; width: 100%; margin-top: auto; }
.ie-slot-mock { border-style: dashed; border-color: rgba(212,170,80,.7); background: linear-gradient(160deg, var(--surface), rgba(212,170,80,.1)); }
.ie-empty { margin: 18px 0 0; color: var(--ink-soft); }
.ie-empty button, .ie-reset { border: 0; background: none; color: var(--gold-dark, #9c741f); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.ie-modes-key { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; color: var(--ink-soft); font-size: 13.5px; }
.ie-modes-key b { margin-right: 6px; }

.ie-skill-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ie-skill-grid > div { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.ie-skill-grid h3 { margin: 0 0 6px; color: var(--ink); font-size: 17px; }
.ie-skill-grid p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

.ie-picked { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(212,170,80,.12); }
.ie-picked[hidden] { display: none; }
.ie-picked span { color: var(--ink-soft); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ie-picked strong { color: var(--ink); font-size: 15px; }
.ie-picked button { margin-left: auto; border: 0; background: none; color: var(--gold-dark, #9c741f); font: inherit; font-weight: 700; cursor: pointer; }

.ie-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.ie-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ie-table th, .ie-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; color: var(--ink); }
.ie-table th { color: var(--ink-soft); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.ie-table tr:last-child td { border-bottom: 0; }
.ie-other-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 16px 0 0; }
.ie-other-links a { color: var(--gold-dark, #9c741f); font-weight: 700; }
.ie-faq-wrap { max-width: 860px; }

@media (max-width: 1020px) {
  .ie-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .ie-hero-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ie-today { max-width: 520px; }
  .ie-skill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .ie-hero { padding: 28px 0 32px; min-height: 0; }
  .ie-hero .im-hero-shade { background: linear-gradient(180deg, rgba(8,20,36,.84), rgba(8,20,36,.95)); }
  .ie-path-grid, .ie-skill-grid { grid-template-columns: 1fr; }
  .ie-hero-slots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding: 2px 20px 6px; scrollbar-width: none; }
  .ie-mini { flex: 0 0 132px; scroll-snap-align: start; }
  .ie-hero .ca-cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .ie-hero .ca-cta-row .ca-btn { grid-column: auto; justify-content: center; width: 100%; }
  .ie-path { padding: 20px; }
  .ie-filters { flex-direction: column; gap: 10px; }
  .ie-fgroup { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .ie-chip { flex: 0 0 auto; }
  .ie-time { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .ie-path, .ie-slot { transition: none; } .ie-path:hover { transform: none; } }
/* Laptop screens such as 1366x768: keep the whole banner, timing boxes included, above the fold */
@media (min-width: 1081px) and (max-height: 820px) {
  .ie-hero { min-height: 0; padding: 24px 0 22px; }
  .ie-hero-grid { gap: 18px 48px; }
  .ie-hero .ca-breadcrumb { margin-bottom: 10px; }
  .ie-hero .ca-eyebrow { margin-bottom: 8px; }
  .ie-hero h1 { font-size: clamp(32px, 3.4vw, 46px); }
  .ie-hero .ca-lead { margin-top: 10px; font-size: 15.5px; }
  .ie-hero .ca-cta-row { margin-top: 16px; }
  .ie-today-top { padding: 12px 22px 10px; }
  .ie-today li { padding: 6px 0; }
  .ie-today-cta { margin-top: 8px; }
  .ie-mini { padding: 10px 12px 12px; }
  .ie-mini-i { width: 26px; height: 26px; margin-bottom: 4px; }
  .ie-mini-n { margin-top: 4px; }
}
