/* Ehtesham Law — homepage "numbers + toppers" section and the exam-page conversion sections (Nov 2026).
   Loads after the other front styles. Tokens from el-2026.css. */

/* ---------- Homepage: numbers + topper slider ---------- */
.hl__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 992px) { .hl__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; } .hl__grid--full { grid-template-columns: 1fr; } }
.hl__cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .hl__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hl__card { display: flex; flex-direction: column; gap: 6px; padding: 20px 18px; background: #fff; border: 1px solid var(--el-line); border-radius: 18px; box-shadow: var(--el-shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.hl__card:hover { transform: translateY(-3px); box-shadow: var(--el-shadow); border-color: #f3d39a; }
.hl__card strong { font: 700 clamp(26px, 2.6vw, 34px)/1.05 var(--el-font-display); color: #c2410c; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.hl__card span { font-weight: 800; color: var(--el-ink); font-size: 15px; line-height: 1.35; }
.hl__card small { color: var(--el-muted); font-size: 13px; line-height: 1.45; margin-top: auto; padding-top: 4px; }
.hl__cta { margin-top: 24px; }
.hl__slider { position: relative; border-radius: 26px; overflow: hidden; background: var(--el-navy-900);
  box-shadow: 0 40px 70px -30px rgba(11, 34, 54, .55), 0 18px 30px -18px rgba(11, 34, 54, .35); max-width: 480px; width: 100%; justify-self: center; }
.hl__slider::after { content: ""; position: absolute; inset: auto 0 0; height: 46%; background: linear-gradient(180deg, transparent, rgba(7, 23, 38, .88)); pointer-events: none; }
.hl__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 5; }
.hl__track::-webkit-scrollbar { display: none; }
.hl__slide { flex: 0 0 100%; margin: 0; position: relative; scroll-snap-align: start; }
.hl__slide img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.hl__slide figcaption { position: absolute; left: 20px; right: 20px; bottom: 58px; z-index: 2; display: grid; gap: 6px; justify-items: start; color: #fff; }
.hl__slide figcaption strong { font: 700 22px/1.2 var(--el-font-display); text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.hl__badge { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--el-gold-500); color: var(--el-navy-950); font-size: 12.5px; font-weight: 800; letter-spacing: .02em; }
.hl__ctrl { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 10px; }
.hl__ctrl > button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; font-size: 12px; cursor: pointer; backdrop-filter: blur(6px); }
.hl__ctrl > button:hover { background: rgba(255, 255, 255, .3); }
.hl__dots { display: flex; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(7, 23, 38, .45); }
.hl__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .55); cursor: pointer; transition: width .2s, background .2s; }
.hl__dots button[aria-selected="true"] { width: 22px; background: var(--el-gold-500); }
.hl__ctrl button:focus-visible { outline: 3px solid var(--el-gold-400); outline-offset: 2px; }

/* ---------- Exam page: shared ---------- */
.ex-h2 { margin: 4px 0 6px !important; font: 700 clamp(22px, 2.3vw, 28px)/1.2 var(--el-font-display) !important; color: var(--el-ink); letter-spacing: -.01em; }
.ex-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ex-btn--line { background: transparent; border: 1.5px solid currentColor; color: inherit !important; }
.ex-btn--line:hover { background: rgba(255, 255, 255, .08); }

/* ---------- Start free + Get a call back ---------- */
.ex-top { background: var(--el-bg); padding: 28px 0 0; }
/* The band and the content below read as one layout: same columns, same 20px gap as between the cards. */
.ex-top + .ex-main { padding-top: 20px !important; }
@media (min-width: 992px) { .ex-top { padding-top: 36px; } }
.ex-top__grid { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 992px) { .ex-top__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; } .ex-top__grid--solo { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
.ex-free { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ex-free__head .ex-h2 { margin-bottom: 0 !important; }
.ex-free__grid { flex: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .ex-free__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; } }
.ex-free__card { height: 100%; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--el-line); color: var(--el-ink) !important; text-decoration: none !important; transition: transform .2s, box-shadow .2s, border-color .2s; }
.ex-free__card:hover { transform: translateY(-2px); box-shadow: var(--el-shadow); border-color: var(--el-gold-500); }
.ex-free__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--el-green-50); color: var(--el-green-600); font-size: 17px; }
.ex-free__txt { display: grid; gap: 3px; min-width: 0; }
.ex-free__card strong { font-size: 15.5px; line-height: 1.3; }
.ex-free__card small { font-size: 13px; color: var(--el-muted); line-height: 1.45; }
.ex-free__go { padding-top: 4px; font-size: 13.5px; font-weight: 800; color: var(--el-blue-600); }
.ex-free__go i { font-size: 11px; transition: transform .2s; }
.ex-free__card:hover .ex-free__go i { transform: translateX(3px); }
/* Results strip: sits at the bottom of the column so it lines up with the form. */
.ex-proof { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 20px; border-radius: 16px; color: #c9d6e4;
  background: radial-gradient(360px 160px at 100% 0%, rgba(242, 165, 43, .22), transparent 60%), linear-gradient(135deg, var(--el-navy-800), var(--el-navy-950)); }
.ex-proof ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.ex-proof li { display: grid; gap: 2px; }
.ex-proof strong { font: 700 24px/1.1 var(--el-font-display); color: var(--el-gold-400); }
.ex-proof span { font-size: 12.5px; line-height: 1.35; }
.ex-proof__link { font-size: 13.5px; font-weight: 800; color: #fff !important; text-decoration: none !important; white-space: nowrap; }
.ex-proof__link:hover { color: var(--el-gold-400) !important; }

.ex-cb__form { position: relative; height: 100%; padding: 18px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--el-line); box-shadow: 0 24px 50px -30px rgba(11, 34, 54, .45); }
.ex-cb__head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.ex-cb__icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--el-gold-50); color: #b26b00; font-size: 17px; }
.ex-cb__title { margin: 0 !important; font: 800 19px/1.25 var(--el-font) !important; color: var(--el-ink); }
.ex-cb__head p { margin: 2px 0 0; font-size: 13.5px; color: var(--el-muted); line-height: 1.45; }
.ex-cb__set { border: 0; padding: 0; margin: 0 0 10px; min-width: 0; }
.ex-cb__set legend, .ex-cb__lbl { display: block; float: none; width: auto; margin: 0 0 6px; padding: 0; font-size: 12.5px; font-weight: 800; color: var(--el-ink); }
.ex-cb__lbl small { font-weight: 500; color: var(--el-muted); }
.ex-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.ex-seg label { position: relative; cursor: pointer; }
.ex-seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.ex-seg span { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--el-line); background: #fff; font-size: 13px; font-weight: 700; color: var(--el-ink); transition: background .15s, border-color .15s; }
.ex-seg input:checked + span { background: var(--el-navy-800); border-color: var(--el-navy-800); color: #fff; }
.ex-seg input:focus-visible + span { box-shadow: 0 0 0 3px rgba(242, 165, 43, .45); }
.ex-cb__row { display: grid; gap: 10px; grid-template-columns: 1fr; margin-bottom: 4px; }
@media (min-width: 480px) { .ex-cb__row { grid-template-columns: 1fr 1.2fr; } }
.ex-cb__form .el-input { height: 44px; min-height: 44px; }
.ex-cb__tel { display: flex; align-items: stretch; }
.ex-cb__tel span { display: grid; place-items: center; padding: 0 10px; border: 1px solid var(--el-line); border-right: 0; border-radius: 12px 0 0 12px; background: var(--el-bg); font-size: 13.5px; font-weight: 700; color: var(--el-muted); }
.ex-cb__tel .el-input { border-radius: 0 12px 12px 0; min-width: 0; }
.ex-cb__tel .el-input.is-invalid { border-color: #dc2626; }
.ex-cb__err { min-height: 18px; margin: 4px 0 8px; font-size: 12.5px; font-weight: 700; color: #b42318; }
.ex-cb__fine { margin: 10px 0 0; font-size: 12px; color: var(--el-muted); text-align: center; }
.ex-cb__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ex-cb__done { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 16px 6px 6px; }
.ex-cb__done[hidden], [data-cb-fields][hidden] { display: none; }
.ex-cb__done > i { font-size: 40px; color: var(--el-green-600); }
.ex-cb__done strong { font-size: 17px; color: var(--el-ink); }
.ex-cb__done p { margin: 0 0 8px; font-size: 14px; color: var(--el-body); }

/* ---------- Syllabus ---------- */
.ex-syl__head p { margin: 6px 0 16px; color: var(--el-muted); font-size: 14px; }
.ex-syl { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.ex-syl__card { padding: 16px; border-radius: 14px; border: 1px solid var(--el-line); background: var(--el-bg-soft, #fafbfd); display: grid; gap: 10px; align-content: start; }
.ex-syl__top { display: flex; align-items: center; gap: 10px; }
.ex-syl__num { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--el-navy-800); color: var(--el-gold-400); font-weight: 800; font-size: 13px; }
.ex-syl__top h3 { margin: 0 !important; font: 800 15.5px/1.3 var(--el-font) !important; color: var(--el-ink); flex: 1; min-width: 0; }
.ex-syl__qs { flex: none; font-size: 11.5px; font-weight: 800; color: var(--el-green-600); background: var(--el-green-50); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.ex-syl__topics { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ex-syl__topics li { padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--el-line); font-size: 12.5px; font-weight: 600; color: var(--el-body); }
.ex-syl__how { margin: 0; font-size: 13.5px; color: var(--el-body); display: flex; gap: 8px; align-items: baseline; }
.ex-syl__how i { color: var(--el-gold-500); }

/* ---------- Super 60, Why, Toppers, Still deciding ---------- */
.ex-more { background: var(--el-bg); padding: 8px 0 48px; }
.ex-more > .el-container { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.ex-block { min-width: 0; }
.ex-s60 { display: grid; gap: 24px; align-items: center; padding: clamp(22px, 3vw, 36px); border-radius: 24px; color: #c9d6e4;
  background: radial-gradient(520px 260px at 92% 0%, rgba(242, 165, 43, .28), transparent 60%), linear-gradient(135deg, var(--el-navy-800), var(--el-navy-950)); box-shadow: 0 30px 60px -34px rgba(11, 34, 54, .7); }
@media (min-width: 900px) { .ex-s60 { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.ex-s60 .ex-h2 { color: #fff; }
.ex-s60 .el-eyebrow { color: var(--el-gold-400); }
.ex-s60 p { margin: 0 0 18px; max-width: 560px; }
.ex-s60 .ex-btn--line { color: #fff !important; border-color: rgba(255, 255, 255, .35); }
.ex-s60__stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.ex-s60__stats li { padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); }
.ex-s60__stats strong { display: block; font: 700 28px/1.1 var(--el-font-display); color: var(--el-gold-400); }
.ex-s60__stats span { font-size: 13px; line-height: 1.4; }
.ex-why { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.ex-why li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--el-line); }
.ex-why__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--el-blue-50); color: var(--el-blue-600); font-size: 18px; }
.ex-why strong { display: block; color: var(--el-ink); font-size: 15.5px; line-height: 1.3; margin-bottom: 4px; }
.ex-why p { margin: 0; font-size: 14px; color: var(--el-body); line-height: 1.5; }
.ex-toppers { position: relative; display: flex; overflow: hidden; padding: 6px 0 14px; outline: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ex-toppers ul { display: flex; flex-shrink: 0; gap: 16px; padding: 0 16px 0 0; margin: 0; list-style: none; }
.ex-toppers.is-moving ul { animation: ex-marquee var(--ex-dur, 40s) linear infinite; }
.ex-toppers:hover ul, .ex-toppers:focus-within ul, .ex-toppers:focus ul { animation-play-state: paused; }
.ex-toppers:focus-visible { box-shadow: 0 0 0 3px rgba(242, 165, 43, .5); border-radius: 18px; }
@keyframes ex-marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .ex-toppers { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .ex-toppers.is-moving ul { animation: none; }
  .ex-toppers ul[aria-hidden="true"] { display: none; }
}
.ex-topper { flex: none; width: 176px; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--el-line); box-shadow: var(--el-shadow-sm); transition: transform .25s, box-shadow .25s; }
.ex-topper:hover { transform: translateY(-4px); box-shadow: var(--el-shadow); }
.ex-topper img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; background: var(--el-bg); }
.ex-topper div { padding: 10px 12px 12px; display: grid; gap: 4px; }
.ex-topper strong { font-size: 14px; color: var(--el-ink); line-height: 1.3; }
.ex-topper span { font-size: 12px; font-weight: 700; color: var(--el-muted); }
.ex-topper span.is-rank { color: #b26b00; }
@media (max-width: 575.98px) { .ex-topper { width: 150px; } }
.ex-decide { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; padding: clamp(20px, 3vw, 30px); border-radius: 22px; background: #fff; border: 1px solid var(--el-line); box-shadow: var(--el-shadow-sm); }
.ex-decide p { margin: 0; color: var(--el-body); max-width: 560px; }
.ex-decide .ex-btn--line { color: var(--el-ink) !important; border-color: var(--el-line); }
.ex-decide .ex-btn--line:hover { background: var(--el-bg); }
@media (max-width: 575.98px) { .ex-decide .ex-btns .el-btn { flex: 1 1 100%; justify-content: center; } }

/* Still deciding: text left, buttons right on one row (wraps on smaller screens). */
.ex-decide { flex-wrap: nowrap; }
.ex-decide > div:first-child { flex: 1 1 auto; min-width: 0; display: flex; gap: 16px; align-items: center; }
.ex-decide > div:first-child::before { content: "\f590"; font: 900 20px/1 "Font Awesome 6 Free"; flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--el-gold-50); color: #b26b00; }
.ex-decide .ex-h2 { margin: 0 0 2px !important; }
.ex-decide .ex-btns { flex: none; }
@media (max-width: 1099.98px) { .ex-decide { flex-wrap: wrap; } .ex-decide .ex-btns { flex: 1 1 100%; } }
@media (max-width: 575.98px) { .ex-decide > div:first-child::before { display: none; } }

.ex-proof__link { margin-left: auto; }
@media (max-width: 575.98px) {
  .ex-proof { padding: 14px 16px; }
  .ex-proof ul { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .ex-proof strong { font-size: 20px; }
  .ex-proof span { font-size: 11.5px; }
  .ex-proof__link { margin-left: 0; }
}

/* ---------- Exam page: mock test series on a dark panel ---------- */
.ex-mocks { position: relative; overflow: hidden; padding: clamp(20px, 3vw, 30px); border-radius: 22px; color: #c9d6e4;
  background: radial-gradient(420px 220px at 100% 0%, rgba(242, 165, 43, .26), transparent 62%), radial-gradient(380px 240px at 0% 100%, rgba(43, 128, 220, .25), transparent 60%), linear-gradient(145deg, var(--el-navy-800), var(--el-navy-950));
  box-shadow: 0 30px 60px -36px rgba(11, 34, 54, .8); }
.ex-mocks::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px); background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.ex-mocks > * { position: relative; }
.ex-mocks .el-eyebrow { color: var(--el-gold-400); }
.ex-mocks .el-course__h { color: #fff !important; }
.ex-mocks .el-paperhead p { color: #a9bccf; }
.ex-mocks__chips { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ex-mocks__chips li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; font-weight: 700; color: #e6eef6; }
.ex-mocks__chips i { color: var(--el-gold-400); }
.ex-mocks .el-programs { margin-top: 4px; }
.ex-mocks .el-programs > * { box-shadow: 0 24px 40px -26px rgba(0, 0, 0, .7); border-color: transparent; }

.ex-mocks__try { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px); }
.ex-mocks__tryicon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(242, 165, 43, .16); color: var(--el-gold-400); font-size: 19px; }
.ex-mocks__try h3 { margin: 4px 0 0 !important; font: 700 20px/1.25 var(--el-font-display) !important; color: #fff !important; }
.ex-mocks__try p { margin: 0; font-size: 14px; color: #a9bccf; }
.ex-mocks__try ul { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 8px; font-size: 14px; color: #e6eef6; }
.ex-mocks__try ul i { color: #4ade80; margin-right: 6px; }
.ex-mocks__try .el-btn { margin-top: auto; justify-content: center; }
.ex-mocks__trylink { text-align: center; font-size: 13.5px; font-weight: 700; color: #cfe0f1 !important; text-decoration: underline !important; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .3) !important; }
.ex-mocks__trylink:hover { color: var(--el-gold-400) !important; }

/* ---------- Homepage: "What ELET looks like" — heading row + three equal cards ---------- */
.ep { position: relative; overflow: hidden; }
.ep::before, .ep::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; }
.ep::before { width: 420px; height: 420px; top: -160px; right: -120px; background: rgba(242, 165, 43, .14); animation: ep-float 16s ease-in-out infinite alternate; }
.ep::after { width: 380px; height: 380px; bottom: -180px; left: -120px; background: rgba(43, 128, 220, .1); animation: ep-float 18s ease-in-out infinite alternate-reverse; }
@keyframes ep-float { to { transform: translate(-50px, 40px) scale(1.12); } }
.ep > .el-container { position: relative; z-index: 1; }
.ep__head { margin-bottom: 28px !important; align-items: flex-end; }
.ep__head .el-lead { margin: 6px 0 0; max-width: 620px; }
.ep__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ep__grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
@media (min-width: 768px) { .ep__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ep__sched { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .ep__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ep__sched { grid-column: auto; } .ep__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ep__card { min-width: 0; height: 100%; }
.ep .el-card.ep__card, .ep__who { padding: 24px !important; border-radius: 22px; background: #fff; border: 1px solid var(--el-line); box-shadow: 0 18px 40px -30px rgba(11, 34, 54, .35); }
.ep__who { transition: transform .5s var(--el-ease), box-shadow .5s var(--el-ease); }
.ep__who:hover { box-shadow: 0 30px 60px -32px rgba(6, 20, 35, .4); }
.ep__cardhead { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.ep__cardhead h3 { margin: 0 0 2px !important; font-size: 18px !important; font-weight: 800; color: var(--el-ink); }
.ep__cardhead p { margin: 0; font-size: 13.5px; color: var(--el-muted); }
.ep__icon { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 18px; background: linear-gradient(135deg, var(--el-gold-400), var(--el-gold-500)); color: var(--el-navy-950); box-shadow: 0 10px 20px -12px rgba(242, 165, 43, .9); }
.ep__icon--blue { background: linear-gradient(135deg, #5aa2ec, var(--el-blue-600)); color: #fff; box-shadow: 0 10px 20px -12px rgba(22, 104, 196, .9); }
.ep__meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.ep__meta div { padding: 12px 8px; border-radius: 14px; background: var(--el-bg); text-align: center; transition: transform .3s, background .3s; }
.ep__meta div:hover { transform: translateY(-2px); background: var(--el-gold-50); }
.ep__meta strong { display: block; font: 700 24px/1.1 var(--el-font-display); color: var(--el-ink); font-variant-numeric: tabular-nums; }
.ep__meta .is-neg strong { color: var(--el-red-600); }
.ep__meta span { font-size: 12px; font-weight: 700; color: var(--el-muted); }
.ep__sub { margin: 0 0 10px !important; font-size: 12px !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--el-muted); }
.ep__checks { margin: 0 !important; gap: 10px !important; }
.ep__checks li { font-size: 14.5px !important; line-height: 1.45; }
.ep__checks li i { flex-basis: 24px !important; height: 24px !important; font-size: 11px !important; }
.ep .el-syllabus { gap: 14px; }
.ep .el-syllabus__name { font-size: 14.5px; }
.ep .el-syllabus__bar { height: 10px; }
.ep .el-syllabus__bar span { width: var(--w); position: relative; overflow: hidden; background: linear-gradient(90deg, var(--el-blue-600), #4c9be8); }
.ep .el-syllabus__bar span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); transform: translateX(-100%); }
.ep__sched .el-glance--solid { margin-top: 0 !important; height: 100%; border-radius: 22px; padding: 22px; box-shadow: 0 30px 60px -34px rgba(11, 34, 54, .75); }
.ep__sched .el-glance__top { margin-bottom: 18px; }
.ep__sched .el-glance__stat { transition: transform .3s, background .3s; }
.ep__sched .el-glance__stat:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .1); }
.ep__sched .el-timeline li { padding-bottom: 12px; font-size: 13.5px; }
.ep__sched .el-timeline li.is-next::after { animation: ep-ping 2.2s ease-out infinite; }
@keyframes ep-ping { 0% { box-shadow: 0 0 0 0 rgba(242, 165, 43, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(242, 165, 43, 0); } }
/* Motion, only once JavaScript says the card is on screen (data-ep-on), so nothing is hidden without it */
html.el-js .ep [data-ep-syl]:not(.is-go) .el-syllabus__bar span { width: 0; }
.ep .el-syllabus__bar span { transition: width 1.2s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 120ms + 150ms); }
.ep [data-ep-syl].is-go .el-syllabus__bar span::after { animation: ep-sheen 1.4s ease-out both; animation-delay: calc(var(--i, 0) * 120ms + 1.1s); }
@keyframes ep-sheen { to { transform: translateX(100%); } }
html.el-js .ep__sched:not(.is-go) .el-timeline li { opacity: 0; transform: translateX(-10px); }
.ep__sched .el-timeline li { transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--i, 0) * 90ms + 200ms); }
@media (prefers-reduced-motion: reduce) {
  .ep::before, .ep::after, .ep__sched .el-timeline li.is-next::after, .ep .el-syllabus__bar span::after { animation: none !important; }
  html.el-js .ep [data-ep-syl]:not(.is-go) .el-syllabus__bar span { width: var(--w); }
  html.el-js .ep__sched:not(.is-go) .el-timeline li { opacity: 1; transform: none; }
  .ep .el-syllabus__bar span, .ep__sched .el-timeline li { transition: none; }
}
@media (max-width: 575.98px) {
  .ep__head { margin-bottom: 20px !important; }
  .ep__actions { width: 100%; }
  .ep__actions .el-btn { flex: 1 1 0; justify-content: center; }
  .ep .el-card.ep__card, .ep__who, .ep__sched .el-glance--solid { padding: 18px !important; }
}

/* ---------- Homepage: selection posters loop on their own (per university tab) ---------- */
.el-rail.hp-marq { display: flex; gap: 0; overflow: hidden; padding: 6px 0 18px; scroll-snap-type: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.el-rail.hp-marq[hidden] { display: none; }
.hp-marq__set { display: flex; flex-shrink: 0; gap: 16px; padding-right: 16px; }
.hp-marq.is-moving .hp-marq__set { animation: hp-marquee var(--hp-dur, 40s) linear infinite; }
.hp-marq:hover .hp-marq__set, .hp-marq:focus-within .hp-marq__set, .hp-marq:focus .hp-marq__set { animation-play-state: paused; }
.hp-marq figure { flex: none; width: 240px; transition: transform .35s var(--el-ease), box-shadow .35s; }
.hp-marq figure:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--el-shadow); }
@keyframes hp-marquee { to { transform: translateX(-100%); } }
@media (max-width: 575.98px) { .hp-marq figure { width: 190px; } }
@media (prefers-reduced-motion: reduce) {
  .el-rail.hp-marq { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .hp-marq.is-moving .hp-marq__set { animation: none; }
  .hp-marq__set[aria-hidden="true"] { display: none; }
}

/* ---------- Homepage: our story + live faculty cards (Admin → Website → Team) ---------- */
.hp-story { display: grid; gap: 32px; align-items: center; }
@media (min-width: 992px) { .hp-story { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; } .hp-story--solo { grid-template-columns: minmax(0, 760px); } }
.hp-story__text p { font-size: 16px; }
.hp-story__facts { list-style: none; margin: 20px 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 460px; }
.hp-story__facts li { padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--el-line); }
.hp-story__facts strong { display: block; font: 700 24px/1.1 var(--el-font-display); color: var(--el-navy-800); }
.hp-story__facts span { font-size: 12.5px; font-weight: 700; color: var(--el-muted); }
.hp-story__links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.hp-faculty { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hp-teacher { margin: 0; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--el-line); box-shadow: var(--el-shadow-sm); transition: transform .4s var(--el-ease), box-shadow .4s var(--el-ease); }
.hp-teacher:nth-child(3n + 2) { margin-top: 22px; margin-bottom: -22px; }   /* gentle stagger, like a collage */
.hp-teacher:hover, html.el-motion .hp-teacher.el-reveal.is-settled:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(11, 34, 54, .55); }
.hp-teacher__ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(160deg, var(--el-navy-800), var(--el-navy-950)); }
.hp-teacher__ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .8s var(--el-ease); }
.hp-teacher:hover .hp-teacher__ph img { transform: scale(1.06); }
.hp-teacher__ph::after { content: ""; position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(180deg, transparent, rgba(7, 23, 38, .35)); }
.hp-teacher figcaption { padding: 10px 12px 12px; display: grid; gap: 2px; }
.hp-teacher strong { font-size: 14.5px; color: var(--el-ink); line-height: 1.3; }
.hp-teacher span { font-size: 12.5px; font-weight: 700; color: #b26b00; line-height: 1.35; }
.hp-teacher small { font-size: 12px; color: var(--el-muted); line-height: 1.4; }
@media (max-width: 991.98px) {
  .hp-faculty { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; scrollbar-width: thin; }
  .hp-teacher { flex: none; width: 170px; scroll-snap-align: start; }
  .hp-teacher:nth-child(3n + 2) { margin: 0; }
}

/* ---------- Homepage: FAQ in two columns (heading + help on the left, questions on the right) ---------- */
.hp-faq { display: grid; gap: 28px; align-items: start; }
@media (min-width: 992px) { .hp-faq { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 48px; } .hp-faq__side { position: sticky; top: calc(var(--el-header-h) + 24px); } }
.hp-faq__side .el-lead { margin: 6px 0 20px; }
.hp-faq__list { max-width: none !important; margin: 0 !important; }
.hp-faq__help { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 18px; color: #c9d6e4;
  background: radial-gradient(260px 140px at 100% 0%, rgba(242, 165, 43, .25), transparent 60%), linear-gradient(145deg, var(--el-navy-800), var(--el-navy-950)); box-shadow: 0 24px 48px -30px rgba(11, 34, 54, .7); }
.hp-faq__icon { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, var(--el-gold-400), var(--el-gold-500)); color: var(--el-navy-950); font-size: 18px; }
.hp-faq__help strong { color: #fff; font-size: 16px; }
.hp-faq__help p { margin: 4px 0 12px; font-size: 13.5px; color: #b9c9da; }
.hp-faq__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.hp-faq__help .el-btn--ghost { color: #fff !important; border-color: rgba(255, 255, 255, .3); }
.hp-faq__help .el-btn--ghost:hover { border-color: #fff; }
.hp-teacher--more { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 20px; text-decoration: none !important; color: #c9d6e4 !important; border-color: transparent;
  background: radial-gradient(240px 160px at 100% 0%, rgba(242, 165, 43, .28), transparent 60%), linear-gradient(150deg, var(--el-navy-800), var(--el-navy-950)); }
.hp-teacher__moreicon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--el-gold-400); font-size: 19px; margin-bottom: 6px; }
.hp-teacher--more strong { color: #fff; font: 700 19px/1.25 var(--el-font-display); }
.hp-teacher--more span { color: #b9c9da; font-weight: 600; }
.hp-teacher--more em { font-style: normal; margin-top: 8px; font-size: 13.5px; font-weight: 800; color: var(--el-gold-400); }
.hp-teacher--more em i { transition: transform .2s; }
.hp-teacher--more:hover em i { transform: translateX(4px); }

/* ---------- Law college page ---------- */
/* Section links under the header */
.cl-tabs { position: sticky; top: var(--el-header-h); z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--el-line); }
.cl-tabs__row { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 8px 0; }
.cl-tabs__row::-webkit-scrollbar { display: none; }
.cl-tabs a { flex: none; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--el-body) !important; text-decoration: none !important; white-space: nowrap; transition: background .2s, color .2s; }
.cl-tabs a:hover { background: var(--el-bg); color: var(--el-ink) !important; }
.cl-tabs a.is-on { background: var(--el-navy-800); color: #fff !important; }
.cl-sec { scroll-margin-top: calc(var(--el-header-h) + 70px); }
/* Quick facts */
.cl-facts-wrap { background: var(--el-bg); padding: 24px 0 0; }
.cl-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
@media (min-width: 640px) and (max-width: 1099.98px) { .cl-facts { grid-template-columns: repeat(min(var(--n, 3), 3), minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cl-facts { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); } .cl-facts li { padding: 12px 14px; } }
.cl-facts li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--el-line); min-width: 0; transition: transform .25s, box-shadow .25s; }
.cl-facts li:hover { transform: translateY(-2px); box-shadow: var(--el-shadow); }
.cl-facts__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--el-blue-50); color: var(--el-blue-600); font-size: 16px; }
.cl-facts li:nth-child(4n + 2) .cl-facts__icon { background: var(--el-gold-50); color: #b26b00; }
.cl-facts li:nth-child(4n + 3) .cl-facts__icon { background: var(--el-green-50); color: var(--el-green-600); }
.cl-facts small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--el-muted); }
.cl-facts strong { display: block; font-size: 14.5px; color: var(--el-ink); line-height: 1.35; overflow-wrap: anywhere; }
.cl-facts-wrap + .ex-top { padding-top: 20px; }
@media (min-width: 992px) { .cl-facts-wrap + .ex-top { padding-top: 24px; } }
/* Shared bits */
.cl-h3 { margin: 22px 0 12px !important; font-size: 16px !important; font-weight: 800; color: var(--el-ink); }
.cl-h3 small { font-weight: 600; color: var(--el-muted); font-size: 13px; }
.cl-note { font-size: 13px; margin: 10px 0 0; }
.cl-high { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.cl-high li { display: flex; gap: 8px; align-items: baseline; padding: 10px 12px; border-radius: 12px; background: var(--el-bg); font-size: 14.5px; color: var(--el-ink); }
.cl-high i { color: var(--el-green-600); }
/* Admission steps: a numbered path */
.cl-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.cl-steps li { position: relative; display: flex; gap: 14px; padding: 0 0 18px; }
.cl-steps li:last-child { padding-bottom: 0; }
.cl-steps li::before { content: ""; position: absolute; left: 17px; top: 38px; bottom: 2px; width: 2px; background: linear-gradient(var(--el-gold-400), var(--el-line)); }
.cl-steps li:last-child::before { display: none; }
.cl-steps__n { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--el-navy-800); color: var(--el-gold-400); font-weight: 800; font-size: 14px; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--el-line); }
.cl-steps li:first-child .cl-steps__n { background: linear-gradient(135deg, var(--el-gold-400), var(--el-gold-500)); color: var(--el-navy-950); }
.cl-steps strong { display: block; color: var(--el-ink); font-size: 15px; margin-top: 6px; }
.cl-steps p { margin: 2px 0 0; font-size: 14px; color: var(--el-body); }
html.el-js .cl-steps li { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--i, 0) * 110ms); }
html.el-js .is-in .cl-steps li { opacity: 1; transform: none; }
.cl-prep { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); margin-top: 18px; }
.cl-prep a { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--el-line); background: var(--el-bg-soft, #fafbfd); color: var(--el-ink) !important; text-decoration: none !important; transition: border-color .2s, transform .2s; }
.cl-prep a:hover { border-color: var(--el-gold-500); transform: translateY(-2px); }
.cl-prep i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--el-green-50); color: var(--el-green-600); flex: none; }
.cl-prep strong { display: block; font-size: 14px; }
.cl-prep small { font-size: 12.5px; color: var(--el-muted); }
/* Courses */
.cl-progs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.cl-prog { padding: 16px; border-radius: 16px; border: 1px solid var(--el-line); background: linear-gradient(180deg, #fff, var(--el-bg-soft, #fafbfd)); }
.cl-prog h3 { margin: 0 0 10px !important; font-size: 16px !important; font-weight: 800; color: var(--el-ink); }
.cl-prog dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.cl-prog dl div { padding: 8px; border-radius: 10px; background: var(--el-bg); }
.cl-prog dt { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--el-muted); }
.cl-prog dd { margin: 2px 0 0; font-size: 14px; font-weight: 800; color: var(--el-navy-800); overflow-wrap: anywhere; }
.cl-prog p { margin: 10px 0 0; font-size: 13.5px; color: var(--el-body); }
.cl-prog p i { color: var(--el-green-600); margin-right: 4px; }
/* Placements */
.cl-stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.cl-stats li { padding: 14px; border-radius: 14px; color: #c9d6e4; background: linear-gradient(145deg, var(--el-navy-800), var(--el-navy-950)); }
.cl-stats strong { display: block; font: 700 22px/1.15 var(--el-font-display); color: var(--el-gold-400); }
.cl-stats span { font-size: 12.5px; }
.cl-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cl-chips li { padding: 6px 12px; border-radius: 999px; background: var(--el-bg); border: 1px solid var(--el-line); font-size: 13.5px; font-weight: 700; color: var(--el-ink); }
/* Campus */
.cl-fac { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.cl-fac li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--el-bg); font-size: 14px; font-weight: 600; color: var(--el-ink); }
.cl-fac i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #fff; color: var(--el-blue-600); flex: none; }
.cl-hostel { display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: var(--el-gold-50); margin-bottom: 16px; }
.cl-hostel > i { color: #b26b00; font-size: 18px; margin-top: 3px; }
.cl-hostel p { margin: 2px 0 0; font-size: 14px; white-space: pre-line; }
.cl-loc { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; padding: 16px; border-radius: 16px; border: 1px dashed #cfd8e3; background: var(--el-bg-soft, #fafbfd); }
.cl-loc__pin { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #5aa2ec, var(--el-blue-600)); color: #fff; font-size: 18px; }
.cl-loc > div { flex: 1 1 220px; min-width: 0; }
.cl-loc strong { color: var(--el-ink); }
.cl-loc p { margin: 2px 0 0; font-size: 14px; color: var(--el-body); }
/* Side card key dates */
.cl-side-dates { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--el-line); }
.cl-side-dates > span { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--el-muted); }
.cl-side-dates ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.cl-side-dates li { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.cl-side-dates em { font-style: normal; color: var(--el-body); }
.cl-side-dates b { color: var(--el-ink); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { html.el-js .cl-steps li { opacity: 1; transform: none; transition: none; } }
@media (max-width: 639.98px) {
  .cl-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cl-facts li { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 12px; }
  .cl-facts__icon { width: 32px; height: 32px; font-size: 13px; border-radius: 10px; }
  .cl-facts strong { font-size: 13.5px; }
}

/* ---------- Course page ---------- */
[data-lf-fields][hidden], [data-lf-done][hidden] { display: none; }
/* Who it's for + outcomes */
.co-who { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.co-who li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--el-bg); }
.co-who__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--el-blue-600); font-size: 16px; box-shadow: var(--el-shadow-sm); }
.co-who strong { display: block; color: var(--el-ink); font-size: 15px; }
.co-who p { margin: 2px 0 0; font-size: 13.5px; color: var(--el-body); }
.co-out { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: o; }
.co-out li { counter-increment: o; position: relative; padding: 10px 12px 10px 48px; border-radius: 12px; border: 1px solid var(--el-line); font-size: 14.5px; color: var(--el-ink); }
.co-out li::before { content: counter(o); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--el-green-50); color: var(--el-green-600); font-weight: 800; font-size: 12.5px; }
/* Timetable */
.co-tt { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.co-tt li { display: grid; grid-template-columns: minmax(110px, 160px) minmax(120px, 170px) 1fr; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--el-bg); font-size: 14.5px; }
.co-tt__days { font-weight: 800; color: var(--el-navy-800); }
.co-tt__time { font-weight: 700; color: #b26b00; white-space: nowrap; }
.co-tt__what { color: var(--el-ink); }
@media (max-width: 575.98px) { .co-tt li { grid-template-columns: 1fr auto; } .co-tt__what { grid-column: 1 / -1; font-size: 14px; } }
/* Free demo */
.co-demo__grid { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 768px) { .co-demo__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } .co-demo__grid--solo { grid-template-columns: minmax(0, 1fr); } }
.co-demo .ex-cb__title { font-size: 17px !important; }
.co-sample { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 20px; text-decoration: none !important; color: #c9d6e4 !important;
  background: radial-gradient(260px 160px at 100% 0%, rgba(242, 165, 43, .26), transparent 60%), linear-gradient(150deg, var(--el-navy-800), var(--el-navy-950)); transition: transform .25s, box-shadow .25s; }
.co-sample:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -30px rgba(11, 34, 54, .8); }
.co-sample__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #ff8a80; font-size: 21px; }
.co-sample strong { color: #fff; font: 700 19px/1.25 var(--el-font-display); margin-top: 4px; }
.co-sample span { font-size: 13.5px; line-height: 1.5; }
.co-sample em { margin-top: auto; padding-top: 8px; font-style: normal; font-weight: 800; color: var(--el-gold-400); font-size: 14px; }
/* Faculty */
.co-fac { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.co-fac__card { margin: 0; display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; border: 1px solid var(--el-line); background: #fff; transition: border-color .2s, box-shadow .2s; }
.co-fac__card:hover { border-color: var(--el-gold-500); box-shadow: var(--el-shadow-sm); }
.co-fac__card img, .co-fac__init { flex: none; width: 64px; height: 64px; border-radius: 16px; object-fit: cover; object-position: top; }
.co-fac__init { display: grid; place-items: center; background: var(--el-navy-800); color: var(--el-gold-400); font-weight: 800; font-size: 20px; }
.co-fac__card strong { display: block; color: var(--el-ink); font-size: 15px; }
.co-fac__card span { display: block; font-size: 12.5px; font-weight: 700; color: #b26b00; }
.co-fac__card small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--el-muted); line-height: 1.4; }
/* Reviews */
.co-rev { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.co-rev__card { position: relative; margin: 0; display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--el-line); box-shadow: var(--el-shadow-sm); }
.co-rev__q { color: var(--el-gold-400); font-size: 20px; }
.co-rev__card blockquote { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--el-ink); }
.co-rev__card figcaption { margin-top: auto; display: flex; gap: 10px; align-items: center; }
.co-rev__card figcaption img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.co-rev__card figcaption strong { display: block; font-size: 14px; color: var(--el-ink); }
.co-rev__card figcaption small { font-size: 12.5px; color: var(--el-muted); }
/* Compare batches */
.co-cmp { overflow-x: auto; border-radius: 18px; border: 1px solid var(--el-line); background: #fff; box-shadow: var(--el-shadow-sm); }
.co-cmp table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.co-cmp th, .co-cmp td { padding: 12px 14px; border-bottom: 1px solid var(--el-line); text-align: left; vertical-align: middle; }
.co-cmp tbody tr:last-child th, .co-cmp tbody tr:last-child td { border-bottom: 0; }
.co-cmp thead th { font-size: 14.5px; font-weight: 800; color: var(--el-ink); background: var(--el-bg); }
.co-cmp thead th em { display: block; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #b26b00; }
.co-cmp tbody th { width: 140px; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--el-muted); }
.co-cmp td { color: var(--el-ink); }
.co-cmp .is-this { background: #fffaf0; box-shadow: inset 2px 0 0 var(--el-gold-500), inset -2px 0 0 var(--el-gold-500); }
.co-cmp thead .is-this { background: #fff3d6; }
.co-cmp__fee strong { font-size: 16px; }
.co-cmp__fee s { margin-left: 6px; color: var(--el-muted); font-size: 12.5px; }
/* Refund line in the buy box */
.co-refund { margin: 10px 0 0; font-size: 12.5px; color: var(--el-muted); }
.co-refund i { color: var(--el-blue-600); margin-right: 4px; }

/* ---------- Dashboard: admit card ready ---------- */
.ac-card { position: relative; overflow: hidden; display: grid; gap: 14px 20px; grid-template-columns: minmax(0, 1fr); margin: 0 0 20px; padding: 20px 22px; border-radius: 20px; color: #c9d6e4;
  background: radial-gradient(420px 220px at 100% 0%, rgba(242, 165, 43, .3), transparent 60%), linear-gradient(140deg, var(--el-navy-800, #123145), var(--el-navy-950, #071726)); box-shadow: 0 24px 50px -30px rgba(11, 34, 54, .8); }
@media (min-width: 760px) { .ac-card { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.ac-card__main { display: flex; gap: 16px; align-items: flex-start; min-width: 0; }
.ac-card__icon { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; color: #071726; background: linear-gradient(135deg, #f7b955, #f2a52b); box-shadow: 0 10px 24px -10px rgba(242, 165, 43, .9); animation: ac-pulse 2.6s ease-out infinite; }
@keyframes ac-pulse { 0% { box-shadow: 0 0 0 0 rgba(242, 165, 43, .5); } 80%, 100% { box-shadow: 0 0 0 14px rgba(242, 165, 43, 0); } }
.ac-card__eyebrow { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #f7b955; }
.ac-card h2 { margin: 2px 0 10px !important; font-size: 20px !important; font-weight: 800; color: #fff !important; }
.ac-card__facts { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ac-card__facts dt { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #8fa6bd; }
.ac-card__facts dd { margin: 0; font-size: 14.5px; font-weight: 700; color: #fff; }
.ac-card__side { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
@media (min-width: 760px) { .ac-card__side { flex-direction: column; align-items: stretch; min-width: 170px; } }
.ac-card__count { text-align: center; padding: 8px 14px; border-radius: 14px; background: rgba(255, 255, 255, .08); }
.ac-card__count strong { display: block; font-size: 26px; line-height: 1.1; color: #f7b955; }
.ac-card__count span { font-size: 12px; }
.ac-card__side .el-btn { justify-content: center; }
.ac-card__side .el-btn--ghost { color: #fff !important; border-color: rgba(255, 255, 255, .3); background: transparent; }
.ac-card__tip { grid-column: 1 / -1; margin: 0; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: #b9c9da; }
.ac-card__tip i { color: #f7b955; margin-right: 4px; }
@media (prefers-reduced-motion: reduce) { .ac-card__icon { animation: none; } }
/* ELET result: answer key buttons */
.el-examcard__keys { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }

/* ---------- Books shop ---------- */
.el-form-row--3 { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .el-form-row--3 { grid-template-columns: 1fr 1.3fr 1.3fr; } }
.bk-filter { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 0 20px; padding-bottom: 2px; }
.bk-filter a { flex: none; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--el-line); font-size: 14px; font-weight: 700; color: var(--el-ink) !important; text-decoration: none !important; }
.bk-filter a.is-on { background: var(--el-navy-800); border-color: var(--el-navy-800); color: #fff !important; }
.bk-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.bk-card { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--el-line); box-shadow: var(--el-shadow-sm); transition: transform .3s, box-shadow .3s; }
.bk-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(11, 34, 54, .5); }
.bk-card__cover { position: relative; display: grid; place-items: center; padding: 22px 22px 16px; background: linear-gradient(160deg, #eef3f9, #f8f5ee); }
.bk-card__cover img { width: 68%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px 10px 10px 6px; box-shadow: -6px 0 0 -2px rgba(0, 0, 0, .08), 0 18px 30px -14px rgba(11, 34, 54, .55); transition: transform .4s; }
.bk-card:hover .bk-card__cover img { transform: translateY(-4px) rotate(-1.5deg); }
.bk-card__flag { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: var(--el-gold-500); color: var(--el-navy-950); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.bk-card__flag--out { left: auto; right: 12px; background: #fee2e2; color: #b42318; }
.bk-card.is-out .bk-card__cover img { filter: grayscale(.6); opacity: .8; }
.bk-card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.bk-card h3 { margin: 0 !important; font-size: 16px !important; font-weight: 800; line-height: 1.3; }
.bk-card h3 a { color: var(--el-ink) !important; text-decoration: none !important; }
.bk-card__by { margin: 0; font-size: 13px; color: var(--el-muted); }
.bk-card__sub { margin: 0; font-size: 13.5px; color: var(--el-body); line-height: 1.45; }
.bk-card__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.bk-card__price strong { font-size: 20px; color: var(--el-ink); }
.bk-card__price s { font-size: 13px; color: var(--el-muted); }
.bk-card__price em { font-style: normal; font-size: 12px; font-weight: 800; color: #16a34a; }
.bk-card__ship { margin: 0; font-size: 12.5px; color: var(--el-muted); }
.bk-card__ship i { color: var(--el-blue-600); margin-right: 3px; }
.bk-card__btn { margin-top: auto; justify-content: center; }
.bk-trust { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.bk-trust li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--el-line); font-size: 13.5px; color: var(--el-body); }
.bk-trust i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--el-gold-50); color: #b26b00; font-size: 16px; }
.bk-trust strong { display: block; color: var(--el-ink); font-size: 14.5px; }
/* Book page */
.bk-hero { background: linear-gradient(180deg, #fff, var(--el-bg)); padding: 22px 0 36px; }
.bk-crumbs { font-size: 13px; color: var(--el-muted); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bk-crumbs a { color: var(--el-blue-600) !important; }
.bk-crumbs i { font-size: 9px; opacity: .6; }
.bk-hero__grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .bk-hero__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; } }
.bk-gallery__main { display: grid; place-items: center; padding: 30px; border-radius: 24px; background: radial-gradient(circle at 30% 20%, #fff, #eaf0f7 70%); border: 1px solid var(--el-line); }
.bk-gallery__main img { width: min(78%, 340px); aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px 12px 12px 6px; box-shadow: -8px 0 0 -3px rgba(0, 0, 0, .08), 0 34px 50px -24px rgba(11, 34, 54, .6); }
.bk-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.bk-gallery__thumbs button { flex: none; width: 64px; height: 80px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: #fff; cursor: pointer; }
.bk-gallery__thumbs button[aria-current="true"] { border-color: var(--el-gold-500); }
.bk-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.bk-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.bk-tags a { padding: 4px 10px; border-radius: 999px; background: var(--el-blue-50); color: var(--el-blue-600) !important; font-size: 12.5px; font-weight: 800; text-decoration: none !important; }
.bk-info h1 { margin: 0 0 6px !important; font: 700 clamp(26px, 3.2vw, 38px)/1.15 var(--el-font-display) !important; color: var(--el-ink); }
.bk-info__by { margin: 0; color: var(--el-body); }
.bk-info__sub { margin: 10px 0 0; font-size: 16px; color: var(--el-body); }
.bk-buy { margin-top: 20px; padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--el-line); box-shadow: 0 24px 50px -36px rgba(11, 34, 54, .5); }
.bk-buy__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.bk-buy__price strong { font-size: 32px; color: var(--el-ink); line-height: 1; }
.bk-buy__price s { color: var(--el-muted); }
.bk-buy__price em { font-style: normal; padding: 3px 8px; border-radius: 999px; background: #e8f7ee; color: #157a43; font-size: 12.5px; font-weight: 800; }
.bk-buy__ship { margin: 8px 0 14px; font-size: 14px; color: var(--el-body); }
.bk-buy__ship i { color: var(--el-blue-600); margin-right: 4px; }
.bk-buy__form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.bk-qty { display: grid; gap: 4px; margin: 0; }
.bk-qty > span:first-child { font-size: 12.5px; font-weight: 800; color: var(--el-ink); }
.bk-qty__ctl { display: inline-flex; align-items: stretch; border: 1px solid var(--el-line); border-radius: 12px; overflow: hidden; height: 48px; }
.bk-qty__ctl button { width: 42px; border: 0; background: var(--el-bg); font-size: 18px; font-weight: 800; color: var(--el-ink); cursor: pointer; }
.bk-qty__ctl button:hover { background: var(--el-gold-50); }
.bk-qty__ctl input { width: 52px; border: 0; text-align: center; font: 800 16px var(--el-font); color: var(--el-ink); -moz-appearance: textfield; }
.bk-qty__ctl input::-webkit-outer-spin-button, .bk-qty__ctl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bk-buy__btn { flex: 1 1 200px; height: 48px; justify-content: center; font-size: 16px; }
.bk-buy__stock { margin: 10px 0 0; font-size: 13px; font-weight: 700; color: #b45309; }
.bk-buy__out { margin: 0 0 10px; font-weight: 700; color: #b42318; }
.bk-buy__trust { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--el-line); display: grid; gap: 8px; font-size: 13.5px; color: var(--el-body); }
.bk-buy__trust i { width: 18px; color: var(--el-green-600); }
.bk-sample { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 14px 16px; border-radius: 16px; border: 1px dashed #cfd8e3; background: #fff; color: var(--el-ink) !important; text-decoration: none !important; transition: border-color .2s; }
.bk-sample:hover { border-color: var(--el-gold-500); }
.bk-sample > i:first-child { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--el-gold-50); color: #b26b00; font-size: 17px; flex: none; }
.bk-sample span { flex: 1; font-size: 14px; color: var(--el-body); }
.bk-sample strong { color: var(--el-ink); margin-right: 4px; }
.bk-toc { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.bk-toc li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--el-bg); font-size: 14.5px; color: var(--el-ink); }
.bk-toc span { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--el-navy-800); color: var(--el-gold-400); font-weight: 800; font-size: 12.5px; }
.bk-facts { margin: 10px 0 0; display: grid; gap: 8px; }
.bk-facts div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--el-line); }
.bk-facts dt { color: var(--el-muted); font-weight: 600; }
.bk-facts dd { margin: 0; color: var(--el-ink); font-weight: 700; text-align: right; }
.bk-sum__item { display: flex; gap: 12px; align-items: center; }
.bk-sum__item img { width: 64px; height: 86px; object-fit: cover; border-radius: 4px 8px 8px 4px; box-shadow: 0 10px 20px -12px rgba(11, 34, 54, .6); }
.bk-sum__item strong { display: block; font-size: 15px; color: var(--el-ink); line-height: 1.3; }
.bk-sum__item span { display: block; font-size: 13.5px; color: var(--el-muted); }
.bk-sum__item a { font-size: 13px; font-weight: 700; }
/* Student dashboard: delivery status */
.bk-track { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin-top: 6px; }
.bk-track__st { display: inline-flex; gap: 6px; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: #fff4e0; color: #9a5b00; }
.bk-track__st.is-shipped { background: #e8f1fd; color: #1668c4; }
.bk-track__st.is-delivered { background: #e8f7ee; color: #157a43; }
.bk-track__st.is-cancelled { background: #f1f3f6; color: #6a7687; }
.bk-track small { font-size: 12.5px; color: var(--el-muted); }

/* ---------- Checkout (books, courses, test series) ---------- */
.ck { background: linear-gradient(180deg, #f4f7fb 0, var(--el-bg) 340px); }
.ck-top { background: var(--el-navy-800); color: #fff; padding: 14px 0; position: relative; overflow: hidden; }
.ck-top::after { content: ""; position: absolute; right: -80px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 165, 43, .28), transparent 65%); pointer-events: none; }
.ck-top__row { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; position: relative; z-index: 1; }
.ck-top__back { display: inline-flex; align-items: center; gap: 8px; color: #cfe0f3 !important; font-size: 14px; font-weight: 700; text-decoration: none !important; }
.ck-top__back:hover { color: #fff !important; }
.ck-top__title { font: 700 18px/1.2 var(--el-font-display); color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.ck-top__title i { font-size: 13px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(34, 197, 94, .18); color: #4ade80; }
.ck-steps { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; gap: 6px; }
.ck-steps li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: #9fb6cf; font-size: 13px; font-weight: 700; transition: background .3s, color .3s; }
.ck-steps li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); font-size: 11.5px; font-weight: 800; transition: background .3s; }
.ck-steps li.is-on { background: rgba(242, 165, 43, .16); color: #fff; }
.ck-steps li.is-on span { background: var(--el-gold-500); color: var(--el-navy-950); }
.ck-steps li.is-done { color: #bbf7d0; }
.ck-steps li.is-done span { background: #22c55e; color: #fff; font-size: 0; }
.ck-steps li.is-done span::before { content: "\f00c"; font: 900 10px "Font Awesome 6 Free"; }
@media (max-width: 899.98px) { .ck-steps { width: 100%; margin: 0; } .ck-steps li { flex: 1; justify-content: center; } .ck-top__title { margin-left: auto; font-size: 16px; } }
@media (max-width: 420px) { .ck-top__back span { display: none; } .ck-steps li { font-size: 12px; padding-right: 8px; } }

.ck-body { padding: 26px 0 60px; }
.ck-grid { display: grid; gap: 22px; align-items: start; }
@media (min-width: 992px) { .ck-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; } .ck-side { position: sticky; top: 96px; } }
.ck-main { min-width: 0; }
.ck-card { background: #fff; border: 1px solid var(--el-line); border-radius: 20px; padding: 20px; margin-bottom: 16px; box-shadow: 0 18px 40px -34px rgba(11, 34, 54, .45); animation: ck-in .5s both; }
.ck-card:nth-child(3) { animation-delay: .06s; } .ck-card:nth-child(4) { animation-delay: .12s; } .ck-card:nth-child(5) { animation-delay: .18s; }
@keyframes ck-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ck-card { animation: none; } }
@media (min-width: 640px) { .ck-card { padding: 24px 26px; } }
.ck-card__head { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 18px; }
.ck-card__head > div { flex: 1; min-width: 180px; }
.ck-card__head h2 { margin: 0 !important; font: 700 19px/1.25 var(--el-font-display) !important; color: var(--el-ink); }
.ck-card__head p { margin: 3px 0 0; font-size: 13.5px; color: var(--el-muted); }
.ck-card__aside { font-size: 13px; font-weight: 700; color: var(--el-blue-600) !important; text-decoration: none !important; padding: 6px 12px; border-radius: 999px; background: var(--el-blue-50); }
.ck-num { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--el-navy-800); color: var(--el-gold-400); font-weight: 800; font-size: 14px; }
.ck-fields { display: grid; gap: 14px; }
@media (min-width: 640px) { .ck-fields { grid-template-columns: 1fr 1fr; gap: 16px 16px; } }
.ck-f { display: grid; gap: 6px; align-content: start; min-width: 0; }
.ck-f--full { grid-column: 1 / -1; }
.ck-f label { font-size: 13px; font-weight: 800; color: var(--el-ink); }
.ck-f label small { font-weight: 600; color: var(--el-muted); margin-left: 4px; }
.ck-in { width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid #d9e1ea; border-radius: 12px; background: #fbfcfe; font: 500 15.5px var(--el-font); color: var(--el-ink); transition: border-color .2s, box-shadow .2s, background .2s; outline: 0; }
select.ck-in { appearance: none; -webkit-appearance: none; padding-right: 38px; background: #fbfcfe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236a7687' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; }
.ck-in:focus, .ck-in--pre:focus-within { border-color: var(--el-blue-600); background-color: #fff; box-shadow: 0 0 0 4px rgba(22, 104, 196, .12); }
.ck-in.is-valid, .ck-in--pre.is-valid { border-color: #86d3a5; }
.ck-in.is-invalid, .ck-in--pre.is-invalid { border-color: #f04438; background-color: #fff8f7; }
.ck-in--pre { display: flex; align-items: center; padding: 0; overflow: hidden; }
.ck-in--pre span { padding: 0 10px 0 14px; color: var(--el-muted); font-weight: 700; border-right: 1px solid #e3e9f0; height: 60%; display: flex; align-items: center; }
.ck-in--pre input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; padding: 0 12px; font: 500 15.5px var(--el-font); color: var(--el-ink); outline: 0; letter-spacing: .02em; }
.ck-in::placeholder, .ck-in--pre input::placeholder { color: #a3afbd; }
.ck-err { font-size: 12.5px; font-weight: 600; color: #d92d20; min-height: 0; }
.ck-err:empty { display: none; }
.ck-hint { font-size: 12.5px; font-weight: 700; color: #157a43; }
.ck-hint:empty { display: none; }
.ck-hint::before { content: "\f3c5"; font: 900 11px "Font Awesome 6 Free"; margin-right: 5px; }
.ck-more summary { cursor: pointer; list-style: none; font-size: 13.5px; font-weight: 700; color: var(--el-blue-600); width: max-content; }
.ck-more summary::-webkit-details-marker { display: none; }
.ck-more summary i { font-size: 11px; margin-right: 4px; transition: transform .2s; }
.ck-more[open] summary i { transform: rotate(45deg); }
.ck-more[open] .ck-in { margin-top: 10px; }
.ck-check { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--el-body); cursor: pointer; }
.ck-check input { width: 18px; height: 18px; accent-color: var(--el-navy-800); flex: none; }
.ck-methods { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .ck-methods { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ck-methods li { display: grid; justify-items: center; gap: 2px; padding: 14px 8px; border-radius: 14px; border: 1px solid var(--el-line); background: var(--el-bg); text-align: center; font-size: 14px; font-weight: 800; color: var(--el-ink); }
.ck-methods i { font-size: 20px; color: var(--el-navy-800); margin-bottom: 4px; }
.ck-methods small { font-size: 11.5px; font-weight: 600; color: var(--el-muted); }
.ck-pay { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 56px; margin-top: 18px; border: 0; border-radius: 14px; cursor: pointer;
    background: linear-gradient(135deg, #f7b955, var(--el-gold-500)); color: var(--el-navy-950); font: 800 17px var(--el-font); box-shadow: 0 16px 30px -16px rgba(242, 165, 43, .9); transition: transform .2s, box-shadow .2s, filter .2s; }
.ck-pay::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-100%); animation: ck-shine 3.2s 1s infinite; }
@keyframes ck-shine { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .ck-pay::after { animation: none; } }
.ck-pay:hover { transform: translateY(-1px); box-shadow: 0 20px 34px -16px rgba(242, 165, 43, 1); }
.ck-pay:disabled { filter: saturate(.4); cursor: progress; transform: none; }
.ck-pay b { font-weight: 900; }
.ck-legal { margin: 12px 0 0; text-align: center; font-size: 12.5px; color: var(--el-muted); }
.ck-legal a { color: var(--el-blue-600) !important; }

/* Summary */
.ck-sum { background: #fff; border: 1px solid var(--el-line); border-radius: 20px; padding: 20px; box-shadow: 0 24px 50px -36px rgba(11, 34, 54, .5); }
.ck-sum h3 { margin: 0 0 14px !important; font: 700 17px var(--el-font-display) !important; color: var(--el-ink); }
.ck-item { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px dashed var(--el-line); }
.ck-item img { width: 72px; height: 96px; flex: none; object-fit: cover; border-radius: 4px 9px 9px 4px; box-shadow: -4px 0 0 -1px rgba(0, 0, 0, .08), 0 12px 22px -12px rgba(11, 34, 54, .6); }
.ck-item__icon { width: 56px; height: 56px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--el-navy-800); color: var(--el-gold-400); font-size: 22px; }
.ck-item__info { display: grid; gap: 3px; min-width: 0; }
.ck-item__info strong { font-size: 15px; line-height: 1.3; color: var(--el-ink); }
.ck-item__info > span { font-size: 13px; color: var(--el-muted); }
.ck-item__price { color: var(--el-ink) !important; font-weight: 800; font-size: 14.5px !important; }
.ck-item__price s { color: var(--el-muted); font-weight: 500; margin-left: 4px; font-size: 13px; }
.ck-qty { display: inline-flex; align-items: center; margin-top: 6px; border: 1px solid var(--el-line); border-radius: 10px; overflow: hidden; width: max-content; }
.ck-qty button { width: 34px; height: 32px; border: 0; background: var(--el-bg); font-size: 17px; font-weight: 800; color: var(--el-ink); cursor: pointer; transition: background .2s; }
.ck-qty button:hover:not(:disabled) { background: var(--el-gold-50); }
.ck-qty button:disabled { opacity: .35; cursor: not-allowed; }
.ck-qty output { min-width: 36px; text-align: center; font-weight: 800; font-size: 15px; color: var(--el-ink); }
.ck-stock { margin: 10px 0 0; font-size: 12.5px; font-weight: 700; color: #b45309; }
.ck-rows { margin: 14px 0 0; display: grid; gap: 9px; }
.ck-rows > div { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; }
.ck-rows dt { color: var(--el-body); font-weight: 500; }
.ck-rows dd { margin: 0; color: var(--el-ink); font-weight: 700; }
.ck-rows .is-save dt, .ck-rows .is-save dd { color: #157a43; }
.ck-rows .is-save dt span { font-size: 12px; font-weight: 800; padding: 1px 7px; border-radius: 6px; background: #e8f7ee; margin-left: 4px; }
.ck-rows__total { padding-top: 12px; margin-top: 3px; border-top: 1px solid var(--el-line); align-items: baseline; }
.ck-rows__total dt { font-weight: 800 !important; color: var(--el-ink) !important; font-size: 16px; }
.ck-rows__total dd { font-size: 24px; font-weight: 900 !important; }
.ck-saved { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: #e8f7ee; color: #157a43; font-size: 13px; font-weight: 600; text-align: center; }
.ck-coupon { display: flex; gap: 8px; margin-top: 14px; }
.ck-coupon .ck-in { height: 44px; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; }
.ck-coupon__btn { flex: none; padding: 0 16px; border: 0; border-radius: 12px; background: var(--el-navy-800); color: #fff; font-weight: 800; font-size: 14px; cursor: pointer; transition: background .2s; }
.ck-coupon__btn:hover { background: var(--el-navy-950); }
.ck-coupon__msg { margin: 8px 0 0; font-size: 13px; font-weight: 600; }
.ck-coupon__msg.is-ok { color: #157a43; } .ck-coupon__msg.is-err { color: #d92d20; }
.ck-eta { display: flex; gap: 12px; align-items: center; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--el-blue-50); }
.ck-eta i { font-size: 18px; color: var(--el-blue-600); }
.ck-eta strong { display: block; font-size: 13px; color: var(--el-ink); }
.ck-eta span { font-size: 14px; font-weight: 700; color: var(--el-blue-600); }
.ck-trust { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--el-line); display: grid; gap: 8px; font-size: 13px; color: var(--el-body); }
.ck-trust i { width: 18px; color: #16a34a; margin-right: 6px; }
.ck-perks { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 7px; font-size: 13.5px; color: var(--el-body); }
.ck-perks i { color: #16a34a; width: 18px; margin-right: 4px; }

/* Done */
.ck-done { text-align: center; padding: 34px 22px !important; }
.ck-done__icon { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: #22c55e; color: #fff; font-size: 32px; box-shadow: 0 0 0 12px #dcfce7; animation: ck-pop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes ck-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.ck-done h2 { margin: 0 0 6px !important; font: 700 24px var(--el-font-display) !important; color: var(--el-ink); }
.ck-done > p { margin: 0 auto; max-width: 480px; color: var(--el-body); }
.ck-track { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; position: relative; text-align: center; }
.ck-track::before { content: ""; position: absolute; top: 19px; left: 12.5%; right: 12.5%; height: 3px; background: var(--el-line); border-radius: 3px; }
.ck-track li { position: relative; display: grid; justify-items: center; gap: 3px; font-size: 13px; }
.ck-track li > span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--el-line); color: var(--el-muted); font-size: 15px; margin-bottom: 4px; }
.ck-track li.is-done > span { background: #22c55e; border-color: #22c55e; color: #fff; }
.ck-track b { color: var(--el-ink); }
.ck-track small { font-size: 11.5px; color: var(--el-muted); line-height: 1.3; }
.ck-done__btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }

/* Phone pay bar */
.ck-bar { display: none; }
@media (max-width: 991.98px) {
    .ck-bar:not([hidden]) { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--el-line); box-shadow: 0 -10px 30px -18px rgba(11, 34, 54, .45); }
    .ck-bar small { display: block; font-size: 12px; color: var(--el-muted); }
    .ck-bar strong { font-size: 20px; color: var(--el-ink); }
    .ck-pay--sm { width: auto; height: 46px; margin: 0; padding: 0 22px; font-size: 15.5px; }
    .ck .ck-body { padding-bottom: 96px; }
    .ck-side { order: -1; }
}
/* Checkout has its own pay bar: hide the site's call / WhatsApp bar and bubble there. */
body:has(.ck) .el-mobile-cta, body:has(.ck) .el-fab { display: none !important; }
.ck-item img.ck-item__thumb { width: 92px; height: 68px; flex: none; object-fit: cover; border-radius: 12px; box-shadow: 0 10px 20px -12px rgba(11, 34, 54, .55); }
.ck-track--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ck-track--3::before { left: 16.6%; right: 16.6%; }
.ck-cbox { margin-top: 14px; }
.ck-cbox .el-coupon { margin: 0; }
.ck-note { margin: 10px 0 0; font-size: 13px; color: var(--el-muted); }
.ck-sum .ck-item:last-of-type { border-bottom: 1px dashed var(--el-line); }
@media (max-width: 991.98px) { .ck-trust { display: none; } }

/* ---------- Course certificate (/certificates/{code}) ---------- */
.cert-page { background: linear-gradient(180deg, #eef3f9, var(--el-bg)); padding: 26px 0 60px; }
.cert-verify { display: flex; gap: 12px; align-items: center; max-width: 1000px; margin: 0 auto 20px; padding: 14px 18px; border-radius: 16px; background: #e8f7ee; color: #14532d; border: 1px solid #bfe6cd; }
.cert-verify i { font-size: 24px; color: #16a34a; }
.cert-verify strong { display: block; font-size: 16px; }
.cert-verify span { font-size: 13.5px; }
.cert-verify.is-bad { background: #fef2f2; color: #7f1d1d; border-color: #fecaca; }
.cert-verify.is-bad i { color: #dc2626; }
.cert-scroll { overflow: hidden; padding-bottom: 6px; }
/* ---------- The certificate (1000 × 707, A4 landscape; phones scale it, print fills the page) ----------
   A navy side band (logo, partner, gold medal, QR to verify) and a white main panel with a fine gold frame and a faint
   crest watermark: “Certificate · of completion”, the name, the course, and the date / signatory on lines that line up. */
.cert { width: 1000px; max-width: none; margin: 0 auto; aspect-ratio: 1.414 / 1; padding: 0; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 34px 70px -40px rgba(11, 34, 54, .7), 0 0 0 1px rgba(11, 34, 54, .08); }
.cert.is-scaled { transform-origin: top left; margin: 0; }
.cert__inner { position: relative; height: 100%; display: grid; grid-template-columns: 252px minmax(0, 1fr); }

.cert__band {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 40px 26px 30px; color: #fff; text-align: center;
    background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 12px), linear-gradient(165deg, #133c66 0%, #0b2a4a 50%, #071b30 100%);
}
.cert__band::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, #f7c86e, #d98a12 50%, #f7c86e); }
.cert__brand { pointer-events: none; flex-direction: column; gap: 10px; text-align: center; }   /* stacked: crest above the name, fits the band */
.cert__brand .el-brand__crest { width: 58px; height: auto; }
.cert__brand .el-brand__text { align-items: center; }
.cert__brand .el-brand__name { font-size: 21px; }
.cert__partner { display: grid; gap: 6px; justify-items: center; }
.cert__partner small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.cert__partner span { display: inline-flex; align-items: center; gap: 8px; }
.cert__partner img { width: 34px; height: 34px; object-fit: contain; border-radius: 8px; background: #fff; padding: 3px; }
.cert__partner b { font: 800 15px/1.2 var(--el-font); color: #fff; }

.cert__medal { position: relative; margin-top: auto; width: 112px; height: 112px; }
.cert__medal::before, .cert__medal::after { content: ""; position: absolute; bottom: -24px; width: 30px; height: 52px; background: linear-gradient(180deg, #eaa83c, #c27a0e); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%); }
.cert__medal::before { left: 26px; transform: rotate(14deg); }
.cert__medal::after { right: 26px; transform: rotate(-14deg); }
.cert__medal-core {
    position: relative; z-index: 1; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; color: #fff; font-size: 44px;
    background: radial-gradient(circle at 35% 30%, #ffe3a6, #f2a52b 46%, #c9800f 100%);
    box-shadow: 0 0 0 5px rgba(255, 255, 255, .14), 0 0 0 7px rgba(242, 165, 43, .55), inset 0 0 0 4px rgba(255, 255, 255, .35); text-shadow: 0 2px 4px rgba(120, 70, 0, .35);
}

.cert__verify { margin-top: auto; display: grid; justify-items: center; gap: 8px; }
.cert__qrbox { padding: 8px; border-radius: 10px; background: #fff; line-height: 0; }
.cert__qrbox img, .cert__qrbox canvas { display: block; }
.cert__verify small { max-width: 196px; font-size: 10.5px; line-height: 1.45; color: rgba(255, 255, 255, .72); overflow-wrap: anywhere; }

.cert__main {
    position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 40px 60px 40px 58px; overflow: hidden;
    background: radial-gradient(circle at 100% 0, rgba(242, 165, 43, .12), transparent 42%), radial-gradient(circle at 0 100%, rgba(11, 42, 74, .05), transparent 46%), #fff;
}
.cert__main::before { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(242, 165, 43, .45); border-radius: 6px; pointer-events: none; }
.cert__main::after { content: ""; position: absolute; right: -50px; bottom: -40px; width: 340px; height: 340px; background: url('../img/logo-crest.png') no-repeat center / contain; opacity: .05; pointer-events: none; }
.cert__main > * { position: relative; z-index: 1; }
.cert__no { align-self: flex-end; margin: 0; font: 600 11.5px var(--el-font); letter-spacing: .08em; text-transform: uppercase; color: var(--el-muted); }
.cert__no b { color: var(--el-ink); }
.cert__title { margin: 14px 0 0; font: 700 64px/1 var(--el-font-display); letter-spacing: -.01em; color: var(--el-navy-900, #0b2236); }
.cert__sub { display: flex; align-items: center; gap: 14px; margin: 10px 0 0; font: 800 14px var(--el-font); letter-spacing: .42em; text-transform: uppercase; color: #b7790f; }
.cert__sub::after { content: ""; width: 90px; height: 2px; background: linear-gradient(90deg, #f2a52b, transparent); }
.cert__lead { margin: 30px 0 0; font: 500 15px var(--el-font); color: var(--el-muted); }
.cert__lead--course { margin-top: 22px; }
.cert__name { margin: 6px 0 0 !important; font: 700 50px/1.1 var(--el-font-display) !important; color: var(--el-ink); }
.cert__name::after { content: ""; display: block; width: 96px; height: 4px; margin-top: 12px; border-radius: 4px; background: linear-gradient(90deg, #f2a52b, #d98a12); }
.cert__course { margin: 6px 0 0 !important; max-width: 600px; font: 800 24px/1.3 var(--el-font) !important; color: var(--el-navy-800); }
.cert__by { margin: 8px 0 0; font-size: 14px; color: var(--el-body); }
.cert__foot { margin-top: auto; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 230px)); justify-content: space-between; align-items: start; gap: 40px; }
.cert__sign { display: grid; justify-items: start; gap: 2px; min-width: 0; }
.cert__above { display: flex; align-items: flex-end; height: 64px; width: 100%; }
.cert__date { font: 700 18px var(--el-font-display); color: var(--el-ink); }
.cert__sig { display: block; max-width: 210px; max-height: 64px; width: auto; height: auto; margin-bottom: -10px; object-fit: contain; }   /* the director's signature, on the line */
.cert__line { width: 100%; border-top: 1.5px solid #9aa6b5; margin: 6px 0 4px; }
.cert__sign strong { font-size: 15px; color: var(--el-ink); }
.cert__sign small { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--el-muted); }
.cert-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.cert-tip { text-align: center; margin: 12px 0 0; font-size: 13.5px; color: var(--el-muted); }
@media print {
    @page { size: A4 landscape; margin: 0; }
    body * { visibility: hidden !important; }
    .cert, .cert * { visibility: visible !important; }
    .cert-scroll { height: auto !important; }
    .cert { position: fixed; inset: 0; width: 100vw; height: 100vh; aspect-ratio: auto; transform: none !important; border-radius: 0; box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .cert * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- Refer a friend (student dashboard) ---------- */
.rf-hero { display: grid; gap: 18px; padding: 24px; border-radius: 22px; background: linear-gradient(135deg, var(--el-navy-800), #17405f); color: #fff; position: relative; overflow: hidden; }
.rf-hero::after { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 165, 43, .35), transparent 65%); pointer-events: none; }
@media (min-width: 860px) { .rf-hero { grid-template-columns: 1.2fr 1fr; align-items: center; padding: 30px; } }
.rf-hero h2 { margin: 0 0 6px !important; font: 700 26px/1.2 var(--el-font-display) !important; color: #fff !important; }
.rf-hero p { margin: 0; color: #cfe0f3; }
.rf-code { position: relative; z-index: 1; display: grid; gap: 10px; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px dashed rgba(255, 255, 255, .35); }
.rf-code small { color: #9fb6cf; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 11.5px; }
.rf-code strong { font: 800 30px/1 var(--el-font); letter-spacing: .08em; color: var(--el-gold-400); }
.rf-code__row { display: flex; gap: 8px; flex-wrap: wrap; }
.rf-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.rf-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--el-line); }
.rf-steps span { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--el-gold-50); color: #a86a00; font-weight: 800; }
.rf-steps strong { display: block; color: var(--el-ink); }
.rf-steps small { color: var(--el-muted); font-size: 13px; }
.rf-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.rf-stats div { padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--el-line); text-align: center; }
.rf-stats b { display: block; font-size: 24px; color: var(--el-ink); }
.rf-stats small { color: var(--el-muted); font-size: 12.5px; }

/* Certificate card on the lesson page */
.cert-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 14px 16px; border-radius: 16px; background: linear-gradient(135deg, #fff7e6, #fff); border: 1px solid #f5d9a3; margin-bottom: 16px; }
.cert-cta > i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--el-gold-500); color: var(--el-navy-950); font-size: 20px; flex: none; }
.cert-cta div { flex: 1; min-width: 180px; }
.cert-cta strong { display: block; color: var(--el-ink); }
.cert-cta span { font-size: 13.5px; color: var(--el-body); }

/* Checkout: add a book */
.ck-addon { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ck-addon label { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; border: 1.5px solid var(--el-line); background: #fff; cursor: pointer; transition: border-color .2s, background .2s; }
.ck-addon label:hover { border-color: #f5c46b; }
.ck-addon input { width: 20px; height: 20px; accent-color: var(--el-navy-800); flex: none; }
.ck-addon label:has(input:checked) { border-color: var(--el-gold-500); background: #fffaf0; }
.ck-addon img { width: 46px; height: 62px; object-fit: cover; border-radius: 3px 6px 6px 3px; box-shadow: 0 8px 16px -10px rgba(11, 34, 54, .6); flex: none; }
.ck-addon div { flex: 1; min-width: 0; }
.ck-addon strong { display: block; font-size: 14.5px; color: var(--el-ink); line-height: 1.3; }
.ck-addon small { color: var(--el-muted); font-size: 12.5px; }
.ck-addon em { font-style: normal; font-weight: 800; color: var(--el-ink); white-space: nowrap; }
.ck-addon em s { font-weight: 500; color: var(--el-muted); font-size: 12px; margin-left: 3px; }
.ck-ship[hidden] { display: none !important; }

/* Homepage “Proven results” topper slider: a compact photo card instead of a full-column poster. */
.hl__slider { width: 100%; max-width: 300px; justify-self: center; border-radius: 20px; }
@media (min-width: 992px) { .hl__grid { grid-template-columns: minmax(0, 1fr) 320px; } .hl__grid.hl__grid--full { grid-template-columns: 1fr; } .hl__slider { max-width: 320px; justify-self: end; } }
.hl__slide figcaption { left: 16px; right: 16px; bottom: 52px; gap: 4px; }
.hl__slide figcaption strong { font-size: 18px; }
.hl__badge { font-size: 11.5px; padding: 4px 10px; }
.hl__ctrl { bottom: 12px; }
.hl__ctrl > button { width: 28px; height: 28px; font-size: 11px; }

/* ---------- Selected students: category badge on the photo (front/partials/result-cat.blade.php) ---------- */
.el-cat { position: absolute; top: 10px; left: 10px; z-index: 3; max-width: calc(100% - 20px); display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 10px 5px 8px; border-radius: 999px; background: rgba(9, 27, 44, .66); color: #fff; border: 1px solid rgba(255, 255, 255, .2);
    -webkit-backdrop-filter: blur(8px) saturate(150%); backdrop-filter: blur(8px) saturate(150%); box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .6);
    font: 700 11.5px/1.2 var(--el-font); letter-spacing: .01em; pointer-events: none; }
.el-cat::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--cat, #cbd5e1); box-shadow: 0 0 0 3px rgba(255, 255, 255, .16); }
.el-cat__t { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.el-cat--teal { --cat: #2dd4bf; } .el-cat--rose { --cat: #fb7185; } .el-cat--violet { --cat: #a78bfa; }
.el-cat--blue { --cat: #60a5fa; } .el-cat--amber { --cat: #fbbf24; } .el-cat--slate { --cat: #cbd5e1; }
.ex-topper, .el-person, .el-topper__ph, .s6-topper__ph, .s6-posters li { position: relative; }
.hl__slide .el-cat { top: 14px; left: 14px; }

/* Homepage “Our selections” rail — photo cards from Admin → Results */
.hp-marq figure.hp-res { position: relative; width: 210px; background: var(--el-navy-900); }
.hp-res img { aspect-ratio: 4 / 5 !important; object-fit: cover; object-position: top center; }
.hp-res figcaption, .hp-res__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; gap: 3px; justify-items: start; padding: 40px 12px 12px;
    background: linear-gradient(180deg, transparent, rgba(7, 23, 38, .55) 35%, rgba(7, 23, 38, .92)); color: #fff; }
.hp-res figcaption strong, .hp-res__cap strong { font: 700 15px/1.25 var(--el-font); text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
.hp-res figcaption small, .hp-res__cap small { font-size: 12px; color: #c9d6e6; }
.hp-res__rank { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--el-gold-500); color: var(--el-navy-950); font-size: 11px; font-weight: 800; }
@media (max-width: 575.98px) { .hp-marq figure.hp-res { width: 168px; } .el-cat { font-size: 10.5px; padding: 4px 8px 4px 7px; top: 8px; left: 8px; } }
/* The topper photo boxes style their fallback initial as “> span” — keep the badge a badge. */
.el-topper__ph > .el-cat, .s6-topper__ph > .el-cat { display: inline-flex; place-items: normal; height: auto; font: 700 11.5px/1.2 var(--el-font); color: #fff; }

/* FAQ open/close icon: two drawn lines instead of the “+” character, so the + and the rotated × sit exactly in the middle of the circle. */
body.el-body .el-faq summary::after { content: ""; font-size: 0; line-height: 0;
    background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
    background-size: 12px 2px, 2px 12px; background-position: center; background-repeat: no-repeat; border-radius: 50%; }
body.el-body .el-faq details[open] summary::after { background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
    background-size: 12px 2px, 2px 12px; background-position: center; background-repeat: no-repeat; }

/* Book page: the courses this book goes with */
.bk-goes { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--el-line); }
.bk-goes ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.bk-goes a { display: flex; gap: 8px; align-items: center; font-weight: 700; font-size: 14px; }

/* Test series page: tests in the series' folders */
.el-sfolder { border: 1px solid var(--el-line); border-radius: 14px; margin: 0 0 10px; background: var(--el-surface, #fff); overflow: hidden; }
.el-sfolder > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 12px 16px; cursor: pointer; font-weight: 800; color: var(--el-ink); }
.el-sfolder > summary::-webkit-details-marker { display: none; }
.el-sfolder > summary > i:first-child { color: #e0a526; }
.el-sfolder > summary span { flex: 1; }
.el-sfolder > summary small { font-weight: 600; color: var(--el-muted); font-size: 13px; }
.el-sfolder__chev { color: var(--el-muted); transition: transform .2s; }
.el-sfolder[open] .el-sfolder__chev { transform: rotate(180deg); }
.el-sfolder > .el-testlist { margin: 0; padding: 0 16px 8px; border-top: 1px solid var(--el-line); }
/* A folder's tests (series page): the list and its “Show all” button sit in a padded body, so each row's icon lines up
   with the folder icon and nothing touches the border. Phones: questions · time and the button go under the title. */
.el-sfolder__body { padding: 0 16px 6px; border-top: 1px solid var(--el-line); }
.el-sfolder__body .el-testlist { margin: 0; padding: 0; }
.el-sfolder__body .el-testlist li, .el-testwrap .el-testlist li { padding: 12px 0; gap: 12px; }
.el-testlist li > i:first-child { flex: 0 0 18px; text-align: center; }
.el-testlist li > span { min-width: 0; line-height: 1.35; }
.el-testlist li > .el-link { white-space: nowrap; font-size: 14px; }
.el-sfolder__body > .cl-more { margin: 2px 0 10px; }
@media (max-width: 560px) {
    .el-sfolder__body { padding: 0 14px 4px; }
    .el-testlist li { flex-wrap: wrap; row-gap: 4px; }
    .el-testlist li > i:first-child { align-self: flex-start; margin-top: 3px; }
    .el-testlist li > span { flex: 1 1 calc(100% - 30px); }
    .el-testlist li > small { flex: 1; margin-left: 30px; }
}

/* ===== Course plans: Choose a plan (cp-), price card (cb-), cards (el-ccard__plans), checkout (ck-plans) - 2026-11 ===== */
.cp { padding-bottom: 20px; }
.cp__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 18px; margin-bottom: 16px; }
.cp__head .el-course__h { margin-bottom: 0; }
.cp__sub { margin: 0; color: var(--el-muted); font-size: 14px; max-width: 360px; }
.cp-pick { display: grid; grid-template-columns: repeat(var(--cp-n, 3), minmax(0, 1fr)); gap: 10px; margin: 8px 0 18px; padding-top: 10px; }
.cp-opt { position: relative; display: grid; justify-items: center; gap: 2px; padding: 16px 10px 20px; border: 1.5px solid var(--el-line); border-radius: 14px; background: #fff; color: var(--el-ink); font: inherit; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s, transform .15s; }
.cp-opt:hover { border-color: var(--el-gold-400); transform: translateY(-1px); }
.cp-opt:focus-visible { outline: 3px solid rgba(22, 104, 196, .35); outline-offset: 2px; }
.cp-opt b { font-size: 16px; font-weight: 800; line-height: 1.2; text-align: center; }
.cp-opt__price { font-size: 13.5px; font-weight: 700; color: var(--el-body); font-variant-numeric: tabular-nums; }
.cp-opt__price s { font-weight: 500; color: var(--el-muted); font-size: 12px; }
.cp-opt__dot { position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--el-line); background: #fff; display: grid; place-items: center; }
.cp-opt.is-on { border-color: var(--el-gold-500); background: var(--el-gold-50); box-shadow: 0 8px 22px -14px rgba(178, 107, 0, .6); }
.cp-opt.is-on .cp-opt__dot { border-color: var(--el-gold-500); background: var(--el-gold-500); }
.cp-opt.is-on .cp-opt__dot::after { content: ""; width: 6px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.cp-opt__badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; color: #fff; background: var(--el-green-600); padding: 3px 9px; border-radius: 6px; }

.cp-table { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
.cp-table:focus-visible { outline: 3px solid rgba(22, 104, 196, .3); border-radius: 10px; }
.cp-table table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; min-width: 420px; }
.cp-table th, .cp-table td { padding: 11px 8px; border-bottom: 1px solid var(--el-line); }
.cp-table thead th { font-size: 14.5px; font-weight: 800; color: var(--el-ink); border-bottom: 0; padding-top: 14px; }
.cp-table thead th:first-child { text-align: left; }
.cp-table td, .cp-table thead th:not(:first-child) { text-align: center; width: calc(46% / var(--cp-n, 3)); color: var(--el-muted); }
.cp-table tbody th { text-align: left; font-weight: 600; color: var(--el-body); }
.cp-table .is-sel { background: var(--el-gold-50); }
.cp-table thead .is-sel { color: #8a5300; border: 1.5px solid var(--el-gold-400); border-bottom: 0; border-radius: 12px 12px 0 0; }
.cp-table tbody .is-sel, .cp-table tfoot .is-sel { border-left: 1.5px solid var(--el-gold-400); border-right: 1.5px solid var(--el-gold-400); }
.cp-table tfoot .is-sel { border-bottom: 1.5px solid var(--el-gold-400); border-radius: 0 0 12px 12px; }
.cp-yes { color: var(--el-green-600); font-size: 15px; }
.cp-no { color: #b8c1cc; font-size: 15px; }
.cp-table .is-sel .cp-no { color: var(--el-red-600); }
.cp-grp th { padding: 16px 8px 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--el-muted); border-bottom: 0; text-align: left; }
.cp-grp small { font-size: 11px; letter-spacing: .02em; text-transform: none; font-weight: 600; }
.cp-table tbody.is-flash tr:not(.cp-grp) th, .cp-table tbody.is-flash tr:not(.cp-grp) td { animation: cpFlash 1.4s ease; }
@keyframes cpFlash { 0%, 30% { background-color: #fff1cf; } 100% { background-color: transparent; } }
.cp-table tfoot th { text-align: left; font-weight: 800; color: var(--el-ink); border-bottom: 0; }
.cp-table tfoot td { border-bottom: 0; }
.cp-table tfoot strong { display: block; color: var(--el-ink); font-size: 15px; font-variant-numeric: tabular-nums; }
.cp-table tfoot s { font-size: 12px; }
.cp-feat { display: inline; }
.cp-tip { position: relative; display: inline-grid; place-items: center; margin-left: 6px; color: var(--el-muted); cursor: help; font-size: 12.5px; vertical-align: 1px; border-radius: 50%; }
.cp-tip:focus-visible { outline: 2px solid var(--el-blue-600); outline-offset: 2px; }
.cp-tip__bubble { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%) translateY(4px); width: max-content; max-width: 240px; padding: 8px 11px; border-radius: 9px; background: var(--el-navy-900); color: #fff; font-size: 12.5px; font-weight: 500; line-height: 1.4; text-align: left; box-shadow: var(--el-shadow); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s, transform .15s; z-index: 5; }
.cp-tip__bubble::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--el-navy-900); }
.cp-tip:hover .cp-tip__bubble, .cp-tip:focus .cp-tip__bubble { opacity: 1; visibility: visible; transform: translateX(-50%); }
.cp-video { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--el-blue-50); }
.cp-video[hidden] { display: none; }
.cp-video__icon { font-size: 26px; color: var(--el-blue-600); }
.cp-video div { flex: 1; min-width: 0; display: grid; }
.cp-video strong { color: var(--el-ink); font-size: 15px; }
.cp-video span { color: var(--el-muted); font-size: 13px; }
@media (max-width: 575.98px) {
  .cp-pick { gap: 6px; }
  .cp-opt { padding: 14px 4px 18px; border-radius: 12px; }
  .cp-opt b { font-size: 14px; }
  .cp-opt__price s { display: none; }
  .cp-table table { font-size: 13px; min-width: 0; }
  .cp-table th, .cp-table td { padding: 10px 5px; }
  .cp-tip__bubble { left: 0; transform: translateY(4px); }
  .cp-tip:hover .cp-tip__bubble, .cp-tip:focus .cp-tip__bubble { transform: none; }
  .cp-tip__bubble::after { left: 10px; transform: none; }
  .cp-video { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .cp-table tbody.is-flash tr th, .cp-table tbody.is-flash tr td { animation: none; } .cp-opt { transition: none; } }

/* Price card: the demo button sits on the image; questions at the bottom. */
.cb-media { position: relative; }
.cb-demo { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .94); color: var(--el-ink) !important; font-weight: 800; font-size: 14px; text-decoration: none; box-shadow: 0 8px 24px -10px rgba(7, 23, 38, .55); backdrop-filter: blur(6px); transition: transform .15s, background .15s; }
.cb-demo span { flex: 1; }
.cb-demo > i:first-child { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--el-gold-500); color: #fff; font-size: 13px; }
.cb-demo > i:last-child { color: var(--el-muted); font-size: 12px; transition: transform .15s; }
.cb-demo:hover { background: #fff; transform: translateY(-1px); }
.cb-demo:hover > i:last-child { transform: translateX(3px); color: var(--el-ink); }
.cb-media .el-course__intro .el-course__play { top: 40%; }
.cb-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.cb-tags:empty { display: none; }
.cb-plan { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--el-gold-50); color: #8a5300 !important; font-size: 12.5px; font-weight: 800; text-decoration: none; border: 1px solid #f6d9a5; }
.cb-plan em { font-style: normal; font-weight: 700; color: var(--el-blue-600); margin-left: 2px; text-decoration: underline; text-underline-offset: 2px; }
.cb-enroll { font-size: 16px; }
.cb-help { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--el-line); display: grid; gap: 8px; }
.cb-help > span { font-size: 13.5px; font-weight: 700; color: var(--el-ink); }
.cb-help > span i { color: var(--el-muted); margin-right: 4px; }
.cb-help > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cb-help__btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--el-line); color: var(--el-ink) !important; font-weight: 700; font-size: 13.5px; text-decoration: none; background: #fff; }
.cb-help__btn:hover { border-color: var(--el-blue-600); color: var(--el-blue-600) !important; }
.cb-help__btn--wa i { color: #1fa855; font-size: 16px; }
.cb-help__btn--wa:hover { border-color: #1fa855; color: #157a43 !important; }
.cb-bar__plan { display: block; font-size: 11px; font-weight: 800; color: #8a5300; text-transform: uppercase; letter-spacing: .06em; line-height: 1; margin-bottom: 2px; }

/* Cards: a course with plans shows From + the plan names. */
.el-ccard__from { font-size: 12px; font-weight: 700; color: var(--el-muted); flex-basis: auto !important; }
.el-ccard__plans { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 2px 0 4px; text-decoration: none; }
.el-ccard__plans i { color: #b26b00; font-size: 12px; }
.el-ccard__plans span { font-size: 11.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--el-gold-50); color: #8a5300; border: 1px solid #f6d9a5; }
.el-ccard__plans:hover span { border-color: var(--el-gold-500); }
.el-ccard--dark .el-ccard__plans span { background: rgba(242, 165, 43, .16); color: #ffd28a; border-color: transparent; }

/* Checkout: the plan in the summary and switching plans. */
.ck-plan { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: #8a5300 !important; }
.ck-plans { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; margin: 14px 0 4px; }
.ck-plans a { position: relative; display: grid; gap: 1px; padding: 9px 8px; border: 1.5px solid var(--el-line); border-radius: 11px; text-align: center; text-decoration: none; color: var(--el-ink) !important; font-size: 12.5px; }
.ck-plans a b { font-size: 13px; }
.ck-plans a span { color: var(--el-muted); font-variant-numeric: tabular-nums; }
.ck-plans a em { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 9.5px; font-weight: 800; color: #fff; background: var(--el-green-600); padding: 1px 6px; border-radius: 5px; white-space: nowrap; }
.ck-plans a.is-on { border-color: var(--el-gold-500); background: var(--el-gold-50); }
.ck-plans a:hover { border-color: var(--el-gold-400); }
.cb-inc { margin-top: 16px; }
.cb-inc[hidden], .el-seatnote[hidden] { display: none; }
.cb-inc > strong { display: block; font-size: 13px; font-weight: 800; color: var(--el-ink); text-transform: uppercase; letter-spacing: .05em; }
.el-buybox .cb-inc ul { margin-top: 10px; }
.cb-inc__more { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--el-blue-600); }
@media (max-width: 575.98px) {
  .cp-table td, .cp-table thead th:not(:first-child) { width: calc(40% / var(--cp-n, 3)); }
  .cp-table thead th { font-size: 13px; }
  .cp-table tfoot strong { font-size: 13px; }
  .cp-table tfoot s { display: none; }
  .cp-tip { margin-left: 4px; }
}
@media (max-width: 575.98px) { .cp-table tfoot { display: none; } .cp-table tbody:last-of-type tr:last-child td.is-sel { border-bottom: 1.5px solid var(--el-gold-400); border-radius: 0 0 12px 12px; } }

/* Course page: Other batches (replaces the old Compare batches table) */
.co-others__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; margin-bottom: 18px; }
.co-others__head .el-link { font-weight: 700; white-space: nowrap; }
.co-others__grid .el-ccard__text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== Cards (all pages): price on two neat lines left, button right — one row, the same on every card (2026-11-17) ===== */
.el-ccard__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; flex-wrap: nowrap; padding-top: 14px; }
.el-ccard__foot > :only-child { grid-column: 1 / -1; }
.el-ccard__price { display: grid; gap: 3px; min-width: 0; }
.el-ccard__now { display: flex; align-items: baseline; gap: 5px; min-width: 0; }
.el-ccard__amount { font-size: 22px; line-height: 1.05; white-space: nowrap; }
.el-ccard__from { font-size: 11.5px; font-weight: 700; color: var(--el-muted); text-transform: uppercase; letter-spacing: .04em; }
.el-ccard__was { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-height: 20px; line-height: 1; }
.el-ccard__was s { font-size: 13px; color: var(--el-muted); }
.el-ccard__was em { font-style: normal; font-size: 11px; font-weight: 800; color: #157a43; background: #e7f7ee; padding: 3px 7px; border-radius: 999px; white-space: nowrap; }
.el-ccard__note { font-size: 12px; color: var(--el-muted); line-height: 1.3; }
.el-ccard__actions { margin-left: 0; justify-self: end; }
/* two buttons, or a narrow card: price row on top, buttons full width below */
.el-ccard__foot:has(.el-ccard__btn + .el-ccard__btn) { grid-template-columns: minmax(0, 1fr); }
.el-ccard__foot:has(.el-ccard__btn + .el-ccard__btn) .el-ccard__actions { justify-self: stretch; }
.el-ccard__foot:has(.el-ccard__btn + .el-ccard__btn) .el-ccard__btn { flex: 1; justify-content: center; }
@container (max-width: 250px) { .el-ccard__foot { grid-template-columns: minmax(0, 1fr); } .el-ccard__actions { justify-self: stretch; } .el-ccard__btn { flex: 1; justify-content: center; } }
.el-ccard { container-type: inline-size; }
.el-ccard--dark .el-ccard__was s, .el-ccard--dark .el-ccard__from, .el-ccard--dark .el-ccard__note { color: #9fb2c6; }
.el-ccard--dark .el-ccard__was em { background: rgba(31, 168, 85, .18); color: #7be0a4; }

/* ===== Course price card (cb-), refined ===== */
.el-buybox.cb { border-radius: 22px; }
.cb-media { position: relative; overflow: hidden; }
.cb-ribbon { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--el-green-600); font-size: 11.5px; font-weight: 800; letter-spacing: .02em; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .35); display: inline-flex; align-items: center; gap: 6px; }
.cb-ribbon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
/* the demo button: a slim glass pill in the image's bottom-left corner (the picture stays visible) */
.cb-demo { left: 12px; right: auto; bottom: 12px; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(7, 23, 38, .72); color: #fff !important; font-size: 13px; font-weight: 700; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .18); }
.cb-demo span { flex: 0 1 auto; }
.cb-demo > i:first-child { width: 26px; height: 26px; border-radius: 50%; font-size: 11.5px; background: var(--el-gold-500); color: var(--el-navy-950); }
.cb-demo > i:last-child { color: rgba(255, 255, 255, .7); font-size: 10px; }
.cb-demo:hover { background: rgba(7, 23, 38, .88); }
.cb-demo:hover > i:last-child { color: #fff; }

/* plan switch inside the card */
.cb-seg { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 3px; padding: 3px; border-radius: 12px; background: var(--el-bg); border: 1px solid var(--el-line); }
.cb-seg button { position: relative; border: 0; background: transparent; padding: 8px 4px; border-radius: 9px; font: 700 13px/1.15 var(--el-font); color: var(--el-body); cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.cb-seg button i { font-size: 8.5px; color: var(--el-gold-500); margin-left: 4px; vertical-align: 2px; }
.cb-seg button:hover { color: var(--el-ink); }
.cb-seg button.is-on { background: #fff; color: var(--el-ink); box-shadow: 0 1px 3px rgba(11, 34, 54, .14), 0 0 0 1.5px var(--el-gold-500); }
.cb-seg button:focus-visible { outline: 2px solid var(--el-blue-600); outline-offset: 1px; }
.cb-compare { display: inline-flex; align-items: center; gap: 5px; margin: 8px 0 2px; font-size: 12.5px; font-weight: 700; color: var(--el-blue-600) !important; text-decoration: none; }
.cb-compare i { font-size: 10px; }
.cb-compare:hover { text-decoration: underline; }

/* price: amount · original · % off on one line */
.cb-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 12px 0 2px; }
.cb-price strong { font: 800 34px/1.05 var(--el-font); color: var(--el-ink); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.cb-price s { font-size: 15px; color: var(--el-muted); }
.cb-price em { align-self: center; font-style: normal; font-size: 12px; font-weight: 800; color: #157a43; background: #e7f7ee; padding: 3px 8px; border-radius: 999px; }
.cb-price [hidden] { display: none; }
.cb-note { margin: 2px 0 0; font-size: 13px; color: var(--el-muted); }
.cb .el-seatnote { margin-top: 10px; }
.cb .cb-enroll { margin-top: 14px !important; height: 52px; font-size: 16px; border-radius: 14px; }

/* trust: secure payment + refund, quiet */
.cb-trust { list-style: none; margin: 12px 0 0 !important; padding: 10px 12px !important; display: grid !important; gap: 6px !important; border-radius: 12px; background: var(--el-bg); font-size: 12.5px !important; color: var(--el-muted); }
.el-buybox .cb-trust li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.el-buybox .cb-trust li i { color: var(--el-muted); margin-top: 2px; font-size: 11.5px; width: 12px; text-align: center; }
.cb-trust a { color: var(--el-blue-600); font-weight: 700; }

/* what the plan includes */
.cb-inc { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--el-line); }
.cb-inc > strong { font-size: 12px; letter-spacing: .08em; color: var(--el-muted); }
.el-ccard__price { min-height: 46px; align-content: center; }

/* Card tags look like the plan chips (2026-11-17) */
.el-ccard__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 2px 0 4px; }
.el-ccard__tags > i { color: #b26b00; font-size: 12px; }
.el-ccard__tags span { font-size: 11.5px; font-weight: 800; letter-spacing: 0; padding: 2px 8px; border-radius: 999px; background: var(--el-gold-50); color: #8a5300; border: 1px solid #f6d9a5; }
.el-ccard--dark .el-ccard__tags span { background: rgba(242, 165, 43, .16); color: #ffd28a; border-color: transparent; }
.el-ccard--dark .el-ccard__tags > i { color: var(--el-gold-400); }

/* ===== Site-wide vertical rhythm (2026-11-17): one spacing scale, scales with the screen; no more 160px+ gaps between sections ===== */
:root { --el-sec-y: clamp(40px, 2.5vw + 24px, 60px); --el-sec-y-tight: clamp(24px, 1.6vw + 14px, 36px); }
.el-section { padding-top: var(--el-sec-y); padding-bottom: var(--el-sec-y); }
@media (min-width: 992px) { .el-section { padding-top: var(--el-sec-y); padding-bottom: var(--el-sec-y); } }
.el-section--tight { padding-top: var(--el-sec-y-tight) !important; padding-bottom: var(--el-sec-y-tight) !important; }
/* “More …” rows after a page body: a thin line and one gap, not two paddings + a border + another padding */
.el-section--more { padding: 0 0 var(--el-sec-y) !important; }
.el-section--more > .el-container { padding-top: var(--el-sec-y-tight); }
.ex-more { padding: 0 0 var(--el-sec-y-tight); }
.ex-more > .el-container { gap: clamp(32px, 2.5vw + 16px, 44px); }

/* ===== Floating help (hw-): launcher + panel (desktop); phones keep the Call / WhatsApp bar ===== */
.el-fab { display: none !important; }
.hw { position: fixed; right: 22px; bottom: 24px; z-index: 999; display: none; flex-direction: column; align-items: flex-end; gap: 12px; font-family: var(--el-font); }
@media (min-width: 768px) { .hw { display: flex; } }
body:has(.ck) .hw, .el-app-mode .hw { display: none !important; }
.hw-launch { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 8px; border: 0; border-radius: 999px; background: var(--el-navy-900); color: #fff;
  font: 800 15px/1 var(--el-font); cursor: pointer; box-shadow: 0 16px 34px -14px rgba(7, 23, 38, .7), 0 0 0 1px rgba(255, 255, 255, .06) inset; transition: transform .2s var(--el-ease), box-shadow .2s; }
.hw-launch:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(7, 23, 38, .75); }
.hw-launch:focus-visible { outline: 3px solid var(--el-gold-400); outline-offset: 3px; }
.hw-launch__icon { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #25d366; font-size: 22px; }
.hw-launch__icon::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(37, 211, 102, .55); animation: hwPulse 2.6s ease-out infinite; }
.hw-i-close { display: none; font-size: 18px; }
.hw.is-open .hw-i-open { display: none; }
.hw.is-open .hw-i-close { display: inline; }
.hw.is-open .hw-launch__icon { background: rgba(255, 255, 255, .14); }
.hw.is-open .hw-launch__icon::after { display: none; }
@keyframes hwPulse { 0% { transform: scale(.9); opacity: .9; } 70%, 100% { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hw-launch__icon::after { animation: none; } .hw-launch { transition: none; } }

.hw-panel { width: 340px; max-height: min(560px, calc(100vh - 120px)); overflow: auto; border-radius: 20px; background: #fff; color: var(--el-ink);
  box-shadow: 0 30px 70px -24px rgba(7, 23, 38, .5), 0 0 0 1px rgba(11, 34, 54, .06); transform-origin: bottom right; animation: hwIn .22s var(--el-ease); }
@keyframes hwIn { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.hw-head { display: flex; align-items: center; gap: 12px; padding: 18px 16px 16px 18px; background: radial-gradient(120% 120% at 100% 0, rgba(242, 165, 43, .28), transparent 55%), linear-gradient(160deg, var(--el-navy-800), var(--el-navy-950)); color: #fff; }
.hw-head__logo { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); }
.hw-head__logo img { width: 28px; height: 28px; object-fit: contain; }
.hw-head > div { flex: 1; min-width: 0; display: grid; gap: 3px; }
.hw-head strong { font-size: 16.5px; }
.hw-head small { font-size: 12.5px; color: #c9d6e4; display: inline-flex; align-items: center; gap: 6px; }
.hw-dot { width: 8px; height: 8px; border-radius: 50%; background: #25d366; box-shadow: 0 0 0 3px rgba(37, 211, 102, .25); }
.hw-x { width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
.hw-x:hover { background: rgba(255, 255, 255, .2); }
.hw-body { padding: 16px; display: grid; gap: 10px; }
.hw-body[hidden] { display: none; }
.hw-context { margin: 0; font-size: 13px; color: var(--el-muted); }
.hw-context i { color: var(--el-gold-500); margin-right: 4px; }
.hw-context b { color: var(--el-ink); }
.hw-chips { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hw-chips a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--el-line); border-radius: 12px; color: var(--el-ink) !important; text-decoration: none; font-weight: 700; font-size: 14px; transition: border-color .15s, background .15s; }
.hw-chips a > i:first-child { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 8px; display: grid; place-items: center; background: var(--el-gold-50); color: #b26b00; font-size: 12.5px; }
.hw-chips a span { flex: 1; }
.hw-chev { color: var(--el-muted); font-size: 11px; transition: transform .15s; }
.hw-chips a:hover { border-color: #25d366; background: #f2fcf6; }
.hw-chips a:hover .hw-chev { transform: translateX(3px); color: #1a9e4c; }
.hw-wa { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border: 0; border-radius: 13px; background: #25d366; color: #fff !important; font: 800 15px/1 var(--el-font); text-decoration: none; cursor: pointer; box-shadow: 0 10px 22px -12px rgba(37, 211, 102, .9); }
.hw-wa i { font-size: 19px; }
.hw-wa:hover { background: #1fbd5b; }
.hw-wa--dark { background: var(--el-navy-900); box-shadow: none; }
.hw-wa--dark:hover { background: var(--el-navy-800); }
.hw-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.hw-alt a, .hw-alt button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 8px; border: 1px solid var(--el-line); border-radius: 11px; background: #fff; color: var(--el-ink) !important; font: 700 12.5px/1.2 var(--el-font); text-decoration: none; cursor: pointer; text-align: center; }
.hw-alt a:hover, .hw-alt button:hover { border-color: var(--el-blue-600); color: var(--el-blue-600) !important; }
.hw-cb__lead { margin: 0 0 2px; font-size: 13.5px; color: var(--el-body); }
.hw-label { font-size: 13px; font-weight: 700; margin: 2px 0 -4px; }
.hw-label small { font-weight: 500; color: var(--el-muted); }
.hw-input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--el-line); border-radius: 11px; font: 500 15px var(--el-font); color: var(--el-ink); background: #fff; }
.hw-input:focus { outline: none; border-color: var(--el-blue-600); box-shadow: 0 0 0 3px rgba(22, 104, 196, .15); }
.hw-tel { display: flex; align-items: stretch; }
.hw-tel span { display: grid; place-items: center; padding: 0 10px; border: 1px solid var(--el-line); border-right: 0; border-radius: 11px 0 0 11px; background: var(--el-bg); font-weight: 700; color: var(--el-muted); }
.hw-tel .hw-input { border-radius: 0 11px 11px 0; }
.hw-err { margin: 0; min-height: 16px; font-size: 12.5px; color: var(--el-red-600); }
.hw-back { justify-self: center; border: 0; background: none; color: var(--el-muted); font: 700 13px var(--el-font); cursor: pointer; }
.hw-hp { position: absolute; left: -9999px; }
.hw-done { text-align: center; justify-items: center; padding: 26px 18px; }
.hw-done i { font-size: 38px; color: #25d366; }
.hw-done p { margin: 0; font-size: 13.5px; color: var(--el-muted); }
.hw-nudge { position: relative; max-width: 270px; padding: 12px 34px 12px 14px; border-radius: 14px 14px 4px 14px; background: #fff; color: var(--el-ink); font-size: 13.5px; line-height: 1.45;
  box-shadow: 0 18px 40px -18px rgba(7, 23, 38, .5), 0 0 0 1px rgba(11, 34, 54, .06); cursor: pointer; animation: hwIn .25s var(--el-ease); }
.hw-nudge[hidden] { display: none; }
.hw-nudge__x { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border: 0; border-radius: 7px; background: var(--el-bg); color: var(--el-muted); font-size: 11px; cursor: pointer; }
/* Course pages: the price card sits on the right — keep the launcher compact there. */
body:has(.el-course__bar) .hw-launch__text { display: none; }
body:has(.el-course__bar) .hw-launch { padding: 0 8px; }

/* “In partnership with …” — small line in the price box of a partner coaching's course (front/partials/partner-badge) */
.el-pship { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0; padding: 12px 16px; border: 1px solid var(--el-line); border-radius: var(--el-r); background: var(--el-surface); box-shadow: var(--el-shadow-sm); }
.el-pship--compact { padding: 8px 12px; margin: 0 0 12px; gap: 8px; box-shadow: none; background: var(--el-bg-soft, var(--el-bg)); font-size: 13px; color: var(--el-body); flex-wrap: nowrap; }
.el-pship--compact img { width: 22px; height: 22px; object-fit: contain; border-radius: 5px; background: #fff; }
.el-pship--compact > i { color: var(--el-gold-500); }
.el-pship--compact b { color: var(--el-ink); }

/* ---------- Partner coachings: card byline, public page, certificate with both names ---------- */
.el-ccard__by { display: flex; align-items: center; gap: 6px; margin: -2px 0 0; font-size: 12.5px; font-weight: 600; color: var(--el-muted); }
.el-ccard__by img { width: 18px; height: 18px; object-fit: contain; border-radius: 4px; background: #fff; }
.el-ccard__by i { color: var(--el-gold-500); }
.el-ccard__by a { color: var(--el-ink); text-decoration: none; }
.el-ccard__by a:hover { color: var(--el-blue-600); }
.el-ppage__card { display: grid; grid-template-columns: auto 1fr; gap: 16px 18px; align-items: center; padding: 24px; border: 1px solid var(--el-line); border-radius: var(--el-r-lg, 18px); background: var(--el-surface); box-shadow: var(--el-shadow-sm); max-width: 860px; }
.el-ppage__logo { width: 72px; height: 72px; border-radius: 16px; display: grid; place-items: center; overflow: hidden; background: var(--el-navy-800); color: #fff; font: 800 30px var(--el-font-display); }
.el-ppage__logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.el-ppage__tag { margin: 4px 0 0; font-size: 13.5px; color: var(--el-muted); }
.el-ppage__tag i { color: var(--el-gold-500); }
.el-ppage__about { grid-column: 1 / -1; margin: 0; white-space: pre-line; color: var(--el-body); }
.el-ppage__facts { grid-column: 1 / -1; list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--el-line); display: grid; gap: 8px; font-size: 14px; color: var(--el-body); }
.el-ppage__facts i { width: 18px; color: var(--el-blue-600); }
.el-ppage__teachers { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.el-ppage__teacher { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--el-line); border-radius: var(--el-r); background: var(--el-surface); }
.el-ppage__teacher h3 { margin: 0 !important; font-size: 16px !important; color: var(--el-ink); }
.el-ppage__teacher p { margin: 2px 0 0; font-size: 13.5px; color: var(--el-muted); }
.el-ppage__ava { flex: none; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--el-bg-soft, var(--el-bg)); color: var(--el-ink); font-weight: 800; font-size: 20px; }
.el-ppage__ava img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 560px) { .el-ppage__card { padding: 18px; } .el-ppage__logo { width: 56px; height: 56px; } }


/* ---------- “Know your teachers” carousel (front/partials/teachers-carousel) ---------- */
.kt__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.kt__title { margin-bottom: 16px !important; }
.kt__frame { position: relative; }
.kt__track { list-style: none; margin: 0; padding: 4px 2px 10px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 224px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.kt__track::-webkit-scrollbar { display: none; }
.kt-card { scroll-snap-align: start; }
.kt-card__in { position: relative; display: block; height: 100%; border-radius: 16px; overflow: hidden; color: inherit; text-decoration: none !important; background: radial-gradient(120% 70% at 50% 0, #ffffff 0, #e6ecfd 55%, #d9e2fb 100%); transition: transform .2s, box-shadow .2s; }
a.kt-card__in:hover { transform: translateY(-3px); box-shadow: var(--el-shadow); }
.kt-card__photo { display: flex; align-items: flex-end; justify-content: center; height: 230px; padding-top: 14px; }
.kt-card__photo img { width: 82%; height: 100%; object-fit: cover; object-position: top; border-radius: 14px 14px 0 0; }
.kt-card__init { width: 112px; height: 112px; margin-bottom: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--el-navy-800); color: var(--el-gold-400); font: 800 36px var(--el-font-display); }
.kt-card__info { position: relative; display: grid; gap: 4px; margin: -64px 10px 10px; padding: 12px 34px 12px 12px; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px -12px rgba(11, 34, 54, .35); min-height: 104px; align-content: start; }
.kt-card__info strong { font-size: 16px; line-height: 1.3; color: var(--el-ink); }
.kt-card__go { position: absolute; right: 12px; top: 16px; font-size: 13px; color: var(--el-ink); }
.kt-card__sub { font-size: 13.5px; color: var(--el-body); }
.kt-card__exp { justify-self: start; margin-top: 4px; padding: 3px 8px; border-radius: 6px; background: #eef0f4; font: 600 12px var(--el-font); color: var(--el-ink); }
.kt__arrow { position: absolute; top: 42%; z-index: 2; width: 42px; height: 42px; border: 0; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--el-ink); box-shadow: 0 6px 18px -6px rgba(11, 34, 54, .35); cursor: pointer; }
.kt__arrow[hidden] { display: none; }
.kt__arrow--prev { left: -8px; }
.kt__arrow--next { right: -8px; }
.kt__arrow:hover { color: var(--el-blue-600); }
.kt__arrow:focus-visible { outline: 3px solid var(--el-blue-500); outline-offset: 2px; }
@media (max-width: 640px) { .kt__track { grid-auto-columns: 72%; } .kt__arrow { display: none; } }
@media (prefers-reduced-motion: reduce) { .kt-card__in { transition: none; } }

/* ---------- Course page: “Show all” button (timetable, curriculum, chapters, FAQ) ---------- */
.cl-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 16px; border: 1px solid var(--el-line); border-radius: 999px; background: #fff; font: 700 14px var(--el-font); color: var(--el-ink); cursor: pointer; transition: border-color .2s, background .2s; }
.cl-more:hover { border-color: var(--el-blue-500); background: var(--el-blue-50); }
.cl-more i { font-size: 12px; transition: transform .2s; }
.cl-more[aria-expanded="true"] i { transform: rotate(180deg); }
.cl-more:focus-visible { outline: 3px solid var(--el-blue-500); outline-offset: 2px; }

/* ---------- Weekly timetable: a plain schedule (time | what + days), one accent colour ---------- */
.ctt-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; margin-bottom: 14px; }
.ctt-head .el-course__h { margin-bottom: 0 !important; }
.ctt-head__meta { font-size: 13px; font-weight: 600; color: var(--el-muted); }
.ctt { list-style: none; margin: 0; padding: 0; border: 1px solid var(--el-line); border-radius: 14px; overflow: hidden; background: #fff; }
.ctt-slot { display: grid; grid-template-columns: 170px 1fr; gap: 16px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--el-line); }
.ctt-slot:first-child { border-top: 0; }
.ctt-slot.is-today { background: #f7faff; }
.ctt-slot__time { font-weight: 800; font-size: 15px; color: var(--el-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ctt-slot__main { min-width: 0; display: grid; gap: 6px; }
.ctt-slot__what { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--el-ink); }
.ctt-slot__days { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ctt-slot__days small { font-size: 13px; color: var(--el-muted); }
.ctt-week { display: inline-flex; gap: 3px; }
.ctt-week i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font: 700 10px var(--el-font); font-style: normal; color: #a3adbb; background: #f1f3f7; }
.ctt-week i.is-on { background: var(--el-navy-800); color: #fff; }
.ctt-slot__today { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--el-blue-600); }
.ctt-slot__today::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--el-blue-600); }
@media (max-width: 640px) {
    .ctt-slot { grid-template-columns: 1fr; gap: 6px; padding: 12px 14px; }
    .ctt-slot__time { font-size: 14px; color: var(--el-blue-600); }
}

/* ---------- Course page: the slim strip under the hero (only what the hero doesn't say) ---------- */
.cl-strip { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; border: 1px solid var(--el-line); border-radius: 16px; background: #fff; overflow: hidden; }
.cl-strip li { flex: 1 1 220px; display: flex; gap: 12px; align-items: center; padding: 14px 18px; min-width: 0; box-shadow: -1px 0 0 var(--el-line); }
.cl-strip li > i { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--el-blue-50); color: var(--el-blue-600); font-size: 15px; }
.cl-strip small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--el-muted); }
.cl-strip strong { display: block; font-size: 14.5px; line-height: 1.35; color: var(--el-ink); overflow-wrap: anywhere; }

/* ---------- What you will study ---------- */
.cu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 760px) { .cu { grid-template-columns: 1fr 1fr; } }
.cu-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--el-line); border-radius: 14px; background: #fff; transition: border-color .2s; }
.cu-item:hover { border-color: var(--el-gold-500); }
.cu-item__num { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--el-navy-800); color: var(--el-gold-400); font: 800 13px var(--el-font); }
.cu-item strong { display: block; color: var(--el-ink); font-size: 15px; line-height: 1.35; }
.cu-item p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--el-body); }

/* ---------- Book a free live demo: one compact card ---------- */
.dm { display: grid; border: 1px solid var(--el-line); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--el-shadow-sm); }
@media (min-width: 820px) { .dm { grid-template-columns: minmax(230px, .9fr) 1.3fr; } }
.dm__intro { position: relative; display: grid; align-content: start; gap: 8px; padding: 20px; background: linear-gradient(150deg, var(--el-navy-800), #17405f); color: #cfe0f3; overflow: hidden; }
.dm__intro::after { content: ""; position: absolute; right: -50px; bottom: -70px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 165, 43, .3), transparent 65%); pointer-events: none; }
.dm__badge { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(242, 165, 43, .16); color: var(--el-gold-400); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.dm__title { margin: 2px 0 0 !important; font: 700 20px/1.25 var(--el-font-display) !important; color: #fff !important; }
.dm__intro p { margin: 0; font-size: 14px; }
.dm__perks { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; position: relative; z-index: 1; }
.dm__perks i { width: 18px; color: #6fd3a0; }
.dm__form { padding: 18px 20px; }
.dm__pills { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; margin-bottom: 12px; border-radius: 12px; background: #f0f2f6; }
.dm__pills label { position: relative; margin: 0; }
.dm__pills input { position: absolute; opacity: 0; pointer-events: none; }
.dm__pills span { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 10px; border-radius: 9px; font-size: 14px; font-weight: 700; color: var(--el-body); cursor: pointer; transition: background .15s, color .15s; }
.dm__pills input:checked + span { background: #fff; color: var(--el-ink); box-shadow: var(--el-shadow-sm); }
.dm__pills input:focus-visible + span { outline: 3px solid var(--el-blue-500); outline-offset: 1px; }
.dm__grid { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin-bottom: 10px; }
.dm__lbl { display: block; margin-bottom: 5px; font-size: 12.5px; font-weight: 700; color: var(--el-ink); }
.dm__lbl small { font-weight: 500; color: var(--el-muted); }
.dm__send { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.dm__send .el-btn { white-space: nowrap; }
.dm__fine { margin: 6px 0 0; font-size: 12px; color: var(--el-muted); }
.dm .ex-cb__err:empty { display: none; }
.dm__done { padding: 10px 0; }
@media (max-width: 480px) { .dm__grid, .dm__send { grid-template-columns: 1fr; } }
.dm-sample { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border: 1px dashed var(--el-line); border-radius: 14px; text-decoration: none !important; color: var(--el-body) !important; background: #f7f8fb; transition: border-color .2s; }
.dm-sample:hover { border-color: #e0523f; }
.dm-sample__icon { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: #fdeeec; color: #e0523f; font-size: 18px; }
.dm-sample > span:nth-child(2) { flex: 1; min-width: 0; display: grid; }
.dm-sample strong { color: var(--el-ink); font-size: 14.5px; }
.dm-sample small { font-size: 12.5px; color: var(--el-muted); }
.dm-sample em { font-style: normal; font-weight: 700; font-size: 13.5px; color: #c9432f; white-space: nowrap; }

/* ---------- FAQ: numbered, search when there are many ---------- */
.fq-head { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin-bottom: 12px; }
.fq-head .el-course__h { margin-bottom: 0 !important; display: flex; align-items: center; gap: 8px; }
.fq-head .el-course__h small { padding: 2px 9px; border-radius: 999px; background: #f0f2f6; font: 700 12.5px var(--el-font); color: var(--el-muted); }
.fq-search { position: relative; flex: 0 1 280px; margin: 0; }
.fq-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--el-muted); font-size: 13px; }
.fq-search input { width: 100%; padding: 9px 12px 9px 34px; border: 1px solid var(--el-line); border-radius: 999px; background: #fff; font: 500 14px var(--el-font); color: var(--el-ink); }
.fq-search input:focus { outline: none; border-color: var(--el-blue-500); box-shadow: 0 0 0 3px var(--el-blue-50); }
.fq summary { justify-content: flex-start; align-items: flex-start; gap: 10px; }
.fq summary::after { margin-left: auto; }
.fq__n { flex: none; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--el-blue-50); color: var(--el-blue-600); font-size: 12px; font-weight: 800; }
.fq details[open] .fq__n { background: var(--el-blue-600); color: #fff; }
.fq__q { flex: 1; }
.fq-none { margin: 4px 0 0; color: var(--el-muted); }
@media (max-width: 560px) { .fq-search { flex-basis: 100%; } }
@media (max-width: 560px) { .dm__intro { padding: 16px; gap: 6px; } .dm__title { font-size: 18px !important; } .dm__perks { display: none; } .dm__form { padding: 14px 16px; } .dm__pills span { white-space: nowrap; font-size: 13.5px; padding: 8px 6px; } }

/* ---------- Styled dropdown (course page demo form → “You’re in”) ---------- */
.dm-pick { position: relative; }
.dm-pick__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; cursor: pointer; }
.dm-pick__btn i { font-size: 12px; color: var(--el-muted); transition: transform .2s; }
.dm-pick.is-open .dm-pick__btn { border-color: var(--el-blue-500); box-shadow: 0 0 0 3px var(--el-blue-50); }
.dm-pick.is-open .dm-pick__btn i { transform: rotate(180deg); }
.dm-pick__list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; max-height: 240px; overflow-y: auto; border: 1px solid var(--el-line); border-radius: 12px; background: #fff; box-shadow: 0 18px 40px -16px rgba(11, 34, 54, .35); outline: none; }
.dm-pick__list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 8px; font-size: 14.5px; color: var(--el-ink); cursor: pointer; }
.dm-pick__list li i { font-size: 12px; color: var(--el-blue-600); visibility: hidden; }
.dm-pick__list li.is-active { background: var(--el-blue-50); }
.dm-pick__list li[aria-selected="true"] { font-weight: 700; }
.dm-pick__list li[aria-selected="true"] i { visibility: visible; }
.dm-pick__list:focus-visible li.is-active { box-shadow: inset 0 0 0 2px var(--el-blue-500); }
.dm { overflow: visible; }
.dm__intro { border-radius: 17px 17px 0 0; }
@media (min-width: 820px) { .dm__intro { border-radius: 17px 0 0 17px; } }

/* Home → Our story: a team member whose photo file is missing shows their initials instead of a broken image. */
.hp-teacher__ini { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--el-font-display); font-weight: 700; font-size: clamp(40px, 7vw, 64px); color: rgba(255, 255, 255, .9); letter-spacing: .04em; }

/* Long text on course / test series pages (front/partials/show-more): cut with a fade until “Show more”. */
.el-clamp { position: relative; overflow: hidden; transition: max-height .45s cubic-bezier(.2, .7, .2, 1); }
.el-clamp.is-clamped { max-height: var(--clamp, 190px); }
.el-clamp::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--el-clamp-bg, #fff) 62%); pointer-events: none; opacity: 0; transition: opacity .3s; }
.el-clamp.is-clamped::after { opacity: 1; }
/* “Read more” sits on the fade (no row of its own); once open it moves under the text as “Show less”. */
.el-clamp__btn { position: relative; z-index: 1; display: flex; width: max-content; align-items: center; gap: 6px; margin: 8px 0 0; padding: 3px 2px; border: 0; background: none; font: 700 14.5px var(--el-font); color: var(--el-blue-600, #1668c4); cursor: pointer; transition: margin-top .45s cubic-bezier(.2, .7, .2, 1); }
.el-clamp.is-clamped + .el-clamp__btn { margin-top: -28px; }
.el-clamp__btn:hover span { text-decoration: underline; text-underline-offset: 3px; }
.el-clamp__btn:focus-visible { outline: 2px solid var(--el-blue-500, #2f80ed); outline-offset: 2px; border-radius: 4px; }
.el-clamp__btn i { font-size: 11px; transition: transform .3s; }
.el-clamp__btn[aria-expanded="true"] i { transform: rotate(180deg); }
.el-clamp__btn + .cl-h3 { margin-top: 18px !important; }
@media (prefers-reduced-motion: reduce) { .el-clamp, .el-clamp::after, .el-clamp__btn, .el-clamp__btn i { transition: none; } }
.el-schedule tr[hidden] { display: none; }

/* ---------- Current affairs quizzes month by month (front/partials/quiz-months) ---------- */
.qm { display: grid; gap: 14px; }
.qm-months { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; }
.qm-month { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--el-line); border-radius: 999px; background: #fff; color: var(--el-ink) !important; font-size: 14px; font-weight: 700; text-decoration: none !important; transition: border-color .2s, background .2s; }
.qm-month b { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #f0f2f6; color: var(--el-muted); font-size: 12px; text-align: center; }
.qm-month:hover { border-color: var(--el-gold-500); }
.qm-month.is-on { background: var(--el-navy-800); border-color: var(--el-navy-800); color: #fff !important; }
.qm-month.is-on b { background: rgba(255, 255, 255, .16); color: #fff; }
.qm-month:focus-visible { outline: 3px solid var(--el-blue-500); outline-offset: 2px; }
.qm-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; }
.qm-title { margin: 0 !important; font: 700 22px/1.2 var(--el-font-display) !important; color: var(--el-ink); }
.qm-sub { font-size: 13.5px; color: var(--el-muted); font-weight: 600; }
.qm-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.qm-card { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--el-line); border-radius: 14px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.qm-card:hover { box-shadow: var(--el-shadow); border-color: rgba(43, 128, 220, .35); }
.qm-card.is-today { border-color: var(--el-gold-500); box-shadow: 0 0 0 3px rgba(242, 165, 43, .15); }
.qm-date { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; align-content: center; background: var(--el-blue-50); color: var(--el-blue-600); line-height: 1; }
.qm-date b { font: 800 20px/1 var(--el-font-display, var(--el-font)); }
.qm-date small { margin-top: 3px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.qm-card.is-done .qm-date { background: #e8f7ef; color: #157a43; }
.qm-card.is-today .qm-date { background: var(--el-navy-800); color: var(--el-gold-400); }
.qm-body { min-width: 0; }
.qm-name { margin: 0 !important; font-size: 15px !important; font-weight: 700; line-height: 1.3; color: var(--el-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qm-tag { margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: var(--el-gold-500); color: #fff; font: 800 10.5px var(--el-font); font-style: normal; letter-spacing: .04em; text-transform: uppercase; vertical-align: 2px; }
.qm-meta { margin: 4px 0 0; display: flex; gap: 6px 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--el-muted); }
.qm-meta i { margin-right: 3px; }
.qm-score { color: #157a43; font-weight: 700; }
.qm-act .el-btn { white-space: nowrap; }
.qm-soon { font-size: 12.5px; font-weight: 600; color: var(--el-muted); white-space: nowrap; }
.qm-pager { display: flex; justify-content: space-between; gap: 10px; }
.qm-note { margin: 0; font-size: 13px; color: var(--el-muted); }
@media (max-width: 420px) { .qm-card { grid-template-columns: 46px 1fr; } .qm-date { width: 46px; height: 46px; } .qm-act { grid-column: 2; } }

/* ---------- Exam page redesign (front/exams/show + front/exams/sections/*, App\Support\ExamPage) ---------- */
.ex-page [id^="ex-"] { scroll-margin-top: calc(var(--el-header-h, 72px) + 70px); }
.ex-nav .cl-tabs__row { padding: 8px 0; }
.ex-stack { gap: 22px; }
.ex-sec .el-eyebrow { margin-bottom: 6px; }
.ex-sec .el-course__h { margin-bottom: 14px; }
.ex-sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 16px; margin-bottom: 16px; }
.ex-sec__head .el-course__h { margin-bottom: 4px; }
.ex-sec__head p { margin: 0; font-size: 14px; color: var(--el-muted); max-width: 60ch; }
.ex-sec__head > .el-btn, .ex-sec__head > .el-link { flex-shrink: 0; }
.ex-sec--plain { min-width: 0; }
.ex-note { display: flex; gap: 8px; align-items: baseline; margin: 14px 0 0; font-size: 13px; color: var(--el-muted); }
.ex-note a { font-weight: 700; overflow-wrap: anywhere; }

/* Important dates: timeline */
.ex-tl { list-style: none; margin: 0; padding: 0; position: relative; }
.ex-tl::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 2px; background: var(--el-line); }
.ex-tl__item { position: relative; display: flex; gap: 14px; padding: 9px 0; }
.ex-tl__dot { position: relative; z-index: 1; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid #c9d3df; font-size: 10px; color: #fff; margin-top: 1px; }
.ex-tl__body { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 14px; padding-bottom: 9px; border-bottom: 1px dashed var(--el-line); }
.ex-tl__item:last-child .ex-tl__body { border-bottom: 0; padding-bottom: 0; }
.ex-tl__label { font-size: 15px; font-weight: 600; color: var(--el-ink); }
.ex-tl__date { font-size: 15px; font-weight: 800; color: var(--el-ink); white-space: nowrap; }
.ex-tl__date.is-tba { font-size: 12.5px; font-weight: 800; color: #a35f00; background: var(--el-gold-50); padding: 3px 10px; border-radius: 999px; }
.ex-tl__badge { flex-basis: 100%; font-size: 12.5px; font-weight: 800; color: #a35f00; }
.ex-tl__item.is-done .ex-tl__dot { background: var(--el-green-600); border-color: var(--el-green-600); }
.ex-tl__item.is-done .ex-tl__label, .ex-tl__item.is-done .ex-tl__date { color: var(--el-muted); font-weight: 600; }
.ex-tl__item.is-next .ex-tl__dot { border-color: var(--el-gold-500); background: var(--el-gold-500); box-shadow: 0 0 0 5px rgba(242, 165, 43, .2); }
.ex-tl__item.is-next .ex-tl__body { background: var(--el-gold-50); border: 1px solid #f6d79b; border-radius: 12px; padding: 10px 12px; margin: -4px 0 4px; }

/* Exam pattern: totals + share bars */
.ex-pattern__total { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; padding: 0; }
.ex-pattern__total li { display: flex; align-items: baseline; gap: 6px; padding: 8px 14px; border-radius: 12px; background: var(--el-navy-800, #123145); color: #c9d6e4; font-size: 13px; }
.ex-pattern__total strong { font-size: 20px; color: #fff; }
.ex-pattern th[scope="row"] { font-weight: 700; color: var(--el-ink); text-align: left; min-width: 160px; text-transform: none; letter-spacing: normal; font-size: 15px; background: none; white-space: normal; }
.ex-pattern__bar, .ex-cut__bar { display: block; height: 6px; margin-top: 6px; border-radius: 999px; background: var(--el-bg); overflow: hidden; max-width: 260px; }
.ex-pattern__bar span, .ex-cut__bar span { display: block; height: 100%; width: var(--w, 0); border-radius: inherit; background: linear-gradient(90deg, var(--el-blue-600), #5aa0e6); }

/* Eligibility */
.ex-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ex-checks--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.ex-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--el-ink); line-height: 1.5; }
.ex-checks__ic { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--el-green-50); color: var(--el-green-600); font-size: 11px; margin-top: 1px; }

/* Cut-offs */
.ex-cut td { vertical-align: middle; }
.ex-cut tr.is-year td { border-top: 2px solid var(--el-line); }
.ex-cut__pct { min-width: 150px; }
.ex-cut__bar { display: inline-block; width: 80px; margin: 0 8px 0 0; vertical-align: middle; }
.ex-cut__bar span { background: linear-gradient(90deg, #e0a526, var(--el-gold-500)); }

/* Colleges (other accepting) and article topics as chips */
.ex-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.ex-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--el-line); font-size: 14px; font-weight: 600; color: var(--el-ink); }
.ex-chips li i { color: var(--el-muted); font-size: 12px; }
.ex-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.ex-topics .el-chip { padding: 7px 13px; font-size: 13.5px; background: #fff; }

/* Side card: the next date */
.ex-side__next { display: flex; gap: 12px; align-items: center; margin: -4px -4px 16px; padding: 12px; border-radius: 14px; background: var(--el-gold-50); border: 1px solid #f6d79b; text-decoration: none !important; color: var(--el-ink) !important; }
.ex-side__nexticon { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: #fff; color: #b26b00; font-size: 16px; }
.ex-side__next span { display: grid; min-width: 0; }
.ex-side__next small { font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #a35f00; }
.ex-side__next strong { font-size: 15px; line-height: 1.3; }
.ex-side__next em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--el-muted); }
.ex-side__price { font-size: 26px; margin: 6px 0 12px; }

/* Sections the team adds (Admin → Exam page sections) */
.ex-custom--highlight { border-left: 4px solid var(--el-gold-500); background: linear-gradient(90deg, #fffaf0, #fff 40%); }
.ex-custom--dark { background: linear-gradient(135deg, #0b2236, #123f66); border-color: transparent; color: #d7e2ee; }
.ex-custom--dark .el-course__h, .ex-custom--dark .el-prose h2, .ex-custom--dark .el-prose h3, .ex-custom--dark .el-prose strong { color: #fff !important; }
.ex-custom--dark .el-prose, .ex-custom--dark .el-prose p, .ex-custom--dark .el-prose li { color: #d7e2ee; }
.ex-custom--dark .el-prose a { color: var(--el-gold-500); }
.ex-custom--dark .el-eyebrow { color: var(--el-gold-500); }
.ex-custom--dark .el-clamp { --el-clamp-bg: #123a5d; }
.ex-custom--dark .el-clamp__btn { color: var(--el-gold-500); }
.ex-custom--plain { padding: 0; }
.ex-custom__btn { margin-top: 14px; }
.ex-more .ex-custom { margin: 0 0 28px; }

@media (max-width: 640px) {
    .ex-stack { gap: 16px; }
    .ex-tl__body { flex-direction: column; align-items: flex-start; gap: 2px; }
    .ex-tl__date { white-space: normal; }
    .ex-tl__badge { flex-basis: auto; }
    .ex-pattern th[scope="row"] { min-width: 0; font-size: 14px; }
    .ex-pattern__total { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; }
    .ex-pattern__total li { flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 10px; font-size: 12px; }
    .ex-pattern__total strong { font-size: 18px; line-height: 1.2; }
    .ex-pattern th, .ex-pattern td, .ex-cut th, .ex-cut td { padding: 10px 8px; }
    .ex-pattern thead th, .ex-cut thead th { white-space: normal; }
    .ex-cut__pct { display: none; }
    .ex-sec__head > .el-btn { width: 100%; justify-content: center; }
}

/* ---------- Exam page: compact “Start free” (one card, a row per free resource) ---------- */
.ex-free__head .ex-h2 { font-size: clamp(22px, 2.4vw, 28px) !important; }
.ex-free__list { list-style: none; margin: 0; padding: 0; border-radius: 16px; background: #fff; border: 1px solid var(--el-line); overflow: hidden; }
.ex-free__list li + li { border-top: 1px solid var(--el-line); }
.ex-free__item { display: flex; align-items: center; gap: 14px; padding: 12px 16px; color: var(--el-ink) !important; text-decoration: none !important; transition: background-color .15s; }
.ex-free__item:hover { background: var(--el-bg-soft, #fafbfd); }
.ex-free__item:focus-visible { outline: 2px solid var(--el-blue-500, #2b80dc); outline-offset: -2px; }
.ex-free__item .ex-free__icon { width: 38px; height: 38px; font-size: 15px; border-radius: 11px; }
.ex-free__item .ex-free__txt { flex: 1; display: grid; gap: 1px; min-width: 0; }
.ex-free__item strong { font-size: 15px; line-height: 1.3; }
.ex-free__item small { font-size: 13px; color: var(--el-muted); line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-free__cta { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 800; color: var(--el-blue-600); white-space: nowrap; }
.ex-free__cta i { font-size: 11px; transition: transform .2s; }
.ex-free__item:hover .ex-free__cta i { transform: translateX(3px); }
@media (max-width: 560px) {
    .ex-free__item { padding: 11px 12px; gap: 12px; }
    .ex-free__ctatext { display: none; }
    .ex-free__cta { width: 28px; height: 28px; justify-content: center; border-radius: 50%; background: var(--el-blue-50); }
    .ex-free__item small { white-space: normal; }
}

/* ---------- Exam page: syllabus cards with a subject icon and folded topic lists ---------- */
.ex-syl__icon { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--el-navy-800); color: var(--el-gold-400, #f6c26b); font-size: 15px; }
.ex-syl__more { border: 1px dashed #c9d3df; background: #fff; border-radius: 999px; padding: 4px 11px; font: 700 12.5px var(--el-font); color: var(--el-blue-600); cursor: pointer; }
.ex-syl__more:hover { border-color: var(--el-blue-600); background: var(--el-blue-50); }
.ex-syl__more i { font-size: 10px; margin-left: 2px; }

/* ---------- Previous year papers page: the exam's other free tools ---------- */
.pq-exam { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; text-align: left; gap: 10px 14px; margin: 0 0 20px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--el-line); }
.pq-exam__label { font-size: 13px; font-weight: 800; color: var(--el-ink); }
.pq-exam__links { display: flex; flex-wrap: wrap; gap: 8px; }
.pq-exam__links a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: var(--el-bg); border: 1px solid var(--el-line); font-size: 13.5px; font-weight: 700; color: var(--el-ink) !important; text-decoration: none !important; }
.pq-exam__links a:hover { border-color: var(--el-blue-600); background: var(--el-blue-50); color: var(--el-blue-600) !important; }
.pq-exam__links i { color: var(--el-blue-600); font-size: 12px; }
.ex-syl__topics li:has(> .ex-syl__more) { padding: 0; border: 0; background: none; }
.ex-syl__topics li[hidden] { display: none; }

/* ---------- Get a call back (exam + college pages, front/exams/partials/coaching-top) ----------
   Compact: a navy header band (title + the counsellors' status beside it, three promises) over a white body —
   “You’re in” and “Target year” as two dropdowns, name on one line, mobile on one line, “Call me back”, or WhatsApp. */
.ex-cb { position: relative; display: flex; border-radius: 22px; box-shadow: 0 30px 60px -34px rgba(11, 34, 54, .55); }
.ex-cb .ex-cb__form { flex: 1; display: flex; flex-direction: column; height: auto; padding: 0; overflow: visible; border-radius: 22px; border: 1px solid var(--el-line); background: #fff; box-shadow: none; }
.ex-cb .ex-cb__hp { position: absolute; }
.ex-cb__band { position: relative; padding: 16px 18px 14px; color: #c9d6e4; border-radius: 21px 21px 0 0; overflow: hidden;
  background: radial-gradient(260px 140px at 100% 0%, rgba(242, 165, 43, .28), transparent 65%), linear-gradient(140deg, var(--el-navy-800), var(--el-navy-950)); }
.ex-cb__band::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.2px); background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.ex-cb__band > * { position: relative; z-index: 1; }
.ex-cb .ex-cb__head { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.ex-cb .ex-cb__head > div { min-width: 0; }
.ex-cb .ex-cb__icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 17px; background: linear-gradient(135deg, var(--el-gold-400), var(--el-gold-500)); color: var(--el-navy-950); box-shadow: 0 10px 20px -10px rgba(242, 165, 43, .9); }
.ex-cb__titlerow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.ex-cb .ex-cb__title { margin: 0 !important; font: 800 19px/1.25 var(--el-font) !important; color: #fff !important; }
.ex-cb__status { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 11px; font-weight: 800; color: #e6eef6; white-space: nowrap; }
.ex-cb__dot { width: 7px; height: 7px; border-radius: 50%; background: #f6c26b; }
.ex-cb__status.is-open .ex-cb__dot { background: #4ade80; animation: ex-ping-g 2s ease-out infinite; }
@keyframes ex-ping-g { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); } 80%, 100% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); } }
.ex-cb .ex-cb__head p { margin: 3px 0 0; font-size: 13px; color: #b9c9da; line-height: 1.45; }
.ex-cb__perks { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 12px 0 0; padding: 0; font-size: 12.5px; font-weight: 700; color: #e6eef6; }
.ex-cb__perks i { color: var(--el-gold-400); margin-right: 3px; }
/* Body: one column, small steps */
.ex-cb__body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 16px 18px 18px; }
.ex-cb__pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ex-cb__sel { display: grid; gap: 5px; margin: 0; min-width: 0; }
.ex-cb__sel > span { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--el-muted); }
.ex-cb .dm-pick__btn { height: 44px; min-height: 44px; padding: 0 12px; border-radius: 12px; background: #fff; font: 700 14px var(--el-font); color: var(--el-ink); }
.ex-cb .dm-pick__btn:hover { border-color: #c3ccd8; }
.ex-cb .dm-pick.is-open .dm-pick__btn, .ex-cb .dm-pick__btn:focus-visible { border-color: var(--el-gold-500); box-shadow: 0 0 0 4px rgba(242, 165, 43, .18); outline: none; }
.ex-cb .dm-pick__list { z-index: 40; }
.ex-cb__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ex-cb .el-input { height: 44px; min-height: 44px; border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.ex-cb .el-input:focus { border-color: var(--el-gold-500); box-shadow: 0 0 0 4px rgba(242, 165, 43, .18); outline: none; }
.ex-cb__field { position: relative; }
.ex-cb__field i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #9aa8bb; font-size: 13px; pointer-events: none; }
.ex-cb__field .el-input { width: 100%; padding-left: 38px; }
.ex-cb .ex-cb__tel .el-input { flex: 1; border-radius: 0 12px 12px 0; }
.ex-cb .ex-cb__tel:focus-within span { border-color: var(--el-gold-500); color: var(--el-ink); }
.ex-cb .ex-cb__err { min-height: 0; margin: -4px 0 0; }
.ex-cb .ex-cb__err:empty { display: none; }
/* Call me back, or WhatsApp */
.ex-cb__go { position: relative; overflow: hidden; min-height: 48px; justify-content: center; font-size: 15px; box-shadow: 0 14px 24px -14px rgba(242, 165, 43, .9); transition: transform .15s, box-shadow .2s; }
.ex-cb__go:hover { transform: translateY(-1px); }
.ex-cb__arrow { margin-left: 2px; font-size: 12px; transition: transform .2s; }
.ex-cb__go:hover .ex-cb__arrow { transform: translateX(3px); }
.ex-cb__alt { display: flex; justify-content: center; margin: 0; }
.ex-cb__wa { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 800; color: #127a42 !important; text-decoration: none !important; }
.ex-cb__wa:hover { text-decoration: underline !important; text-underline-offset: 3px; }
.ex-cb__wa:focus-visible { outline: 2px solid #25d366; outline-offset: 2px; border-radius: 4px; }
.ex-cb__wa i { font-size: 17px; color: #25d366; }
/* Sent */
.ex-cb .ex-cb__done { padding: 24px 18px; }
.ex-cb .ex-cb__done:not([hidden]) > i { animation: ex-pop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
.ex-cb .ex-cb__done:not([hidden]) > strong, .ex-cb .ex-cb__done:not([hidden]) > p, .ex-cb .ex-cb__done:not([hidden]) > a { animation: ex-rise .45s ease both .15s; }
@keyframes ex-pop { from { transform: scale(.3); opacity: 0; } }
@keyframes ex-rise { from { transform: translateY(8px); opacity: 0; } }
/* Entrance when it scrolls into view (only with JavaScript, so it is never hidden without it) */
.ex-cb.ex-anim { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--el-ease, ease), transform .6s var(--el-ease, ease); }
.ex-cb.ex-anim.is-in { opacity: 1; transform: none; }
.ex-cb.ex-anim .ex-cb__pick, .ex-cb.ex-anim .ex-cb__field, .ex-cb.ex-anim .ex-cb__tel, .ex-cb.ex-anim .ex-cb__go { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
.ex-cb.ex-anim.is-in .ex-cb__pick, .ex-cb.ex-anim.is-in .ex-cb__field, .ex-cb.ex-anim.is-in .ex-cb__tel, .ex-cb.ex-anim.is-in .ex-cb__go { opacity: 1; transform: none; }
.ex-cb.ex-anim.is-in .ex-cb__pick { transition-delay: .1s; }
.ex-cb.ex-anim.is-in .ex-cb__field { transition-delay: .18s; }
.ex-cb.ex-anim.is-in .ex-cb__tel { transition-delay: .24s; }
.ex-cb.ex-anim.is-in .ex-cb__go { transition-delay: .3s; }
/* The free list beside it fills the same height on wide screens (no gap under the left column). */
@media (min-width: 992px) {
  .ex-free__list { flex: 1 1 auto; display: flex; flex-direction: column; }
  .ex-free__list li { flex: 1 1 auto; display: flex; }
  .ex-free__list .ex-free__item { flex: 1; }
}
@media (max-width: 480px) {
  .ex-cb__band { padding: 14px 16px 12px; }
  .ex-cb__body { padding: 14px 16px 16px; }
  .ex-cb .ex-cb__title { font-size: 18px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .ex-cb.ex-anim, .ex-cb.ex-anim *, .ex-cb__status.is-open .ex-cb__dot, .ex-cb .ex-cb__done > * { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
}

/* Series page — the test schedule PDF (Admin → Mock test series → Series page → Test schedule) */
.sd-sched { display: flex; align-items: center; gap: 14px 16px; flex-wrap: wrap; padding: 16px 18px; border: 1px solid var(--el-line); border-radius: 16px; background: linear-gradient(135deg, #f8fafc, #fff); }
.sd-sched__icon { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fef2f2; color: #dc2626; font-size: 20px; }
.sd-sched__txt { flex: 1 1 200px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sd-sched__txt strong { color: var(--el-ink); font-size: 16px; }
.sd-sched__txt small { color: var(--el-muted); font-size: 13px; }
.sd-sched__go { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 575.98px) { .sd-sched__go { width: 100%; } .sd-sched__go .el-btn { flex: 1; justify-content: center; } }
/* Course page — the plan the admin highlighted (Admin → course → Plans → Highlighted plan) stands out even when another is chosen */
.cp-opt.is-best:not(.is-on) { border-color: var(--el-green-600); box-shadow: 0 0 0 1px var(--el-green-600) inset, 0 8px 22px -16px rgba(22, 128, 61, .55); }
