:root {
  --navy: #071957;
  --navy-2: #0c2d7c;
  --teal: #0098a7;
  --violet: #6946c8;
  --pink: #ef2f70;
  --green: #8abc20;
  --orange: #ff7a00;
  --blue: #007fa5;
  --text: #071957;
  --muted: #34436d;
  --soft: #f5f7fe;
  --line: rgba(7, 25, 87, 0.12);
  --container: 1380px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.35;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: #fff;
  border-radius: 10px;
  background: var(--navy);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
  max-width: none;
}
.section {
  padding: 30px 0;
}
.section--compact {
  padding: 12px 0 24px;
}
.section-heading {
  margin-bottom: 18px;
}
.section-heading h2,
.campus-intro h2,
.education-path__intro h2 {
  margin: 0;
  font-size: clamp(29px, 2.2vw, 30px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.section-heading--wide h2 {
  max-width: 1200px;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 740px;
  padding: 0;
  background: #e8f3ff;
}
.hero__background {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-color: #e8f3ff;
  background-image: url("../images/hero2.webp");
  background-image: image-set(url("../images/hero2.webp") type("image/webp"));
  background-repeat: no-repeat;
  background-position: 25% top;
  background-size: cover;
}
.hero__background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #fff 0%,
    rgba(255, 255, 255, 0.99) 22%,
    rgba(255, 255, 255, 0.96) 28%,
    rgba(255, 255, 255, 0.86) 40%,
    rgba(255, 255, 255, 0.42) 44%,
    rgba(255, 255, 255, 0) 47%
  );
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 42px;
  background: linear-gradient(to top, #fff, rgba(255, 255, 255, 0));
  pointer-events: none;
}
.hero__container {
  position: relative;
  z-index: 2;
  min-height: 740px;
}
.hero__content {
  position: relative;
  z-index: 3;
  width: 546px;
  padding: 58px 0 30px;
}
.hero h1 {
  width: 530px;
  max-width: calc(100vw - 40px);
  margin: 0;
  font-size: clamp(46px, 3.25vw, 52px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
}
.hero__content > h1,
.hero__lead {
  transform: translateX(-4px);
}
.hero__lead {
  margin: 18px 0 39px;
  font-size: 30px;
  line-height: 1.32;
  font-weight: 800;
}
.hero__lead strong {
  color: var(--teal);
}
.hero-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-left: -4px;
  max-width: calc(100vw - 40px);
}
.mini-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 108px;
  padding: 18px 20px;
  border: 1px solid rgba(7, 25, 87, 0.055);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 35px rgba(14, 42, 101, 0.09);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.24;
}
.mini-card span {
  min-width: 0;
}
.mini-card img {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  padding: 11px;
  border-radius: 14px;
}
.mini-card:nth-child(1) img {
  background: var(--teal);
}
.mini-card:nth-child(2) img {
  background: var(--violet);
}
.mini-card:nth-child(3) img {
  background: var(--pink);
}
.mini-card:nth-child(4) img {
  background: var(--green);
}
.open-day {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin-left: -4px;
  margin-top: 30px;
  padding: 20px 18px;
  font-size: 18px;
  font-weight: 800;
  border: 1px solid rgba(7, 25, 87, 0.055);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 35px rgba(14, 42, 101, 0.09);
}
.open-day .circle-arrow {
  margin-left: auto;
}
.open-day > img {
  width: 25px;
  height: 25px;
}
.circle-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(7, 25, 87, 0.45);
  border-radius: 50%;
  transition: 0.2s ease;
}
.open-day:hover .circle-arrow {
  color: #fff;
  border-color: var(--pink);
  background: var(--pink);
  transform: translateX(3px);
}
.journey-card {
  position: absolute;
  z-index: 4;
  top: 10px;
  right: 0;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  width: 320px;
  padding: 26px 22px 18px 24px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 50px rgba(11, 43, 102, 0.13);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.journey-card h2 {
  margin: 0 0 12px;
  text-align: center;
  font-size: 25px;
  line-height: 1.15;
}
.journey-list {
  display: grid;
  flex: 1 1 auto;
  grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
  /* grid-template-rows: 1fr 1.05fr 1.18fr 1.75fr 1.05fr; */
  min-height: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.journey-list li {
  position: relative;
  display: grid;
  grid-template-columns: 23px 54px minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
  min-height: 0;
  font-size: 14px;
  line-height: 1.22;
}
.journey-list li > :last-child {
  min-width: 0;
}
.journey-list li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 63px;
  top: calc(50% + 27px);
  bottom: -4px;
  border-left: 1px dashed var(--navy-2);
}
.journey-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 60px;
  bottom: -1px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--navy-2);
  border-bottom: 1.5px solid var(--navy-2);
  transform: rotate(45deg);
}
.journey-list__number {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}
.journey-list__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
}
.journey-list__icon img {
  width: 31px;
  height: 31px;
}
.journey-list__number--teal,
.journey-list__icon--teal {
  background: var(--teal);
}
.journey-list__number--violet,
.journey-list__icon--violet {
  background: var(--violet);
}
.journey-list__number--pink,
.journey-list__icon--pink {
  background: var(--pink);
}
.journey-list__number--navy,
.journey-list__icon--navy {
  background: var(--navy-2);
}
.journey-list__number--green,
.journey-list__icon--green {
  background: var(--green);
}
.journey-card__note {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.35;
}

/* Specialties */
.specialty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.specialty-card {
  display: block;
  overflow: hidden;
  /*min-height: 364px;*/
  border: 1px solid rgba(7, 25, 87, 0.05);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(19, 45, 102, 0.11);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.specialty-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 42px rgba(19, 45, 102, 0.17);
}
.specialty-card__image {
  overflow: hidden;
  height: 170px;
  background: #e7edf8;
}
.specialty-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.specialty-card:hover .specialty-card__image img {
  transform: scale(1.045);
}
.specialty-card__body {
  display: flex;
  flex-direction: column;
  padding: 13px 13px 14px;
}
.specialty-card h3 {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.16;
  letter-spacing: -0.015em;
}
.specialty-card p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.35;
}
.specialty-card p:last-child {
  margin-top: auto;
  margin-bottom: 0;
}
.specialty-card p strong {
  color: var(--text);
}
.specialty-card__links {
  display: grid;
  gap: 7px;
  margin-top: 13px;
}
.specialty-card__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 8px 11px;
  color: var(--navy);
  border: 1px solid rgba(7, 25, 87, 0.18);
  border-radius: 10px;
  background: var(--soft);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}
.specialty-card__links a:hover {
  color: #fff;
  border-color: var(--navy);
  background: var(--navy);
}
.specialty-card__links a span:last-child {
  flex: 0 0 auto;
  font-size: 20px;
  line-height: 1;
}

/* CTA */
.cta-banner {
  display: grid;
  grid-template-columns: 120px minmax(350px, 1fr) minmax(370px, 0.95fr);
  align-items: center;
  gap: 26px;
  min-height: 184px;
  padding: 25px 54px;
  color: #fff;
  border-radius: 22px;
  background: linear-gradient(105deg, #ef2f68 0%, #d8347c 44%, #5a3eba 100%);
  box-shadow: 0 17px 42px rgba(102, 40, 132, 0.2);
}
.cta-banner__icon {
  display: grid;
  place-items: center;
  height: 116px;
  border-right: 1px solid rgba(255, 255, 255, 0.43);
}
.cta-banner__icon img {
  width: 76px;
}
.cta-banner__text h2 {
  margin: 0 0 9px;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.cta-banner__text p {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
}
.cta-banner__action {
  text-align: center;
}
.cta-banner__action p {
  margin: 12px 0 0;
  font-size: 16px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 15px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button--white {
  min-width: 345px;
  min-height: 64px;
  color: var(--pink);
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(55, 20, 81, 0.15);
  font-size: 22px;
}
.button--white span {
  font-size: 30px;
  line-height: 1;
}
.button--outline {
  color: var(--navy);
  border-color: rgba(7, 25, 87, 0.45);
  background: #fff;
}
.button--outline:hover {
  color: #fff;
  border-color: var(--navy);
  background: var(--navy);
}
/* Advantages */

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.advantage-card {
  padding: 6px 14px 16px;
  text-align: center;
  border-radius: 18px;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.advantage-card:hover {
  transform: translateY(-3px);
  background: var(--soft);
}
.advantage-card img {
  width: 51px;
  height: 51px;
  margin: 0 auto 10px;
}
.advantage-card h3 {
  min-height: 45px;
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.16;
}
.advantage-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.46;
}
.footnote {
  margin: 4px 0 0;
  font-size: 14px;
}

/* Campus */
.campus {
  padding-top: 12px;
}
.campus__grid {
  display: grid;
  grid-template-columns: 1.2fr 1.42fr 0.62fr 0.68fr 0.72fr;
  gap: 5px;
  min-height: 300px;
  padding: 11px;
  border-radius: 22px;
  background: #f4f7ff;
}
.campus-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 18px 17px 10px;
}
.campus-intro p {
  max-width: 330px;
  margin: 16px 0 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}
.campus-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 278px;
  border-radius: 13px;
  background: #14214b;
}
.campus-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.campus-card:hover > img {
  transform: scale(1.04);
}
.campus-card::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(transparent, rgba(3, 10, 34, 0.9));
}
.campus-card__caption {
  position: absolute;
  z-index: 2;
  right: 11px;
  bottom: 15px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 14px;
  line-height: 1.15;
}
.campus-card__caption img {
  flex: 0 0 auto;
  width: 35px;
  height: 35px;
}
.campus-card__caption strong {
  font-size: 18px;
}

/* Education path */
.education-path {
  padding: 12px 0 18px;
}
.education-path__grid {
  display: grid;
  grid-template-columns: 330px minmax(650px, 1fr) 220px;
  grid-template-rows: 1fr auto;
  align-items: center;
  min-height: 246px;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(100deg, #f6f8ff, #fff);
}
.education-path__intro {
  padding: 24px 18px 18px 13px;
}
.education-path__intro p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.42;
}
.path-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 16px 10px;
}
.path-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 172px;
  height: 136px;
  padding: 12px;
  color: #fff;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 13px 28px rgba(23, 38, 93, 0.14);
}
.path-step strong {
  font-size: 16px;
  line-height: 1.22;
}
.path-step img {
  width: 38px;
  height: 38px;
  margin-top: 9px;
}
.path-step small {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.16;
}
.path-step--violet {
  background: linear-gradient(145deg, #4d37a5, #745bd2);
}
.path-step--blue {
  width: 210px;
  background: linear-gradient(145deg, #08769c, #008eb3);
}
.path-step--green {
  background: linear-gradient(145deg, #97c31f, #78a916);
}
.path-arrow {
  color: var(--blue);
  font-size: 31px;
  font-weight: 400;
}
.education-path__student {
  align-self: stretch;
}
.education-path__student img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.education-path__summary {
  grid-column: 2 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: -2px 0 14px;
  font-size: 18px;
  font-weight: 700;
}
.education-path__summary img {
  width: 25px;
}

/* Student life */

.life-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 20px;
}
.life-card {
  display: block;
  text-align: center;
}
.life-card img {
  width: 100%;
  height: 254px;
  object-fit: cover;
  border-radius: 13px;
  box-shadow: 0 9px 24px rgba(20, 42, 91, 0.12);
  transition: transform 0.25s ease;
}
.life-card:hover img {
  transform: translateY(-4px);
}
.life-card h3 {
  margin: 9px 0 0;
  font-size: 18px;
  line-height: 1.15;
}
.specialty-card:focus-visible,
.specialty-card__links a:focus-visible,
.campus-card:focus-visible,
.life-card:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

/* Laptop */
@media (max-width: 1280px) {
  :root {
    --container: 1160px;
  }
  .hero__background {
    background-position: 48% top;
  }
  .hero__content {
    width: 460px;
    padding-top: 48px;
  }
  .hero h1 {
    width: 500px;
    font-size: 46px;
  }
  .hero__lead {
    margin-bottom: 32px;
    font-size: 20px;
  }
  .hero-benefits {
    width: 460px;
  }
  .mini-card {
    min-height: 102px;
    padding: 16px;
    font-size: 12.5px;
  }
  .mini-card img {
    width: 48px;
    height: 48px;
    padding: 9px;
  }
  .journey-card {
    width: 300px;
    padding: 24px 17px 17px 20px;
  }
  .journey-card h2 {
    font-size: 22px;
  }
  .journey-list li {
    grid-template-columns: 22px 48px minmax(0, 1fr);
    column-gap: 10px;
    font-size: 12px;
  }
  .journey-list li:not(:last-child)::before {
    left: 56px;
    top: calc(50% + 24px);
  }
  .journey-list li:not(:last-child)::after {
    left: 53px;
  }
  .journey-list__icon {
    width: 48px;
    height: 48px;
  }
  .specialty-card__image {
    height: 150px;
  }
  .specialty-card {
    min-height: 335px;
  }
  .cta-banner {
    grid-template-columns: 100px 1fr 340px;
    padding-inline: 38px;
  }
  .button--white {
    min-width: 315px;
    font-size: 20px;
  }
  .education-path__grid {
    grid-template-columns: 280px minmax(560px, 1fr) 190px;
  }
  .path-step {
    width: 146px;
  }
  .path-step--blue {
    width: 184px;
  }
}

@media (max-width: 1199px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 650px auto;
    min-height: 0;
  }
  .hero::after {
    display: none;
  }
  .hero__background {
    position: relative;
    inset: auto;
    grid-area: 1 / 1;
    /* height: 650px; */
    height: auto;
    background-position: 15% top;
  }
  .hero__background::after {
    background: linear-gradient(
      -90deg,
      #fff 0%,
      rgba(255, 255, 255, 0.99) 28%,
      rgba(255, 255, 255, 0.92) 39%,
      rgba(255, 255, 255, 0.46) 49%,
      rgba(255, 255, 255, 0) 59%
    );
  }
  .hero__container {
    display: contents;
  }
  .hero__content {
    grid-area: 1 / 1;
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
    padding-top: 44px;
  }
  .journey-card {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    grid-area: 2 / 1;
    justify-self: center;
    width: 320px;
    height: 680px;
    margin: 24px auto 32px;
    padding: 26px 22px 18px 24px;
  }
  .journey-card h2 {
    font-size: 25px;
  }
  .journey-list li {
    grid-template-columns: 23px 54px minmax(0, 1fr);
    column-gap: 14px;
    font-size: 13.5px;
  }
  .journey-list li:not(:last-child)::before {
    left: 63px;
    top: calc(50% + 27px);
  }
  .journey-list li:not(:last-child)::after {
    left: 60px;
  }
  .journey-list__icon {
    width: 54px;
    height: 54px;
  }
}

/* Tablet */
@media (max-width: 1060px) {
  .specialty-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .specialty-card {
    min-height: 360px;
  }
  .specialty-card__image {
    height: 180px;
  }

  .advantage-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .campus__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .campus-intro {
    grid-column: 1 / -1;
  }
  .campus-card--main {
    grid-column: span 2;
  }
  .education-path__grid {
    grid-template-columns: 1fr;
  }
  .education-path__intro {
    text-align: center;
  }
  .education-path__intro p {
    max-width: 680px;
    margin-inline: auto;
  }
  .education-path__student {
    display: none;
  }
  .education-path__summary {
    grid-column: 1;
  }
  .life-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 22px;
  }
  .life-card img {
    height: 190px;
  }
}

@media (max-width: 820px) {
  .cta-banner {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 25px 19px;
    text-align: center;
  }
  .cta-banner__icon {
    height: auto;
    padding-bottom: 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  }
  .cta-banner__action {
    width: 100%;
  }
  .button--white {
    width: 100%;
    min-width: 0;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .container {
    /* width: min(calc(100% - 28px), var(--container)); */
    width: auto;
  }
  .section {
    padding: 24px 0;
  }
  .section-heading h2,
  .campus-intro h2,
  .education-path__intro h2 {
    font-size: 24px;
  }
  .hero {
    grid-template-rows: auto auto auto;
    background: #fff;
  }
  /* .hero__background {
    grid-area: 2 / 1;
    height: clamp(330px, 105vw, 420px);
    background-position: 54% top;
    background-size: auto 100%;
  }
  .hero__background::after {
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 0) 88%, #fff 100%);
  } */
  .hero__content {
    grid-area: 1 / 1;
    width: min(calc(100% - 28px), var(--container));
    padding: 30px 0 22px;
  }
  .hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(30px, 7.4vw, 38px);
    line-height: 1.04;
  }
  .hero__content > h1,
  .hero__lead {
    transform: none;
  }
  .hero__lead {
    margin: 14px 0 24px;
  }
  .hero-benefits {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    max-width: none;
    margin-left: 0;
  }

  .advantage-card h3 {
    min-height: auto;
  }

  .campus-card__caption {
    font-size: 18px;
  }

  .mini-card span {
    flex: 1 1 auto;
    width: 0;
  }
  .mini-card {
    width: 100%;
    min-height: 76px;
    margin-left: 0;
    padding: 14px 16px;
    font-size: 15px;
  }
  .open-day {
    gap: 8px;
    width: 100%;
    margin-left: 0;
    margin-top: 22px;
    font-size: 16px;
    /* white-space: nowrap; */
  }
  .open-day > img {
    width: 22px;
    height: 22px;
  }
  .open-day .circle-arrow {
    width: 30px;
    height: 30px;
    display: none;
  }
  .journey-card {
    grid-area: 3 / 1;
    width: min(calc(100% - 28px), 360px);
    height: 650px;
    margin: 20px auto 30px;
    padding: 22px 16px 17px;
    border-radius: 26px;
  }
  .journey-card h2 {
    font-size: 23px;
  }
  .journey-list li {
    grid-template-columns: 23px 50px minmax(0, 1fr);
    column-gap: 10px;
    font-size: 15px;
  }
  .journey-list li:not(:last-child)::before {
    left: 58px;
    top: calc(50% + 25px);
  }
  .journey-list li:not(:last-child)::after {
    left: 55px;
  }
  .journey-list__icon {
    width: 50px;
    height: 50px;
  }

  .specialty-grid {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 3px 3px 18px;
    margin-inline: -3px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .specialty-card {
    flex: 0 0 min(82vw, 310px);
    min-height: 375px;
    scroll-snap-align: start;
  }
  .specialty-card__image {
    height: 184px;
  }
  .cta-banner {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 25px 19px;
    text-align: center;
  }
  .cta-banner__icon {
    height: auto;
    padding-bottom: 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  }
  .cta-banner__icon img {
    width: 66px;
  }
  .cta-banner__text h2 {
    font-size: 27px;
  }
  .cta-banner__text p {
    font-size: 15px;
  }
  .button--white {
    width: 100%;
    min-width: 0;
    min-height: 60px;
    padding-inline: 12px;
    font-size: 18px;
  }
  .advantage-grid {
    grid-template-columns: 1fr 1fr;
  }
  .advantage-card {
    min-height: auto;
    padding: 10px 7px 20px;
  }
  .campus__grid {
    grid-template-columns: 1fr;
    padding: 8px;
  }
  .campus-intro {
    grid-column: 1;
    padding: 17px 12px;
  }
  .campus-card--main {
    grid-column: 1;
  }
  .campus-card {
    min-height: 285px;
  }
  .path-steps {
    flex-direction: column;
  }
  .path-step,
  .path-step--blue {
    width: min(100%, 290px);
    height: 145px;
  }
  .path-arrow {
    transform: rotate(90deg);
  }
  .education-path__summary {
    padding-inline: 14px;
    text-align: center;
  }
  .life-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 10px;
  }
  .life-card img {
    height: 150px;
  }
}

@media (max-width: 430px) {
  .mini-card span {
    overflow-wrap: anywhere;
  }
  .advantage-grid {
    grid-template-columns: 1fr;
  }
  .life-card img {
    height: 132px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
