/* Exact-replica layer on top of reference.css — fonts/spacing match Netlify */

/* Inter is named in the stack but deliberately not loaded: the reference ships
   no Inter webfont, so its body copy renders in system-ui. Loading Inter here
   makes every line narrower and cascades into wrong wrapping and page heights. */

:root {
  --font-family-base: 'Inter', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  color: #0f172a;
}

/* Store toolbar must stay pinned on scroll (sticky fails if html/body overflow-y is auto). */
html:has(#rjceStore),
html:has(#rjceStore) body {
  overflow-x: clip;
  overflow-y: visible;
}
.store-toolbar {
  position: sticky;
  top: 0;
  z-index: 50;
}
/* reference.css has .hidden but not sm:block — store logo name was always display:none */
@media (min-width: 640px) {
  .sm\:block { display: block; }
}
.store-toolbar .store-brand-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

/* Missing arbitrary utilities from reference (not always emitted in compiled CSS) */
.shadow-\[0_4px_12px_rgba\(10\,69\,154\,0\.3\)\] {
  --tw-shadow: 0 4px 12px rgba(10, 69, 154, 0.3);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-\[0_4px_12px_rgba\(10\,69\,154\,0\.2\)\] {
  --tw-shadow: 0 4px 12px rgba(10, 69, 154, 0.2);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hover\:shadow-\[0_4px_20px_rgba\(10\,69\,154\,0\.35\)\]:hover {
  --tw-shadow: 0 4px 20px rgba(10, 69, 154, 0.35);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-\[0_8px_20px_rgba\(10\,69\,154\,0\.06\)\] {
  --tw-shadow: 0 8px 20px rgba(10, 69, 154, 0.06);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-\[0_4px_12px_rgba\(0\,0\,0\,0\.01\)\] {
  --tw-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hover\:shadow-\[0_12px_24px_rgba\(10\,69\,154\,0\.06\)\]:hover {
  --tw-shadow: 0 12px 24px rgba(10, 69, 154, 0.06);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-\[0_12px_40px_rgba\(10\,69\,154\,0\.03\)\] {
  --tw-shadow: 0 12px 40px rgba(10, 69, 154, 0.03);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hover\:shadow-\[0_16px_48px_rgba\(10\,69\,154\,0\.06\)\]:hover {
  --tw-shadow: 0 16px 48px rgba(10, 69, 154, 0.06);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-\[\#e11d48\]\/30 {
  --tw-shadow-color: rgb(225 29 72 / 0.3);
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-4 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.aspect-\[3\/4\] { aspect-ratio: 3 / 4; }
.aspect-\[4\/5\] { aspect-ratio: 4 / 5; }
.aspect-square { aspect-ratio: 1 / 1; }

#rjceHeader {
  position: sticky;
  top: 0;
  z-index: 1040;
  width: 100%;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

#rjceHeader.rjce-header-shadow {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.max-w-8xl { max-width: 88rem; }
/* Store uses more of Full HD / 2K without loading 4K assets */
#rjceStore .max-w-8xl { max-width: 1680px; }
@media (min-width: 1920px) {
  #rjceStore .max-w-8xl { max-width: 1760px; }
}
@media (min-width: 2560px) {
  #rjceStore .max-w-8xl { max-width: 2100px; }
}
#rjceStore .store-card-img {
  object-fit: cover;
  object-position: center;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}
@media (min-width: 1280px) {
  #rjceStore [data-store-product-grid] {
    gap: 1.15rem;
  }
}

.rjce-home-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 8px;
  white-space: nowrap;
  color: #475569;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.rjce-home-pill:hover { background: rgba(255,255,255,.55); }
.rjce-home-pill.is-active {
  background: #0a459a;
  color: #fff;
  box-shadow: 0 4px 6px -1px rgba(10, 69, 154, 0.35);
}
.rjce-home-pill.is-active:hover { background: #073373; color: #fff; }

[data-carousel-track] {
  display: flex;
  width: 100%;
  will-change: transform;
}

/* Home course/book row — one horizontal strip (Netlify) */
[data-carousel-track] {
  display: flex;
  width: 100%;
  will-change: transform;
}
[data-carousel-track] > .rjce-home-card {
  box-sizing: border-box;
}
@media (max-width: 767px) {
  #rjceCoursesMount .md\:hidden .rjce-home-card,
  #rjceBooksMount .md\:hidden .rjce-home-card {
    padding: 0.5rem;
  }
  #rjceBooksMount .md\:hidden .rjce-home-card .space-y-4 {
    gap: 0.5rem;
  }
  #rjceCoursesMount .md\:hidden .rjce-home-card h4,
  #rjceBooksMount .md\:hidden .rjce-home-card h4 {
    font-size: 12px;
    min-height: 2.25rem;
  }
}

#rjceStore .store-toolbar {
  top: 0;
  z-index: 50;
}
/* Left filters stay pinned under the store bar (lg:top-20 is missing from the CSS build). */
#rjceStore .store-filters {
  position: sticky;
  top: 5rem;
  z-index: 30;
  align-self: flex-start;
  max-height: calc(100vh - 5.5rem);
  overflow-y: auto;
  scrollbar-width: thin;
}

/* Store cards: 1 / 2 / 3 / 4 cols — phone, tablet, iPad landscape, desktop */
#rjceStore [data-store-product-grid] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}
@media (min-width: 640px) {
  #rjceStore [data-store-product-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}
@media (min-width: 900px) and (max-width: 1023px) {
  #rjceStore [data-store-product-grid] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  #rjceStore [data-store-product-grid] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #rjceHeader .flex-1.justify-between {
    gap: 0.5rem;
  }
  #rjceStore .store-toolbar h1 {
    display: none;
  }
}

/* Static homepage hero — mobile image on phones, desktop image from 768px */
#rjceBannerMount {
  background: #fff;
}
#rjceBannerMount a {
  display: block;
  line-height: 0;
}
.rjce-hero-banner--mobile {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 1280;
  object-fit: contain;
  object-position: center top;
}
.rjce-hero-banner--desktop {
  display: none;
}
@media (max-width: 767px) {
  #rjceBannerMount {
    width: 100%;
    overflow: visible;
  }
  #rjceBannerMount a {
    display: block;
    width: 100%;
    line-height: 0;
  }
  .rjce-hero-banner--mobile {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    aspect-ratio: 720 / 1280;
    object-fit: contain;
    object-position: center top;
  }
}
@media (min-width: 768px) {
  .rjce-hero-banner--mobile {
    display: none;
  }
  .rjce-hero-banner--desktop {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3072 / 1200;
    object-fit: cover;
    object-position: center center;
  }
}

.rjce-brand-logo {
  height: auto;
  width: auto;
  max-height: 36px;
  max-width: min(168px, 48vw);
  object-fit: contain;
  object-position: left center;
  display: block;
}
@media (min-width: 640px) {
  .rjce-brand-logo {
    max-height: 40px;
    max-width: 210px;
  }
}
@media (min-width: 1024px) {
  .rjce-brand-logo {
    max-height: 44px;
    max-width: 240px;
  }
}
.rjce-brand-logo--drawer {
  max-height: 36px;
  max-width: 180px;
}
.rjce-brand-logo--store {
  max-height: 32px;
  max-width: 160px;
}
@media (min-width: 640px) {
  .rjce-brand-logo--store {
    max-height: 38px;
    max-width: 200px;
  }
}
.rjce-brand-logo-wrap--footer {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  max-width: 100%;
}
.rjce-brand-logo--footer {
  max-height: 40px;
  max-width: min(220px, 70vw);
  object-position: center center;
}
@media (min-width: 768px) {
  .rjce-brand-logo--footer {
    max-height: 56px;
    max-width: 320px;
  }
}

/* Desktop footer columns — reference.css is missing md:col-span-3/4 */
.rjce-site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) {
  .rjce-site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 768px) {
  .rjce-site-footer__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .rjce-site-footer__brand { grid-column: span 4; }
  .rjce-site-footer__contact { grid-column: span 3; padding-left: 0.5rem; }
  .rjce-site-footer__corporate { grid-column: span 2; }
  .rjce-site-footer__academia { grid-column: span 3; padding-left: 0.5rem; }
}

/* Footer social icons — brand colors (reference.css lacks arbitrary bg utilities) */
.rjce-footer-social {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  color: #fff;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.rjce-footer-social:hover {
  transform: scale(1.1) translateY(-0.25rem);
}
.rjce-footer-social--linkedin {
  background-color: #1877f2;
  box-shadow: 0 10px 15px -3px rgb(59 130 246 / 0.3);
}
.rjce-footer-social--instagram {
  background-image: linear-gradient(to bottom right, #f58529, #dd2a7b, #8134af);
  box-shadow: 0 10px 15px -3px rgb(236 72 153 / 0.3);
}
.rjce-footer-social--youtube {
  background-color: #ff0000;
  box-shadow: 0 10px 15px -3px rgb(239 68 68 / 0.3);
}
.rjce-footer-social--telegram {
  background-color: #229ed9;
  box-shadow: 0 10px 15px -3px rgb(6 182 212 / 0.3);
}

/* Footer enquiry strip — match https://rishabhjain2026.netlify.app/ */
@keyframes pulse {
  50% { opacity: .5; }
}
.rjce-footer-enquiry__pulse {
  background: #facc15;
  color: #000;
  font-weight: 800;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 12px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@media (min-width: 640px) {
  .rjce-footer-enquiry__pulse { font-size: 14px; }
}
.rjce-footer-enquiry__sales,
.rjce-footer-enquiry__f2f {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-decoration: none;
  line-height: 1.4;
}
.rjce-footer-enquiry__sales {
  background-image: linear-gradient(to right, #22c55e, #059669);
  border: 1px solid #86efac;
  box-shadow: 0 10px 15px -3px rgba(34, 197, 94, 0.3);
}
.rjce-footer-enquiry__f2f {
  background-image: linear-gradient(to right, #3b82f6, #4f46e5);
  border: 1px solid #93c5fd;
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}
.rjce-footer-enquiry__sep {
  color: rgba(0, 0, 0, 0.3);
}
.rjce-footer-enquiry__dot {
  display: none;
  color: rgba(0, 0, 0, 0.3);
  font-size: 1.25rem;
}
@media (min-width: 1024px) {
  .rjce-footer-enquiry__dot { display: inline; }
}
.rjce-footer-enquiry__tel {
  padding: 0.25rem 0.5rem;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  transition: color 0.15s ease;
}
.rjce-footer-enquiry__tel--sales:hover { color: #16a34a; }
.rjce-footer-enquiry__tel--f2f:hover { color: #2563eb; }

@media (max-width: 767px) {
  .rjce-footer-enquiry a.rjce-footer-enquiry__tel {
    font-size: 13px;
  }
  .rjce-expert-fab {
    display: none !important;
  }
  .rjce-live-order {
    bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }
  [data-course-mobile-bar] {
    bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
    z-index: 45;
  }
}
@media (min-width: 768px) {
  .rjce-expert-fab {
    display: block;
  }
}

/* Mobile bottom bar — Call / Cart / Store / Free / App (Netlify) */
.rjce-mobile-tabbar {
  display: none;
}
@media (max-width: 767px) {
  .rjce-mobile-tabbar {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    overflow: visible;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid #0a459a;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
    font-weight: 700;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  body {
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  }
}
.rjce-mobile-tabbar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0;
  color: #0a459a;
  text-decoration: none;
  position: relative;
  min-width: 0;
}
.rjce-mobile-tabbar__item--store {
  padding-top: 0.25rem;
  padding-bottom: 0.75rem;
}
.rjce-mobile-tabbar__icon {
  position: relative;
  margin-bottom: 0.25rem;
  color: #0a459a;
}
.rjce-mobile-tabbar__label {
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  color: #0a459a;
}
.rjce-mobile-tabbar__dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background: #dc2626;
  border: 1px solid #fff;
  border-radius: 999px;
}
.rjce-mobile-tabbar__dot.hidden,
.rjce-mobile-tabbar__dot[hidden] {
  display: none !important;
}
.rjce-mobile-tabbar__store {
  width: 3.5rem;
  height: 3.5rem;
  margin-top: -2rem;
  margin-bottom: 0.25rem;
  border-radius: 999px;
  background: #0a459a;
  color: #fff;
  border: 4px solid #fff;
  box-shadow: 0 10px 15px -3px rgba(10, 69, 154, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
}
.rjce-banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
  background: #071226;
}
.rjce-banner-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.rjce-banner-slide[data-nav] { cursor: pointer; }
.rjce-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
}
.rjce-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(to right, rgba(79, 70, 229, 0.2), transparent, rgba(147, 51, 234, 0.2));
  opacity: 0;
  transition: opacity .5s ease;
}
.group:hover .rjce-banner-overlay { opacity: 1; }
.rjce-banner-nav {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 10px;
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .3s ease, transform .3s ease, background .3s ease;
  cursor: pointer;
}
.rjce-banner-nav svg { width: 20px; height: 20px; display: block; }
.rjce-banner-nav--prev { left: 12px; }
.rjce-banner-nav--next { right: 12px; }
.group:hover .rjce-banner-nav { opacity: 1; }
.rjce-banner-nav:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-50%) scale(1.1); }
@media (min-width: 640px) {
  .rjce-banner-nav { display: flex; }
}
.rjce-banner-dots {
  position: absolute;
  z-index: 30;
  left: 16px;
  bottom: 16px;
  display: flex;
  gap: 6px;
}
@media (min-width: 640px) {
  .rjce-banner-dots { left: 24px; bottom: 24px; }
}
@media (min-width: 768px) {
  .rjce-banner-dots { left: 48px; bottom: 32px; }
}
@media (min-width: 1024px) {
  .rjce-banner-dots { left: 96px; }
}
.rjce-banner-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: width .3s ease, background .3s ease;
}
.rjce-banner-dots button.is-active,
.rjce-banner-dots button.w-8 {
  width: 32px;
  height: 8px;
  background: #fff;
}

/* Mobile drawer (reference opens via React) */
.rjce-mobile-drawer[hidden] { display: none !important; }
.rjce-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
}
.rjce-mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}
.rjce-mobile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 88vw);
  background: #fff;
  padding: 1rem 1.25rem;
  overflow-y: auto;
  box-shadow: -12px 0 40px rgba(0,0,0,.12);
}
.rjce-mobile-drawer__panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #64748b;
}
.rjce-mobile-drawer__panel a:hover { color: #0a459a; }
.rjce-mobile-drawer__panel .rjce-drawer-auth {
  display: flex;
  width: 100%;
  align-items: center;
  padding: 0.85rem 0;
  border: 0;
  border-bottom: 1px solid #f1f5f9;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #0a459a;
  cursor: pointer;
  text-align: left;
}

/* My Profile page — My Account sidebar layout (mobile responsive) */
.rjce-profile-page .rjce-profile-shell {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .rjce-profile-page .rjce-profile-shell {
    grid-template-columns: 220px 1fr;
    min-height: 420px;
  }
}
.rjce-profile-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}
@media (min-width: 768px) {
  .rjce-profile-nav {
    flex-direction: column;
    border-bottom: 0;
    border-right: 1px solid #e2e8f0;
    padding: 1.25rem 0.85rem;
  }
}
.rjce-profile-nav button,
.rjce-profile-nav a {
  border: 0;
  background: transparent;
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  font-size: 13px;
  font-weight: 800;
  color: #475569;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  display: block;
}
.rjce-profile-nav button.is-active,
.rjce-profile-nav a.is-active {
  background: #e8f0fb;
  color: #0a459a;
}
.rjce-profile-nav a:hover {
  background: #f1f5f9;
  color: #0a459a;
}
.rjce-profile-nav .rjce-profile-logout {
  color: #be123c;
  margin-left: auto;
}
@media (min-width: 768px) {
  .rjce-profile-nav .rjce-profile-logout {
    margin-left: 0;
    margin-top: auto;
  }
}
.rjce-profile-main {
  padding: 1.25rem 1.15rem 1.75rem;
}
@media (min-width: 640px) {
  .rjce-profile-main {
    padding: 1.75rem 2rem 2rem;
  }
}
.rjce-profile-fields {
  display: grid;
  gap: 0.9rem;
  max-width: 28rem;
}
.rjce-profile-fields label { display: block; }
.rjce-profile-fields span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 0.35rem;
}
.rjce-profile-fields input {
  width: 100%;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
  color: #0f172a;
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font-size: 14px;
  font-weight: 600;
  cursor: default;
}

/* Legacy account slide-over styles kept harmless if markup absent */
.rjce-account[hidden] { display: none !important; }

/* Checkout */
.rjce-checkout-page {
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(10, 69, 154, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 10%, rgba(14, 165, 233, 0.06), transparent 50%),
    #f3f6fb;
  min-height: 70vh;
  padding: 1.25rem 1rem 3.5rem;
}
.rjce-checkout-wrap {
  max-width: 1120px;
  margin: 0 auto;
}
.rjce-checkout-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 960px) {
  .rjce-checkout-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.9fr);
    gap: 1.5rem;
  }
  .rjce-checkout-side {
    position: sticky;
    top: 6.5rem;
  }
}
.rjce-checkout-main {
  display: grid;
  gap: 1rem;
}
.rjce-checkout-back {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
  font-size: 13px;
  font-weight: 700;
  color: #0a459a;
}
.rjce-checkout-back svg {
  width: 1rem;
  height: 1rem;
}
.rjce-checkout-head {
  display: grid;
  gap: 1.1rem;
  margin-bottom: 1.35rem;
  padding: 1.25rem 1.25rem 1.35rem;
  border-radius: 20px;
  border: 1px solid #d7e3f4;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(232,240,251,0.9)),
    #fff;
  box-shadow: 0 10px 28px rgba(10, 69, 154, 0.06);
}
@media (min-width: 768px) {
  .rjce-checkout-head {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 1.5rem;
    padding: 1.4rem 1.5rem 1.5rem;
  }
}
.rjce-checkout-kicker {
  margin: 0 0 0.35rem;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a459a;
}
.rjce-checkout-head h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0b1f3a;
}
.rjce-checkout-head-copy > p:not(.rjce-checkout-kicker) {
  margin: 0.45rem 0 0.95rem;
  font-size: 14px;
  line-height: 1.55;
  color: #5b6b7f;
  max-width: 34rem;
}
.rjce-checkout-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.rjce-checkout-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #0a459a;
  background: #fff;
  border: 1px solid #cfe0f5;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  box-shadow: 0 1px 2px rgba(10, 69, 154, 0.05);
}
.rjce-checkout-trust svg {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
}
.rjce-checkout-steps {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.rjce-checkout-step {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: #eef2f7;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}
.rjce-checkout-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #cbd5e1;
  color: #334155;
  font-size: 11px;
  font-weight: 800;
}
.rjce-checkout-step em {
  font-style: normal;
}
.rjce-checkout-step.is-done {
  background: #e8f5ee;
  color: #166534;
}
.rjce-checkout-step.is-done span {
  background: #16a34a;
  color: #fff;
}
.rjce-checkout-step.is-active {
  background: #0a459a;
  color: #fff;
  box-shadow: 0 6px 16px rgba(10, 69, 154, 0.28);
}
.rjce-checkout-step.is-active span {
  background: rgba(255,255,255,0.22);
  color: #fff;
}
.rjce-checkout-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.2rem 1.2rem 1.3rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}
.rjce-checkout-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid #eef2f7;
}
.rjce-checkout-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #0a459a, #073373);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(10, 69, 154, 0.25);
}
.rjce-checkout-card h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0b1f3a;
}
.rjce-checkout-hint {
  margin: 0.25rem 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #64748b;
}
.rjce-checkout-card--order {
  border-color: #c5d4ea;
  box-shadow: 0 14px 34px rgba(10, 69, 154, 0.1);
  padding: 0;
  overflow: hidden;
}
.rjce-checkout-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  background: linear-gradient(90deg, #0a459a, #073373);
  color: #fff;
}
.rjce-checkout-side-head h2,
.rjce-checkout-card--order .rjce-checkout-side-head h2 {
  margin: 0;
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: 800;
}
.rjce-checkout-side-head span,
.rjce-checkout-card--order .rjce-checkout-side-head span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff !important;
  background: rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
}
.rjce-checkout-items {
  padding: 0.35rem 1.1rem 0.15rem;
}
.rjce-checkout-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #eef2f7;
}
.rjce-checkout-item:last-child { border-bottom: 0; }
.rjce-checkout-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}
.rjce-checkout-item-body {
  min-width: 0;
  flex: 1;
}
.rjce-checkout-item strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
}
.rjce-checkout-item span {
  display: block;
  margin-top: 0.22rem;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  line-height: 1.4;
}
.rjce-checkout-item em {
  font-style: normal;
  font-weight: 800;
  font-size: 13px;
  color: #0f172a;
  white-space: nowrap;
  text-align: right;
}
.rjce-checkout-item s {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}
.rjce-checkout-card--order .rjce-checkout-totals,
.rjce-checkout-card--order .rjce-checkout-paynote,
.rjce-checkout-card--order [data-checkout-error],
.rjce-checkout-card--order .rjce-checkout-pay {
  margin-left: 1.15rem;
  margin-right: 1.15rem;
}
.rjce-checkout-card--order .rjce-checkout-pay {
  width: calc(100% - 2.3rem);
  margin-bottom: 1.15rem;
}
.rjce-checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 640px) {
  .rjce-checkout-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.rjce-checkout-span { grid-column: 1 / -1; }
.rjce-checkout-grid label span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 0.3rem;
}
.rjce-checkout-grid input,
.rjce-checkout-grid select {
  width: 100%;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  padding: 0.72rem 0.85rem;
  font-size: 14px;
  color: #0f172a;
  background: #f8fafc;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.rjce-checkout-grid input:hover,
.rjce-checkout-grid select:hover {
  border-color: #c5d4ea;
  background: #fff;
}
.rjce-checkout-grid input:focus,
.rjce-checkout-grid select:focus {
  outline: none;
  border-color: #0a459a;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(10, 69, 154, 0.12);
}
.rjce-checkout-grid input.rjce-checkout-readonly,
.rjce-checkout-grid input.rjce-checkout-readonly:hover,
.rjce-checkout-grid input.rjce-checkout-readonly:focus {
  background: #eef2f7;
  color: #334155;
  border-color: #d0d7e2;
  cursor: default;
  box-shadow: none;
}
.rjce-checkout-grid input.is-invalid,
.rjce-checkout-grid select.is-invalid {
  border-color: #ef4444 !important;
  background: #fff;
  box-shadow: none;
}
.rjce-checkout-grid input.is-valid,
.rjce-checkout-grid select.is-valid {
  border-color: #22c55e !important;
  background: #fff;
  box-shadow: none;
}
.rjce-checkout-grid input.is-valid:focus,
.rjce-checkout-grid select.is-valid:focus {
  border-color: #22c55e !important;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}
.rjce-checkout-grid input.is-invalid:focus,
.rjce-checkout-grid select.is-invalid:focus {
  border-color: #ef4444 !important;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}
.rjce-checkout-field-msg {
  display: none;
  margin-top: 0.3rem;
  font-size: 11px;
  font-weight: 600;
  color: #ef4444;
}
.rjce-checkout-field-msg.is-show {
  display: block;
}
.rjce-checkout-totals {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e2e8f0;
}
.rjce-checkout-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #475569;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.rjce-checkout-row--total {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0a459a;
  margin-top: 0.35rem;
}
.rjce-checkout-paynote {
  margin: 0.85rem 0 0.75rem;
  font-size: 13px;
  color: #64748b;
  line-height: 1.45;
}
.rjce-checkout-flash {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 14px;
  font-weight: 600;
}
.rjce-checkout-pay {
  width: 100%;
  background: linear-gradient(90deg, #0a459a, #073373);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 0.95rem 1rem;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(10, 69, 154, 0.28);
}
.rjce-checkout-pay:hover { filter: brightness(1.05); }
.rjce-checkout-pay:disabled { opacity: 0.6; cursor: not-allowed; box-shadow: none; }

/* Header dropdowns — exact reference open state */
[data-dropdown-menu][hidden],
[data-combo-sub][hidden] { display: none !important; }
[data-dropdown].is-open [data-dd-chevron] {
  transform: rotate(180deg);
}
[data-combo-item].is-open [data-combo-chevron] {
  transform: rotate(180deg);
}

/* Expert help FAB */
.rjce-expert-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1500;
}
.rjce-expert-fab > button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(90deg, #0a459a, #073373);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: .75rem 1.1rem;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(10,69,154,.35);
  cursor: pointer;
}
.rjce-expert-fab__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + .65rem);
  width: 240px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 16px 40px rgba(15,23,42,.15);
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
}
.rjce-expert-fab__panel[hidden] { display: none !important; }

/* Tawk-style enquiry chat */
.rjce-enq-chat {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1510;
  font-family: inherit;
}
.rjce-enq-chat__launcher {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: linear-gradient(135deg, #0a459a 0%, #073373 100%);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: .85rem 1.15rem;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(10, 69, 154, .4);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.rjce-enq-chat__launcher:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(10, 69, 154, .48);
}
.rjce-enq-chat__launcher[aria-expanded="true"] {
  border-radius: 50%;
  padding: .9rem;
}
.rjce-enq-chat__launcher[aria-expanded="true"] .rjce-enq-chat__label,
.rjce-enq-chat__launcher[aria-expanded="true"] .rjce-enq-chat__icon-open {
  display: none;
}
.rjce-enq-chat__launcher[aria-expanded="true"] .rjce-enq-chat__icon-close {
  display: block !important;
}
.rjce-enq-chat__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + .75rem);
  width: min(340px, calc(100vw - 2rem));
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .22);
  border: 1px solid #e2e8f0;
}
.rjce-enq-chat__panel[hidden] { display: none !important; }
.rjce-enq-chat__head {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1rem;
  background: linear-gradient(135deg, #0a459a, #073373);
  color: #fff;
}
.rjce-enq-chat__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rjce-enq-chat__head-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.rjce-enq-chat__head-text strong {
  font-size: 14px;
  font-weight: 800;
}
.rjce-enq-chat__head-text span {
  font-size: 11px;
  opacity: .85;
  font-weight: 500;
}
.rjce-enq-chat__close {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 .15rem;
  opacity: .9;
}
.rjce-enq-chat__body {
  padding: 1rem;
  background: #f8fafc;
  max-height: min(70vh, 420px);
  overflow-y: auto;
}
.rjce-enq-chat__bubble {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px 12px 12px 4px;
  padding: .7rem .85rem;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: .85rem;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.rjce-enq-chat__form label {
  display: block;
  margin-bottom: .65rem;
}
.rjce-enq-chat__form label span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  margin-bottom: .25rem;
}
.rjce-enq-chat__form input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: .6rem .75rem;
  font-size: 14px;
  color: #0f172a;
  background: #fff;
  outline: none;
  box-sizing: border-box;
}
.rjce-enq-chat__form input:focus {
  border-color: #0a459a;
  box-shadow: 0 0 0 3px rgba(10, 69, 154, .15);
}
.rjce-enq-chat__msg {
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 .5rem;
}
.rjce-enq-chat__msg.is-error { color: #dc2626; }
.rjce-enq-chat__msg.is-ok { color: #16a34a; }
.rjce-enq-chat__submit {
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: .75rem 1rem;
  background: linear-gradient(135deg, #0a459a, #073373);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.rjce-enq-chat__submit:disabled {
  opacity: .7;
  cursor: wait;
}
.rjce-enq-chat__done {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: 1rem;
  color: #065f46;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 767px) {
  .rjce-enq-chat {
    bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
    right: .75rem;
  }
  .rjce-enq-chat__label {
    display: none;
  }
  .rjce-enq-chat__launcher {
    border-radius: 50%;
    padding: .95rem;
  }
  /* Keep Expert Help hidden on mobile; chat stays available */
  .rjce-expert-fab {
    display: none !important;
  }
}
@media (min-width: 768px) {
  /* Stack Expert Help above the chat launcher */
  .rjce-expert-fab {
    bottom: 4.75rem;
    right: 1rem;
  }
}

/* Live order toast — matches https://rishabhjain2026.netlify.app/ */
.rjce-live-order {
  position: fixed;
  left: 1rem;
  bottom: 1.5rem;
  z-index: 85;
  max-width: 300px;
  opacity: 0;
  transform: translateX(-1rem);
  transition: opacity .5s ease-in-out, transform .5s ease-in-out;
  pointer-events: none;
}
@media (min-width: 640px) {
  .rjce-live-order {
    left: 1.5rem;
    max-width: 24rem;
  }
}
.rjce-live-order.is-visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.rjce-live-order__card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: .75rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0a459a;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, .25);
  padding: .875rem 1rem;
}
.rjce-live-order__live {
  position: absolute;
  top: .75rem;
  right: .75rem;
  display: flex;
  align-items: center;
  gap: .375rem;
}
.rjce-live-order__ping {
  position: relative;
  display: flex;
  height: .5rem;
  width: .5rem;
}
.rjce-live-order__ping-ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #0a459a;
  opacity: .75;
  animation: rjceLivePing 1.2s cubic-bezier(0, 0, .2, 1) infinite;
}
.rjce-live-order__ping-dot {
  position: relative;
  display: inline-flex;
  height: .5rem;
  width: .5rem;
  border-radius: 999px;
  background: #0a459a;
}
.rjce-live-order__live-label {
  font-size: 8px;
  font-weight: 800;
  color: #0a459a;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.rjce-live-order__avatar {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom right, #0a459a, #073373);
  box-shadow: 0 10px 15px -3px rgba(10, 69, 154, .35);
}
.rjce-live-order__text {
  min-width: 0;
  flex: 1;
  padding-right: 2.25rem;
}
.rjce-live-order__name {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}
.rjce-live-order__meta {
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: .15rem 0 0;
}
.rjce-live-order__meta span {
  color: #0a459a;
  font-weight: 800;
}
@keyframes rjceLivePing {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Marquee helpers (reference inline styles) */
@keyframes rjceScrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes rjceScrollRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
.animate-marquee-infinite {
  animation: rjceScrollLeft 40s linear infinite;
}
.animate-marquee-left {
  display: flex;
  width: max-content;
  animation: rjceScrollLeft 30s linear infinite;
}
.animate-marquee-right {
  display: flex;
  width: max-content;
  animation: rjceScrollRight 30s linear infinite;
}
.group:hover .animate-marquee-infinite,
.marquee-container:hover .animate-marquee-left,
.marquee-container:hover .animate-marquee-right {
  animation-play-state: paused;
}

/* Course detail purchase sidebar — sticky in its column, never overlays content */
[data-course-purchase-fixed] {
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
}
@media (min-width: 1024px) {
  .lg\:top-28 { top: 7rem; }
  .lg\:gap-10 { gap: 2.5rem; }
  #course-content-section main {
    gap: 2.5rem;
  }
  [data-course-purchase-fixed] {
    position: sticky;
    top: 7rem;
  }
}
@media (min-width: 1280px) {
  .xl\:gap-12 { gap: 3rem; }
  #course-content-section main {
    gap: 3rem;
  }
}
@media (max-width: 1023px) {
  [data-purchase-card="mobile"] {
    margin-bottom: 5.5rem;
  }
}

/* Cart action toggle — Tailwind .flex overrides the HTML [hidden] attribute */
[data-in-cart-actions].hidden,
[data-out-cart-actions].hidden {
  display: none !important;
}

/* Form controls */
.rjce-form input,
.rjce-form select,
.rjce-form textarea {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: .75rem;
  padding: .65rem .85rem;
  background: #f8fafc;
  font-weight: 600;
  font-size: .875rem;
}
.rjce-form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  margin-bottom: .35rem;
}

/* Faculty panel cards — scoped styles from the reference (styled-jsx) */
.faculty-card{-webkit-transition:-webkit-transform 250ms ease,box-shadow 250ms ease;-moz-transition:-moz-transform 250ms ease,box-shadow 250ms ease;-o-transition:-o-transform 250ms ease,box-shadow 250ms ease;transition:-webkit-transform 250ms ease,box-shadow 250ms ease;transition:-moz-transform 250ms ease,box-shadow 250ms ease;transition:-o-transform 250ms ease,box-shadow 250ms ease;transition:transform 250ms ease,box-shadow 250ms ease;-webkit-animation:facultyFloat 5s ease-in-out infinite;-moz-animation:facultyFloat 5s ease-in-out infinite;-o-animation:facultyFloat 5s ease-in-out infinite;animation:facultyFloat 5s ease-in-out infinite;will-change:transform}.faculty-card:nth-child(odd){-webkit-animation-duration:5.6s;-moz-animation-duration:5.6s;-o-animation-duration:5.6s;animation-duration:5.6s}.faculty-card:nth-child(even){-webkit-animation-duration:4.4s;-moz-animation-duration:4.4s;-o-animation-duration:4.4s;animation-duration:4.4s}.faculty-card:hover{-webkit-transform:translatey(-6px)scale(1.04);-moz-transform:translatey(-6px)scale(1.04);-ms-transform:translatey(-6px)scale(1.04);-o-transform:translatey(-6px)scale(1.04);transform:translatey(-6px)scale(1.04);-webkit-box-shadow:0 18px 40px rgba(15,23,42,.18);-moz-box-shadow:0 18px 40px rgba(15,23,42,.18);box-shadow:0 18px 40px rgba(15,23,42,.18)}.faculty-image{-webkit-transition:-webkit-transform 400ms ease,-webkit-filter 400ms ease;-moz-transition:-moz-transform 400ms ease,filter 400ms ease;-o-transition:-o-transform 400ms ease,filter 400ms ease;transition:-webkit-transform 400ms ease,-webkit-filter 400ms ease;transition:-moz-transform 400ms ease,filter 400ms ease;transition:-o-transform 400ms ease,filter 400ms ease;transition:transform 400ms ease,filter 400ms ease;-webkit-filter:grayscale(.25);filter:grayscale(.25)}.faculty-card:hover .faculty-image{-webkit-transform:scale(1.05);-moz-transform:scale(1.05);-ms-transform:scale(1.05);-o-transform:scale(1.05);transform:scale(1.05);-webkit-filter:grayscale(0);filter:grayscale(0)}@-webkit-keyframes facultyFloat{0%,100%{-webkit-transform:translatey(0);transform:translatey(0)}50%{-webkit-transform:translatey(-6px);transform:translatey(-6px)}}@-moz-keyframes facultyFloat{0%,100%{-moz-transform:translatey(0);transform:translatey(0)}50%{-moz-transform:translatey(-6px);transform:translatey(-6px)}}@-o-keyframes facultyFloat{0%,100%{-o-transform:translatey(0);transform:translatey(0)}50%{-o-transform:translatey(-6px);transform:translatey(-6px)}}@keyframes facultyFloat{0%,100%{-webkit-transform:translatey(0);-moz-transform:translatey(0);-o-transform:translatey(0);transform:translatey(0)}50%{-webkit-transform:translatey(-6px);-moz-transform:translatey(-6px);-o-transform:translatey(-6px);transform:translatey(-6px)}}

/* Home: sharp on Full HD / 4K screens without shipping 8K files */
#rjceHome {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
#rjceHome img,
#rjceHome .rjce-hd-photo {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  -ms-interpolation-mode: bicubic;
}
#rjceHome .rjce-hd-photo {
  object-fit: cover;
}
#rjceHome .faculty-image,
#rjceHome .faculty-card img {
  -webkit-filter: none !important;
  filter: none !important;
}
#rjceHome .faculty-card {
  -webkit-animation: none !important;
  animation: none !important;
  will-change: auto;
}

/* Home faculty — profile-style card, full width like courses/books */
#home-faculty .home-faculty-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}
#home-faculty .home-faculty-card__grid {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  #home-faculty .home-faculty-card__grid {
    grid-template-columns: 38% minmax(0, 1fr);
    align-items: stretch;
  }
}
@media (min-width: 1024px) {
  #home-faculty .home-faculty-card__grid {
    grid-template-columns: 36% minmax(0, 1fr);
  }
}
#home-faculty .home-faculty-card__photo {
  background: #071433;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  max-height: 280px;
}
@media (min-width: 768px) {
  #home-faculty .home-faculty-card__photo {
    aspect-ratio: auto;
    max-height: none;
    min-height: 100%;
  }
}
#home-faculty .home-faculty-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
@media (min-width: 768px) {
  #home-faculty .home-faculty-card__photo img {
    min-height: 340px;
  }
}
#home-faculty .home-faculty-card__body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
@media (min-width: 640px) {
  #home-faculty .home-faculty-card__body { padding: 1.75rem 2rem 2rem; }
}
@media (min-width: 768px) {
  #home-faculty .home-faculty-card__body { padding: 2rem 2.25rem; }
}
#home-faculty .home-faculty-card__name {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 800;
  color: #071433;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
@media (min-width: 640px) {
  #home-faculty .home-faculty-card__name { font-size: 1.625rem; }
}
@media (min-width: 768px) {
  #home-faculty .home-faculty-card__name { font-size: 1.875rem; }
}
#home-faculty .home-faculty-card__headline {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2563eb;
  line-height: 1.45;
}
@media (min-width: 640px) {
  #home-faculty .home-faculty-card__headline { font-size: 0.9375rem; }
}
#home-faculty .home-faculty-card__bio {
  margin: 0.875rem 0 0;
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.625;
}
#home-faculty .home-faculty-card__bio strong {
  color: #0f172a;
  font-weight: 700;
}
#home-faculty .home-faculty-card__stats {
  margin-top: 1.25rem;
  background: #f4f7fb;
  border-radius: 1rem;
  padding: 0.875rem 0.75rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  text-align: center;
}
@media (min-width: 640px) {
  #home-faculty .home-faculty-card__stats {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
  }
}
#home-faculty .home-faculty-card__stat-value {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #071433;
  line-height: 1.2;
}
@media (min-width: 640px) {
  #home-faculty .home-faculty-card__stat-value { font-size: 1.0625rem; }
}
#home-faculty .home-faculty-card__stat-label {
  margin-top: 0.125rem;
  font-size: 0.625rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.35;
}
@media (min-width: 640px) {
  #home-faculty .home-faculty-card__stat-label { font-size: 0.75rem; }
}
#home-faculty .home-faculty-card__cta {
  display: inline-flex;
  align-items: center;
  margin-top: 1.25rem;
  align-self: flex-start;
  background: #0a459a;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.625rem 1rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: background 0.2s ease;
}
#home-faculty .home-faculty-card__cta:hover {
  background: #073373;
}

/* ── Faculty profile slug page (/faculty/[slug]) ── */
#faculty-profile-page {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  background: #fff;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
}
#faculty-profile-page.fp-page--compact {
  background: #f8fafc;
}
#faculty-profile-page.fp-page--compact .fp-profile {
  margin-top: 0;
  padding: 1.25rem 0 1.5rem;
}
@media (min-width: 768px) {
  #faculty-profile-page.fp-page--compact .fp-profile { padding: 1.5rem 0 2rem; }
}
#faculty-profile-page.fp-page--compact .fp-card {
  padding: 1rem;
  box-shadow: 0 8px 30px rgba(7, 20, 51, 0.1);
}
@media (min-width: 640px) {
  #faculty-profile-page.fp-page--compact .fp-card { padding: 1.25rem 1.5rem; }
}
@media (min-width: 768px) {
  #faculty-profile-page.fp-page--compact .fp-card { padding: 1.5rem 2rem; }
}
#faculty-profile-page.fp-page--compact .fp-card__grid {
  gap: 1.25rem;
}
@media (min-width: 768px) {
  #faculty-profile-page.fp-page--compact .fp-card__grid {
    grid-template-columns: 34% minmax(0, 1fr);
    gap: 1.75rem;
    align-items: center;
  }
}
#faculty-profile-page.fp-page--compact .fp-photo {
  aspect-ratio: 3 / 4;
  max-height: 280px;
}
@media (min-width: 768px) {
  #faculty-profile-page.fp-page--compact .fp-photo {
    aspect-ratio: auto;
    max-height: 320px;
    height: 320px;
  }
}
#faculty-profile-page.fp-page--compact .fp-name {
  font-size: 1.375rem;
}
@media (min-width: 640px) {
  #faculty-profile-page.fp-page--compact .fp-name { font-size: 1.5rem; }
}
#faculty-profile-page.fp-page--compact .fp-headline {
  font-size: 0.8125rem;
  margin-top: 0.375rem;
}
#faculty-profile-page.fp-page--compact .fp-bio {
  font-size: 0.8125rem;
  margin-top: 0.625rem;
  line-height: 1.5;
}
#faculty-profile-page.fp-page--compact .fp-stats {
  margin-top: 1rem;
  padding: 0.75rem 0.5rem;
}

#faculty-profile-page .fp-container {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) {
  #faculty-profile-page .fp-container { padding: 0 1.5rem; }
}

/* Hero — matches Netlify: bg #071433, pt-12/16, pb-36/44 */
#faculty-profile-page .fp-hero {
  position: relative;
  background: #071433;
  padding: 3rem 0 9rem;
  overflow: hidden;
}
@media (min-width: 768px) {
  #faculty-profile-page .fp-hero {
    padding: 4rem 0 11rem;
  }
}
#faculty-profile-page .fp-hero__inner {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 640px) {
  #faculty-profile-page .fp-hero__inner { padding: 0 1.5rem; }
}
#faculty-profile-page .fp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(201, 162, 39, 0.7);
  background: #1a2744;
  padding: 0.375rem 1rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #f3e6b8;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
#faculty-profile-page .fp-hero__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 640px) {
  #faculty-profile-page .fp-hero__title { font-size: 1.875rem; }
}
@media (min-width: 768px) {
  #faculty-profile-page .fp-hero__title {
    font-size: 1.75rem;
    max-width: none;
    white-space: nowrap;
  }
}
@media (min-width: 1024px) {
  #faculty-profile-page .fp-hero__title { font-size: 2rem; }
}
#faculty-profile-page .fp-hero__subtitle {
  margin: 1rem auto 0;
  max-width: 42rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #cbd5e1;
  line-height: 1.5;
}
@media (min-width: 640px) {
  #faculty-profile-page .fp-hero__subtitle { font-size: 1rem; }
}
#faculty-profile-page .fp-hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  line-height: 0;
  pointer-events: none;
}
#faculty-profile-page .fp-hero__wave svg {
  display: block;
  width: 100%;
  height: 4rem;
}
@media (min-width: 768px) {
  #faculty-profile-page .fp-hero__wave svg { height: 6rem; }
}

/* Overlapping profile card — -mt-28 / -mt-36, max-w-5xl */
#faculty-profile-page .fp-profile {
  position: relative;
  z-index: 2;
  margin-top: -7rem;
  padding-bottom: 1.5rem;
  background: #fff;
}
@media (min-width: 768px) {
  #faculty-profile-page .fp-profile { margin-top: -9rem; }
}
#faculty-profile-page .fp-card {
  background: #fff;
  border-radius: 1.5rem;
  border: 1px solid #f1f5f9;
  box-shadow: 0 20px 50px rgba(7, 20, 51, 0.18);
  padding: 1.25rem;
  width: 100%;
}
@media (min-width: 640px) {
  #faculty-profile-page .fp-card { padding: 2rem; }
}
@media (min-width: 768px) {
  #faculty-profile-page .fp-card { padding: 2.5rem; }
}
#faculty-profile-page .fp-card__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}
@media (min-width: 640px) and (max-width: 767px) {
  #faculty-profile-page .fp-card__grid {
    grid-template-columns: 38% minmax(0, 1fr);
    gap: 1.5rem;
  }
}
@media (min-width: 768px) {
  #faculty-profile-page .fp-card__grid {
    grid-template-columns: 42% minmax(0, 1fr);
    gap: 2.5rem;
    align-items: stretch;
  }
}
#faculty-profile-page .fp-card__media {
  width: 100%;
  min-width: 0;
}
#faculty-profile-page .fp-photo {
  border-radius: 1rem;
  overflow: hidden;
  background: #071433;
  aspect-ratio: 4 / 5;
  width: 100%;
  height: auto;
}
@media (min-width: 768px) {
  #faculty-profile-page .fp-photo { aspect-ratio: 5 / 6; }
}
#faculty-profile-page .fp-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
#faculty-profile-page .fp-photo__fallback {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3.75rem;
  font-weight: 900;
}
#faculty-profile-page .fp-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  min-width: 0;
}
#faculty-profile-page .fp-name {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: #071433;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
@media (min-width: 640px) {
  #faculty-profile-page .fp-name { font-size: 1.875rem; }
}
#faculty-profile-page .fp-headline {
  margin: 0.5rem 0 0;
  font-size: 15px;
  font-weight: 600;
  color: #2563eb;
  line-height: 1.45;
}
@media (min-width: 640px) {
  #faculty-profile-page .fp-headline { font-size: 1rem; }
}
#faculty-profile-page .fp-bio {
  margin: 1rem 0 0;
  font-size: 15px;
  color: #475569;
  line-height: 1.625;
}
#faculty-profile-page .fp-bio strong {
  color: #0f172a;
  font-weight: 700;
}
#faculty-profile-page .fp-stats {
  margin-top: 1.5rem;
  background: #f4f7fb;
  border-radius: 1rem;
  padding: 1rem 0.75rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  text-align: center;
  width: 100%;
}
@media (min-width: 640px) {
  #faculty-profile-page .fp-stats {
    padding: 1rem 1.5rem;
    border-radius: 1rem;
  }
}
#faculty-profile-page .fp-stat__value {
  font-size: 1rem;
  font-weight: 800;
  color: #071433;
  line-height: 1.2;
}
@media (min-width: 640px) {
  #faculty-profile-page .fp-stat__value { font-size: 1.125rem; }
}
#faculty-profile-page .fp-stat__label {
  margin-top: 0.125rem;
  font-size: 10px;
  font-weight: 500;
  color: #64748b;
  line-height: 1.3;
}
@media (min-width: 640px) {
  #faculty-profile-page .fp-stat__label { font-size: 0.75rem; }
}

/* About + expertise */
#faculty-profile-page .fp-content {
  background: #fff;
  padding: 3rem 0 4rem;
}
@media (min-width: 768px) {
  #faculty-profile-page .fp-content { padding: 4rem 0; }
}
#faculty-profile-page .fp-section-title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 800;
  color: #0a2156;
  letter-spacing: -0.02em;
}
#faculty-profile-page .fp-section-title--gap {
  margin-top: 3.5rem;
}
#faculty-profile-page .fp-section-rule {
  width: 3.5rem;
  height: 3px;
  background: #2563eb;
  border-radius: 2px;
  margin: 0.5rem 0 1.5rem;
}
#faculty-profile-page .fp-panel {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
  padding: 1.5rem;
}
@media (min-width: 768px) {
  #faculty-profile-page .fp-panel { padding: 2rem; }
}
#faculty-profile-page .fp-para {
  margin: 0;
  font-size: 15px;
  color: #334155;
  line-height: 1.7;
}
#faculty-profile-page .fp-para--spaced { margin-top: 1rem; }
#faculty-profile-page .fp-para strong {
  color: #0f172a;
  font-weight: 700;
}
#faculty-profile-page .fp-callout {
  margin: 1.25rem 0;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  border-radius: 0.5rem;
  background: #eef4ff;
  border-left: 4px solid #2563eb;
  padding: 0.875rem 1rem;
  font-size: 14px;
  color: #334155;
  line-height: 1.625;
}
#faculty-profile-page .fp-callout-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: #2563eb;
  margin-top: 0.125rem;
}
#faculty-profile-page .fp-callout strong {
  color: #0f172a;
  font-weight: 700;
}
#faculty-profile-page .fp-expertise-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  #faculty-profile-page .fp-expertise-grid { grid-template-columns: 1fr 1fr; }
}
#faculty-profile-page .fp-expertise-card {
  border: 1px solid #e2e8f0;
  border-top: 4px solid #2563eb;
  border-radius: 0.75rem;
  background: #fff;
  padding: 1.5rem;
}
#faculty-profile-page .fp-expertise-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  background: #e8f0fe;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
#faculty-profile-page .fp-icon {
  width: 1.5rem;
  height: 1.5rem;
}
#faculty-profile-page .fp-expertise-title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #0a2156;
}
#faculty-profile-page .fp-expertise-body {
  margin: 0;
  font-size: 14px;
  color: #475569;
  line-height: 1.625;
}
#faculty-profile-page .fp-expertise-body strong {
  color: #0f172a;
  font-weight: 700;
}

/* Courses row */
#faculty-profile-page .fp-courses {
  background: #fff;
  padding: 0 0 3rem;
}
#faculty-profile-page .fp-courses-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}
@media (min-width: 768px) {
  #faculty-profile-page .fp-courses-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
#faculty-profile-page .fp-courses-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
}
#faculty-profile-page .fp-courses-explore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0749a2;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.625rem 1rem;
  border-radius: 0.75rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}
#faculty-profile-page .fp-courses-explore:hover {
  background: #052e6b;
}
#faculty-profile-page .fp-course-row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
#faculty-profile-page .fp-course-row::-webkit-scrollbar {
  display: none;
}
#faculty-profile-page .fp-course-card {
  flex: 0 0 14rem;
  width: 14rem;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.5rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease;
}
#faculty-profile-page .fp-course-card:hover {
  border-color: #2563eb;
}
#faculty-profile-page .fp-course-card__img {
  width: 100%;
  aspect-ratio: 1;
  background: #f8fafc;
  border-radius: 0.5rem;
  overflow: hidden;
  position: relative;
  margin-bottom: 0.5rem;
}
#faculty-profile-page .fp-course-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
#faculty-profile-page .fp-course-card__title {
  margin: 0;
  padding: 0 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
  min-height: 2.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#faculty-profile-page .fp-course-card__foot {
  margin-top: 0.5rem;
  padding: 0 0.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#faculty-profile-page .fp-course-card__price {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0a2156;
}
#faculty-profile-page .fp-course-card__btn {
  background: #0749a2;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
}

/* Course detail — content kit (reference course page layout) */
.rjce-course-kit {
  --primary-deep: #001f3f;
  --primary-blue: #003366;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --border-color: #e2e8f0;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  color: var(--text-dark);
  font-family: 'Public Sans', system-ui, sans-serif;
}
.rjce-course-kit .section-title {
  font-size: clamp(16px, 2.5vw, 19px);
  font-weight: 700;
  color: var(--primary-deep);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.rjce-course-kit .section-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 20px;
  background-color: var(--primary-blue);
  border-radius: 2px;
  flex-shrink: 0;
}
.rjce-course-kit .intro-text {
  font-size: clamp(13.5px, 1.8vw, 14.5px);
  color: #475569;
  margin: 0 0 24px;
  line-height: 1.65;
}
.rjce-course-kit .intro-text .highlight,
.rjce-course-kit .highlight {
  font-weight: 700;
  color: var(--primary-blue);
}
.rjce-course-kit .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.rjce-course-kit .stat-card {
  background: var(--bg-light);
  padding: 16px 14px;
  border-radius: var(--radius-md);
  border: 1px solid #ebf2fa;
  text-align: center;
}
.rjce-course-kit .stat-label {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  line-height: 1.3;
}
.rjce-course-kit .stat-value {
  font-size: clamp(14px, 2vw, 15.5px);
  font-weight: 700;
  color: #002b5c;
  margin-top: 6px;
  line-height: 1.4;
  word-break: break-word;
}
.rjce-course-kit .detail-box {
  background: #ffffff;
  border: 1px solid #e6f0fa;
  border-radius: var(--radius-md);
  padding: clamp(16px, 3vw, 20px);
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0, 51, 102, 0.01);
}
.rjce-course-kit .detail-box:last-child {
  margin-bottom: 0;
}
.rjce-course-kit .box-title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.rjce-course-kit .list-row {
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: clamp(13px, 1.8vw, 14px);
  color: #334155;
  line-height: 1.55;
}
.rjce-course-kit .list-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.rjce-course-kit .list-row:first-child {
  padding-top: 0;
}
.rjce-course-kit .list-row strong {
  color: var(--primary-deep);
}
.rjce-course-kit .list-sub {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.5;
}
.rjce-course-kit .icon {
  color: var(--primary-blue);
  font-size: 15px;
  min-width: 18px;
  text-align: center;
  flex-shrink: 0;
}
.rjce-course-kit .warning-text {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.5;
}
.rjce-course-kit .banner {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-deep) 100%);
  color: #fff;
  padding: clamp(16px, 3vw, 22px);
  border-radius: var(--radius-md);
  font-size: clamp(12.5px, 1.8vw, 13.5px);
  text-align: center;
  line-height: 1.65;
  font-weight: 500;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0, 31, 63, 0.15);
}

/* Course detail — highlight stats (Overview tab, reference: netlify course/6180) */
.rjce-course-stats {
  margin-bottom: 1.25rem;
}
.rjce-course-stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}
.rjce-stat-card {
  background: #f8fafc;
  padding: 16px 12px;
  border-radius: 10px;
  border: 1px solid #ebf2fa;
  text-align: center;
  min-width: 0;
}
.rjce-stat-label {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}
.rjce-stat-value {
  font-size: 14px;
  font-weight: 700;
  color: #002b5c;
  margin-top: 6px;
  line-height: 1.4;
  word-break: break-word;
}

/* Home — app download (reference: rishabhjain2026.netlify.app) */
.rjce-app-download {
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .rjce-app-download {
    padding: 5rem 0;
  }
}
.rjce-app-download__inner {
  padding-top: 0;
  padding-bottom: 0;
}
.rjce-app-download__layout {
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .rjce-app-download__layout {
    gap: 3.5rem;
  }
}
.rjce-app-download__copy {
  max-width: 36rem;
}
.rjce-app-download__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  margin-bottom: 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(10, 69, 154, 0.25);
  background: rgba(10, 69, 154, 0.08);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  color: #cbd5e1;
}
.rjce-app-download__title {
  margin: 0 0 1rem;
  font-size: 1.75rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
}
@media (min-width: 640px) {
  .rjce-app-download__title {
    font-size: 2rem;
  }
}
@media (min-width: 768px) {
  .rjce-app-download__title {
    font-size: 2.25rem;
  }
}
.rjce-app-download__desc {
  margin: 0 0 1.5rem;
  max-width: 32rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #94a3b8;
}
@media (min-width: 768px) {
  .rjce-app-download__desc {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }
}
.rjce-app-download__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
}
.rjce-app-download__tab {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: all 0.25s ease;
}
.rjce-app-download__tab:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.rjce-app-download__tab.is-active {
  background: #0a459a;
  border-color: #0a459a;
  color: #fff;
  box-shadow: 0 10px 25px rgba(10, 69, 154, 0.3);
}
.rjce-app-download__cta-wrap {
  margin-top: 0;
}
.rjce-app-download__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(to right, #0a459a, #073373);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 20px 25px rgba(10, 69, 154, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rjce-app-download__cta:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 30px rgba(10, 69, 154, 0.45);
  color: #fff;
}
.rjce-app-download__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .rjce-app-download__cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}
@media (min-width: 1024px) {
  .rjce-app-download__cards {
    width: auto;
    min-width: 28rem;
  }
}
.rjce-app-download__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 7.5rem;
  padding: 1rem 0.75rem;
  border-radius: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
  transition: all 0.25s ease;
}
.rjce-app-download__card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
}
.rjce-app-download__card.is-active {
  border-color: #0a459a;
  box-shadow: 0 12px 24px rgba(10, 69, 154, 0.2);
}
.rjce-app-download__card-dot {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #0a459a;
  box-shadow: 0 0 10px rgba(10, 69, 154, 0.5);
}
.rjce-app-download__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.625rem;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}
.rjce-app-download__card-name {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  color: #e2e8f0;
}
.rjce-app-download__card-rating {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.625rem;
  line-height: 1.3;
  color: #64748b;
}

/* Contact / franchise dark pages — utilities missing from reference.css build */
.from-\[\#071738\] {
  --tw-gradient-from: #071738 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(7 23 56 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.via-\[\#091b42\] {
  --tw-gradient-to: rgb(9 27 66 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #091b42 var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.to-\[\#06112a\] {
  --tw-gradient-to: #06112a var(--tw-gradient-to-position);
}
.bg-\[\#050f26\] { background-color: #050f26; }
.bg-amber-400\/10 { background-color: rgb(251 191 36 / 0.1); }
.bg-amber-500\/10 { background-color: rgb(245 158 11 / 0.1); }
.bg-amber-500\/5 { background-color: rgb(245 158 11 / 0.05); }
.bg-blue-600\/20 { background-color: rgb(37 99 235 / 0.2); }
.border-amber-400\/30 { border-color: rgb(251 191 36 / 0.3); }
.border-amber-400\/40 { border-color: rgb(251 191 36 / 0.4); }
.border-amber-500\/30 { border-color: rgb(245 158 11 / 0.3); }
.border-amber-500\/40 { border-color: rgb(245 158 11 / 0.4); }
.left-1\/2 { left: 50%; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.w-1\.5 { width: 0.375rem; }
.h-1\.5 { height: 0.375rem; }
.w-\[500px\] { width: 500px; }
.h-\[500px\] { height: 500px; }
.text-\[\#071738\] { color: #071738; }
.text-\[11px\] { font-size: 11px; line-height: 1.25rem; }
.text-rose-400 { color: #fb7185; }
.mt-0\.5 { margin-top: 0.125rem; }
.pt-0\.5 { padding-top: 0.125rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.space-y-0\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.125rem; }
.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:border-amber-500:focus { border-color: #f59e0b; }
.placeholder-slate-400::placeholder { color: #94a3b8; }
.hover\:brightness-110:hover { filter: brightness(1.1); }
.active\:scale-95:active { transform: scale(0.95); }
.disabled\:opacity-50:disabled { opacity: 0.5; }
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed; }
.hover\:shadow-xl:hover {
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
@media (min-width: 768px) {
  .md\:col-span-12 { grid-column: span 12 / span 12; }
}

/* Contact page — gradient hero title (reference parity) */
#contact-us-hero h1 {
  -webkit-text-fill-color: transparent;
}

/* Book detail cover + layout */
.rjce-book-cover-col {
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .rjce-book-cover-col {
    width: 240px;
    min-width: 200px;
    max-width: 260px;
    margin: 0;
  }
}
.rjce-book-cover {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
  background: #f8fafc;
  aspect-ratio: 3 / 4;
  width: 100%;
}
.rjce-book-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #fff;
}
.rjce-book-cover__fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: #0749A2;
  font-weight: 800;
  gap: 0.5rem;
}
.rjce-book-cover__fallback span:last-child {
  font-size: 12px;
  line-height: 1.35;
}
[data-page="book-detail"] [data-purchase-card] [hidden],
[data-page="book-detail"] [data-purchase-card] .hidden {
  display: none !important;
}
@media (max-width: 1023px) {
  [data-page="book-detail"] {
    padding-bottom: 104px;
  }
}
