/* The course page: the hero with the cover and «Apply», the description, the program. */

.course-hero { position: relative; padding-bottom: 8px; }
.course-hero-in { display: grid; gap: 48px; align-items: center; margin-top: 32px; }
.course-hero-in--cover { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.course-hero-text { display: grid; justify-items: start; gap: 20px; min-width: 0; }
.course-hero-text .eyebrow { margin-bottom: 0; }
.course-title { font: 800 clamp(34px, 5.2vw, 76px)/1 var(--f-display); letter-spacing: .02em; text-transform: uppercase; overflow-wrap: anywhere; hyphens: auto; }
.course-lead { font-size: 19px; color: var(--text-2); max-width: 620px; }
.course-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.course-progress { display: grid; gap: 10px; width: min(100%, 440px); padding: 18px 20px; border-radius: var(--r-md); background: var(--surface-1); border: 1px solid var(--line); }
.course-cover { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow-pop); }
.course-cover img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.course-about { max-width: 860px; }
.course-desc { display: grid; gap: 14px; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.program-wrap { max-width: 960px; }

@media (max-width: 1100px) {
  .course-hero-in--cover { grid-template-columns: minmax(0, 1fr); }
  .course-cover { order: -1; }
}
@media (max-width: 760px) {
  .course-hero-in { gap: 24px; margin-top: 20px; }
  .course-lead { font-size: 16px; }
  .course-cta { width: 100%; }
  .course-desc { font-size: 15px; }
}
