/* 教育页 — 方案亮点三列 */
.edu-highlights {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  max-width: 1120px;
  margin: 8px auto 0;
  padding: 12px 0 40px;
  box-sizing: border-box;
  gap: 40px;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 40px;
}

.edu-highlight-item {
  flex: 1 1 0;
  min-width: 0;
}

.edu-highlight-item h4 {
  margin: 0 0 14px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: #e60012;
  letter-spacing: 0.02em;
}

.edu-highlight-item p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #888;
}

@media (max-width: 850px) {
  .edu-highlights {
    flex-direction: column;
    gap: 28px;
    padding: 8px 16px 32px;
  }

  .edu-highlight-item h4 {
    font-size: 32px;
    margin-bottom: 10px;
  }

  .edu-highlight-item p {
    font-size: 14px;
  }
}

/* 趋势洞察双列卡片 */
.trend-bridge {
  --brand: #e60012;
  --ink2: #666666;
  --line: #e5e5e5;
  --gray: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 1120px;
  margin: 32px auto 24px;
  padding: 0 10px;
  box-sizing: border-box;
}

.trend-bridge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.trend-bridge-item .label {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 600;
  border-radius: 4px;
}

.trend-bridge-item .label.gray {
  background: var(--gray);
  color: var(--ink2);
}

.trend-bridge-item .label.red {
  background: var(--brand);
  color: #fff;
}

.trend-bridge-arrow {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--line) 0%,
    var(--brand) 50%,
    var(--line) 100%
  );
  position: relative;
}

.trend-bridge-arrow::after {
  content: "▶";
  position: absolute;
  right: -2px;
  top: -8px;
  color: var(--brand);
  font-size: 12px;
}

.trend-grid {
  --brand: #e60012;
  --ink: #333333;
  --ink2: #666666;
  --line: #e5e5e5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: 24px auto 0;
  padding: 0 10px 24px;
  box-sizing: border-box;
}

.trend-grid::before {
  content: "";
  position: absolute;
  top: 56px;
  bottom: 24px;
  left: 50%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--brand) 30%,
    var(--brand) 70%,
    transparent 100%
  );
  opacity: 0.35;
}

.trend-col h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px;
  padding-left: 14px;
  border-left: 3px solid var(--brand);
  line-height: 1.4;
  color: var(--ink);
}

.tcard-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  position: relative;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.tcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(230, 0, 18, 0.06);
  border-color: #f2c6c6;
}

.tcard.feature {
  background: linear-gradient(135deg, #fdf3f2 0%, #fbebea 100%);
  border-color: #f2c6c6;
}

.tcard-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.tcard-num {
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: -1px;
  line-height: 1;
  padding: 4px 10px;
  border: 1px solid var(--brand);
  border-radius: 6px;
}

.tcard.feature .tcard-num {
  border-color: var(--brand);
  background: #fff;
}

.tcard-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

.tcard-text {
  font-size: 13px;
  color: var(--ink2);
  line-height: 1.75;
}

.tcard-text .em {
  color: var(--brand);
  font-weight: 700;
}

.tcard.feature .tcard-head {
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .trend-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .trend-grid::before {
    display: none;
  }

  .trend-bridge {
    flex-direction: column;
    gap: 12px;
  }

  .trend-bridge-arrow {
    width: 1px;
    height: 32px;
    flex: none;
    background: linear-gradient(
      180deg,
      var(--line) 0%,
      var(--brand) 50%,
      var(--line) 100%
    );
  }

  .trend-bridge-arrow::after {
    right: -5px;
    top: auto;
    bottom: -10px;
    transform: rotate(90deg);
  }
}

/* 数智教育解决方案 — 文案 + 架构图 */
.edu-solution-block {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 10px 24px;
  box-sizing: border-box;
}

.edu-solution-text {
  max-width: 900px;
  margin: 0 auto 36px;
  font-size: 15px;
  line-height: 2.2;
  letter-spacing: 0.04em;
  color: #666;
  text-align: justify;
}

.edu-solution-text b {
  color: #3d3d3d;
  font-weight: 700;
}

.edu-solution-block .img {
  width: 100%;
}

.edu-solution-block .img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* 方案优势 — 五卡并排 */
.adv-flow {
  --brand: #e60012;
  --brand-deep: #b8000e;
  --brand-soft: #fdf3f2;
  --ink: #333333;
  --ink2: #666666;
  --line: #e5e5e5;
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.adv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 20px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.adv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.adv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(230, 0, 18, 0.1);
  border-color: #f2c6c6;
}

.adv-card:hover::before {
  transform: scaleX(1);
}

.adv-card:last-child {
  border-color: var(--brand);
  background: linear-gradient(135deg, #fdf3f2 0%, #fbebea 100%);
}

.adv-card:last-child::before {
  transform: scaleX(1);
}

.adv-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.adv-num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.adv-card:last-child .adv-num::after {
  background: rgba(230, 0, 18, 0.2);
}

.adv-title {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.45;
  min-height: 44px;
  color: var(--ink);
}

.adv-desc {
  font-size: 12.5px;
  color: var(--ink2);
  line-height: 1.75;
}

.adv-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 12px;
}

.adv-keywords span {
  font-size: 11px;
  padding: 2px 8px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 4px;
  font-weight: 500;
}

.adv-card:last-child .adv-keywords span {
  background: #fff;
}

#mkSubjectContent .edu-scene-nav > li,
.mk-subject-content .edu-scene-nav > li {
  height: auto;
  min-height: 50px;
  line-height: 1.4;
  padding: 12px 16px;
  white-space: normal;
  overflow: visible;
}

.mk-subject-content
  .mk-autoweb-image-video-tab
  .mk-autoweb-image-video-text-content-img
  img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 1100px) {
  .adv-flow {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 960px) {
  .adv-flow {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .adv-flow {
    grid-template-columns: 1fr;
  }

  .edu-solution-text {
    font-size: 14px;
    line-height: 1.9;
  }

  .edu-solution-block .img img {
    width: 100%;
    height: auto;
  }

  .trend-bridge {
    flex-direction: column;
    gap: 12px;
    margin: 20px auto 16px;
  }
}
