/* Generated by tools/build-theme-css.py. Do not edit directly. */
.cb-course-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: livePulse 2s ease infinite;
}

/* Prototype-matched inner page sections */
.sub-hero {
  background: var(--navy-deep);
  padding: 72px 32px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(184, 41, 45, 0.06), transparent 50%);
}

.sub-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image:
    linear-gradient(rgba(255, 255, 255, 1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 1) 1px, transparent 1px);
  background-size: 40px 40px;
}

.sub-hero h1 {
  position: relative;
  z-index: 2;
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.5vw, 50px);
  font-weight: 500;
  animation: hStag 0.6s var(--ease-out) 0.1s both;
}

.sub-hero h1 .ri {
  color: var(--red);
  font-style: italic;
  font-weight: 600;
}

.sub-hero > p {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.4);
  font-size: 15px;
  line-height: 1.7;
  animation: hStag 0.6s var(--ease-out) 0.2s both;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.c-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(27, 38, 85, 0.04);
  border-radius: var(--radius-xl);
  background: var(--white);
  transition: all 0.4s var(--ease-spring);
}

.c-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-strong);
}

.c-thumb {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.c-thumb.has-image {
  overflow: hidden;
  padding: 0;
  font-size: 0;
}

.c-thumb.has-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.c-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
}

.ct1 { background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid)); }
.ct2 { background: linear-gradient(135deg, #1a3d35, #2d7a5e); }
.ct3 { background: linear-gradient(135deg, #5a1520, var(--red)); }

.c-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.c-body h3 {
  margin: 0 0 5px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
}

.c-title-link {
  color: inherit;
  text-decoration: none;
}

.c-title-link:hover {
  color: var(--red);
}

.c-sub {
  margin-bottom: 10px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.c-body > p {
  margin: 0 0 14px;
  color: var(--stone);
  font-size: 13.5px;
  line-height: 1.6;
}

.c-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 16px;
}

.c-tag {
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--cream);
  color: var(--stone);
  font-size: 11px;
  font-weight: 500;
  transition: all 0.2s;
}

.c-tag:hover {
  background: var(--red-glow);
  color: var(--red);
}

.c-details-link {
  margin-bottom: 14px;
  color: var(--red);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}

.c-details-link:hover {
  color: var(--navy);
}

.c-foot {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid rgba(27, 38, 85, 0.05);
}

.c-enroll {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 36px;
  border-radius: var(--radius-md);
  background: var(--navy);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.3s var(--ease-spring);
}

.c-enroll:hover {
  background: var(--red);
  transform: scale(1.05);
}

.cie-page {
  background: var(--white);
}

.cie-hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
}

.cie-hero-stripe {
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--red);
}

.cie-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 64px;
  align-items: start;
  padding-top: 72px;
  padding-bottom: 80px;
}

.cie-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cie-eyebrow a,
.cie-eyebrow span {
  color: inherit;
}

.cie-eyebrow span:last-child {
  color: var(--red);
}

.cie-hero-title {
  margin: 0 0 20px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(46px, 5.5vw, 76px);
  font-weight: 500;
  line-height: 1.01;
}

.cie-hero-title .ri {
  color: var(--red);
  font-style: italic;
}

.cie-hero-title--zh-single {
  white-space: nowrap;
  font-size: clamp(42px, 5vw, 70px);
}

.cie-hero-title--zh-single .ri {
  font-style: normal;
}

.cie-divider {
  width: 48px;
  height: 3px;
  margin-bottom: 22px;
  border-radius: 2px;
  background: var(--red);
}

.cie-hero-sub {
  max-width: 480px;
  margin: 0 0 36px;
  color: var(--stone);
  font-size: 16px;
  line-height: 1.74;
}

.cie-hero-stats {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  overflow: hidden;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md);
  background: var(--white);
}

.cie-hstat {
  flex: 1;
  padding: 18px 20px;
  border-right: 1px solid var(--cream-dark);
  text-align: center;
}

.cie-hstat:last-child {
  border-right: none;
}

.cie-hstat-n {
  margin-bottom: 4px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
}

.cie-hstat-l {
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.cie-actions,
.cie-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.3s var(--ease-spring);
}

.btn-primary {
  padding: 14px 30px;
  background: var(--red);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 41, 45, 0.3);
}

.btn-ghost {
  padding: 14px 24px;
  border: 1.5px solid rgba(27, 38, 85, 0.2);
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 600;
}

.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red);
}

.cie-panel {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--navy);
  box-shadow: var(--shadow-strong);
}

.cie-panel-media {
  position: relative;
  height: 220px;
}

.cie-panel-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14, 22, 50, 0.28), rgba(14, 22, 50, 0.72));
}

.cie-panel-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cie-panel-media-copy {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 2;
}

.cie-panel-media-kicker {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cie-panel-media-title {
  margin-top: 3px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
}

.cie-panel-body {
  padding: 24px;
}

.cie-panel-tag {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cie-panel-title {
  margin-bottom: 18px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
}

.cie-panel-rows {
  display: flex;
  flex-direction: column;
}

.cie-panel-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.cie-panel-row:last-child {
  border-bottom: none;
}

.cie-panel-row strong {
  color: rgba(255, 255, 255, 0.85);
}

.cie-panel-row-icon {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--red);
}

.cie-panel-promo {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 24px 24px;
  padding: 12px 14px;
  border: 1px solid rgba(184, 41, 45, 0.2);
  border-radius: var(--radius-md);
  background: rgba(184, 41, 45, 0.12);
}

.cie-panel-promo p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  line-height: 1.5;
}

.cie-panel-promo strong {
  color: rgba(255, 255, 255, 0.85);
}

.cie-panel-promo-icon {
  flex-shrink: 0;
  font-size: 16px;
}

.cie-curriculum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.cie-curr-card {
  overflow: hidden;
  border: 1px solid rgba(27, 38, 85, 0.05);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: all 0.4s var(--ease-spring);
}

.cie-curr-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.cie-curr-header {
  position: relative;
  padding: 22px 22px 16px;
}

.cie-curr-num {
  position: absolute;
  top: 10px;
  right: 18px;
  color: rgba(27, 38, 85, 0.06);
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 300;
  line-height: 1;
}

.cie-curr-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cie-curr-header h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
}

.cie-curr-cefr {
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.5px;
}

.cie-curr-body {
  padding: 0 22px 22px;
  border-top: 1px solid rgba(27, 38, 85, 0.1);
}

.cie-curr-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 14px 0;
}

.cie-cskill {
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--cream);
  color: var(--stone);
  font-size: 11px;
  font-weight: 500;
}

.cie-curr-desc {
  color: var(--stone);
  font-size: 12.5px;
  line-height: 1.6;
}

.cie-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.cie-two-col-center {
  align-items: center;
}

.cie-two-col-top {
  align-items: start;
}

.cie-space-bottom {
  margin-bottom: 28px;
}

.cie-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.cie-fit-grid-single {
  grid-template-columns: 1fr;
  margin-top: 0;
}

.cie-fit-card {
  padding: 24px;
  border-left: 3px solid var(--red);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: all 0.3s;
}

.cie-fit-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-med);
}

.cie-fit-card h4 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 700;
}

.cie-fit-card p {
  color: var(--stone);
  font-size: 13px;
  line-height: 1.6;
}

.cie-schedule-wrap {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.cie-schedule-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 30px;
  background: var(--navy);
}

.cie-schedule-header h3 {
  margin: 0;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
}

.cie-schedule-header p {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12.5px;
}

.cie-schedule-body {
  padding: 8px 0;
}

.cie-sched-row {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 16px 30px;
  border-bottom: 1px solid rgba(27, 38, 85, 0.05);
  transition: background 0.2s;
}

.cie-sched-row:hover {
  background: var(--cream);
}

.cie-sched-row:last-child {
  border-bottom: none;
}

.cie-sched-time {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}

.cie-sched-act {
  margin-bottom: 2px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}

.cie-sched-note {
  color: var(--stone);
  font-size: 12px;
}

.cie-sched-tag {
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--red-glow);
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}

.cie-center-head,
.cie-faq-wrap {
  max-width: 700px;
  margin: 0 auto;
}

.cie-center-head {
  text-align: center;
}

.cie-center-copy,
.cie-faq-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.cie-skills-media {
  height: 260px;
  margin-top: 36px;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.cie-skills-media img,
.cie-method-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cie-skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.cie-skill-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
  transition: all 0.4s var(--ease-spring);
}

.cie-skill-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.07);
}

.cie-skill-icon {
  margin-bottom: 12px;
  font-size: 36px;
}

.cie-skill-card h4 {
  margin: 0 0 6px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
}

.cie-skill-card p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12.5px;
  line-height: 1.6;
}

.cie-method-media {
  height: 280px;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.cie-method-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cie-method-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: start;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(27, 38, 85, 0.07);
  transition: transform 0.3s;
}

.cie-method-item:hover {
  transform: translateX(6px);
}

.cie-method-item:last-child {
  border-bottom: none;
}

.cie-method-num {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--red-glow);
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
}

.cie-method-text h4 {
  margin: 0 0 6px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
}

.cie-method-text p {
  color: var(--stone);
  font-size: 13.5px;
  line-height: 1.65;
}

.cie-test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.cie-test-card {
  padding: 26px;
  border: 1px solid rgba(27, 38, 85, 0.05);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: all 0.4s var(--ease-spring);
}

.cie-test-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-med);
}

.cie-test-stars {
  margin-bottom: 10px;
  color: var(--red);
  font-size: 11px;
  letter-spacing: 3px;
}

.cie-test-card blockquote {
  margin: 0 0 14px;
  color: var(--charcoal);
  font-family: var(--font-serif);
  font-size: 15px;
  font-style: italic;
  line-height: 1.65;
}

.cie-test-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(27, 38, 85, 0.05);
}

.cie-test-avatar {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cream);
  font-size: 15px;
}

.cie-test-name {
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.cie-test-detail {
  color: var(--stone);
  font-size: 11.5px;
}

.cie-faq-wrap .faq-list {
  margin-top: 36px;
}

.cie-cta-strip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  overflow: hidden;
  padding: 52px 56px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid));
}

.cie-cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(184, 41, 45, 0.08), transparent 60%);
}

.cie-cta-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.02;
  background-image:
    linear-gradient(rgba(255, 255, 255, 1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 1) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cie-cta-copy,
.cie-cta-actions {
  position: relative;
  z-index: 2;
}

.cie-cta-copy h2 {
  margin: 0 0 8px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 32px);
}

.cie-cta-copy p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
}

@media (max-width: 640px) {
  .sub-hero {
    padding: 64px 24px 48px;
  }
}

@media (max-width: 1024px) {
  .cie-hero-inner,
  .cie-two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cie-panel {
    max-width: 520px;
  }

  .cie-curriculum-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cie-skills-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cie-test-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cie-hero-inner {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .cie-hero-stats {
    flex-wrap: wrap;
  }

  .cie-hstat {
    min-width: 50%;
    border-right: 0;
    border-bottom: 1px solid var(--cream-dark);
  }

  .cie-hstat:nth-child(odd) {
    border-right: 1px solid var(--cream-dark);
  }

  .cie-hstat:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .cie-curriculum-grid,
  .cie-skills-grid,
  .cie-fit-grid {
    grid-template-columns: 1fr;
  }

  .cie-sched-row {
    grid-template-columns: 100px 1fr;
    gap: 8px;
  }

  .cie-sched-tag {
    display: none;
  }

  .cie-cta-strip {
    padding: 36px 24px;
  }
}
