.courses-page {
  background: #fff;
}

.courses-hero {
  padding: 30px 0 0;
}

.courses-kicker {
  color: rgb(72 166 44 / 100%);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

.courses-hero h1 {
  color: #2c333e;
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1.08;
  margin: 0;
  max-width: 760px;
  text-transform: uppercase;
}

.courses-hero p {
  color: #51606f;
  font-size: 1rem;
  line-height: 1.65;
  margin: 1rem 0 0;
  max-width: 720px;
}

.courses-list {
  padding: 28px 0 56px;
}

.courses-grid {
  row-gap: 24px;
}

.course-card {
  background: #fff;
  border: 1px solid #dbe5ec;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(44, 51, 62, 0.06);
  height: 100%;
  overflow: hidden;
}

.course-card__link {
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}

.course-card__link:hover {
  color: inherit;
  text-decoration: none;
}

.course-card__media {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: #edf2f5;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 18px;
}

.course-card__media img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.course-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.course-card__eyebrow {
  color: rgb(72 166 44 / 100%);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.course-card h2 {
  color: #2c333e;
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.course-card p {
  color: #51606f;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.course-card__cta {
  color: rgb(34 87 122 / 100%);
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 900;
  margin-top: auto;
  padding-top: 18px;
  text-transform: uppercase;
}

.course-card__link:hover .course-card__cta {
  color: rgb(72 166 44 / 100%);
}

.courses-empty {
  background: #f7fafc;
  border: 1px solid #dbe5ec;
  border-radius: 8px;
  padding: 24px;
}

.courses-empty h2 {
  color: #2c333e;
  font-size: 1.3rem;
  font-weight: 900;
  margin: 0 0 0.5rem;
}

.courses-empty p {
  color: #51606f;
  line-height: 1.6;
  margin: 0;
}

@media (min-width: 768px) {
  .courses-hero {
    padding-top: 36px;
  }

  .courses-hero h1 {
    font-size: 3rem;
  }

  .courses-list {
    padding-top: 42px;
  }
}
