/* ============================================================
   course/index.php
   ============================================================ */

.aboutas-section {
  background: #f6f9ff;
}


/* ── Why section ── */
.crs-why-section {
  background: #fff;
}

.crs-body {
  line-height: 2;
  color: var(--text);
}

.crs-body p {
  margin-bottom: 1.25em;
}

.crs-body p:last-child {
  margin-bottom: 0;
}

.crs-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  max-width: 300px;
}


/* ── Life section ── */
.crs-life-section {
  background: #f6f9ff;
  text-align: center;
}

.nums-heading--center {
  justify-content: center;
}

.crs-life-desc {
  font-size: 1rem;
  line-height: 2;
  color: var(--text);
  max-width: 760px;
  margin: 0 auto 0;
}

.crs-life-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  max-width: 800px;
  margin: 1rem auto 0;
}


/* ── Compare section ── */
.crs-compare-section {
  background: #fff;
}

.crs-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 620px;
}

.crs-th-label {
  width: 160px;
  background: transparent;
  border: none;
}

.crs-th-n {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 20px 24px;
  font-weight: 700;
  line-height: 1.5;
}

.crs-th-a {
  background: #f5a623;
  color: #fff;
  text-align: center;
  padding: 20px 24px;
  font-weight: 700;
  line-height: 1.5;
}

.crs-th-course {
  font-size: 1.8rem;
  font-weight: 700;
  display: block;
}

.crs-th-role {
  font-size: 1.25rem;
  font-weight: 700;
  display: block;
}

.crs-th-n .crs-th-role {
  color: #f5c400;
}

.crs-th-a .crs-th-role {
  color: var(--navy);
}

.crs-td-cat {
  background: #FFF;
  color: var(--black);
  font-weight: 700;
  font-size: 13px;
  padding: 18px 16px;
  vertical-align: middle;
  text-align: center;
  line-height: 1.55;
  border-top: 1px solid #dde4f0;
  border-left: 1px solid #dde4f0;
}

.crs-td-n,
.crs-td-a {
  padding: 20px 24px;
  vertical-align: top;
  border-top: 1px solid #dde4f0;
  line-height: 1.8;
  font-size: 1rem;
}

.crs-td-n {
  border-left: 1px solid #dde4f0;
  border-right: 1px solid #dde4f0;
  background: #f5f9ff;
  font-size: 1rem;
}

.crs-td-a {
  border-right: 1px solid #dde4f0;
  background: #fffbee;
}

.crs-compare-table tbody tr:nth-child(odd) .crs-td-cat {
  background: #f7f7f7;
}

.crs-compare-table tbody tr:last-child .crs-td-cat,
.crs-compare-table tbody tr:last-child .crs-td-n,
.crs-compare-table tbody tr:last-child .crs-td-a {
  border-bottom: 1px solid #dde4f0;
}

.crs-td-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.crs-td-list li {
  padding-left: 1.2em;
  position: relative;
  margin-bottom: 4px;
}

.crs-td-list li:last-child {
  margin-bottom: 0;
}

.crs-td-list li::before {
  content: '●';
  position: absolute;
  left: 0;
  font-size: .55em;
  top: .5em;
  color: var(--navy);
}

.crs-td-a .crs-td-list li::before {
  color: #f5a623;
}

/* Field / Mission — vertically centered cells */
.crs-td--center {
  vertical-align: middle;
  text-align: center;
}

.crs-field-main {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--black);
  margin-bottom: 4px;
}

.crs-field-sub {
  font-size: .875rem;
  color: var(--black);
}

/* Career step bars — vertical stack */
.crs-step-stack {
  display: flex;
  flex-direction: column;
}

.crs-step-bar {
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  padding: 7px 12px;
  letter-spacing: .06em;
}

.crs-step-bar--a {
  background: #f5a623;
}

.crs-step-detail {
  font-size: 1rem;
  color: var(--text);
  text-align: center;
  padding: 8px 4px 14px;
  line-height: 1.65;
  margin: 0;
}

.courses-section,
.watch-section {
  background: #FFF;
}

.courses-section .container {
  display: none;
}

.courses-panels {
  margin-top: 0;
}



/* ── Responsive ── */
@media (max-width: 767px) {
  .crs-life-section {
    text-align: left;
  }

  .nums-heading--center {
    justify-content: flex-start;
  }

  .crs-th-label {
    width: 130px;
  }

  .crs-life-desc {
    margin: 0;
  }
}