/* =========================
   Course Images (Reusable)
   ========================= */

/* Base image style (small / banner thumbnails) */
.course-illustration {
  max-width: 220px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 12px;
}

/* Banner container (used when image sits inside a colored band) */
.course-banner {
  padding: 22px 18px;
}

/* Wrapper for images (centers + gives consistent spacing between text blocks) */
.course-media {
  display: flex;
  justify-content: center;
  margin: 12px 0 18px;     
  padding: 0;              
}

/* Optional: when course-media is used inside a banner row */
.row.cpr .course-media {
  margin: 0;           
}

/* Larger inline instructional image wrapper */
.course-illustration-large {
  text-align: center;
  margin: 12px 0 18px;     
}

/* Large image modifier (use alongside .course-illustration) */
.course-illustration--large {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06); 
}


/* =========================
   CPR Row Layout
   ========================= */

.row.cpr {
  padding: 18px 12px;
}

/* Space between image and text */
.row.cpr > .col-xs-3 {
  padding-right: 18px;
}


/* =========================
   Lists + Paragraph Rhythm
   ========================= */

.course-keypoints {
  margin: 0;
  padding-left: 22px;
  line-height: 1.8;
}

.course-keypoints li {
  margin-bottom: 6px;
}

.course-keypoints li:last-child {
  margin-bottom: 0;
}

.course-paragraph {
  margin-bottom: 16px;
  line-height: 1.6;
}

.course-paragraph:last-child {
  margin-bottom: 0;
}


/* =========================
   Mobile
   ========================= */

@media (max-width: 767px) {

  .course-paragraph {
    margin-bottom: 14px;
    line-height: 1.55;
  }

  .course-illustration {
    max-width: 140px;       
    padding: 8px;
  }

  .row.cpr {
    padding: 14px 10px;
  }

  .course-banner {
    padding: 16px 12px;
  }

  .course-media,
  .course-illustration-large {
    margin: 10px 0 14px;   
  }

  .course-illustration--large {
    max-width: 320px;   
    padding: 8px;
  }
}
