/* ======================================
   COURSES PAGE ONLY
   Uses shared variables from base.css
====================================== */

.page-courses{
  background: var(--muted-bg);
}

/* Main wrapper spacing */
.courses-wrap{
  padding: 54px 0 72px;
}

/* Title */
.courses-title{
  margin: 0 0 22px 0;
  font-size: clamp(34px, 3.2vw, 54px);
  letter-spacing: -0.8px;
  color: #0a1a3a;
}

/* 3 columns layout */
.courses-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

/* Card style (matches your soft grey rounded blocks) */
.course-card{
  background: #e9edf3;
  border-radius: 22px;
  padding: 22px 22px 20px;
  min-height: 560px; /* makes the 3 cards look even like screenshot */
}

/* Headings inside cards */
.course-card-title{
  margin: 0 0 12px 0;
  font-size: 18px;
  line-height: 1.25;
  color: #12224a;
  letter-spacing: -0.2px;
}

/* Paragraph text */
.course-card-text{
  margin: 0;
  color: #5b667d;
  line-height: 1.8;
  font-size: 14px;
  max-width: 46ch;
}

/* Bullet list styling */
.course-list{
  margin: 0;
  padding-left: 18px; /* keeps bullets aligned nicely */
  color: #5b667d;
  line-height: 1.85;
  font-size: 14px;
}

.course-list li{
  margin: 6px 0;
}

/* Bottom single card */
.courses-bottom{
  margin-top: 26px;
  display: flex;
  justify-content: center; /* centers it like your screenshot */
}

.course-card--narrow{
  width: min(720px, 100%);
  min-height: auto;
}

/* Responsive */
@media (max-width: 1100px){
  .courses-grid{
    grid-template-columns: 1fr;
  }
  .course-card{
    min-height: auto;
  }
}