/* ============================================
   tutorial-course.css — 卖家必修课暗色图文样式
   ============================================ */

.tutorial-course-wrapper {
  padding: 48px 0 80px;
  background: linear-gradient(145deg, #0A0F1A 0%, #0F1625 100%);
  color: #E6EDF5;
  min-height: 80vh;
}

.tutorial-course-header {
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}

.tutorial-course-header .eyebrow {
  color: #E33535;
  opacity: 1;
  margin-bottom: 12px;
}

.tutorial-course-header h1 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12;
  color: #fff;
  letter-spacing: -0.03em;
}

.tutorial-summary {
  margin: 14px 0 20px;
  color: rgba(255,255,255,0.72);
  font-size: 17px;
  line-height: 1.7;
  max-width: 700px;
}

.btn-sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
}

/* --- Dark tutorial content styles --- */
.tutorial-course-body {
  line-height: 1.7;
  color: #e5e9f0;
}

.tutorial-course-body h2,
.tutorial-course-body .section-title {
  font-size: 24px;
  font-weight: 700;
  margin: 32px 0 16px;
  color: #fff;
  padding-left: 14px;
  border-left: 4px solid #E33535;
}

.tutorial-course-body h3,
.tutorial-course-body .subsection-title {
  font-size: 19px;
  font-weight: 600;
  margin: 24px 0 12px;
  color: #f0f4fa;
}

.tutorial-course-body p {
  margin: 12px 0;
  color: #d0d7e3;
  font-size: 15px;
  line-height: 1.8;
}

.tutorial-course-body ul,
.tutorial-course-body ol {
  padding-left: 24px;
  margin: 12px 0;
}

.tutorial-course-body li {
  color: #d0d7e3;
  font-size: 15px;
  line-height: 1.8;
  margin: 6px 0;
}

.tutorial-course-body strong,
.tutorial-course-body b {
  color: #f0f4fa;
}

.tutorial-course-body a {
  color: #ff6b4a;
  text-decoration: underline;
}

.tutorial-course-body a:hover {
  color: #E33535;
}

/* Image containers within tutorial */
.tutorial-course-body .img-wrapper {
  margin: 20px 0;
  text-align: center;
  background: #0F1625;
  border-radius: 16px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.06);
}

.tutorial-course-body .img-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #1E2A3A;
}

.tutorial-course-body .img-caption {
  font-size: 12px;
  color: #9CA3AF;
  margin-top: 6px;
  text-align: center;
}

/* Content card blocks */
.tutorial-course-body .content-card {
  background: #0F1625;
  border-radius: 12px;
  padding: 14px 18px;
  margin: 14px 0;
  border-left: 3px solid #E33535;
}

.tutorial-course-body .content-card p {
  margin: 6px 0;
}

/* Info/tip boxes */
.tutorial-course-body .tip-box,
.tutorial-course-body .info-box {
  background: rgba(227, 53, 53, 0.08);
  border: 1px solid rgba(227, 53, 53, 0.2);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 16px 0;
}

.tutorial-course-body .tip-box strong,
.tutorial-course-body .info-box strong {
  color: #E33535;
}

/* Tables within tutorials */
.tutorial-course-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.tutorial-course-body th {
  background: rgba(227, 53, 53, 0.15);
  color: #f0f4fa;
  padding: 10px 14px;
  text-align: left;
  border: 1px solid #1E2A3A;
  font-weight: 600;
}

.tutorial-course-body td {
  padding: 8px 14px;
  border: 1px solid #1E2A3A;
  color: #d0d7e3;
}

.tutorial-course-body tr:nth-child(even) td {
  background: rgba(255,255,255,0.02);
}

/* Formula blocks */
.tutorial-course-body .formula-block {
  background: #0A0F1A;
  border: 1px solid #E33535;
  border-radius: 12px;
  padding: 18px 22px;
  margin: 16px 0;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

/* Responsive */
@media (max-width: 1080px) {
  .tutorial-course-body .img-wrapper {
    padding: 4px;
  }
}
