/* 0008 */
.frontend-theme-academy {
  --academy-ink: #123d24;
  --academy-deep: #17622d;
  --academy-green: #26833c;
  --academy-leaf: #63ad5a;
  --academy-mint: #edf7ed;
  --academy-mint-strong: #dcefdc;
  --academy-cream: #fff9ec;
  --academy-pink: #f36e8d;
  --academy-yellow: #f4b929;
  --academy-blue: #3b8fc4;
  --academy-line: #dce9dc;
  --academy-muted: #5f7466;
  --academy-shadow: 0 18px 42px rgba(18, 61, 36, 0.1);
  color: var(--academy-ink);
  background: #ffffff;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

.frontend-theme-academy main {
  min-height: 68vh;
}

.frontend-theme-academy .site-mascots {
  display: none;
}

.frontend-theme-academy .site-header {
  min-height: 88px;
  padding: 14px clamp(24px, 4.5vw, 72px);
  color: var(--academy-ink);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--academy-line);
  box-shadow: none;
}

.frontend-theme-academy .site-header.is-scrolled,
.frontend-theme-academy.nav-open .site-header {
  background: #ffffff;
  border-color: var(--academy-line);
  box-shadow: 0 8px 24px rgba(18, 61, 36, 0.08);
}

.frontend-theme-academy .brand {
  min-width: 250px;
  gap: 13px;
}

.frontend-theme-academy .brand-mark {
  width: 54px;
  height: 54px;
  background: #ffffff;
  border: 1px solid #f0d6dd;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(18, 61, 36, 0.1);
}

.frontend-theme-academy .brand strong {
  color: #172a20;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
}

.frontend-theme-academy .brand small {
  color: #4f6357;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.frontend-theme-academy .site-nav {
  gap: clamp(8px, 1.2vw, 18px);
}

.frontend-theme-academy .site-nav > a:not(.button),
.frontend-theme-academy .nav-user,
.frontend-theme-academy .nav-dropdown-toggle {
  color: #263f30;
  font-size: 15px;
  font-weight: 700;
}

.frontend-theme-academy .site-nav > a:not(.button):hover,
.frontend-theme-academy .nav-dropdown-toggle:hover,
.frontend-theme-academy .nav-dropdown.is-open .nav-dropdown-toggle {
  color: var(--academy-green);
}

.frontend-theme-academy .nav-count {
  color: #ffffff;
  background: #ef534f;
}

.frontend-theme-academy .nav-dropdown-menu {
  border: 1px solid var(--academy-line);
  border-radius: 18px;
  box-shadow: var(--academy-shadow);
}

.frontend-theme-academy .nav-dropdown-menu a:hover,
.frontend-theme-academy .nav-dropdown-menu a:focus-visible {
  color: var(--academy-deep);
  background: var(--academy-mint);
}

.frontend-theme-academy .button,
.frontend-theme-academy button.button {
  min-height: 44px;
  padding: 10px 20px;
  color: #ffffff;
  background: var(--academy-green);
  border-color: var(--academy-green);
  border-radius: 10px;
  box-shadow: none;
}

.frontend-theme-academy .button:hover,
.frontend-theme-academy button.button:hover {
  color: #ffffff;
  background: var(--academy-deep);
  border-color: var(--academy-deep);
  box-shadow: 0 10px 22px rgba(38, 131, 60, 0.2);
}

.frontend-theme-academy .button-ghost {
  color: var(--academy-deep);
  background: #ffffff;
  border-color: var(--academy-green);
}

.frontend-theme-academy .button-ghost:hover {
  color: #ffffff;
  background: var(--academy-deep);
}

.frontend-theme-academy .button-small {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 14px;
}

.academy-eyebrow {
  margin: 0 0 10px;
  color: var(--academy-deep);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.academy-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
  gap: clamp(30px, 3.4vw, 48px);
  align-items: center;
  height: 465px;
  min-height: 465px;
  padding: 18px clamp(24px, 4.5vw, 72px) 22px;
  background-color: #fbfdf9;
  background-image: url("academy/home-hero-decor-v0001.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.academy-home-copy {
  position: relative;
  z-index: 1;
  max-width: none;
  align-self: start;
  padding-top: 28px;
  padding-left: 48px;
}

.academy-home-copy h1 {
  margin: 0;
  color: var(--academy-ink);
  font-size: clamp(31px, 3.1vw, 44px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.035em;
  word-break: keep-all;
  overflow-wrap: normal;
}

.academy-home-copy h1 span {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

.academy-home-copy h1 .academy-home-title-secondary {
  margin-top: 11px;
  font-size: 0.82em;
  line-height: 1.24;
}

.academy-home-copy h1 .academy-home-title-last {
  margin-top: 5px;
}

.academy-home-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
}

.academy-home-visual {
  position: relative;
  z-index: 1;
  align-self: stretch;
  height: 100%;
  min-height: 0;
}

.academy-home-photo {
  width: 100%;
  height: calc(100% - 62px);
  min-height: 0;
  object-fit: cover;
  object-position: center 44%;
  border-radius: 28px;
  box-shadow: var(--academy-shadow);
}

.academy-home-mascot {
  position: absolute;
  right: -4px;
  bottom: 82px;
  width: clamp(100px, 9.6vw, 136px);
  pointer-events: none;
}

.academy-featured-carousel {
  position: absolute;
  right: 8px;
  bottom: 0;
  left: 8px;
}

.academy-featured-strip {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 94px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid var(--academy-line);
  border-radius: 20px;
  box-shadow: 0 14px 28px rgba(18, 61, 36, 0.12);
}

.academy-featured-strip:not(.is-active) {
  display: none;
}

.academy-featured-strip.is-active {
  display: grid;
}

.academy-featured-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.academy-featured-controls > button,
.academy-featured-dots button {
  min-height: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
}

.academy-featured-controls > button {
  width: 26px;
  height: 26px;
  color: #ffffff;
  background: var(--academy-green);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
}

.academy-featured-dots {
  display: flex;
  gap: 6px;
}

.academy-featured-dots button {
  width: 8px;
  height: 8px;
  background: #c7d9c7;
  border-radius: 50%;
}

.academy-featured-dots button.is-active {
  background: var(--academy-green);
  transform: scale(1.25);
}

.academy-featured-preview {
  display: grid;
  grid-template-columns: auto 78px;
  gap: 8px;
  align-items: center;
}

.academy-featured-preview > span {
  padding: 6px 10px;
  color: #ffffff;
  background: var(--academy-green);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.academy-featured-preview > img {
  width: 78px;
  height: 56px;
  object-fit: cover;
  border-radius: 11px;
}

.academy-featured-strip strong,
.academy-featured-strip small {
  display: block;
}

.academy-featured-strip strong {
  overflow: hidden;
  color: #172a20;
  font-size: 18px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.academy-featured-strip small {
  margin-top: 4px;
  color: var(--academy-muted);
}

.academy-direction-band {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 132px;
  gap: 0;
  align-items: center;
  min-height: 100px;
  margin: 24px clamp(24px, 3vw, 40px) 0;
  padding: 10px 18px 10px 22px;
  background: #ffffff;
  border: 1px solid var(--academy-line);
  border-radius: 20px;
}

.academy-direction-title h2,
.academy-section-heading h2,
.academy-results-heading h2 {
  margin: 0;
  color: #172a20;
  font-size: clamp(25px, 2.2vw, 34px);
  line-height: 1.2;
}

.academy-direction-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.academy-direction-links a {
  display: flex;
  gap: 9px;
  min-height: 72px;
  padding: 10px 15px;
  align-items: center;
  border-left: 1px solid var(--academy-line);
}

.academy-direction-links a:hover strong {
  color: var(--academy-green);
}

.academy-direction-links strong {
  min-width: 0;
  color: #263f30;
  font-size: clamp(17px, 1.25vw, 19px);
  white-space: nowrap;
}

.academy-direction-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  object-fit: contain;
}

.academy-direction-arrow {
  width: 15px;
  height: 15px;
  margin-left: auto;
  opacity: 0.7;
}

.academy-direction-mascots {
  position: relative;
  width: 124px;
  height: 76px;
  justify-self: end;
}

.academy-direction-mascots img {
  position: absolute;
  right: 0;
  bottom: -2px;
  width: 116px;
  height: 74px;
  object-fit: contain;
}

.academy-home-section {
  padding: 28px clamp(24px, 3vw, 40px) 54px;
}

.academy-home-news {
  background: var(--academy-cream);
}

.academy-section-heading,
.academy-results-heading {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 14px;
}

.academy-section-heading > a {
  color: var(--academy-green);
  font-weight: 800;
}

.academy-section-heading > a:hover {
  color: var(--academy-deep);
}

.academy-course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.academy-home-section:not(.academy-home-news) .academy-course-card {
  display: grid;
  grid-template-columns: 52% minmax(0, 48%);
  min-height: 180px;
  border-radius: 17px;
}

.academy-home-section:not(.academy-home-news) .academy-course-image {
  height: 100%;
  min-height: 180px;
  aspect-ratio: auto;
}

.academy-home-section:not(.academy-home-news) .academy-course-card-body {
  padding: 17px 15px;
}

.academy-home-section:not(.academy-home-news) .academy-course-card h3 {
  font-size: 18px;
}

.academy-home-section:not(.academy-home-news) .academy-course-card-footer {
  display: none;
}

.academy-course-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--academy-line);
  border-radius: 24px;
  box-shadow: 0 10px 26px rgba(18, 61, 36, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.academy-course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--academy-shadow);
}

.academy-course-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--academy-mint);
}

.academy-course-image > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.academy-course-card:hover .academy-course-image > img:first-child {
  transform: scale(1.025);
}

.academy-course-image > span {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  color: #ffffff;
  background: var(--academy-category-color, var(--academy-green));
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.academy-course-image .academy-course-mascot {
  position: absolute;
  right: 10px;
  bottom: 8px;
  width: 88px;
  height: 74px;
  object-fit: contain;
  pointer-events: none;
}

.academy-course-card-body {
  padding: 20px;
}

.academy-course-card h3 {
  margin: 0;
  color: #172a20;
  font-size: 23px;
  line-height: 1.3;
}

.academy-course-card h3 a:hover {
  color: var(--academy-green);
}

.academy-course-campuses {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.academy-course-campuses span {
  padding: 5px 10px;
  color: var(--academy-deep);
  background: var(--academy-mint);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.academy-course-schedule {
  min-height: 44px;
  margin: 14px 0 0;
  color: var(--academy-muted);
  font-size: 14px;
  line-height: 1.55;
}

.academy-course-card-footer {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--academy-line);
}

.academy-course-card-footer strong {
  color: var(--academy-deep);
  font-size: 20px;
}

.academy-empty-state {
  padding: 36px;
  color: var(--academy-muted);
  text-align: center;
  background: var(--academy-mint);
  border: 1px solid var(--academy-line);
  border-radius: 22px;
}

.academy-empty-state h3 {
  margin: 0 0 8px;
  color: var(--academy-ink);
}

.frontend-theme-academy .news-grid {
  gap: 22px;
}

.frontend-theme-academy .news-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--academy-line);
  border-radius: 22px;
  box-shadow: 0 10px 26px rgba(18, 61, 36, 0.07);
}

.frontend-theme-academy .news-card-cover img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.frontend-theme-academy .news-card-body {
  padding: 20px;
}

.frontend-theme-academy .news-card-body time,
.frontend-theme-academy .news-read-more {
  color: var(--academy-green);
}

.academy-course-hero {
  position: relative;
  display: flex;
  height: 244px;
  min-height: 244px;
  margin: 26px clamp(16px, 1.25vw, 24px) 0;
  padding: 30px clamp(84px, 9.6vw, 126px);
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  background-color: #fbfdf9;
  background-image: url("academy/course-hero-decor-v0001.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border: 1px solid #eef4ec;
  border-radius: 24px;
}

.academy-course-hero > div {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.academy-course-hero h1 {
  margin: 0;
  color: var(--academy-ink);
  font-size: clamp(34px, 3.2vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.035em;
  white-space: nowrap;
  word-break: keep-all;
}

.academy-course-hero .academy-eyebrow {
  margin: 12px 0 0;
}

.academy-course-hero p:last-child {
  margin: 9px 0 0;
  color: var(--academy-muted);
  font-size: 15px;
  line-height: 1.6;
  white-space: nowrap;
}

.academy-course-hero > img {
  width: clamp(310px, 32vw, 420px);
  align-self: flex-end;
  margin-right: -30px;
  margin-bottom: -173px;
}

.academy-course-browser {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding: 46px clamp(24px, 4.5vw, 72px) 70px;
}

.academy-filter {
  position: sticky;
  top: 108px;
  max-height: calc(100vh - 124px);
  max-height: calc(100dvh - 124px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--academy-line);
  border-radius: 22px;
  box-shadow: 0 10px 26px rgba(18, 61, 36, 0.06);
}

.academy-filter-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--academy-line);
}

.academy-filter-heading h2 {
  margin: 0;
  font-size: 22px;
}

.academy-filter-heading a {
  color: var(--academy-green);
  font-size: 13px;
  font-weight: 700;
}

.academy-filter-group {
  margin: 0;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--academy-line);
}

.academy-filter-group > label:first-child,
.academy-filter-group > legend {
  margin: 0 0 10px;
  padding: 0;
  color: var(--academy-ink);
  font-size: 15px;
  font-weight: 900;
}

.academy-filter input[type="search"],
.academy-filter select,
.academy-results-heading select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: #263f30;
  background: #ffffff;
  border: 1px solid #cfded0;
  border-radius: 10px;
}

.academy-filter-options label,
.academy-campus-options label {
  display: block;
  cursor: pointer;
}

.academy-filter-options input,
.academy-campus-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.academy-filter-options label > span,
.academy-campus-options label > span {
  display: flex;
  min-height: 42px;
  padding: 8px 10px;
  align-items: center;
  justify-content: space-between;
  color: #3e5446;
  border-radius: 9px;
}

.academy-filter-options label > span {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 9px;
  justify-content: initial;
}

.academy-filter-options label > span > img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.academy-filter-options label > span > strong {
  min-width: 0;
}

.academy-filter-options label > span small {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  color: var(--academy-muted);
  background: #ffffff;
  border: 1px solid var(--academy-line);
  border-radius: 999px;
}

.academy-filter-options input:checked + span,
.academy-campus-options input:checked + span {
  color: var(--academy-deep);
  background: var(--academy-mint);
  font-weight: 800;
}

.academy-campus-options label > span {
  margin-top: 7px;
  border: 1px solid var(--academy-line);
}

.academy-campus-options input:checked + span {
  border-color: var(--academy-green);
}

.academy-filter > .button {
  width: 100%;
  margin-top: 18px;
}

.academy-filter.is-submitting {
  cursor: progress;
  opacity: 0.72;
}

.academy-filter.is-submitting input,
.academy-filter.is-submitting select,
.academy-filter.is-submitting button {
  pointer-events: none;
}

.academy-results-heading {
  margin-bottom: 22px;
}

.academy-results-heading h2 small {
  margin-left: 10px;
  color: var(--academy-muted);
  font-size: 14px;
  font-weight: 600;
}

.academy-results-heading > label {
  display: grid;
  grid-template-columns: auto 170px;
  gap: 9px;
  align-items: center;
  color: var(--academy-muted);
  font-size: 13px;
  font-weight: 700;
}

.frontend-theme-academy .page-wrap,
.frontend-theme-academy .band,
.frontend-theme-academy .narrow-panel {
  max-width: 1320px;
  margin-right: auto;
  margin-left: auto;
}

.frontend-theme-academy .page-title h1,
.frontend-theme-academy .narrow-panel h1 {
  color: var(--academy-ink);
}

.frontend-theme-academy .data-panel,
.frontend-theme-academy .profile-card,
.frontend-theme-academy .detail-panel,
.frontend-theme-academy .order-card,
.frontend-theme-academy .cart-item,
.frontend-theme-academy .total-box {
  border-color: var(--academy-line);
  border-radius: 22px;
  box-shadow: 0 10px 26px rgba(18, 61, 36, 0.06);
}

.frontend-theme-academy .site-footer {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 42px clamp(24px, 4.5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--academy-ink);
}

.frontend-theme-academy .site-footer strong {
  color: #ffffff;
}

.frontend-theme-academy .footer-center {
  text-align: center;
}

.frontend-theme-academy .footer-contact:last-child {
  text-align: right;
}

.frontend-theme-academy .back-to-top {
  background: var(--academy-green);
  border-color: #ffffff;
}

@media (max-width: 1180px) {
  .academy-home-hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 30px;
  }

  .academy-home-copy h1 {
    font-size: clamp(31px, 3.3vw, 39px);
  }

  .academy-home-copy {
    padding-left: 0;
  }

  .academy-direction-band {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .academy-direction-mascots {
    display: none;
  }

  .academy-direction-links a {
    gap: 7px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .academy-course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .frontend-theme-academy .site-header {
    min-height: 72px;
    padding: 10px 16px;
  }

  .frontend-theme-academy .brand {
    min-width: 0;
  }

  .frontend-theme-academy .brand-mark {
    width: 48px;
    height: 48px;
  }

  .academy-home-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    height: auto;
    min-height: 0;
    padding: 42px 22px 32px;
  }

  .academy-home-copy {
    max-width: 720px;
    padding-top: 0;
    padding-left: 0;
  }

  .academy-home-visual {
    height: 440px;
    min-height: 440px;
  }

  .academy-home-photo {
    height: calc(100% - 62px);
  }

  .academy-direction-band {
    grid-template-columns: 180px minmax(0, 1fr);
    row-gap: 10px;
    margin-right: 22px;
    margin-left: 22px;
  }

  .academy-direction-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .academy-direction-mascots {
    display: none;
  }

  .academy-course-browser {
    grid-template-columns: 1fr;
    padding-right: 22px;
    padding-left: 22px;
  }

  .academy-filter {
    position: static;
    max-height: none;
    overflow: visible;
    overscroll-behavior-y: auto;
    scrollbar-gutter: auto;
  }

  .academy-course-hero {
    height: 270px;
    min-height: 270px;
    padding: 30px 42px;
    margin-right: 22px;
    margin-left: 22px;
  }

  .academy-course-hero h1 {
    font-size: 34px;
  }

  .academy-course-hero p:last-child {
    max-width: 520px;
    white-space: normal;
  }

  .academy-course-hero > img {
    width: 230px;
    margin-right: -20px;
    margin-bottom: -88px;
  }
}

@media (max-width: 640px) {
  .frontend-theme-academy .brand strong {
    font-size: 18px;
  }

  .frontend-theme-academy .brand small {
    display: none;
  }

  .frontend-theme-academy .nav-toggle {
    color: var(--academy-ink);
    background: #ffffff;
    border-color: var(--academy-line);
  }

  .frontend-theme-academy .mobile-bookmark-panel {
    color: var(--academy-ink);
    background: #ffffff;
  }

  .frontend-theme-academy .mobile-bookmark-panel a {
    border-color: var(--academy-line);
  }

  .academy-home-copy h1 {
    font-size: clamp(27px, 7.5vw, 32px);
  }

  .academy-home-copy h1 .academy-home-title-secondary {
    margin-top: 10px;
    font-size: 0.8em;
  }

  .academy-home-copy h1 .academy-home-title-last {
    margin-top: 4px;
  }

  .academy-home-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .academy-home-actions .button {
    width: 100%;
  }

  .academy-home-visual {
    height: 370px;
    min-height: 390px;
  }

  .academy-home-photo {
    height: calc(100% - 86px);
    border-radius: 24px;
  }

  .academy-home-mascot {
    bottom: 104px;
    width: 112px;
  }

  .academy-featured-carousel {
    bottom: 10px;
  }

  .academy-featured-strip {
    grid-template-columns: 1fr auto;
    min-height: 92px;
  }

  .academy-featured-preview {
    display: none;
  }

  .academy-featured-strip strong {
    font-size: 16px;
  }

  .academy-direction-band {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .academy-direction-links,
  .academy-course-grid {
    grid-template-columns: 1fr;
  }

  .academy-direction-links a {
    border-top: 1px solid var(--academy-line);
    border-left: 0;
  }

  .academy-home-section {
    padding: 28px 22px 44px;
  }

  .academy-home-section:not(.academy-home-news) .academy-course-card {
    display: block;
  }

  .academy-home-section:not(.academy-home-news) .academy-course-image {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .academy-course-hero {
    height: 270px;
    min-height: 270px;
    padding: 30px 24px;
    border-radius: 24px;
  }

  .academy-course-hero h1 {
    max-width: 290px;
    font-size: 30px;
    overflow-wrap: anywhere;
    white-space: normal;
    word-break: normal;
  }

  .academy-course-hero p:last-child {
    max-width: 285px;
    font-size: 14px;
  }

  .academy-course-hero > img {
    position: absolute;
    right: -30px;
    bottom: -22px;
    width: 150px;
    margin: 0;
    opacity: 0.38;
  }

  .academy-results-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .academy-results-heading > label {
    grid-template-columns: auto 1fr;
  }

  .frontend-theme-academy .site-footer {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .frontend-theme-academy .footer-center,
  .frontend-theme-academy .footer-contact:last-child {
    text-align: left;
  }
}

/* 0005: site-wide monochrome text and magenta button treatment */
.frontend-theme-academy,
.frontend-theme-academy * {
  color: #000 !important;
}

.frontend-theme-academy .site-footer {
  color: #000 !important;
  background: #fff !important;
  border-top: 1px solid #000 !important;
}

.frontend-theme-academy :where(button, input[type="button"], input[type="submit"], input[type="reset"], .button, a.button),
.frontend-theme-academy :where(button, input[type="button"], input[type="submit"], input[type="reset"], .button, a.button) * {
  color: #fff !important;
  background: #B60081 !important;
  border-color: #B60081 !important;
}

.frontend-theme-academy .nav-toggle span {
  background: #fff !important;
}

.frontend-theme-academy .academy-featured-preview > span {
  color: #fff !important;
  background: #B60081 !important;
}
