/* ============================================================
   GYAANSHALA — COURSE DETAIL PAGES (Task 6 of the 2026-08-28 brand rebuild)

   Two independent pages share this one file, per course.page_layout:

     course_landing.php  — long-form sales page. Ported from the "course
       landing" section of docs/design/artifacts/gyaanshala-course-landing.html
       (chero hero, .block content sections, sticky buy rail, sticky mobile
       buy bar). Wrapped in `.gsx.gsx-course`, which carries FIVE custom
       properties inline (--dark/--mid/--accent/--cream/--soft) resolved by
       Gslanding_model::palette() from the course's own landing_palette —
       every rule below that needs per-course colour reads ONLY those five
       vars, never a literal hex, so one palette swap re-themes the whole
       page. Neutral text/borders/type come from the tokens `.gsx` already
       defines in gs-brand.css (--ink, --ink-2, --line, --display, --body,
       --booti, --shadow-*, --r-*) — reused, not redeclared, so the two
       token systems cannot drift apart.

     course_page.php — classic Udemy-style layout: tabs + sticky sidebar
       card, unchanged partial includes. Wrapped in `.gsx.gsx-coursepage`.
       This section carries NO per-course palette (course_page.php never
       receives $landing) — it reads the plain `.gsx` brand tokens only,
       same as every other rebuilt page.

   Chrome (topbar/hdr/nav/ftr) and the shared primitives (buttons, .gs-wrap,
   .eyebrow, .sec-head, .badge, the .course-card family) live in
   gs-brand.css, already linked on every page by includes_top.php — this
   file only carries what is unique to these two pages.

   SCOPED UNDER .gsx, same convention every other gs-page-*.css file uses:
   every top-level selector starts with `.gsx`, no bare selector escapes it.
   ============================================================ */

/* ============================================================
   LANDING — course_landing.php, wrapper `.gsx.gsx-course`
   ============================================================ */

/* ---------- hero ---------- */
.gsx .chero{
  background:var(--dark);color:#fff;position:relative;overflow:hidden;padding:38px 0 56px;
}
.gsx .chero::before{
  content:"";position:absolute;inset:0;background-image:var(--booti);background-size:64px 64px;opacity:.15;
}
.gsx .chero::after{
  content:"";position:absolute;left:18%;top:-40%;width:760px;height:760px;
  background:radial-gradient(circle, color-mix(in srgb, var(--mid) 80%, transparent) 0%, transparent 62%);
  pointer-events:none;
}
.gsx .chero-in{position:relative;z-index:2;max-width:min(100%,720px)}
.gsx .chero h1{color:#fff;font-size:clamp(32px,4.6vw,54px);margin-top:16px;letter-spacing:-.042em}
.gsx .chero .lede{margin-top:18px;color:rgba(255,255,255,.8);font-size:17.5px;max-width:52ch}

.gsx .crumbs{font-size:13.5px;color:rgba(255,255,255,.6);display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.gsx .crumbs a:hover{color:var(--accent)}
.gsx .crumbs span{opacity:.5}

.gsx .tagrow{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}
.gsx .tag{
  display:inline-flex;align-items:center;gap:7px;padding:7px 14px;border:1px solid var(--line-dark);
  border-radius:100px;font-size:13px;font-weight:600;background:rgba(255,255,255,.06);
}
.gsx .ratingline{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:22px;font-size:14.5px;color:rgba(255,255,255,.78)}
.gsx .ratingline b{color:var(--accent);font-family:var(--display);font-size:17px}
.gsx .ratingline .stars{color:var(--accent);letter-spacing:2px;font-size:14px}
@media(max-width:900px){.gsx .chero{padding:30px 0 40px}}

/* ---------- two-column layout + sticky rail ---------- */
.gsx .clayout{display:grid;grid-template-columns:minmax(0,1fr) 372px;gap:44px;align-items:start;padding-bottom:80px}
@media(max-width:1000px){
  /* minmax(0,1fr), not 1fr: a bare 1fr track grows to the widest item's
     min-content, and the full-bleed buy card's is wider than the wrap -- which
     stretched <main> to 391px on a 390px phone and clipped every heading,
     the "Expand all" button and the right gallery column. */
  .gsx .clayout{grid-template-columns:minmax(0,1fr);gap:28px;padding-bottom:56px}
  .gsx .clayout>main,.gsx .rail,.gsx .buycard{min-width:0;max-width:100%}
  .gsx .rail{order:-1}
}
.gsx .rail{position:sticky;top:96px;margin-top:-56px}
@media(max-width:1000px){.gsx .rail{position:static;margin-top:-24px}}

/* ---------- buy card ---------- */
.gsx .buycard{
  background:var(--white);border:1px solid var(--line);border-radius:var(--r-l);
  box-shadow:0 30px 70px rgba(10,16,36,.22);overflow:hidden;
}
.gsx .buycard-art{aspect-ratio:1/1;background:var(--cream);position:relative;overflow:hidden;border-bottom:1px solid var(--line)}
.gsx .buycard-art img{width:100%;height:100%;object-fit:cover;display:block}
.gsx .buycard-art iframe{width:100%;height:100%;border:0;display:block}
.gsx .buycard-art.has-video{cursor:pointer}
.gsx .play{
  position:absolute;z-index:3;inset:auto auto 14px 14px;background:var(--dark);color:#fff;
  border-radius:100px;padding:8px 16px;font-size:13px;font-weight:700;border:0;
}
.gsx .buycard-art.has-video:hover .play{background:var(--mid)}
.gsx .buycard-in{padding:24px}
.gsx .pricebig{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.gsx .pricebig b{font-family:var(--display);font-size:38px;font-weight:800;letter-spacing:-.05em;line-height:1;color:var(--ink)}
.gsx .pricebig s{font-size:16px;color:var(--ink-2);opacity:.5}
.gsx .off{
  background:var(--cream);color:var(--mid);border:1.3px solid var(--accent);border-radius:100px;
  padding:4px 11px;font-size:12.5px;font-weight:700;
}
.gsx .buycard .btn{margin-top:12px;background:var(--accent);color:var(--dark);box-shadow:0 4px 0 color-mix(in srgb, var(--accent) 70%, black)}
.gsx .buycard .btn:hover{color:var(--dark)}
.gsx .buycard .btn.btn-ghost{background:var(--white);color:var(--dark);box-shadow:none;border-color:var(--line-strong)}

/* THE MONEY BUTTON IS ALWAYS THE BRAND BUTTON (2026-09-03). The primary
   purchase CTA carries btn-primary, but the palette rules re-theme it to the
   course's own --accent/--dark, which on some palettes is low-contrast and
   never reads as "GyaanShala". Force the brand haldi/ink on the primary CTA in
   all three placements (buy card, closing band, sticky mobile bar). The closing
   band's palette rule (.gsx .cta-band .btn-primary) and the buy card's (.gsx
   .buycard .btn) are BOTH (0,3,0) and one of them is declared AFTER this block,
   so an equal-specificity override would lose on source order. The a.btn-primary
   element qualifier lifts these to (0,3,1) — every primary CTA here is an <a> —
   so they win over every palette rule regardless of order. The secondary
   Add-to-cart (btn-addcart) and the membership button (btn-ink) are untouched. */
.gsx .buycard a.btn-primary,
.gsx .cta-band a.btn-primary,
.gsx .mobile-buy a.btn-primary{
  background:var(--haldi);color:var(--ink);border-color:transparent;
  box-shadow:0 4px 0 #C98F00}
.gsx .buycard a.btn-primary:hover,
.gsx .cta-band a.btn-primary:hover,
.gsx .mobile-buy a.btn-primary:hover{background:var(--haldi-soft);color:var(--ink)}
/* Secondary add-to-cart under the primary CTA on the buy card. */
.gsx .buycard .buy-actions{display:flex;flex-direction:column;gap:8px;margin-top:12px}
.gsx .buycard .buy-actions .btn{margin-top:0}
.gsx .buycard .btn-addcart{background:var(--white);color:var(--ink);border:1.6px solid var(--line-strong);box-shadow:none}
.gsx .buycard .btn-addcart:hover{border-color:var(--ink);color:var(--ink);background:var(--paper)}
.gsx .buycard .btn-addcart.d-hidden{display:none}
.gsx .guarantee{margin-top:16px;text-align:center;font-size:13px;color:var(--ink-2);opacity:.75}
.gsx .includes{list-style:none;padding:0;margin:22px 0 0;border-top:1px solid var(--line);padding-top:20px}
.gsx .includes li{display:flex;gap:11px;font-size:14.5px;padding:7px 0;color:var(--ink-2);line-height:1.45}
.gsx .includes li span:first-child{flex:none;width:20px;text-align:center}

/* ---------- content blocks ---------- */
.gsx .block{padding:44px 0;border-bottom:1px solid var(--line)}
.gsx .block:first-child{padding-top:36px}
.gsx .block:last-child{border-bottom:0}
.gsx .block h2{font-size:clamp(24px,2.9vw,32px);margin-bottom:20px}
.gsx .block .kicker{margin-bottom:10px;display:block}

.gsx .outcomes{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:12px 28px}
@media(max-width:700px){.gsx .outcomes{grid-template-columns:1fr}}
.gsx .outcomes li{position:relative;padding-left:30px;font-size:15.5px;line-height:1.5;color:var(--ink-2)}
.gsx .outcomes li::before{
  content:"✓";position:absolute;left:0;top:0;width:20px;height:20px;border-radius:6px;
  background:var(--accent);color:var(--dark);font-size:12px;font-weight:800;display:grid;place-items:center;
}

/* ---------- economics ("the numbers behind it") ---------- */
.gsx .maths{background:var(--dark);color:#fff;border-radius:var(--r-l);padding:30px;position:relative;overflow:hidden}
.gsx .maths::before{content:"";position:absolute;inset:0;background-image:var(--booti);background-size:58px 58px;opacity:.14}
.gsx .maths>*{position:relative;z-index:2}
.gsx .maths h3{color:#fff;font-size:23px}
.gsx .maths .note{margin-top:10px;color:rgba(255,255,255,.65);font-size:14px;max-width:52ch}
.gsx .mgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1px;background:var(--line-dark);border:1px solid var(--line-dark);border-radius:var(--r-m);overflow:hidden;margin-top:24px}
.gsx .mcell{background:var(--dark);padding:20px 18px}
.gsx .mcell b{display:block;font-family:var(--display);font-size:26px;font-weight:800;letter-spacing:-.03em;line-height:1.2;color:var(--accent)}
.gsx .mcell span{display:block;margin-top:9px;font-size:13.5px;line-height:1.4;font-weight:600;color:rgba(255,255,255,.7)}

/* ---------- curriculum ---------- */
.gsx .curr-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:16px}
.gsx .curr-head .meta{font-size:14.5px;color:var(--ink-2);opacity:.75}
.gsx .curr{border:1px solid var(--line);border-radius:var(--r-m);overflow:hidden;background:var(--white)}
.gsx .curr details{border-bottom:1px solid var(--line)}
.gsx .curr details:last-child{border-bottom:0}
.gsx .curr summary{
  list-style:none;cursor:pointer;padding:18px 20px;display:flex;align-items:center;gap:14px;
  background:var(--paper-2);font-weight:700;font-size:16.5px;font-family:var(--display);letter-spacing:-.02em;
}
.gsx .curr summary::-webkit-details-marker{display:none}
.gsx .curr summary::before{
  content:"";width:11px;height:11px;border-right:2.2px solid var(--accent);border-bottom:2.2px solid var(--accent);
  transform:rotate(45deg) translateY(-2px);transition:transform .2s;flex:none;
}
.gsx .curr details[open] summary::before{transform:rotate(-135deg) translateY(-2px)}
.gsx .curr summary .cnt{margin-left:auto;font-family:var(--body);font-size:13px;font-weight:600;color:var(--ink-2);opacity:.7;white-space:nowrap}
.gsx .lesson{display:flex;align-items:center;gap:12px;padding:13px 20px;border-top:1px solid var(--line);font-size:15px;color:var(--ink-2)}
.gsx .lesson .dur{margin-left:auto;font-size:13px;opacity:.7;white-space:nowrap}
/* curriculum on phones: the nowrap count squeezed module titles into a
   four-line column; the count moves under the title instead */
@media(max-width:640px){
  .gsx .curr summary{flex-wrap:wrap;padding:14px 16px;font-size:15.5px;gap:10px 12px}
  .gsx .curr summary>span:first-of-type{flex:1 1 calc(100% - 34px)}
  .gsx .curr summary .cnt{flex:0 0 100%;margin-left:0;padding-left:23px;font-size:12.5px}
  .gsx .lesson{padding:12px 16px;font-size:14.5px;gap:10px;flex-wrap:wrap}
  .gsx .lesson>span:first-of-type{flex:1 1 auto;min-width:0}
  .gsx .curr-head .meta{font-size:13.5px}
}

/* ---------- generic icon-card grid (showcase / personas / packaging / toolkit) ---------- */
.gsx .igrid{display:grid;gap:22px}
.gsx .igrid.c3{grid-template-columns:repeat(3,1fr)}
.gsx .igrid.c4{grid-template-columns:repeat(4,1fr)}
@media(max-width:1024px){.gsx .igrid.c4{grid-template-columns:repeat(3,1fr)}}
@media(max-width:800px){.gsx .igrid.c3,.gsx .igrid.c4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.gsx .igrid.c3,.gsx .igrid.c4{grid-template-columns:1fr}}
.gsx .icard{background:var(--white);border:1px solid var(--line);border-radius:var(--r-m);padding:22px 20px;transition:.2s ease}
.gsx .icard:hover{transform:translateY(-3px);box-shadow:var(--shadow-s)}
.gsx .icard h3{font-size:16.5px;margin-bottom:8px;color:var(--ink)}
.gsx .icard p{font-size:14px;line-height:1.55;color:var(--ink-2);opacity:.85}
.gsx .iico{
  width:42px;height:42px;border-radius:12px;display:grid;place-items:center;margin-bottom:12px;font-size:20px;
  background:color-mix(in srgb, var(--accent) 18%, var(--white));color:var(--mid);
  font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',var(--body);line-height:1;
}
.gsx .icard-media{border-radius:10px;overflow:hidden;margin:-22px -20px 16px;aspect-ratio:16/10;background:var(--cream)}
.gsx .icard-media img{width:100%;height:100%;object-fit:cover;display:block}

/* ---------- gallery ---------- */
.gsx .gal{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
@media(max-width:900px){.gsx .gal{grid-template-columns:repeat(3,1fr)}}
@media(max-width:560px){.gsx .gal{grid-template-columns:repeat(2,1fr)}}
.gsx .gal figure{margin:0;border-radius:var(--r-m);overflow:hidden;position:relative;background:var(--cream)}
.gsx .gal img{width:100%;height:100%;object-fit:cover;display:block;aspect-ratio:1/1}
.gsx .gal figcaption{
  position:absolute;left:0;right:0;bottom:0;padding:10px 12px;font-size:12.5px;font-weight:600;color:#fff;
  background:linear-gradient(180deg,transparent,rgba(0,0,0,.68));
}

/* ---------- proof wall (testimonials) ---------- */
.gsx .proof{columns:2;column-gap:18px}
.gsx .proof>*{break-inside:avoid;margin:0 0 18px;display:block}
.gsx .shot{border-radius:var(--r-m);overflow:hidden;background:var(--white);border:1px solid var(--line)}
.gsx .shot img{width:100%;height:auto;display:block}
.gsx .shot figcaption{padding:10px 14px;font-size:13px;font-weight:600;color:var(--ink-2)}
.gsx .testiquote{background:var(--white);border:1px solid var(--line);border-radius:var(--r-m);padding:22px 20px}
.gsx .testiquote .qm{font-family:var(--display);font-size:38px;line-height:.5;color:var(--accent);opacity:.6}
.gsx .testiquote p{font-size:15px;line-height:1.6;color:var(--ink);margin:12px 0 14px}
.gsx .testiquote .who{display:flex;align-items:center;gap:10px}
.gsx .testiquote .who img{width:38px;height:38px;border-radius:50%;object-fit:cover}
.gsx .testiquote .who .nm{font-weight:700;font-size:14px;color:var(--ink)}
.gsx .testiquote .who .lo{font-size:12.5px;color:var(--ink-2);opacity:.75}
@media(max-width:640px){.gsx .proof{columns:1}}

/* ---------- who's teaching ---------- */
.gsx .tutor{display:flex;gap:22px;align-items:flex-start;background:var(--white);border:1px solid var(--line);border-radius:var(--r-l);padding:26px}
@media(max-width:600px){.gsx .tutor{flex-direction:column;gap:16px}}
.gsx .tutor-av{
  width:84px;height:84px;border-radius:50%;flex:none;overflow:hidden;background:var(--cream);
  display:grid;place-items:center;font-family:var(--display);font-size:30px;font-weight:800;
  border:2px solid var(--accent);color:var(--mid);
}
.gsx .tutor-av img{width:100%;height:100%;object-fit:cover;display:block}
.gsx .tutor h3{font-size:21px}
.gsx .tutor .role{font-size:13.5px;color:var(--mid);font-weight:700;letter-spacing:.06em;text-transform:uppercase;margin-top:6px}
.gsx .tutor p{margin-top:12px;font-size:15.5px;color:var(--ink-2);line-height:1.6}
.gsx .tutor-stats{display:flex;gap:22px;flex-wrap:wrap;margin-top:16px;font-size:14px;color:var(--ink-2)}
.gsx .tutor-stats b{font-family:var(--display);font-size:17px;color:var(--ink)}

/* ---------- faq ---------- */
.gsx .qa details{border-bottom:1px solid var(--line)}
.gsx .qa summary{
  list-style:none;cursor:pointer;padding:18px 44px 18px 0;position:relative;
  font-family:var(--display);font-weight:700;font-size:18px;letter-spacing:-.025em;line-height:1.32;color:var(--ink);
}
.gsx .qa summary::-webkit-details-marker{display:none}
.gsx .qa summary::after{
  content:"";position:absolute;right:8px;top:50%;width:12px;height:12px;
  border-right:2.2px solid var(--accent);border-bottom:2.2px solid var(--accent);
  transform:translateY(-70%) rotate(45deg);transition:transform .22s;
}
.gsx .qa details[open] summary::after{transform:translateY(-30%) rotate(-135deg)}
.gsx .qa .ans{padding:0 40px 20px 0;color:var(--ink-2);opacity:.86;font-size:15.5px}

/* ---------- closing CTA ---------- */
.gsx .cta-band{
  position:relative;overflow:hidden;text-align:center;color:#fff;
  background:linear-gradient(150deg, var(--mid) 0%, var(--dark) 70%);
  padding:clamp(52px,7vw,88px) 0;border-radius:var(--r-l);
}
.gsx .cta-band::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.14;background-image:var(--booti);background-size:58px 58px}
.gsx .cta-band>*{position:relative}
.gsx .cta-band h2{font-size:clamp(26px,3.6vw,40px);color:#fff;line-height:1.12}
.gsx .cta-band p{font-size:16.5px;line-height:1.65;color:rgba(255,255,255,.8);margin:14px auto 26px;max-width:56ch}
.gsx .cta-band .btn-primary{background:var(--accent);color:var(--dark);box-shadow:0 4px 0 color-mix(in srgb, var(--accent) 70%, black)}

/* ---------- sticky mobile buy bar ---------- */
.gsx .mobile-buy{
  position:fixed;left:0;right:0;bottom:0;z-index:90;display:none;background:var(--white);
  border-top:1px solid var(--line-strong);padding:10px 14px calc(10px + env(safe-area-inset-bottom));
  box-shadow:0 -8px 26px rgba(16,26,51,.14);align-items:center;gap:12px;
}
.gsx .mobile-buy .mb-price{font-family:var(--display);font-weight:800;font-size:20px;letter-spacing:-.03em;flex:0 1 auto;min-width:0;max-width:52%;color:var(--ink)}
/* The course title runs long ("ChocolateShala — Home Chocolate Cookie-Bar
   Business Course") -- without a hard truncation it grows the price block
   and pushes the CTA button off the right edge of the screen. Cut it. */
.gsx .mobile-buy .mb-price small{
  display:block;font-family:var(--body);font-size:11px;font-weight:600;color:var(--ink-2);opacity:.7;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.gsx .mobile-buy .btn{flex:1 1 auto;min-width:0;white-space:nowrap}
@media(max-width:768px){
  .gsx .mobile-buy{display:flex}
  .gsx.gsx-course{padding-bottom:76px}
}

/* ============================================================
   CLASSIC — course_page.php, wrapper `.gsx.gsx-coursepage`
   Plain brand tokens only (--ink/--haldi/--indigo/--neem/--line from
   gs-brand.css) — this layout has no per-course palette.
   ============================================================ */

.gsx .bread-crumb.courses-details{background:linear-gradient(180deg, var(--paper) 0%, var(--white) 100%);border-bottom:1px solid var(--line);padding:22px 0 34px}
.gsx .breadcrumb{background:transparent;margin-bottom:10px;padding-left:0}
.gsx .breadcrumb-item a{color:var(--indigo);text-decoration:none;font-size:13.5px}
.gsx .breadcrumb-item.active{color:var(--ink-2);opacity:.8;font-size:13.5px}
.gsx .courses-details-1st-text h1{color:var(--ink);font-weight:800;font-family:var(--display);font-size:clamp(26px,3.4vw,38px);line-height:1.18;letter-spacing:-.02em;margin:.15em 0 .45em}
.gsx .courses-details-1st-text>p{color:var(--ink-2);opacity:.85;font-size:16.5px;line-height:1.7;max-width:44em}
.gsx .course-heading-info{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;margin-top:14px}
.gsx .course-heading-info .info-tag{display:inline-flex;align-items:center;gap:6px;margin:0;color:var(--ink-2);font-size:14px}
.gsx .course-heading-info .info-tag p{margin:0;font-size:14px}
.gsx .course-heading-info .info-tag .created-by-instructor{color:var(--ink);font-weight:600;text-decoration:none}
.gsx .course-heading-info .info-tag .created-by-instructor:hover{color:var(--indigo)}
.gsx .info-tag .icon ul{display:flex;align-items:center;gap:2px;margin:0;padding:0;list-style:none}
.gsx .info-tag .icon .fa-star{color:var(--haldi)}
.gsx .info-tag .icon .text-shadow{color:var(--line-strong)}
.gsx .course-heading-info .info-tag svg path{fill:#8a97a6}

.gsx .course-decription{padding:44px 0 20px}

.gsx .course-left-side .nav-tabs{border-bottom:1px solid var(--line);gap:4px;flex-wrap:wrap}
.gsx .course-left-side .nav-tabs .nav-link{
  border:0;border-bottom:2.5px solid transparent;background:transparent;color:var(--ink-2);
  font-weight:600;font-size:15px;padding:12px 14px;border-radius:0;display:inline-flex;align-items:center;
}
.gsx .course-left-side .nav-tabs .nav-link svg path{fill:#8a97a6}
.gsx .course-left-side .nav-tabs .nav-link.active{color:var(--indigo);border-bottom-color:var(--indigo);background:transparent}
.gsx .course-left-side .nav-tabs .nav-link.active svg path{fill:var(--indigo)}
.gsx .course-left-side .nav-tabs .nav-link:hover{color:var(--ink)}
.gsx .tab-content{padding:26px 2px;color:var(--ink-2);font-size:16px;line-height:1.8}
.gsx .tab-content h1,.gsx .tab-content h2,.gsx .tab-content h3,.gsx .tab-content h4{color:var(--ink);font-weight:700;font-family:var(--display)}

.gsx .course-right-section{position:sticky;top:88px}
.gsx .course-details-sidebar.course-card{border:1px solid var(--line);border-radius:var(--r-l);overflow:hidden;box-shadow:var(--shadow-m);background:var(--white)}
.gsx .course-details-sidebar .courses-card-image img{width:100%;display:block;aspect-ratio:1/1;object-fit:cover}
.gsx .course-details-sidebar .card-video-icon{width:56px;height:56px;background:var(--white);color:var(--indigo);border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(0,0,0,.25)}
.gsx .course-details-sidebar .ammount{align-items:baseline;gap:10px;padding:18px 20px 6px}
.gsx .course-details-sidebar .ammount h1{color:var(--ink);font-family:var(--display);font-weight:800;font-size:30px;margin:0}
.gsx .course-details-sidebar .ammount h3{color:var(--ink-2);opacity:.6;font-weight:500;font-size:18px;margin:0}
.gsx .course-details-sidebar .enrol{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;border-top:1px solid var(--line);margin:0}
.gsx .course-details-sidebar .enrol .icon{display:flex;align-items:center;gap:8px}
.gsx .course-details-sidebar .enrol .icon h4{margin:0;font-size:14.5px;color:var(--ink-2);opacity:.85;font-weight:500}
.gsx .course-details-sidebar .enrol h5{margin:0;font-size:14.5px;color:var(--ink);font-weight:600}
.gsx .course-details-sidebar .enrol .icon svg path{fill:#8a97a6}

.gsx .course-details-sidebar .button{padding:16px 20px 20px;display:flex;flex-direction:column;gap:10px}
.gsx .course-details-sidebar .button a.d-hidden{display:none}
/* style.css ships `.course-right-section .button a{border:1.5px solid var(--color-4);
   color:var(--color-4);background:var(--bg-white-2)}` (a leftover green button
   skin from an earlier rebrand phase) at specificity (0,2,1) -- one bare `a`
   heavier than `.gsx .btn-primary` / `.gsx .btn-ghost` at (0,2,0), so it wins
   the cascade regardless of load order and painted every rail button green.
   Reassert the brand look at matching specificity. */
.gsx.gsx-coursepage .course-details-sidebar .button a.btn-primary{background:var(--haldi);color:var(--ink);border-color:transparent}
.gsx.gsx-coursepage .course-details-sidebar .button a.btn-primary:hover{background:var(--haldi-soft);color:var(--ink)}
.gsx.gsx-coursepage .course-details-sidebar .button a.btn-ghost{background:var(--white);color:var(--ink);border-color:var(--line-strong)}
.gsx.gsx-coursepage .course-details-sidebar .button a.btn-ghost:hover{border-color:var(--ink);color:var(--ink)}

.gsx .eSocialShare{gap:6px;padding:14px 20px;border-top:1px solid var(--line);flex-wrap:wrap}
.gsx .eSocialShare p{margin:0;color:var(--ink-2);opacity:.85;font-size:14px;font-weight:600}

.gsx .course-details-card h1{color:var(--ink);font-family:var(--display);font-weight:800;font-size:26px}
.gsx .eGridCourse{display:block;border:1px solid var(--line);border-radius:var(--r-m);overflow:hidden;background:var(--white);transition:.18s;height:100%}
.gsx .eGridCourse:hover{box-shadow:var(--shadow-m);transform:translateY(-3px)}
.gsx .eGridCourse .courses-card-image img{aspect-ratio:1/1;object-fit:cover;width:100%}
.gsx .eGridCourse .courses-text{padding:14px 15px 16px}
.gsx .eGridCourse .courses-text h5{color:var(--ink);font-weight:700;font-size:16px;line-height:1.35}
.gsx .eGridCourse .enrollBtn{background:var(--haldi);color:var(--ink);padding:7px 14px;border-radius:8px;font-weight:700;font-size:13.5px}
.gsx .eGridCourse .courses-price-left h5{color:var(--ink);font-weight:800}

@media(max-width:991px){
  .gsx .course-right-section{position:static;margin-bottom:22px}
  .gsx .courses-details-1st-text h1{font-size:26px}
}

/* ─────────────────────────────────────────────────────────────────────────
   CENTRED COURSE HERO (2026-08-29)

   The hero was a left-aligned 720px column — breadcrumb, eyebrow, title and a
   300-character promise stacked against the left edge, with the intro video
   only in the sidebar buy card. Above the fold that read as a wall of text
   with nothing to look at.

   Everything is centred, the headline leads, the promise is measure-limited so
   centring does not hurt readability, and the intro video sits under it.
   ───────────────────────────────────────────────────────────────────────── */
.gsx .chero-mid{padding:26px 0 46px}
.gsx .chero-mid .chero-in{max-width:900px;margin-inline:auto;text-align:center}
.gsx .chero-mid .crumbs{justify-content:center;opacity:.62;font-size:12.5px}
.gsx .chero-mid .eyebrow{justify-content:center}
/* Tighter and heavier than the shared h1: this is the one line that has to
   carry the page. clamp keeps a long Hindi/English title from towering on
   mobile. */
.gsx .chero-mid h1{font-size:clamp(28px,4.4vw,50px);font-weight:800;letter-spacing:-.038em;
                   line-height:1.08;margin-top:14px;max-width:20ch;margin-inline:auto}
.gsx .chero-mid .lede{margin:18px auto 0;max-width:62ch;font-size:17px;line-height:1.62;
                      color:rgba(255,255,255,.82)}
.gsx .chero-mid .ratingline,
.gsx .chero-mid .tagrow{justify-content:center}
.gsx .chero-mid .tagrow{margin-top:18px;flex-wrap:wrap}

/* The intro player. Click-to-load — the poster is all that ships on first
   paint. PORTRAIT (9:16): every GyaanShala course video is shot on a phone in
   portrait, and inside a 16:9 box Bunny's player letterboxed the intro down to
   a thumbnail-sized strip (seen on BathSalt Shala, 2026-08-30). The poster is
   the square course thumbnail, so it is object-fit:cover either way. */
.gsx .chero-video{position:relative;margin:30px auto 0;max-width:340px;aspect-ratio:9/16;
                  border-radius:18px;overflow:hidden;cursor:pointer;background:rgba(0,0,0,.35);
                  box-shadow:0 26px 70px rgba(0,0,0,.42);border:1px solid rgba(255,255,255,.14)}
/* The buy-rail art is a 1:1 product shot until it plays; then it is the same
   portrait player. */
.gsx .buycard-art.is-playing{aspect-ratio:9/16}
/* One tap for sound. The intro starts muted because that is the only autoplay
   browsers honour without a gesture inside the (cross-origin) player itself. */
.gsx .gs-sound-pill{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);z-index:3;
                    border:0;border-radius:100px;padding:10px 18px;cursor:pointer;
                    background:var(--haldi,#F5B301);color:var(--ink,#101A33);
                    font-size:13.5px;font-weight:800;letter-spacing:.02em;white-space:nowrap;
                    box-shadow:0 10px 30px rgba(0,0,0,.34);animation:gs-pill-pop .35s ease-out}
.gsx .gs-sound-pill:hover{transform:translateX(-50%) scale(1.05)}
@keyframes gs-pill-pop{from{opacity:0;transform:translateX(-50%) translateY(8px)}to{opacity:1;transform:translateX(-50%)}}
.gsx .chero-video img{width:100%;height:100%;object-fit:cover;display:block}
.gsx .chero-video iframe{width:100%;height:100%;border:0;display:block}
.gsx .chero-video::after{content:"";position:absolute;inset:0;background:rgba(16,26,51,.28);
                         transition:background .18s}
.gsx .chero-video:hover::after{background:rgba(16,26,51,.14)}
.gsx .chero-video.is-playing{cursor:default}
.gsx .chero-video.is-playing::after{display:none}

.gsx .chero-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;
                 width:76px;height:76px;border-radius:50%;background:var(--haldi,#F5B301);
                 box-shadow:0 10px 30px rgba(0,0,0,.34);transition:transform .16s}
/* The triangle is drawn, not an icon font — the chrome loads no icon set here. */
.gsx .chero-play::before{content:"";position:absolute;left:52%;top:50%;transform:translate(-50%,-50%);
                         border-style:solid;border-width:15px 0 15px 25px;
                         border-color:transparent transparent transparent var(--ink,#101A33)}
.gsx .chero-video:hover .chero-play{transform:translate(-50%,-50%) scale(1.07)}
.gsx .chero-video.is-playing .chero-play,
.gsx .chero-video.is-playing .chero-vlabel{display:none}

.gsx .chero-vlabel{position:absolute;left:0;right:0;bottom:16px;z-index:2;text-align:center;
                   color:#fff;font-size:13px;font-weight:700;letter-spacing:.03em;
                   text-shadow:0 2px 10px rgba(0,0,0,.5)}

@media (max-width:640px){
  .gsx .chero-mid{padding:18px 0 32px}
  .gsx .chero-mid h1{max-width:none}
  .gsx .chero-mid .lede{font-size:15.5px}
  .gsx .chero-video{margin-top:22px;border-radius:14px;max-width:min(340px,82vw)}
  .gsx .chero-play{width:58px;height:58px}
  .gsx .chero-play::before{border-width:12px 0 12px 20px}
}

/* ---- membership button under the buy CTA (2026-08-30) ---- */
.gsx.gsx-course .memb-cta{margin:10px 0 4px;display:grid;gap:6px}
.gsx.gsx-course .memb-cta small{display:block;font-size:12.5px;line-height:1.45;color:#5b6475;text-align:center}
.gsx.gsx-course .memb-cta.is-note{padding:10px 12px;border:1px dashed #d9dee8;border-radius:12px;background:#f8f9fb}
.gsx.gsx-course .memb-cta .btn-ink{background:#0d1b3d;color:#fff;border-color:#0d1b3d}
.gsx.gsx-course .memb-cta .btn-ink:hover{background:#16295a;color:#fff}
.gsx.gsx-course .memb-band{max-width:420px;margin:14px auto 0}
.gsx.gsx-course .memb-band small{color:rgba(255,255,255,.75)}
