/* Course detail — advanced landing layout (detail-default) */

.course-page {
  --course-title-font: Georgia, "Times New Roman", serif;
  --course-sidebar-top: calc(10px + 66px + 14px);
  --course-section-gap: clamp(24px, 3vw, 32px);
  --course-content-width: min(1140px, calc(100% - 32px));
  --course-cream: #fdfcf0;
  --course-lavender: #f3f0ff;
  --course-lavender-deep: #e8e0ff;
  --course-navy: #0f172a;
  --course-muted: #64748b;
  --course-border: #e8ecf1;
  --course-shadow: 0 8px 32px rgba(15, 23, 42, 0.07);
  --course-shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.05);
  background: #fff;
}

.course-container {
  width: var(--course-content-width);
  margin: 0 auto;
}

/* —— Hero —— */
.course-hero {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  padding: 96px 0 0;
  background-color: #f0f4fa;
  background-image:
    radial-gradient(ellipse 120% 80% at 100% 0%, rgba(59, 130, 246, 0.14) 0%, transparent 52%),
    radial-gradient(ellipse 90% 70% at 0% 100%, rgba(236, 103, 52, 0.1) 0%, transparent 48%),
    radial-gradient(circle at 72% 58%, rgba(99, 102, 241, 0.07) 0%, transparent 42%),
    linear-gradient(152deg, #ffffff 0%, #f5f8fc 38%, #eef2f8 72%, #e8eef6 100%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.course-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0%, transparent 42%, transparent 68%, rgba(255, 255, 255, 0.2) 100%);
  pointer-events: none;
}

.course-hero__doodles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  animation: course-doodle-layer-in 1.4s ease-out both;
}

@keyframes course-doodle-layer-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.course-hero__doodle-blobs {
  position: absolute;
  width: 110%;
  height: 100%;
  left: -5%;
  top: 0;
  opacity: 0.95;
  animation:
    course-doodle-blob-drift 28s ease-in-out infinite alternate,
    course-doodle-blob-breathe 14s ease-in-out infinite;
}

.course-hero__doodle-stroke {
  position: absolute;
  width: min(42vw, 320px);
  right: 4%;
  top: 12%;
  opacity: 0.85;
  transform-origin: 70% 40%;
  animation: course-doodle-stroke-float 20s ease-in-out infinite;
}

.course-hero__doodle-icons {
  position: absolute;
  width: 140px;
  left: 6%;
  bottom: 18%;
  opacity: 0.7;
  transform-origin: center center;
  animation: course-doodle-icons-float 24s ease-in-out infinite;
}

@keyframes course-doodle-blob-drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(2.5%, -2%) scale(1.05);
  }
}

@keyframes course-doodle-blob-breathe {
  0%,
  100% {
    opacity: 0.88;
  }
  50% {
    opacity: 1;
  }
}

@keyframes course-doodle-stroke-float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(-6px, -10px) rotate(-1.5deg);
  }
  66% {
    transform: translate(4px, -14px) rotate(1deg);
  }
}

@keyframes course-doodle-icons-float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(8px, -12px) rotate(3deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .course-hero__doodles {
    animation: none;
    opacity: 1;
  }

  .course-hero__doodle-blobs,
  .course-hero__doodle-stroke,
  .course-hero__doodle-icons {
    animation: none;
  }
}

.course-hero .course-container {
  position: relative;
  z-index: 1;
}

.course-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--course-muted);
}

.course-breadcrumb a {
  color: #475569;
  text-decoration: none;
  transition: color 0.15s ease;
}

.course-breadcrumb a:hover {
  color: var(--brand-orange);
}

.course-breadcrumb [aria-current="page"] {
  color: #0f172a;
  font-weight: 600;
}

.course-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: stretch;
  padding-bottom: 0;
}

.course-hero__eyebrow {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-orange);
}

.course-hero__title {
  margin: 0 0 16px;
  font-family: var(--course-title-font);
  font-size: clamp(2rem, 1.1rem + 2.4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--course-navy);
  max-width: 22ch;
}

.course-hero__intro {
  margin: 0 0 24px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #475569;
  max-width: 54ch;
}

.course-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.course-btn {
  padding: 12px 22px;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 10px;
}

.course-btn--ghost {
  background: #fff;
  border: 2px solid #e2e8f0;
  color: #0f172a;
}

.course-btn--ghost:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

.course-hero__copy {
  align-self: start;
}

.course-hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  align-self: end;
  min-width: 0;
}

.course-hero__image {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  max-height: min(520px, 62vh);
  object-fit: contain;
  object-position: center bottom;
}

.course-hero__floats {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.course-hero__float {
  position: absolute;
  padding: 9px 15px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1);
  white-space: nowrap;
  border: 1px solid transparent;
  opacity: 0;
  animation:
    course-hero-float-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    course-hero-float-drift 5.5s ease-in-out infinite;
  will-change: transform, opacity;
}

.course-hero__float--1 {
  top: 8%;
  left: -4%;
  color: #1e3a5f;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-color: rgba(59, 130, 246, 0.35);
  animation-delay: 0.1s, 0.75s;
}

.course-hero__float--2 {
  top: 18%;
  right: -6%;
  color: #7c2d12;
  background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
  border-color: rgba(249, 115, 22, 0.35);
  animation-delay: 0.22s, 0.92s;
  animation-duration: 0.65s, 6.2s;
}

.course-hero__float--3 {
  bottom: 28%;
  left: -8%;
  color: #14532d;
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  border-color: rgba(34, 197, 94, 0.35);
  animation-delay: 0.34s, 1.1s;
  animation-duration: 0.65s, 5.4s;
}

.course-hero__float--4 {
  bottom: 10%;
  right: 2%;
  color: #4c1d95;
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
  border-color: rgba(139, 92, 246, 0.35);
  animation-delay: 0.46s, 1.28s;
  animation-duration: 0.65s, 6.6s;
}

@keyframes course-hero-float-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes course-hero-float-drift {
  0%,
  100% {
    transform: translateY(0) translateX(0);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1);
  }
  50% {
    transform: translateY(-10px) translateX(4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .course-hero__float {
    opacity: 1;
    animation: none;
    will-change: auto;
  }
}

/* Quick stats bar — flush under hero image (no hairline gap) */
.course-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0;
  margin: 0;
  margin-top: -1px;
  background: #fff;
  border: 1px solid var(--course-border);
  border-radius: 14px 14px 0 0;
  box-shadow: var(--course-shadow-sm);
  overflow: hidden;
}

.course-stats__item {
  padding: 18px 20px;
  border-right: 1px solid var(--course-border);
  text-align: center;
}

.course-stats__item:last-child {
  border-right: none;
}

.course-stats__label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--course-muted);
}

.course-stats__value {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}

/* —— Full-width bands —— */
.course-band {
  padding: clamp(52px, 5.5vw, 76px) 0;
}

.course-band--cream {
  background: var(--course-cream);
}

.course-band--deco {
  position: relative;
  overflow: hidden;
}

.course-band--deco::before,
.course-band--deco::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0.14;
  background-repeat: no-repeat;
  background-size: contain;
}

.course-band--deco::before {
  width: 200px;
  height: 200px;
  top: -40px;
  right: 8%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none'%3E%3Cpath d='M20 80c20-40 50-55 80-40' stroke='%23f97316' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='90' cy='28' r='10' stroke='%233b82f6' stroke-width='2.5'/%3E%3Cpath d='M30 30h20v28H30z' stroke='%2364748b' stroke-width='2'/%3E%3C/svg%3E");
}

.course-band--deco::after {
  width: 160px;
  height: 160px;
  bottom: -20px;
  left: 4%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none'%3E%3Cpath d='M15 70l25-25 15 15 30-35' stroke='%2320b374' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M70 20h18v18H70z' stroke='%23ea580c' stroke-width='2'/%3E%3C/svg%3E");
}

.course-band--deco .course-container {
  position: relative;
  z-index: 1;
}

.course-band--lavender {
  background: var(--course-lavender);
}

.course-section-head {
  margin-bottom: clamp(28px, 3vw, 36px);
}

.course-section-head--center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.course-section-head__kicker {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-orange);
}

.course-section-head__title {
  margin: 0 0 10px;
  font-family: var(--course-title-font);
  font-size: clamp(1.5rem, 1rem + 1.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.2;
}

.course-section-head__deck,
.course-section-head__lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--course-muted);
}

.course-section-head--row .course-section-head__title {
  margin-bottom: 8px;
}

.course-section-head--row .course-section-head__lead {
  max-width: 52ch;
}

/* Highlight cards — single row of 4 on desktop */
.course-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.course-highlight-card {
  padding: 22px 20px 24px;
  background: #fff;
  border: 1px solid var(--course-border);
  border-radius: 14px;
  box-shadow: var(--course-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--course-shadow);
}

.course-highlight-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: linear-gradient(145deg, #fff7ed, #ffedd5);
  color: var(--brand-orange);
}

.course-highlight-card__icon svg {
  width: 22px;
  height: 22px;
}

.course-highlight-card h3 {
  margin: 0 0 6px;
  font-size: 0.9375rem;
  font-weight: 800;
  color: #0f172a;
}

.course-highlight-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #475569;
}

/* —— Main layout —— */
.course-body {
  padding: clamp(48px, 4.5vw, 64px) 0 0;
  background: #f8fafc;
  overflow: visible;
}

.course-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  gap: clamp(28px, 3.5vw, 40px);
  align-items: start;
}

.course-main {
  min-width: 0;
  overflow: visible;
}

/* Full-width stack after sidebar column ends */
.course-fullwidth {
  --course-fw-gap: clamp(40px, 4.8vw, 56px);
  width: 100%;
  clear: both;
  padding-top: clamp(40px, 4.5vw, 56px);
  border-top: 1px solid #e2e8f0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(59, 130, 246, 0.06), transparent 70%),
    #f8fafc;
  position: relative;
  overflow-x: clip;
}

.course-fullwidth::before {
  content: "Career & admission journey";
  display: block;
  width: var(--course-content-width);
  margin: 0 auto clamp(28px, 3.2vw, 40px);
  padding: 0 4px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-orange);
}

.course-fullwidth .course-container--wide {
  display: flex;
  flex-direction: column;
  gap: var(--course-fw-gap);
  width: var(--course-content-width);
  margin: 0 auto;
  padding-bottom: clamp(28px, 3vw, 40px);
}

/* Let flex gap handle spacing — avoid double margins */
.course-fullwidth .course-container--wide > .course-panel,
.course-fullwidth .course-container--wide > .course-bleed,
.course-fullwidth .course-container--wide > .course-stage-shell {
  margin-top: 0;
  margin-bottom: 0;
}

.course-fullwidth .course-container--wide .course-panel {
  padding-top: clamp(12px, 1.4vw, 20px);
  padding-bottom: clamp(12px, 1.4vw, 20px);
}

.course-fullwidth .course-container--wide .course-bleed {
  padding-top: clamp(14px, 1.6vw, 22px);
  padding-bottom: clamp(14px, 1.6vw, 22px);
}

/* Carousels: same width as section heading (no right bleed — avoids empty gap) */
.course-fullwidth .course-bleed--placement .course-bleed__viewport,
.course-fullwidth .course-bleed--blogs .course-bleed__viewport,
.course-fullwidth .course-bleed--related .course-bleed__viewport,
.course-panel--related .course-bleed__viewport {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
}

.course-fullwidth .course-bleed > .course-bleed__head,
.course-fullwidth .course-bleed > .course-bleed__controls {
  width: var(--course-content-width);
  margin-left: auto;
  margin-right: auto;
}

.course-stage-shell {
  margin-bottom: 0;
}

.course-stage-shell--partners,
.course-stage-shell--counsel,
.course-stage-shell--admission,
.course-stage-shell--syllabus {
  margin-top: var(--course-section-gap);
  margin-bottom: var(--course-section-gap);
}

.course-fullwidth .course-stage-shell--partners,
.course-fullwidth .course-stage-shell--counsel,
.course-fullwidth .course-stage-shell--admission,
.course-fullwidth .course-stage-shell--syllabus {
  margin-top: 0;
  margin-bottom: 0;
}

/* Full-width stage backgrounds; content aligned via .course-stage-content */
.course-stage-shell--bleed {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.course-stage-content {
  width: var(--course-content-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.course-fullwidth .course-worth-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.course-fullwidth .course-skill-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.course-panel {
  margin-bottom: var(--course-section-gap);
  padding: clamp(26px, 2.8vw, 36px);
  background: #fff;
  border: 1px solid var(--course-border);
  border-radius: 16px;
  box-shadow: var(--course-shadow-sm);
}

.course-panel--tint {
  background: linear-gradient(180deg, #fafbff 0%, #fff 100%);
}

.course-panel--deco {
  position: relative;
  overflow: hidden;
}

.course-panel--deco::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  top: -20px;
  right: -10px;
  pointer-events: none;
  opacity: 0.1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80' fill='none'%3E%3Cpath d='M10 50c15-25 35-35 55-22' stroke='%23f97316' stroke-width='2.5' stroke-linecap='round'/%3E%3Ccircle cx='62' cy='18' r='8' stroke='%233b82f6' stroke-width='2'/%3E%3C/svg%3E") no-repeat center / contain;
}

.course-panel--deco-left::after {
  right: auto;
  left: -10px;
  transform: scaleX(-1);
}

.course-panel--deco > * {
  position: relative;
  z-index: 1;
}

.course-main .course-skill-grid,
.course-main .course-worth-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.course-panel--faq {
  padding-bottom: 24px;
}

/* Full-width area: no boxed panel chrome (specializations, docs, syllabus, FAQ, etc.) */
.course-fullwidth .course-panel {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}

.course-fullwidth .course-panel--tint,
.course-fullwidth .course-spec-section,
.course-fullwidth .course-docs-panel {
  background: transparent;
}

.course-fullwidth .course-panel--deco::after {
  display: none;
}

.course-panel__subtitle {
  margin: 24px 0 12px;
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
}

.course-prose {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #475569;
}

/* Benefits */
.course-benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.course-benefit-card {
  position: relative;
  padding: 20px 18px 22px 20px;
  background: #f8fafc;
  border: 1px solid var(--course-border);
  border-radius: 14px;
  transition: border-color 0.15s ease;
}

.course-benefit-card:hover {
  border-color: #cbd5e1;
}

.course-benefit-card__num {
  display: block;
  margin-bottom: 10px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-orange);
  opacity: 0.85;
}

.course-benefit-card h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
}

.course-benefit-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.58;
  color: #64748b;
}

/* Who should — check grid */
.course-check-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.course-check-grid li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--course-border);
  border-radius: 12px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #334155;
}

.course-check-grid__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ecfdf5;
  color: var(--brand-green);
}

/* Fee banner */
.course-fee-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(22px, 2.5vw, 28px);
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--course-lavender) 0%, var(--course-lavender-deep) 100%);
  border: 1px solid #d4c9f7;
  border-radius: 16px;
}

.course-fee-banner__kicker {
  margin: 0 0 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5b21b6;
}

.course-fee-banner__title {
  margin: 0 0 8px;
  font-family: var(--course-title-font);
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e1b4b;
}

.course-fee-banner__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #4338ca;
  max-width: 52ch;
}

.course-fee-banner__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  flex-shrink: 0;
}

.course-fee-banner__phone {
  font-size: 0.9rem;
  font-weight: 700;
  color: #4c1d95;
  text-decoration: none;
}

.course-fee-banner__phone:hover {
  text-decoration: underline;
}

/* Tables */
.course-table-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--course-border);
  background: #fff;
}

.course-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.course-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.course-table th,
.course-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #eef2f6;
}

.course-table--data thead th {
  background: linear-gradient(180deg, #f1f5f9, #e8ecf1);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
}

.course-table--data tbody tr:hover td {
  background: #fafbfc;
}

.course-table--data tbody tr:last-child td {
  border-bottom: none;
}

.course-table--compare thead th:first-child {
  width: 28%;
}

/* Skills */
.course-skill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.course-skill-card {
  padding: 16px 18px;
  background: linear-gradient(90deg, #fff7ed, #fff);
  border: 1px solid #fed7aa;
  border-left: 4px solid var(--brand-orange);
  border-radius: 0 12px 12px 0;
}

.course-skill-card h3 {
  margin: 0 0 4px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #9a3412;
}

.course-skill-card p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #78350f;
}

/* Check list */
.course-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.course-check-list li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 28px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #475569;
}

.course-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 800;
  color: var(--brand-green);
}

/* Worth grid */
.course-worth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.course-worth-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid var(--course-border);
}

.course-worth-card__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--brand-orange);
}

.course-worth-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #475569;
}

/* Steps */
.course-steps {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.course-steps li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 16px;
  background: #f8fafc;
  border: 1px solid var(--course-border);
  border-radius: 14px;
}

.course-steps__num {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--brand-orange), #c2410c);
  border-radius: 50%;
}

.course-steps__text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #334155;
}

/* Documents */
.course-doc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.course-doc-chip {
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
}

/* Specializations — flat section, colored pills only */
.course-spec-section {
  background: transparent;
  border: none;
  box-shadow: none;
}

.course-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.course-spec-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 16px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.course-spec-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.course-spec-pill__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}

.course-spec-pill--blue {
  background: linear-gradient(145deg, #eff6ff, #dbeafe);
  border-color: #bfdbfe;
  color: #1e3a8a;
}

.course-spec-pill--lavender {
  background: linear-gradient(145deg, #f5f3ff, #ede9fe);
  border-color: #ddd6fe;
  color: #4c1d95;
}

.course-spec-pill--mint {
  background: linear-gradient(145deg, #ecfdf5, #d1fae5);
  border-color: #a7f3d0;
  color: #065f46;
}

.course-spec-pill--peach {
  background: linear-gradient(145deg, #fff7ed, #ffedd5);
  border-color: #fed7aa;
  color: #9a3412;
}

.course-spec-pill--yellow {
  background: linear-gradient(145deg, #fefce8, #fef08a);
  border-color: #fde047;
  color: #854d0e;
}

.course-spec-pill--pink {
  background: linear-gradient(145deg, #fdf2f8, #fce7f3);
  border-color: #fbcfe8;
  color: #9d174d;
}

/* Accordion syllabus */
.course-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.course-accordion__item {
  border: 1px solid var(--course-border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.course-accordion__item[open] {
  border-color: #c7d2fe;
  box-shadow: var(--course-shadow-sm);
}

.course-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
}

.course-accordion__trigger::-webkit-details-marker {
  display: none;
}

.course-accordion__chevron {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--brand-orange);
  border-bottom: 2px solid var(--brand-orange);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.course-accordion__item[open] .course-accordion__chevron {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.course-accordion__body {
  padding: 0 18px 18px;
  border-top: 1px solid #f1f5f9;
}

.course-accordion__body p {
  margin: 14px 0 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #475569;
}

/* Counsel band */
.course-counsel-band {
  margin: 0;
  padding: clamp(32px, 3.5vw, 44px) 0;
  background: linear-gradient(125deg, #0f172a 0%, #1e3a5f 55%, #312e81 100%);
  border-radius: 0;
  color: #fff;
}

.course-counsel-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.course-counsel-band__kicker {
  margin: 0 0 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7dd3fc;
}

.course-counsel-band__title {
  margin: 0 0 8px;
  font-family: var(--course-title-font);
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem);
  font-weight: 800;
  line-height: 1.25;
}

.course-counsel-band__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 48ch;
}

.course-counsel-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.course-btn--on-dark {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
}

.course-btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

/* FAQ */
.course-faq .faq-item {
  border-bottom: 1px solid var(--course-border);
}

.course-faq .faq-item:last-child {
  border-bottom: none;
}

.course-faq .faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 40px 18px 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: #0f172a;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
}

.course-faq .faq-question::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--brand-orange);
}

.course-faq .faq-item.active .faq-question::after {
  content: "−";
}

.course-faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.course-faq .faq-item.active .faq-answer {
  max-height: 800px;
}

.course-faq .faq-answer p {
  margin: 0 0 18px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #64748b;
}

/* Related courses carousel */
.course-panel--related {
  padding-bottom: 0;
  margin-bottom: 0;
}

.course-panel--related .course-bleed {
  margin-bottom: 0;
  padding-bottom: 0;
}

.course-panel--related .course-bleed__controls {
  margin-top: clamp(16px, 2vw, 22px);
}

.course-related-card {
  flex: 0 0 min(300px, 82vw);
  scroll-snap-align: start;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--course-border);
  box-shadow: var(--course-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.course-related-card:hover {
  transform: translateY(-4px);
  border-color: #dbeafe;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.1);
}

.course-related-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.course-related-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.course-related-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.35s ease;
}

.course-related-card:hover .course-related-card__media img {
  transform: scale(1.03);
}

.course-related-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.4) 100%);
  pointer-events: none;
}

.course-related-card__level {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  padding: 5px 11px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.course-related-card__tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 1;
  padding: 10px 13px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1e293b;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.course-related-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: 18px 20px 22px;
}

.course-related-card__body h3 {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.3;
  color: #0f172a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-related-card__teaser {
  margin: 0;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-related-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-orange);
}

.course-related-card__cta svg {
  transition: transform 0.2s ease;
}

.course-related-card:hover .course-related-card__cta svg {
  transform: translateX(3px);
}

/* Sidebar — sticky until .course-layout ends (full-width sections below) */
.course-sidebar {
  align-self: stretch;
  min-height: 0;
}

.course-sidebar__sticky {
  position: sticky;
  top: var(--course-sidebar-top);
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: calc(100vh - var(--course-sidebar-top) - 16px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.course-sidebar__sticky::-webkit-scrollbar {
  width: 6px;
}

.course-sidebar__sticky::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.course-sidebar__nav,
.course-sidebar__card,
.course-sidebar__form {
  background: #fff;
  border: 1px solid var(--course-border);
  border-radius: 16px;
  box-shadow: var(--course-shadow-sm);
}

.course-sidebar__nav {
  padding: 18px;
}

.course-sidebar__nav-title {
  margin: 0 0 12px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--course-muted);
}

.course-sidebar__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.course-sidebar__nav a {
  display: block;
  padding: 8px 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
  transition: color 0.15s ease;
}

.course-sidebar__nav li:last-child a {
  border-bottom: none;
}

.course-sidebar__nav a:hover {
  color: var(--brand-orange);
}

.course-sidebar__card--premium {
  padding: 22px 20px;
  background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 100%);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.course-sidebar__badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 10px;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0f172a;
  background: #7dd3fc;
  border-radius: 6px;
}

.course-sidebar__card-title {
  margin: 0 0 8px;
  font-family: var(--course-title-font);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
}

.course-sidebar__card-text {
  margin: 0 0 16px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.course-sidebar__btn {
  width: 100%;
  margin-bottom: 12px;
}

.course-sidebar__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.course-sidebar__phone:hover {
  text-decoration: underline;
}

.course-sidebar__form {
  padding: 20px 18px 22px;
}

.course-sidebar__form-title {
  margin: 0 0 14px;
  font-family: var(--course-title-font);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.course-field {
  display: block;
  margin-bottom: 12px;
}

.course-field span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--course-muted);
}

.course-field input {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.course-field input:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: var(--ring);
}

.course-sidebar__submit {
  width: 100%;
  margin-top: 4px;
}

.course-sidebar__form-note {
  margin: 10px 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #94a3b8;
  text-align: center;
}

/* —— Responsive —— */
@media (max-width: 1024px) {
  .course-layout {
    grid-template-columns: 1fr;
  }

  .course-sidebar {
    order: 2;
  }

  .course-main {
    order: 1;
  }

  .course-sidebar__sticky {
    position: static;
    top: auto;
    max-height: none;
    overflow-y: visible;
  }

  .course-main .course-skill-grid,
  .course-main .course-worth-grid {
    grid-template-columns: 1fr;
  }

  .course-hero__doodle-stroke,
  .course-hero__doodle-icons {
    display: none;
  }

  .course-sidebar__nav {
    display: none;
  }

  .course-hero__grid {
    grid-template-columns: 1fr;
  }

  .course-hero__visual {
    max-width: 480px;
    margin: 0 auto;
    align-self: stretch;
  }

  .course-hero__copy {
    align-self: stretch;
  }

  .course-stats {
    margin-top: 0;
  }

  .course-hero__float--1,
  .course-hero__float--3 {
    left: 0;
  }

  .course-hero__float--2,
  .course-hero__float--4 {
    right: 0;
  }
}

@media (max-width: 1100px) {
  .course-highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .course-benefit-grid,
  .course-check-grid,
  .course-skill-grid,
  .course-worth-grid,
  .course-fullwidth .course-skill-grid,
  .course-fullwidth .course-worth-grid {
    grid-template-columns: 1fr;
  }

  .course-steps {
    grid-template-columns: 1fr;
  }

  .course-fee-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .course-stats__item {
    border-right: none;
    border-bottom: 1px solid var(--course-border);
  }

  .course-stats__item:last-child {
    border-bottom: none;
  }

  .course-table--data thead {
    display: none;
  }

  .course-table--data tr {
    display: block;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef2f6;
  }

  .course-table--data td {
    display: block;
    padding: 6px 16px;
    border: none;
  }

  .course-table--data td::before {
    content: attr(data-label) ": ";
    font-weight: 700;
    color: #0f172a;
  }
}

@media (max-width: 640px) {
  .course-highlight-grid {
    grid-template-columns: 1fr;
  }

  .course-hero__title {
    max-width: none;
  }

  .course-panel {
    padding: 18px 16px;
  }

  .course-counsel-band__actions {
    width: 100%;
  }

  .course-counsel-band__actions .btn {
    flex: 1;
    text-align: center;
  }
}

/* —— Premium sections (bleed right from main column) —— */
.course-serif {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.course-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.course-pill-btn--outline {
  border: 1.5px solid #0f172a;
  background: transparent;
}

.course-pill-btn--outline:hover {
  background: #f8fafc;
}

.course-bleed {
  margin-bottom: var(--course-section-gap);
}

.course-bleed--placement {
  padding-top: 4px;
}

.course-bleed__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.course-bleed__head h2 {
  margin: 0;
  font-family: var(--course-title-font);
  font-size: clamp(1.35rem, 1rem + 1vw, 1.75rem);
  line-height: 1.25;
  max-width: none;
}

.course-bleed__head-arrows {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.course-bleed__viewport {
  overflow: hidden;
  height: auto;
  min-height: 0;
}

/* Partners band still bleeds to screen edge */
.course-bleed--partners .course-bleed__viewport {
  margin-right: calc(50% - 50vw);
  padding-right: calc(50vw - 50%);
}

.course-bleed__viewport--flush {
  padding-right: 0;
}

.course-bleed__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  height: auto;
  min-height: 0;
}

.course-bleed__track::-webkit-scrollbar {
  display: none;
}

.course-bleed-card {
  flex: 0 0 min(300px, 82vw);
  scroll-snap-align: start;
  padding: 28px 24px 30px;
  background: #f4f4f5;
  border-radius: 14px;
  border: 1px solid #ebebef;
  box-shadow: none;
}

.course-bleed--placement .course-bleed-card {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 30px;
  background: #fff;
  border: 1px solid var(--course-border);
  border-radius: 14px;
  box-shadow: var(--course-shadow-sm);
}

.course-bleed--placement .course-placement-card__icon {
  margin-bottom: 18px;
}

.course-placement-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  line-height: 1.3;
}

.course-placement-card p {
  margin: 0;
  margin-top: auto;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #52525b;
}

.course-placement-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--card-tone, #a2d2ff);
  color: #0f172a;
  flex-shrink: 0;
}

.course-bleed--placement .course-bleed__controls {
  margin-top: 20px;
}

.course-bleed__controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.course-bleed__controls--center {
  align-items: center;
}

.course-bleed__arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: #334155;
  background: #fff;
  border: 1px solid var(--course-border);
  border-radius: 50%;
  box-shadow: none;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.course-bleed__arrow:hover {
  border-color: #0f172a;
  background: #fafafa;
}

.course-bleed__arrow--sm {
  width: 38px;
  height: 38px;
  font-size: 1rem;
}

.course-bleed__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 20px;
}

.course-bleed__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid #a1a1aa;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.course-bleed__dot.is-active {
  width: 10px;
  height: 10px;
  background: #0f172a;
  border-color: #0f172a;
  transform: rotate(45deg);
  border-radius: 2px;
}

/* Carousels: whole cards per row (1 / 2 / 3 / 4 by viewport width) */
.course-bleed--placement .course-bleed-card,
.course-bleed--blogs .course-blog-card,
.course-bleed--related .course-related-card {
  flex: 0 0 100%;
  min-width: 0;
  max-width: 100%;
  height: auto;
  align-self: stretch;
  box-sizing: border-box;
  scroll-snap-align: start;
  overflow: hidden;
}

@media (min-width: 560px) {
  .course-bleed--placement .course-bleed-card,
  .course-bleed--blogs .course-blog-card,
  .course-bleed--related .course-related-card {
    flex: 0 0 calc((100% - 16px) / 2);
  }
}

@media (min-width: 900px) {
  .course-bleed--placement .course-bleed-card,
  .course-bleed--blogs .course-blog-card,
  .course-bleed--related .course-related-card {
    flex: 0 0 calc((100% - 32px) / 3);
  }
}

@media (min-width: 1200px) {
  .course-bleed--placement .course-bleed-card,
  .course-bleed--blogs .course-blog-card,
  .course-bleed--related .course-related-card {
    flex: 0 0 calc((100% - 48px) / 4);
  }
}

/* Hiring partners — full-width band, flat tiles, container-aligned scroll */
.course-bleed--partners {
  margin-bottom: var(--course-section-gap);
}

.course-fullwidth .course-bleed--partners {
  margin-bottom: 0;
}

.course-bleed--partners .course-bleed__head {
  margin-bottom: 18px;
  padding-left: 0;
  padding-right: 0;
}

.course-bleed--partners .course-partners-shell {
  width: 100%;
  margin: 0;
  padding: clamp(12px, 1.4vw, 18px) 0 clamp(16px, 1.8vw, 24px);
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.course-bleed--partners .course-partners-shell__inner {
  width: var(--course-content-width);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.course-bleed--partners .course-bleed__viewport,
.course-stage-shell--partners .course-bleed__viewport {
  margin-right: 0;
  padding-right: 0;
  width: 100%;
  overflow: hidden;
}

.course-bleed--partners .course-bleed__track {
  padding-left: 0;
  padding-right: 4px;
}

.course-bleed--partners .course-bleed__dots {
  margin-top: 18px;
  justify-content: flex-start;
}

.course-partners-track {
  flex-wrap: nowrap;
  gap: 12px;
}

.course-partner-tile {
  flex: 0 0 140px;
  height: 76px;
  display: grid;
  place-items: center;
  padding: 8px 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.2;
  color: #1e3a8a;
  background: linear-gradient(145deg, #eff6ff, #dbeafe);
  border-radius: 12px;
  border: 1px solid #bfdbfe;
  box-shadow: none;
  transition: transform 0.15s ease;
}

.course-partner-tile:hover {
  transform: translateY(-2px);
}

/* Admission hero stage */
.course-admission-stage {
  position: relative;
  padding: clamp(28px, 3vw, 40px) 0 clamp(32px, 3.5vw, 44px);
  border-radius: 0;
  overflow: hidden;
  color: #fff;
  min-height: 360px;
}

.course-admission-stage__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(8, 15, 35, 0.88) 0%, rgba(15, 35, 70, 0.78) 45%, rgba(20, 30, 55, 0.85) 100%),
    url("../../images/sec-bg-banner.png") center / cover no-repeat;
  z-index: 0;
}

.course-admission-stage__inner {
  position: relative;
  z-index: 1;
}

.course-admission-stage__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.course-admission-stage__title {
  margin: 0;
  max-width: min(100%, 18ch);
  font-family: var(--course-title-font);
  font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.35rem);
  line-height: 1.15;
  color: #fff;
}

.course-admission-stage__video {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.course-admission-stage__play {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding-left: 3px;
  background: #2563eb;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #fff;
}

.course-admission-stage__timeline {
  position: relative;
  margin-bottom: 20px;
}

.course-admission-stage__rail {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.45);
  z-index: 0;
}

.course-admission-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  position: relative;
  z-index: 1;
}

.course-admission-steps::-webkit-scrollbar {
  display: none;
}

.course-admission-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.course-admission-step__num {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  font-size: 0.875rem;
  font-weight: 800;
  color: #0f172a;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.course-admission-step__card {
  width: 100%;
  padding: 16px 14px 18px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.course-admission-step__card h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.course-admission-step__card p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #e2e8f0;
}

.course-admission-stage__note {
  margin: 0 0 20px;
  font-size: 0.8125rem;
  font-style: italic;
  line-height: 1.5;
  color: #cbd5e1;
  max-width: 52ch;
}

.course-admission-stage__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  background: #fff;
  border-radius: 999px;
  transition: transform 0.15s ease;
}

.course-admission-stage__cta:hover {
  transform: translateY(-1px);
}

/* Syllabus dark band */
.course-syllabus-band {
  position: relative;
  padding: clamp(28px, 3vw, 36px) 0;
  border-radius: 0;
  overflow: hidden;
  color: #fff;
  background: #121212;
}

.course-syllabus-band__grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.course-syllabus-band__grid-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 40%, rgba(255, 255, 255, 0.04) 50%, transparent 60%);
}

.course-syllabus-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.course-syllabus-band__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.course-syllabus-band__copy h2 {
  margin: 0 0 10px;
  font-family: var(--course-title-font);
  font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem);
  color: #fff;
  max-width: 18ch;
}

.course-syllabus-band__copy p {
  margin: 0 0 16px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #a1a1aa;
  max-width: 48ch;
}

.course-syllabus-band__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.course-syllabus-band__pill {
  display: inline-flex;
  padding: 10px 16px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.15s ease;
}

.course-syllabus-band__pill:hover {
  transform: translateY(-1px);
}

.course-syllabus-band__pill--lavender { background: #c3b1e1; }
.course-syllabus-band__pill--blue { background: #a2d2ff; }
.course-syllabus-band__pill--mint { background: #b2f2bb; }

.course-syllabus-band__download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  background: #fff;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.course-syllabus-band__docs {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.course-syllabus-band__docs-title {
  margin: 0 0 6px;
  font-family: var(--course-title-font);
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
}

.course-syllabus-band__docs-deck {
  margin: 0 0 16px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #a1a1aa;
  max-width: 52ch;
}

.course-doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.course-doc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.course-doc-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.course-doc-item__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #e2e8f0;
  background: rgba(59, 130, 246, 0.2);
}

.course-doc-item__label {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  color: #f1f5f9;
}

/* Required documents — modern checklist */
.course-docs-panel {
  background: transparent;
}

.course-docs-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(18px, 2.2vw, 24px);
  background: linear-gradient(165deg, #fafbfc 0%, #f4f7fb 48%, #f8fafc 100%);
  border: 1px solid var(--course-border);
  border-radius: 16px;
  box-shadow: var(--course-shadow-sm);
}

.course-docs-shell__banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  border-radius: 12px;
  color: #fff;
}

.course-docs-shell__banner-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.course-docs-shell__banner-title {
  margin: 0 0 4px;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
}

.course-docs-shell__banner-text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  max-width: 48ch;
}

.course-doc-grid-modern {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.course-doc-card {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--course-border);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.course-doc-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.course-doc-card__index {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
}

.course-doc-card__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: #1d4ed8;
  background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
}

.course-doc-card__label {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
  color: #1e293b;
}

.course-doc-card__tick {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--brand-green);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  opacity: 0.92;
}

.course-docs-footnote {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #64748b;
  background: #fff;
  border: 1px dashed #d1d9e6;
  border-radius: 10px;
}

.course-docs-footnote svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #94a3b8;
}

.course-doc-steps-modern {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  counter-reset: doc-step;
}

.course-doc-step-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--course-border);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.course-doc-step-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.course-doc-step-card__num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--brand-orange), #c2410c);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.28);
}

.course-doc-step-card__text {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  color: #334155;
}

.course-doc-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.course-doc-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.course-doc-steps__num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #0f172a;
  background: #fff;
  border-radius: 50%;
}

/* Related blogs */
.course-blog-card {
  flex: 0 0 min(300px, 78vw);
  scroll-snap-align: start;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--course-border);
  box-shadow: var(--course-shadow-sm);
}

.course-bleed--blogs .course-blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 16px 18px 20px;
}

/* Blog cards — uniform cropped image and equal heights */
.course-bleed--blogs .course-blog-card {
  display: flex;
  flex-direction: column;
}

.course-bleed--blogs .course-blog-card__media {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 16 / 10;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  border-radius: 14px 14px 0 0;
  line-height: 0;
}

.course-bleed--blogs .course-blog-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.course-blog-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.course-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.course-blog-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 10px 13px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1e293b;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Blog bleed: tag sits in media padding zone, not over face */
.course-bleed--blogs .course-blog-card__tag {
  top: 10px;
  left: 10px;
}

.course-blog-card__body {
  padding: 16px 18px 20px;
}

.course-blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  font-size: 0.75rem;
  color: #71717a;
}

.course-blog-card__meta svg {
  flex-shrink: 0;
}

.course-blog-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-blog-card h3 a {
  color: inherit;
  text-decoration: none;
}

.course-blog-card h3 a:hover {
  color: var(--brand-orange);
}

.course-steps--compact {
  grid-template-columns: 1fr;
  margin-bottom: 16px;
}

.course-steps--compact li {
  flex-direction: row;
  align-items: center;
}

@media (max-width: 1024px) {
  .course-fullwidth .course-worth-grid,
  .course-fullwidth .course-skill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-admission-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-doc-list,
  .course-doc-grid-modern,
  .course-doc-steps-modern {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .course-bleed__head {
    flex-direction: column;
    align-items: stretch;
  }

  .course-bleed__head h2 {
    max-width: none;
  }

  .course-syllabus-band__head {
    flex-direction: column;
  }

  .course-syllabus-band__download {
    width: 100%;
    justify-content: center;
  }

  .course-spec-grid {
    grid-template-columns: 1fr;
  }

  .course-admission-steps {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .course-admission-steps::-webkit-scrollbar {
    display: none;
  }

  .course-admission-step {
    flex: 0 0 min(220px, 78vw);
    scroll-snap-align: start;
  }

  .course-admission-stage__rail {
    left: 12px;
    right: 12px;
  }

  .course-admission-stage__title {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .course-highlight-card,
  .course-related-card,
  .course-related-card__media img,
  .course-faq .faq-answer,
  .course-bleed__track {
    transition: none;
    scroll-behavior: auto;
  }
}

/* Course page: tight end spacing before footer */
.course-page--detail-default .course-fullwidth {
  padding-bottom: clamp(20px, 2.5vw, 32px);
}

.course-page--detail-default .course-fullwidth .course-container--wide {
  padding-bottom: 0;
}

/* Course page mobile polish */
@media (max-width: 1024px) {
  .course-body {
    padding-bottom: 0;
  }

  .course-fullwidth {
    --course-fw-gap: clamp(28px, 4vw, 40px);
    padding-top: clamp(28px, 3.5vw, 40px);
  }

  .course-hero {
    padding-top: 84px;
  }

  .course-hero__grid {
    padding-bottom: 20px;
  }

  .course-stats {
    border-radius: 12px 12px 0 0;
  }
}

@media (max-width: 640px) {
  .course-container,
  .course-fullwidth .course-container--wide {
    width: min(1140px, calc(100% - 20px));
  }

  .course-hero__title {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
  }

  .course-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .course-hero__actions .btn {
    width: 100%;
    text-align: center;
  }

  .course-highlight-grid {
    grid-template-columns: 1fr;
  }

  .course-bleed--placement .course-bleed-card,
  .course-bleed--blogs .course-blog-card,
  .course-bleed--related .course-related-card {
    flex: 0 0 100%;
  }

  .course-related-card__media {
    aspect-ratio: 16 / 10;
  }

  .course-bleed--blogs .course-blog-card__media {
    aspect-ratio: 16 / 10;
    padding: 0;
  }

  .course-bleed__head .course-pill-btn {
    width: 100%;
    justify-content: center;
  }

  .course-panel {
    padding-left: 10px;
    padding-right: 10px;
  }

  .course-stats__item {
    padding: 14px 12px;
  }

  .course-docs-shell {
    padding: 16px;
    gap: 14px;
  }

  .course-docs-shell__banner {
    flex-direction: row;
    align-items: center;
  }

  .course-doc-card {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    padding: 14px;
  }

  .course-doc-card__index {
    display: none;
  }

  .course-doc-card__icon {
    width: 36px;
    height: 36px;
  }
}

/* ── Floating Subnav Widget (Bottom Center, Fixed Equal Width) ── */
.uni-prem__subnav {
  position: fixed;
  left: 50%;
  bottom: 28px;
  top: auto;
  right: auto;
  transform: translateX(-50%) translateY(80px);
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
}

.uni-prem__subnav.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.uni-prem__subnav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 220px;
  padding: 12px 20px;
  border-radius: 50px;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.45), 0 4px 14px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
}

.uni-prem__subnav-btn:hover {
  background: #1e293b;
  border-color: rgba(245, 158, 11, 0.65);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.55);
  transform: scale(1.03);
}

.uni-prem__subnav-btn-text {
  flex: 1;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ffffff;
}

.uni-prem__subnav-btn-icon {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.uni-prem__subnav-btn-icon svg {
  width: 16px;
  height: 16px;
  stroke: #ffffff;
  transition: transform 0.3s ease;
}

.uni-prem__subnav.is-open .uni-prem__subnav-btn {
  background: #1e293b;
  border-color: #ec4f25;
  box-shadow: 0 16px 40px rgba(236, 79, 37, 0.35);
}

.uni-prem__subnav.is-open .icon-caret {
  display: none !important;
}

.uni-prem__subnav.is-open .icon-close {
  display: block !important;
}

.uni-prem__subnav-inner {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: calc(100% + 12px);
  width: 240px;
  max-height: 360px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 8px 24px rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(12px) scale(0.94);
  transform-origin: bottom center;
  transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1), transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.28s;
  z-index: 1;
}

.uni-prem__subnav-inner::-webkit-scrollbar {
  width: 4px;
}

.uni-prem__subnav-inner::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}

.uni-prem__subnav.is-open .uni-prem__subnav-inner {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.uni-prem__subnav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.uni-prem__subnav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.uni-prem__subnav a::before {
  content: '◆';
  font-size: 0.55rem;
  opacity: 0;
  color: #f59e0b;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: scale(0.5);
}

.uni-prem__subnav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.uni-prem__subnav a.is-active {
  background: rgba(236, 79, 37, 0.22);
  color: #ffffff;
  font-weight: 800;
  border: 1px solid rgba(236, 79, 37, 0.45);
}

.uni-prem__subnav a.is-active::before {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 768px) {
  .uni-prem__subnav {
    bottom: 20px;
  }

  .uni-prem__subnav-btn {
    width: 200px;
    padding: 11px 16px;
  }

  .uni-prem__subnav-inner {
    width: 220px;
  }
}
