/* =====================================================================
   Courses / Programs page - clean unique image-led UI
   Banner follows the new Academics/Management banner style. Sections use
   varied layouts: pathway map, subject atlas, skill studio and streams.
   ===================================================================== */

.courses-page {
  background: var(--white);
  color: var(--text);
  overflow: hidden;
}

.courses-page * {
  box-sizing: border-box;
}

.courses-page img {
  display: block;
  max-width: 100%;
}

.courses-page h1,
.courses-page h2,
.courses-page h3,
.courses-page p {
  margin-top: 0;
}

.courses-page h1,
.courses-page h2,
.courses-page h3 {
  color: var(--navy-dark, #041f3d);
}

.courses-page p {
  color: var(--muted);
  line-height: 1.72;
}

.courses-page .section {
  padding-bottom: clamp(78px, 7vw, 118px);
  padding-top: clamp(78px, 7vw, 118px);
}

.courses-page h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin-bottom: 18px;
}

.courses-page .lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  font-weight: 650;
  line-height: 1.78;
  margin-bottom: 0;
}

.courses-kicker {
  align-items: center;
  color: var(--gold-dark, #b98800);
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 950;
  gap: 10px;
  letter-spacing: 1.55px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.courses-kicker:before {
  background: var(--gold, #ffc600);
  border-radius: 999px;
  content: "";
  height: 3px;
  width: 28px;
}

.courses-kicker-light {
  color: var(--gold, #ffc600);
}

/* ================= HERO ================= */
.courses-hero {
  align-items: center;
  background:
    linear-gradient(
      90deg,
      rgba(4, 22, 42, 0.94) 0%,
      rgba(5, 39, 70, 0.84) 44%,
      rgba(14, 91, 72, 0.58) 100%
    ),
    url("../images/folder-3/14.jpeg") center / cover no-repeat;
  color: var(--white);
  display: flex;
  min-height: clamp(560px, 74vh, 740px);
  overflow: hidden;
  position: relative;
}

.courses-hero:before {
  background: linear-gradient(
    90deg,
    var(--gold, #ffc600),
    var(--green-bright, #20c997),
    var(--blue, #4d8dff)
  );
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 3;
}

.courses-hero-shell {
  align-items: center;
  display: flex;
  min-height: inherit;
  position: relative;
  z-index: 2;
}

.courses-hero-copy {
  max-width: 860px;
  padding: clamp(104px, 10vw, 150px) 0 clamp(80px, 8vw, 120px);
}

.courses-hero .courses-kicker {
  color: var(--gold, #ffc600);
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.courses-hero-copy h1 {
  color: var(--white);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.75rem, 5vw, 4.85rem);
  letter-spacing: -0.055em;
  line-height: 1.06;
  margin: 0 0 24px;
  max-width: 840px;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.36);
}

.courses-hero .hero-lead {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: clamp(1.03rem, 1.45vw, 1.2rem);
  font-weight: 700;
  line-height: 1.72;
  margin: 0 0 32px;
  max-width: 730px;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.courses-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.courses-hero-tags li {
  align-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 900;
  min-height: 50px;
  padding: 12px 20px;
}

/* ================= PROGRAM PATHWAY ================= */
.courses-pathway {
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 198, 0, 0.14), transparent 30%),
    radial-gradient(
      circle at 88% 18%,
      rgba(32, 201, 151, 0.12),
      transparent 28%
    ),
    linear-gradient(180deg, var(--white) 0%, #f7fbff 100%);
}

.pathway-top {
  display: grid;
  justify-items: center;
  margin: 0 auto clamp(34px, 4vw, 56px);
  max-width: 920px;
  text-align: center;
}

.pathway-top .lead {
  max-width: 730px;
}

.pathway-map {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.pathway-level {
  background: var(--white);
  border: 1px solid rgba(6, 43, 85, 0.08);
  border-radius: 30px;
  box-shadow: 0 18px 48px rgba(6, 43, 85, 0.08);
  display: grid;
  grid-column: span 2;
  min-height: 100%;
  overflow: hidden;
  transition:
    box-shadow 0.24s ease,
    transform 0.24s ease;
}

.pathway-level:hover {
  box-shadow: 0 26px 64px rgba(6, 43, 85, 0.13);
  transform: translateY(-5px);
}

.pathway-level-feature,
.pathway-level-wide {
  grid-column: span 3;
}

.pathway-level figure {
  height: 230px;
  margin: 0;
  overflow: hidden;
}

.pathway-level-feature figure,
.pathway-level-wide figure {
  height: 300px;
}

.pathway-level img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  width: 100%;
}

.pathway-level:hover img {
  transform: scale(1.05);
}

.pathway-level-copy {
  padding: 26px;
}

.pathway-level-copy span {
  align-items: center;
  background: rgba(255, 198, 0, 0.16);
  border-radius: 999px;
  color: var(--gold-dark, #b98800);
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.45px;
  margin-bottom: 14px;
  padding: 7px 12px;
  text-transform: uppercase;
}

.pathway-level:nth-child(2) .pathway-level-copy span,
.pathway-level:nth-child(5) .pathway-level-copy span {
  background: rgba(32, 201, 151, 0.16);
  color: var(--green-dark, #0a7f60);
}

.pathway-level:nth-child(3) .pathway-level-copy span,
.pathway-level:nth-child(4) .pathway-level-copy span {
  background: rgba(77, 141, 255, 0.14);
  color: var(--blue, #4d8dff);
}

.pathway-level h3 {
  font-size: clamp(1.22rem, 2vw, 1.72rem);
  letter-spacing: -0.025em;
  line-height: 1.14;
  margin-bottom: 10px;
}

.pathway-level p {
  font-size: 0.96rem;
  margin-bottom: 0;
}

.pathway-level-dark {
  background: linear-gradient(145deg, var(--navy-dark, #041f3d), #062b55);
}

.pathway-level-dark h3,
.pathway-level-dark p {
  color: var(--white);
}

.pathway-level-dark p {
  color: rgba(255, 255, 255, 0.78);
}

/* ================= SUBJECT ATLAS - REDESIGNED ================= */
.courses-subjects {
  background:
    radial-gradient(
      circle at 10% 18%,
      rgba(255, 198, 0, 0.11),
      transparent 28%
    ),
    radial-gradient(
      circle at 88% 80%,
      rgba(32, 201, 151, 0.1),
      transparent 24%
    ),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.subject-atlas-redesign {
  display: grid;
  gap: clamp(30px, 4vw, 46px);
}

.subject-atlas-head {
  display: grid;
  justify-items: center;
  margin: 0 auto;
  max-width: 920px;
  text-align: center;
}

.subject-atlas-head .lead {
  max-width: 760px;
}

.subject-atlas-stageboard {
  align-items: stretch;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.84fr) minmax(0, 1fr);
}

.subject-atlas-column {
  display: grid;
  gap: 22px;
}

.atlas-stage-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(6, 43, 85, 0.08);
  border-radius: 30px;
  box-shadow: 0 18px 48px rgba(6, 43, 85, 0.08);
  min-height: 100%;
  padding: 26px;
  position: relative;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease;
}

.atlas-stage-card:hover {
  box-shadow: 0 26px 64px rgba(6, 43, 85, 0.13);
  transform: translateY(-5px);
}

.atlas-stage-card:before {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0)
  );
  border-radius: 999px;
  content: "";
  height: calc(100% - 40px);
  left: 14px;
  position: absolute;
  top: 20px;
  width: 5px;
}

.atlas-stage-card-gold:before {
  background: linear-gradient(
    180deg,
    rgba(255, 198, 0, 0.95),
    rgba(255, 198, 0, 0.22)
  );
}
.atlas-stage-card-green:before {
  background: linear-gradient(
    180deg,
    rgba(32, 201, 151, 0.95),
    rgba(32, 201, 151, 0.22)
  );
}
.atlas-stage-card-blue:before {
  background: linear-gradient(
    180deg,
    rgba(77, 141, 255, 0.95),
    rgba(77, 141, 255, 0.22)
  );
}
.atlas-stage-card-coral:before {
  background: linear-gradient(
    180deg,
    rgba(255, 111, 97, 0.95),
    rgba(255, 111, 97, 0.22)
  );
}

.atlas-stage-top {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: auto 1fr;
  margin-bottom: 16px;
}

.atlas-stage-number {
  align-items: center;
  border-radius: 18px;
  display: inline-flex;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.18rem;
  font-weight: 900;
  height: 56px;
  justify-content: center;
  width: 56px;
}

.atlas-stage-card-gold .atlas-stage-number {
  background: rgba(255, 198, 0, 0.16);
  color: var(--gold-dark, #b98800);
}
.atlas-stage-card-green .atlas-stage-number {
  background: rgba(32, 201, 151, 0.16);
  color: var(--green-dark, #0a7f60);
}
.atlas-stage-card-blue .atlas-stage-number {
  background: rgba(77, 141, 255, 0.14);
  color: var(--blue, #4d8dff);
}
.atlas-stage-card-coral .atlas-stage-number {
  background: rgba(255, 111, 97, 0.15);
  color: var(--coral, #ff6f61);
}

.atlas-stage-range {
  color: var(--muted);
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.atlas-stage-card h3 {
  font-size: clamp(1.26rem, 1.95vw, 1.74rem);
  letter-spacing: -0.03em;
  margin-bottom: 0;
}

.atlas-stage-card p {
  margin-bottom: 18px;
}

.subject-atlas-feature {
  align-self: stretch;
  border-radius: 34px;
  box-shadow: 0 28px 72px rgba(6, 43, 85, 0.16);
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  position: relative;
}

.subject-atlas-feature img {
  height: 100%;
  min-height: 640px;
  object-fit: cover;
  width: 100%;
}

.subject-atlas-feature:after {
  background: linear-gradient(
    180deg,
    rgba(4, 31, 61, 0.08),
    rgba(4, 31, 61, 0.88)
  );
  content: "";
  inset: 0;
  position: absolute;
}

.subject-atlas-feature figcaption {
  bottom: 0;
  display: grid;
  gap: 14px;
  left: 0;
  padding: 28px;
  position: absolute;
  right: 0;
  z-index: 2;
}

.subject-atlas-feature figcaption span {
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--gold, #ffc600);
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 950;
  justify-self: flex-start;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  text-transform: uppercase;
}

.subject-atlas-feature figcaption h3 {
  color: var(--white);
  font-size: clamp(1.55rem, 2vw, 2.2rem);
  line-height: 1.14;
  margin-bottom: 0;
}

.atlas-feature-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.atlas-feature-points li {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 800;
  padding: 8px 12px;
}

.atlas-stage-card .subject-cloud,
.atlas-senior-band .subject-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.atlas-stage-card .subject-cloud li,
.atlas-senior-band .subject-cloud li {
  background: #f3f8ff;
  border: 1px solid rgba(6, 43, 85, 0.08);
  border-radius: 999px;
  color: var(--navy-dark, #041f3d);
  font-size: 0.87rem;
  font-weight: 850;
  line-height: 1.25;
  padding: 9px 13px;
}

.atlas-senior-band {
  align-items: center;
  background:
    radial-gradient(
      circle at 12% 20%,
      rgba(255, 198, 0, 0.11),
      transparent 28%
    ),
    linear-gradient(145deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid rgba(6, 43, 85, 0.08);
  border-radius: 34px;
  box-shadow: 0 24px 64px rgba(6, 43, 85, 0.1);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.08fr) minmax(290px, 0.92fr);
  overflow: hidden;
  padding: clamp(28px, 3vw, 38px);
}

.atlas-senior-copy h3 {
  font-size: clamp(1.45rem, 2vw, 2.2rem);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.atlas-senior-copy p {
  margin-bottom: 20px;
  max-width: 640px;
}

.subject-cloud-senior li {
  background: rgba(255, 255, 255, 0.92);
}

.atlas-senior-gallery {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.atlas-senior-gallery figure {
  border-radius: 24px;
  box-shadow: 0 20px 52px rgba(6, 43, 85, 0.12);
  margin: 0;
  overflow: hidden;
}

.atlas-senior-gallery img {
  height: 280px;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 1180px) {
  .subject-atlas-stageboard {
    grid-template-columns: 1fr;
  }

  .subject-atlas-feature {
    order: -1;
  }

  .subject-atlas-feature img {
    min-height: 420px;
  }

  .subject-atlas-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .atlas-senior-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .subject-atlas-column {
    grid-template-columns: 1fr;
  }

  .atlas-stage-card,
  .atlas-senior-band {
    border-radius: 26px;
    padding: 22px;
  }

  .subject-atlas-feature {
    border-radius: 28px;
  }

  .subject-atlas-feature img {
    min-height: 360px;
  }

  .subject-atlas-feature figcaption {
    padding: 22px;
  }

  .atlas-senior-gallery {
    grid-template-columns: 1fr;
  }

  .atlas-senior-gallery img {
    height: 230px;
  }
}

/* ================= SKILL STUDIO ================= */
.courses-skill-studio {
  background:
    radial-gradient(
      circle at 12% 14%,
      rgba(255, 198, 0, 0.16),
      transparent 30%
    ),
    radial-gradient(
      circle at 88% 78%,
      rgba(32, 201, 151, 0.15),
      transparent 28%
    ),
    linear-gradient(
      145deg,
      var(--navy-dark, #041f3d) 0%,
      #062b55 54%,
      #073066 100%
    );
  color: var(--white);
}

.skill-studio-grid {
  align-items: center;
  display: grid;
  gap: clamp(34px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
}

.skill-copy h2,
.skill-copy p {
  color: var(--white);
}

.skill-copy .lead {
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
}

.skill-mosaic {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.16fr 0.84fr;
  grid-template-rows: 260px 260px;
}

.skill-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
  overflow: hidden;
  position: relative;
}

.skill-card-large {
  grid-row: 1 / -1;
}

.skill-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.62s ease;
  width: 100%;
}

.skill-card:hover img {
  transform: scale(1.05);
}

.skill-card:after {
  background: linear-gradient(
    180deg,
    rgba(4, 31, 61, 0.03),
    rgba(4, 31, 61, 0.88)
  );
  content: "";
  inset: 0;
  position: absolute;
}

.skill-card div {
  bottom: 0;
  display: grid;
  gap: 9px;
  left: 0;
  padding: 26px;
  position: absolute;
  right: 0;
  z-index: 2;
}

.skill-card span {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--gold, #ffc600);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 950;
  justify-self: flex-start;
  letter-spacing: 0.5px;
  padding: 8px 13px;
  text-transform: uppercase;
}

.skill-card h3 {
  color: var(--white);
  font-size: clamp(1.22rem, 2vw, 2rem);
  line-height: 1.1;
  margin-bottom: 0;
}

.skill-card p {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  margin-bottom: 0;
}

/* ================= STREAMS ================= */
.courses-streams {
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 198, 0, 0.12), transparent 30%),
    radial-gradient(
      circle at 88% 24%,
      rgba(77, 141, 255, 0.1),
      transparent 28%
    ),
    linear-gradient(180deg, #f8fbff 0%, var(--white) 100%);
}

.streams-shell {
  display: grid;
  gap: clamp(34px, 5vw, 58px);
}

.streams-heading {
  display: grid;
  justify-items: center;
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
}

.streams-heading .lead {
  max-width: 720px;
}

.streams-layout {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.72fr) minmax(0, 0.9fr);
}

.stream-card {
  background: var(--white);
  border: 1px solid rgba(6, 43, 85, 0.08);
  border-radius: 30px;
  box-shadow: 0 20px 52px rgba(6, 43, 85, 0.08);
  padding: clamp(26px, 3vw, 36px);
}

.stream-card span {
  align-items: center;
  background: rgba(255, 198, 0, 0.16);
  border-radius: 999px;
  color: var(--gold-dark, #b98800);
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  padding: 8px 13px;
  text-transform: uppercase;
}

.stream-commerce span {
  background: rgba(32, 201, 151, 0.16);
  color: var(--green-dark, #0a7f60);
}

.stream-card h3 {
  font-size: clamp(1.4rem, 2vw, 2rem);
  letter-spacing: -0.035em;
  line-height: 1.14;
  margin-bottom: 14px;
}

.stream-card p {
  margin-bottom: 22px;
}

.stream-card ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.stream-card li {
  align-items: center;
  color: var(--navy-dark, #041f3d);
  display: flex;
  font-weight: 850;
  gap: 10px;
}

.stream-card li:before {
  background: var(--gold, #ffc600);
  border-radius: 50%;
  content: "";
  height: 9px;
  width: 9px;
}

.stream-commerce li:before {
  background: var(--green-bright, #20c997);
}

.stream-photo {
  border: 10px solid var(--white);
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(6, 43, 85, 0.16);
  margin: 0;
  min-height: 500px;
  overflow: hidden;
  position: relative;
}

.stream-photo img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.stream-photo:after {
  background: linear-gradient(180deg, transparent 35%, rgba(4, 31, 61, 0.78));
  content: "";
  inset: 0;
  position: absolute;
}

.stream-photo figcaption {
  bottom: 22px;
  color: var(--white);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 850;
  left: 22px;
  line-height: 1.12;
  position: absolute;
  right: 22px;
  z-index: 2;
}

/* ================= CTA ================= */
.courses-enquiry-section {
  background: var(--white);
}

.courses-enquiry-card {
  align-items: center;
  background:
    radial-gradient(
      circle at 88% 18%,
      rgba(255, 198, 0, 0.18),
      transparent 30%
    ),
    linear-gradient(140deg, var(--navy-dark, #041f3d), var(--navy, #062b55));
  border-radius: 34px;
  box-shadow: 0 28px 64px rgba(4, 31, 61, 0.28);
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: hidden;
  padding: clamp(32px, 5vw, 58px);
  position: relative;
}

.courses-enquiry-card:before {
  background: linear-gradient(
    90deg,
    var(--gold, #ffc600),
    var(--green-bright, #20c997),
    var(--blue, #4d8dff)
  );
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.courses-enquiry-card h2,
.courses-enquiry-card p {
  color: var(--white);
}

.courses-enquiry-card h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.85rem);
  max-width: 760px;
}

.courses-enquiry-card p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
  max-width: 640px;
}

.courses-enquiry-button {
  align-items: center;
  background: linear-gradient(
    180deg,
    var(--gold, #ffc600),
    var(--gold-dark, #b98800)
  );
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(242, 184, 0, 0.32);
  color: var(--navy-dark, #041f3d);
  display: inline-flex;
  font-size: 1.04rem;
  font-weight: 950;
  justify-content: center;
  min-width: 190px;
  padding: 15px 24px;
  text-decoration: none;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.courses-enquiry-button:hover {
  box-shadow: 0 18px 36px rgba(242, 184, 0, 0.42);
  transform: translateY(-2px);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1180px) {
  .subject-atlas,
  .skill-studio-grid,
  .streams-layout {
    grid-template-columns: 1fr;
  }

  .subject-intro {
    position: static;
  }

  .skill-mosaic {
    grid-template-columns: 1fr 1fr;
  }

  .skill-card-large {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 420px;
  }

  .stream-photo {
    min-height: 420px;
  }
}

@media (max-width: 900px) {
  .courses-hero-shell {
    justify-content: center;
    text-align: center;
  }

  .courses-hero-copy {
    margin: 0 auto;
    max-width: 820px;
  }

  .courses-hero .courses-kicker,
  .courses-hero-tags {
    justify-content: center;
  }

  .courses-hero .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .pathway-top,
  .streams-heading {
    justify-items: start;
    text-align: left;
  }

  .pathway-map,
  .subject-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pathway-level,
  .pathway-level-feature,
  .pathway-level-wide,
  .subject-block-large,
  .subject-block-blue {
    grid-column: auto;
  }

  .courses-enquiry-card {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

@media (max-width: 680px) {
  .courses-page .section {
    padding-bottom: 72px;
    padding-top: 72px;
  }

  .courses-hero {
    min-height: 560px;
  }

  .courses-hero-copy {
    padding-top: 86px;
  }

  .courses-hero-copy h1 {
    font-size: clamp(2.35rem, 10vw, 3.55rem);
  }

  .courses-hero-tags li {
    width: 100%;
    justify-content: center;
  }

  .pathway-map,
  .subject-grid,
  .skill-mosaic {
    grid-template-columns: 1fr;
  }

  .pathway-level figure,
  .pathway-level-feature figure,
  .pathway-level-wide figure,
  .subject-intro img,
  .skill-card,
  .skill-card-large,
  .stream-photo {
    height: 320px;
    min-height: 0;
  }

  .pathway-level,
  .subject-block,
  .subject-intro figure,
  .skill-card,
  .stream-card,
  .stream-photo {
    border-radius: 24px;
  }

  .stream-photo {
    border-width: 0;
  }

  .courses-enquiry-button {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .pathway-level-copy,
  .subject-block,
  .skill-card div,
  .stream-card {
    padding: 22px;
  }

  .pathway-level figure,
  .pathway-level-feature figure,
  .pathway-level-wide figure,
  .subject-intro img,
  .skill-card,
  .skill-card-large,
  .stream-photo {
    height: 290px;
  }
}
