/* JAJ certificate course page — premium dark. Mobile first; desktop from 900px. */
.jaj-cert {
  --bg: #14060F; --bg2: #1A0914; --card: #1F0C18; --gold: #D9B26B; --gold-l: #F3D9A4; --cream: #FFF6E3;
  --text: #F5E9EF; --muted: #D8C4CF; --soft: #B79AAA; --line: rgba(243,217,164,.18); --green: #6FCF97; --green-l: #A8E6C1; --pink: #E0408F;
  background: var(--bg); color: var(--text); font-family: 'Noto Sans', 'Noto Sans Devanagari', system-ui, sans-serif; font-size: 16px; line-height: 1.55;
  width: 100%; overflow-x: clip; position: relative;
}
.jaj-cert *, .jaj-cert *::before, .jaj-cert *::after { box-sizing: border-box; }
html[data-jaj-lang="hi"] .jaj-cert .jaj-en, html:not([data-jaj-lang="hi"]) .jaj-cert .jaj-hi { display: none !important; }
html[data-jaj-lang="hi"] .jaj-en, html:not([data-jaj-lang="hi"]) .jaj-hi { display: none !important; }
.jaj-cert h1, .jaj-cert h2, .jaj-cert h3 { margin: 0; font-family: 'Playfair Display', 'Noto Serif Devanagari', serif; color: var(--cream); letter-spacing: 0; }
.jaj-cert h2 { font-size: 28px; line-height: 1.2; }
.jaj-cert p { margin: 0; }
.jaj-cert img { max-width: 100%; height: auto; display: block; }
.jaj-cert a { text-decoration: none; }
.jc-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.jc-sec { padding: 36px 0; }
.jc-alt { background: var(--bg2); }
.jc-lead { color: var(--soft); margin-top: 6px !important; }
.jc-mt { margin-top: 32px !important; }
.jc-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--gold-l) !important; margin-top: 12px; }
.jc-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.jc-head-row .jc-link { margin-top: 0; }

/* Hero */
.jaj-cert-hero { padding: 16px 0 28px; background: radial-gradient(ellipse at 70% 30%, rgba(217,178,107,.14), rgba(20,6,15,0) 60%); }
.jc-hero-grid { display: flex; flex-direction: column; gap: 16px; }
.jc-hero-img { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid rgba(217,178,107,.45); box-shadow: 0 0 40px rgba(217,178,107,.18); animation: jcRise .9s ease both; }
.jc-hero-img img { display: block; width: 100%; height: auto; } /* shown at its own shape (1:1, 16:9 or 9:16), never cropped */
.jc-sweep { position: absolute; top: 0; bottom: 0; width: 35%; background: linear-gradient(90deg, rgba(255,246,227,0), rgba(255,246,227,.22), rgba(255,246,227,0)); transform: skewX(-18deg); animation: jcImgSweep 6s ease-in-out infinite; }
.jc-hero-text { display: flex; flex-direction: column; gap: 12px; animation: jcRise .9s ease .1s both; }
.jc-chip-live { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(111,207,151,.5); color: var(--green-l); font-size: 13px; font-weight: 700; }
.jc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: jcPulse 1.6s ease-in-out infinite; }
.jc-overline { font-size: 12px; font-weight: 700; letter-spacing: 1.6px; color: var(--gold); }
.jc-title { font-size: 36px; line-height: 1.12; font-weight: 700; background: linear-gradient(100deg, #F3D9A4 0%, #FFF6E3 35%, #D9B26B 50%, #FFF6E3 65%, #F3D9A4 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: jcShine 5s linear infinite; }
.jc-title .jaj-en, .jc-title .jaj-hi { color: transparent; }
.jc-tagline { font-family: 'Playfair Display', 'Noto Serif Devanagari', serif; font-style: italic; font-size: 19px; color: var(--text); }
.jc-sub { color: var(--muted); }
.jc-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.jc-facts > div { padding: 12px 6px; border-radius: 14px; border: 1px solid rgba(243,217,164,.22); text-align: center; display: flex; flex-direction: column; line-height: 1.25; }
.jc-facts strong { font-family: 'Playfair Display', 'Noto Serif Devanagari', serif; font-size: 22px; color: var(--gold-l); }
.jc-facts span { font-size: 13px; color: var(--soft); }
.jc-count { padding: 16px; border-radius: 18px; background: var(--card); border: 1px solid rgba(243,217,164,.22); display: flex; flex-direction: column; gap: 10px; }
.jc-count-h { font-size: 13px; font-weight: 700; letter-spacing: .6px; color: var(--gold); text-transform: uppercase; }
.jc-count-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.jc-count-grid > div { padding: 8px 0; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); text-align: center; display: flex; flex-direction: column; line-height: 1.1; }
.jc-count-grid strong { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--gold-l); }
.jc-count-grid span { font-size: 12px; color: var(--soft); }
.jc-next { font-size: 14px; font-weight: 600; color: var(--text); }
.jc-next-live { font-size: 13px; font-weight: 600; color: var(--gold); }
.jc-next-live:empty { display: none; }
.jc-progress { display: flex; gap: 3px; }
.jc-progress span { flex: 1; height: 6px; border-radius: 3px; background: rgba(243,217,164,.18); }
.jc-progress span.on { background: var(--green); }
.jc-progress span.next { background: var(--gold); animation: jcGlowDot 1.8s ease-in-out infinite; }
.jc-done { font-size: 13px; color: var(--green-l); }
.jc-buy { display: flex; flex-direction: column; gap: 10px; }
.jc-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.jc-price .jaj-price { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 700; color: var(--cream); }
.jc-price .jaj-was { color: var(--soft); }
.jc-price > span:last-child { font-size: 14px; color: var(--soft); }
.jc-best { font-size: 14px; color: var(--gold); }
.jc-btn { position: relative; overflow: hidden; min-height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: linear-gradient(135deg, #F3D9A4, #D9B26B); color: #14060F !important; font-size: 18px; font-weight: 700; padding: 0 24px; }
.jc-btn-sweep { position: absolute; top: 0; bottom: 0; width: 60px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.75), rgba(255,255,255,0)); transform: skewX(-20deg); animation: jcSweep 3.2s ease-in-out infinite; }
.jc-catch { font-size: 14px; color: var(--green-l); }

/* Ribbon */
.jc-ribbon { padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.jc-ribbon-track { display: flex; gap: 28px; width: max-content; animation: jcMarquee 50s linear infinite; }
.jc-ribbon-track span { font-family: 'Playfair Display', 'Noto Serif Devanagari', serif; font-style: italic; font-size: 20px; color: var(--gold); white-space: nowrap; }

/* What you get */
.jc-gets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.jc-get { padding: 14px 12px; border-radius: 14px; background: var(--card); border: 1px solid rgba(243,217,164,.16); display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; line-height: 1.35; animation: jcRise .8s ease both; }
.jc-get .jaj-ico { color: var(--gold); }

/* Classes */
.jc-two { display: flex; flex-direction: column; gap: 32px; }
.jc-col-main, .jc-col-side { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.jc-timeline { list-style: none; margin: 8px 0 0 7px; padding: 0 0 0 24px; border-left: 2px solid rgba(217,178,107,.45); display: flex; flex-direction: column; gap: 12px; }
.jc-class { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 16px; background: var(--card); border: 1px solid rgba(243,217,164,.16); }
.jc-class.is-next { background: linear-gradient(135deg, rgba(217,178,107,.18), rgba(224,64,143,.12)); border-color: var(--gold); box-shadow: 0 0 28px rgba(217,178,107,.25); }
.jc-class.is-extra { display: none; }
.jc-timeline.is-all .jc-class.is-extra { display: flex; }
.jc-tl-dot { position: absolute; left: -32px; top: 30px; width: 14px; height: 14px; border-radius: 50%; background: #3A2232; border: 2px solid var(--gold); }
.jc-class.is-done .jc-tl-dot { background: var(--green); border-color: var(--green); }
.jc-class.is-next .jc-tl-dot { background: var(--gold); animation: jcGlowDot 1.8s ease-in-out infinite; }
.jc-thumb { flex: none; width: 84px; height: 84px; padding: 0; border: 1px solid rgba(243,217,164,.3); border-radius: 12px; overflow: hidden; background: var(--bg); cursor: zoom-in; }
.jc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.jc-class-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.jc-class-body strong { font-size: 16px; line-height: 1.3; color: var(--cream); }
.jc-tag { align-self: flex-start; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .3px; color: var(--soft); border: 1px solid rgba(243,217,164,.2); }
.jc-class.is-done .jc-tag { background: rgba(111,207,151,.16); color: var(--green-l); border-color: transparent; }
.jc-class.is-next .jc-tag { background: var(--pink); color: #fff; border-color: transparent; }
.jc-class.is-up .jc-tag { background: rgba(243,217,164,.12); color: var(--gold-l); border-color: transparent; }
.jc-when { font-size: 13px; font-weight: 600; color: var(--gold-l); }
.jc-points { font-size: 13px; line-height: 1.45; color: var(--muted); }
.jc-showall { min-height: 48px; border-radius: 12px; border: 1px solid rgba(243,217,164,.4); background: transparent; color: var(--gold-l); font: 700 15px/1 inherit; cursor: pointer; }
.jc-showall .jc-sa-less, .jc-showall.is-all .jc-sa-more { display: none; }
.jc-showall.is-all .jc-sa-less { display: inline; }
.jc-hint { font-size: 13px; color: var(--soft); }
.jc-step { display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: var(--card); border: 1px solid rgba(243,217,164,.14); }
.jc-step > span { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold-l); font-family: 'Playfair Display', serif; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.jc-step strong { color: var(--cream); }
.jc-step p { font-size: 14px; color: var(--soft); }

/* Student work */
.jc-work { background: var(--bg2); }
.jc-work-strip { overflow: hidden; margin-top: 16px; }
.jc-work-track { display: flex; gap: 12px; width: max-content; animation: jcMarquee 120s linear infinite; }
.jc-work-track img { flex: none; width: auto; height: 200px; object-fit: contain; border-radius: 14px; border: 1px solid rgba(243,217,164,.25); } /* each photo at its own shape, never cropped */

/* Videos, reviews */
.jc-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 14px -16px 0; padding: 2px 16px 6px; }
.jc-row > * { flex: none; scroll-snap-align: start; }
.jc-row { scroll-padding-inline: 16px; }
.jc-video { width: 280px; display: flex; flex-direction: column; gap: 8px; color: var(--text) !important; font-size: 15px; font-weight: 600; line-height: 1.35; }
.jc-video-img { position: relative; display: block; border-radius: 14px; overflow: hidden; border: 1px solid rgba(243,217,164,.2); background: #000; }
.jc-video-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.jc-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: var(--bg); display: flex; align-items: center; justify-content: center; }
.jaj-cert .jaj-review { width: 290px; margin: 0; padding: 16px; border-radius: 16px; background: var(--card); border: 1px solid rgba(243,217,164,.2); display: flex; flex-direction: column; gap: 8px; }
.jaj-cert .jaj-review figcaption { margin-top: auto; }
.jaj-cert .jaj-stars { color: var(--gold); letter-spacing: 1px; } .jaj-cert .jaj-stars-off { color: #4A2E3E; }
.jaj-cert .jaj-review blockquote { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text); }
.jaj-cert .jaj-clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.jaj-cert .jaj-more-btn { align-self: flex-start; min-height: 32px; padding: 0; border: 0; background: none; font: 700 14px/1 inherit; color: var(--gold-l); cursor: pointer; }
.jaj-cert .jaj-review figcaption { font-size: 14px; color: var(--soft); }
.jaj-cert .jaj-review figcaption strong { color: var(--cream); }

/* FAQ, teacher, ask */
.jc-faq { border-radius: 14px; border: 1px solid rgba(243,217,164,.2); background: var(--card); }
.jc-faq summary { min-height: 54px; padding: 12px 44px 12px 14px; font-weight: 600; color: var(--cream); cursor: pointer; list-style: none; position: relative; }
.jc-faq summary::-webkit-details-marker { display: none; }
.jc-faq summary::after { content: '+'; position: absolute; right: 16px; top: 10px; font-size: 22px; color: var(--gold); }
.jc-faq[open] summary::after { content: '−'; }
.jc-faq p { padding: 0 14px 14px; color: var(--muted); }
.jc-teacher { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: linear-gradient(135deg, #2A1020, #1F0C18); border: 1px solid rgba(243,217,164,.25); color: var(--text) !important; }
.jc-teacher img { flex: none; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 2px solid var(--gold); }
.jc-teacher > span { display: flex; flex-direction: column; line-height: 1.35; }
.jc-teacher small { font-size: 13px; color: var(--soft); }
.jc-teacher strong { font-family: 'Playfair Display', 'Noto Serif Devanagari', serif; font-size: 21px; color: var(--gold-l); }
.jc-teacher em { font-style: normal; font-size: 14px; color: var(--muted); }
.jc-teacher b { font-size: 14px; color: var(--gold-l); }
.jc-help { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.jc-steps { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.jc-hero-intro, .jc-hero-action { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.jc-row { scrollbar-width: thin; scrollbar-color: rgba(217,178,107,.5) transparent; }
.jc-narrow .jc-faq + .jc-faq { margin-top: 8px; }
.jc-narrow > .jc-teacher { margin: 12px 0 4px; }
.jc-narrow > h2.jc-mt + .jc-faq { margin-top: 12px; }
.jc-ask { padding: 16px; border-radius: 16px; border: 1px solid rgba(111,207,151,.4); display: flex; flex-direction: column; gap: 10px; }
.jc-ask strong { color: var(--green-l); font-size: 17px; }
.jc-btn-wa { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; background: #1E8E4E; color: #fff !important; font-weight: 700; padding: 0 14px; text-align: center; }

/* Bottom bar (phones) */
.jc-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(20,6,15,.97); border-top: 1px solid rgba(243,217,164,.3); transform: translateY(110%); transition: transform .25s ease; }
.jc-sticky.is-on { transform: none; }
.jc-sticky-price { display: flex; flex-direction: column; line-height: 1.2; font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--cream); }
.jc-sticky-price small { font-family: 'Noto Sans', 'Noto Sans Devanagari', sans-serif; font-size: 12px; font-weight: 600; color: var(--green-l); }
.jc-sticky .jc-btn { min-height: 48px; font-size: 16px; }

/* Photo viewer */
.jc-lightbox { position: fixed; inset: 0; z-index: 100000; background: rgba(10,3,8,.92); display: flex; align-items: center; justify-content: center; padding: 20px; }
.jc-lightbox[hidden] { display: none; }
.jc-lightbox img { max-width: min(92vw, 720px); max-height: 86vh; width: auto; border-radius: 16px; border: 1px solid rgba(243,217,164,.4); }
.jc-lb-close { position: absolute; top: 14px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--gold); background: transparent; color: var(--gold-l); font-size: 28px; cursor: pointer; }

/* Language switch on the dark page */
.jaj-cert > .jaj-lang { position: absolute; right: 16px; top: 8px; z-index: 5; }
body:has(.jaj-cert) .jaj-lang { display: inline-flex; border: 1.5px solid #D9B26B; border-radius: 999px; overflow: hidden; }
@media (max-width: 899px) { body:has(.jaj-cert) #ast-mobile-header .ast-woo-header-cart-info-wrap { display: none !important; } }
body:has(.jaj-cert) .jaj-lang-btn { white-space: nowrap; min-height: 38px; padding: 0 12px; border: 0; background: transparent; color: #F3D9A4; font: 500 14px/1 'Noto Sans', 'Noto Sans Devanagari', sans-serif; cursor: pointer; }
html:not([data-jaj-lang="hi"]) body:has(.jaj-cert) .jaj-lang-btn[data-lang="en"], html[data-jaj-lang="hi"] body:has(.jaj-cert) .jaj-lang-btn[data-lang="hi"] { background: #D9B26B; color: #14060F; font-weight: 700; }

@keyframes jcPulse { 0%, 100% { opacity: 1 } 50% { opacity: .35 } }
@keyframes jcRise { from { opacity: 0; transform: translateY(18px) } to { opacity: 1; transform: none } }
@keyframes jcImgSweep { 0% { left: -40% } 55%, 100% { left: 120% } }
@keyframes jcShine { from { background-position: 100% 0 } to { background-position: -150% 0 } }
@keyframes jcSweep { 0% { left: -80px } 60%, 100% { left: 110% } }
@keyframes jcMarquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@keyframes jcGlowDot { 0%, 100% { box-shadow: 0 0 0 0 rgba(217,178,107,.7) } 50% { box-shadow: 0 0 0 8px rgba(217,178,107,0) } }
@media (prefers-reduced-motion: reduce) { .jaj-cert *, .jaj-cert *::before, .jaj-cert *::after { animation: none !important; transition: none !important; } }

/* Desktop: sections stacked one above the other, never side by side. */
@media (min-width: 900px) {
  .jaj-cert { font-size: 17px; }
  .jaj-cert h2 { font-size: 36px; }
  .jc-wrap { padding: 0 32px; }
  .jc-sec { padding: 48px 0; }
  .jaj-cert-hero { padding: 40px 0 44px; }
  /* Top: big photo + name, then the countdown and price strip under them */
  .jc-hero-text { display: contents; }
  .jc-hero-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); grid-template-areas: "img intro" "action action"; gap: 28px 40px; align-items: center; }
  .jc-hero-img { grid-area: img; position: relative; top: auto; }
  .jc-hero-intro { grid-area: intro; gap: 14px; }
  .jc-hero-action { grid-area: action; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
  .jc-hero-action .jc-count, .jc-hero-action .jc-buy { margin: 0; }
  .jc-hero-action > :only-child { grid-column: 1 / -1; }
  .jc-buy { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 20px 24px; border-radius: 18px; border: 1px solid rgba(243,217,164,.22); background: rgba(255,255,255,.02); }
  .jc-title { font-size: 42px; line-height: 1.1; }
  .jc-tagline { font-size: 23px; }
  .jc-gets { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .jc-get { flex-direction: row; align-items: center; gap: 14px; padding: 18px 20px; font-size: 16px; }
  .jc-col-main { max-width: none; }
  .jc-thumb { width: 110px; height: 110px; }
  .jc-class-body strong { font-size: 18px; } .jc-points { font-size: 15px; }
  .jc-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .jc-step { flex-direction: column; padding: 18px; }
  .jc-work-track img { height: 260px; }
  /* Scrolling strips stay as wide as the other sections, with soft edges */
  .jaj-cert > .jc-ribbon { max-width: 1136px !important; margin: 0 auto !important; border: 1px solid var(--line); border-radius: 14px; }
  .jaj-cert .jc-work-strip { max-width: 1136px; margin: 16px auto 0; border-radius: 14px; }
  .jaj-cert > .jc-ribbon, .jaj-cert .jc-work-strip { -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
  .jc-row { margin: 18px 0 0; padding: 2px 0 10px; }
  .jc-video { width: 360px; }
  .jaj-cert .jc-reviews .jaj-review { width: 360px; padding: 20px; }
  .jc-help { flex-direction: column; }
  .jc-ask { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 18px 22px; }
  .jc-sticky { display: none; }
}

/* Site header and footer in the same dark style on these pages; no old banner. */
body:has(.jaj-cert) { background: #14060F; margin-top: 0 !important; }
body:has(.jaj-cert) .jaj-ticker-wrap { display: none !important; }
body:has(.jaj-cert) #masthead { margin-top: 0 !important; }
body:has(.jaj-cert) #masthead .ast-primary-header-bar.main-header-bar { margin-top: 0 !important; margin-bottom: 0 !important; }
body:has(.jaj-cert) #masthead, body:has(.jaj-cert) #masthead .main-header-bar, body:has(.jaj-cert) #masthead .ast-primary-header-bar, body:has(.jaj-cert) #masthead .ast-mobile-header-wrap { background: #14060F !important; border-bottom: 1px solid rgba(243,217,164,.16); }
body:has(.jaj-cert) #masthead .main-header-menu, body:has(.jaj-cert) #masthead .sub-menu, body:has(.jaj-cert) #masthead .ast-mobile-header-content, body:has(.jaj-cert) #ast-mobile-header .ast-mobile-header-content { background: #14060F !important; }
body:has(.jaj-cert) #masthead a, body:has(.jaj-cert) #masthead .menu-link, body:has(.jaj-cert) #masthead .ast-header-break-point .main-header-menu-toggle { color: #F3D9A4 !important; }
body:has(.jaj-cert) #masthead .menu-toggle, body:has(.jaj-cert) #masthead .ast-mobile-menu-trigger-fill { background: #D9B26B !important; color: #14060F !important; }
body:has(.jaj-cert) #masthead .current-menu-item > .menu-link, body:has(.jaj-cert) #masthead .menu-item:hover > .menu-link { background: transparent !important; color: #FFF6E3 !important; }
body:has(.jaj-cert) .site-footer, body:has(.jaj-cert) .site-footer * { background-color: #0E040A !important; color: #D8C4CF !important; border-color: rgba(243,217,164,.16) !important; }
body:has(.jaj-cert) .site-content, body:has(.jaj-cert) .ast-container, body:has(.jaj-cert) #primary, body:has(.jaj-cert) .site-main, body:has(.jaj-cert) article { background: #14060F !important; }
@media (max-width: 899px) { body:has(.jaj-cert) > a[href*="whatsapp"], body:has(.jaj-cert) > a[href*="wa.me"], body:has(.jaj-cert) .wa__btn_popup, body:has(.jaj-cert) [class*="whatsapp-float"] { display: none !important; } }

/* Section backgrounds run edge to edge (the theme caps <section> at 1200px). */
.jaj-cert > section, .jaj-cert > nav, .jaj-cert > div { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }

/* Full review in a pop-up ("See more"); the cards in the row keep the same size */
.jaj-pop { position: fixed; inset: 0; z-index: 100000; background: rgba(10,3,8,.72); display: flex; align-items: center; justify-content: center; padding: 16px; }
.jaj-pop[hidden] { display: none; }
.jaj-pop-card { position: relative; width: 100%; max-width: 560px; max-height: 85vh; overflow: auto; padding: 24px 22px 22px; border-radius: 16px; background: #1F0C18; color: #F5E9DC; border: 1px solid rgba(243,217,164,.3); font: 16px/1.6 'Noto Sans', 'Noto Sans Devanagari', sans-serif; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.jaj-pop-card blockquote { margin: 10px 0 14px; font-size: 16px; line-height: 1.6; color: #F5E9DC; }
.jaj-pop-card figcaption { font-size: 14px; color: #CDB9A8; }
.jaj-pop-card figcaption strong { color: #F3D9A4; }
.jaj-pop-card .jaj-more-btn { display: none; }
.jaj-pop-card .stars, .jaj-pop-card [class*="star"] { color: #D9B26B; }
.jaj-pop-x { position: absolute; top: 6px; right: 8px; width: 40px; height: 40px; border: 0; background: none; font-size: 28px; line-height: 1; color: #CDB9A8; cursor: pointer; }

/* Notice line (notes & subtitles) */
.jaj-cert .jaj-notice-line { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; padding: 9px 12px; border-radius: 12px; background: rgba(243,217,164,.10); border: 1px solid rgba(243,217,164,.35); color: #F3D9A4; font-size: 14px; line-height: 1.4; font-weight: 500; max-width: 560px; }
.jaj-cert .jaj-notice-line > span { color: #D9B26B; }
.jc-class.is-done.is-norec .jc-tag { background: rgba(243,217,164,.12); color: var(--gold-l); }
/* In-page player for videos, Shorts and Instagram posts */
.jaj-pop-card.jaj-play-card { padding: 46px 10px 10px; max-height: 94vh; background: #14060F; }
.jaj-play-card .jaj-pop-x { color: #fff; }
.jaj-play-card.is-yt { max-width: 900px; }
.jaj-play-card.is-yt .jaj-play-box { aspect-ratio: 16 / 9; }
.jaj-play-card.is-short { max-width: 400px; }
.jaj-play-card.is-short .jaj-play-box { aspect-ratio: 9 / 16; max-height: 78vh; margin: 0 auto; }
.jaj-play-box { width: 100%; border-radius: 10px; overflow: hidden; background: #000; }
.jaj-play-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.jaj-play-ext { display: block; margin-top: 8px; text-align: center; font-size: 13px; color: #CDB9A8 !important; }

/* See how we teach */
.jc-teach-video { position: relative; display: block; max-width: 760px; margin: 18px auto 0; border-radius: 16px; overflow: hidden; border: 1px solid rgba(243,217,164,.25); background: #000; }
.jc-teach-video img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: .92; transition: opacity .2s; }
.jc-teach-video:hover img { opacity: 1; }
.jc-teach-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; display: grid; place-items: center; background: #D9B26B; color: #14060F; box-shadow: 0 6px 24px rgba(0,0,0,.4); }
.jc-teach .jc-lead { max-width: 760px; }
