/* 两栏详情页共享样式：培训系列 + 数字化人才（体系/工作坊/大赛） */
:root {
  --about-gradient: linear-gradient(135deg, rgba(7, 28, 48, 0.95) 0%, rgba(23, 101, 140, 0.92) 55%, rgba(180, 136, 44, 0.85) 100%);
  --about-dark: #0b1a29;
  --course-accent: #0d6efd;
  --course-accent-warm: #fd7e14;
  --dt-primary: #0d6efd;
  --detail-sticky-top: 88px;
}
.page-hero::after {
  background: var(--hero-bg, url("../images/banner/b2.jpg")) center/cover;
  opacity: 0.2;
  mix-blend-mode: screen;
}

/* —— 区块容器 —— */
.courses-section,
.workshop-section {
  background-color: #f1f5f9;
  padding: 80px 0;
}
.courses-section .schedule-title,
.workshop-section .schedule-title {
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

/* —— 培训系列卡片 —— */
.courses-section .outline-card {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 20px;
  border-left: 5px solid var(--course-accent);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.courses-section .outline-card.accent-day {
  border-left-color: var(--course-accent-warm);
  background: #fffaf5;
}
.day-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.day-row h5 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  flex: 1;
  min-width: 0;
}
.course-lede {
  color: #64748b;
  line-height: 1.7;
  margin: 0;
  font-size: 0.92rem;
}
.course-audience {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.55;
  padding: 8px 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}
.courses-section .outline-card.accent-day .course-audience {
  background: #fff7ed;
  border-color: #fed7aa;
}
.course-block { margin-top: 2px; }
.course-block strong {
  display: block;
  font-size: 0.88rem;
  color: #0f172a;
  margin-bottom: 4px;
}
.pain-points {
  margin: 0;
  padding-left: 1.1rem;
  color: #64748b;
  line-height: 1.65;
  font-size: 0.88rem;
}
.course-highlight-box {
  background: #fff;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.course-highlight-box > img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.1rem;
  display: block;
}
.why-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.why-list li {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.55;
}
.why-list .why-icon {
  font-size: 1.15rem;
  line-height: 1.3;
  flex-shrink: 0;
}
.contact-box {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  line-height: 1.65;
  color: #64748b;
  font-size: 0.9rem;
}
.contact-link {
  color: var(--course-accent);
  text-decoration: none;
  font-weight: 600;
}
.contact-link:hover {
  color: #0a58ca;
  text-decoration: underline;
}
.footer-note {
  font-weight: 700;
  margin-top: 0.85rem;
  margin-bottom: 0;
  color: #0f172a;
  font-size: 0.95rem;
}

/* —— 数字化人才卡片 —— */
.workshop-section .outline-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  border-left: 5px solid #ccc;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}
.workshop-section .outline-card.active-day { border-left-color: var(--dt-primary); }
.workshop-section .outline-card.accent-day {
  border-left-color: #fd7e14;
  background: #fffaf5;
}
.workshop-section .outline-card.level-2 { border-left-color: #0dcaf0; }
.workshop-section .outline-card.level-3 { border-left-color: #198754; }
.day-tag {
  font-size: 0.85rem;
  font-weight: bold;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 5px;
  display: block;
}
.workshop-section .outline-card.active-day .day-tag { color: var(--dt-primary); }
.workshop-section .outline-card.accent-day .day-tag { color: #fd7e14; }
.workshop-section .outline-card.level-2 .day-tag { color: #0aa2c0; }
.workshop-section .outline-card.level-3 .day-tag { color: #198754; }
.workshop-highlight-box {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.meta-block { margin-top: 14px; }
.meta-block h6 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #334155;
}
.meta-block ul { margin: 0; padding-left: 1.1rem; }
.meta-block li { margin-bottom: 4px; }
.five-step-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.five-step-list li {
  padding: 6px 0;
  border-bottom: 1px dashed #eee;
  font-size: 0.9rem;
  color: #6b7280;
}
.five-step-list li:last-child { border-bottom: none; }
.five-step-list span {
  font-weight: bold;
  color: var(--dt-primary);
  margin-right: 8px;
}
.step-callout {
  margin-top: 12px;
  background: #f8fafc;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.9rem;
  color: #6b7280;
}

/* —— 两栏吸顶 + 底边：左侧末卡拉齐，右侧不撑空白 —— */
@media (min-width: 992px) {
  .courses-section .row,
  .workshop-section .row {
    align-items: stretch;
  }
  .courses-section .col-lg-7,
  .workshop-section .col-lg-7 {
    display: flex;
    flex-direction: column;
  }
  .courses-section .col-lg-7 > .outline-card:last-child,
  .workshop-section .col-lg-7 > .outline-card:last-child {
    flex: 1 1 auto;
    margin-bottom: 0;
  }
  .courses-section .col-lg-5 > .course-highlight-box,
  .workshop-section .col-lg-5 > .workshop-highlight-box {
    position: sticky;
    top: var(--detail-sticky-top);
  }
}
@media (max-width: 991.98px) {
  .courses-section .col-lg-5,
  .workshop-section .col-lg-5 {
    margin-top: 8px;
  }
}
