/* Page-specific layer on the HRT programme styles. */

.kk-page {
  --sil-field-base: #00285c;
  --sil-field:
    radial-gradient(ellipse 90% 75% at 100% 0%, rgb(0 115 255 / 0.48) 0%, transparent 58%),
    radial-gradient(ellipse 70% 85% at 0% 100%, rgb(0 22 52 / 0.72) 0%, transparent 62%),
    linear-gradient(148deg, #001833 0%, #002a62 34%, #0047ab 66%, #0073ff 100%);
  --sil-field-alt:
    radial-gradient(ellipse 88% 72% at 0% 12%, rgb(0 115 255 / 0.44) 0%, transparent 56%),
    radial-gradient(ellipse 74% 78% at 100% 100%, rgb(0 22 52 / 0.68) 0%, transparent 60%),
    linear-gradient(212deg, #001833 0%, #002a62 36%, #0047ab 68%, #0073ff 100%);
  --cert-blue: #0073ff;
  --cert-blue-hover: #0060d6;
  --cert-glow: 0 10px 28px rgb(0 115 255 / 0.28);
}

.kk-nav__home {
  display: flex;
  line-height: 0;
}

.kk-nav__logo {
  width: 210px;
  height: auto;
}

@media (min-width: 900px) {
  .kk-section-title,
  .kk-outcomes__title,
  .kk-modules__title,
  .kk-who__title,
  .kk-faculty__title,
  .kk-enrol__title {
    font-size: 42px;
  }
}

.kk-enrol__header .kk-enrol__sub {
  max-width: 40rem;
  margin: 0.85rem auto 0;
  white-space: normal;
  color: rgb(226 232 240 / 0.88);
}

@media (max-width: 900px) {
  .kk-page .kk-intro__title .kk-accent {
    white-space: nowrap;
  }
}

.co-sticky-bar__inner {
  align-items: center;
  padding-right: max(0.85rem, env(safe-area-inset-right, 0px));
}

.co-sticky-bar__cta,
.co-sticky-bar__dismiss {
  position: relative;
  top: auto;
  right: auto;
  flex-shrink: 0;
}

.co-sticky-bar__dismiss {
  width: 2.55rem;
  height: 2.55rem;
  font-size: 1.25rem;
  line-height: 1;
}

@media (min-width: 768px) {
  .co-sticky-bar__inner {
    padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
  }
}

.kk-intro {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  padding-bottom: 3.5rem;
  background-color: #d7ebfb;
  background-image: url("../img/hero-silastic.png?v=6");
  background-repeat: no-repeat;
  background-position: 78% 38%;
  background-size: cover;
}

.kk-intro__mobile-photo {
  display: none;
}

.kk-modules__title,
.kk-enrol__sub {
  white-space: normal;
}

.sil-agenda {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.25rem);
  align-items: stretch;
  max-width: 52rem;
  margin-inline: auto;
}

.sil-agenda__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border-radius: 1.25rem;
  background: #fff;
  color: var(--kk-ink);
  border: 1px solid rgb(0 115 255 / 0.12);
  box-shadow: 0 16px 40px -24px rgb(0 115 255 / 0.28);
}

.sil-agenda__day {
  margin: 0 0 0.35rem;
  font-family: var(--kk-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--kk-blue);
}

.sil-agenda__card h3 {
  margin: 0 0 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgb(0 115 255 / 0.18);
  font-family: var(--kk-heading);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.2;
  color: var(--kk-ink);
}

@media (min-width: 960px) {
  .kk-modules .kk-wrap {
    width: min(calc(100% - 2.5rem), 1280px);
  }
}

.kk-who__cards--facts {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .kk-who__cards--facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .kk-who__cards--facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.kk-who__cards--facts .kk-who__card-title {
  font-family: var(--kk-sans);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--who-ink);
}

@media (min-width: 960px) {
  .kk-who__cards--facts .kk-who__card-title {
    font-size: 1.35rem;
  }
}

.kk-faculty {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: linear-gradient(180deg, #eef5ff 0%, #fff 42%, #f8fbff 100%);
}

.kk-faculty .kk-accent {
  font-style: normal;
  font-family: inherit;
  font-weight: inherit;
  background: linear-gradient(
    100deg,
    var(--kk-blue) 0%,
    #64b4ff 32%,
    var(--kk-green-soft) 68%,
    var(--kk-green) 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--kk-blue);
}

@media (prefers-reduced-motion: no-preference) {
  .kk-faculty .kk-accent {
    animation: kk-accent-flow 10s ease-in-out infinite;
  }
}

.kk-faculty__grid {
  display: grid;
  gap: clamp(1.15rem, 2.2vw, 1.65rem);
  width: 100%;
  max-width: none;
  margin: 0;
}

.kk-faculty__card,
.kk-faculty__card + .kk-faculty__card {
  margin-top: 0;
}

.kk-faculty__card {
  display: flex;
  flex-direction: column;
  grid-template-columns: none;
  gap: 0.4rem;
  min-width: 0;
  min-height: 100%;
  padding: clamp(1.1rem, 1.8vw, 1.35rem);
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid rgb(0 115 255 / 0.1);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.9) inset,
    0 20px 44px -32px rgb(0 115 255 / 0.28);
}

.kk-faculty__visual {
  margin: 0 0 0.4rem;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1rem;
}

.kk-faculty__photo {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 1rem;
  background: #e8eef5;
}

.kk-faculty__copy {
  margin-top: 0;
  padding-top: 0;
}

.kk-faculty__name {
  margin: 0 0 0.28rem;
  font-size: clamp(1.28rem, 1.55vw, 1.5rem);
  line-height: 1.15;
}

.kk-faculty__role {
  margin: 0 0 0.9rem;
  font-family: var(--kk-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: none;
  color: #000000;
}

@media (min-width: 960px) {
  .kk-faculty__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}

@media (max-width: 959px) {
  .kk-faculty__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .kk-faculty__grid {
    grid-template-columns: 1fr;
  }
}

.kk-prices:has(> :only-child) {
  grid-template-columns: minmax(0, 36rem);
  justify-content: center;
}

.kk-page .kk-enrol {
  color: #fff;
  background-color: var(--sil-field-base);
  background-image: var(--sil-field);
}

.kk-page .kk-enrol__title {
  color: #fff;
}

.kk-page .kk-enrol__header .kk-enrol__sub {
  max-width: 40rem;
  margin-inline: auto;
  white-space: normal;
  text-wrap: balance;
  color: rgb(255 255 255 / 0.9);
}

.kk-page .kk-enrol .kk-accent {
  font-style: normal;
  font-family: inherit;
  font-weight: inherit;
  background: linear-gradient(
    100deg,
    #93c5fd 0%,
    #50a0ff 32%,
    #69dc82 68%,
    #05c832 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@media (prefers-reduced-motion: no-preference) {
  .kk-page .kk-enrol .kk-accent {
    animation: kk-accent-flow 10s ease-in-out infinite;
  }
}

.kk-who.sil-who-field {
  background-color: var(--sil-field-base);
  background-image: var(--sil-field-alt);
  color: #fff;
}

.kk-who.sil-who-field .kk-who__title {
  color: #fff;
}

.kk-who.sil-who-field .kk-who__card {
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.22);
  box-shadow:
    0 22px 48px -26px rgb(0 0 0 / 0.38),
    0 1px 0 rgb(255 255 255 / 0.14) inset;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.kk-who.sil-who-field .kk-who__card::before {
  background: linear-gradient(90deg, #50a0ff 0%, #0073ff 52%, #69dc82 100%);
  opacity: 0.95;
}

.kk-who.sil-who-field .kk-who__cards--facts .kk-who__card-title,
.kk-who.sil-who-field .kk-who__card-title {
  color: #fff;
}

.kk-who.sil-who-field .kk-who__card-text {
  color: rgb(255 255 255 / 0.88);
}

@media (max-width: 767px) {
  .kk-wrap {
    width: min(calc(100% - 2rem), var(--kk-max));
  }

  .kk-nav {
    padding-top: max(0.85rem, env(safe-area-inset-top, 0px));
  }

  .kk-nav__logo {
    width: 156px;
  }

  .kk-intro {
    min-height: 0;
    display: block;
    padding: 0;
    background-image: none;
    background-color: #e8f4ff;
  }

  .kk-intro .kk-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    width: min(calc(100% - 2rem), var(--kk-max));
    padding-top: 5.35rem;
    padding-bottom: 0;
  }

  .kk-intro__mobile-photo {
    display: block;
    width: 100%;
    height: auto;
  }

  

  .kk-intro__title {
    margin-bottom: 0.55rem;
    font-size: clamp(1.85rem, 8.4vw, 2.2rem);
    line-height: 1.02;
  }

  .kk-intro__lead {
    margin-bottom: 0.65rem;
    font-size: 0.92rem;
    line-height: 1.4;
    max-width: 22rem;
    color: #1e293b;
  }

  

  .kk-intro__row--stack {
    gap: 0.7rem;
  }

  .kk-btn,
  .kk-btn--ghost,
  .kk-offer__cta {
    min-height: 2.75rem;
  }

  .kk-section-title,
  .kk-outcomes__title,
  .kk-modules__title,
  .kk-who__title,
  .kk-faculty__title,
  .kk-enrol__title {
    font-size: clamp(1.7rem, 8vw, 2.05rem);
    line-height: 1.12;
  }

  .kk-who__title,
  .kk-modules__title,
  .kk-faculty__title {
    text-wrap: balance;
  }

  .kk-who__cards--facts {
    grid-template-columns: 1fr;
  }

  .kk-who__cards--facts .kk-who__card-title {
    font-size: 1.12rem;
  }

  .kk-faculty__card {
    padding: 1rem;
  }

  .kk-faculty__visual,
  .kk-faculty__photo {
    aspect-ratio: 3 / 4;
    max-height: 22rem;
  }

  .kk-enrol__header .kk-enrol__sub {
    font-size: 1.02rem;
    line-height: 1.45;
  }

  .kk-enrol-modal {
    padding: max(0.5rem, env(safe-area-inset-top, 0px)) 0.5rem max(0.5rem, env(safe-area-inset-bottom, 0px));
  }

  .kk-enrol-modal__panel {
    width: 100%;
    max-height: min(96dvh, 100%);
    border-radius: 1rem;
  }

  .kk-page .co-sticky-bar {
    display: block !important;
  }

  .co-sticky-bar__inner {
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0.55rem;
    padding: 0.65rem 0.75rem;
    padding-bottom: max(0.65rem, env(safe-area-inset-bottom, 0px));
    padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
  }

  .co-sticky-bar__lead {
    display: none;
  }

  .co-sticky-bar__cta {
    flex: 1 1 auto;
    min-height: 2.75rem;
    font-size: 0.92rem;
  }

  .co-sticky-bar__dismiss {
    width: 2.75rem;
    height: 2.75rem;
  }

  body.kk-page:not(.co-sticky-dismissed) {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .kk-who__cards--facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
