/* 文件描述：培训认证页样式（前缀 ct-，对齐 certification_training 结构） */

/* ── 页面基础 ── */
body.ct-page {

  color: var(--on-surface);
}



.ct-container {
  width: 100%;
  position: relative;
}

.ct-panel.is-hidden,
.ct-panel[hidden],
.ct-panel-group.is-hidden,
.ct-panel-group[hidden] {
  display: none !important;
}

/* ── 按钮 ── */
.ct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 24px;
  border-radius: var(--r8);
  font-size: var(--fs-16);
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.ct-btn:active {
  transform: scale(0.98);
}

.ct-btn--primary {
  background: var(--primary);
  color: var(--hero-on-primary);
  border-color: var(--primary);
}

.ct-btn--primary:hover {
  background: var(--primary-container);
  border-color: var(--primary-container);
  color: var(--hero-on-primary);
  box-shadow: var(--shadow-sm);
}

.ct-btn--outline {
  background: rgba(0, 87, 156, 0.08);
  color: var(--primary);
  border-color: rgba(0, 87, 156, 0.2);
}

.ct-btn--outline:hover {
  background: rgba(0, 87, 156, 0.14);
  border-color: var(--primary);
}

/* ── Hero ── */
.ct-hero {
  position: relative;
  background: #f8fafc;
}

.ct-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url(/static/skin/images/training/cert/bg_training.svg) center top no-repeat;
  background-size: cover;
  opacity: 1;
}

.ct-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  top: -50px;

   
}

/* ── Tab 卡片 ── */
.ct-tabs {
  display: flex;
  gap: clamp(12px, calc(100vw * 20 / 1440), 20px);
  align-items: stretch;
  max-width: var(--container-max);
  margin: 0 auto;
}

.ct-tab-card {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: clamp(20px, calc(100vw * 40 / 1440), 40px)
    clamp(24px, calc(100vw * 48 / 1440), 48px);
  border-radius: var(--r8);
  background: linear-gradient(90deg, #c7ddf54d 0%, #c7ddf500 100%), #FFFFFF;
  color: var(--on-surface);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(17, 83, 145, 0.06);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.ct-tab-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(17, 83, 145, 0.1);
}

.ct-tab-card--active {
  
  color: var(--on-surface);
}

.ct-tab-card--alt:not(.ct-tab-card--active) {
  background: linear-gradient(257deg, #023d73 0%, #02569b 66%, #014a86 99%), linear-gradient(90deg, #c7ddf54d 0%, #c7ddf500 100%), #FFFFFF;
  color: #FFFFFF;
 
}

.ct-tab-card-icon {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(120px, calc(100vw * 250 / 1440), 250px);
  height: clamp(80px, calc(100vw * 160 / 1440), 160px);
  background: url(/static/skin/images/training/cert/icon_number.svg) no-repeat;
  background-position-y: -160px;
  background-size: auto 320px;
  pointer-events: none;
  opacity: 0.85;
}

.ct-tab-card-icon--1 {
  background-position-x: 0;
}

.ct-tab-card-icon--2 {
  background-position-x: -250px;
}

.ct-tab-card--active .ct-tab-card-icon {
  background-position-y: 0;
}

.ct-tab-card--alt:not(.ct-tab-card--active) .ct-tab-card-icon {
  opacity: 0.35;
}

.ct-tab-card-title {
  position: relative;
  z-index: 1;
  font-size: var(--fs-24);
  font-weight: 600;
  line-height: 1.4;
  color: inherit;
}

.ct-tab-card--active .ct-tab-card-title {
  color: var(--primary);
}

.ct-tab-card--alt:not(.ct-tab-card--active) .ct-tab-card-title {
  color: var(--hero-on-primary);
}

.ct-tab-card-desc {
  position: relative;
  z-index: 1;
  font-size: var(--fs-16);
  line-height: 1.7;
  color: var(--on-surface-variant);
  text-align: justify;
}

.ct-tab-card--alt:not(.ct-tab-card--active) .ct-tab-card-desc {
  color: rgba(255, 255, 255, 0.6);
}

/* ── 主内容区（通栏背景 + 内层限宽） ── */
.ct-main {
  width: 100%;
}

.ct-panel {
  width: 100%;
}

.ct-panel-inner {
  width: 100%;
  max-width: min(var(--container-max), 100%);
  margin: 0 auto;
  padding: var(--section-py) var(--container-px);
  box-sizing: border-box;
}

.ct-panel--courses {
  background: #f3f7fb;
}

.ct-panel--courses .ct-section-title {
  color: var(--on-surface);
}

.ct-panel--teachers {
  background: #fff;
  overflow: hidden;
}

.ct-panel--notes {
  background-color: #eef4fc;
  background-image: url(/static/skin/images/training/cert/f-bg.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.ct-panel--notes .ct-panel-inner {
  display: flex;
  align-items: center;
  min-height: clamp(360px, calc(100vw * 480 / 1440), 480px);
}

.ct-notes-layout {
  width: 80%;
}

/* ── 注意事项 ── */
.ct-notes {
  padding: clamp(24px, calc(100vw * 32 / 1440), 32px)
    clamp(24px, calc(100vw * 40 / 1440), 40px);
    background: linear-gradient(180deg, #ffffff80 0%, #ffffff00 100%);
  border-radius: var(--r8);

}

.ct-notes-title {
  margin: 0 0 clamp(16px, calc(100vw * 24 / 1440), 24px);
  font-size: clamp(22px, calc(100vw * 28 / 1440), 28px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--primary);
}

.ct-notes-item {
  display: grid;
  grid-template-columns: minmax(120px, 188px) minmax(0, 1fr);
  gap: 8px clamp(16px, calc(100vw * 24 / 1440), 24px);
  margin-bottom: clamp(14px, calc(100vw * 20 / 1440), 20px);
}

.ct-notes-item:last-child {
  margin-bottom: 0;
}

.ct-notes-label {
  margin: 0;
  font-size: var(--fs-16);
  font-weight: 600;
  line-height: 1.6;
  color: var(--on-surface);
}

.ct-notes-content {
  font-size: var(--fs-14);
  line-height: 1.75;
  color: var(--slate-600);
}

.ct-notes-content p {
  margin: 0 0 8px;
}

.ct-notes-content p:last-child {
  margin-bottom: 0;
}

.ct-notes-content p span {
  display: inline-block;
  min-width: clamp(160px, calc(100vw * 220 / 1440), 220px);
  margin-right: 8px;
  font-weight: 500;
  color: var(--on-surface);
}

.ct-panel--gs-cert {
  background: var(--slate-50);
}

.ct-panel--gs-cert .ct-section-title {
  color: var(--on-surface);
}

.ct-section-title {
  margin: 0 0 clamp(24px, calc(100vw * 40 / 1440), 40px);
  font-size: clamp(24px, calc(100vw * 36 / 1440), 36px);
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  color: var(--hero-on-primary);
}

/* ── 课程介绍：侧栏 + 详情 ── */
.ct-courses-layout {
  display: grid;
  grid-template-columns: min(280px, 30%) minmax(0, 1fr);
  gap: clamp(16px, calc(100vw * 24 / 1440), 24px);
  align-items: start;
}

.ct-courses-nav-list {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--r8);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(17, 83, 145, 0.04);
}

.ct-courses-nav-item {
  --nav-accent: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  margin: 0;
  padding: clamp(14px, calc(100vw * 18 / 1440), 18px) clamp(16px, calc(100vw * 20 / 1440), 20px);
  border: none;
  border-bottom: 1px solid var(--slate-200);
  background: #fff;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.2s ease;
}

/* ZCCE / ZCIE / ZCOE：黄色系 */
.ct-courses-nav-item[data-course="zcce"],
.ct-courses-nav-item[data-course="zcie"],
.ct-courses-nav-item[data-course="zcoe"] {
  --nav-accent: #df9900;
}

/* ZCCA：红色系 */
.ct-courses-nav-item[data-course="zcca"] {
  --nav-accent: #ee585d;
}

.ct-courses-nav-item:last-child {
  border-bottom: none;
}

.ct-courses-nav-item:hover {
  background: color-mix(in srgb, var(--nav-accent) 6%, #fff);
}

.ct-courses-nav-item.is-active {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--nav-accent) 18%, transparent) 0%,
    transparent 100%
  ), #fff;
}

.ct-courses-nav-code {
  font-size: var(--fs-16);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--nav-accent);
}

.ct-courses-nav-item.is-active .ct-courses-nav-code {
  color: var(--nav-accent);
}

.ct-courses-nav-name {
  font-size: var(--fs-14);
  font-weight: 400;
  line-height: 1.5;
  color: var(--slate-500);
}

.ct-courses-nav-item.is-active .ct-courses-nav-name {
  color: var(--nav-accent);
}

.ct-courses-detail {
  position: relative;
  min-width: 0;
}

.ct-course-panel {
  --course-accent: var(--primary);
  display: none;
  padding: clamp(24px, calc(100vw * 40 / 1440), 40px);
  background: #fff;
  border: 1px solid rgba(0, 87, 156, 0.08);
  border-radius: var(--r8);
  box-shadow: 0 8px 32px rgba(17, 83, 145, 0.08);
}

.ct-course-panel--zcce {
  --course-accent: #df9900;
}

.ct-course-panel--zcca {
  --course-accent: #ee585d;
}

.ct-course-panel[hidden] {
  display: none !important;
}

.ct-course-panel.is-active:not([hidden]) {
  display: block;
}

.ct-course-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(20px, calc(100vw * 28 / 1440), 28px);
}

.ct-course-panel-titles {
  position: relative;
  flex: 1;
  min-width: 0;
  padding-right: clamp(80px, calc(100vw * 140 / 1440), 140px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.ct-course-panel-code {
  margin: 0;
  font-size: var(--fs-26);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--course-accent);
}

.ct-course-panel-name {
  margin: 0;
  font-size: var(--fs-16);
  font-weight: 400;
  line-height: 1.5;
  color: var(--slate-500);
}

.ct-course-panel-badge {
  flex-shrink: 0;
  width: clamp(56px, calc(100vw * 72 / 1440), 72px);
  height: clamp(56px, calc(100vw * 72 / 1440), 72px);
  object-fit: contain;
}

.ct-course-panel-summary {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, calc(100vw * 24 / 1440), 24px) clamp(20px, calc(100vw * 40 / 1440), 40px);
  margin-bottom: clamp(20px, calc(100vw * 28 / 1440), 28px);
  padding: clamp(14px, calc(100vw * 18 / 1440), 18px) clamp(16px, calc(100vw * 24 / 1440), 24px);
  background: var(--slate-100);
  border-radius: var(--r8);
}

.ct-course-summary-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 120px;
}



.ct-course-summary-label {
  font-size: var(--fs-14);
  line-height: 1.4;
  color: var(--slate-600);
}

.ct-course-summary-value {
  font-size: var(--fs-14);
  font-weight: 500;
  line-height: 1.6;
  color: var(--on-surface);
}

.ct-course-panel-body {
  margin-bottom: clamp(20px, calc(100vw * 28 / 1440), 28px);
}

.ct-course-values-label {
  margin: 0 0 16px;
  font-size: var(--fs-14);
  line-height: 1.6;
  color: var(--slate-600);
}

.ct-course-panel .ct-course-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px clamp(16px, calc(100vw * 32 / 1440), 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ct-course-panel .ct-course-points li {
  position: relative;
  padding-left: 24px;
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.6;
  color: var(--primary);
  text-align: left;
}

.ct-course-panel .ct-course-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  background: url(/static/skin/images/training/cert/point_1.svg) no-repeat center / contain;
}

.ct-course-panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: clamp(20px, calc(100vw * 28 / 1440), 28px);
  border-top: 1px solid var(--slate-200);
}

.ct-course-panel-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ct-course-price-label {
  font-size: var(--fs-14);
  line-height: 1.4;
  color: var(--slate-600);
}

.ct-course-panel-foot .ct-course-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin: 0;
  color: var(--primary-container);
}

.ct-course-panel-foot .ct-course-price--zcce {
  color: #df9900;
}

.ct-course-panel-foot .ct-course-price--zcca {
  color: #ee585d;
}

.ct-course-panel-foot .ct-course-price-symbol {
  font-size: clamp(18px, calc(100vw * 24 / 1440), 24px);
  font-weight: 500;
}

.ct-course-panel-foot .ct-course-price-value {
  font-size: clamp(28px, calc(100vw * 40 / 1440), 40px);
  font-weight: 600;
  line-height: 1.1;
}

.ct-course-panel-action {
  flex-shrink: 0;
}

.ct-course-panel-action .ct-btn {
  min-width: 160px;
  min-height: 44px;
}

/* ── 讲师介绍：双行无限滚动 ── */
.ct-panel--teachers .ct-panel-inner {
  overflow: visible;
}

.ct-teachers {
  position: relative;
  margin: 0;
  padding: 0;
}

.ct-teachers-title {
  margin: 0 0 clamp(28px, calc(100vw * 40 / 1440), 40px);
  font-size: clamp(24px, calc(100vw * 36 / 1440), 36px);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: var(--on-surface);
}

.ct-teachers-marquee {
  --ct-teachers-fade: #fff;
  position: relative;
  margin-left: calc(-1 * var(--container-px));
  margin-right: calc(-1 * var(--container-px));
  overflow: hidden;
}

.ct-teachers-marquee-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(48px, calc(100vw * 120 / 1440), 120px);
  pointer-events: none;
}

.ct-teachers-marquee-fade--left {
  left: 0;
  background: linear-gradient(90deg, var(--ct-teachers-fade) 0%, rgba(255, 255, 255, 0) 100%);
}

.ct-teachers-marquee-fade--right {
  right: 0;
  background: linear-gradient(270deg, var(--ct-teachers-fade) 0%, rgba(255, 255, 255, 0) 100%);
}

.ct-teachers-marquee-row {
  overflow: hidden;
  margin-bottom: clamp(12px, calc(100vw * 20 / 1440), 20px);
}

.ct-teachers-marquee-row:last-child {
  margin-bottom: 0;
}

.ct-teachers-marquee-track {
  display: flex;
  gap: clamp(12px, calc(100vw * 20 / 1440), 20px);
  width: max-content;
  animation: ct-teachers-marquee 56s linear infinite;
}

.ct-teachers-marquee-track--reverse {
  animation-direction: reverse;
  animation-duration: 64s;
}

.ct-teachers-marquee-track.is-paused {
  animation-play-state: paused;
}

@keyframes ct-teachers-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.ct-teacher-card {
  flex: 0 0 auto;
  width: clamp(300px, calc(100vw * 420 / 1440), 420px);
  display: flex;
  flex-direction: column;
  padding: clamp(16px, calc(100vw * 20 / 1440), 20px) clamp(18px, calc(100vw * 24 / 1440), 24px);
  background: linear-gradient(300deg, #f0f4f6 9%, #f7fafc00 85%), #FFFFFF;
  box-sizing: border-box;
  border: 1px solid rgba(193, 199, 212, 0.3);
  border-radius: var(--r8);
  box-shadow: 0 4px 20px rgba(17, 83, 145, 0.06);
}

.ct-teacher-card-head {
  display: flex;
  align-items: center;
  gap: clamp(12px, calc(100vw * 16 / 1440), 16px);
  margin-bottom: clamp(10px, calc(100vw * 12 / 1440), 12px);
}

.ct-teacher-avatar {
  flex-shrink: 0;
  width: clamp(56px, calc(100vw * 64 / 1440), 64px);
  height: clamp(56px, calc(100vw * 64 / 1440), 64px);
  border-radius: 50%;
  object-fit: cover;
}

.ct-teacher-head {
  min-width: 0;
}

.ct-teacher-name {
  margin: 0 0 4px;
  font-size: clamp(16px, calc(100vw * 18 / 1440), 18px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--primary);
}

.ct-teacher-role {
  display: block;
  font-size: var(--fs-14);
  line-height: 1.45;
  color: var(--on-surface);
}

.ct-teacher-bio {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.65;
  color: var(--slate-600);
  text-align: justify;
}

@media (prefers-reduced-motion: reduce) {
  .ct-teachers-marquee-track {
    animation: none;
  }
}

/* ── 工信人才证书 Panel ── */
.ct-gs-cert {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(32px, calc(100vw * 80 / 1440), 80px)
    clamp(24px, calc(100vw * 100 / 1440), 100px);
  background: #fff;
  border: 1px solid rgba(0, 87, 156, 0.12);
  border-radius: var(--r8);
  box-shadow: 0 5px 20px rgba(17, 83, 145, 0.08);
  text-align: center;
}

.ct-gs-cert-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, calc(100vw * 60 / 1440), 60px);
  margin-bottom: clamp(32px, calc(100vw * 48 / 1440), 48px);
}

.ct-gs-cert-logo {
  display: block;
  width: auto;
  max-width: 160px;
  height: auto;
  object-fit: contain;
}

.ct-gs-cert-logo-mid {
  width: 2px;
  height: 32px;
  background: var(--slate-200);
}

.ct-gs-cert-heading {
  margin: 0 0 16px;
  font-size: clamp(24px, calc(100vw * 36 / 1440), 40px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--on-surface);
}

.ct-gs-cert-desc {
  margin: 0 0 clamp(24px, calc(100vw * 32 / 1440), 32px);
  font-size: clamp(16px, calc(100vw * 18 / 1440), 20px);
  line-height: 1.7;
  color: var(--on-surface-variant);
}

.ct-gs-cert-steps {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 clamp(32px, calc(100vw * 48 / 1440), 48px);
  padding: 0;
  list-style: none;
}

.ct-gs-cert-steps::before {
  content: "";
  position: absolute;
  top: 88px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: url(/static/skin/images/training/cert/icon_line.svg) repeat-x;
  background-position-y: -2px;
  z-index: 0;
}

.ct-gs-cert-steps::after {
  content: "";
  position: absolute;
  top: 88px;
  left: 10%;
  width: 0;
  height: 2px;
  background: url(/static/skin/images/training/cert/icon_line.svg) repeat-x;
  z-index: 1;
}

.ct-gs-cert-step {
  position: relative;
  z-index: 2;
  flex: 1 1 240px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ct-gs-cert-step-num {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary);
}

.ct-gs-cert-step-icon {
  width: 32px;
  height: 32px;
  background: url(/static/skin/images/training/cert/icon_time_axis.svg) no-repeat center / contain;
}

.ct-gs-cert-step-title {
  font-size: var(--fs-18);
  font-weight: 600;
  line-height: 1.4;
  color: var(--on-surface);
}

.ct-gs-cert-step-desc {
  font-size: var(--fs-14);
  line-height: 1.7;
  color: var(--slate-600);
}

.ct-gs-cert-step-desc span {
  color: var(--slate-400);
}

.ct-gs-cert .ct-btn--primary {
  min-width: 180px;
}

/* ── 合作伙伴 ── */
.ct-partners {
  width: 100%;
  background: #fff;
  text-align: center;
}

.ct-partners .ct-panel-inner {
  padding-top: clamp(48px, calc(100vw * 80 / 1440), 80px);
  padding-bottom: clamp(48px, calc(100vw * 80 / 1440), 80px);
}

.ct-partners-title {
  margin: 0 0 clamp(24px, calc(100vw * 32 / 1440), 32px);
  font-size: clamp(24px, calc(100vw * 36 / 1440), 36px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--on-surface);
}

.ct-partners-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1060px;
  margin: 0 auto clamp(24px, calc(100vw * 40 / 1440), 40px);
}

.ct-partners-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 16px;
  background: var(--slate-100);
  border-radius: var(--r8);
}

.ct-partners-item img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}

.ct-partners-item--more p {
  margin: 0;
  font-size: var(--fs-16);
  color: var(--slate-600);
}

.ct-partners-desc {
  margin: 0 0 20px;
  font-size: var(--fs-20);
  line-height: 1.5;
  color: var(--on-surface-variant);
}

.ct-partners-join {
  min-width: 180px;
}

/* ── 底部 CTA ── */
.ct-cta {
  background: url(/static/skin/images/training/cert/footer_banner_bg_blue.svg) center / cover no-repeat;
}

.ct-cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 970px;
  min-height: clamp(180px, calc(100vw * 280 / 1440), 280px);
  margin: 0 auto;
  padding: clamp(32px, calc(100vw * 48 / 1440), 48px) var(--container-px);
  
}

.ct-cta-text {
  margin: 0;
  font-size: clamp(22px, calc(100vw * 36 / 1440), 36px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--hero-on-primary);
}

.ct-cta-link {
  flex-shrink: 0;
  min-width: 180px;
  background: transparent;
  border-color: var(--hero-on-primary);
  color: var(--hero-on-primary);
}

.ct-cta-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--hero-on-primary);
  color: var(--hero-on-primary);
}

/* ── 响应式 ── */
@media (max-width: 1200px) {
  .ct-partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ct-hero{
    padding: 0 15px;
}

}

@media (max-width: 980px) {
  .ct-tabs {
    flex-direction: column;
  }

  .ct-tab-card {
    width: 100%;
  }

  .ct-courses-layout {
    grid-template-columns: 1fr;
  }

  .ct-courses-nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ct-courses-nav-item {
    border-right: 1px solid var(--slate-200);
  }

  .ct-courses-nav-item:nth-child(2n) {
    border-right: none;
  }

  .ct-courses-nav-item:nth-last-child(-n + 2) {
    border-bottom: none;
  }

  .ct-gs-cert-steps::before,
  .ct-gs-cert-steps::after {
    display: none;
  }

  .ct-gs-cert-step-icon {
    display: none;
  }

  .ct-gs-cert-steps {
    flex-direction: column;
    align-items: center;
  }

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

@media (max-width: 768px) {
  .ct-hero-inner {
    padding-top: 40px;
    padding-bottom: 32px;
  }

  .ct-hero{
      padding: 0 15px;
  }

  .ct-panel-inner {
    padding-top: clamp(32px, 8vw, 48px);
    padding-bottom: clamp(32px, 8vw, 48px);
  }

  .ct-partners .ct-panel-inner {
    padding-top: clamp(32px, 8vw, 48px);
    padding-bottom: clamp(32px, 8vw, 48px);
  }

  .ct-course-panel .ct-course-points {
    grid-template-columns: 1fr;
  }

  .ct-course-panel-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .ct-course-panel-action .ct-btn {
    width: 100%;
  }

  .ct-teacher-card {
    width: min(320px, 82vw);
  }

  .ct-teachers-marquee-fade {
    width: clamp(32px, 10vw, 64px);
  }

  .ct-notes-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .ct-panel--notes .ct-panel-inner {
    min-height: auto;
    padding-top: clamp(32px, 8vw, 48px);
    padding-bottom: clamp(32px, 8vw, 48px);
  }

  .ct-notes-layout {
    width: 100%;
  }

  .ct-notes-content p span {
    display: block;
    min-width: 0;
    margin-bottom: 4px;
  }

  .ct-cta-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .ct-partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: none;
  }

  .ct-partners-item {
    min-height: 88px;
    padding: 12px;
  }

  .ct-partners-item img {
    max-height: 48px;
  }
}

@media (max-width: 480px) {
  .ct-courses-nav-list {
    grid-template-columns: 1fr;
  }

  .ct-courses-nav-item {
    border-right: none;
  }

  .ct-courses-nav-item:not(:last-child) {
    border-bottom: 1px solid var(--slate-200);
  }

  .ct-tab-card-icon {
    width: 100px;
    height: 64px;
    background-size: auto 128px;
    background-position-y: -64px;
  }

  .ct-tab-card-icon--2 {
    background-position-x: -100px;
  }

  .ct-tab-card--active .ct-tab-card-icon {
    background-position-y: 0;
  }
}
