/* SaeidPix Stage 26B — course sales page + instructor profile */
.cs-page, .tp-page { --ink: #15160f; --text: #2b2b25; --muted: #6e6a60; --faint: #a19b90; --line: #e9e3d7; --soft: #f6f2ea; --card: #fffdf9; --green: #0f6b4f; --green-d: #0b5640; --green-soft: #e7f3ee; --gold: #d6a849; --gold-2: #f0cf7e; --gold-ink: #8a6512; --gold-soft: #fbf3de; --night: #12110d; --night-2: #1d1b14; }
.cs-page .sp13a-breadcrumbs, .tp-page .sp13a-breadcrumbs { background: transparent; border: 0; }
.cs, .tp { max-width: 1180px; margin: 0 auto; padding: 0 0 80px; color: var(--text); }
.cs *, .cs *::before, .cs *::after, .tp *, .tp *::before, .tp *::after { box-sizing: border-box; }
.cs a, .tp a { text-decoration: none; }
.cs h1, .cs h2, .cs h3, .cs p, .tp h1, .tp h2, .tp p { margin: 0; }
.cs svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* buttons */
.cs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border: 1.5px solid transparent; border-radius: 15px; font-size: 15px; font-weight: 900; white-space: nowrap; transition: transform .15s, box-shadow .15s, background .15s; }
.cs-btn.is-xl { height: 58px; padding: 0 30px; border-radius: 17px; font-size: 16.5px; }
.cs-btn.is-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #1d1606 !important; box-shadow: 0 14px 34px rgba(214, 168, 73, .35); }
.cs-btn.is-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(214, 168, 73, .45); }
.cs-btn.is-main { background: var(--green); color: #fff !important; box-shadow: 0 12px 26px rgba(15, 107, 79, .25); }
.cs-btn.is-main:hover { background: var(--green-d); transform: translateY(-1px); }
.cs-btn.is-ghost { border-color: var(--line); background: #fff; color: var(--ink) !important; }
.cs-btn.is-ghost:hover { background: var(--soft); }
.cs-btn.is-off { background: rgba(255, 255, 255, .1); color: #a9a292 !important; }
.cs-btn.is-block { display: flex; width: 100%; }

/* hero */
.cs-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 0; margin-top: 16px; overflow: hidden; border-radius: 32px; background: linear-gradient(150deg, var(--night-2), var(--night) 60%); color: #e9e4d8; box-shadow: 0 30px 70px rgba(18, 17, 13, .28); isolation: isolate; }
.cs-hero-glow { position: absolute; inset: auto auto -40% -10%; z-index: -1; width: 70%; height: 120%; background: radial-gradient(closest-side, rgba(214, 168, 73, .28), transparent); }
.cs-hero-copy { display: flex; flex-direction: column; gap: 18px; padding: 46px 48px 40px; }
.cs-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cs-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 99px; background: rgba(255, 255, 255, .06); color: #d9d2c2 !important; font-size: 12.5px; font-weight: 800; }
.cs-chip.is-cat { border-color: rgba(240, 207, 126, .35); color: var(--gold-2) !important; }
.cs-chip.is-free { border-color: rgba(76, 200, 150, .4); background: rgba(47, 174, 110, .15); color: #8ee3bc !important; }
.cs-chip.is-sale { border-color: rgba(255, 140, 120, .4); background: rgba(255, 110, 90, .15); color: #ffb3a6 !important; }
.cs-chip.is-soon i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 0 rgba(240, 207, 126, .7); animation: cs-pulse 1.8s infinite; }
@keyframes cs-pulse { to { box-shadow: 0 0 0 8px rgba(240, 207, 126, 0); } }
.cs-hero h1 { color: #fff; font-size: clamp(28px, 3vw, 44px); font-weight: 900; line-height: 1.45; text-wrap: balance; }
.cs-lead { color: #c9c2b3; font-size: 16px; line-height: 2.05; }
.cs-trust { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cs-trust li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); color: #e9e4d8; font-size: 13px; font-weight: 750; }
.cs-trust li svg { width: 16px; height: 16px; color: var(--gold-2); }
.cs-trust li.is-gold { color: var(--gold-2); }
.cs-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 4px; }
.cs-hero-price { display: flex; flex-direction: column; line-height: 1.4; }
.cs-hero-price b { color: #fff; font-size: 26px; font-weight: 900; }
.cs-hero-price b i { color: #a9a292; font-size: 13px; font-style: normal; }
.cs-hero-price small { color: #a9a292; font-size: 12.5px; }
.cs-preview-link { align-self: flex-start; color: var(--gold-2) !important; font-size: 14px; font-weight: 850; }
.cs-preview-link:hover { text-decoration: underline; }
.cs-soon-note { padding: 12px 14px; border: 1px dashed rgba(240, 207, 126, .4); border-radius: 14px; color: #e8d9b0; font-size: 13.5px; line-height: 1.9; }
.cs-enrolled { padding: 10px 14px; border-radius: 12px; background: rgba(47, 174, 110, .16); color: #8ee3bc; font-size: 13.5px; font-weight: 800; }
.cs-hero-teacher { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; margin-top: 6px; padding: 6px 14px 6px 6px; border-radius: 99px; background: rgba(255, 255, 255, .06); color: inherit !important; transition: background .15s; }
.cs-hero-teacher:hover { background: rgba(255, 255, 255, .12); }
.cs-hero-teacher small { display: block; color: #a9a292; font-size: 11px; }
.cs-hero-teacher b { color: #fff; font-size: 14px; }
.cs-avatar { display: grid; flex: none; place-items: center; overflow: hidden; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(160deg, #3a3424, #1a1812); color: var(--gold-2); font-size: 16px; font-weight: 900; }
.cs-avatar.is-sm { width: 28px; height: 28px; font-size: 12px; }
.cs-avatar img, .cs-avatar picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.cs-hero-media { position: relative; margin: 0; min-height: 440px; overflow: hidden; background: #0d0c09; }
.cs-hero-blur { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(30px) brightness(.55) saturate(1.2); transform: scale(1.1); }
.cs-hero-media picture, .cs-hero-media img { position: absolute; inset: 24px; z-index: 1; display: block; width: calc(100% - 48px) !important; height: calc(100% - 48px) !important; max-width: none; object-fit: contain; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45)); }
.cs-ph { display: grid; place-items: center; width: 100%; height: 100%; min-height: 160px; background: linear-gradient(160deg, #2c2a20, #15140f); color: var(--gold-2); font-size: 22px; font-weight: 900; letter-spacing: 1px; }
.cs-hero-media .cs-ph { position: absolute; inset: 0; }

/* tabs */
.cs-tabs { position: sticky; top: 72px; z-index: 30; display: flex; gap: 4px; margin: 22px 0 0; padding: 6px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 253, 249, .95); backdrop-filter: blur(8px); overflow-x: auto; scrollbar-width: none; box-shadow: 0 8px 20px rgba(30, 26, 18, .04); }
.cs-tabs a { flex: none; padding: 9px 16px; border-radius: 11px; color: var(--muted) !important; font-size: 13.5px; font-weight: 850; transition: background .15s; }
.cs-tabs a:hover { background: var(--soft); }
.cs-tabs a.is-active { background: var(--night); color: var(--gold-2) !important; }

/* layout + cards */
.cs-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; margin-top: 18px; align-items: start; }
.cs-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.cs-card { padding: 34px 36px; border: 1px solid var(--line); border-radius: 26px; background: #fff; scroll-margin-top: 140px; }
.cs-eyebrow { display: inline-block; margin-bottom: 6px; color: var(--gold-ink); font-size: 12.5px; font-weight: 900; letter-spacing: .2px; }
.cs-eyebrow.is-light { color: var(--gold-2); }
.cs-card h2 { margin-bottom: 18px; color: var(--ink); font-size: clamp(21px, 2vw, 26px); font-weight: 900; }
.cs-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.cs-card-head h2 { margin: 0; }
.cs-text { color: var(--text); font-size: 16px; line-height: 2.15; }
.cs-prereq { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 16px 18px; border-radius: 18px; background: var(--soft); }
.cs-prereq-icon { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #fff; font-size: 20px; }
.cs-prereq strong { display: block; color: var(--ink); font-size: 14.5px; }
.cs-prereq p { color: var(--muted); font-size: 14px; line-height: 1.9; }

/* outcomes */
.cs-outcomes-card { background: radial-gradient(120% 120% at 100% 0%, #fff7e2 0%, #fff 60%); }
.cs-outcomes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; counter-reset: o; }
.cs-outcome { position: relative; display: flex; align-items: center; gap: 14px; min-height: 84px; padding: 16px 18px; border: 1px solid #efe4c8; border-radius: 20px; background: rgba(255, 255, 255, .85); transition: transform .2s, box-shadow .2s, border-color .2s; }
.cs-outcome:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 14px 30px rgba(214, 168, 73, .16); }
.cs-o-num { flex: none; min-width: 48px; color: transparent; font-size: 34px; font-weight: 900; line-height: 1; -webkit-text-stroke: 1.5px var(--gold); background: linear-gradient(180deg, var(--gold-2), var(--gold)); -webkit-background-clip: text; background-clip: text; opacity: .9; }
.cs-outcome p { flex: 1; color: var(--ink); font-size: 15px; font-weight: 800; line-height: 1.85; }
.cs-o-check { display: grid; flex: none; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 13px; font-weight: 900; }

/* curriculum */
.cs-cur-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 18px; }
.cs-cur-stats span { padding: 7px 13px; border-radius: 12px; background: var(--soft); color: var(--muted); font-size: 13px; }
.cs-cur-stats b { color: var(--ink); font-weight: 900; }
.cs-cur-stats .is-free { background: var(--green-soft); color: var(--green); }
.cs-cur-stats .is-free b { color: var(--green); }
.cs-timeline { position: relative; display: flex; flex-direction: column; gap: 10px; padding-right: 22px; }
.cs-timeline::before { content: ""; position: absolute; top: 24px; bottom: 24px; right: 7px; width: 2px; border-radius: 2px; background: linear-gradient(var(--gold), #eadfc7); }
.cs-sec { position: relative; border: 1px solid var(--line); border-radius: 18px; background: var(--card); transition: border-color .2s, box-shadow .2s; }
.cs-sec::before { content: ""; position: absolute; top: 24px; right: -21px; width: 12px; height: 12px; border: 3px solid #fff; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 1px #eadfc7; }
.cs-sec[open] { border-color: #e6d6ad; box-shadow: 0 14px 30px rgba(30, 26, 18, .06); }
.cs-sec summary { display: flex; align-items: center; gap: 12px; padding: 15px 16px; cursor: pointer; list-style: none; }
.cs-sec summary::-webkit-details-marker { display: none; }
.cs-sec summary em { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--night); color: var(--gold-2); font-size: 14px; font-style: normal; font-weight: 900; }
.cs-sec summary > span { display: flex; flex: 1; flex-direction: column; }
.cs-sec summary b { color: var(--ink); font-size: 15.5px; }
.cs-sec summary small { color: var(--faint); font-size: 12.5px; }
.cs-sec summary i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--soft); }
.cs-sec summary i::after { content: ""; width: 7px; height: 7px; border-left: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-2px) rotate(-45deg); transition: transform .2s; }
.cs-sec[open] summary i::after { transform: translateY(2px) rotate(135deg); }
.cs-sec-desc { padding: 0 16px 10px; color: var(--muted); font-size: 13.5px; line-height: 1.9; }
.cs-lessons { margin: 0; padding: 0 10px 10px; list-style: none; }
.cs-lessons li { display: flex; align-items: center; gap: 12px; padding: 11px 10px; border-radius: 12px; font-size: 14px; transition: background .15s; }
.cs-lessons li + li { border-top: 1px dashed var(--line); }
.cs-lessons li:hover { background: #fdfaf3; }
.cs-l-icon { display: grid; flex: none; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--soft); color: var(--faint); }
.cs-l-icon svg { width: 14px; height: 14px; }
.cs-lessons li.is-free .cs-l-icon { background: var(--green); color: #fff; }
.cs-lessons li.is-free .cs-l-icon svg { fill: currentColor; }
.cs-l-title { flex: 1; min-width: 0; color: var(--text); }
.cs-lessons small { color: var(--faint); font-size: 12px; white-space: nowrap; }
.cs-lessons a { flex: none; padding: 6px 12px; border-radius: 10px; background: var(--soft); color: var(--ink) !important; font-size: 12.5px; font-weight: 850; }
.cs-lessons a.is-free { background: var(--green-soft); color: var(--green) !important; }
.cs-soon-box { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 26px 20px; border-radius: 22px; background: linear-gradient(160deg, #fffaf0, var(--card)); border: 1px solid #efe4c8; text-align: center; }
.cs-steps { display: flex; align-items: flex-start; justify-content: center; gap: 0; width: 100%; max-width: 520px; }
.cs-steps div { position: relative; display: flex; flex: 1; flex-direction: column; align-items: center; gap: 8px; }
.cs-steps div + div::before { content: ""; position: absolute; top: 17px; right: 50%; width: 100%; height: 2px; background: #eadfc7; z-index: 0; }
.cs-steps div.is-now::before { background: linear-gradient(270deg, var(--gold), #eadfc7); }
.cs-steps span { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 2px solid #eadfc7; color: var(--faint); font-weight: 900; }
.cs-steps .is-done span { border-color: var(--green); background: var(--green); color: #fff; }
.cs-steps .is-now span { border-color: var(--gold); color: var(--gold-ink); box-shadow: 0 0 0 6px rgba(214, 168, 73, .15); }
.cs-steps b { color: var(--muted); font-size: 13px; }
.cs-steps .is-now b, .cs-steps .is-done b { color: var(--ink); }
.cs-soon-box p { color: var(--muted); font-size: 14px; }

/* teacher */
.cs-teacher-section { background: linear-gradient(160deg, #fff, #fbf8f1); }
.cs-teacher-card { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 26px; align-items: start; }
.cs-teacher-card + .cs-teacher-card { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.cs-teacher-photo { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 1; border-radius: 28px; background: linear-gradient(160deg, #2c2a20, #15140f); color: var(--gold-2); font-size: 64px; font-weight: 900; box-shadow: 0 0 0 4px #fff, 0 0 0 5px #eadfc7, 0 20px 40px rgba(30, 26, 18, .15); transition: transform .2s; }
a.cs-teacher-photo:hover { transform: translateY(-2px) rotate(-1deg); }
.cs-teacher-photo img, .cs-teacher-photo picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.cs-teacher-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cs-teacher-body h3 { color: var(--ink); font-size: 22px; font-weight: 900; }
.cs-teacher-body h3 a { color: inherit !important; }
.cs-teacher-body h3 a:hover { color: var(--green) !important; }
.cs-teacher-body > small { color: var(--gold-ink); font-size: 14px; font-weight: 850; }
.cs-teacher-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-teacher-stats span { padding: 6px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.cs-teacher-stats b { color: var(--ink); font-weight: 900; }
.cs-teacher-body p { color: var(--text); font-size: 15px; line-height: 2.05; }
.cs-teacher-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cs-teacher-tags span { padding: 4px 11px; border-radius: 9px; background: var(--gold-soft); color: var(--gold-ink); font-size: 12.5px; font-weight: 800; }
.cs-teacher-body .cs-btn { align-self: flex-start; height: 44px; margin-top: 4px; }

/* reviews */
.cs-stars { color: var(--gold-ink) !important; font-weight: 850; }
.cs-reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cs-reviews blockquote { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.cs-r-stars { color: var(--gold); letter-spacing: 1px; }
.cs-r-stars i { color: #e6dfd0; font-style: normal; }
.cs-reviews p { color: var(--text); font-size: 14.5px; line-height: 2; }
.cs-reviews footer { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 800; }

/* faq */
.cs-faq-section { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.cs-faq-side h2 { margin-bottom: 8px; }
.cs-faq-side p { color: var(--muted); font-size: 14px; line-height: 2; }
.cs-faq-cta { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; padding: 18px; border-radius: 20px; background: var(--night); color: #e9e4d8; }
.cs-faq-cta b { color: #fff; font-size: 15px; }
.cs-faq-cta a { color: var(--gold-2) !important; font-size: 14px; font-weight: 850; }
.cs-faq { display: flex; flex-direction: column; gap: 10px; }
.cs-faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--card); transition: border-color .2s, box-shadow .2s, background .2s; }
.cs-faq details[open] { border-color: #e6d6ad; background: #fff; box-shadow: 0 12px 28px rgba(30, 26, 18, .06); }
.cs-faq summary { display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; list-style: none; }
.cs-faq summary::-webkit-details-marker { display: none; }
.cs-q { display: grid; flex: none; place-items: center; width: 32px; height: 32px; border-radius: 11px; background: var(--gold-soft); color: var(--gold-ink); font-size: 16px; font-weight: 900; }
.cs-faq details[open] .cs-q { background: var(--gold); color: #fff; }
.cs-faq summary b { flex: 1; color: var(--ink); font-size: 15px; font-weight: 850; line-height: 1.8; }
.cs-faq summary i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); }
.cs-faq summary i::before, .cs-faq summary i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 2px; border-radius: 2px; background: var(--muted); transform: translate(-50%, -50%); transition: transform .2s; }
.cs-faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.cs-faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.cs-faq p { padding: 0 62px 16px 18px; color: var(--text); font-size: 14.5px; line-height: 2.05; }
.cs-path { margin: 12px 0 0; padding: 0 20px 0 0; list-style: persian; }
.cs-path li { display: list-item; padding: 3px 0; font-size: 15px; line-height: 2; }
.cs-path a { color: var(--green) !important; font-weight: 750; }

/* buy box */
.cs-aside { position: sticky; top: 140px; }
.cs-buy { overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: 0 20px 48px rgba(30, 26, 18, .09); }
.cs-buy-top { display: flex; flex-direction: column; gap: 2px; padding: 20px 22px; background: linear-gradient(150deg, var(--night-2), var(--night)); color: #e9e4d8; }
.cs-buy-top small { color: #a9a292; font-size: 12px; }
.cs-buy-top strong { color: #fff; font-size: 30px; font-weight: 900; }
.cs-buy-top strong i { color: #a9a292; font-size: 13px; font-style: normal; }
.cs-buy-top span { color: #a9a292; font-size: 13px; }
.cs-buy-top em { padding: 1px 8px; border-radius: 8px; background: rgba(255, 110, 90, .2); color: #ffb3a6; font-style: normal; font-weight: 900; }
.cs-buy-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.cs-inc-title { margin-top: 8px; color: var(--ink); font-size: 13.5px; }
.cs-inc { margin: 0; padding: 0; list-style: none; }
.cs-inc li { position: relative; padding: 7px 26px 7px 0; color: var(--text); font-size: 13.5px; }
.cs-inc li + li { border-top: 1px dashed var(--line); }
.cs-inc li::before { content: "✓"; position: absolute; right: 0; top: 7px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 11px; font-weight: 900; }
.cs-cap { color: var(--muted); font-size: 12.5px; }

/* final */
.cs-final { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; margin-top: 28px; padding: 38px 44px; overflow: hidden; border-radius: 30px; background: linear-gradient(150deg, var(--night-2), var(--night)); color: #e9e4d8; isolation: isolate; }
.cs-final-glow { position: absolute; inset: -60% -10% auto auto; z-index: -1; width: 60%; height: 200%; background: radial-gradient(closest-side, rgba(214, 168, 73, .25), transparent); }
.cs-final h2 { color: #fff; font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; }
.cs-final p { margin-top: 6px; color: #c9c2b3; font-size: 15px; }

/* related */
.cs-related { margin-top: 44px; }
.cs-related header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cs-related h2 { color: var(--ink); font-size: 22px; font-weight: 900; }
.cs-related header a { color: var(--green) !important; font-size: 13.5px; font-weight: 850; }
.cs-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cs-rc { display: flex; flex-direction: column; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 22px; background: #fff; color: inherit !important; transition: transform .2s, box-shadow .2s; }
.cs-rc:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(30, 26, 18, .1); }
.cs-rc-media { display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 16px; background: var(--soft); }
.cs-rc-media img, .cs-rc-media picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.cs-rc-copy { display: flex; flex-direction: column; gap: 4px; padding: 0 6px 6px; }
.cs-rc-copy small { color: var(--gold-ink); font-size: 12px; font-weight: 850; }
.cs-rc-copy b { color: var(--ink); font-size: 15px; line-height: 1.75; }
.cs-rc-copy > span { display: flex; justify-content: space-between; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
.cs-rc-copy i { color: var(--faint); font-size: 12.5px; font-style: normal; }
.cs-rc-copy strong { color: var(--green); font-size: 13.5px; }

/* mobile bar */
.cs-mbar { display: none; }

/* instructor profile page */
.tp-hero { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: center; margin-top: 16px; padding: 40px 44px; overflow: hidden; border-radius: 32px; background: linear-gradient(150deg, var(--night-2), var(--night) 60%); color: #e9e4d8; }
.tp-photo { display: grid; place-items: center; overflow: hidden; aspect-ratio: 1; border-radius: 32px; background: linear-gradient(160deg, #3a3424, #1a1812); color: var(--gold-2); font-size: 96px; font-weight: 900; box-shadow: 0 0 0 6px rgba(255, 255, 255, .06), 0 30px 60px rgba(0, 0, 0, .4); }
.tp-photo img, .tp-photo picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.tp-copy { display: flex; flex-direction: column; gap: 14px; }
.tp-kicker { color: var(--gold-2); font-size: 13px; font-weight: 900; }
.tp-kicker b { margin-right: 8px; padding: 2px 9px; border-radius: 8px; background: rgba(240, 207, 126, .15); }
.tp-copy h1 { color: #fff; font-size: clamp(28px, 3vw, 42px); font-weight: 900; }
.tp-headline { color: #c9c2b3; font-size: 17px; }
.tp-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.tp-stats div { display: flex; flex-direction: column; min-width: 92px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); }
.tp-stats b { color: #fff; font-size: 22px; font-weight: 900; }
.tp-stats small { color: #a9a292; font-size: 12px; }
.tp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tp-tags span { padding: 4px 12px; border-radius: 10px; background: rgba(240, 207, 126, .12); color: var(--gold-2); font-size: 13px; font-weight: 800; }
.tp-social { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-social a { padding: 8px 14px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff !important; font-size: 13px; font-weight: 850; }
.tp-social a:hover { background: rgba(255, 255, 255, .16); }
.tp-card { margin-top: 18px; padding: 32px 36px; border: 1px solid var(--line); border-radius: 26px; background: #fff; }
.tp-card h2 { margin-bottom: 16px; color: var(--ink); font-size: 22px; font-weight: 900; }
.tp-bio { color: var(--text); font-size: 16px; line-height: 2.15; }
.tp-muted { color: var(--muted); }
.tp-articles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tp-articles a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); color: inherit !important; }
.tp-articles a:hover { border-color: #e6d6ad; }
.tp-articles b { color: var(--ink); font-size: 14.5px; line-height: 1.8; }
.tp-articles small { color: var(--faint); font-size: 12px; }

@media (max-width: 1220px) { .cs, .tp { padding-left: 16px; padding-right: 16px; } }
@media (max-width: 1020px) {
    .cs-layout { grid-template-columns: minmax(0, 1fr); }
    .cs-aside { display: none; }
    .cs-faq-section { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .cs-mbar { position: fixed; right: 10px; left: 10px; bottom: calc(78px + env(safe-area-inset-bottom, 0px)); z-index: 950; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 10px; border-radius: 18px; background: var(--night); color: #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, .3); transform: translateY(20px); opacity: 0; pointer-events: none; transition: transform .25s, opacity .25s; }
    .cs-mbar.is-on { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .cs-mbar small { display: block; color: #a9a292; font-size: 11.5px; }
    .cs-mbar strong { color: #fff; font-size: 16px; }
    .cs-mbar strong i { color: #a9a292; font-size: 11px; font-style: normal; }
    .cs-mbar a { flex: none; padding: 12px 18px; border-radius: 13px; background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #1d1606 !important; font-size: 14px; font-weight: 900; }
    .cs { padding-bottom: 160px; }
}
@media (min-width: 761px) and (max-width: 1020px) { .cs-mbar { bottom: 16px; } }
@media (max-width: 900px) {
    .cs-hero { grid-template-columns: minmax(0, 1fr); }
    .cs-hero-media { order: -1; min-height: 0; aspect-ratio: 16 / 10; }
    .cs-hero-media picture, .cs-hero-media img { inset: 14px; width: calc(100% - 28px) !important; height: calc(100% - 28px) !important; }
    .cs-hero-copy { padding: 24px 22px 26px; gap: 15px; }
    .tp-hero { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; gap: 22px; justify-items: center; text-align: center; }
    .tp-photo { width: 200px; }
    .tp-copy { align-items: center; }
    .tp-stats, .tp-tags, .tp-social { justify-content: center; }
}
@media (max-width: 760px) {
    .cs, .tp { padding-left: 12px; padding-right: 12px; }
    .cs-hero { margin-top: 10px; border-radius: 24px; }
    .cs-hero h1 { font-size: 26px; }
    .cs-lead { font-size: 14.5px; }
    .cs-trust li { font-size: 12.5px; padding: 6px 10px; }
    .cs-hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
    .cs-hero-cta .cs-btn { width: 100%; }
    .cs-hero-price { flex-direction: row; align-items: baseline; justify-content: center; gap: 8px; }
    .cs-tabs { top: 60px; margin-top: 14px; }
    .cs-card, .tp-card { padding: 22px 18px; border-radius: 22px; }
    .cs-outcomes, .cs-reviews, .tp-articles { grid-template-columns: minmax(0, 1fr); }
    .cs-o-num { min-width: 40px; font-size: 28px; }
    .cs-timeline { padding-right: 16px; }
    .cs-timeline::before { right: 4px; }
    .cs-sec::before { right: -17px; }
    .cs-teacher-card { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
    .cs-teacher-photo { width: 160px; }
    .cs-teacher-stats, .cs-teacher-tags { justify-content: center; }
    .cs-teacher-body .cs-btn { align-self: stretch; }
    .cs-faq p { padding: 0 18px 16px; }
    .cs-final { padding: 26px 22px; border-radius: 24px; }
    .cs-final .cs-btn { width: 100%; }
    .cs-related-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .cs-chip.is-soon i { animation: none; } .cs-outcome, .cs-rc, .cs-btn { transition: none; } }
