.course-card h2 a {
  color: inherit;
  text-decoration: none;
}

.course-card h2 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.course-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 18px;
}

.course-links a {
  font-weight: 800;
  text-decoration: none;
}

.course-detail-link {
  padding: 10px 13px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
}

.course-cta {
  margin-top: 0;
  padding-top: 0;
}

.course-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 720px) {
  .course-links {
    align-items: stretch;
    flex-direction: column;
  }

  .course-links a {
    text-align: center;
  }
}
