/* Shared Program Study information-hub styles. */

body.site-program .program-hero {
  background: #eef6f9;
  padding-block: clamp(3rem, 6vw, 4.25rem);
  text-align: center;
}

body.site-program .program-hero__inner,
body.site-program .program-overview__inner,
body.site-program .program-map-section__inner,
body.site-program .program-academic-information__inner,
body.site-program .program-lecturers__inner,
body.site-program .program-registration__inner,
body.site-program .program-cta__inner {
  box-sizing: border-box;
  margin-inline: auto;
  max-width: 1080px;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  width: 100%;
}

body.site-program .program-hero__inner,
body.site-program .program-registration__inner,
body.site-program .program-cta__inner {
  max-width: 44rem;
}

body.site-program .program-hero__eyebrow,
body.site-program .program-section-header__label,
body.site-program .program-registration__label {
  color: #004d68;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0;
  text-transform: uppercase;
}

body.site-program .program-hero__title {
  color: #07162f;
  font-size: clamp(1.9rem, 3.6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0.9rem 0 0;
  text-wrap: balance;
}

body.site-program .program-hero__text,
body.site-program .program-section-header__text,
body.site-program .program-registration__text,
body.site-program .program-cta__text {
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.7;
}

body.site-program .program-hero__text,
body.site-program .program-section-header__text,
body.site-program .program-registration__text {
  color: #40525e;
}

body.site-program .program-hero__text {
  margin: 1rem 0 0;
}

body.site-program .program-hero__location {
  color: #087ca2;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 1.25rem 0 0;
}

body.site-program .program-overview,
body.site-program .program-academic-information,
body.site-program .program-lecturers {
  background: #ffffff;
  padding-block: clamp(3.5rem, 5vw, 4.25rem);
}

body.site-program .program-map-section,
body.site-program .program-registration {
  background: #f1f7fa;
  border-block: 1px solid #e1eef3;
  padding-block: clamp(3.5rem, 5vw, 4.25rem);
}

body.site-program .program-section-header {
  max-width: 48rem;
}

body.site-program .program-section-header__label {
  border-top: 3px solid #087ca2;
  padding-top: 0.9rem;
  width: fit-content;
}

body.site-program .program-section-header__title,
body.site-program .program-registration__title {
  color: #07162f;
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 1rem 0 0;
  text-wrap: balance;
}

body.site-program .program-section-header__text {
  margin: 0.9rem 0 0;
  max-width: 48rem;
}

body.site-program .program-identity-card {
  border-radius: 16px;
  box-sizing: border-box;
  margin-top: clamp(2rem, 3vw, 2.5rem);
  min-width: 0;
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
}

body.site-program .program-identity-card {
  background: #f7fbfc;
  border: 1px solid #dbe9ee;
  border-top: 3px solid #087ca2;
  max-width: 36rem;
}

body.site-program .program-identity-card__title,
body.site-program .program-identity-card__label,
body.site-program .program-identity-card__value {
  color: #07162f;
  font-weight: 700;
  line-height: 1.35;
  margin: 1rem 0 0;
  overflow-wrap: anywhere;
}

body.site-program .program-identity-card__title {
  font-size: 1rem;
}

body.site-program .program-identity-card__label {
  color: #40525e;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.site-program .program-identity-card__value {
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
}

body.site-program .program-status {
  align-self: flex-start;
  border-radius: 999px;
  box-sizing: border-box;
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.35;
  max-width: 100%;
  padding: 0.24rem 0.5rem;
}

body.site-program .program-status--available {
  background: #e4f2f7;
  color: #004d68;
}

body.site-program .program-status--pending {
  background: #fbf7f0;
  color: #76531b;
}

body.site-program .program-map {
  background: #ffffff;
  border: 1px solid #dbe9ee;
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(7, 22, 47, 0.04);
  box-sizing: border-box;
  margin-top: clamp(2rem, 3vw, 2.5rem);
  padding: clamp(1.25rem, 2.8vw, 2.25rem);
}

body.site-program .program-map__root {
  background: #07162f;
  border-radius: 12px;
  box-sizing: border-box;
  color: #ffffff;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 700;
  line-height: 1.4;
  margin-inline: auto;
  max-width: 36rem;
  padding: 1rem 1.25rem;
  text-align: center;
}

body.site-program .program-map__connector {
  color: #087ca2;
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  padding-block: 0.6rem;
  text-align: center;
}

body.site-program .program-map__branches {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 1.25rem 0 0;
  position: relative;
}

body.site-program .program-map__branches::before {
  background: #9fcedb;
  content: "";
  height: 1px;
  left: 12.5%;
  position: absolute;
  right: 12.5%;
  top: 0;
}

body.site-program .program-map__branch {
  background: #f7fbfc;
  border: 1px solid #dbe9ee;
  border-radius: 12px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.9rem;
  position: relative;
}

body.site-program .program-map__branch::before {
  background: #9fcedb;
  content: "";
  height: 1.25rem;
  left: 50%;
  position: absolute;
  top: -1.25rem;
  width: 1px;
}

body.site-program .program-map__branch-title {
  color: #07162f;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

body.site-program .program-academic-directory {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(1.5rem, 2.5vw, 2rem);
}

body.site-program .program-academic-feature {
  background: #f7fbfc;
  border: 1px solid #dbe9ee;
  border-radius: 12px;
  box-sizing: border-box;
  min-width: 0;
  padding: 1rem;
}

body.site-program .program-academic-feature__summary {
  align-items: flex-start;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding-right: 1.5rem;
  position: relative;
}

body.site-program .program-academic-feature__summary::-webkit-details-marker {
  display: none;
}

body.site-program .program-academic-feature__summary::after {
  color: #087ca2;
  content: "+";
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  position: absolute;
  right: 0;
  top: 0;
}

body.site-program .program-academic-feature[open] .program-academic-feature__summary::after {
  content: "−";
}

body.site-program .program-academic-feature__title {
  color: #07162f;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

body.site-program .program-academic-feature__text {
  border-top: 1px solid #dbe9ee;
  color: #40525e;
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0.85rem 0 0;
  padding-top: 0.85rem;
}

body.site-program .program-directory-link {
  align-items: center;
  background: #ffffff;
  border: 1px solid #9fcedb;
  border-radius: 12px;
  box-sizing: border-box;
  color: #087ca2;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
  margin-top: clamp(1.5rem, 2.5vw, 2rem);
  padding: 0.9rem 1.1rem;
  text-decoration: none;
}

body.site-program .program-directory-link:hover {
  border-color: #087ca2;
  color: #004d68;
  text-decoration: underline;
}

body.site-program .program-directory-link:focus-visible,
body.site-program .program-academic-feature__summary:focus-visible,
body.site-program .program-registration__button:focus-visible,
body.site-program .program-cta__button:focus-visible {
  outline: 3px solid #087ca2;
  outline-offset: 4px;
}

body.site-program .program-registration {
  text-align: center;
}

body.site-program .program-registration__inner,
body.site-program .program-cta__inner {
  box-sizing: border-box;
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  width: 100%;
}

body.site-program .program-registration__label {
  border-top: 3px solid #087ca2;
  margin-inline: auto;
  padding-top: 0.9rem;
  width: fit-content;
}

body.site-program .program-registration__text {
  margin: 1rem 0 0;
}

body.site-program .program-registration__button {
  align-items: center;
  background: #087ca2;
  border: 2px solid transparent;
  border-radius: 0.7rem;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1.25;
  margin-top: 2rem;
  min-height: 3.1rem;
  padding: 0.8rem 1.5rem;
  text-align: center;
  text-decoration: none;
}

body.site-program .program-registration__button:hover {
  background: #066583;
}

body.site-program .program-cta {
  background: #07162f;
  padding-block: clamp(4rem, 6vw, 5rem);
  position: relative;
}

body.site-program .program-cta::before {
  background: #087ca2;
  content: "";
  height: 3px;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 64px;
}

body.site-program .program-cta__inner {
  text-align: center;
}

body.site-program .program-cta__label {
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0;
  text-transform: uppercase;
}

body.site-program .program-cta__title {
  color: #ffffff;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0.9rem 0 0;
  text-wrap: balance;
}

body.site-program .program-cta__text {
  color: rgba(255, 255, 255, 0.85);
  margin: 1rem 0 0;
}

body.site-program .program-cta__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  margin-top: 2rem;
}

body.site-program .program-cta__button {
  align-items: center;
  border: 2px solid transparent;
  border-radius: 0.7rem;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1.25;
  min-height: 3.1rem;
  padding: 0.8rem 1.5rem;
  text-align: center;
  text-decoration: none;
}

body.site-program .program-cta__button--primary {
  background: #ffffff;
  color: #004d68;
}

body.site-program .program-cta__button--primary:hover {
  background: #e4f2f7;
}

body.site-program .program-cta__button--secondary {
  border-color: rgba(255, 255, 255, 0.65);
  color: #ffffff;
}

body.site-program .program-cta__button--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

body.site-program .program-cta__meta {
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.9rem;
  gap: 0.55rem 0.85rem;
  justify-content: center;
  line-height: 1.5;
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
}

body.site-program .program-cta__meta-item:not(:last-child)::after {
  color: #58b8d2;
  content: "•";
  margin-left: 0.85rem;
}

@media only screen and (max-width: 1239px) {
  body.site-program .program-hero,
  body.site-program .program-overview,
  body.site-program .program-map-section,
  body.site-program .program-academic-information,
  body.site-program .program-lecturers,
  body.site-program .program-registration,
  body.site-program .program-cta {
    padding-block: clamp(3.25rem, 7vw, 4rem);
  }

  body.site-program .program-hero__inner,
  body.site-program .program-overview__inner,
  body.site-program .program-map-section__inner,
  body.site-program .program-academic-information__inner,
  body.site-program .program-lecturers__inner,
  body.site-program .program-registration__inner,
  body.site-program .program-cta__inner {
    padding-inline: clamp(1.5rem, 6vw, 3.5rem);
  }

  body.site-program .program-map__branches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 767px) {
  body.site-program .program-hero,
  body.site-program .program-overview,
  body.site-program .program-map-section,
  body.site-program .program-academic-information,
  body.site-program .program-lecturers,
  body.site-program .program-registration,
  body.site-program .program-cta {
    padding-block: clamp(2.5rem, 9vw, 3.25rem);
  }

  body.site-program .program-hero__inner,
  body.site-program .program-overview__inner,
  body.site-program .program-map-section__inner,
  body.site-program .program-academic-information__inner,
  body.site-program .program-lecturers__inner,
  body.site-program .program-registration__inner,
  body.site-program .program-cta__inner {
    padding-inline: 1.35rem;
  }

  body.site-program .program-identity-card,
  body.site-program .program-map,
  body.site-program .program-map__branch,
  body.site-program .program-academic-feature {
    border-radius: 14px;
  }

  body.site-program .program-map__connector,
  body.site-program .program-map__branches::before,
  body.site-program .program-map__branch::before {
    display: none;
  }

  body.site-program .program-map__branches,
  body.site-program .program-academic-directory {
    grid-template-columns: minmax(0, 1fr);
  }

  body.site-program .program-map__branches {
    margin-top: 1.25rem;
    padding-top: 0;
  }

  body.site-program .program-directory-link,
  body.site-program .program-registration__button,
  body.site-program .program-cta__button {
    width: 100%;
  }

  body.site-program .program-cta__meta-item:not(:last-child)::after {
    display: none;
  }
}
