/* 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 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; }

/* 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; }

/* 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.875rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  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: 2.25rem; }
}
@media (min-width: 768px) {
  #faculty-profile-page .fp-hero__title { font-size: 2.75rem; }
}
#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;
}
