.nav a.menu-home {
  color: var(--orange-color);
}

/* HOME */
.jetree-system {
  background: var(--panel-bg-color);
  padding: 40px;
}

.jetree-system .grid {
  display: grid;
  gap: 40px;
  align-items: center;
  grid-template-columns: repeat(2, 1fr);
}

.jetree-system .description h1 {
  font-size: var(--score-font-size);
  line-height: 1.2;
  text-align: center;
}

.jetree-system .description p {
  color: #526178;
  font-size: var(--large-border-radius);
  text-align: center;
  margin: 20px 0 28px;
}

.jetree-system .description b {
  font-weight: bolder;
  font-size: var(--normal-font-size);
}

.jetree-system .structure img {
  max-width: 100%;
}

/* LEARNING SYSTEM */
.learning-system {
  margin-top: 40px;
  text-align: center;
}

.learning-system h2.title {
  width: 390px !important;
}

.learning-system .stepper-container {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  /* Space for the floating arrows if you use them */
  justify-content: center;
  margin-top: 20px;
  padding: 20px 10px;
  border-radius: var(--normal-border-radius);
  background: var(--panel-bg-color);
  box-shadow: var(--shadow);
}

.learning-system .stepper-container .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 200px;
}

.learning-system .stepper-container .arrow {
  padding-bottom: 58px;
  font-size: var(--largest-font-size);
}

.learning-system .stepper-container .icon {
  margin-bottom: 15px;
  font-size: var(--atar-font-size);
}

/* The Chevron Shape */
.learning-system .stepper-container .label {
  background-color: #e9ecef;
  color: #002147;
  padding: 10px;
  width: 100%;
  font-size: var(--large-font-size);
  font-weight: var(--large-font-weight);
  text-align: center;
  /* This creates the arrow point on the right and indent on the left */
  clip-path: polygon(95% 0%, 100% 50%, 95% 100%, 0% 100%, 5% 50%, 0% 0%);
}

.learning-system .stepper-container .sub-label {
  padding: 10px;
  text-align: center;
}

/* Special styling for the active/last step */
.learning-system .stepper-container .step.active .label {
  background-color: #f3e5ab;
}

/* Optional: Remove the indent for the first item and point for the last */
.learning-system .stepper-container .step:first-child .label {
  clip-path: polygon(95% 0%, 100% 50%, 95% 100%, 0% 100%, 0% 0%);
  border-radius: 4px 0 0 4px;
}

.learning-system .stepper-container .step:last-child .label {
  clip-path: polygon(100% 0%, 100% 100%, 0% 100%, 5% 50%, 0% 0%);
  border-radius: 0 4px 4px 0;
}

.learning-system .levels-container {
  margin-top: 20px;
  padding: 20px;
  border-radius: var(--normal-border-radius);
  background: var(--panel-bg-color);
  box-shadow: var(--shadow);
}

.learning-system .levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.learning-system .level {
  background: #fff;
  border-radius: var(--normal-border-radius);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.learning-system .level .name {
  padding: 18px 0;
  text-align: center;
  font-size: var(--largest-font-size);
  color: #fff;
  border-radius: 12px 12px 0 0;
  font-weight: var(--large-font-weight);
}

.learning-system .level .description {
  padding: 18px;
  font-size: 100%;
  color: #000;
  border-radius: 0 0 12px 12px;
  font-weight: var(--large-font-weight);
}

.learning-system .foundation .name {
  background: #1f4e8c;
}

.learning-system .development .name {
  background: #f5b52e;
}

.learning-system .enrichment .name {
  background: #c98b2c;
}

/* LEARNING SYSTEM */
.learning-system .path {
  margin-top: 24px;
}

.learning-system .path .arrow {
  font-size: var(--score-font-size);
  font-weight: var(--large-font-weight);
}

.learning-system .path .arrow,
.learning-system .path .b,
.learning-system .path .a,
.learning-system .path .s {
  font-size: var(--score-font-size);
  font-weight: var(--large-font-weight);
}

.learning-system .path .b {
  color: #1f4e8c;
}

.learning-system .path .a {
  color: #f5b52e;
}

.learning-system .path .s {
  color: #c98b2c;
}

.learning-system .contact {
  margin-top: 12px;
  color: #526178;
}

.learning-system .contact a {
  color: #526178;
  padding: 0;
  font-weight: var(--large-font-weight);
}

/* GALLERY */
.gallery {
  margin-top: 40px;
}

.gallery .title {
  width: 480px !important;
}

.gallery .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.gallery .grid img {
  width: 100%;
  border-radius: var(--normal-border-radius);
}

/* TEACHERS */
.teachers {
  margin-top: 40px;
}

.learning-system .hr,
.gallery .hr,
.teachers .hr {
  border: none;
  height: 1px;
  background-color: #CCC;
  width: 100%;
}

.learning-system h2.title,
.gallery h2.title,
.teachers h2.title {
  color: #526178;
  text-align: center;
  width: 280px;
  margin: -19px auto 0;
  font-size: var(--larger-font-size);
  background-color: var(--global-bg-color);
}

.teachers .subtitle {
  color: #526178;
  text-align: center;
}

.teachers .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.teachers .card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: var(--large-border-radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.teachers .right {
  flex-direction: row;
}

.teachers .photo {
  width: 35%;
  padding-right: 20px;
}

.teachers .photo img {
  width: 100%;
  border-radius: 8px;
}

.teachers .details {
  width: 65%;
  align-self: flex-start;
}

.teachers .role {
  font-weight: var(--large-font-weight);
}

.teachers .years {
  color: #526178;
  font-size: var(--general-font-size);
  margin-bottom: 10px;
}

.teachers .details ul {
  padding-left: 18px;
  color: #526178;
  font-size: var(--general-font-size);
}

.teachers .focus {
  margin-top: 10px;
  color: #1f4e8c;
  font-weight: var(--large-font-weight);
}

/* 2. 手机端样式分割点 (屏幕宽度 < 768px) */
@media screen and (max-width: 767px) {

  .learning-system h2.title,
  .gallery h2.title,
  .teachers h2.title {
    width: 240px;
  }

  .jetree-system .grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .jetree-system .structure {
    display: none;
  }

  .learning-system .stepper-container {
    gap: 5px;
    display: none;
  }

  .learning-system .stepper-container .label {
    height: 46px;
    align-content: center;
    font-weight: var(--normal-font-weight);
    font-size: var(--general-font-size);
  }

  .learning-system .stepper-container .arrow {
    padding-bottom: 62px;
  }

  .learning-system .levels-container {
    box-shadow: none;
    border-radius: 0;
    margin-top: 10px;
    padding: 0 0 20px;
    background: transparent;
  }

  .learning-system .levels {
    display: none;
  }

  .gallery {
    display: none;
  }

  .teachers {
    margin-top: 30px;
  }

  .teachers .grid {
    gap: 10px;
    grid-template-columns: repeat(1, 1fr);
  }

  .teachers .card {
    padding: 10px;
  }

  .teachers .details ul {
    display: none;
  }

  .teachers .role {
    font-weight: normal;
  }

  .teachers .role,
  .teachers .years {
    margin: 0;
    font-size: var(--general-font-size);
  }

  .teachers .photo {
    padding-right: 6px;
  }

  .teachers .details h3 {
    margin: 4px;
    margin-left: 0;
  }

  .learning-system h2.title {
    width: 290px !important;
    margin: -14px auto 0;
  }
}