/* NexttCareer rebuilt course pages */
.nextt-course-detail-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px 18px 60px;
  color: #061b4a;
}

.nextt-course-hero,
.nextt-course-details-card,
.nextt-course-overview {
  background: #ffffff;
  border: 1px solid rgba(6, 37, 74, 0.08);
  border-radius: 28px;
  box-shadow: 0 16px 38px rgba(6, 37, 74, 0.08);
  padding: 34px;
  margin-bottom: 24px;
}

.nextt-course-kicker {
  display: inline-flex;
  color: #0b6ff7;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 12px;
}

.nextt-course-hero h1,
.nextt-course-details-card h2,
.nextt-course-overview h2 {
  color: #061b4a;
  margin: 0 0 16px;
  line-height: 1.08;
  font-weight: 900;
}

.nextt-course-hero h1 {
  font-size: clamp(34px, 5vw, 62px);
}

.nextt-course-hero p,
.nextt-course-overview p,
.nextt-course-overview li {
  color: #53657f;
  font-size: 18px;
  line-height: 1.72;
}

.nextt-course-details-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid #e6edf5;
}

.nextt-course-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #e6edf5;
  padding: 20px 0;
}

.nextt-course-detail-row span {
  color: #71809a;
  font-size: 18px;
  font-weight: 800;
}

.nextt-course-detail-row strong {
  color: #061b4a;
  font-size: 20px;
  font-weight: 900;
  text-align: right;
}

.nextt-course-apply-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 999px;
  background: #0b6ff7;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 900;
  margin-top: 20px;
  box-shadow: 0 14px 30px rgba(11, 111, 247, 0.22);
}

.nextt-course-apply-button-wide {
  width: 100%;
}

.nextt-course-overview ul {
  margin: 12px 0 0 22px;
}

.nexttcareer-apply-form-page {
  max-width: 1120px;
  margin: 30px auto;
  padding: 0 15px;
}

.nexttcareer-apply-form-iframe {
  width: 100%;
  min-height: 980px;
  border: 0;
  display: block;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 16px 38px rgba(6, 37, 74, 0.08);
}

/* Remove date-only rows if any theme metadata still injects them */
.nextt-spreadsheet-date-row-hidden {
  display: none !important;
}

@media (max-width: 700px) {
  .nextt-course-detail-page {
    padding: 18px 12px 40px;
  }

  .nextt-course-hero,
  .nextt-course-details-card,
  .nextt-course-overview {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .nextt-course-detail-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .nextt-course-detail-row strong {
    text-align: left;
  }

  .nexttcareer-apply-form-iframe {
    min-height: 1050px;
  }
}
