/* Apex — course page (WooCommerce product) */
.apx-course{background:var(--bg-page)}
.crs-hero{position:relative;overflow:hidden;isolation:isolate;padding:28px 0 56px;background:linear-gradient(180deg,#c7ddfb 0%,#e4eefb 45%,#f2f7fe 100%)}
.is-dark .crs-hero{background:linear-gradient(180deg,#1d3d66 0%,#13284a 45%,#0e1d34 100%)}
.crs-crumbs ol{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 20px;padding:0;list-style:none;font-size:13px;line-height:20px;color:var(--text-muted)}
.crs-crumbs li+li::before{content:"‹";margin-inline-end:6px;color:var(--text-subtle)}
.crs-crumbs a{color:var(--text-muted);text-decoration:none}
.crs-crumbs a:hover{color:var(--brand)}
.crs-hero__flags{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:16px}
.crs-cat{font-size:13px;line-height:20px;font-weight:700;color:var(--accent-strong)}
.crs-hero__title{margin:0;max-width:880px;font-size:40px;line-height:62px;font-weight:900;color:var(--text)}
.crs-hero__lead{margin:16px 0 0;max-width:760px;font-size:18px;line-height:32px;color:var(--text-muted)}
.crs-hero__facts{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0 0;padding:0;list-style:none}
.crs-hero__facts li{display:flex;align-items:center;gap:10px;padding:10px 16px 10px 12px;border-radius:var(--radius-md);background:rgba(255,255,255,.75);border:1px solid #ffffff;box-shadow:var(--shadow-xs);font-size:15px;line-height:22px;font-weight:700;color:var(--text)}
.is-dark .crs-hero__facts li{background:rgba(17,35,59,.8);border-color:var(--border)}
.crs-hero__facts .ax-icon{color:var(--brand)}
.crs-hero__facts small{display:block;font-size:12px;line-height:16px;font-weight:400;color:var(--text-muted)}

.crs-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:48px;align-items:start;padding-top:40px;padding-bottom:96px}
.crs-main{min-width:0}
.crs-aside{position:sticky;top:calc(var(--header-h) + 20px);margin-top:-120px}
.admin-bar .crs-aside{top:calc(var(--header-h) + 52px)}
.crs-aside .ax-buybox{border-radius:var(--radius-xl)}
.ax-btn--block{width:100%}

.crs-tabs{position:sticky;top:var(--header-h);z-index:20;margin:0 0 8px;background:var(--bg-page);border-bottom:1px solid var(--border)}
.admin-bar .crs-tabs{top:calc(var(--header-h) + 32px)}
.crs-tabs ul{display:flex;gap:4px;margin:0;padding:0;list-style:none;overflow-x:auto;scrollbar-width:none}
.crs-tabs ul::-webkit-scrollbar{display:none}
.crs-tabs a{display:block;padding:14px 14px;white-space:nowrap;font-size:15px;line-height:24px;font-weight:500;color:var(--text-muted);text-decoration:none;border-bottom:2px solid transparent}
.crs-tabs a:hover,.crs-tabs a.is-on{color:var(--brand);border-bottom-color:var(--brand)}

.crs-sec{padding:40px 0 8px;scroll-margin-top:calc(var(--header-h) + 64px)}
.crs-h2{margin:0 0 20px;font-size:28px;line-height:44px;font-weight:700;color:var(--text)}
.crs-sub{margin:-8px 0 20px;font-size:16px;line-height:28px;color:var(--text-muted)}

.crs-prose{font-size:16px;line-height:30px;color:var(--text)}
.crs-prose>*+*{margin-top:16px}
.crs-prose h2{font-size:24px;line-height:38px;font-weight:700;margin-top:32px}
.crs-prose h3{font-size:20px;line-height:32px;font-weight:700;margin-top:24px}
.crs-prose p{margin:0}
.crs-prose ul,.crs-prose ol{margin:0;padding-inline-start:22px}
.crs-prose li+li{margin-top:6px}
.crs-prose strong{font-weight:700}
.crs-prose a{color:var(--link);text-decoration:underline;text-underline-offset:3px}

.crs-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;margin:0;padding:0;list-style:none}
.crs-checks li{display:flex;align-items:flex-start;gap:10px;padding:14px 16px;border-radius:var(--radius-md);background:var(--bg-subtle);border:1px solid var(--border);font-size:15px;line-height:26px;color:var(--text)}
.crs-checks .ax-icon{flex:none;margin-top:4px;color:var(--success)}

.ax-acc--syllabus .ax-acc__btn{gap:12px}
.crs-practice{display:flex;align-items:flex-start;gap:10px;margin:12px 0 4px;padding:12px 14px;border-radius:var(--radius-md);background:var(--accent-soft);font-size:14px;line-height:24px;color:var(--text)}
.crs-practice .ax-badge{flex:none}

.crs-teachers{display:flex;flex-direction:column;gap:16px}
.crs-teacher{padding:20px;gap:14px}
.crs-teacher__head{display:flex;align-items:center;gap:16px}
.crs-teacher__av{flex:none;width:72px;height:72px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:var(--surface-brand-soft);color:var(--brand)}
.crs-teacher__av img{width:100%;height:100%;object-fit:cover}
.crs-teacher h3{margin:0;font-size:18px;line-height:28px;font-weight:700;color:var(--text)}
.crs-teacher__job{margin:2px 0 0;font-size:14px;line-height:22px;color:var(--brand)}
.crs-teacher__mc{margin:2px 0 0;font-size:13px;line-height:20px;color:var(--text-muted)}
.crs-teacher__bio{margin:0;font-size:15px;line-height:28px;color:var(--text-muted)}
.crs-pending{display:flex;align-items:center;gap:16px;padding:20px;border:1px dashed var(--border-strong);border-radius:var(--radius-lg);background:var(--bg-subtle)}
.crs-pending .crs-teacher__av{width:56px;height:56px}
.crs-pending p{margin:0;font-size:15px;line-height:26px;color:var(--text-muted)}

.crs-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.crs-box{padding:20px;border-radius:var(--radius-lg);border:1px solid var(--border);background:var(--surface)}
.crs-box h3{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-size:17px;line-height:28px;font-weight:700;color:var(--text)}
.crs-box h3 .ax-icon{color:var(--brand)}
.crs-box ul{margin:0;padding-inline-start:20px;font-size:15px;line-height:28px;color:var(--text-muted)}
.crs-box li+li{margin-top:4px}

.crs-incl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}
.crs-incl li{display:flex;align-items:center;gap:12px;padding:10px 14px 10px 10px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);font-size:15px;line-height:24px;font-weight:500;color:var(--text)}

.crs-bar{display:none}
@media (min-width:1024px){.crs-hero .ax-container>*{max-width:calc(100% - 408px)}}

@media (max-width:1023px){
.crs-layout{grid-template-columns:1fr;gap:0;padding-top:0}
.crs-aside{position:static;margin-top:-28px;order:-1}
.crs-main{order:1}
}
@media (max-width:767px){
.crs-hero{padding:20px 0 48px}
.crs-hero__title{font-size:28px;line-height:44px}
.crs-hero__lead{font-size:16px;line-height:28px}
.crs-hero__facts{gap:10px}
.crs-hero__facts li{flex:1 1 calc(50% - 10px);font-size:14px;min-width:0}
.crs-hero__facts li.is-wide{flex-basis:100%}
.crs-hero__facts .ax-icon{flex:none}
.crs-checks,.crs-two,.crs-incl{grid-template-columns:1fr}
.ax-acc--syllabus .ax-acc__btn{flex-wrap:wrap;row-gap:2px}
.ax-acc--syllabus .ax-acc__title{flex:1 1 0;min-width:0}
.ax-acc--syllabus .ax-acc__meta{order:3;flex-basis:100%;padding-inline-start:44px}
.crs-h2{font-size:22px;line-height:36px}
.crs-layout{padding-bottom:170px}
.crs-bar{position:fixed;inset-inline:12px;bottom:calc(92px + env(safe-area-inset-bottom));z-index:55;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 8px 8px 12px;background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:0 10px 28px rgba(25,52,84,.16)}
.crs-bar .ax-price__now{font-size:18px;line-height:26px}
.crs-bar .ax-price__was{display:none}
#parsaChatBtn{bottom:calc(166px + env(safe-area-inset-bottom)) !important}
}

/* ---------- waitlist (SMS notify) ---------- */
.ax-buybox__closed{display:flex;align-items:center;justify-content:center;gap:6px;margin:0;padding:10px 12px;border-radius:var(--radius-sm);background:var(--bg-muted);color:var(--text-muted);font-size:14px;line-height:22px;font-weight:700}
.apx-wl{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:16px}
.apx-wl[hidden]{display:none}
.apx-wl__scrim{position:absolute;inset:0;background:var(--overlay);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);opacity:0;transition:opacity .18s ease}
.is-dark .apx-wl__scrim{background:rgba(3,10,20,.72)}
.is-dark .apx-wl__panel{border-color:var(--border-strong)}
.apx-wl__panel{position:relative;width:min(440px,100%);max-height:calc(100dvh - 32px);overflow:auto;padding:28px 24px 24px;text-align:center;transform:translateY(16px) scale(.98);opacity:0;transition:transform .2s cubic-bezier(.2,.7,.1,1),opacity .18s ease}
.apx-wl.is-open .apx-wl__scrim{opacity:1}
.apx-wl.is-open .apx-wl__panel{transform:none;opacity:1}
.apx-wl__x{position:absolute;top:12px;inset-inline-end:12px;display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:var(--radius-pill);background:transparent;color:var(--text-muted);cursor:pointer}
.apx-wl__x:hover{background:var(--bg-muted);color:var(--text)}
.apx-wl__ic,.apx-wl__ok{display:inline-grid;place-items:center;width:56px;height:56px;border-radius:var(--radius-pill);background:var(--surface-brand-soft);color:var(--brand)}
.apx-wl__ok{background:var(--success-soft);color:var(--success)}
.apx-wl__title{margin:14px 0 4px;font-size:20px;line-height:32px;font-weight:900;color:var(--text)}
.apx-wl__course{margin:0;font-size:14px;line-height:24px;font-weight:700;color:var(--accent-strong)}
.apx-wl__intro{margin:8px 0 18px;font-size:14px;line-height:24px;color:var(--text-muted)}
.apx-wl__form{display:flex;flex-direction:column;gap:14px;text-align:start}
.apx-wl__form .ax-field__control[type=tel]{letter-spacing:.04em}
.apx-wl__hp{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.apx-wl__done{display:flex;flex-direction:column;align-items:center;gap:12px;padding-top:6px}
.apx-wl__done[hidden],.apx-wl__form[hidden]{display:none}
.apx-wl__done-t{margin:0;font-size:15px;line-height:26px;font-weight:700;color:var(--text)}
.apx-wl .is-loading{opacity:.7;pointer-events:none}
.crs-bar__btns{display:flex;gap:8px;align-items:center}
@media (max-width:640px){
.apx-wl{place-items:end center;padding:0}
.apx-wl__panel{width:100%;border-radius:20px 20px 0 0;padding:26px 18px calc(20px + env(safe-area-inset-bottom));transform:translateY(40px)}
.crs-bar .ax-btn{padding-inline:14px;white-space:nowrap}
}

/* ---------- category / catalog ---------- */
.cat-hero{padding-bottom:40px}
.cat-list{padding-top:48px}
.cat-list .crs-h2{margin:0 0 24px}
.cat-grid{align-items:stretch}
.cat-empty{display:flex;flex-direction:column;align-items:center;gap:12px;padding:40px 24px;text-align:center;color:var(--text-muted)}
.cat-empty p{margin:0;font-size:16px;line-height:28px}
.cat-prose{max-width:860px;margin-inline:auto}
.cat-prose h2{font-size:24px;line-height:38px;margin:28px 0 10px;color:var(--text)}
.cat-prose h3{font-size:19px;line-height:32px;margin:22px 0 8px;color:var(--text)}
.cat-prose p,.cat-prose li{font-size:16px;line-height:30px;color:var(--text-muted)}
.cat-cta__box{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:32px}
.cat-cta__box .crs-h2{margin:0 0 6px}
.cat-cta__box p{margin:0;color:var(--text-muted);font-size:15px;line-height:26px}
@media (max-width:900px){.cat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){
.cat-grid{grid-template-columns:1fr}
.cat-list{padding-top:32px}
.cat-cta__box{flex-direction:column;align-items:stretch;text-align:center;padding:24px 18px}
.apx-cat .crs-hero__facts li:last-child{flex-basis:100%}
.apx-cat main{padding-bottom:90px}
}

/* ---------- about / contact pages ---------- */
.pg-hero__in{display:flex;align-items:center;justify-content:space-between;gap:40px}
.pg-hero__text{max-width:820px}
.pg-hero .ax-sh__eyebrow{display:inline-block;margin:6px 0 10px}
.pg-hero__art{flex:none;display:grid;place-items:center;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle at 30% 30%,var(--surface),var(--surface-brand-soft));border:1px solid var(--border);box-shadow:var(--shadow-md);color:var(--brand)}
.pg-hero__art span{display:grid;place-items:center;width:112px;height:112px;border-radius:50%;background:var(--surface);box-shadow:var(--shadow-sm)}
.is-dark .pg-hero__art{background:radial-gradient(circle at 30% 30%,rgba(143,179,232,.18),rgba(17,35,59,.6))}
.is-dark .pg-hero__art span{background:rgba(17,35,59,.9)}
.pg-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:48px;align-items:start}
.pg-prose p{font-size:17px;line-height:32px;color:var(--text-muted);margin:0 0 16px}
.pg-pillars{margin-top:40px}
.pg-pillar{display:flex;flex-direction:column;gap:10px;padding:28px;height:100%}
.pg-pillar h3{margin:4px 0 0;font-size:18px;line-height:30px;font-weight:900;color:var(--text)}
.pg-pillar p{margin:0;font-size:15px;line-height:27px;color:var(--text-muted)}
.pg-pillar__ic{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:var(--surface-brand-soft);color:var(--brand)}
.pg-formats{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:40px}
.pg-format{display:flex;flex-direction:column;gap:12px;padding:32px;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease}
.pg-format:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg)}
.pg-format__ic{display:grid;place-items:center;width:56px;height:56px;border-radius:16px;background:var(--brand);color:var(--on-brand)}
.pg-format__t{display:flex;align-items:baseline;gap:10px}
.pg-format__t b{font-size:22px;line-height:36px;font-weight:900;color:var(--text)}
.pg-format__t small{font-size:14px;color:var(--accent-strong);font-weight:700}
.pg-format p{margin:0;font-size:15px;line-height:27px;color:var(--text-muted)}
.pg-format__go{display:inline-flex;align-items:center;gap:6px;margin-top:auto;font-weight:700;color:var(--brand)}
.pg-mission{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.pg-mission__card{padding:32px}
.pg-mission__card h2{margin:14px 0 8px;font-size:22px;line-height:36px;font-weight:900;color:var(--text)}
.pg-mission__card p{margin:0;font-size:16px;line-height:30px;color:var(--text-muted)}
.pg-cta__btns{display:flex;flex-wrap:wrap;gap:12px}
.pg-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.pg-ccard{display:flex;gap:14px;align-items:flex-start;padding:22px}
.pg-ccard h2{margin:0 0 4px;font-size:14px;line-height:22px;font-weight:500;color:var(--text-muted)}
.pg-ccard a,.pg-ccard span:not(.pg-pillar__ic){display:block;font-size:16px;line-height:28px;font-weight:700;color:var(--text);text-decoration:none;text-align:start}
.pg-ccard a:hover{color:var(--brand)}
.pg-ccard .pg-pillar__ic{flex:none}
.pg-contact{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px;align-items:start}
.pg-form{padding:32px}
.pg-form .crs-h2{margin:0 0 6px}
.pg-form__desc{margin:0 0 20px;color:var(--text-muted);font-size:15px;line-height:27px}
.pg-form__f{display:flex;flex-direction:column;gap:16px}
.pg-form__row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.pg-form__done{display:flex;flex-direction:column;align-items:center;gap:12px;padding:32px 8px;text-align:center}
.pg-form__done[hidden]{display:none}
.pg-form__done p{margin:0;font-size:16px;line-height:28px;font-weight:700;color:var(--text)}
.pg-map{display:flex;flex-direction:column;gap:16px}
.pg-map__frame{padding:0;overflow:hidden;aspect-ratio:4/3}
.pg-map__frame iframe{display:block;width:100%;height:100%;border:0}
.is-dark .pg-map__frame iframe{filter:invert(.9) hue-rotate(180deg) saturate(.6) brightness(.95)}
.pg-map__links{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:14px;color:var(--text-muted)}
.pg-map__links a{display:inline-flex;align-items:center;height:36px;padding:0 14px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-weight:700;text-decoration:none}
.pg-map__links a:hover{border-color:var(--brand);color:var(--brand)}
.pg-social{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px}
.pg-social b{font-size:15px;color:var(--text)}
.pg-soc{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--surface-brand-soft);color:var(--brand)}
@media (max-width:1100px){.pg-cards{grid-template-columns:1fr 1fr}}
@media (max-width:900px){.pg-two,.pg-contact,.pg-mission,.pg-formats{grid-template-columns:1fr}.pg-hero__art{display:none}}
@media (max-width:640px){
.pg-cards{grid-template-columns:1fr}
.pg-form{padding:22px 18px}
.pg-form__row{grid-template-columns:1fr}
.pg-pillar,.pg-format,.pg-mission__card{padding:22px}
.pg-cta__btns .ax-btn{width:100%}
.apx-page main{padding-bottom:90px}
}
.pg-soc span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.pg-social>div{display:flex;gap:8px}

/* ---------- instructors page ---------- */
.ins-index-sec{padding-block:32px}
.ins-index{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}
.ins-chip{display:flex;align-items:center;gap:12px;padding:12px 14px;text-decoration:none}
.ins-chip b{display:block;font-size:15px;line-height:24px;color:var(--text)}
.ins-chip small{display:block;font-size:12px;line-height:18px;color:var(--text-muted)}
.ins-av{flex:none;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;overflow:hidden;background:var(--surface-brand-soft);color:var(--brand)}
.ins-av img{width:100%;height:100%;object-fit:cover}
.ins-sec{scroll-margin-top:calc(var(--header-h) + 8px)}
.ins-profile{display:grid;grid-template-columns:320px minmax(0,1fr);gap:40px;align-items:start}
.ins-card{position:sticky;top:calc(var(--header-h) + 16px);overflow:hidden;padding:0}
.ins-photo{display:grid;place-items:center;aspect-ratio:4/4.3;background:linear-gradient(160deg,var(--surface-brand-soft),var(--bg-muted));color:var(--brand)}
.ins-photo img{width:100%;height:100%;object-fit:cover}
.is-dark .ins-photo{background:linear-gradient(160deg,rgba(143,179,232,.16),rgba(17,35,59,.6))}
.ins-card__b{padding:20px 22px 24px}
.ins-card h2{margin:0;font-size:22px;line-height:36px;font-weight:900;color:var(--text)}
.ins-job{margin:4px 0 10px;font-size:14px;line-height:24px;color:var(--text-muted)}
.ins-mc{display:flex;align-items:center;gap:6px;margin:0 0 14px;padding:8px 12px;border-radius:10px;background:var(--surface-brand-soft);font-size:13px;line-height:20px;color:var(--text)}
.ins-mc .ax-icon{color:var(--brand)}
.ins-tags{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
.ins-tags li{padding:4px 10px;border-radius:999px;border:1px solid var(--border);font-size:12px;line-height:18px;color:var(--text-muted)}
.ins-intro{margin:0 0 16px;font-size:19px;line-height:34px;font-weight:700;color:var(--text)}
.ins-cols{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0}
.ins-cols h3,.ins-h3{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-size:16px;line-height:26px;font-weight:900;color:var(--text)}
.ins-cols .ax-icon,.ins-h3 .ax-icon{color:var(--brand)}
.ins-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px}
.ins-list li{position:relative;padding-inline-start:18px;font-size:14px;line-height:25px;color:var(--text-muted)}
.ins-list li::before{content:"";position:absolute;inset-inline-start:2px;top:9px;width:7px;height:7px;border-radius:50%;background:var(--brand)}
.ins-h3{margin-top:24px}
.ins-courses{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ins-course{display:flex;align-items:center;gap:10px;padding:12px 14px;text-decoration:none}
.ins-course b{flex:1;min-width:0;font-size:14px;line-height:22px;color:var(--text)}
.ins-course>.ax-icon{color:var(--brand);flex:none}
.ins-course:hover b{color:var(--brand)}
.ins-pubs{margin-top:20px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}
.ins-pubs summary{display:flex;align-items:center;gap:8px;padding:14px 16px;cursor:pointer;font-weight:700;color:var(--text);list-style:none}
.ins-pubs summary::-webkit-details-marker{display:none}
.ins-pubs summary .ax-icon:first-child{color:var(--brand)}
.ins-pubs summary .ax-icon:last-child{margin-inline-start:auto;transition:transform .2s}
.ins-pubs[open] summary .ax-icon:last-child{transform:rotate(180deg)}
.ins-pubs ol{margin:0;padding:0 36px 16px 16px;font-size:13px;line-height:22px;color:var(--text-muted);text-align:left}
.ins-pubs li{margin-bottom:8px}
@media (max-width:900px){.ins-profile{grid-template-columns:1fr}.ins-card{position:static;display:grid;grid-template-columns:120px 1fr}.ins-photo{aspect-ratio:auto;height:100%}}
@media (max-width:640px){.ins-cols,.ins-courses{grid-template-columns:1fr}.ins-card{grid-template-columns:96px 1fr}.ins-card__b{padding:14px}.ins-card h2{font-size:18px;line-height:30px}.ins-intro{font-size:17px;line-height:30px}}

/* ---------- FAQ page ---------- */
.faq-wrap{display:grid;grid-template-columns:280px minmax(0,1fr);gap:40px;align-items:start}
.faq-nav{position:sticky;top:calc(var(--header-h) + 16px);display:flex;flex-direction:column;gap:14px}
.faq-nav ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:4px}
.faq-nav a{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;color:var(--text);text-decoration:none;font-size:15px;line-height:24px;font-weight:500}
.faq-nav a .ax-icon{color:var(--brand);flex:none}
.faq-nav a span{flex:1}
.faq-nav a small{min-width:24px;height:24px;display:grid;place-items:center;border-radius:999px;background:var(--surface-brand-soft);color:var(--brand);font-size:12px;font-weight:700}
.faq-nav a:hover{background:var(--bg-muted)}
.faq-group{margin-bottom:36px;scroll-margin-top:calc(var(--header-h) + 16px)}
.faq-group .crs-h2{margin:0 0 14px}
.faq-empty{padding:24px;border-radius:14px;background:var(--bg-muted);color:var(--text-muted);text-align:center}
@media (max-width:900px){
.faq-wrap{grid-template-columns:1fr;gap:20px}
.faq-nav{position:static}
.faq-nav ul{flex-direction:row;overflow-x:auto;scrollbar-width:none;gap:8px;margin-inline:calc(var(--gutter-m,16px) * -1);padding-inline:var(--gutter-m,16px)}
.faq-nav ul::-webkit-scrollbar{display:none}
.faq-nav a{white-space:nowrap;border:1px solid var(--border);border-radius:999px;padding:8px 14px}
}
.ins-course,.ins-chip,.pg-ccard,.pg-social{flex-direction:row}

/* ---------- consultation page ---------- */
.cs-wrap{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:28px;align-items:start}
.cs-wrap>*{min-width:0}
.cs-side{display:flex;flex-direction:column;gap:16px}
.cs-steps{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:12px}
.cs-step{display:flex;flex-direction:row;align-items:flex-start;gap:14px;padding:18px}
.cs-step__n{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:12px;background:var(--brand);color:var(--on-brand);font-weight:900;font-size:17px}
.is-dark .cs-step__n{background:#8fb3e8;color:#0b1626}
.cs-step h3{margin:0;font-size:16px;line-height:26px;font-weight:900;color:var(--text)}
.cs-step p{margin:4px 0 0;font-size:14px;line-height:25px;color:var(--text-muted)}
.cs-direct{padding:22px;display:flex;flex-direction:column;gap:12px}
.cs-direct h2{margin:0;font-size:18px;color:var(--text)}
.cs-chats{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.cs-chat{display:flex;align-items:center;justify-content:center;gap:8px;height:44px;border-radius:12px;border:1px solid var(--border);color:var(--text);font-weight:700;font-size:14px;text-decoration:none}
.cs-chat:hover{border-color:var(--brand);color:var(--brand)}
.cs-hours{display:flex;align-items:center;gap:6px;margin:0;font-size:13px;color:var(--text-muted)}
.cs-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;border:0}
.cs-chips legend{width:100%;margin-bottom:6px;padding:0}
.cs-chips label{position:relative;cursor:pointer}
.cs-chips input{position:absolute;opacity:0;inset:0}
.cs-chips span{display:inline-flex;align-items:center;height:40px;padding:0 16px;border-radius:999px;border:1.5px solid var(--border-strong);color:var(--text);font-size:14px;font-weight:500}
.cs-chips input:checked+span{border-color:var(--brand);background:var(--surface-brand-soft);color:var(--brand);font-weight:700}
.cs-chips input:focus-visible+span{box-shadow:var(--shadow-focus)}
@media (max-width:900px){.cs-wrap{grid-template-columns:1fr}.cs-form{order:-1}}

/* overflow guards (FAQ, account, pages) */
.faq-wrap>*,.acct-layout>*,.pg-contact>*,.ins-profile>*{min-width:0}
.faq-nav ul,.acct-nav ul{max-width:100%}
.apx-page,.apx-acct{overflow-x:clip}

/* ---------- instructors: tiles + profile ---------- */
.ins-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}
.ins-tile{display:flex;flex-direction:column;overflow:hidden;padding:0}
.ins-tile__photo{display:grid;place-items:center;aspect-ratio:4/3.4;background:linear-gradient(160deg,var(--surface-brand-soft),var(--bg-muted));color:var(--brand)}
.is-dark .ins-tile__photo{background:linear-gradient(160deg,rgba(143,179,232,.16),rgba(17,35,59,.6))}
.ins-tile__photo img{width:100%;height:100%;object-fit:cover;object-position:top}
.ins-tile__b{display:flex;flex-direction:column;gap:6px;flex:1;padding:18px}
.ins-tile__b h2{margin:0;font-size:19px;line-height:30px;font-weight:900}
.ins-tile__b h2 a{color:var(--text);text-decoration:none}
.ins-tile__b .ins-job{margin:0}
.ins-tile__b .ins-mc{align-self:flex-start;margin:4px 0}
.ins-tile__intro{margin:0;font-size:14px;line-height:25px;color:var(--text-muted)}
.ins-tile__foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:12px;border-top:1px solid var(--border);font-size:13px;color:var(--text-muted)}
.ins-tile__foot span{display:inline-flex;align-items:center;gap:6px}
.ip-hero__in{display:flex;align-items:center;gap:32px}
.ip-photo{flex:none;display:grid;place-items:center;width:200px;height:200px;border-radius:28px;overflow:hidden;background:var(--surface-brand-soft);color:var(--brand);border:1px solid var(--border);box-shadow:var(--shadow-md)}
.ip-photo img{width:100%;height:100%;object-fit:cover;object-position:top}
.ip-title{margin:4px 0 12px;font-size:17px;line-height:30px;color:var(--text-muted)}
.ip-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.ip-chips .ins-mc{margin:0}
.ip-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:36px;align-items:start}
.ip-layout>*{min-width:0}
.ip-side{position:sticky;top:calc(var(--header-h) + 16px);display:flex;flex-direction:column;gap:14px}
.ip-box{padding:20px}
.ip-box h3{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-size:16px;font-weight:900;color:var(--text)}
.ip-box h3 .ax-icon{color:var(--brand)}
.ip-courses{display:flex;flex-direction:column;gap:8px}
.ip-courses .ins-course{border:1px solid var(--border);border-radius:12px}
.ip-verify p{margin:0;font-size:14px;line-height:25px;color:var(--text-muted)}
.ip-main .crs-h2{margin:28px 0 12px}
.ip-pubs{margin:0;padding-inline-start:20px;font-size:14px;line-height:24px;color:var(--text-muted);text-align:left}
.ip-pubs li{margin-bottom:10px}
@media (max-width:900px){.ip-layout{grid-template-columns:1fr}.ip-side{position:static}.ip-hero__in{flex-direction:column;align-items:flex-start;gap:18px}.ip-photo{width:120px;height:120px;border-radius:22px}}

/* 2.4.3 — course cover image */
.crs-cover{margin:0;border-radius:var(--radius-xl);overflow:hidden;border:1px solid var(--border);background:#05090f;box-shadow:0 18px 40px rgba(9,22,40,.14);aspect-ratio:16/9}
.crs-cover img{display:block;width:100%;height:100%;object-fit:cover}
.is-dark .crs-cover{box-shadow:0 18px 40px rgba(0,0,0,.4)}
@media (min-width:1024px){
.crs-layout.has-cover{row-gap:32px}
.crs-layout.has-cover .crs-cover{grid-column:1;grid-row:1}
.crs-layout.has-cover .crs-main{grid-column:1;grid-row:2}
.crs-layout.has-cover .crs-aside{grid-column:2;grid-row:1 / span 2}
}
@media (max-width:1023px){
.crs-layout.has-cover .crs-cover{order:-2;margin-top:-28px;border-radius:var(--radius-lg);position:relative;z-index:1}
.crs-layout.has-cover .crs-aside{margin-top:16px}
}
