:root {
  --program-navy: #11213f;
  --program-blue: #4f6fe8;
  --program-blue-soft: #edf2ff;
  --program-ink-soft: #56637b;
  --program-line: rgba(17, 33, 63, .12);
  --program-paper: #fffdf9;
}

.program-hub-page {
  color: var(--program-navy);
  background: #f7f4f1;
}

/* The footer uses a square source image with a horizontal logo in its centre.
   Keep the intended crop on small screens instead of inheriting the compact
   header-logo background sizing. */
.program-hub-page .brand-image--footer {
  width: 170px;
  height: 54px;
  background-size: 215px 215px;
}

.program-hub-page .footer-bottom button,
.program-hub-page .cookie-actions .text-button {
  min-height: 44px;
  padding-block: 8px;
}

.program-hub-page main {
  padding-top: var(--header-height);
}

.program-hub-page p,
.program-hub-page li,
.program-hub-page small,
.program-hub-page dd {
  line-height: 1.62;
}

.program-hub-page .container {
  width: min(100% - 64px, 1450px);
}

.program-hub-hero {
  position: relative;
  overflow: hidden;
  padding: 38px 0 88px;
  background:
    radial-gradient(circle at 87% 28%, rgba(89, 112, 224, .12), transparent 29%),
    linear-gradient(180deg, #f9f7f4 0%, #f5f2ef 100%);
  border-bottom: 1px solid var(--program-line);
}

.program-hub-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -210px;
  bottom: -230px;
  border: 1px solid rgba(79, 111, 232, .18);
  border-radius: 50%;
  pointer-events: none;
}

.program-hub-hero .course-breadcrumbs {
  margin-bottom: 48px;
}

.program-hub-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(460px, .92fr);
  gap: clamp(48px, 6vw, 94px);
  align-items: center;
}

.program-hub-hero__copy h1 {
  max-width: 790px;
  margin: 22px 0 24px;
  font-size: clamp(40px, 3.2vw, 48px);
  line-height: 1.055;
  letter-spacing: -.038em;
  text-wrap: balance;
}

.program-h1-line {
  display: block;
}

.program-hub-hero__lead {
  max-width: 790px;
  margin: 0;
  color: var(--program-ink-soft);
  font-size: clamp(18px, 1.35vw, 21px);
}

.program-hub-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 34px 0 28px;
  border: 1px solid var(--program-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .7);
  overflow: hidden;
}

.program-hub-hero__stats span {
  min-width: 0;
  padding: 18px 20px;
}

.program-hub-hero__stats span + span {
  border-left: 1px solid var(--program-line);
}

.program-hub-hero__stats strong,
.program-hub-hero__stats small {
  display: block;
}

.program-hub-hero__stats strong {
  margin-bottom: 3px;
  font-size: 24px;
  line-height: 1.1;
}

.program-hub-hero__stats small {
  color: var(--program-ink-soft);
  font-size: 13px;
}

.program-system-map {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(58, 79, 147, .14);
  border-radius: 32px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 26px 64px rgba(31, 43, 72, .12);
}

.program-system-map__head,
.program-system-map__source,
.program-document__head,
.program-document__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.program-system-map__head {
  padding-bottom: 18px;
  color: #53617b;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.program-system-map__head span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
}

.program-system-map__head i,
.program-document__head i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #58a674;
  box-shadow: 0 0 0 5px rgba(88, 166, 116, .12);
}

.program-system-map__head b {
  color: #8190aa;
  font-weight: 700;
}

.program-system-map__document {
  position: relative;
  min-height: 260px;
  padding: 34px 34px 28px;
  border: 1px solid #dfe4ee;
  border-radius: 25px;
  background: #f7f8fb;
  overflow: hidden;
}

.program-system-map__document > span {
  position: absolute;
  inset: 42px 68px auto;
  height: 168px;
  border: 1px solid #d9dfeb;
  border-radius: 14px;
  background: #fff;
  transform: rotate(-4deg);
  box-shadow: 0 15px 28px rgba(46, 61, 98, .06);
}

.program-system-map__document > span:nth-child(2) {
  transform: translate(18px, 8px) rotate(2deg);
}

.program-system-map__document > span:nth-child(3) {
  transform: translate(7px, 15px);
}

.program-system-map__document > div {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 14px;
  align-items: center;
  padding: 11px 14px;
  border-bottom: 1px solid #e6e9f0;
  background: rgba(255, 255, 255, .92);
}

.program-system-map__document > div:first-of-type {
  border-radius: 13px 13px 0 0;
}

.program-system-map__document > div:last-child {
  border-bottom: 0;
  border-radius: 0 0 13px 13px;
}

.program-system-map__document div i {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  color: #4864cd;
  background: #eef2ff;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.program-system-map__document div b,
.program-system-map__document div small {
  display: block;
}

.program-system-map__document div b {
  font-size: 13px;
}

.program-system-map__document div small {
  color: #7c889d;
  font-size: 11px;
}

.program-system-map__routes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.program-system-map__routes a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--program-line);
  border-radius: 16px;
  color: inherit;
  background: #fff;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.program-system-map__routes a:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 111, 232, .38);
  box-shadow: 0 12px 26px rgba(41, 59, 111, .08);
}

.program-system-map__routes i {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  color: #fff;
  background: var(--program-navy);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.program-system-map__routes span,
.program-system-map__routes b,
.program-system-map__routes small {
  display: block;
}

.program-system-map__routes b {
  font-size: 13px;
}

.program-system-map__routes small {
  color: #7b879c;
  font-size: 11px;
}

.program-system-map__source {
  margin: 14px -24px -24px;
  padding: 17px 24px;
  border-radius: 0 0 32px 32px;
  color: #fff;
  background: var(--program-navy);
  text-decoration: none;
  font-size: 12px;
}

.program-system-map__source span {
  font-weight: 800;
}

.program-system-map__source b {
  color: #cdd8ff;
}

.program-credential-carousel {
  position: relative;
  padding: 20px 20px 0;
  border: 1px solid rgba(58, 79, 147, .14);
  border-radius: 32px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 26px 64px rgba(31, 43, 72, .12);
  overflow: hidden;
}

.program-credential-carousel__head,
.program-credential-carousel__controls,
.program-credential-carousel__source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.program-credential-carousel__head {
  padding: 1px 2px 17px;
  color: #53617b;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.program-credential-carousel__head span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.program-credential-carousel__head i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #58a674;
  box-shadow: 0 0 0 5px rgba(88, 166, 116, .12);
}

.program-credential-carousel__head b {
  color: #7f8ba0;
  font-size: 11px;
}

.program-credential-carousel__stage {
  position: relative;
  min-height: clamp(435px, 34vw, 500px);
  border: 1px solid #dde2ec;
  border-radius: 24px;
  background: #eef1f6;
  overflow: hidden;
}

.program-credential-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
  background: #f4f5f7;
  opacity: 0;
  visibility: hidden;
  transform: scale(.985);
  transition: opacity .45s ease, visibility .45s ease, transform .6s var(--ease);
}

.program-credential-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.program-credential-slide::after {
  content: none;
}

.program-credential-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f4f5f7;
}

.program-credential-slide figcaption {
  position: relative;
  z-index: 2;
  padding: 17px 20px 18px;
  color: #fff;
  background: var(--program-navy);
}

.program-credential-slide figcaption > span,
.program-credential-slide figcaption > strong,
.program-credential-slide figcaption > small {
  display: block;
}

.program-credential-slide figcaption > span {
  margin-bottom: 8px;
  color: #c8d4ff;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
}

.program-credential-slide figcaption > strong {
  max-width: 470px;
  font-size: clamp(19px, 1.7vw, 25px);
  line-height: 1.12;
}

.program-credential-slide figcaption > small {
  margin-top: 8px;
  color: #dce2ec;
  font-size: 12px;
  line-height: 1.42;
}

.program-credential-slide figcaption small i {
  display: inline-flex;
  margin: 3px 5px 0 0;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  font-size: 10px;
  font-style: normal;
}

.program-credential-carousel__controls {
  padding: 13px 2px;
}

.program-credential-carousel__controls > button {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid #d8deea;
  border-radius: 15px;
  color: var(--program-navy);
  background: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.program-credential-carousel__controls > button:hover {
  color: #fff;
  background: var(--program-navy);
  transform: translateY(-2px);
}

.program-credential-carousel__controls > div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.program-credential-carousel__controls > div button {
  width: 28px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: #d4dae6;
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.program-credential-carousel__controls > div button.is-active {
  width: 48px;
  background: #5876df;
}

.program-credential-carousel__source {
  margin: 0 -20px;
  padding: 15px 20px;
  color: #fff;
  background: var(--program-navy);
  text-decoration: none;
  font-size: 11px;
}

.program-credential-carousel__source span {
  font-weight: 750;
}

.program-credential-carousel__source b {
  color: #cad5ff;
  text-align: right;
}

.program-credential-carousel__references {
  margin: 0 -20px;
  padding: 11px 20px 13px;
  color: #748096;
  background: #f7f8fb;
  font-size: 10px;
  line-height: 1.45;
}

.program-credential-carousel__references a {
  color: #405dbf;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.program-choice,
.program-official,
.program-faq {
  padding: 96px 0;
}

.program-choice {
  background: #fffdf9;
  border-bottom: 1px solid var(--program-line);
}

.program-choice__head,
.program-official__head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: end;
  margin-bottom: 42px;
}

.program-choice__head h2,
.program-official__head h2,
.program-faq h2 {
  max-width: 830px;
  margin: 14px 0 0;
  font-size: clamp(34px, 3.5vw, 54px);
  line-height: 1.06;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.program-choice__head > p,
.program-official__head > p,
.program-faq__grid > div > p {
  margin: 0;
  color: var(--program-ink-soft);
  font-size: 18px;
}

.program-choice__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.program-choice-card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--program-line);
  border-radius: 24px;
  color: inherit;
  background: #fff;
  text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.program-choice-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 111, 232, .42);
  box-shadow: 0 18px 38px rgba(29, 42, 76, .09);
}

.program-choice-card > span {
  color: #5872d5;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .09em;
}

.program-choice-card h3 {
  margin: 30px 0 14px;
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.program-choice-card p {
  margin: 0;
  color: var(--program-ink-soft);
  font-size: 15px;
}

.program-choice-card > b {
  margin-top: auto;
  padding-top: 24px;
  color: #3654bd;
  font-size: 13px;
}

.program-choice-card--accent {
  color: #fff;
  background: var(--program-navy);
}

.program-choice-card--accent > span,
.program-choice-card--accent > b {
  color: #b9c7ff;
}

.program-choice-card--accent p {
  color: #c8d0df;
}

.program-courses {
  padding: 92px 0 110px;
}

.program-courses__stack {
  display: grid;
  gap: 34px;
}

.program-course {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, .76fr);
  gap: clamp(36px, 5vw, 78px);
  align-items: stretch;
  padding: clamp(32px, 4.4vw, 66px);
  border: 1px solid rgba(17, 33, 63, .1);
  border-radius: 38px;
  background: var(--program-paper);
  box-shadow: 0 24px 60px rgba(26, 36, 62, .08);
  scroll-margin-top: 110px;
}

.program-course--reverse .program-course__content {
  order: 2;
}

.program-course--reverse .program-document {
  order: 1;
}

.program-course--flagship {
  color: #fff;
  background:
    radial-gradient(circle at 18% 12%, rgba(87, 113, 211, .32), transparent 28%),
    linear-gradient(145deg, #172847, #0e1d38);
}

.program-course__content {
  min-width: 0;
}

.program-course__content h2 {
  max-width: 850px;
  margin: 16px 0 20px;
  font-size: clamp(34px, 3.25vw, 52px);
  line-height: 1.04;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.program-course__lead {
  max-width: 820px;
  margin: 0;
  color: var(--program-ink-soft);
  font-size: 18px;
}

.program-course--flagship .program-course__lead,
.program-course--flagship .program-course__result small,
.program-course--flagship .program-course__syllabus p {
  color: #c6cfdf;
}

.program-course__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 28px 0;
  border: 1px solid var(--program-line);
  border-radius: 20px;
  overflow: hidden;
}

.program-course--flagship .program-course__stats {
  border-color: rgba(255, 255, 255, .17);
}

.program-course__stats span {
  padding: 16px 18px;
}

.program-course__stats span + span {
  border-left: 1px solid var(--program-line);
}

.program-course--flagship .program-course__stats span + span {
  border-color: rgba(255, 255, 255, .17);
}

.program-course__stats b,
.program-course__stats small {
  display: block;
}

.program-course__stats b {
  font-size: 23px;
  line-height: 1.1;
}

.program-course__stats small {
  color: var(--program-ink-soft);
  font-size: 12px;
}

.program-course--flagship .program-course__stats small {
  color: #b9c4d8;
}

.program-course__result {
  margin-top: 28px;
}

.program-course__result > p {
  margin: 0 0 13px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.program-course__result ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.program-course__result li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--program-line);
  border-radius: 15px;
  background: rgba(255, 255, 255, .56);
}

.program-course--flagship .program-course__result li {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
}

.program-course__result li i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  color: #3b5bc6;
  background: #edf2ff;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.program-course__result b,
.program-course__result small {
  display: block;
}

.program-course__result b {
  margin-bottom: 2px;
  font-size: 14px;
}

.program-course__result small {
  color: var(--program-ink-soft);
  font-size: 13px;
}

.program-course__syllabus {
  margin-top: 13px;
  border: 1px solid var(--program-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .55);
}

.program-course--flagship .program-course__syllabus {
  border-color: rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .04);
}

.program-course__syllabus summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 18px;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 850;
}

.program-course__syllabus summary::-webkit-details-marker {
  display: none;
}

.program-course__syllabus summary b,
.program-faq__items summary b {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(79, 111, 232, .25);
  border-radius: 50%;
  color: #4865ce;
  background: #f0f4ff;
  transition: transform .2s ease;
}

.program-course__syllabus[open] summary b,
.program-faq__items details[open] summary b {
  transform: rotate(45deg);
}

.program-course__syllabus ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  margin: 0;
  padding: 0 24px 22px 48px;
  color: var(--program-ink-soft);
  font-size: 13px;
}

.program-course--flagship .program-course__syllabus ol {
  color: #c6cfdf;
}

.program-course__module-list {
  display: grid;
  gap: 10px;
  padding: 0 18px 18px;
}

.program-course__module-list section {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
}

.program-course__module-list b,
.program-course__module-list p {
  display: block;
  margin: 0;
}

.program-course__module-list b {
  margin-bottom: 4px;
  font-size: 13px;
}

.program-course__module-list p {
  font-size: 13px;
}

.program-course__law {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 13px;
  padding: 15px 17px;
  border: 1px solid var(--program-line);
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  font-size: 12px;
}

.program-course__law span {
  color: var(--program-ink-soft);
  text-transform: uppercase;
  letter-spacing: .07em;
}

.program-course__law b {
  color: #3654bd;
  text-align: right;
}

.program-course--flagship .program-course__law {
  border-color: rgba(255, 255, 255, .15);
}

.program-course--flagship .program-course__law span {
  color: #b6c2d6;
}

.program-course--flagship .program-course__law b {
  color: #b9c8ff;
}

.program-course__sources {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.program-course__sources .program-course__law {
  align-items: flex-start;
  flex-direction: column;
}

.program-course__sources .program-course__law b {
  text-align: left;
}

.program-course__pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.program-course__pricing button {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 142px;
  padding: 17px 18px;
  border: 1px solid var(--program-line);
  border-radius: 18px;
  color: inherit;
  background: rgba(255, 255, 255, .68);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.program-course__pricing button:hover {
  border-color: rgba(79, 111, 232, .42);
  box-shadow: 0 13px 27px rgba(36, 57, 107, .1);
  transform: translateY(-2px);
}

.program-course__pricing button:focus-visible {
  outline: 3px solid rgba(79, 111, 232, .24);
  outline-offset: 3px;
}

.program-course__pricing button > span {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-size: 12px;
}

.program-course__pricing i {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  color: #3d5ac2;
  background: #edf2ff;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.program-course__pricing button > b,
.program-course__pricing button > small {
  display: block;
}

.program-course__pricing button > b {
  align-self: end;
  color: #1e3f9b;
  font-size: 24px;
  line-height: 1.1;
}

.program-course__pricing button > small {
  margin-top: 5px;
  color: var(--program-ink-soft);
  font-size: 11px;
  line-height: 1.4;
}

.program-course--flagship .program-course__pricing button {
  border-color: rgba(255, 255, 255, .17);
  background: rgba(255, 255, 255, .05);
}

.program-course--flagship .program-course__pricing button:hover {
  border-color: rgba(185, 200, 255, .55);
  background: rgba(255, 255, 255, .08);
}

.program-course--flagship .program-course__pricing button > b {
  color: #d2dcff;
}

.program-course--flagship .program-course__pricing button > small {
  color: #b9c4d8;
}

.program-course__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.program-course__actions .button {
  min-width: 210px;
  justify-content: center;
}

.program-course--flagship .button--primary {
  color: var(--program-navy);
  background: #fff;
}

.program-course--flagship .button--secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .32);
  background: transparent;
}

.program-modules {
  display: grid;
  gap: 8px;
  margin: 27px 0 4px;
}

.program-modules > span {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 13px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
}

.program-modules i {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  color: #172849;
  background: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.program-modules b,
.program-modules small {
  display: block;
}

.program-modules b {
  font-size: 14px;
}

.program-modules small {
  color: #b8c3d7;
  font-size: 12px;
}

.program-document {
  display: flex;
  min-width: 0;
  min-height: 710px;
  flex-direction: column;
  padding: 20px;
  border: 1px solid #dce2ec;
  border-radius: 28px;
  background: #eef1f6;
  overflow: hidden;
}

.program-course--flagship .program-document {
  border-color: rgba(255, 255, 255, .13);
  background: rgba(242, 245, 251, .96);
}

.program-document__head {
  padding: 2px 4px 16px;
  color: #62708a;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.program-document__head span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
}

.program-document__head b {
  color: #7e8aa0;
}

.program-document__viewport {
  position: relative;
  flex: 1;
  min-height: 575px;
  border: 1px solid #dfe4ec;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
}

.program-document figure {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 18px 18px 44px;
  opacity: 0;
  transform: translateX(18px);
  pointer-events: none;
  transition: opacity .42s ease, transform .42s ease;
}

.program-document figure.is-active {
  z-index: 2;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.program-document figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: contrast(1.03);
}

.program-document figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 9px;
  border-top: 1px solid #e4e8ee;
  color: #657189;
  font-size: 11px;
  font-weight: 800;
}

.program-document figcaption::after {
  content: "документ";
  color: #8d97a8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.program-document__controls {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 14px 0 10px;
}

.program-document__controls button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #b8c1d2;
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}

.program-document__controls button.is-active {
  width: 26px;
  background: #5370df;
}

.program-document__meta {
  padding: 12px 4px 0;
  border-top: 1px solid #d7dde8;
  color: #68758c;
  font-size: 11px;
}

.program-document__meta b {
  color: #40557f;
}

.program-official {
  background: #fffdf9;
  border-block: 1px solid var(--program-line);
}

.program-official__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.program-official__grid a {
  display: grid;
  min-height: 190px;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--program-line);
  border-radius: 20px;
  color: inherit;
  background: #fff;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease;
}

.program-official__grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 111, 232, .4);
}

.program-official__grid i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: #4562cc;
  background: #eef2ff;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.program-official__grid b,
.program-official__grid small {
  display: block;
}

.program-official__grid b {
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 1.2;
}

.program-official__grid small {
  color: var(--program-ink-soft);
  font-size: 13px;
}

.program-official__grid strong {
  grid-column: 2;
  align-self: end;
  color: #3f5dc5;
  font-size: 11px;
}

.program-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(500px, 1fr);
  gap: clamp(50px, 8vw, 130px);
  align-items: start;
}

.program-faq__grid > div > p {
  max-width: 620px;
  margin-top: 22px;
}

.program-faq__items {
  display: grid;
  gap: 10px;
}

.program-faq__items details {
  border: 1px solid var(--program-line);
  border-radius: 17px;
  background: #fff;
}

.program-faq__items summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 20px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 820;
}

.program-faq__items summary::-webkit-details-marker {
  display: none;
}

.program-faq__items details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--program-ink-soft);
  font-size: 15px;
}

.program-final-cta {
  padding: 0 0 96px;
}

.program-final-cta__box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  padding: clamp(34px, 4.5vw, 64px);
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(106, 135, 239, .42), transparent 30%),
    var(--program-navy);
}

.program-final-cta__box h2 {
  max-width: 850px;
  margin: 13px 0 14px;
  font-size: clamp(34px, 3.4vw, 53px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.program-final-cta__box p:not(.course-section-label) {
  max-width: 800px;
  margin: 0;
  color: #c5cfdf;
  font-size: 17px;
}

.program-final-cta__box .button {
  min-width: 220px;
  justify-content: center;
}

.program-hub-request-modal .program-request-modal__sheet {
  max-width: 1000px;
}

.program-hub-request-modal .course-request-form .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.program-hub-request-modal .course-request-summary__price {
  margin-top: 3px;
  color: #3155b8;
  font-size: 13px;
  font-weight: 850;
}

.program-hub-request-modal .course-request-formats__grid label > span {
  grid-template-rows: auto auto auto;
}

.program-hub-request-modal .course-request-formats__grid label > span i {
  grid-row: 1 / 4;
}

.program-hub-request-modal .course-request-formats__grid label > span em {
  grid-column: 2;
  margin-top: 4px;
  color: #3155b8;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

@media (max-width: 1220px) {
  .program-hub-page .container {
    width: min(100% - 44px, 1160px);
  }

  .program-hub-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, .8fr);
    gap: 42px;
  }

  .program-hub-hero__copy h1 {
    font-size: clamp(39px, 3.2vw, 44px);
  }

  .program-choice__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-choice-card {
    min-height: 240px;
  }

  .program-course {
    grid-template-columns: minmax(0, 1fr) minmax(380px, .72fr);
    gap: 38px;
    padding: 40px;
  }

  .program-document {
    min-height: 640px;
  }

  .program-document__viewport {
    min-height: 510px;
  }
}

@media (max-width: 980px) {
  .program-hub-hero__grid,
  .program-choice__head,
  .program-official__head,
  .program-course,
  .program-faq__grid,
  .program-final-cta__box {
    grid-template-columns: 1fr;
  }

  .program-hub-hero__grid {
    gap: 46px;
  }

  .program-system-map {
    max-width: 700px;
  }

  .program-choice__head,
  .program-official__head {
    gap: 24px;
  }

  .program-course--reverse .program-course__content,
  .program-course--reverse .program-document {
    order: initial;
  }

  .program-course .program-document {
    order: 2;
  }

  .program-document {
    min-height: 760px;
  }

  .program-document__viewport {
    min-height: 630px;
  }

  .program-official__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-faq__grid {
    gap: 36px;
  }

  .program-final-cta__box {
    align-items: start;
    gap: 26px;
  }

  .program-final-cta__box .button {
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .program-hub-page .container {
    width: min(100% - 28px, 660px);
  }

  .program-hub-hero {
    padding: 22px 0 64px;
  }

  .program-hub-hero .course-breadcrumbs {
    display: none;
  }

  .program-hub-hero__copy h1 {
    margin: 17px 0 18px;
    font-size: clamp(33px, 9.5vw, 42px);
    line-height: 1.045;
  }

  .program-h1-line {
    display: inline;
  }

  .program-credential-carousel {
    padding: 13px 13px 0;
    border-radius: 25px;
  }

  .program-credential-carousel__head {
    padding-bottom: 12px;
    font-size: 9px;
  }

  .program-credential-carousel__stage {
    min-height: 390px;
    border-radius: 18px;
  }

  .program-credential-slide figcaption {
    padding: 14px 15px 15px;
  }

  .program-credential-slide figcaption > strong {
    font-size: 17px;
  }

  .program-credential-slide figcaption > small {
    margin-top: 5px;
    font-size: 10px;
  }

  .program-credential-slide figcaption small i {
    display: none;
  }

  .program-credential-carousel__controls {
    padding-block: 10px;
  }

  .program-credential-carousel__controls > button {
    width: 42px;
    height: 42px;
  }

  .program-credential-carousel__controls > div button {
    width: 19px;
  }

  .program-credential-carousel__controls > div button.is-active {
    width: 34px;
  }

  .program-credential-carousel__source {
    margin-inline: -13px;
    padding: 13px;
  }

  .program-credential-carousel__source span {
    display: none;
  }

  .program-credential-carousel__references {
    margin-inline: -13px;
    padding: 10px 13px 12px;
    font-size: 9px;
  }

  .program-hub-hero__lead,
  .program-choice__head > p,
  .program-official__head > p,
  .program-faq__grid > div > p,
  .program-course__lead {
    font-size: 16px;
  }

  .program-hub-hero__stats {
    grid-template-columns: 1fr;
  }

  .program-hub-hero__stats span {
    padding: 14px 16px;
  }

  .program-hub-hero__stats span + span {
    border-top: 1px solid var(--program-line);
    border-left: 0;
  }

  .program-hub-hero .course-hero__actions,
  .program-course__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .program-hub-hero .course-hero__actions .button,
  .program-course__actions .button {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .program-system-map {
    padding: 16px;
    border-radius: 24px;
  }

  .program-system-map__head b {
    display: none;
  }

  .program-system-map__document {
    min-height: 236px;
    padding: 28px 20px 22px;
  }

  .program-system-map__document > span {
    inset-inline: 36px;
  }

  .program-system-map__routes {
    grid-template-columns: 1fr;
  }

  .program-system-map__source {
    margin: 14px -16px -16px;
    padding: 15px 16px;
    border-radius: 0 0 24px 24px;
  }

  .program-choice,
  .program-official,
  .program-faq {
    padding: 68px 0;
  }

  .program-choice__head h2,
  .program-official__head h2,
  .program-faq h2,
  .program-course__content h2,
  .program-final-cta__box h2 {
    font-size: clamp(31px, 8.9vw, 42px);
  }

  .program-choice__grid,
  .program-official__grid {
    grid-template-columns: 1fr;
  }

  .program-choice-card {
    min-height: 230px;
  }

  .program-courses {
    padding: 58px 0 72px;
  }

  .program-courses__stack {
    gap: 20px;
  }

  .program-course {
    gap: 28px;
    padding: 24px 18px;
    border-radius: 26px;
  }

  .program-course__stats {
    grid-template-columns: 1fr;
  }

  .program-course__stats span + span {
    border-top: 1px solid var(--program-line);
    border-left: 0;
  }

  .program-course--flagship .program-course__stats span + span {
    border-top-color: rgba(255, 255, 255, .17);
  }

  .program-course__syllabus ol {
    grid-template-columns: 1fr;
    padding-left: 42px;
  }

  .program-course__sources {
    grid-template-columns: 1fr;
  }

  .program-course__law {
    align-items: flex-start;
    flex-direction: column;
  }

  .program-course__law b {
    text-align: left;
  }

  .program-course__pricing {
    grid-template-columns: 1fr;
  }

  .program-document {
    min-height: 560px;
    padding: 12px;
    border-radius: 20px;
  }

  .program-document__viewport {
    min-height: 450px;
    border-radius: 15px;
  }

  .program-document figure {
    padding: 10px 10px 40px;
  }

  .program-document__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .program-official__grid a {
    min-height: 165px;
  }

  .program-final-cta {
    padding-bottom: 68px;
  }

  .program-final-cta__box {
    padding: 30px 22px;
    border-radius: 24px;
  }

  .program-final-cta__box .button {
    width: 100%;
  }

  .program-hub-request-modal .course-request-form .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .program-hub-page .container {
    width: min(100% - 22px, 400px);
  }

  .program-hub-hero__copy h1 {
    font-size: 35px;
  }

  .program-system-map__document div {
    grid-template-columns: 36px 1fr;
    padding-inline: 10px;
  }

  .program-document {
    min-height: 520px;
  }

  .program-document__viewport {
    min-height: 410px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .program-document figure,
  .program-choice-card,
  .program-system-map__routes a,
  .program-official__grid a {
    transition: none;
  }
}
