.academy-page {
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}

.unilifesity-v4-academy .site-nav-list > li:first-child > a {
  color: var(--purple);
}

.unilifesity-v4-academy .site-nav-list > li:nth-child(2) > a,
.unilifesity-v4-academy .site-nav-list .current-menu-item > a,
.unilifesity-v4-academy .site-nav-list a[aria-current="page"] {
  color: var(--orange);
}

.site-footer-academy .footer-grid-four {
  grid-template-columns: 1.35fr 0.8fr 0.8fr 1fr;
}

.academy-page .site-header nav a:first-child {
  color: var(--purple);
}

.academy-page .site-header nav a:nth-child(2) {
  color: var(--orange);
}

.academy-page .academy-section {
  padding: 88px 0;
}

.academy-page .eyebrow {
  margin: 0 0 12px;
  color: var(--purple);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.academy-page h1,
.academy-page h2,
.academy-page h3,
.academy-page p {
  margin-top: 0;
}

.academy-page h1 {
  margin-bottom: 20px;
  color: var(--purple);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.academy-page h2 {
  margin-bottom: 18px;
  color: var(--purple);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.22;
}

.academy-page h3 {
  margin-bottom: 14px;
  color: var(--purple);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
}

.academy-page p {
  color: var(--graphite);
  font-size: 18px;
  line-height: 1.75;
}

.academy-page .academy-hero {
  background:
    radial-gradient(circle at 89% 6%, rgba(159, 122, 234, 0.14), transparent 28%),
    #f2ecf7;
}

.academy-page .academy-hero-inner {
  display: grid;
  min-height: 420px;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 64px;
  padding: 40px 0;
}

.academy-page .academy-hero-copy {
  max-width: 535px;
}

.academy-page .academy-hero-intro {
  max-width: 520px;
  margin-bottom: 28px;
}

.academy-page .academy-hero-visual {
  position: relative;
  height: 320px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(76, 42, 133, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 35px rgba(76, 42, 133, 0.09);
}

.academy-page .academy-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.academy-page .academy-hero-visual figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(250, 247, 242, 0.92);
  color: var(--graphite);
  font-size: 13px;
  font-weight: 600;
}

.academy-page .current-term {
  background: var(--paper);
}

.academy-page .term-intro {
  max-width: 780px;
  margin-bottom: 52px;
}

.academy-page .term-copy h3 {
  margin-top: 26px;
  margin-bottom: 6px;
  font-size: 22px;
}

.academy-page .term-copy > p:last-child {
  max-width: 720px;
  margin-bottom: 0;
}

.academy-page .term-copy .term-button {
  margin-top: 24px;
}

.academy-page .term-date {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.academy-page .term-button[aria-disabled="true"],
.academy-page .path-card .button[aria-disabled="true"],
.academy-page .course-card .button[aria-disabled="true"] {
  cursor: default;
}

.academy-page .schedule-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.academy-page .schedule-heading h3,
.academy-page .schedule-heading .eyebrow {
  margin-bottom: 0;
}

.academy-page .schedule-heading .eyebrow {
  margin-bottom: 8px;
}

.academy-page .schedule-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.academy-page .sample-label,
.academy-page .course-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #eee6f7;
  color: var(--purple);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.academy-page .time-label {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 13px;
  border: 1px solid #e5d9f2;
  border-radius: 999px;
  background: #fff;
  color: var(--purple);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.academy-page .schedule-organizer {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f5f0f8;
}

.academy-page .schedule-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ded3e8;
}

.academy-page .schedule-summary div {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.academy-page .schedule-summary span {
  color: var(--graphite);
  font-size: 14px;
  font-weight: 600;
}

.academy-page .schedule-summary strong {
  color: var(--purple);
  font-size: 20px;
  font-weight: 700;
}

.academy-page .schedule-summary p {
  margin: 0;
  color: var(--graphite);
  font-size: 15px;
  font-weight: 600;
}

.academy-page .schedule-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 24px;
  margin-bottom: 24px;
}

.academy-page .schedule-control-group {
  min-width: 0;
}

.academy-page .schedule-control-label {
  display: block;
  margin-bottom: 9px;
  color: var(--graphite);
  font-size: 13px;
  font-weight: 700;
}

.academy-page .month-tabs,
.academy-page .week-tabs {
  display: grid;
  gap: 10px;
}

.academy-page .month-tabs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.academy-page .week-tabs {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.academy-page .month-tabs button,
.academy-page .week-tabs button {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--graphite);
  cursor: pointer;
  font: inherit;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.academy-page .month-tabs button {
  min-height: 62px;
  padding: 10px 14px;
  text-align: left;
}

.academy-page .month-tabs button strong,
.academy-page .month-tabs button span {
  display: block;
}

.academy-page .month-tabs button strong {
  margin-bottom: 3px;
  color: inherit;
  font-size: 15px;
  font-weight: 700;
}

.academy-page .month-tabs button span {
  overflow: hidden;
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.academy-page .week-tabs button {
  min-height: 62px;
  padding: 8px 4px;
  font-size: 15px;
  font-weight: 700;
}

.academy-page .month-tabs button:hover,
.academy-page .week-tabs button:hover {
  border-color: #cdbbe0;
  color: var(--purple);
  transform: translateY(-1px);
}

.academy-page .month-tabs button:focus-visible,
.academy-page .week-tabs button:focus-visible {
  outline: 3px solid rgba(217, 119, 6, 0.42);
  outline-offset: 2px;
}

.academy-page .month-tabs button.is-active,
.academy-page .week-tabs button.is-active {
  border-color: var(--purple);
  background: var(--purple);
  color: #fff;
}

.academy-page .schedule-help {
  margin: 15px 0 0;
  color: var(--graphite);
  font-size: 14px;
  line-height: 1.6;
}

.academy-page .schedule-month {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(47, 47, 53, 0.045);
}

.academy-page .schedule-month-heading {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
  background: var(--purple);
}

.academy-page .schedule-month-heading p,
.academy-page .schedule-month-heading h4,
.academy-page .schedule-month-heading span {
  margin: 0;
  color: #fff;
}

.academy-page .schedule-month-heading p {
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.academy-page .schedule-month-heading h4 {
  font-size: 21px;
  font-weight: 700;
}

.academy-page .schedule-month-heading > span {
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.academy-page .schedule-header,
.academy-page .schedule-row {
  display: grid;
  grid-template-columns: 16fr 11fr 16fr 32fr 25fr;
}

.academy-page .schedule-header {
  align-items: center;
  min-height: 52px;
  background: #f1eaf8;
  color: var(--purple);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.academy-page .schedule-header > span {
  padding: 0 20px;
}

.academy-page .schedule-header > * + *,
.academy-page .schedule-row > * + * {
  border-left: 1px solid rgba(232, 225, 216, 0.75);
}

.academy-page .schedule-row {
  min-height: 80px;
  border-top: 1px solid var(--line);
}

.academy-page .schedule-row:first-child {
  border-top: 0;
}

.academy-page .schedule-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 18px 20px;
  color: var(--graphite);
  font-size: 15px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.academy-page .schedule-cell strong {
  color: var(--ink);
  font-weight: 600;
}

.academy-page .schedule-course strong {
  color: var(--purple);
  font-size: 17px;
  line-height: 1.5;
}

.academy-page .schedule-label {
  display: none;
  margin-bottom: 5px;
  color: var(--graphite);
  font-size: 13px;
  font-weight: 600;
}

.academy-page .schedule-empty {
  display: grid;
  min-height: 132px;
  place-items: center;
  padding: 28px 24px;
  color: var(--graphite);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.academy-page .schedule-swap {
  animation: schedule-swap 320ms ease both;
}

@keyframes schedule-swap {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.academy-page .zoom-qa {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  margin-top: 52px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(47, 47, 53, 0.045);
}

.academy-page .zoom-qa-intro {
  padding: 32px;
  background:
    radial-gradient(circle at 100% 0, rgba(159, 122, 234, 0.48), transparent 38%),
    var(--purple);
}

.academy-page .zoom-mark {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
}

.academy-page .zoom-qa-intro .eyebrow {
  color: #dac9ef;
}

.academy-page .zoom-qa-intro h3,
.academy-page .zoom-qa-intro p {
  color: #fff;
}

.academy-page .zoom-qa-intro > p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

.academy-page .zoom-questions {
  padding: 12px 28px;
}

.academy-page .zoom-questions details {
  border-bottom: 1px solid var(--line);
}

.academy-page .zoom-questions details:last-child {
  border-bottom: 0;
}

.academy-page .zoom-questions summary {
  position: relative;
  padding: 22px 40px 22px 0;
  color: var(--purple);
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  list-style: none;
}

.academy-page .zoom-questions summary::-webkit-details-marker {
  display: none;
}

.academy-page .zoom-questions summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  content: "+";
  color: var(--orange);
  font-size: 24px;
  font-weight: 400;
  transform: translateY(-50%);
}

.academy-page .zoom-questions details[open] summary::after {
  content: "–";
}

.academy-page .zoom-questions details p {
  max-width: 620px;
  margin-bottom: 22px;
  color: var(--graphite);
  font-size: 15px;
  line-height: 1.7;
}

.academy-page .learning-paths {
  background: #f1eaf8;
}

.academy-page .section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.academy-page .section-heading > p:last-child {
  margin-bottom: 0;
}

.academy-page .path-grid,
.academy-page .course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.academy-page .path-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(47, 47, 53, 0.045);
}

.academy-page .path-mark {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 50%;
  background: #eee6f7;
  color: var(--purple);
  font-size: 18px;
  font-weight: 700;
}

.academy-page .path-lavender .path-mark {
  background: #f0ebfb;
  color: #7652bb;
}

.academy-page .path-orange .path-mark {
  background: var(--orange);
  color: var(--white);
}

.academy-page .path-position {
  min-height: 64px;
  margin-bottom: 22px;
  font-size: 17px;
}

.academy-page .path-card dl {
  margin: 0 0 24px;
}

.academy-page .path-card dl > div {
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.academy-page .path-card dt {
  margin-bottom: 4px;
  color: var(--purple);
  font-size: 14px;
  font-weight: 700;
}

.academy-page .path-card dd {
  margin: 0;
  color: var(--graphite);
  font-size: 15px;
  line-height: 1.55;
}

.academy-page .path-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.academy-page .featured-courses {
  background: var(--paper);
}

.academy-page .course-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(47, 47, 53, 0.045);
}

.academy-page .course-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8def3;
}

.academy-page .course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.academy-page .course-image-contained {
  padding: 24px;
  background: #eee6f7;
}

.academy-page .course-image-contained img {
  object-fit: contain;
}

.academy-page .course-card-body {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 24px;
}

.academy-page .course-card h3 {
  margin-top: 16px;
  margin-bottom: 12px;
}

.academy-page .course-card p {
  display: -webkit-box;
  margin-bottom: 16px;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.academy-page .course-card .course-detail {
  display: block;
  margin-top: auto;
  margin-bottom: 18px;
  color: var(--purple);
  font-size: 15px;
  font-weight: 600;
}

.academy-page .course-card .button {
  align-self: flex-start;
}

.academy-page .motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.academy-page .motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.evidence-mode .academy-page.motion-ready [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

.academy-page .motion-ready .reveal-delay-1 {
  transition-delay: 100ms;
}

.academy-page .motion-ready .reveal-delay-2 {
  transition-delay: 200ms;
}

.academy-page .motion-ready .academy-hero-visual.is-visible img {
  animation: academy-image-breathe 14s ease-in-out 800ms infinite alternate;
}

@keyframes academy-image-breathe {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.045);
  }
}

@media (hover: hover) {
  .academy-page .path-card,
  .academy-page .course-card {
    transition:
      opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 350ms ease,
      box-shadow 350ms ease;
  }

  .academy-page .path-card.is-visible:hover,
  .academy-page .course-card.is-visible:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(76, 42, 133, 0.09);
  }
}

@media (max-width: 1024px) {
  .site-footer-academy .footer-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .academy-page .academy-section {
    padding: 64px 0;
  }

  .academy-page h1 {
    font-size: 40px;
  }

  .academy-page h2 {
    font-size: 31px;
  }

  .academy-page h3 {
    font-size: 22px;
  }

  .academy-page p {
    font-size: 17px;
  }

  .academy-page .academy-hero-inner {
    min-height: 380px;
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    gap: 36px;
    padding: 32px 0;
  }

  .academy-page .academy-hero-visual {
    height: 300px;
  }

  .academy-page .term-intro { margin-bottom: 44px; }

  .academy-page .schedule-month {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .academy-page .schedule-month-heading {
    margin-bottom: 24px;
    border-radius: 18px;
  }

  .academy-page .schedule-header {
    display: none;
  }

  .academy-page .schedule-body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .academy-page .schedule-row {
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(47, 47, 53, 0.04);
  }

  .academy-page .schedule-row:first-child {
    border-top: 1px solid var(--line);
  }

  .academy-page .schedule-row > * + * {
    border-left: 0;
  }

  .academy-page .schedule-cell {
    display: block;
    padding: 11px 0;
  }

  .academy-page .schedule-cell + .schedule-cell {
    border-top: 1px solid var(--line);
  }

  .academy-page .schedule-label {
    display: block;
  }

  .academy-page .schedule-course strong {
    font-size: 16px;
  }

  .academy-page .zoom-qa {
    grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  }

  .academy-page .zoom-qa-intro {
    padding: 28px;
  }

  .academy-page .path-grid,
  .academy-page .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-footer-academy .footer-grid-four {
    grid-template-columns: 1fr;
  }

  .academy-page .academy-section {
    padding: 52px 0;
  }

  .academy-page h1 {
    font-size: 32px;
  }

  .academy-page h2 {
    font-size: 27px;
  }

  .academy-page h3 {
    font-size: 20px;
  }

  .academy-page p {
    font-size: 17px;
  }

  .academy-page .academy-hero-inner {
    display: block;
    min-height: 0;
    padding: 44px 0;
  }

  .academy-page .academy-hero-copy {
    max-width: none;
  }

  .academy-page .academy-hero-intro {
    margin-bottom: 24px;
  }

  .academy-page .academy-hero-visual {
    height: auto;
    margin-top: 32px;
    aspect-ratio: 16 / 10;
  }

  .academy-page .term-intro { margin-bottom: 42px; }

  .academy-page .term-button {
    margin-top: 22px;
  }

  .academy-page .schedule-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .academy-page .schedule-organizer {
    padding: 18px;
  }

  .academy-page .schedule-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .academy-page .schedule-summary div {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .academy-page .schedule-controls {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .academy-page .schedule-badges {
    justify-content: flex-start;
  }

  .academy-page .schedule-month-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .academy-page .zoom-qa {
    grid-template-columns: 1fr;
  }

  .academy-page .zoom-mark {
    margin-bottom: 22px;
  }

  .academy-page .zoom-questions {
    padding: 6px 22px;
  }

  .academy-page .schedule-body,
  .academy-page .path-grid,
  .academy-page .course-grid {
    grid-template-columns: 1fr;
  }

  .academy-page .path-card {
    min-height: 0;
  }

  .academy-page .path-position {
    min-height: 0;
  }

  .academy-page .course-card-body {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .academy-page .motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .academy-page .motion-ready .academy-hero-visual.is-visible img {
    animation: none;
  }

  .academy-page .schedule-swap {
    animation: none;
  }
}
