/**
 * Courses – frontend styles
 * Inherits :root vars from landing.css
 */

/* ═════════════════════════════════════════════
   COURSE HERO (reuses .hero)
   ═════════════════════════════════════════════ */
.course-hero.hero {
  min-height: 360px;
  padding: 130px 0 48px;
}

.course-hero .hero-shell {
  align-items: center;
  min-height: 0;
}

.course-hero-title {
  max-width: 880px;
}

/* ── Light Hero Style (About Style) ── */
.hero--light {
  background:
    radial-gradient(1200px 600px at 100% 0%, rgba(47, 122, 226, 0.12), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--cream, #f8fbff) 100%) !important;
  padding: 40px 0 100px;
  min-height: auto;
}

.hero--light .hero-shell {
  min-height: auto;
  justify-content: center;
  align-items: center;
  padding-bottom: 0;
}

.hero--light .hero-copy {
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  justify-items: center; /* for grid centering */
}

.hero--light .hero-title {
  color: var(--ink-900, #101828);
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.1;
  font-weight: 700;
  max-width: 820px;
  margin: 10px 0 24px;
}

.hero--light .hero-title span {
  color: var(--sorig-primary, #0b56c7);
  display: block; /* Stack the highlighted part like the homepage style */
  margin-top: 5px;
}

.hero--light .hero-kicker {
  color: var(--sorig-primary, #0b56c7);
  font-weight: 800;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.hero--light .hero-lead {
  color: var(--ink-500, #64748b);
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}

/* Fix for potential overlap in title-unified animation on light backgrounds */
.hero--light .title-unified {
    animation-duration: 1200ms;
}

.single-course-hero {
  min-height: 360px;
}

.single-course-title {
  line-height: 1.12;
}

.course-hero-chips,
.single-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 8px;
}

.course-hero-chip,
.single-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.single-hero-chip i {
  color: var(--sorig-accent, #3f8cff);
}

.single-hero-chip--price {
  background: linear-gradient(135deg, var(--sorig-primary, #0b56c7), var(--sorig-secondary, #2f7ae2));
  border-color: transparent;
}

.single-hero-chip--price .course-price {
  color: #fff;
  font-weight: 800;
}

/* Breadcrumbs */
.course-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  font-weight: 500;
}

.course-breadcrumbs a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  transition: color .2s ease;
}

.course-breadcrumbs a:hover {
  color: var(--sorig-accent, #3f8cff);
}

.course-breadcrumbs .crumb-sep {
  opacity: 0.6;
}

.course-breadcrumbs .crumb-current {
  color: #fff;
  font-weight: 600;
}

/* ═════════════════════════════════════════════
   COURSE CARD (Style 1)
   ═════════════════════════════════════════════ */
.course-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow, 0 18px 50px rgba(15, 23, 42, .08));
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(16, 24, 40, .04);
}

.course-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-strong, 0 24px 80px rgba(15, 23, 42, .14));
}

.course-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #e9f2ff, #f8fbff);
}

.course-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.course-card:hover .course-card__media img {
  transform: scale(1.06);
}

.course-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(11, 86, 199, 0.2);
}

.course-cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, var(--sorig-primary, #0b56c7), var(--sorig-secondary, #2f7ae2));
  color: #fff !important;
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(11, 86, 199, 0.30);
  z-index: 2;
  text-decoration: none;
  white-space: nowrap;
  max-width: calc(100% - 80px);
  overflow: hidden;
  text-overflow: ellipsis;
}

.course-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
  color: #fff;
}

.course-badge--popular {
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.course-badge--featured {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.course-card__body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.course-card__title {
  font-family: var(--sorig-font-heading, 'Sora', sans-serif);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.01em;
}

.course-card__title a {
  color: var(--ink-900, #101828);
  text-decoration: none;
  transition: color .2s ease;
}

.course-card__title a:hover {
  color: var(--sorig-primary, #0b56c7);
}

.course-card__excerpt {
  color: var(--ink-500, #64748b);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

.course-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.course-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0f5ff;
  color: var(--sorig-primary, #0b56c7);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.course-meta-chip i {
  font-size: 0.8rem;
}

.course-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(16, 24, 40, .06);
  margin-top: 4px;
}

.course-price {
  font-family: var(--sorig-font-heading, 'Sora', sans-serif);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--sorig-primary, #0b56c7);
  letter-spacing: -0.02em;
}

.course-price--free {
  color: #10b981;
  background: #ecfdf5;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.course-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sorig-primary, #0b56c7);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: gap .25s ease;
}

.course-card__btn:hover {
  gap: 10px;
}

/* ─────────────────────────────────────────────
   SIDEBAR WIDGETS
   ───────────────────────────────────────────── */
.course-widget {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 20px;
  margin-bottom: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow, 0 4px 12px rgba(0, 0, 0, 0.08));
}

.course-widget:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong, 0 20px 40px rgba(0, 0, 0, 0.12));
}

.widget-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f5ff;
}

.widget-header i {
  font-size: 20px;
  color: var(--sorig-primary, #0b56c7);
  width: 28px;
  text-align: center;
}

.widget-header h4 {
  font-family: var(--sorig-font-heading, 'Sora', sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-900, #101828);
  margin: 0;
  letter-spacing: -0.01em;
}

.widget-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.widget-list-item {
  margin: 0;
}

.widget-item-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--ink-700, #334155);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.4;
  transition: color 0.2s ease;
  padding: 6px 8px;
  border-radius: 6px;
}

.widget-item-link:hover {
  color: var(--sorig-primary, #0b56c7);
  background: #f0f5ff;
}

.widget-item-date {
  font-size: 0.8rem;
  color: var(--ink-500, #64748b);
  font-weight: 600;
}

.widget-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sorig-primary, #0b56c7);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.widget-cta:hover {
  gap: 10px;
  color: var(--sorig-secondary, #2f7ae2);
}

.widget-cta i {
  font-size: 12px;
}

/* Contact widget */
.widget-contact-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ink-700, #334155);
}

.contact-item i {
  color: var(--sorig-primary, #0b56c7);
  width: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 14px;
}

.contact-item a {
  color: var(--ink-700, #334155);
  text-decoration: none;
  transition: color 0.2s ease;
  word-break: break-word;
}

.contact-item a:hover {
  color: var(--sorig-primary, #0b56c7);
}

/* Social widget */
.widget-social-body {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f0f5ff;
  color: var(--sorig-primary, #0b56c7);
  font-size: 18px;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.social-icon:hover {
  background: var(--sorig-primary, #0b56c7);
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(11, 86, 199, 0.3);
}

/* Widget color variants */
.course-widget--free .widget-header {
  border-bottom-color: #fef3c7;
}

.course-widget--free .widget-header i {
  color: #f59e0b;
}

.course-widget--events .widget-header {
  border-bottom-color: #dbeafe;
}

.course-widget--events .widget-header i {
  color: #3b82f6;
}

.course-widget--blog .widget-header {
  border-bottom-color: #e0e7ff;
}

.course-widget--blog .widget-header i {
  color: #6366f1;
}

.course-widget--contact .widget-header {
  border-bottom-color: #fee2e2;
}

.course-widget--contact .widget-header i {
  color: #ef4444;
}

.course-widget--social .widget-header {
  border-bottom-color: #d1d5db;
}

.course-widget--social .widget-header i {
  color: #6b7280;
}

@media (max-width: 720px) {
  .course-widget {
    padding: 16px;
    margin-bottom: 16px;
  }

  .widget-header h4 {
    font-size: 0.9rem;
  }

  .widget-item-link {
    font-size: 0.88rem;
  }

  .social-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}


width: 36px;
height: 36px;
font-size: 16px;
}
}

/* ═════════════════════════════════════════════
   ACCORDION STYLING (Career Paths, FAQ, Modules)
   ═════════════════════════════════════════════ */
.course-accordion,
.careers-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  background: white;
  transition: all 0.3s ease;
}

.accordion-item:hover {
  border-color: var(--sorig-primary, #0b56c7);
  box-shadow: 0 4px 16px rgba(11, 86, 199, 0.1);
}

.accordion-item[open] {
  box-shadow: 0 8px 24px rgba(11, 86, 199, 0.15);
}

.accordion-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  background: white;
  border: none;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink-900, #101828);
  list-style: none;
  transition: background 0.2s ease;
}

.accordion-head::-webkit-details-marker {
  display: none;
}

.accordion-item[open]>.accordion-head {
  background: #f8fafc;
  color: var(--sorig-primary, #0b56c7);
}

.accordion-head:hover {
  background: #f0f5ff;
}

.accordion-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(11, 86, 199, 0.1);
  color: var(--sorig-primary, #0b56c7);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.accordion-title {
  flex: 1;
  text-align: left;
}

.accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #f0f5ff;
  color: var(--sorig-primary, #0b56c7);
  font-size: 12px;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item[open] .accordion-toggle {
  background: rgba(11, 86, 199, 0.1);
  transform: rotate(180deg);
}

.accordion-body {
  padding: 18px 20px;
  background: #fafbfc;
  border-top: 1px solid #e5e7eb;
  color: var(--ink-700, #334155);
  line-height: 1.7;
  animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.accordion-body p {
  margin: 0 0 12px;
  font-size: 0.98rem;
}

.accordion-body p:last-child {
  margin-bottom: 0;
}

/* Career-specific accordion */
.career-head {
  gap: 16px;
}

.career-summary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(11, 86, 199, 0.08);
  color: var(--sorig-primary, #0b56c7);
  font-size: 18px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.accordion-item[open] .career-summary-icon {
  background: rgba(11, 86, 199, 0.15);
  transform: scale(1.1);
}

.career-summary-title {
  font-family: var(--sorig-font-heading, 'Sora', sans-serif);
  font-size: 1.05rem;
  font-weight: 600;
}

.career-body {
  padding: 20px;
  background: white;
  border-top-color: #f0f5ff;
}

.career-body p {
  margin-bottom: 16px;
  font-size: 0.99rem;
  line-height: 1.7;
}

.career-body .btn {
  margin-top: 8px;
}

@media (max-width: 720px) {
  .accordion-head {
    padding: 14px 16px;
    gap: 10px;
    font-size: 0.95rem;
  }

  .accordion-num {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  .career-summary-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .accordion-body {
    padding: 14px 16px;
  }

  .career-body {
    padding: 16px;
  }
}

@media (max-width: 720px) {
  .course-widget {
    padding: 16px;
    margin-bottom: 16px;
  }

  .widget-header h4 {
    font-size: 0.9rem;
  }

  .widget-item-link {
    font-size: 0.88rem;
  }

  .social-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

/* ═════════════════════════════════════════════
   CTA SECTION (Site-wide Call-to-Action)
   ═════════════════════════════════════════════ */
.cta-section {
  position: relative;
  min-height: 360px;
  background-color: #0a1628;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 80px 0 0;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.85) 0%, rgba(11, 86, 199, 0.75) 100%);
  z-index: 1;
}

.cta-container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 40px;
  color: white;
  animation: fadeInUp 0.8s ease forwards;
}

.cta-title {
  font-family: var(--sorig-font-heading, 'Sora', sans-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  color: white;
}

.cta-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.6;
  margin: 0 0 40px;
  opacity: 0.95;
  color: rgba(255, 255, 255, 0.9);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.cta-btn-primary,
.cta-btn-secondary {
  min-width: 200px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cta-btn-primary {
  background: white;
  color: var(--sorig-primary, #0b56c7);
  box-shadow: 0 8px 24px rgba(11, 86, 199, 0.3);
}

.cta-btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(11, 86, 199, 0.4);
}

.cta-btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.cta-btn-secondary:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.cta-btn-primary i,
.cta-btn-secondary i {
  font-size: 14px;
}

@media (max-width: 768px) {
  .cta-section {
    min-height: 300px;
    background-attachment: scroll;
    margin: 60px 0 0;
  }

  .cta-content {
    padding: 40px 20px;
  }

  .cta-title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    margin-bottom: 12px;
  }

  .cta-subtitle {
    margin-bottom: 28px;
    font-size: 0.95rem;
  }

  .cta-actions {
    gap: 12px;
    flex-direction: column;
  }

  .cta-btn-primary,
  .cta-btn-secondary {
    min-width: 160px;
    width: 100%;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .cta-section {
    min-height: 280px;
    margin: 40px 0 0;
  }

  .cta-content {
    padding: 30px 16px;
  }

  .cta-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }

  .cta-subtitle {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
}

.courses-archive-intro {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.courses-archive-intro .section-kicker {
  margin-bottom: 10px;
}

.courses-archive-intro .courses-archive-title {
  font-family: var(--sorig-font-heading, 'Sora', sans-serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--ink-900, #101828);
}

.courses-archive-intro .courses-archive-lead {
  color: var(--ink-500, #64748b);
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0;
}

.courses-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding: 18px 22px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(16, 24, 40, .04);
}

.courses-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.courses-tab {
  background: transparent;
  border: 0;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-500, #64748b);
  border-radius: 999px;
  cursor: pointer;
  transition: all .25s ease;
  position: relative;
}

.courses-tab:hover {
  color: var(--sorig-primary, #0b56c7);
  background: #f0f5ff;
}

.courses-tab.is-active {
  background: linear-gradient(135deg, var(--sorig-primary, #0b56c7), var(--sorig-secondary, #2f7ae2));
  color: #fff;
  box-shadow: 0 8px 22px rgba(11, 86, 199, 0.28);
}

.courses-toolbar-right {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.courses-search {
  position: relative;
}

.courses-search i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-500, #64748b);
}

.courses-search input {
  padding: 10px 16px 10px 42px;
  border: 1px solid rgba(16, 24, 40, .1);
  border-radius: 999px;
  background: #f8fafc;
  font-size: 0.92rem;
  min-width: 240px;
  transition: all .25s ease;
}

.courses-search input:focus {
  outline: none;
  background: #fff;
  border-color: var(--sorig-primary, #0b56c7);
  box-shadow: 0 0 0 4px rgba(11, 86, 199, 0.12);
}

.courses-view-toggle {
  display: flex;
  gap: 4px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 999px;
}

.view-btn {
  background: transparent;
  border: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--ink-500, #64748b);
  cursor: pointer;
  transition: all .25s ease;
}

.view-btn:hover {
  color: var(--sorig-primary, #0b56c7);
}

.view-btn.is-active {
  background: #fff;
  color: var(--sorig-primary, #0b56c7);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ═════════════════════════════════════════════
   GRID & LIST
   ═════════════════════════════════════════════ */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.courses-grid[data-view="list"] {
  grid-template-columns: 1fr;
  gap: 16px;
}

.courses-grid[data-view="list"] .course-card {
  flex-direction: row;
  max-height: none;
  border-radius: 14px;
}

.courses-grid[data-view="list"] .course-card__media {
  flex: 0 0 260px;
  width: 260px;
  aspect-ratio: auto;
  align-self: stretch;
  min-height: 180px;
  height: auto;
}

.courses-grid[data-view="list"] .course-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.courses-grid[data-view="list"] .course-card__body {
  flex: 1;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.courses-grid[data-view="list"] .course-card__meta {
  margin-top: 0;
}

.courses-grid[data-view="list"] .course-card__foot {
  margin-top: auto;
}

/* ── Collapse list view to vertical stack on mobile ── */
@media (max-width: 640px) {
  .courses-grid[data-view="list"] .course-card {
    flex-direction: column;
  }

  .courses-grid[data-view="list"] .course-card__media {
    flex: 0 0 auto;
    width: 100%;
    height: 200px;
    min-height: 0;
  }

  .courses-grid[data-view="list"] .course-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .courses-grid[data-view="list"] .course-card__body {
    padding: 18px 20px;
  }
}

.course-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-500, #64748b);
  font-size: 1.05rem;
}

.courses-load-more-wrap {
  text-align: center;
  margin-top: 48px;
}

/* ═════════════════════════════════════════════
   TAXONOMY LAYOUT (sidebar + main)
   ═════════════════════════════════════════════ */
.courses-tax-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: flex-start;
}

.courses-sidebar {
  position: sticky;
  top: 100px;
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(16, 24, 40, .04);
}

.courses-sidebar__title {
  font-family: var(--sorig-font-heading, 'Sora', sans-serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 16px;
}

.courses-filter-group {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(16, 24, 40, .06);
}

.courses-filter-group:last-of-type {
  border-bottom: 0;
}

.courses-filter-group h4 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500, #64748b);
  margin: 0 0 10px;
}

.courses-filter-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.92rem;
  color: var(--ink-700, #334155);
  cursor: pointer;
}

.courses-sidebar-reset {
  width: 100%;
  margin-top: 6px;
}

@media (max-width: 900px) {
  .courses-tax-layout {
    grid-template-columns: 1fr;
  }

  .courses-sidebar {
    position: static;
  }
}

/* ═════════════════════════════════════════════
   QUICK INFO BAR (single)
   ═════════════════════════════════════════════ */
.course-quickbar-wrap {
  position: relative;
  z-index: 6;
  margin-top: -60px;
}

.course-quickbar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: var(--shadow-strong, 0 24px 80px rgba(15, 23, 42, .14));
}

.qb-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.qb-item>i {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sorig-primary, #0b56c7), var(--sorig-secondary, #2f7ae2));
  color: #fff;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(11, 86, 199, 0.25);
}

.qb-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500, #64748b);
}

.qb-item strong {
  font-family: var(--sorig-font-heading, 'Sora', sans-serif);
  font-size: 0.98rem;
  color: var(--ink-900, #101828);
  font-weight: 700;
}

/* ── Premium all-in-one Quickbar (with Price + Enrol CTA) ── */
.course-quickbar.course-quickbar--pro {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)) auto;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 5px;
  box-shadow: 0 24px 60px rgba(11, 86, 199, 0.12);
}

.course-quickbar--pro .qb-item {
  gap: 12px;
  padding: 6px 0;
  min-width: 0;
}

.course-quickbar--pro .qb-icon {
  width: 42px;
  height: 42px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--sorig-primary, #0b56c7), var(--sorig-secondary, #2f7ae2));
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 6px 14px rgba(11, 86, 199, 0.25);
}

.course-quickbar--pro .qb-icon i,
.course-quickbar--pro .qb-icon .fas,
.course-quickbar--pro .qb-icon .far,
.course-quickbar--pro .qb-icon .fa-solid,
.course-quickbar--pro .qb-icon .fa-regular {
  color: #fff !important;
  line-height: 1;
}

.course-quickbar--pro .qb-item--price {
  background: linear-gradient(135deg, rgba(11, 86, 199, 0.08), rgba(47, 122, 226, 0.08));
  padding: 10px 14px;
  border-radius: 5px;
  border: 1px dashed rgba(11, 86, 199, 0.2);
}

.course-quickbar--pro .qb-item--price .qb-icon {
  background: linear-gradient(135deg, var(--sorig-primary, #0b56c7), var(--sorig-secondary, #2f7ae2));
  color: #fff;
}

.course-quickbar--pro .qb-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

.course-quickbar--pro .qb-val {
  font-family: var(--sorig-font-heading, 'Sora', sans-serif);
  font-size: 1rem;
  color: #0f172a;
  font-weight: 700;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.course-quickbar--pro .qb-price {
  color: var(--sorig-primary, #0b56c7);
  font-size: 1.25rem;
}

.course-quickbar--pro .qb-cta {
  display: flex;
  justify-content: flex-end;
}

.course-quickbar--pro .btn-qb {
  padding: 14px 24px;
  border-radius: 5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(11, 86, 199, 0.28);
}

.course-quickbar--pro .btn-qb i {
  margin-right: 6px;
}

@media (max-width: 1100px) {
  .course-quickbar.course-quickbar--pro {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .course-quickbar--pro .qb-cta {
    grid-column: 1 / -1;
  }

  .course-quickbar--pro .btn-qb {
    width: 100%;
    justify-content: center;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .course-quickbar.course-quickbar--pro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px;
    gap: 12px;
  }

  .course-quickbar--pro .qb-item--price {
    grid-column: 1 / -1;
  }

  .course-quickbar--pro .qb-icon {
    width: 38px;
    height: 38px;
  }

  .course-quickbar--pro .qb-val {
    font-size: 0.95rem;
  }

  .course-quickbar--pro .qb-price {
    font-size: 1.1rem;
  }
}

/* ═════════════════════════════════════════════
   SINGLE COURSE LAYOUT
   ═════════════════════════════════════════════ */
.single-course-section {
  padding-top: 50px;
}

.single-course-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 50px;
  align-items: flex-start;
}

.single-course-main {
  min-width: 0;
}

.course-block {
  background: #fff;
  padding: 42px 44px;
  border-radius: 0;
  box-shadow: none;
  border: none;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 0;
}

.course-block:last-child {
  border-bottom: none;
}

.course-block .section-kicker {
  margin-bottom: 10px;
}

.course-block__title {
  font-family: var(--sorig-font-heading, 'Sora', sans-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  line-height: 1.2;
}

.course-block__content {
  color: var(--ink-700, #334155);
  line-height: 1.75;
  font-size: 1.02rem;
}

.course-block__content p {
  margin: 0 0 16px;
}

.course-block__content h3 {
  font-family: var(--sorig-font-heading);
  margin: 26px 0 12px;
  font-size: 1.2rem;
}

.course-block__content ul {
  padding-left: 20px;
  list-style: disc;
}

.course-block__content ul li {
  margin-bottom: 8px;
}

/* Learning outcomes grid */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.outcome-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  background: linear-gradient(135deg, #f0f5ff, #f8fbff);
  border-radius: 14px;
  border: 1px solid rgba(11, 86, 199, 0.08);
  transition: transform .3s ease, box-shadow .3s ease;
}

.outcome-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(11, 86, 199, 0.12);
}

.outcome-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--sorig-primary, #0b56c7), var(--sorig-secondary, #2f7ae2));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
}

.outcome-icon i,
.outcome-icon .fas,
.outcome-icon .far,
.outcome-icon .fa-solid,
.outcome-icon .fa-regular {
  font-size: 18px;
  line-height: 1;
  color: #fff !important;
}

.outcome-item p {
  margin: 0;
  color: var(--ink-700);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Accordion */
.course-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background: #f8fafc;
  border: 1px solid rgba(16, 24, 40, .06);
  border-radius: 14px;
  overflow: hidden;
  transition: all .3s ease;
}

.accordion-item[open] {
  background: #fff;
  border-color: rgba(11, 86, 199, 0.25);
  box-shadow: 0 8px 24px rgba(11, 86, 199, 0.1);
}

.accordion-item summary.accordion-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--sorig-primary, #0b56c7), var(--sorig-secondary, #2f7ae2)) !important;
  color: #fff !important;
  font-family: var(--sorig-font-heading, 'Sora', sans-serif);
  font-weight: 800;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.accordion-title {
  flex: 1;
  font-family: var(--sorig-font-heading, 'Sora', sans-serif);
  font-weight: 700;
  color: var(--ink-900, #101828);
  font-size: 1.02rem;
}

.accordion-toggle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0f5ff;
  color: var(--sorig-primary, #0b56c7);
  display: grid;
  place-items: center;
  transition: transform .3s ease, background .3s ease;
}

.accordion-item[open] .accordion-toggle {
  transform: rotate(45deg);
  background: var(--sorig-primary, #0b56c7);
  color: #fff;
}

.accordion-body {
  padding: 4px 22px 22px 74px;
  color: var(--ink-700, #334155);
  line-height: 1.7;
  font-size: 0.95rem;
}

.accordion-item:not([open]) .accordion-body {
  display: none;
}

/* Careers grid */
.careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.career-card {
  background: #fff;
  padding: 26px 22px;
  border-radius: 16px;
  border: 1px solid rgba(16, 24, 40, .06);
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.career-card:hover {
  transform: translateY(-6px);
  border-color: rgba(11, 86, 199, 0.2);
  box-shadow: 0 16px 40px rgba(11, 86, 199, 0.12);
}

.career-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--sorig-primary, #0b56c7), var(--sorig-secondary, #2f7ae2));
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 10px 28px rgba(11, 86, 199, 0.25);
}

.career-card h3 {
  font-family: var(--sorig-font-heading, 'Sora', sans-serif);
  font-size: 1.05rem;
  margin: 0 0 8px;
  color: var(--ink-900);
}

.career-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-500);
  line-height: 1.55;
}

/* Check lists */
.course-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.course-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: #f8fafc;
  border-radius: 12px;
  border-left: 3px solid var(--sorig-primary, #0b56c7);
  font-size: 0.95rem;
  color: var(--ink-700);
}

.course-check-list i {
  color: var(--sorig-primary, #0b56c7);
  font-size: 1.05rem;
  margin-top: 2px;
}

/* Gallery */
.course-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.course-gallery__item {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  transition: transform .3s ease;
}

.course-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.course-gallery__item:hover {
  transform: translateY(-4px);
}

.course-gallery__item:hover img {
  transform: scale(1.1);
}

/* Enroll block */
.course-block--enroll {
  background: linear-gradient(135deg, #f0f5ff 0%, #e9f2ff 100%);
  border: 1px solid rgba(11, 86, 199, 0.15);
}

.course-enroll-fallback {
  text-align: center;
  padding: 24px;
  color: var(--ink-500);
}

/* ═════════════════════════════════════════════
   SIDEBAR
   ═════════════════════════════════════════════ */
.single-course-side {
  position: sticky;
  top: 100px;
}

.course-side-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(16, 24, 40, .04);
}

.course-side-price {
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(16, 24, 40, .06);
}

.course-side-price .course-price {
  font-size: 2.4rem;
}

.course-side-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.course-side-meta li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(16, 24, 40, .08);
  font-size: 0.93rem;
}

.course-side-meta li:last-child {
  border-bottom: 0;
}

.course-side-meta i {
  color: var(--sorig-primary, #0b56c7);
  font-size: 1rem;
}

.course-side-meta span {
  color: var(--ink-500, #64748b);
}

.course-side-meta strong {
  color: var(--ink-900, #101828);
  font-weight: 700;
}

.course-side-cta {
  width: 100%;
  justify-content: center;
  text-align: center;
  margin-bottom: 8px;
}

.course-side-cta-alt {
  width: 100%;
  justify-content: center;
  text-align: center;
}

@media (max-width: 960px) {
  .single-course-layout {
    grid-template-columns: 1fr;
  }

  .single-course-side {
    position: static;
    margin-top: 20px;
  }
}

/* ═════════════════════════════════════════════
   RELATED COURSES SLIDER
   ═════════════════════════════════════════════ */
.related-courses-section {
  padding: 80px 0;
}

.related-courses-head {
  text-align: center;
  margin-bottom: 40px;
}

.related-courses-slider {
  position: relative;
}

.related-courses-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.related-courses-track::-webkit-scrollbar {
  height: 6px;
}

.related-courses-track::-webkit-scrollbar-thumb {
  background: rgba(11, 86, 199, 0.25);
  border-radius: 10px;
}

.related-course-item {
  flex: 0 0 calc(33.333% - 16px);
  scroll-snap-align: start;
  min-width: 260px;
}

@media (max-width: 900px) {
  .related-course-item {
    flex-basis: calc(50% - 12px);
  }
}

@media (max-width: 600px) {
  .related-course-item {
    flex-basis: 85%;
  }
}

.slider-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  color: var(--sorig-primary, #0b56c7);
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
  transition: all .25s ease;
}

.slider-arrow:hover {
  background: var(--sorig-primary, #0b56c7);
  color: #fff;
}

.slider-arrow--prev {
  left: -20px;
}

.slider-arrow--next {
  right: -20px;
}

@media (max-width: 900px) {
  .slider-arrow--prev {
    left: 4px;
  }

  .slider-arrow--next {
    right: 4px;
  }
}

/* ═════════════════════════════════════════════
   ENROLL MODAL
   ═════════════════════════════════════════════ */
.enroll-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.enroll-modal.is-open {
  display: flex;
  animation: modal-fade .3s ease;
}

@keyframes modal-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.enroll-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.enroll-modal__dialog {
  position: relative;
  background: #fff;
  border-radius: 22px;
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 36px 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  animation: modal-slide .35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modal-slide {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: none;
    opacity: 1;
  }
}

.enroll-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: #f0f5ff;
  color: var(--sorig-primary, #0b56c7);
  border: 0;
  width: 40px;
  height: 40px;
  font-size: 1.4rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: all .2s ease;
}

.enroll-modal__close:hover {
  background: var(--sorig-primary, #0b56c7);
  color: #fff;
  transform: rotate(90deg);
}

.enroll-modal__head {
  margin-bottom: 22px;
  padding-right: 40px;
}

.enroll-modal__title {
  font-family: var(--sorig-font-heading, 'Sora', sans-serif);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 8px 0 8px;
  line-height: 1.25;
}

.enroll-modal__lead {
  color: var(--ink-500);
  margin: 0;
  font-size: 0.95rem;
}

.enroll-modal__notice {
  padding: 20px;
  background: #fff3cd;
  color: #856404;
  border-radius: 12px;
  text-align: center;
}

/* CF7 form styling inside modal */
.enroll-modal__body .wpcf7-form-control,
.course-enroll-form .wpcf7-form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(16, 24, 40, 0.12);
  border-radius: 12px;
  font-size: 0.95rem;
  background: #f8fafc;
  transition: all .2s ease;
  font-family: inherit;
}

.enroll-modal__body input[type="submit"],
.course-enroll-form input[type="submit"] {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--sorig-primary, #0b56c7), var(--sorig-secondary, #2f7ae2));
  color: #fff;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 10px 26px rgba(11, 86, 199, 0.28);
}

.enroll-modal__body input[type="submit"]:hover,
.course-enroll-form input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(11, 86, 199, 0.38);
}

.enroll-modal__body .wpcf7-form-control:focus,
.course-enroll-form .wpcf7-form-control:focus {
  outline: none;
  background: #fff;
  border-color: var(--sorig-primary, #0b56c7);
  box-shadow: 0 0 0 4px rgba(11, 86, 199, 0.12);
}

.enroll-modal__body p,
.course-enroll-form p {
  margin: 0 0 14px;
}

.enroll-modal__body label,
.course-enroll-form label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--ink-700);
}

body.modal-open {
  overflow: hidden;
}

/* ═════════════════════════════════════════════
   MOBILE STICKY ENROLL BAR
   ═════════════════════════════════════════════ */
.mobile-enroll-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: #fff;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.12);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transform: translateY(100%);
  transition: transform .35s ease;
}

.mobile-enroll-bar.is-visible {
  transform: none;
}

.mobile-enroll-price {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--sorig-primary, #0b56c7);
}

.mobile-enroll-bar .btn {
  flex: 1;
  justify-content: center;
  text-align: center;
}

@media (max-width: 768px) {
  .mobile-enroll-bar {
    display: flex;
  }

  body.single-course {
    padding-bottom: 80px;
  }
}

/* ═════════════════════════════════════════════
   FEATURED COURSES (home)
   ═════════════════════════════════════════════ */
.featured-courses-section {
  background: linear-gradient(180deg, #ffffff 0%, #f0f5ff 100%);
  position: relative;
  overflow: hidden;
}

.featured-courses-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 122, 226, 0.14) 0%, rgba(47, 122, 226, 0) 72%);
  pointer-events: none;
}

.featured-courses-section::after {
  content: '';
  position: absolute;
  bottom: -180px;
  left: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 86, 199, 0.1) 0%, rgba(11, 86, 199, 0) 74%);
  pointer-events: none;
}

.featured-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
  position: relative;
  z-index: 2;
}

.featured-head .section-kicker {
  margin-bottom: 14px;
}

.featured-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.featured-title-big {
  background: linear-gradient(135deg, var(--sorig-primary, #0b56c7), var(--sorig-secondary, #2f7ae2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.featured-lead {
  color: var(--ink-500, #64748b);
  font-size: 1.08rem;
  margin-top: 16px;
  line-height: 1.65;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  position: relative;
  z-index: 2;
}

.featured-cta {
  text-align: center;
  margin-top: 48px;
  position: relative;
  z-index: 2;
}

/* ═════════════════════════════════════════════
   RESPONSIVE
   ═════════════════════════════════════════════ */
@media (max-width: 768px) {
  .course-block {
    padding: 28px 22px;
  }

  .course-quickbar {
    padding: 18px;
  }

  .accordion-body {
    padding-left: 22px;
  }

  .courses-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .courses-search input {
    width: 100%;
    min-width: 0;
  }
}


/* ═════════════════════════════════════════════
   V7 — Single Course Hero Restructure
   ═════════════════════════════════════════════ */
/* Title: match container content width, 2-line clamp */
.single-course-title {
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

/* v11 — Single course hero (clears fixed header ~96px, with extra height) */
.course-hero.hero.single-course-hero {
  /* Defaults — Customizer will override via inline CSS */
  min-height: 520px;
  padding: 140px 0 72px;
  margin-top: 0;
}

.single-course-hero .hero-slides,
.single-course-hero .hero-slide {
  inset: 0;
}

.single-course-hero .hero-slide {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  transform: none !important;
  opacity: 1 !important;
}

@media (max-width: 768px) {
  .course-hero.hero.single-course-hero {
    min-height: 420px;
    padding: 120px 0 48px;
  }
}

@media (max-width: 640px) {
  .course-hero.hero.single-course-hero {
    padding: 110px 0 36px;
    min-height: 380px;
  }

  .single-course-title {
    line-height: 1.2;
    -webkit-line-clamp: 3;
  }

  .single-course-hero .course-breadcrumbs {
    font-size: 0.78rem;
    gap: 6px;
    margin-bottom: 10px;
  }

  .single-course-hero .single-hero-chips {
    gap: 6px;
    margin: 16px 0 16px;
  }

  .single-course-hero .single-hero-chip,
  .single-course-hero .single-hero-chip--price {
    padding: 7px 12px;
    font-size: 0.82rem;
  }
}

/* v13 — Fix hidden Font Awesome icons in Quickbar (force explicit FA weight) */
.course-quickbar--pro .qb-icon i,
.course-quickbar--pro .qb-icon .fas,
.course-quickbar--pro .qb-icon .far,
.course-quickbar--pro .qb-icon .fa-solid,
.course-quickbar--pro .qb-icon .fa-regular {
  font-family: "Font Awesome 6 Free", "FontAwesome" !important;
  font-weight: 900;
  font-style: normal;
  font-size: 18px;
  line-height: 1;
  display: inline-block;
}

.course-quickbar--pro .qb-icon .far,
.course-quickbar--pro .qb-icon .fa-regular {
  font-weight: 400;
}

.course-quickbar--pro .qb-icon {
  font-size: 18px;
  line-height: 1;
}

/* v14 — Force FA icon rendering on dark gradient badges (outcomes, modules, careers, quickbar) */
.outcome-icon i,
.accordion-num i,
.career-icon i,
.career-summary-icon i,
.course-quickbar--pro .qb-icon i {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
  font-weight: 900;
  font-style: normal;
  line-height: 1;
  display: inline-block;
  color: #fff;
  text-shadow: none;
  filter: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  font-size: 18px;
}

.outcome-icon .far,
.outcome-icon .fa-regular,
.accordion-num .far,
.accordion-num .fa-regular,
.career-icon .far,
.career-icon .fa-regular {
  font-weight: 400;
}

/* Remove any legacy filters/shadows that were washing icons out */
.outcome-icon,
.accordion-num,
.career-icon,
.career-summary-icon {
  filter: none !important;
  -webkit-filter: none !important;
  isolation: isolate;
}

/* v14 — Sidebar "Explore More / Useful links" icons: keep them readable on the light pill background.
   Previously the v13 rule forced color:#fff, which made icons disappear against the near-transparent bg. */
.side-explore-btn__icon {
  background: linear-gradient(135deg, rgba(11, 86, 199, 0.14), rgba(47, 122, 226, 0.14)) !important;
  color: var(--sorig-primary, #0b56c7) !important;
}

.side-explore-btn__icon i {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
  font-weight: 900;
  font-style: normal;
  font-size: 16px;
  line-height: 1;
  display: inline-block;
  color: var(--sorig-primary, #0b56c7) !important;
}

.side-explore-btn:hover .side-explore-btn__icon {
  background: linear-gradient(135deg, var(--sorig-primary, #0b56c7), var(--sorig-secondary, #2f7ae2)) !important;
  color: #fff !important;
}

.side-explore-btn:hover .side-explore-btn__icon i {
  color: #fff !important;
}

.side-explore-btn__arrow i {
  font-family: "Font Awesome 6 Free", "FontAwesome" !important;
  font-weight: 900;
  font-style: normal;
  line-height: 1;
  display: inline-block;
}

/* v13 — Tight header→hero gap: top-align hero content */
.single-course-hero .hero-shell {
  align-items: flex-start !important;
  padding-top: 0;
}

.single-course-hero .course-breadcrumbs {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}

.single-course-hero .hero-kicker.kicker-slide {
  margin-bottom: 6px;
}

.single-course-hero .hero-title.single-course-title {
  margin: 2px 0 10px;
}

.single-course-hero .hero-lead.lead-fade {
  margin-top: 0;
}

/* Remove border radius from hero + quickbar */
.course-hero,
.course-hero.hero,
.single-course-hero {
  border-radius: 0 !important;
}

.course-quickbar {
  border-radius: 5px;
}

/* v9 — 2-col sidebar layout */
.single-course-layout {
  grid-template-columns: minmax(0, 1fr) 340px !important;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  gap: 40px;
}

@media (max-width: 1024px) {
  .single-course-layout {
    grid-template-columns: 1fr !important;
  }
}

/* v11 — Hero chips: 5px radius */
.single-course-hero .single-hero-chips {
  margin: 22px 0 22px;
}

.single-course-hero .single-hero-chip {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 5px !important;
  color: #fff;
  padding: 10px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.single-course-hero .single-hero-chip i {
  color: #fff;
}

.single-course-hero .single-hero-chip--price {
  background: var(--sorig-primary, #0b56c7);
  border-color: transparent;
  border-radius: 5px !important;
  padding: 10px 22px;
  font-size: 1rem;
}

.single-course-hero .single-hero-chip--price .course-price {
  color: #ffffff !important;
  font-weight: 800;
}

/* Hero action buttons */
.single-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

.single-hero-actions .btn-lg {
  padding: 14px 28px;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: 5px;
}

.single-hero-actions .btn-ghost-light {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.single-hero-actions .btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

@media (max-width: 640px) {
  .single-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .single-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* v11 — Sidebar cards (5px radius, premium shadow) */
.single-course-side {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 1024px) {
  .single-course-side {
    position: static;
  }
}

.side-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 5px !important;
  padding: 26px 24px;
  box-shadow: 0 14px 40px rgba(11, 86, 199, 0.10), 0 4px 10px rgba(15, 23, 42, 0.05);
}

.side-card__kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sorig-primary, #0b56c7);
  margin-bottom: 10px;
}

.side-card__title {
  font-family: var(--sorig-font-heading, 'Sora', sans-serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--ink-900, #0f172a);
}

.side-card__text {
  font-size: 0.9rem;
  color: var(--ink-700, #334155);
  line-height: 1.55;
  margin: 0 0 16px;
}

/* Price card */
.side-card--price {
  background: linear-gradient(135deg, var(--sorig-primary, #0b56c7) 0%, var(--sorig-secondary, #2f7ae2) 100%);
  border: none;
  color: #fff;
}

.side-card--price .side-card__kicker {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* v11 — Force price to solid white (override base .course-price blue color) */
.side-card__price,
.side-card__price .course-price,
.side-card--price .course-price,
.side-card--price .side-card__price .course-price {
  font-family: var(--sorig-font-heading, 'Sora', sans-serif);
  font-size: 2.6rem !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  letter-spacing: -0.02em;
  background: transparent !important;
  padding: 0 !important;
}

.side-card__price {
  display: block;
  margin: 6px 0 6px;
}

.side-card__price-note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 18px;
}

.side-card--price .btn-white {
  background: #fff;
  color: var(--sorig-primary, #0b56c7);
  border: none;
  border-radius: 5px;
}

.side-card--price .btn-white:hover {
  background: #f1f5f9;
  color: var(--sorig-primary, #0b56c7);
}

.side-card--price .btn-ghost-light {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  border-radius: 5px;
}

.side-card--price .btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* Details list */
.side-details-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-details-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.side-details-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.side-details-list li span {
  color: var(--ink-600, #475569);
}

.side-details-list li strong {
  color: var(--ink-900, #0f172a);
  font-weight: 700;
}

/* Help card */
.side-card--help {
  background: #fff7ed;
  border-color: #fed7aa;
}

.side-card--help .side-card__kicker {
  color: #b45309;
}

.side-card--help .btn-dark {
  background: #0f172a;
  color: #fff;
  border: none;
  border-radius: 5px;
}

.side-card--help .btn-dark:hover {
  background: #1e293b;
  color: #fff;
}

.side-help-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.88rem;
  color: #0f172a;
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
}

.side-help-email i {
  color: #b45309;
}

.side-help-email:hover {
  color: var(--sorig-primary, #0b56c7);
}

.btn-block {
  width: 100%;
  justify-content: center;
  display: inline-flex;
}

/* v10 — Related slider: hide arrows when not needed */
.related-courses-slider.is-static .slider-arrow {
  display: none;
}

.related-courses-slider.is-static .related-courses-track {
  overflow: visible;
}

/* Mobile: no arrows, full-width single card, hand-swipe + auto-slide */
@media (max-width: 768px) {
  .related-courses-slider .slider-arrow {
    display: none !important;
  }

  .related-courses-slider.is-single .related-course-item {
    flex-basis: 100%;
    min-width: 100%;
  }
}

/* v11 — Gallery: 2 visible thumbs, +N overlay with proper image + dark scrim */
.course-gallery[data-lightbox] {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.course-gallery[data-lightbox] .course-gallery__item {
  cursor: zoom-in;
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: block;
}

.course-gallery[data-lightbox] .course-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.course-gallery[data-lightbox] .course-gallery__item:nth-child(n+3) {
  display: none;
}

.course-gallery__item.has-more::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 86, 199, 0.55), rgba(15, 23, 42, 0.65));
  z-index: 1;
}

.course-gallery__more {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--sorig-font-heading, 'Sora', sans-serif);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  pointer-events: none;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* v11 — Lightbox overlay (5px radius on buttons) */
.sorig-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s ease;
}

.sorig-lightbox.is-open {
  display: flex;
  opacity: 1;
}

.sorig-lightbox__img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  user-select: none;
  -webkit-user-drag: none;
}

.sorig-lightbox__btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 48px;
  height: 48px;
  border-radius: 5px;
  font-size: 1.2rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease;
}

.sorig-lightbox__btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.05);
}

.sorig-lightbox__close {
  top: 20px;
  right: 20px;
}

.sorig-lightbox__prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.sorig-lightbox__next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.sorig-lightbox__prev:hover {
  transform: translateY(-50%) scale(1.05);
}

.sorig-lightbox__next:hover {
  transform: translateY(-50%) scale(1.05);
}

.sorig-lightbox__caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.45);
  padding: 6px 14px;
  border-radius: 5px;
  backdrop-filter: blur(4px);
}

@media (max-width: 640px) {
  .sorig-lightbox__prev {
    left: 10px;
  }

  .sorig-lightbox__next {
    right: 10px;
  }

  .sorig-lightbox__close {
    top: 10px;
    right: 10px;
  }
}

body.sorig-lightbox-open {
  overflow: hidden;
}

/* v11 — 5px radius on course content blocks + buttons (general polish) */
.course-block {
  border-radius: 0;
}

.mobile-enroll-bar {
  border-radius: 5px 5px 0 0;
}

.related-course-item .course-card {
  border-radius: 5px;
}

/* v12 — Sidebar Explore card (replaces Course Details box) */
.side-card--explore {
  background: #fff;
}

.side-explore-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.side-explore-btn {
  display: grid;
  grid-template-columns: 36px 1fr 18px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  text-decoration: none;
  color: var(--ink-900, #0f172a);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.side-explore-btn:hover {
  background: #fff;
  border-color: var(--sorig-primary, #0b56c7);
  transform: translateX(2px);
  box-shadow: 0 10px 26px rgba(11, 86, 199, 0.10);
  color: var(--sorig-primary, #0b56c7);
}

.side-explore-btn__icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(11, 86, 199, 0.10), rgba(47, 122, 226, 0.10));
  color: var(--sorig-primary, #0b56c7);
  border-radius: 5px;
  font-size: 0.98rem;
  transition: background .2s ease, color .2s ease;
}

.side-explore-btn:hover .side-explore-btn__icon {
  background: linear-gradient(135deg, var(--sorig-primary, #0b56c7), var(--sorig-secondary, #2f7ae2));
  color: #fff;
}

.side-explore-btn__label {
  line-height: 1.3;
}

.side-explore-btn__arrow {
  color: var(--ink-400, #94a3b8);
  transition: color .2s ease, transform .2s ease;
  font-size: 0.82rem;
  text-align: right;
}

.side-explore-btn:hover .side-explore-btn__arrow {
  color: var(--sorig-primary, #0b56c7);
  transform: translateX(3px);
}

/* ═════════════════════════════════════════════
   V8 — Enrol Now page
   ═════════════════════════════════════════════ */
.enroll-hero {
  background: linear-gradient(135deg, var(--sorig-primary, #0b56c7) 0%, var(--sorig-secondary, #2f7ae2) 100%);
  color: #fff;
  padding: 120px 0 60px;
  text-align: center;
}

.enroll-hero .course-breadcrumbs {
  justify-content: center;
  margin-bottom: 14px;
}

.enroll-hero .section-kicker {
  color: rgba(255, 255, 255, 0.85);
}

.enroll-hero__title {
  color: #fff;
  font-family: var(--font-heading, 'Sora', sans-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 10px auto 14px;
  max-width: 860px;
}

.enroll-hero__title span {
  display: inline;
}

.enroll-hero__lead {
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.enroll-section {
  padding: 60px 0;
  background: #f7f9fc;
}

.enroll-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: flex-start;
}

.enroll-shell--centered {
  grid-template-columns: minmax(0, 800px);
  justify-content: center;
}

@media (max-width: 1024px) {
  .enroll-shell {
    grid-template-columns: 1fr;
  }
}

.enroll-form-wrap .enroll-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
  border: 1px solid rgba(16, 24, 40, .05);
}

@media (max-width: 640px) {
  .enroll-form-wrap .enroll-form-card {
    padding: 24px 20px;
  }
}

.enroll-notice {
  background: #fff;
  border-left: 4px solid var(--sorig-primary, #0b56c7);
  padding: 24px 28px;
  border-radius: 12px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

.enroll-notice i {
  font-size: 1.5rem;
  color: var(--sorig-primary, #0b56c7);
  margin-top: 2px;
}

.enroll-notice strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: #0f172a;
}

.enroll-notice p {
  margin: 0 0 12px;
  color: #475569;
}

.enroll-notice--warn {
  border-left-color: #f59e0b;
}

.enroll-notice--warn i {
  color: #f59e0b;
}

.enroll-page-content {
  margin-top: 28px;
  color: #334155;
  line-height: 1.7;
}

.enroll-summary__card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
  border: 1px solid rgba(16, 24, 40, .05);
  position: sticky;
  top: 100px;
}

.enroll-summary__title {
  font-size: 1.3rem;
  margin: 6px 0 10px;
  color: #0f172a;
  line-height: 1.3;
}

.enroll-summary__desc {
  color: #64748b;
  font-size: 0.92rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.enroll-summary__price {
  background: linear-gradient(135deg, var(--sorig-primary, #0b56c7), var(--sorig-secondary, #2f7ae2));
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
  color: #fff;
}

.enroll-summary__price-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-bottom: 4px;
}

.enroll-summary__price strong {
  font-size: 1.8rem;
  font-weight: 800;
}

.enroll-summary__price .course-price {
  color: #fff;
}

.enroll-summary__meta {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.enroll-summary__meta li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
}

.enroll-summary__meta li:last-child {
  border-bottom: none;
}

.enroll-summary__meta i {
  color: var(--sorig-primary, #0b56c7);
  width: 18px;
}

.enroll-summary__meta span {
  flex: 1;
  color: #64748b;
}

.enroll-summary__meta strong {
  color: #0f172a;
  font-weight: 700;
}

/* Course Form 7 polish inside enroll page */
.enroll-form-card .wpcf7 p {
  margin-bottom: 14px;
}

.enroll-form-card input[type="text"],
.enroll-form-card input[type="email"],
.enroll-form-card input[type="tel"],
.enroll-form-card textarea,
.enroll-form-card select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.enroll-form-card input:focus,
.enroll-form-card textarea:focus,
.enroll-form-card select:focus {
  border-color: var(--sorig-primary, #0b56c7);
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 86, 199, 0.1);
}

.enroll-form-card input[type="submit"] {
  background: linear-gradient(135deg, var(--sorig-primary, #0b56c7), var(--sorig-secondary, #2f7ae2));
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.enroll-form-card input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(11, 86, 199, 0.38);
}

/* Enroll page CF7 premium polish */
.enroll-form-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.enroll-form-card .wpcf7 h3 {
  margin-bottom: 16px !important;
  font-family: var(--font-heading, inherit);
  color: var(--sorig-primary, #0b56c7);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  letter-spacing: 0.01em;
}

.enroll-form-card .form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.enroll-form-card .form-grid-2.sorig-grid-single-course {
  grid-template-columns: 1fr;
}

/* If a grid row has only one field (e.g. Course Interested), make it full width. */
.enroll-form-card .form-grid-2 > p:only-child,
.enroll-form-card .form-grid-2 > div:only-child {
  grid-column: 1 / -1;
}

.enroll-form-card .form-grid-2 > .sorig-grid-full {
  grid-column: 1 / -1;
}

.enroll-form-card .wpcf7-form-control-wrap {
  display: block;
}

.enroll-form-card .wpcf7-text,
.enroll-form-card .wpcf7-email,
.enroll-form-card .wpcf7-tel,
.enroll-form-card .wpcf7-select,
.enroll-form-card .wpcf7-textarea {
  width: 100% !important;
  border-radius: 12px !important;
  border: 1.5px solid #dbe5f2 !important;
  background: #f8fbff !important;
  padding: 13px 14px !important;
  font-size: 0.95rem !important;
  color: #0f172a !important;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.enroll-form-card .wpcf7-text:focus,
.enroll-form-card .wpcf7-email:focus,
.enroll-form-card .wpcf7-tel:focus,
.enroll-form-card .wpcf7-select:focus,
.enroll-form-card .wpcf7-textarea:focus {
  background: #ffffff !important;
  border-color: var(--sorig-primary, #0b56c7) !important;
  box-shadow: 0 0 0 4px rgba(11, 86, 199, 0.12) !important;
  outline: none !important;
}

.enroll-form-card .wpcf7-textarea {
  min-height: 140px;
  resize: vertical;
}

.enroll-form-card .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 0.84rem;
  color: #b42318;
}

.enroll-form-card .wpcf7-response-output {
  border-radius: 12px;
  margin: 16px 0 0 !important;
  padding: 12px 14px !important;
  font-size: 0.92rem;
}

/* Consent/legal links inside CF7 body text should appear as blue links. */
.enroll-form-card .wpcf7-form p a,
.enroll-form-card .wpcf7-form .wpcf7-list-item-label a {
  color: var(--sorig-primary, #0b56c7) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.enroll-form-card .wpcf7-form p a:hover,
.enroll-form-card .wpcf7-form .wpcf7-list-item-label a:hover {
  color: #0847a7 !important;
}

.enroll-form-card .wpcf7 form.sent .wpcf7-response-output {
  border-color: #12b76a !important;
  background: #ecfdf3;
  color: #027a48;
}

.enroll-form-card .wpcf7 form.invalid .wpcf7-response-output,
.enroll-form-card .wpcf7 form.failed .wpcf7-response-output,
.enroll-form-card .wpcf7 form.aborted .wpcf7-response-output,
.enroll-form-card .wpcf7 form.unaccepted .wpcf7-response-output,
.enroll-form-card .wpcf7 form.spam .wpcf7-response-output {
  border-color: #fda29b !important;
  background: #fff1f2;
  color: #b42318;
}

.sorig-enroll-legal {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e8eef7;
}

.sorig-enroll-legal__text {
  margin: 0 0 10px;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.5;
}

.sorig-enroll-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sorig-enroll-legal__links a {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sorig-primary, #0b56c7);
  background: rgba(11, 86, 199, 0.08);
  border: 1px solid rgba(11, 86, 199, 0.16);
  text-decoration: none;
  transition: all .2s ease;
}

.sorig-enroll-legal__links a:hover {
  color: #ffffff;
  background: var(--sorig-primary, #0b56c7);
  border-color: var(--sorig-primary, #0b56c7);
}

@media (max-width: 767px) {
  .enroll-form-card .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ═════════════════════════════════════════════
   V7 — Gallery cursor + kill "unusual" card hover transforms
   ═════════════════════════════════════════════ */
.sg-item {
  cursor: zoom-in;
}

/* Soften explore-grid card hover: remove scale/translate, keep subtle shadow */
.explore-grid .ep-card:hover,
.ep-card--featured:hover {
  transform: none !important;
}

.ep-card:hover .ep-card__img {
  transform: scale(1.03) !important;
}

/* Soften wc-card (why choose) pop */
.wc-card {
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.wc-card:hover {
  transform: none !important;
}

/* Highlight items — no lift */
.highlight-item:hover {
  transform: none !important;
}


/* ═════════════════════════════════════════════
   V14 — Courses Archive & Category Landing
   ═════════════════════════════════════════════ */

/* ----- Hero size for archive/taxonomy/landing ----- */
.courses-hero.hero {
  min-height: 62vh;
  padding: 150px 0 84px;
}

.courses-hero.hero .hero-shell {
  min-height: 340px;
  align-items: center;
  justify-content: center;
}

.courses-hero.hero .hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
}

/* Centered no-image hero */
.courses-hero--centered .hero-copy {
  text-align: center;
  margin: 0 auto;
}

.courses-hero--centered .hero-title,
.courses-hero--centered .hero-lead {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .courses-hero.hero {
    min-height: 54vh;
    padding: 130px 0 60px;
  }
}

/* ----- Two-column layout ----- */
.courses-archive-section {
  padding: 4px 0 88px;
}

.courses-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 36px;
  align-items: start;
}

@media (max-width: 1024px) {
  .courses-layout {
    grid-template-columns: 260px 1fr;
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .courses-layout {
    grid-template-columns: 1fr;
  }

  .courses-layout>.courses-sidebar {
    display: none;
  }
}

.courses-sidebar {
  position: sticky;
  top: 116px;
}

/* Strip old outer-box styles — .courses-filter-panel is the single visible card */
.courses-layout .courses-sidebar {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

/* ----- Filter panel ----- */
.courses-filter-panel {
  background: #fff;
  border: 1px solid var(--line, #e5eaf2);
  border-radius: 0;
  padding: 22px 20px;
  box-shadow: 0 10px 32px rgba(16, 24, 40, 0.05);
}

.courses-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.courses-filter-title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink-900, #101828);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.courses-filter-title i {
  color: var(--sorig-primary, #0b56c7);
}

.courses-filter-close {
  display: none;
  background: transparent;
  border: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-700, #344054);
}

.courses-filter-group {
  padding: 14px 0;
  border-top: 1px solid #eef1f6;
}

.courses-filter-group:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.courses-filter-group__title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  color: var(--ink-900, #101828);
}

.courses-filter-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.courses-filter-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  cursor: pointer;
  color: var(--ink-700, #344054);
  padding: 6px 8px;
  margin: -6px -8px;
  border-radius: 10px;
  transition: background-color .15s ease, color .15s ease;
}

.courses-filter-opt:hover {
  background: #f3f7fd;
  color: var(--sorig-primary, #0b56c7);
}

.courses-filter-opt input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid #c7d0dc;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all .15s ease;
}

.courses-filter-opt input[type="checkbox"]:checked {
  background: var(--sorig-primary, #0b56c7);
  border-color: var(--sorig-primary, #0b56c7);
}

.courses-filter-opt input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.courses-filter-opt__label {
  flex: 1;
}

.courses-filter-opt__count {
  font-size: 0.78rem;
  color: #8a93a3;
  background: #f3f5f9;
  padding: 2px 8px;
  border-radius: 999px;
}

.courses-filter-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.courses-filter-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sorig-primary, #0b56c7);
  color: #fff;
  border: 0;
  padding: 8px 14px;
  border-radius: 0;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background-color .15s ease;
}

.courses-filter-reset:hover {
  background: var(--sorig-secondary, #2f7ae2);
}

/* ----- Price range dual slider ----- */
.price-range {
  position: relative;
  padding: 6px 4px 0;
}

.price-range__track {
  position: relative;
  height: 6px;
  background: #e7ebf2;
  border-radius: 999px;
  margin: 14px 0 24px;
}

.price-range__fill {
  position: absolute;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--sorig-primary, #0b56c7), var(--sorig-secondary, #2f7ae2));
  border-radius: 999px;
}

.price-range__input {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  height: 6px;
  margin: 0;
}

.price-range__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--sorig-primary, #0b56c7);
  box-shadow: 0 2px 8px rgba(11, 86, 199, 0.28);
  cursor: grab;
  pointer-events: auto;
  transition: transform .15s ease;
}

.price-range__input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--sorig-primary, #0b56c7);
  box-shadow: 0 2px 8px rgba(11, 86, 199, 0.28);
  cursor: grab;
  pointer-events: auto;
}

.price-range__input:active::-webkit-slider-thumb {
  transform: scale(1.15);
  cursor: grabbing;
}

.price-range__values {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-900, #101828);
}

/* ----- Top toolbar (search + view + count) ----- */
.courses-toolbar-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}

.courses-toolbar-top .courses-toolbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.courses-result-count {
  font-size: 0.9rem;
  color: #6b7484;
  white-space: nowrap;
}

.courses-search {
  position: relative;
}

.courses-search i {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: #8a93a3;
}

.courses-search input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 44px;
  border: 1.5px solid #e5eaf2;
  border-radius: 999px;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.courses-search input:focus {
  outline: none;
  border-color: var(--sorig-primary, #0b56c7);
  box-shadow: 0 0 0 4px rgba(11, 86, 199, 0.08);
}

.courses-search--lg input {
  height: 52px;
  font-size: 1rem;
}

.courses-view-toggle {
  display: flex;
  background: #f3f5f9;
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
}

.courses-view-toggle .view-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #6b7484;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .15s ease, color .15s ease;
}

.courses-view-toggle .view-btn.is-active {
  background: #fff;
  color: var(--sorig-primary, #0b56c7);
  box-shadow: 0 2px 6px rgba(16, 24, 40, 0.06);
}

@media (max-width: 600px) {
  .courses-toolbar-top {
    grid-template-columns: 1fr;
  }

  .courses-toolbar-right {
    justify-content: space-between;
  }
}

/* ----- Mobile filter FAB + drawer ----- */
.courses-filter-fab {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 90;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--sorig-primary, #0b56c7), var(--sorig-secondary, #2f7ae2));
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(11, 86, 199, 0.4);
  transition: transform .2s ease;
}

.courses-filter-fab:hover {
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .courses-filter-fab {
    display: inline-flex;
  }
}

.courses-filter-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}

.courses-filter-drawer.is-open {
  pointer-events: auto;
  opacity: 1;
}

.courses-filter-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 40, 0.55);
  backdrop-filter: blur(2px);
}

.courses-filter-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 92vw);
  background: #fff;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  box-shadow: -20px 0 60px rgba(16, 24, 40, 0.25);
  padding: 20px 18px 40px;
}

.courses-filter-drawer.is-open .courses-filter-drawer__panel {
  transform: translateX(0);
}

.courses-filter-drawer .courses-filter-panel {
  border: 0;
  box-shadow: none;
  padding: 6px 4px;
}

.courses-filter-drawer .courses-filter-close {
  display: inline-flex;
}

body.sorig-drawer-open {
  overflow: hidden;
}

/* ----- Empty state ----- */
.course-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: #f8fafc;
  border-radius: 16px;
  color: #6b7484;
  font-size: 1rem;
}

/* ════════════════════════════════════════════
   Category Landing Page  — full-image overlay cards
   ════════════════════════════════════════════ */
.categories-section {
  padding: 64px 0 96px;
}

.categories-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 14px;
}

.categories-count {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-700, #344054);
}

/* 3 columns on desktop → 2 → 1 */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Full-image overlay card ---- */
.category-card {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  text-decoration: none;
  background: #0a1628;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1), box-shadow .4s ease;
  will-change: transform;
}

.category-card:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 40px 90px rgba(16, 24, 40, 0.30);
}

/* Background image layer */
.category-card__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.category-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s ease;
}

.category-card:hover .category-card__bg img {
  transform: scale(1.12);
}

.category-card__bg-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--sorig-primary, #0b56c7) 0%, #071022 100%);
}

/* Gradient overlay layer */
.category-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to bottom,
      rgba(10, 22, 50, 0.05) 0%,
      rgba(10, 22, 50, 0.50) 50%,
      rgba(10, 22, 50, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 20px 26px;
  transition: background .4s ease;
}

.category-card:hover .category-card__overlay {
  background: linear-gradient(to bottom,
      rgba(10, 22, 50, 0.12) 0%,
      rgba(10, 22, 50, 0.62) 50%,
      rgba(10, 22, 50, 0.98) 100%);
}

/* Icon — amber/gold */
.category-card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
  line-height: 1;
  color: #f59e0b;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
}

.category-card__icon i,
.category-card__icon span {
  color: #f59e0b !important;
}

/* Title & count overlaid on image */
.category-card__title {
  font-family: var(--sorig-font-heading, 'Sora', sans-serif);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  margin: 0 0 6px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.category-card__count {
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.02em;
}

/* Icon image uploaded via admin */
.category-card__icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 6px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

/* ═════════════════════════════════════════════
   PAGE HERO (Optimized for internal pages)
   ═════════════════════════════════════════════ */
.page-hero.hero {
  min-height: 50vh !important;
  display: flex !important;
  align-items: center !important;
  padding: 80px 0 !important;
}

.page-hero.hero .hero-shell {
  padding-top: 0 !important;
}

.page-hero.hero .hero-title {
  font-size: clamp(2rem, 5vw, 3.8rem) !important;
  margin-bottom: 24px !important;
}

.page-hero.hero .hero-lead {
  font-size: 1.15rem !important;
  max-width: 720px !important;
}

@media (max-width: 768px) {
  .page-hero.hero {
    min-height: 40vh !important;
    padding: 60px 0 !important;
  }
}