.pathway-hero {
  overflow: hidden;
  border-bottom: 1px solid #e7edf7;
  background:
    radial-gradient(circle at 78% 18%, rgba(20, 163, 74, .13), transparent 25%),
    radial-gradient(circle at 65% 90%, rgba(17, 86, 243, .12), transparent 28%),
    linear-gradient(120deg, #f8fbff 0%, #fff 48%, #f3fbf6 100%);
}

.pathway-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr);
  align-items: center;
  gap: 70px;
  min-height: 420px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.pathway-kicker,
.pathway-section-heading small,
.pathway-form-heading small,
.pathway-result-summary small {
  color: #168545;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .13em;
}

.pathway-hero-copy h1 {
  max-width: 750px;
  margin: 14px 0 18px;
  font-size: clamp(40px, 4.3vw, 64px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.pathway-hero-copy h1 em {
  color: #1156f3;
  font-style: normal;
}

.pathway-hero-copy > p {
  max-width: 720px;
  margin: 0;
  color: #46526a;
  font-size: 18px;
  line-height: 1.7;
}

.pathway-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.pathway-trust span {
  padding: 9px 13px;
  border: 1px solid #dfe8f5;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  color: #26344d;
  font-size: 13px;
  font-weight: 750;
}

.pathway-route-preview {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 30px;
  border: 1px solid rgba(207, 220, 239, .85);
  border-radius: 24px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 28px 70px rgba(30, 53, 91, .12);
  backdrop-filter: blur(12px);
}

.pathway-route-preview div {
  text-align: center;
}

.pathway-route-preview b {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 10px;
  place-items: center;
  border-radius: 17px;
  background: #eef4ff;
  color: #1156f3;
  font-size: 20px;
}

.pathway-route-preview div:last-child b { background: #e9f9ef; color: #128640; }
.pathway-route-preview span { display: block; font-size: 13px; font-weight: 800; }
.pathway-route-preview i { color: #9babbe; font-style: normal; }

.pathway-builder {
  position: relative;
  z-index: 2;
  margin-top: -1px;
  padding: 30px 0;
  border-bottom: 1px solid #e8eef7;
  background: #fff;
}

.pathway-form {
  padding: 26px;
  border: 1px solid #e2e9f4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(25, 45, 85, .07);
}

.pathway-form-heading,
.pathway-section-heading,
.pathway-result-summary {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.pathway-form-heading { margin-bottom: 20px; }
.pathway-form-heading h2,
.pathway-section-heading h2,
.pathway-result-summary h2 { margin: 5px 0 0; font-size: 27px; font-weight: 880; }
.pathway-form-heading p,
.pathway-section-heading > p { max-width: 520px; margin: 0; color: #68748a; line-height: 1.6; }

.pathway-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 14px;
}

.pathway-fields label > span {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #22304a;
  font-size: 13px;
  font-weight: 800;
}

.pathway-fields label > span b {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 7px;
  background: #edf3ff;
  color: #1156f3;
}

.pathway-fields label > span small { color: #8b96a9; font-weight: 650; }
.pathway-fields select {
  width: 100%;
  min-height: 51px;
  padding: 0 38px 0 13px;
  border: 1px solid #d6dfed;
  border-radius: 10px;
  background-color: #fff;
  color: #111f39;
  font-weight: 650;
}

.pathway-fields button,
.pathway-result-actions button,
.pathway-result-actions a {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 21px;
  border: 0;
  border-radius: 10px;
  background: #1156f3;
  color: #fff;
  font-weight: 850;
  white-space: nowrap;
}

.pathway-field-muted { opacity: .55; }
.pathway-start { padding-top: 54px; padding-bottom: 75px; }
.pathway-section-heading { margin: 0 0 24px; }
.pathway-section-heading.compact { margin-top: 45px; }
.pathway-section-heading > a { color: #1156f3; font-size: 14px; font-weight: 800; }

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

.pathway-stage-grid > a {
  display: flex;
  gap: 17px;
  min-height: 155px;
  padding: 22px;
  border: 1px solid #e1e8f2;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(30, 52, 88, .05);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.pathway-stage-grid > a:hover { transform: translateY(-3px); border-color: #b8caf7; box-shadow: 0 20px 45px rgba(30, 52, 88, .1); }
.pathway-stage-grid > a > span { display: grid; flex: 0 0 51px; height: 51px; place-items: center; border-radius: 15px; background: #eef4ff; font-size: 25px; }
.pathway-stage-grid h3 { margin: 2px 0 8px; font-size: 18px; font-weight: 850; }
.pathway-stage-grid p { margin: 0 0 11px; color: #657087; font-size: 14px; line-height: 1.55; }
.pathway-stage-grid b { color: #1156f3; font-size: 13px; }

.pathway-results { padding: 48px 0 80px; background: #f8faff; }
.pathway-result-summary { padding: 25px; border: 1px solid #dfe7f3; border-radius: 17px; background: #fff; }
.pathway-result-summary p { margin: 8px 0 0; color: #657086; }
.pathway-result-actions { display: flex; gap: 9px; }
.pathway-result-actions button,
.pathway-result-actions a { min-height: 43px; padding: 0 15px; font-size: 13px; cursor: pointer; }
.pathway-result-actions a { background: #eef3fb; color: #25334b; }

.pathway-journey {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 15px;
  margin: 20px 0 40px;
}

.pathway-journey span { padding: 15px 18px; border: 1px solid #dae4f1; border-radius: 12px; background: #fff; font-weight: 800; text-align: center; }
.pathway-journey b { display: block; margin-bottom: 4px; color: #168545; font-size: 10px; letter-spacing: .12em; }
.pathway-journey i { color: #92a0b5; font-style: normal; }

.pathway-class10-bridge {
  margin: -14px 0 42px;
  padding: 24px;
  border: 1px solid #cfe6d8;
  border-radius: 17px;
  background: linear-gradient(120deg, #f3fbf6, #fff);
}

.pathway-class10-bridge > div { display: flex; align-items: flex-start; gap: 15px; }
.pathway-class10-bridge > div > span { display: grid; width: 50px; height: 50px; flex: 0 0 50px; place-items: center; border-radius: 14px; background: #e0f5e7; font-size: 24px; }
.pathway-class10-bridge small { color: #168545; font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.pathway-class10-bridge h2 { margin: 4px 0 7px; font-size: 22px; font-weight: 880; }
.pathway-class10-bridge p { max-width: 920px; margin: 0; color: #627087; font-size: 13px; line-height: 1.6; }
.pathway-class10-bridge nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 14px 65px; }
.pathway-class10-bridge nav a { padding: 8px 11px; border: 1px solid #cfe1d6; border-radius: 999px; background: #fff; color: #14763d; font-size: 12px; font-weight: 800; }
.pathway-class10-bridge > a { margin-left: 65px; color: #1156f3; font-size: 12px; font-weight: 850; }

.pathway-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 50px;
}

.pathway-category-grid > a { display: flex; gap: 13px; min-height: 145px; padding: 18px; border: 1px solid #dfe7f1; border-radius: 13px; background: #fff; }
.pathway-category-grid > a > span { display: grid; flex: 0 0 42px; height: 42px; place-items: center; border-radius: 12px; background: #eef9f2; font-size: 21px; }
.pathway-category-grid small { color: #77839a; font-size: 11px; }
.pathway-category-grid h3 { margin: 2px 0 7px; font-size: 16px; font-weight: 850; }
.pathway-category-grid p { display: -webkit-box; overflow: hidden; margin: 0 0 9px; color: #667188; font-size: 12px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.pathway-category-grid b { color: #168545; font-size: 12px; }

.pathway-course-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 55px; }
.pathway-course-card { padding: 23px; border: 1px solid #dde6f2; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(31, 53, 89, .04); }
.pathway-course-top { display: flex; align-items: center; gap: 14px; }
.pathway-course-top > span,
.pathway-course-top > img { display: grid; width: 53px; height: 53px; flex: 0 0 53px; place-items: center; border-radius: 14px; background: #edf4ff; object-fit: contain; font-size: 24px; }
.pathway-course-top small { color: #168545; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.pathway-course-top h3 { margin: 4px 0 0; font-size: 20px; font-weight: 880; }
.pathway-course-card > p { min-height: 64px; margin: 14px 0; color: #5d6980; font-size: 14px; line-height: 1.55; }
.pathway-requirement { display: grid; gap: 5px; padding: 12px; border-left: 3px solid #f4a321; border-radius: 6px; background: #fffaf0; }
.pathway-requirement b { font-size: 11px; text-transform: uppercase; }
.pathway-requirement span { color: #6e5a35; font-size: 12px; line-height: 1.5; }
.pathway-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.pathway-card-tags a,
.pathway-skill-list span { padding: 5px 8px; border-radius: 999px; background: #eff6f2; color: #13753c; font-size: 10px; font-style: normal; font-weight: 750; }

.pathway-connections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pathway-connections > div { padding: 12px; border: 1px solid #e5ebf4; border-radius: 10px; background: #fbfcfe; }
.pathway-connections > div > b { display: block; margin-bottom: 7px; color: #27354e; font-size: 11px; text-transform: uppercase; }
.pathway-connections a,
.pathway-connections span { display: block; padding: 6px 0; color: #1156f3; font-size: 12px; font-weight: 750; }
.pathway-connections span { color: #788398; font-weight: 500; line-height: 1.45; }
.pathway-connections a + a { border-top: 1px dashed #dde5f0; }
.pathway-connections a small { display: block; margin-top: 2px; color: #7d889b; font-size: 9px; font-weight: 600; }
.pathway-open-course { display: block; margin-top: 16px; color: #1156f3; font-size: 13px; font-weight: 850; }

.pathway-career-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pathway-career-grid article { padding: 20px; border: 1px solid #dfe7f2; border-radius: 14px; background: #fff; }
.pathway-career-grid article > div:first-child { display: flex; align-items: center; gap: 11px; }
.pathway-career-grid img,
.pathway-career-grid article > div:first-child > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: #eef4ff; object-fit: contain; }
.pathway-career-grid h3 { margin: 0; font-size: 17px; font-weight: 850; }
.pathway-career-grid p { min-height: 63px; margin: 13px 0 9px; color: #626e84; font-size: 13px; line-height: 1.55; }
.pathway-career-grid article > strong { color: #168545; font-size: 12px; }
.pathway-skill-list { display: flex; flex-wrap: wrap; gap: 5px; margin: 12px 0; }
.pathway-career-grid article > small { display: block; color: #7a869a; font-size: 10px; line-height: 1.5; }
.pathway-career-grid article > a { display: block; margin-top: 14px; color: #1156f3; font-size: 12px; font-weight: 800; }

.pathway-empty { padding: 65px 25px; border: 1px dashed #cbd7e8; border-radius: 17px; background: #fff; text-align: center; }
.pathway-empty > span { font-size: 40px; }
.pathway-empty h2 { margin: 14px 0 9px; font-size: 25px; }
.pathway-empty p { max-width: 720px; margin: 0 auto 18px; color: #657187; line-height: 1.65; }
.pathway-empty a { color: #1156f3; font-weight: 850; }

.pathway-guidance { padding: 52px 0; border-top: 1px solid #e3eaf4; background: #fff; }
.pathway-guidance .container { display: grid; grid-template-columns: repeat(3, 1fr) 1.15fr; gap: 16px; }
.pathway-guidance .container > div,
.pathway-guidance aside { padding: 20px; border: 1px solid #e1e8f2; border-radius: 14px; }
.pathway-guidance span { font-size: 25px; }
.pathway-guidance h3 { margin: 9px 0 7px; font-size: 16px; font-weight: 850; }
.pathway-guidance p { margin: 0; color: #667188; font-size: 13px; line-height: 1.6; }
.pathway-guidance aside { border-color: #f1dcae; background: #fffaf0; }
.pathway-guidance aside b { display: block; margin-bottom: 8px; color: #9b6311; }

@media (max-width: 1199px) {
  .pathway-hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .pathway-fields { grid-template-columns: repeat(2, 1fr); }
  .pathway-fields button { min-height: 51px; }
  .pathway-category-grid { grid-template-columns: repeat(2, 1fr); }
  .pathway-guidance .container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .pathway-hero-grid { min-height: auto; padding-top: 42px; padding-bottom: 42px; }
  .pathway-hero-copy h1 { font-size: 38px; }
  .pathway-route-preview { grid-template-columns: 1fr; padding: 20px; }
  .pathway-route-preview i { transform: rotate(90deg); text-align: center; }
  .pathway-form-heading,
  .pathway-section-heading,
  .pathway-result-summary { align-items: flex-start; flex-direction: column; }
  .pathway-fields,
  .pathway-stage-grid,
  .pathway-category-grid,
  .pathway-course-grid,
  .pathway-career-grid,
  .pathway-guidance .container { grid-template-columns: 1fr; }
  .pathway-result-actions { width: 100%; }
  .pathway-journey { grid-template-columns: 1fr; }
  .pathway-journey i { transform: rotate(90deg); text-align: center; }
  .pathway-connections { grid-template-columns: 1fr; }
  .pathway-class10-bridge nav,
  .pathway-class10-bridge > a { margin-left: 0; }
  .pathway-course-card > p { min-height: 0; }
  .pathway-career-grid p { min-height: 0; }
}
