/*
 * Digital Janit v3: premium dark hero + bold colour + clean structure + modern glass.
 * Loaded after dj-home.css and dj-site.css on the designed pages.
 */

/* ---------- Shared ---------- */
.btn-lg { padding: 17px 26px; font-size: 1.02rem; border-radius: 14px; }
.btn-glass { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn-glass svg { width: 20px; height: 20px; fill: #4ADE80; }
.x-center { text-align: center; margin-top: 40px; }
.x-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.x-ico svg.lucide { width: 22px; height: 22px; }
.x-ico.blue { background: rgba(10,107,214,.14); color: #3D93F5; }
.x-ico.amber { background: rgba(247,137,12,.16); color: #F7890C; }
.x-ico.green { background: rgba(18,160,122,.16); color: #12A07A; }
.x-offer-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: linear-gradient(135deg, #FF9F33, #F7890C); color: #2B1500; padding: 5px 10px; border-radius: 999px; }
.x-offer-tag svg.lucide { width: 14px; height: 14px; }
.x-offer-tag.big { font-size: .82rem; padding: 7px 14px; margin-bottom: 14px; }

/* ---------- Hero (premium dark) ---------- */
.x-hero { position: relative; isolation: isolate; overflow: hidden; background: #070B1E; color: #C9D2EE; padding-block: 72px 0; }
.x-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.x-hero-bg i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.x-hero-bg i:nth-child(1) { width: 640px; height: 640px; right: -120px; top: -220px; background: #0A6BD6; animation: xFloat1 18s ease-in-out infinite alternate; }
.x-hero-bg i:nth-child(2) { width: 460px; height: 460px; left: -160px; bottom: -200px; background: #F7890C; opacity: .28; animation: xFloat2 22s ease-in-out infinite alternate; }
.x-hero-bg i:nth-child(3) { width: 380px; height: 380px; left: 40%; top: 30%; background: #5B4DF5; opacity: .22; animation: xFloat1 26s ease-in-out infinite alternate-reverse; }
.x-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 70% at 60% 30%, #000 10%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 30%, #000 10%, transparent 75%); }
@keyframes xFloat1 { to { transform: translate(-60px, 50px) scale(1.12); } }
@keyframes xFloat2 { to { transform: translate(80px, -40px) scale(1.18); } }
.x-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; padding-bottom: 72px; }
.x-hero h1 { color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 650; letter-spacing: -0.04em; line-height: 1.03; }
.x-hero h1 .grad, .x-hero h1 .w > .grad { background: linear-gradient(95deg, #5AA8FF 0%, #8FC2FF 40%, #FFB766 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-hero h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.x-hero h1 .w > span { display: inline-block; animation: wordUp .95s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--i) * 70ms + 150ms); }
.x-offer { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; margin-bottom: 26px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #E8EEFF; font-weight: 600; font-size: .92rem; text-decoration: none; backdrop-filter: blur(10px); transition: background .2s; }
.x-offer:hover { background: rgba(255,255,255,.12); }
.x-hindi { margin-top: 18px; color: #E8EEFF; font-weight: 600; font-size: 1.12rem; }
.x-lede { margin-top: 12px; font-size: 1.1rem; color: #AEB9DC; max-width: 56ch; }
.x-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.x-proof { display: flex; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.x-faces { display: flex; }
.x-faces img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #070B1E; margin-left: -10px; }
.x-faces img:first-child { margin-left: 0; }
.x-proof-txt { display: grid; gap: 2px; font-size: .92rem; color: #AEB9DC; }
.x-proof-txt b { display: inline-flex; align-items: center; gap: 8px; color: #fff; }

/* Hero collage: real student photos + glass stat cards (3D parallax) */
.x-collage { position: relative; height: 520px; perspective: 1200px; }
.x-card { position: absolute; transition: transform .25s ease-out; will-change: transform; }
.x-person { width: 46%; aspect-ratio: 4 / 5; margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); border: 1px solid rgba(255,255,255,.14); animation: xBob 7s ease-in-out infinite; }
.x-person img { width: 100%; height: 100%; object-fit: cover; display: block; }
.x-person figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(7,11,30,.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.14); display: grid; gap: 2px; color: #fff; font-size: .82rem; }
.x-person figcaption b { font-size: .95rem; }
.x-person figcaption span { display: inline-flex; align-items: center; gap: 6px; color: #BFD3FF; }
.x-person figcaption svg.lucide { width: 13px; height: 13px; }
.x-person.c-a { left: 2%; top: 6%; }
.x-person.c-b { right: 0; top: 0; width: 40%; animation-delay: -2s; }
.x-person.c-c { right: 10%; bottom: 0; width: 38%; animation-delay: -4s; }
.x-stat { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); color: #fff; animation: xBob 6s ease-in-out infinite; }
.x-stat b { display: block; font-size: 1.05rem; }
.x-stat small { display: block; color: #AEB9DC; font-size: .8rem; }
.x-stat.s-a { left: -2%; bottom: 14%; animation-delay: -1s; }
.x-stat.s-b { right: -2%; top: 52%; animation-delay: -3s; }
.x-stat.s-c { left: 26%; top: -2%; animation-delay: -5s; }
@keyframes xBob { 50% { translate: 0 -10px; } }

.x-logos { border-top: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.02); }
.x-logos .wrap { display: flex; align-items: center; gap: 28px; padding-block: 22px; flex-wrap: wrap; }
.x-logos span { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7F8BB5; }
.x-logos ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 34px; }
.x-logos li { font-weight: 700; font-size: 1.12rem; letter-spacing: -0.02em; color: #E8EEFF; opacity: .85; }

@media (max-width: 1000px) {
	.x-hero { padding-top: 44px; }
	.x-hero-grid { grid-template-columns: 1fr; padding-bottom: 44px; }
	.x-collage { height: 420px; }
}
@media (max-width: 560px) {
	.x-collage { height: 340px; }
	.x-stat { padding: 8px 12px 8px 8px; }
	.x-stat .x-ico { width: 36px; height: 36px; }
	.x-stat.s-c { display: none; }
	.x-actions .btn { flex: 1 1 100%; }
}

/* ---------- Category tiles (bold colour) ---------- */
.x-lang-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.x-lang-pills a { padding: 10px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; text-decoration: none; transition: border-color .2s, color .2s; }
.x-lang-pills a:hover { border-color: var(--blue); color: var(--blue); }
.x-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.x-cat { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 6px; align-content: start; padding: 22px; min-height: 150px; border-radius: 22px; color: #fff; text-decoration: none; background: var(--g); box-shadow: 0 20px 40px -24px var(--gs); transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s; }
.x-cat::after { content: ""; position: absolute; z-index: -1; width: 160px; height: 160px; right: -50px; bottom: -70px; border-radius: 50%; background: rgba(255,255,255,.16); transition: transform .4s cubic-bezier(.16,1,.3,1); }
.x-cat:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -24px var(--gs); }
.x-cat:hover::after { transform: scale(1.3); }
.x-cat-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.2); margin-bottom: 8px; }
.x-cat-ico svg.lucide { width: 23px; height: 23px; }
.x-cat b { font-size: 1.12rem; font-weight: 650; letter-spacing: -0.02em; }
.x-cat small { opacity: .85; font-weight: 500; }
.x-cat-go { position: absolute; right: 18px; top: 18px; font-size: 1.2rem; opacity: .7; transition: transform .25s; }
.x-cat:hover .x-cat-go { transform: translateX(4px); opacity: 1; }
.x-cat.g0 { --g: linear-gradient(135deg, #2F7BFF, #0A4FB8); --gs: rgba(10,107,214,.7); }
.x-cat.g1 { --g: linear-gradient(135deg, #FF9F33, #E8590C); --gs: rgba(232,89,12,.6); }
.x-cat.g2 { --g: linear-gradient(135deg, #22C79A, #0B8F6B); --gs: rgba(11,143,107,.6); }
.x-cat.g3 { --g: linear-gradient(135deg, #8B6CFF, #5B3FE0); --gs: rgba(91,63,224,.6); }
.x-cat.g4 { --g: linear-gradient(135deg, #FF5C8A, #D6336C); --gs: rgba(214,51,108,.55); }
.x-cat.g5 { --g: linear-gradient(135deg, #12B5D4, #0B7A9C); --gs: rgba(11,122,156,.6); }
.x-cat.g6 { --g: linear-gradient(135deg, #F5B700, #D98E00); --gs: rgba(217,142,0,.6); }
.x-cat-all { --g: linear-gradient(135deg, #12183A, #070B1E); --gs: rgba(7,11,30,.7); }
@media (max-width: 980px) { .x-cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .x-cats { grid-template-columns: 1fr; } .x-cat { min-height: 0; } }

/* ---------- Course tabs ---------- */
.x-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.x-tabs button { border: 0; background: none; font: 600 .93rem var(--font); color: var(--ink-2); padding: 9px 18px; border-radius: 10px; cursor: pointer; transition: background .2s, color .2s; }
.x-tabs button[aria-selected="true"] { background: var(--blue); color: #fff; box-shadow: 0 8px 16px -8px rgba(10,107,214,.8); }
.x-course-wrap { position: relative; display: flex; }
.x-course-wrap > .course { flex: 1; }
.x-course-wrap[hidden] { display: none !important; }
.x-ribbon { position: absolute; z-index: 5; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #2B1500; background: linear-gradient(135deg, #FFB766, #F7890C); padding: 5px 10px; border-radius: 999px; box-shadow: 0 8px 16px -8px rgba(247,137,12,.9); pointer-events: none; }
.x-ribbon svg.lucide { width: 13px; height: 13px; }

/* ---------- Why us (glass bento) ---------- */
.x-why { position: relative; isolation: isolate; overflow: hidden; }
.x-why-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 50% at 10% 20%, rgba(10,107,214,.12), transparent 70%), radial-gradient(35% 45% at 90% 80%, rgba(247,137,12,.12), transparent 70%), radial-gradient(30% 40% at 60% 10%, rgba(91,77,245,.08), transparent 70%); }
.x-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.x-glass { position: relative; display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: 24px; background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, var(--shadow); transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s; }
.x-glass:hover { transform: translateY(-5px); box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, var(--shadow-lg); }
.x-glass p { color: var(--ink-2); font-size: .97rem; }
.x-b1 { grid-column: span 2; }
.x-b6 { grid-column: span 4; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 28px; }
.x-b6 > div:first-child { display: grid; gap: 10px; }
:root[data-theme="dark"] .x-glass { background: rgba(19,26,54,.6); border-color: rgba(255,255,255,.08); box-shadow: var(--shadow); }
@media (max-width: 980px) { .x-bento { grid-template-columns: 1fr 1fr; } .x-b1 { grid-column: span 2; } .x-b6 { grid-column: span 2; grid-template-columns: 1fr; } }
@media (max-width: 560px) { .x-bento { grid-template-columns: 1fr; } .x-b1, .x-b6 { grid-column: span 1; } }

/* ---------- Dark placement showcase ---------- */
.x-dark { position: relative; isolation: isolate; overflow: hidden; background: #070B1E; color: #C9D2EE; }
.x-dark h2, .x-dark h3 { color: #fff; }
.x-dark .eyebrow { color: #8FC2FF; }
.x-dark-glow { position: absolute; z-index: -1; inset: 0; background: radial-gradient(40% 60% at 85% 10%, rgba(10,107,214,.35), transparent 70%), radial-gradient(30% 50% at 5% 100%, rgba(247,137,12,.18), transparent 70%); }
.x-placed { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1400px; }
.x-pcard { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; text-decoration: none; background: #12183A; border: 1px solid rgba(255,255,255,.1); transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .3s; }
.x-pcard:hover { box-shadow: 0 40px 70px -30px rgba(10,107,214,.6); }
.x-pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.x-pcard:hover img { transform: scale(1.05); }
.x-pcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(7,11,30,.92)); }
.x-pinit { position: absolute; inset: 0; display: grid; place-items: center; font-size: 3rem; font-weight: 700; color: #fff; background: radial-gradient(circle at 30% 25%, #4D9BEA, #0A4FB8 70%); }
.x-pinfo { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 4px; color: #fff; }
.x-pinfo b { font-size: 1.15rem; letter-spacing: -0.02em; }
.x-pinfo small { color: #BFD3FF; font-size: .86rem; }
.x-pinfo .placed { justify-self: start; background: rgba(34,199,154,.2); color: #6EE7C1; }
@media (max-width: 980px) { .x-placed { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Reviews marquee ---------- */
.x-reviews { overflow: hidden; }
.x-marquee { overflow: hidden; padding-block: 8px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.x-track { display: flex; gap: 18px; width: max-content; animation: xSlide 60s linear infinite; }
.x-marquee.rev .x-track { animation-direction: reverse; animation-duration: 70s; }
.x-marquee:hover .x-track { animation-play-state: paused; }
.x-track .review { width: 340px; margin: 0; flex: none; }
@keyframes xSlide { to { transform: translateX(-50%); } }

/* ---------- FAQ layout ---------- */
.x-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.x-faq-grid .sec-head { position: sticky; top: 100px; }
@media (max-width: 900px) { .x-faq-grid { grid-template-columns: 1fr; } .x-faq-grid .sec-head { position: static; } }

/* ---------- Inner page heads: premium dark band, site-wide ---------- */
.page-head { background: #070B1E; color: #C9D2EE; }
.page-head::before { background: radial-gradient(45% 80% at 92% 0%, rgba(10,107,214,.45), transparent 65%), radial-gradient(35% 70% at 0% 100%, rgba(247,137,12,.2), transparent 65%), #070B1E !important; }
.page-head h1 { color: #fff; }
.page-head h1 .grad { background: linear-gradient(95deg, #5AA8FF, #FFB766); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-head .lede { color: #AEB9DC; }
.page-head .eyebrow { color: #8FC2FF; }
.page-head .crumbs, .page-head .crumbs a { color: #8F9CC7; }
.page-head .crumbs a:hover { color: #fff; }
.page-head .article-meta { color: #9FAAD0; }
.page-head .story-head .lede { color: #BFD3FF; }

/* Course grid cards: a touch more polish */
.course { border-radius: 22px; }
.course .cover-img img { aspect-ratio: 16 / 9; }
.course .price b { color: var(--ink); }

@media (prefers-reduced-motion: reduce) { .x-track, .x-hero-bg i, .x-person, .x-stat { animation: none !important; } }

/* --- v3 polish --- */
.x-stat.s-c { display: none; }
.x-person.c-a { left: 0; top: 10%; width: 44%; }
.x-person.c-b { right: 2%; top: 0; width: 38%; }
.x-person.c-c { right: 8%; bottom: 0; width: 36%; }
.x-stat.s-a { left: 4%; bottom: 0; }
.x-stat.s-b { left: 36%; top: 46%; }
@media (max-width: 560px) { .x-stat.s-b { left: auto; right: 0; top: 40%; } }

.x-glass { background: rgba(255,255,255,.88); border: 1px solid var(--line); box-shadow: 0 1px 0 #fff inset, 0 18px 40px -24px rgba(14,20,48,.25); }
.x-glass h3 { font-size: 1.15rem; }
.x-glass .x-ico { width: 52px; height: 52px; border-radius: 16px; }
.x-b1 { background: linear-gradient(135deg, #0A6BD6, #0A4FB8); border: 0; color: #fff; }
.x-b1 h3 { color: #fff; font-size: 1.35rem; }
.x-b1 p { color: #D6E6FF; }
.x-b1 .x-ico { background: rgba(255,255,255,.18); color: #fff; }
.x-b6 { grid-column: span 2; grid-template-columns: 1fr; }
.x-b6 .cert-stage { padding-block: 0; }
.x-b6 .cert { width: min(100%, 400px); }
@media (max-width: 980px) { .x-b6 { grid-column: span 2; } }
@media (max-width: 560px) { .x-b6 { grid-column: span 1; } }

/* Hero: popular-course glass cards (instead of student photos) */
.x-ccard { display: grid; width: 48%; border-radius: 22px; overflow: hidden; text-decoration: none; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); animation: xBob 7s ease-in-out infinite; }
.x-ccard-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.x-ccard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.x-ccard-body { display: grid; gap: 4px; padding: 12px 14px 14px; color: #fff; }
.x-ccard-body b { font-size: .95rem; line-height: 1.3; font-weight: 600; }
.x-ccard-price { font-weight: 700; color: #FFB766; }
.x-ccard-price del { color: #8F9CC7; font-weight: 500; font-size: .85rem; }
.x-ccard.c-a { left: 0; top: 4%; }
.x-ccard.c-b { right: 0; top: 18%; width: 44%; animation-delay: -2.5s; }
.x-ccard.c-c { left: 18%; bottom: 0; width: 44%; animation-delay: -4.5s; }
.x-stat.s-a { left: auto; right: 2%; bottom: 6%; }
.x-stat.s-b { left: 2%; top: 56%; }
@media (max-width: 560px) { .x-ccard { width: 58%; } .x-ccard.c-c { display: none; } .x-stat.s-b { top: 62%; } }

/* Hero cards: final positions */
.x-ccard.c-a { left: 0; top: 0; }
.x-ccard.c-b { right: 0; left: auto; top: 14%; }
.x-ccard.c-c { left: 27%; right: auto; bottom: 0; top: auto; }
.x-stat.s-a { left: auto; right: 0; top: auto; bottom: 4%; }
.x-stat.s-b { left: -3%; right: auto; top: auto; bottom: 10%; }
@media (max-width: 560px) { .x-stat.s-b { left: 0; bottom: 2%; } .x-stat.s-a { right: 0; bottom: 30%; } }
.x-ccard.c-b { top: 22%; }
.x-ccard.c-c { left: 38%; width: 40%; }
.x-stat.s-b { left: auto; right: 0; top: 0; bottom: auto; }
.x-stat.s-a { left: 0; right: auto; top: auto; bottom: 10%; }
@media (max-width: 560px) { .x-stat.s-b { right: 0; top: 0; } .x-stat.s-a { left: 0; bottom: 0; } .x-ccard.c-b { top: 30%; } }

/* ===== White theme for hero, page heads and course header (follows the light/dark switch) ===== */
.x-hero { background: var(--bg); color: var(--ink-2); }
.x-hero-bg i:nth-child(1) { background: #9CC4F5; opacity: .45; }
.x-hero-bg i:nth-child(2) { background: #FFD3A3; opacity: .45; }
.x-hero-bg i:nth-child(3) { background: #D8D2FF; opacity: .35; }
.x-grid { background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); opacity: .7; }
.x-hero h1 { color: var(--ink); }
.x-hero h1 .grad, .x-hero h1 .w > .grad { background: linear-gradient(95deg, #0A6BD6 0%, #2F86EE 45%, #F7890C 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-offer { background: var(--surface); border-color: var(--line); color: var(--ink); box-shadow: var(--shadow); }
.x-offer:hover { background: var(--surface); border-color: var(--line-strong); }
.x-hindi { color: var(--ink); }
.x-lede { color: var(--ink-2); }
.x-hero .btn-glass { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow); }
.x-hero .btn-glass:hover { color: var(--ink); background: var(--surface); }
.x-hero .btn-glass svg { fill: var(--wa); }
.x-proof-txt { color: var(--ink-2); }
.x-proof-txt b { color: var(--ink); }
.x-ccard { background: var(--surface); border-color: var(--line); box-shadow: 0 30px 60px -28px rgba(14,20,48,.35); }
.x-ccard-body { color: var(--ink); }
.x-ccard-price { color: #E07600; }
.x-ccard-price del { color: var(--ink-3); }
.x-stat { background: var(--glass); border-color: var(--line); color: var(--ink); box-shadow: 0 20px 40px -22px rgba(14,20,48,.35); }
.x-stat small { color: var(--ink-3); }
:root[data-theme="dark"] .x-hero-bg i { opacity: .25; }
:root[data-theme="dark"] .x-ccard-price { color: #FFB766; }

.page-head { background: var(--bg); color: var(--ink-2); }
.page-head::before { background: radial-gradient(50% 80% at 90% 0%, var(--glow1) 0%, transparent 60%), radial-gradient(40% 60% at 0% 100%, var(--glow2) 0%, transparent 60%), var(--bg) !important; }
.page-head h1 { color: var(--ink); }
.page-head h1 .grad { background: linear-gradient(95deg, #0A6BD6, #2F86EE 50%, #F7890C); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-head .lede { color: var(--ink-2); }
.page-head .eyebrow { color: var(--blue); }
.page-head .crumbs, .page-head .crumbs a { color: var(--ink-3); }
.page-head .crumbs a:hover { color: var(--blue); }
.page-head .article-meta { color: var(--ink-3); }
.page-head .story-head .lede { color: var(--ink-2); }

.course-hero { background: var(--bg); color: var(--ink-2); border-bottom: 1px solid var(--line); }
.course-hero::before { background: radial-gradient(circle, rgba(10,107,214,.18), transparent 65%); }
.course-hero::after { background: radial-gradient(circle, rgba(247,137,12,.14), transparent 65%); }
.course-hero h1 { color: var(--ink); }
.course-hero .lede { color: var(--ink-2); }
.course-hero .crumbs, .course-hero .crumbs a { color: var(--ink-3); }
.course-hero .chip { background: var(--soft); color: var(--ink-2); }
.course-hero .chip.lang { background: var(--blue-50); color: var(--blue); }
.course-hero .chip.off { background: var(--amber); color: #3A2600; }
.course-stats { color: var(--ink-2); }
.course-stats b { color: #E07600; }
.course-stats svg.lucide { color: var(--blue); }

/* ===== Why-us grid: even rows (certificate now has its own banner) ===== */
.x-b4, .x-b5 { grid-column: span 2; }
@media (max-width: 980px) { .x-b4, .x-b5 { grid-column: span 1; } }
@media (max-width: 560px) { .x-b4, .x-b5 { grid-column: span 1; } }

/* ===== Verified certificate banner ===== */
.x-certband { margin-top: 22px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding: 40px; border-radius: 28px; background: linear-gradient(135deg, var(--blue-50) 0%, var(--surface) 55%, #FFF4E6 100%); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
:root[data-theme="dark"] .x-certband { background: linear-gradient(135deg, #0F2647, var(--surface) 60%, #2A1C0C); }
.x-cb-copy { display: grid; gap: 14px; justify-items: start; }
.x-cb-copy h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -0.03em; }
.x-cb-copy p { color: var(--ink-2); max-width: 46ch; }
.x-cb-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.x-cb-points li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); }
.x-cb-points svg.lucide { width: 18px; height: 18px; color: #fff; background: var(--ok); border-radius: 50%; padding: 3px; }

.x-cb-visual { position: relative; display: grid; place-items: center; padding-block: 10px; }
.x-cert { position: relative; width: min(100%, 520px); aspect-ratio: 1.414; padding: 14px; background: #fff; border-radius: 14px; box-shadow: 0 40px 70px -34px rgba(10,60,140,.45), 0 12px 24px -16px rgba(14,20,48,.25); transform: rotate(-1.5deg); transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s; }
.x-certband:hover .x-cert { transform: rotate(0) translateY(-6px); box-shadow: 0 50px 80px -34px rgba(10,60,140,.5), 0 14px 28px -16px rgba(14,20,48,.25); }
.x-cert-in { height: 100%; border: 2px solid #0A6BD6; outline: 1px solid rgba(10,107,214,.35); outline-offset: -8px; border-radius: 6px; display: grid; justify-items: center; align-content: center; gap: 4px; padding: 18px 26px; text-align: center; color: #0E1430; background: radial-gradient(60% 60% at 50% 40%, #F5F9FF, #fff 70%); }
.x-cert-corner { position: absolute; width: 70px; height: 70px; z-index: 1; }
.x-cert-corner.tl { left: 0; top: 0; background: linear-gradient(135deg, #F7890C 0 22%, transparent 22%); border-top-left-radius: 14px; }
.x-cert-corner.br { right: 0; bottom: 0; background: linear-gradient(315deg, #0A6BD6 0 22%, transparent 22%); border-bottom-right-radius: 14px; }
.x-cert-logo { height: clamp(26px, 4.4vw, 38px); background-position: center; margin-bottom: 4px; }
.x-cert-title { font-size: clamp(.62rem, 1.4vw, .82rem); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #0A6BD6; }
.x-cert-small { font-size: clamp(.6rem, 1.2vw, .78rem); color: #5A6380; }
.x-cert-name { font-size: clamp(1.3rem, 3.6vw, 2.2rem); font-weight: 700; font-style: italic; letter-spacing: -0.03em; color: #0E1430; border-bottom: 1px solid #DCE3F0; padding: 0 18px 4px; margin: 4px 0; }
.x-cert-course { font-size: clamp(.8rem, 1.8vw, 1.05rem); font-weight: 700; color: #0E1430; }
.x-cert-foot { width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 10px; margin-top: 10px; }
.x-cert-sig { display: grid; gap: 1px; font-size: clamp(.5rem, 1vw, .66rem); color: #7A82A0; text-align: left; border-top: 1px solid #DCE3F0; padding-top: 4px; }
.x-cert-sig b { font-size: clamp(.66rem, 1.3vw, .84rem); color: #0E1430; font-style: italic; }
.x-cert-sig.r { text-align: right; }
.x-cert-seal { width: clamp(40px, 7vw, 58px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: #3A2600; background: radial-gradient(circle at 32% 28%, #FFE1B8, #F7890C 60%, #C86400); box-shadow: 0 10px 18px -8px rgba(200,100,0,.7), inset 0 -4px 8px rgba(0,0,0,.15); outline: 2px dashed rgba(255,255,255,.6); outline-offset: -6px; }
.x-cert-seal svg.lucide { width: 55%; height: 55%; }
.x-cert-badge { position: absolute; right: 6%; bottom: -4px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .8rem; font-weight: 600; color: var(--ok); }
.x-cert-badge svg.lucide { width: 16px; height: 16px; }
@media (max-width: 900px) { .x-certband { grid-template-columns: 1fr; padding: 28px 22px; } .x-cert { transform: none; } }

/* ===== Single course v2 ===== */
.ch-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: 40px 56px; background: var(--bg); }
.ch-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, var(--soft), var(--bg)); }
.ch-hero-bg i { position: absolute; border-radius: 50%; filter: blur(80px); }
.ch-hero-bg i:nth-child(1) { width: 560px; height: 560px; right: -120px; top: -220px; background: #A9CDF5; opacity: .55; }
.ch-hero-bg i:nth-child(2) { width: 420px; height: 420px; left: -160px; bottom: -220px; background: #FFD3A3; opacity: .45; }
:root[data-theme="dark"] .ch-hero-bg i { opacity: .2; }
.ch-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.ch-copy { display: grid; gap: 16px; justify-items: start; }
.ch-copy h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -0.035em; max-width: 22ch; }
.ch-copy .lede { max-width: 60ch; }
.ch-copy .chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; font-size: .8rem; }
.ch-copy .chip svg.lucide { width: 14px; height: 14px; }
.chip.hot { background: linear-gradient(135deg, #FFB766, #F7890C); color: #2B1500; }
.ch-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; color: var(--ink-2); font-size: .94rem; }
.ch-meta > span { display: inline-flex; align-items: center; gap: 7px; }
.ch-meta svg.lucide { width: 17px; height: 17px; color: var(--blue); }
.ch-rating b { color: #E07600; font-size: 1.05rem; }
.ch-rating a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.ch-by { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink-2); font-size: .92rem; }
.ch-by img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.ch-by b { color: var(--ink); }

.ch-media { position: relative; padding: 18px 18px 30px; }
.ch-frame { position: relative; aspect-ratio: 16 / 10; border-radius: 26px; overflow: hidden; background: var(--soft); box-shadow: 0 40px 80px -36px rgba(10,60,140,.5), 0 0 0 8px rgba(255,255,255,.7); transform: rotate(1.2deg); transition: transform .5s cubic-bezier(.16,1,.3,1); }
:root[data-theme="dark"] .ch-frame { box-shadow: 0 40px 80px -36px rgba(0,0,0,.7), 0 0 0 8px rgba(255,255,255,.06); }
.ch-media:hover .ch-frame { transform: rotate(0); }
.ch-frame img, .ch-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.ch-frame .yt { position: absolute; inset: 0; padding: 0; border: 0; cursor: pointer; background: #000; }
.ch-frame .yt img { opacity: .9; transition: transform .6s cubic-bezier(.16,1,.3,1), opacity .3s; }
.ch-frame .yt:hover img { transform: scale(1.04); opacity: 1; }
.ch-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.95); color: var(--blue); box-shadow: 0 0 0 10px rgba(255,255,255,.3), 0 16px 30px -10px rgba(0,0,0,.5); transition: transform .25s; }
.ch-play svg.lucide { width: 32px; height: 32px; fill: currentColor; margin-left: 4px; }
.ch-frame .yt:hover .ch-play { transform: scale(1.08); }
.ch-play-label { position: absolute; left: 16px; bottom: 16px; padding: 7px 12px; border-radius: 999px; background: rgba(7,11,30,.6); color: #fff; font-size: .85rem; font-weight: 600; backdrop-filter: blur(8px); }
.ch-float { position: absolute; z-index: 2; background: var(--glass); border: 1px solid var(--line); color: var(--ink); box-shadow: 0 20px 40px -22px rgba(14,20,48,.4); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: xBob 6s ease-in-out infinite; }
.ch-float small { color: var(--ink-3); }
.ch-float.f1 { left: -10px; bottom: 0; }
.ch-float.f2 { right: -6px; top: -4px; animation-delay: -3s; }

.ch-highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -8px; position: relative; z-index: 2; }
.ch-tile { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ch-tile > span { grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.ch-tile > span svg.lucide { width: 23px; height: 23px; }
.ch-tile b { font-size: 1.25rem; letter-spacing: -0.02em; color: var(--ink); line-height: 1.15; }
.ch-tile small { color: var(--ink-3); font-weight: 500; }
.ch-tile.t1 > span { background: linear-gradient(135deg, #2F7BFF, #0A4FB8); }
.ch-tile.t2 > span { background: linear-gradient(135deg, #FF9F33, #E8590C); }
.ch-tile.t3 > span { background: linear-gradient(135deg, #22C79A, #0B8F6B); }
.ch-tile.t4 > span { background: linear-gradient(135deg, #8B6CFF, #5B3FE0); }
@media (max-width: 900px) { .ch-hero-grid { grid-template-columns: 1fr; gap: 24px; } .ch-highlights { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .ch-highlights { grid-template-columns: 1fr; } }

.ch-tabs { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 66px); z-index: 30; margin-top: 32px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.ch-tabs .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.ch-tabs .wrap::-webkit-scrollbar { display: none; }
.ch-tabs a { flex: none; padding: 14px 16px; font-weight: 600; font-size: .95rem; color: var(--ink-2); text-decoration: none; border-bottom: 3px solid transparent; }
.ch-tabs a:hover { color: var(--ink); }
.ch-tabs a.on { color: var(--blue); border-bottom-color: var(--blue); }
.ch-anchor { scroll-margin-top: 140px; }

.course-body-band { padding-top: 36px; }
.course-main { padding-top: 0; }
.buy-card { top: 136px; margin-top: 0; }
.buy-ribbon { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; background: linear-gradient(135deg, #FFB766, #F7890C); color: #2B1500; font-weight: 700; font-size: .9rem; }
.buy-ribbon svg.lucide { width: 17px; height: 17px; }
.buy-body { padding: 22px; gap: 14px; }
.buy-price b { font-size: 2.3rem; }
.save { color: #E07600; font-weight: 600; font-size: .88rem; margin-top: -6px; }
.buy-card .btn-primary { padding: 17px; font-size: 1.05rem; }
.buy-card .btn-wa svg { width: 20px; height: 20px; fill: var(--wa); }
.secure { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 12px; }
.secure svg.lucide { width: 18px; height: 18px; color: var(--ok); flex: none; }

.learn-box { background: linear-gradient(160deg, var(--blue-50), var(--surface) 60%); border-color: var(--line-strong); }
.lb-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.lb-head h2 { margin: 0; }

.cur-list .mod.extra { display: none; }
.cur-list.all .mod.extra { display: block; }
.cur-more { margin-top: 12px; }
.curriculum .mod-n { min-width: 36px; text-align: center; padding: 5px 8px; border-radius: 10px; background: linear-gradient(135deg, var(--blue), #4D9BEA); color: #fff; font-weight: 700; }
.curriculum li.is-preview svg.lucide:first-child { color: var(--blue); }
.curriculum .pv { background: var(--ok-50); color: var(--ok); }

.inc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.inc { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.inc .x-ico { width: 42px; height: 42px; border-radius: 12px; }
.who-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.who { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; background: var(--soft); color: var(--ink-2); }
.who svg.lucide { width: 20px; height: 20px; color: var(--ok); flex: none; margin-top: 2px; }
.req { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); }

.instructor { padding: 24px; gap: 22px; background: linear-gradient(160deg, var(--soft), var(--surface)); }
.instructor img { width: 96px; height: 96px; box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px var(--blue-50); }
.ins-stats { display: flex; gap: 18px; flex-wrap: wrap; font-size: .9rem; color: var(--ink-2); }
.ins-stats span { display: inline-flex; align-items: center; gap: 6px; }
.ins-stats svg.lucide { width: 16px; height: 16px; color: #E07600; }

.ch-final { padding-block: 24px 72px; }
.ch-final-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 36px 40px; border-radius: 28px; color: #fff; background: linear-gradient(120deg, #0A6BD6, #0A4FB8 60%, #5B45E8); box-shadow: 0 30px 60px -30px rgba(10,79,184,.7); position: relative; overflow: hidden; isolation: isolate; }
.ch-final-in::after { content: ""; position: absolute; z-index: -1; width: 300px; height: 300px; right: -80px; top: -140px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFE1B8, #F7890C 60%); opacity: .7; }
.ch-final h2 { color: #fff; }
.ch-final p { color: #D6E6FF; margin-top: 6px; }
.ch-final-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.ch-final-price { display: grid; line-height: 1.1; }
.ch-final-price b { font-size: 1.8rem; }
.ch-final-price del { color: #BFD3FF; }
.ch-final .btn-primary { background: #fff; color: var(--blue); box-shadow: 0 12px 24px -10px rgba(0,0,0,.4); }
.ch-final .enrol-form { margin: 0; }
@media (max-width: 640px) { .ch-final-in { padding: 28px 22px; } .ch-final-cta, .ch-final-cta > * { width: 100%; } }

@media (max-width: 980px) {
	.buy-card { position: static; order: -1; margin-top: 0; }
	.ch-tabs { top: calc(env(safe-area-inset-top, 0px) + 66px); }
}
.ch-media { padding: 26px 26px 40px; }
.ch-frame { transform: rotate(.6deg); }
.ch-float.f1 { left: -6px; bottom: 2px; }
.ch-float.f2 { right: -8px; top: 0; }

/* =====================================================================
   Typography system (site-wide, designed pages). Inter, with spacing per
   Inter's dynamic-metrics guidance. Keep this block last in the file.
   ===================================================================== */
:root {
	--font: "Inter", "Hind", "Segoe UI", system-ui, -apple-system, sans-serif;
	--fs-body: 1rem;        /* 16px */
	--fs-lede: 1.125rem;    /* 18px */
	--fs-small: .875rem;    /* 14px */
	--fs-xs: .78rem;
	--fs-h1: clamp(2.25rem, 4.6vw, 3.5rem);
	--fs-h2: clamp(1.75rem, 3vw, 2.375rem);
	--fs-h3: 1.1875rem;
	--fs-h4: 1rem;
	--lh-body: 1.65;
	--lh-tight: 1.1;
	--ls-body: -0.011em;
	--ls-head: -0.022em;
	--ls-h3: -0.017em;
	--ls-caps: .08em;
}
body.dj-site {
	font-family: var(--font);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	letter-spacing: var(--ls-body);
	font-feature-settings: "kern", "calt";
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
body.dj-site :is(h1, h2, h3, h4, h5, h6) { font-family: var(--font); text-wrap: balance; }
:where(body.dj-site) h1 { font-size: var(--fs-h1); font-weight: 650; line-height: var(--lh-tight); letter-spacing: var(--ls-head); }
:where(body.dj-site) h2 { font-size: var(--fs-h2); font-weight: 650; line-height: 1.18; letter-spacing: var(--ls-head); }
:where(body.dj-site) h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; letter-spacing: var(--ls-h3); }
:where(body.dj-site) h4 { font-size: var(--fs-h4); font-weight: 600; line-height: 1.35; letter-spacing: -0.011em; }
body.dj-site p, body.dj-site li, body.dj-site blockquote, body.dj-site dd { line-height: var(--lh-body); }
body.dj-site .lede, body.dj-site .x-lede, body.dj-site .ch-copy .lede { font-size: var(--fs-lede); line-height: 1.6; letter-spacing: -0.014em; }
body.dj-site small, body.dj-site .chip, body.dj-site .muted, body.dj-site .fine { letter-spacing: -0.004em; }
body.dj-site .chip, body.dj-site .tag, body.dj-site .placed, body.dj-site .pv { line-height: 1.4; }
body.dj-site .eyebrow, body.dj-site .cover .tag, body.dj-site .x-offer-tag, body.dj-site .x-ribbon, body.dj-site .x-cert-title, body.dj-site .x-logos span, body.dj-site .companies p { letter-spacing: var(--ls-caps); line-height: 1.4; }
body.dj-site .btn { letter-spacing: -0.006em; line-height: 1.2; }
body.dj-site nav.main a { letter-spacing: -0.006em; }
body.dj-site input, body.dj-site select, body.dj-site textarea, body.dj-site button { font-family: var(--font); letter-spacing: -0.006em; }

/* Display headings in heroes: big, but not cramped */
body.dj-site .x-hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); line-height: 1.06; letter-spacing: -0.028em; }
body.dj-site .ch-copy h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -0.024em; }
body.dj-site .page-head h1, body.dj-site .article-head h1 { line-height: 1.12; letter-spacing: -0.024em; }
body.dj-site .sec-title, body.dj-site .course-main h2 { letter-spacing: var(--ls-head); line-height: 1.2; }

/* Numbers: steady widths for prices, stats and ratings */
body.dj-site :is(.price, .buy-price, .cm-price, .ch-final-price, .x-ccard-price, .stats, .ch-tile b, .big-rating b, .x-stat b, .tm, .mod-n, .dist) { font-variant-numeric: tabular-nums; letter-spacing: -0.015em; }
body.dj-site .buy-price b, body.dj-site .big-rating b { letter-spacing: -0.025em; }

/* Long-form reading (blog, notes, help, policies) */
body.dj-site .prose { font-size: 1.0625rem; line-height: 1.75; letter-spacing: -0.012em; }
body.dj-site .prose :is(h2, h3, h4) { line-height: 1.3; }
body.dj-site .prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); letter-spacing: -0.02em; }
body.dj-site .prose h3 { font-size: 1.25rem; letter-spacing: -0.017em; }

/* Hindi / Devanagari: more line height, no negative tracking */
body.dj-site [lang="hi"], body.dj-site .x-hindi, body.dj-site .hindi-line { letter-spacing: 0; line-height: 1.75; }

/* Component headings keep their own (smaller) sizes */
body.dj-site .side-box h2, body.dj-site .side-cta h2 { font-size: 1.0625rem; line-height: 1.35; letter-spacing: -0.014em; }
body.dj-site .hire h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
body.dj-site .learn-box h2, body.dj-site .lb-head h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
body.dj-site .x-cb-copy h3 { font-size: clamp(1.4rem, 2.6vw, 1.875rem); letter-spacing: -0.022em; line-height: 1.2; }
body.dj-site .x-cat b, body.dj-site .x-pinfo b { letter-spacing: -0.017em; }
body.dj-site .prose h4 { font-size: 1.125rem; line-height: 1.4; }
body.dj-site .prose h5 { font-size: 1.0625rem; font-weight: 600; line-height: 1.45; letter-spacing: -0.011em; }
body.dj-site .prose h6 { font-size: 1rem; font-weight: 600; line-height: 1.5; letter-spacing: -0.011em; }

/* =====================================================================
   Spacing system (site-wide, designed pages). Keep this block last.
   ===================================================================== */
:root {
	--sp-section: clamp(64px, 7.5vw, 96px);   /* between sections */
	--sp-after-head: clamp(32px, 4vw, 48px);  /* below a page header band */
	--sp-head: clamp(28px, 3vw, 40px);        /* below a section heading */
	--sp-gap: clamp(16px, 2vw, 24px);         /* between cards */
	--sp-card: clamp(20px, 2vw, 24px);        /* inside cards */
	--sp-gutter: clamp(20px, 3vw, 24px);      /* side margins */
	--sp-split: clamp(32px, 5vw, 64px);       /* between two columns */
}
body.dj-site .wrap { padding-inline: var(--sp-gutter); }

/* Sections */
body.dj-site .band { padding-block: var(--sp-section); }
body.dj-site .page-head { padding-block: clamp(48px, 6vw, 72px) clamp(40px, 5vw, 56px); }
body.dj-site .page-head + .band, body.dj-site .page-head + section { padding-top: var(--sp-after-head); }
body.dj-site .x-hero { padding-top: clamp(48px, 6vw, 80px); }
body.dj-site .x-hero-grid { padding-bottom: clamp(48px, 6vw, 80px); gap: var(--sp-split); }
body.dj-site .proof { padding-block: 18px; }
body.dj-site .cta-wrap { padding-block: var(--sp-section); }
body.dj-site footer.site { margin-top: 0; padding-block: clamp(56px, 6vw, 72px) 28px; }
body.dj-site main > section:last-child.band-soft + footer, body.dj-site .band-soft:last-child { margin-bottom: 0; }

/* Section headings */
body.dj-site .sec-head { gap: 12px; margin-bottom: var(--sp-head); }
body.dj-site .row-between { margin-bottom: var(--sp-head); gap: 16px 24px; align-items: end; }
body.dj-site .row-between > .sec-head { margin-bottom: 0; }
body.dj-site .sec-title { margin-bottom: 20px; }
body.dj-site .x-center { margin-top: var(--sp-head); }
body.dj-site .filters, body.dj-site .blog-tools { margin-bottom: var(--sp-head); }
body.dj-site .pager { margin-top: var(--sp-head); }
body.dj-site .hire-after { margin-top: var(--sp-section); }

/* Grids: one gap everywhere */
body.dj-site :is(.grid, .outcomes, .x-bento, .people, .res, .help-grid, .posts, .bento, .inc-grid, .who-grid, .info-cols, .ch-highlights, .x-placed, .formats, .steps, .values, .tr-points) { gap: var(--sp-gap); }
body.dj-site .reviews { column-gap: var(--sp-gap); }
body.dj-site .reviews .review { margin-bottom: var(--sp-gap); }
body.dj-site .x-track { gap: var(--sp-gap); }
body.dj-site .tools, body.dj-site .notes-list, body.dj-site .faq, body.dj-site .curriculum .stack { gap: 12px; }

/* Two-column layouts */
body.dj-site :is(.path-grid, .x-faq-grid, .trainer, .contact, .about-grid, .course-layout, .detail, .article-grid, .ch-hero-grid, .x-certband) { column-gap: var(--sp-split); }

/* Card padding */
body.dj-site :is(.oc, .tile, .x-glass, .res-card, .help-card, .learn-box, .instructor, .review, .side-box, .side-cta, .ms .card, .x-cat, .fmt, .review-summary) { padding: var(--sp-card); }
body.dj-site .buy-body { padding: var(--sp-card); }
body.dj-site .x-certband { margin-top: var(--sp-gap); padding: clamp(28px, 4vw, 48px); }
body.dj-site .hire { padding: clamp(24px, 3vw, 36px); }

/* Category tiles: rows always filled */
body.dj-site .x-cats { display: flex; flex-wrap: wrap; gap: var(--sp-gap); }
body.dj-site .x-cats > .x-cat { flex: 1 1 240px; min-height: 140px; }

/* Course page rhythm */
body.dj-site .ch-hero { padding-block: clamp(32px, 4vw, 48px) clamp(40px, 5vw, 56px); }
body.dj-site .ch-highlights { margin-top: 0; }
body.dj-site .ch-tabs { margin-top: var(--sp-after-head); }
body.dj-site .course-body-band { padding-top: var(--sp-after-head); }
body.dj-site .course-main.stack { gap: clamp(40px, 5vw, 56px); }
body.dj-site .ch-final { padding-block: 0 var(--sp-section); }

/* Learning path: heading sits at the top, next to the first stage */
body.dj-site .path-head { align-self: start; }
body.dj-site .path { gap: 16px; }

@media (max-width: 760px) {
	body.dj-site .row-between { align-items: start; }
	body.dj-site .x-cats > .x-cat { min-height: 0; }
}

body.dj-site .instructor + .instructor { margin-top: 12px; }
body.dj-site .sec-title + .instructor { margin-top: 0; }

/* ---------- Free downloads (lead magnet) ---------- */
.lm-shell { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 44px; border-radius: 28px; background: linear-gradient(135deg, var(--blue-50) 0%, var(--surface) 55%, #FFF4E6 100%); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); }
:root[data-theme="dark"] .lm-shell { background: linear-gradient(135deg, var(--blue-50), var(--surface)); }
.lm-copy h2 { margin: 10px 0 12px; }
.lm-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.lm-list li { display: flex; align-items: center; gap: 14px; }
.lm-list b { display: block; font-weight: 600; color: var(--ink); }
.lm-list small { color: var(--ink-3); font-size: .8rem; letter-spacing: .04em; }
.lm-ic { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #2F86EE, #0A4FB8); box-shadow: 0 10px 20px -10px rgba(10,79,184,.7); }
.lm-ic svg { width: 22px; height: 22px; }
.lm-list li:nth-child(2) .lm-ic, .lm-card:nth-child(2) .lm-ic { background: linear-gradient(135deg, #22C38E, #0E9F6E); box-shadow: 0 10px 20px -10px rgba(14,159,110,.7); }
.lm-list li:nth-child(3) .lm-ic, .lm-card:nth-child(3) .lm-ic { background: linear-gradient(135deg, #FFA53A, #F7790C); box-shadow: 0 10px 20px -10px rgba(247,121,12,.7); }
.lm-form { box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); }
.lm-form .btn svg { width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; }
.lm-compact .fine { margin: 0; }

.lm-page { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; scroll-margin-top: 110px; }
.lm-res { display: grid; gap: 16px; }
.lm-card { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.lm-card:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-strong, var(--line)), var(--shadow-lg); }
.lm-card .lm-ic { width: 52px; height: 52px; border-radius: 16px; }
.lm-body { flex: 1; min-width: 0; }
.lm-body h3 { font-size: 1.08rem; margin: 0 0 4px; }
.lm-body h3 small { font-size: .7rem; font-weight: 600; letter-spacing: .06em; color: var(--blue); background: var(--blue-50); padding: 3px 7px; border-radius: 6px; vertical-align: 2px; margin-left: 6px; }
.lm-body p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.55; }
.lm-dl { flex: none; }
.lm-dl svg { width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; }
.lm-lock { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--ink-3); padding: 8px 12px; border-radius: 999px; background: var(--soft, #F5F7FB); }
.lm-lock svg { width: 15px; height: 15px; }
.lm-side { position: sticky; top: 110px; }
.lm-done { text-align: left; }
.lm-done h3 { margin: 4px 0 0; }
.lm-done p { margin: 0; color: var(--ink-2); line-height: 1.6; }
.lm-tick { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #E7F8F0; color: #0E9F6E; }
.lm-tick svg { width: 28px; height: 28px; }
.lm-done .btn-wa { background: #25D366; color: #fff; box-shadow: 0 14px 28px -14px rgba(37,211,102,.9); display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.lm-done .btn-wa i, .lm-done .btn-wa svg { width: 20px; height: 20px; fill: #fff; }

@media (max-width: 960px) {
	.lm-shell { grid-template-columns: 1fr; padding: 28px 22px; gap: 24px; }
	.lm-page { grid-template-columns: 1fr; }
	.lm-side { position: static; order: -1; }
}
@media (max-width: 560px) {
	.lm-card { flex-wrap: wrap; padding: 18px; }
	.lm-dl, .lm-lock { width: 100%; justify-content: center; }
}
div.lead.lm-done { background: var(--surface); color: var(--ink); border-radius: 22px; padding: 28px; display: grid; gap: 14px; justify-items: start; }
div.lead.lm-done .btn { width: 100%; }
@media (max-width: 560px) { .lm-lock { display: none; } }
body.dj-site .lm-band { padding-top: 0; }

/* Show / hide answer (replaces the Expand Maker plugin) */
.dj-reveal { margin: 10px 0 22px; border: 1px solid var(--line, #E6E9F2); border-radius: 14px; background: var(--surface, #fff); overflow: hidden; }
.dj-reveal summary { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; cursor: pointer; list-style: none; font-weight: 600; font-size: .92rem; color: var(--blue, #0A6BD6); user-select: none; }
.dj-reveal summary::-webkit-details-marker { display: none; }
.dj-reveal summary::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .2s; }
.dj-reveal[open] summary::before { transform: rotate(45deg); }
.dj-reveal summary:focus-visible { outline: 3px solid rgba(10,107,214,.35); outline-offset: -3px; border-radius: 14px; }
.dj-reveal .dj-reveal-less, .dj-reveal[open] .dj-reveal-more { display: none; }
.dj-reveal[open] .dj-reveal-less { display: inline; }
.dj-reveal-body { padding: 0 16px 14px; }
.dj-reveal-body p { margin: 0; padding: 10px 14px; border-radius: 10px; background: #E9F8F1; color: #0B6E52; font-weight: 550; }
:root[data-theme="dark"] .dj-reveal-body p { background: rgba(31,175,90,.14); color: #6EE7B7; }


/* ================= Hire, doubt session, batch, thanks and legal pages ================= */
.ig { --a1: #34D399; --a2: #0B8F6B; }
.btn-light { background: #fff; color: var(--blue) !important; box-shadow: 0 14px 26px -14px rgba(0,0,0,.45); }
.btn-light:hover { transform: translateY(-2px); }
.link-light { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.45); }
.link-light:hover { text-decoration-color: #fff; }

/* Hero with a form beside it */
.hire-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(40px, 6vw, 80px); background: radial-gradient(700px 420px at 0% 0%, rgba(47,123,255,.12), transparent 70%), radial-gradient(600px 380px at 100% 100%, rgba(247,137,12,.10), transparent 70%), var(--bg); }
.hire-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hire-hero h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 650; text-wrap: balance; }
.hire-hero .stack { gap: 18px; }
.hire-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hire-ticks li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.hire-ticks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--ok, #0B8F6B) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.hire-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hire-form-col { display: grid; gap: 14px; }
.hire-form-head h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.25; letter-spacing: -0.02em; font-weight: 650; }
.hire-form-head p { margin-top: 4px; color: var(--ink-2); }
form.dj-lead-form { border: 1px solid var(--line); box-shadow: var(--shadow-lg, 0 30px 60px -30px rgba(14,20,48,.35)); scroll-margin-top: 110px; }
.dj-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.dj-fields .field.is-wide { grid-column: 1 / -1; }
.dj-fields .field label span { color: #E5484D; }
form.dj-lead-form .form-msg.err { background: #FDECEC; color: #B42318; }
form.dj-lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.live-dot { display: inline-flex; align-items: center; gap: 8px; }
.live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #E5484D; box-shadow: 0 0 0 0 rgba(229,72,77,.5); animation: djlive 1.8s infinite; }
@keyframes djlive { 70% { box-shadow: 0 0 0 8px rgba(229,72,77,0); } 100% { box-shadow: 0 0 0 0 rgba(229,72,77,0); } }
.session-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.session-meta > div { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.session-meta svg { flex: none; width: 20px; height: 20px; color: var(--blue); }
.session-meta span { display: grid; font-weight: 600; font-size: .9rem; line-height: 1.3; color: var(--ink); }
.session-meta small { font-weight: 500; font-size: .74rem; color: var(--ink-3); }

/* Proof strip */
.hire-proof-band { padding-block: 28px; border-block: 1px solid var(--line); }
.hire-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 44px; }
.hire-proof > div { display: grid; }
.hire-proof b { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.hire-proof span { font-size: .86rem; color: var(--ink-2); }
.hire-employer { margin-left: auto; display: flex !important; align-items: center; gap: 14px; }
.hire-employer img { height: 40px; width: auto; }

/* Cards, steps, audience */
.hire-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-gap, 18px); }
.hire-cards .oc h3 { font-size: 1.05rem; line-height: 1.35; }
.hire-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-gap, 18px); counter-reset: none; }
.hire-steps li { position: relative; display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: var(--r, 20px); background: var(--surface); border: 1px solid var(--line); }
.hire-steps li:not(:last-child)::after { content: ""; position: absolute; top: 44px; right: -14px; width: 10px; height: 10px; border-top: 2px solid var(--line-strong, #C9D0E2); border-right: 2px solid var(--line-strong, #C9D0E2); transform: rotate(45deg); }
.hire-n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); font-weight: 700; font-size: 1.05rem; }
.hire-steps h3 { font-size: 1.05rem; margin: 6px 0 0; }
.hire-steps p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.hire-for { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.hire-for span { font-weight: 600; color: var(--ink-2); margin-right: 4px; }
.hire-for b { padding: 8px 14px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-weight: 600; font-size: .9rem; }

/* Closing call to action */
.hire-final { grid-template-columns: 1fr auto; }
.hire-final-btns { display: grid; gap: 14px; justify-items: start; }

/* Batch recordings */
.vid-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px 22px; }
.vid { display: grid; gap: 6px; cursor: pointer; color: var(--ink); }
.vid:focus-visible { outline: 3px solid rgba(10,107,214,.4); outline-offset: 4px; border-radius: 18px; }
.vid-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #0E1430 center / cover no-repeat; box-shadow: var(--shadow); margin-bottom: 6px; }
.vid-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-play { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.94); box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); transition: transform .2s; }
.vid-play::after { content: ""; position: absolute; left: 23px; top: 18px; border-left: 17px solid #E5302A; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.vid:hover .vid-play { transform: scale(1.08); }
.vid-thumb em { position: absolute; right: 10px; bottom: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(0,0,0,.75); color: #fff; font-weight: 600; font-size: .75rem; font-style: normal; }
.vid-n { font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--blue); }
.vid-title { font-weight: 600; line-height: 1.4; }

/* Thanks */
.thanks-band { background: radial-gradient(700px 420px at 50% 0%, rgba(47,123,255,.12), transparent 70%), var(--bg); }
.thanks { max-width: 720px; text-align: center; display: grid; justify-items: center; gap: 14px; }
.thanks h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; letter-spacing: -0.03em; font-weight: 650; }
.thanks-tick { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #34D399, #0B8F6B); color: #fff; box-shadow: 0 18px 36px -16px rgba(11,143,107,.8); }
.thanks-tick svg { width: 36px; height: 36px; color: #fff; }
.thanks-next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-gap, 18px); margin-top: 56px; }
.thanks-next .oc { text-decoration: none; color: inherit; }
.thanks-next .oc:hover { transform: translateY(-3px); }

/* Legal */
.legal-grid { display: grid; grid-template-columns: 260px minmax(0, 760px); gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: 100px; padding: 18px 20px; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); max-height: calc(100vh - 130px); overflow: auto; }
.legal-toc b { display: block; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.legal-toc ol { margin: 0; padding-left: 18px; display: grid; gap: 7px; font-size: .9rem; }
.legal-toc a { color: var(--ink-2); text-decoration: none; }
.legal-toc a:hover { color: var(--blue); }
.legal-body h2 { scroll-margin-top: 100px; font-size: 1.25rem; margin-top: 1.8em; }
.legal-body h2:first-child { margin-top: 0; }
.legal-help { margin-top: 40px; padding: 22px 24px; border-radius: 18px; background: var(--blue-50); display: grid; gap: 6px; }
.legal-help p { margin: 0; }

@media (max-width: 1040px) {
	.hire-cards, .hire-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hire-steps li::after { display: none; }
}
@media (max-width: 900px) {
	.hire-hero-grid { grid-template-columns: minmax(0, 1fr); }
	.hire-final { grid-template-columns: minmax(0, 1fr); }
	.legal-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.legal-toc { position: static; max-height: none; }
	.thanks-next { grid-template-columns: minmax(0, 1fr); }
	.hire-employer { margin-left: 0; }
}
@media (max-width: 600px) {
	.hire-cards, .hire-steps, .session-meta { grid-template-columns: minmax(0, 1fr); }
	.dj-fields { grid-template-columns: minmax(0, 1fr); }
	.hire-cta-row .btn { flex: 1 1 auto; justify-content: center; }
	.hire-proof { gap: 16px 28px; }
	.hire-proof b { font-size: 1.4rem; }
}

/* ================= Conversion blocks (dj-convert.php) ================= */
/* End of article */
.cv-end { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; margin-top: 40px; align-items: start; }
.cv-end:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.cv-end-lead { display: grid; gap: 10px; padding: 26px; border-radius: 22px; background: linear-gradient(135deg, var(--blue-50), var(--surface) 70%); border: 1px solid var(--line); }
.cv-end-lead h2 { font-size: 1.3rem; line-height: 1.3; margin: 0; }
.cv-end-lead > p { margin: 0; color: var(--ink-2); }
.cv-end-lead form.lead { box-shadow: none; border: 1px solid var(--line); padding: 18px; margin-top: 6px; }
.cv-end-course { display: grid; gap: 10px; }
.prose .cv-end h2, .prose .cv-end h3 { margin-top: 0; }
.prose .cv-end a { text-decoration: none; }

/* Counselling card in the course grid */
.cv-counsel { display: grid; gap: 12px; align-content: center; padding: 28px; border-radius: var(--r, 22px); color: #fff; background: linear-gradient(140deg, #0A6BD6 0%, #0A4FB8 55%, #5B45E8 100%); box-shadow: var(--shadow-lg, 0 30px 60px -30px rgba(10,79,184,.6)); position: relative; overflow: hidden; isolation: isolate; }
.cv-counsel::after { content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; right: -90px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.25), rgba(255,255,255,0) 68%); }
.cv-counsel h3 { color: #fff; font-size: 1.25rem; line-height: 1.3; margin: 4px 0 0; }
.cv-counsel p { color: rgba(255,255,255,.85); margin: 0 0 6px; }
.cv-counsel .btn-wa { background: #fff; }

/* Popup */
.cv-pop { position: fixed; inset: 0; z-index: 99990; display: grid; place-items: center; padding: 16px; }
.cv-pop[hidden] { display: none; }
.cv-pop-bg { position: absolute; inset: 0; background: rgba(8,12,30,.55); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.cv-pop-box { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; width: min(760px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 30px; border-radius: 26px; background: var(--surface); color: var(--ink); box-shadow: 0 40px 90px -30px rgba(0,0,0,.55); opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .25s, transform .3s cubic-bezier(.2,.7,.2,1); }
.cv-pop.is-on .cv-pop-bg { opacity: 1; }
.cv-pop.is-on .cv-pop-box { opacity: 1; transform: none; }
.cv-pop-copy { display: grid; gap: 12px; align-content: center; }
.cv-pop-copy h2 { font-size: 1.5rem; line-height: 1.25; margin: 0; }
.cv-pop-copy ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cv-pop-copy li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.cv-pop-copy li svg { width: 20px; height: 20px; flex: none; color: var(--blue); }
.cv-pop-box form.lead { box-shadow: none; border: 1px solid var(--line); padding: 20px; }
.cv-pop-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 10px; background: var(--soft); color: var(--ink-2); font: 400 22px/1 system-ui, sans-serif; cursor: pointer; }
.cv-pop-x:hover { color: var(--ink); }
html.cv-lock { overflow: hidden; }
@media (max-width: 760px) {
	.cv-end { grid-template-columns: minmax(0, 1fr); }
	.cv-pop { align-items: end; padding: 0; }
	.cv-pop-box { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px 18px 20px; border-radius: 24px 24px 0 0; max-height: 90vh; }
	.cv-pop-copy h2 { font-size: 1.25rem; padding-right: 30px; }
	.cv-pop-copy ul { gap: 6px; font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) { .cv-pop-box, .cv-pop-bg { transition: none; } }

/* ================= Course finder quiz ================= */
.finder-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.finder-h1 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 650; text-wrap: balance; }
.finder { position: relative; display: grid; gap: 18px; padding: clamp(20px, 3vw, 30px); border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg, 0 30px 60px -30px rgba(14,20,48,.35)); }
.finder .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.finder-progress { height: 6px; border-radius: 99px; background: var(--soft); overflow: hidden; display: none; }
.finder.is-js .finder-progress { display: block; }
.finder-progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--violet, #5B45E8)); transition: width .35s cubic-bezier(.2,.7,.2,1); }
.finder-step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 14px; }
.finder.is-js .finder-step:not([hidden]) { animation: finderIn .35s cubic-bezier(.2,.7,.2,1); }
@keyframes finderIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.finder-step legend { display: grid; gap: 4px; padding: 0; margin-bottom: 14px; font-size: clamp(1.2rem, 2.2vw, 1.45rem); font-weight: 650; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); }
.finder-step legend small { font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--blue); }
.finder:not(.is-js) .finder-step + .finder-step { padding-top: 18px; border-top: 1px solid var(--line); }
.finder-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.finder-opt { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 600; color: var(--ink); transition: border-color .15s, background .15s, transform .15s; }
.finder-opt:hover { border-color: #BFD7F5; transform: translateY(-1px); }
.finder-opt input { position: absolute; opacity: 0; pointer-events: none; }
.finder-opt:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }
.finder-opt:has(input:focus-visible) { outline: 3px solid rgba(10,107,214,.35); outline-offset: 2px; }
.finder-opt-ic { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.finder-opt:has(input:checked) .finder-opt-ic { background: var(--blue); color: #fff; }
.finder-opt-ic svg { width: 19px; height: 19px; }
.finder-nav { display: flex; justify-content: flex-start; min-height: 0; }
.finder-nav .btn[hidden] { display: none; }
.finder-last .dj-fields { margin-bottom: 4px; }

/* Result */
.finder-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); border-radius: 26px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg, 0 30px 60px -30px rgba(14,20,48,.35)); }
.finder-top-img { position: relative; min-height: 280px; background: #E8F2FD center / cover no-repeat; }
.finder-top-img .dj-offer-off { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: #F7890C; color: #fff; font-weight: 700; font-size: .8rem; }
.finder-top-body { display: grid; gap: 14px; align-content: center; padding: clamp(22px, 3vw, 34px); }
.finder-badge { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #FFF3E3; color: #B85A00; font-weight: 700; font-size: .8rem; }
.finder-badge svg { width: 15px; height: 15px; }
.finder-top h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.25; letter-spacing: -0.025em; margin: 0; }
.finder-top h2 a { color: var(--ink); text-decoration: none; }
.finder-why { display: grid; gap: 8px; }
.finder-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 6px; }
.finder-price { display: flex; align-items: baseline; gap: 8px; margin-right: 6px; }
.finder-price strong { font-size: 1.8rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.finder-price del { color: var(--ink-3); }

/* Entry points */
.finder-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-radius: 20px; background: linear-gradient(120deg, #FFF3E3, var(--surface) 70%); border: 1px solid #F8D8B0; margin-bottom: 28px; }
.finder-cta b { display: block; font-size: 1.05rem; color: var(--ink); }
.finder-cta span { color: var(--ink-2); font-size: .95rem; }

@media (max-width: 900px) {
	.finder-wrap, .finder-top { grid-template-columns: minmax(0, 1fr); }
	.finder-top-img { min-height: 0; aspect-ratio: 16 / 8; }
}
@media (max-width: 520px) {
	.finder-opts { grid-template-columns: minmax(0, 1fr); }
	.finder-buy .btn { flex: 1 1 auto; justify-content: center; }
	.finder-cta .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .finder.is-js .finder-step:not([hidden]) { animation: none; } .finder-progress span { transition: none; } }

/* ---------- Polish: hero cards without overlaps ---------- */
body.dj-site .x-collage .x-ccard.c-a { left: 0; right: auto; top: 6%; bottom: auto; width: 46%; }
body.dj-site .x-collage .x-ccard.c-b { right: 0; left: auto; top: 0; bottom: auto; width: 44%; }
body.dj-site .x-collage .x-ccard.c-c { right: 4%; left: auto; bottom: 0; top: auto; width: 42%; }
body.dj-site .x-collage .x-stat.s-a { left: 6%; right: auto; bottom: 2%; top: auto; }
body.dj-site .x-collage .x-stat.s-b { left: 0; right: auto; top: 66%; bottom: auto; }
body.dj-site .x-ccard-body b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 560px) {
	body.dj-site .x-collage .x-ccard.c-a { width: 54%; top: 0; }
	body.dj-site .x-collage .x-ccard.c-b { width: 50%; top: 24%; }
	body.dj-site .x-collage .x-stat.s-b { top: auto; bottom: 0; left: 0; }
	body.dj-site .x-collage .x-stat.s-a { display: none; }
}
/* Tools: even rows (16 tools = 4 × 4 on desktop). */
body.dj-site .tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1000px; margin-inline: auto; }
@media (max-width: 860px) { body.dj-site .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ================= Write a review ================= */
.rf-wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
form.rf { border: 1px solid var(--line); box-shadow: var(--shadow-lg, 0 30px 60px -30px rgba(14,20,48,.35)); }
form.rf .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form.rf .field label span, .rf-stars legend span { color: #E5484D; }
.rf-stars { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.rf-stars legend { font-weight: 700; font-size: .88rem; margin-bottom: 6px; padding: 0; }
.rf-star-row { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 6px; }
.rf-star-row input { position: absolute; opacity: 0; pointer-events: none; }
.rf-star-row label { width: 44px; height: 44px; cursor: pointer; background: #D9DEEA; transition: background .15s, transform .15s;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") center / contain no-repeat; }
.rf-star-row label:hover, .rf-star-row label:hover ~ label, .rf-star-row input:checked ~ label { background: #F5A623; }
.rf-star-row label:hover { transform: scale(1.1); }
.rf-star-row input:focus-visible + label { outline: 3px solid rgba(10,107,214,.4); outline-offset: 2px; border-radius: 6px; }
.rf-star-hint { min-height: 1.2em; font-weight: 600; color: #B85A00; font-size: .9rem; }
.rf-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.rf-consent input { margin-top: 3px; flex: none; width: 18px; height: 18px; accent-color: var(--blue); }
.rf-side { display: grid; gap: 16px; padding: 26px; border-radius: 22px; background: var(--soft); border: 1px solid var(--line); position: sticky; top: 100px; }
.rf-side h2 { font-size: 1.2rem; margin: 0; }
.rf-tips { display: grid; gap: 10px; }
.rf-login { margin: 0; color: var(--ink-2); font-size: .92rem; }
.rf-login a { color: var(--blue); font-weight: 600; }
.rf-done { grid-column: 1 / -1; max-width: 640px; margin-inline: auto; text-align: center; display: grid; justify-items: center; gap: 14px; }
.rf-done h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
/* Reviews page additions */
.rv-write { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 18px 22px; border-radius: 18px; background: linear-gradient(120deg, #FFF3E3, var(--surface) 70%); border: 1px solid #F8D8B0; margin-bottom: 8px; }
.rv-write b { font-size: 1.05rem; color: var(--ink); }
.rv-write span { color: var(--ink-2); flex: 1 1 220px; }
.rv-write .btn svg { width: 17px; height: 17px; }
.rv-who { display: grid; gap: 2px; }
.rv-verified { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: .76rem; font-weight: 600; color: #0B8F6B; }
.rv-verified svg { width: 13px; height: 13px; }
.rv-course { font-size: .78rem; color: var(--ink-3); text-decoration: none; }
.rv-course:hover { color: var(--blue); }
@media (max-width: 900px) { .rf-wrap { grid-template-columns: minmax(0, 1fr); } .rf-side { position: static; } }
@media (max-width: 600px) { form.rf .dj-fields { grid-template-columns: minmax(0, 1fr); } .rv-write .btn { width: 100%; justify-content: center; } }

.rf-star-row .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.rf-all-head { align-items: flex-end; flex-wrap: wrap; gap: 12px; margin-bottom: var(--sp-head, 32px); }
.rf-all-head .sec-head { margin-bottom: 0 !important; }
.rf-all-head .rating-sum { margin: 0; }

/* ================= Review slider (course pages) ================= */
.rvs-head { align-items: baseline; flex-wrap: wrap; gap: 8px 16px; }
.rvs-head .rating-sum { margin: 0; }
.rvs-note { margin: 4px 0 0; }
.rvs { position: relative; margin-top: 18px; }
.rvs-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 16px) / 2); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 18px; scrollbar-width: none; overscroll-behavior-x: contain; }
.rvs-track::-webkit-scrollbar { display: none; }
.rvs-track:focus-visible { outline: 3px solid rgba(10,107,214,.35); outline-offset: 4px; border-radius: 18px; }
.rvs-card { scroll-snap-align: start; margin: 0; height: 100%; display: flex; flex-direction: column; }
.rvs-card blockquote { flex: 1; }
.rvs-nav { display: flex; gap: 8px; justify-content: flex-end; }
.rvs-btn { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); transition: background .15s, color .15s, opacity .15s; }
.rvs-btn:hover:not(:disabled) { background: var(--blue); color: #fff; border-color: var(--blue); }
.rvs-btn:disabled { opacity: .35; cursor: default; }
.rvs-btn svg { width: 18px; height: 18px; }
.rvs.no-nav .rvs-nav { display: none; }
.rvs-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.rvs-actions .btn svg { width: 17px; height: 17px; }
@media (max-width: 700px) {
	.rvs-track { grid-auto-columns: 86%; }
	.rvs-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* Course page: keep the main column from growing with the review slider. */
body.dj-site .course-layout > .course-main, body.dj-site .course-main > *, .rvs, .rvs-track { min-width: 0; max-width: 100%; }
/* Course FAQs */
.ch-faq { max-width: none; }
.ch-faq-help { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 16px; }
.ch-faq-help b { font-size: .88rem; color: var(--ink-2); margin-right: 4px; }
.ch-faq-help a { padding: 7px 12px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-weight: 600; font-size: .86rem; text-decoration: none; }
.ch-faq-help a:hover { background: var(--blue); color: #fff; }
.rvs-track { align-items: start; }
.rvs-card { height: auto; }

/* ================= Interactive quizzes ================= */
.qz-opts { display: grid; gap: 8px; margin: 12px 0 6px; }
.qz-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 500 .97rem/1.4 var(--font); text-align: left; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.qz-opt:hover:not(:disabled) { border-color: #BFD7F5; background: var(--blue-50); transform: translateY(-1px); }
.qz-opt:disabled { cursor: default; }
.qz-k { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--soft); color: var(--ink-2); font-weight: 700; font-size: .85rem; }
.qz-opt.is-right { border-color: #22C79A; background: #E9F8F1; }
.qz-opt.is-right .qz-k { background: #0B8F6B; color: #fff; }
.qz-opt.is-wrong { border-color: #F2A3A6; background: #FDECEC; }
.qz-opt.is-wrong .qz-k { background: #E5484D; color: #fff; }
.qz-opts.is-done .qz-opt:not(.is-right):not(.is-wrong) { opacity: .6; }
.qz-msg { margin: 4px 0 0; font-weight: 600; font-size: .92rem; min-height: 0; }
.qz-msg:empty { display: none; }
.qz-msg.ok { color: #0B8F6B; }
.qz-msg.bad { color: #B42318; }
details.dj-reveal.qz-hidden { display: none; }
.qz-card.is-live { position: sticky; bottom: 12px; z-index: 5; }
.qz-card { display: flex; align-items: center; gap: 18px; margin: 28px 0 8px; padding: 16px 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg, 0 20px 40px -24px rgba(14,20,48,.4)); }
.qz-card.is-final { position: static; background: linear-gradient(120deg, var(--blue-50), var(--surface) 70%); }
.qz-ring { --p: 0; flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--blue) calc(var(--p) * 1%), var(--soft) 0); }
.qz-ring b { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); font-size: .95rem; color: var(--ink); }
.qz-body { display: grid; gap: 4px; min-width: 0; }
.prose .qz-body p.qz-line { margin: 0; font-weight: 600; color: var(--ink); }
.qz-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.prose .qz-cta .btn { text-decoration: none; }
@media (max-width: 600px) { .qz-card { gap: 12px; padding: 12px 14px; } .qz-ring { width: 52px; height: 52px; } .qz-ring b { width: 40px; height: 40px; font-size: .82rem; } .qz-cta .btn { flex: 1 1 auto; justify-content: center; } }
.prose .qz-cta .btn-primary { color: #fff !important; }
.prose .qz-cta .btn-ghost { color: var(--blue) !important; }

/* Doubt session countdown */
.cd { display: grid; gap: 10px; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.cd-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.cd-head b { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: #E5484D; }
.cd-head span { font-weight: 600; color: var(--ink); }
.cd-clock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cd-clock span { display: grid; justify-items: center; padding: 8px 4px; border-radius: 12px; background: var(--soft); }
.cd-clock b { font-size: 1.5rem; font-weight: 700; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.cd-clock small { font-size: .72rem; color: var(--ink-3); }
.cd-live { margin: 0; font-weight: 600; color: #0B8F6B; }
.cd-cal { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--blue); text-decoration: none; }
.cd-cal svg { width: 16px; height: 16px; }
.cd-cal:hover { text-decoration: underline; }

/* ================= Course bundles ================= */
.bnd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--sp-gap, 20px); }
.bnd { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.bnd:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg, var(--shadow)); }
.bnd-save { position: absolute; top: -12px; right: 18px; padding: 6px 12px; border-radius: 999px; background: #F7890C; color: #fff; font-weight: 700; font-size: .8rem; box-shadow: 0 10px 20px -10px rgba(247,137,12,.9); }
.bnd h3 { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.bnd > p { margin: 0; color: var(--ink-2); font-size: .93rem; line-height: 1.55; }
.bnd-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.bnd-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--soft); font-size: .88rem; }
.bnd-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.bnd-list a:hover { color: var(--blue); }
.bnd-list span { color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bnd-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.bnd-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.bnd-price strong { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.bnd-price del { color: var(--ink-3); }
.bnd-price small { width: 100%; color: var(--ink-3); font-size: .8rem; }
.bnd-offer { display: flex; align-items: center; gap: 10px; margin: 2px 0 4px; padding: 10px 12px; border-radius: 12px; background: #FFF3E3; border: 1px solid #F8D8B0; color: var(--ink); text-decoration: none; }
.bnd-offer:hover { background: #FFE9CC; }
.bnd-offer svg { flex: none; width: 20px; height: 20px; color: #E07600; }
.bnd-offer span { display: grid; gap: 1px; }
.bnd-offer b { font-size: .86rem; line-height: 1.3; }
.bnd-offer small { font-size: .78rem; color: var(--ink-2); }

/* ================= Refer & earn on course pages ================= */
.ref-course { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: 22px; background: linear-gradient(120deg, #FFF3E3, var(--surface, #fff) 75%); border: 1px solid #F8D8B0; }
.ref-course-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #FFB347, #F7890C); box-shadow: 0 12px 22px -12px rgba(247,137,12,.9); }
.ref-course-ic svg { width: 22px; height: 22px; color: #fff; stroke: #fff; }
.ref-course-tx { display: grid; gap: 8px; min-width: 0; }
.ref-course .sec-title { margin: 0; font-size: 1.25rem; }
.ref-course p { margin: 0; color: var(--ink-2, #475569); }
.ref-course-act { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.ref-course-code { padding: 10px 14px; border-radius: 10px; border: 1.5px dashed #F8B66B; color: #B85A00; background: #fff; font: 700 .95rem/1 ui-monospace, Consolas, monospace; letter-spacing: .06em; }
.buy-refer { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #FFF3E3; color: #B85A00 !important; font-weight: 600; font-size: .88rem; text-decoration: none; }
.buy-refer:hover { background: #FFE9CC; }
.buy-refer svg { width: 17px; height: 17px; flex: none; }
[data-theme="dark"] .ref-course { background: linear-gradient(120deg, rgba(247,137,12,.14), var(--surface) 75%); border-color: rgba(247,137,12,.35); }
[data-theme="dark"] .buy-refer { background: rgba(247,137,12,.14); color: #FFB347 !important; }
@media (max-width: 600px) { .ref-course { flex-direction: column; padding: 20px; } .ref-course-act .btn { flex: 1 1 auto; justify-content: center; } }

/* ================= Free preview: buttons + popup ================= */
.items li.is-preview { background: rgba(10,107,214,.05); }
.items .pv-title { flex: 1 1 auto; min-width: 0; padding: 0; border: 0; background: none; font: inherit; color: var(--ink, #0f172a); text-align: left; cursor: pointer; }
.items .pv-title:hover { color: var(--brand, #0A6BD6); text-decoration: underline; }
.items .pv-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 0; border-radius: 999px; background: var(--brand, #0A6BD6); color: #fff; font: 600 .8rem/1.2 inherit; font-family: inherit; cursor: pointer; box-shadow: 0 6px 14px -8px rgba(10,107,214,.9); transition: transform .15s, background .15s; }
.items .pv-btn:hover { background: #0857B0; transform: translateY(-1px); }
.items .pv-btn svg { width: 14px; height: 14px; color: #fff; stroke: #fff; }
html:has(.pv-modal[open]) { overflow: hidden; }
.pv-modal { width: min(920px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 20px; background: var(--surface, #fff); color: var(--ink, #0f172a); box-shadow: 0 30px 80px -20px rgba(15,23,42,.45); overflow: hidden; }
.pv-modal::backdrop { background: rgba(15,23,42,.65); backdrop-filter: blur(3px); }
.pv-box { display: flex; flex-direction: column; max-height: calc(100dvh - 32px); }
.pv-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line, #e2e8f0); }
.pv-tag { flex: none; padding: 4px 10px; border-radius: 999px; background: #E7F6EC; color: #11733A; font-size: .75rem; font-weight: 700; }
.pv-h { flex: 1; min-width: 0; margin: 0; font-size: 1rem; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-x { flex: none; width: 38px; height: 38px; border: 0; border-radius: 10px; background: var(--soft, #f1f5f9); color: inherit; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.pv-x:hover { background: #e2e8f0; }
.pv-media { position: relative; aspect-ratio: 16 / 9; background: #000; flex: none; }
.pv-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pv-read { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 22px 26px; font-size: 1.02rem; line-height: 1.75; }
.pv-read > :first-child { margin-top: 0; }
.pv-read img { max-width: 100%; height: auto; border-radius: 10px; }
.pv-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 20px; border-top: 1px solid var(--line, #e2e8f0); background: var(--soft, #f8fafc); }
.pv-foot-tx { flex: 1 1 240px; display: grid; gap: 2px; font-size: .9rem; }
.pv-foot-tx span { color: var(--ink-2, #475569); }
.pv-foot-act { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pv-foot-act .btn-block { width: auto; }
.pv-foot-act form { margin: 0; }
@media (max-width: 600px) {
	.items .pv-btn { padding: 6px 10px; }
	.pv-modal { width: 100vw; max-width: 100vw; max-height: 100dvh; margin: auto 0 0; border-radius: 18px 18px 0 0; }
	.pv-box { max-height: 92dvh; }
	.pv-read { padding: 18px; font-size: 1rem; }
	.pv-foot { padding: 12px 16px; }
	.pv-foot-act { width: 100%; }
	.pv-foot-act > * { flex: 1 1 auto; justify-content: center; text-align: center; }
	.pv-foot-act .btn-block { width: 100%; }
}
.pv-h:focus { outline: none; }

/* ================= Free preview v2: playlist, capped videos, reader, price, lead ================= */
.pv-modal { width: min(1120px, calc(100vw - 32px)); }
.pv-capnote { flex: none; padding: 4px 10px; border-radius: 999px; background: #FFF3E3; color: #B85A00; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.pv-body { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; }
.pv-body:has(.pv-list:not([hidden])) { grid-template-columns: minmax(0, 1fr) 290px; }
.pv-main { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.pv-media { position: relative; }
.pv-ended { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 24px; text-align: center; color: #fff; background: rgba(10,16,40,.92); }
.pv-ended[hidden] { display: none; }
.pv-ended b { font-size: 1.25rem; }
.pv-ended span { max-width: 460px; color: rgba(255,255,255,.85); }
.pv-reader { position: relative; flex: 1 1 auto; min-height: 0; max-height: calc(100dvh - 210px); overflow-y: auto; }
.pv-reader .pv-read { overflow: visible; padding: 6px 26px 24px; }
.pv-progress { position: sticky; top: 0; z-index: 1; height: 4px; background: var(--line, #e2e8f0); }
.pv-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #0A6BD6, #5B45E8); transition: width .1s linear; }
.pv-readtime { margin: 14px 26px 0; color: var(--ink-3, #64748b); font-size: .85rem; }
.pv-more { margin-top: 24px; }
.pv-more .btn { white-space: normal; }
.pv-list { min-height: 0; overflow-y: auto; padding: 14px; border-left: 1px solid var(--line, #e2e8f0); background: var(--soft, #f8fafc); }
.pv-list-in > b { display: block; margin: 2px 4px 10px; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3, #64748b); }
.pv-list ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: pv; }
.pv-list li button { counter-increment: pv; display: flex; gap: 10px; align-items: flex-start; width: 100%; padding: 10px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: inherit; font: inherit; font-size: .88rem; line-height: 1.35; text-align: left; cursor: pointer; }
.pv-list li button::before { content: "▶"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #E8F1FD; color: #0A6BD6; font-size: .7rem; }
.pv-list li button.is-txt::before { content: "≡"; font-size: 1rem; }
.pv-list li button:hover { background: var(--surface, #fff); border-color: var(--line, #e2e8f0); }
.pv-list li.on button { background: var(--surface, #fff); border-color: #0A6BD6; box-shadow: 0 6px 16px -10px rgba(10,107,214,.6); }
.pv-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pv-price b { font-size: 1.3rem; color: var(--ink, #0f172a); }
.pv-price del { color: var(--ink-3, #64748b); }
.pv-price em { font-style: normal; padding: 2px 8px; border-radius: 999px; background: #E7F6EC; color: #11733A; font-size: .78rem; font-weight: 700; }
/* Hero + mobile bar buttons */
.pv-hero { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 14px; }
.pv-hero svg { width: 18px; height: 18px; }
.course-mbar .cm-pv { flex: none; display: inline-flex; align-items: center; gap: 6px; padding-inline: 14px; }
.course-mbar .cm-pv svg { width: 16px; height: 16px; }
/* Course card badge */
.course .chip.pv-chip { background: #E7F6EC; color: #11733A; font-weight: 600; }
/* Lead card after a preview */
.pv-lead { position: fixed; z-index: 99990; right: 20px; bottom: 20px; width: min(380px, calc(100vw - 32px)); padding: 20px; border-radius: 18px; background: var(--surface, #fff); color: var(--ink, #0f172a); border: 1px solid var(--line, #e2e8f0); box-shadow: 0 24px 60px -20px rgba(15,23,42,.45); animation: pvLeadIn .35s ease-out; }
.pv-lead[hidden] { display: none; }
@keyframes pvLeadIn { from { opacity: 0; transform: translateY(16px); } }
.pv-lead b { display: block; padding-right: 30px; font-size: 1.02rem; line-height: 1.35; }
.pv-lead p { margin: 6px 0 12px; color: var(--ink-2, #475569); font-size: .9rem; }
.pv-lead form { display: grid; gap: 8px; }
.pv-lead input:not([type=hidden]) { width: 100%; padding: 11px 12px; border: 1px solid var(--line, #cbd5e1); border-radius: 10px; font: inherit; background: var(--surface, #fff); color: inherit; }
.pv-lead .hp { position: absolute; left: -9999px; }
.pv-lead-x { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 8px; background: var(--soft, #f1f5f9); color: inherit; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.pv-lead-msg { margin: 8px 0 0 !important; font-weight: 600; color: #11733A !important; }
.pv-lead-msg:empty { display: none; }
@media (max-width: 900px) {
	.pv-body:has(.pv-list:not([hidden])) { grid-template-columns: minmax(0, 1fr); }
	.pv-list { display: none; }
}
@media (max-width: 600px) {
	.pv-capnote { display: none; }
	.pv-reader { max-height: calc(92dvh - 230px); }
	.pv-reader .pv-read { padding: 6px 18px 20px; }
	.pv-readtime { margin: 12px 18px 0; }
	.pv-price b { font-size: 1.15rem; }
	.pv-lead { right: 12px; left: 12px; bottom: 84px; width: auto; }
	.pv-hero { width: 100%; justify-content: center; }
}

/* Review slider: every card the same size */
.rvs-track { align-items: stretch; }
.rvs-card { height: auto; min-height: 290px; }
.rvs-card .rv-t { margin: 10px 0 0; font-size: 1rem; line-height: 1.4; min-height: 1.4em; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.rvs-card .rv-t.is-empty { visibility: hidden; }
.rvs-card blockquote { flex: 1 0 auto; margin: 8px 0 14px; line-height: 1.6; height: 8em; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.rvs-card figcaption { margin-top: auto; min-height: 52px; }
.rvs-card .rv-course { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rvs-card .rv-who { min-width: 0; }
/* Playlist matches the video/reader height; hero button colours */
.pv-list { position: relative; padding: 0; overflow: hidden; }
.pv-list-in { position: absolute; inset: 0; overflow-y: auto; padding: 14px; }
.pv-hero { background: #11733A; color: #fff !important; border: 0; box-shadow: 0 10px 22px -12px rgba(17,115,58,.8); }
.pv-hero:hover { background: #0d5e2f; }
.pv-hero svg { color: #fff; stroke: #fff; }

/* ================= Verify certificate ================= */
.vf-wrap { max-width: 760px; display: grid; gap: 24px; }
.vf-form { padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.vf-form label { display: block; font-weight: 700; margin-bottom: 8px; }
.vf-row { display: flex; gap: 10px; flex-wrap: wrap; }
.vf-row input { flex: 1 1 260px; min-width: 0; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 1rem/1.2 ui-monospace, Consolas, monospace; letter-spacing: .04em; }
.vf-form .fine { margin: 10px 0 0; }
.vf-result { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 20px; border: 1px solid; }
.vf-result.is-ok { background: #EAF8EF; border-color: #BFE5CC; }
.vf-result.is-bad { background: #FFF4F2; border-color: #F6C8C0; }
.vf-ic { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; font-weight: 800; color: #fff; background: #11733A; }
.vf-result.is-bad .vf-ic { background: #C0392B; }
.vf-result b { font-size: 1.15rem; }
.vf-result dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 12px 0 14px; }
.vf-result dt { color: var(--ink-3, #64748b); }
.vf-result dd { margin: 0; font-weight: 600; word-break: break-word; }
.vf-cta { display: grid; gap: 8px; justify-items: start; padding: 20px 22px; border-radius: 20px; background: var(--soft, #f5f7fc); }
.vf-cta span { flex: 1 1 260px; color: var(--ink-2); }
[data-theme="dark"] .vf-result.is-ok { background: rgba(17,115,58,.15); border-color: rgba(17,115,58,.4); }
[data-theme="dark"] .vf-result.is-bad { background: rgba(192,57,43,.15); border-color: rgba(192,57,43,.4); }

/* ================= Compare courses ================= */
.cmp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; align-items: stretch; }
.cmp-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.cmp-card.is-pick { border: 2px solid var(--blue, #0A6BD6); }
.cmp-badge { position: absolute; top: -12px; left: 18px; padding: 4px 12px; border-radius: 999px; background: var(--blue, #0A6BD6); color: #fff; font-size: .75rem; font-weight: 700; }
.cmp-card h2 { margin: 6px 0 0; font-size: 1.05rem; line-height: 1.35; }
.cmp-card h2 a { color: inherit; text-decoration: none; }
.cmp-price b { font-size: 1.6rem; }
.cmp-price del { margin-left: 8px; color: var(--ink-3, #64748b); }
.cmp-for { margin: 0; font-size: .9rem; color: var(--ink-2); }
.cmp-facts { display: grid; grid-template-columns: 1fr auto; margin: 0; border-top: 1px solid var(--line); flex: 1; align-content: start; }
.cmp-facts dt, .cmp-facts dd { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.cmp-facts dt { color: var(--ink-2); }
.cmp-facts dd { font-weight: 700; text-align: right; }
.cmp-yes { color: #11733A; }
.cmp-no { color: var(--ink-3, #94a3b8); }
.buy-compare { display: block; margin-top: 10px; text-align: center; font-size: .88rem; font-weight: 600; }

/* ================= Course box inside blog posts ================= */
.blogbox { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 28px 0; padding: 16px; border-radius: 18px; background: linear-gradient(120deg, #EEF5FF, var(--surface) 70%); border: 1px solid #CFE0FA; }
.blogbox.is-end { background: linear-gradient(120deg, #FFF3E3, var(--surface) 70%); border-color: #F8D8B0; }
.blogbox-img { flex: none; width: 120px; height: 76px; object-fit: cover; border-radius: 12px; margin: 0 !important; }
.blogbox-tx { flex: 1 1 240px; display: grid; gap: 4px; min-width: 0; }
.blogbox-eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--blue, #0A6BD6); }
.blogbox-t { font-size: 1.02rem; line-height: 1.35; color: var(--ink); }
.blogbox-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .85rem; color: var(--ink-2); }
.blogbox-price del { color: var(--ink-3, #94a3b8); }
.blogbox-btn { flex: none; display: inline-flex; padding: 11px 18px; border-radius: 12px; background: var(--blue, #0A6BD6); color: #fff !important; font-weight: 700; text-decoration: none !important; }
.blogbox-btn:hover { background: #0857B0; }
[data-theme="dark"] .blogbox { background: rgba(10,107,214,.12); border-color: rgba(10,107,214,.35); }
[data-theme="dark"] .blogbox.is-end { background: rgba(247,137,12,.12); border-color: rgba(247,137,12,.35); }
@media (max-width: 600px) { .blogbox-img { width: 100%; height: 140px; } .blogbox-btn { width: 100%; justify-content: center; } }
