.college-education-page {
  --gap: 10px;
  --font-card-title: calc(16 / 12 * 1rem);
}

.college-education__hero-overlay {
  /* justify-content: flex-start;
  padding-top: 30%;
  padding-left: 7%;
  padding-right: 7%; */
  text-align: center;
}

.college-education__focus,
.college-education__products,
.college-education__service-system,
.college-education__features,
.college-education__labs,
.college-education__cases,
.college-education__competition,
.college-education__partners {
  margin-top: var(--section-margin);
}

.college-education__partners {
  margin-bottom: 60px;
}

.college-education-page .section-head {
  margin-bottom: 30px;
}

.college-education-page .section-title {
  font-size: calc(22 / 12 * 1rem);
  line-height: 1.22;
  font-weight: 600;
  color: #2e3138;
}

.college-education-page .section-desc {
  max-width: calc(304 / 12 * 1rem);
  margin-top: 9px;
  font-size: calc(12 / 12 * 1rem);
  line-height: 1.58;
  color: #5c6068;
}

.college-education__hero-overlay .hero-title {

  font-size: calc(24 / 12 * 1rem);
  line-height: 1.2;
  font-weight: 700;
}

.college-education__hero-overlay .hero-desc {

  margin-top: 25px;
  font-size: calc(12 / 12 * 1rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 300;
}

.college-education__accordion {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.college-education__accordion-item {
  position: relative;
  z-index: 5;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.college-education__accordion-item:not(:first-child) {
  margin-top: -10px;
}

.college-education__accordion-item.is-active,
.college-education__accordion-item.is-expanded {
  border-radius: 10px;
  margin-top: 10px;
}

.college-education__accordion-item.is-final-item {
  margin-top: -10px;
}

.college-education__accordion-trigger {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border: none;
  color: #fff;
  font-size: calc(18 / 12 * 1rem);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  background-color: inherit;
}

.college-education__accordion-item:nth-child(1) {
  background: #9e958c;
}

.college-education__accordion-item:nth-child(2) {
  background: #c7bfb2;
}

.college-education__accordion-item:nth-child(3) {
  background: #e3a14a;
}

.college-education__accordion-icon {
  width: auto;
  height: 70%;
  object-fit: contain;
  transform: scale(0.96);
  transition: transform 0.35s ease;
}

.college-education__accordion-item.is-active .college-education__accordion-icon,
.college-education__accordion-item.is-expanded .college-education__accordion-icon {
  transform: scale(1.04);
}

.college-education__accordion-panel {
  position: relative;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, transform 0.45s ease;
}

.college-education__accordion-item.is-active .college-education__accordion-panel,
.college-education__accordion-item.is-expanded .college-education__accordion-panel {
  opacity: 1;
  transform: translateY(0);
}

.college-education__accordion-image {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0 0 10px 10px;
}

.college-education__accordion-text {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 82%;
  margin: 0;
  padding: 0;
  font-size: calc(12 / 12 * 1rem);
  color: #ffffff;
  line-height: 1.4;
  text-align: left;
  font-weight: 300;
}

.college-education__product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}

.college-education__product-card {
  border-radius: var(--radius);
  background: #fff;
}

.college-education__product-media {
  width: 100%;
  aspect-ratio: 350/300;
  position: relative;
  border-radius: var(--radius);
}

.college-education__product-media::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: #f4f4f4;
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 1;
}

.college-education__product-media img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  max-width: none;
  height: auto;
  display: block;
  z-index: 2;
}

.college-education__product-card:nth-of-type(1) .college-education__product-media img {
  width: 150%;
  top: 50%;
}

.college-education__product-card:nth-of-type(2) .college-education__product-media img {
  width: 160%;
  top: 50%;
}

.college-education__product-card:nth-of-type(3) .college-education__product-media img {
  width: 100%;
  top: 50%;
}

.college-education__product-card:nth-of-type(4) .college-education__product-media img {
  width: 108%;
  top: 70%;
}

.college-education__product-title {
  padding: 12% 8% 0;
  font-size: var(--font-card-title);
  color: #222;
  font-weight: 600;
}

.college-education__product-text {
  margin-top: 4px;
  padding: 0 8%;
  min-height: 2.8rem;
  font-size: var(--font-subtitle);
  color: var(--color-text-light);
  line-height: 1.5;
}

.college-education__product-link {
  display: inline-flex;
  width: 75%;
  margin: 10px 8% 8%;
  min-width: 72px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border-radius: 5px;
  background: #2f3138;
  color: #fff;
  font-size: calc(12 / 12 * 1rem);
}

.college-education__product-link--disabled {
  background: #ababab;
  pointer-events: none;
}

.college-education__service-carousel,
.college-education__competition-carousel {
  overflow: hidden;
  margin-right: calc(var(--section-padding) * -1);
}

.college-education__service-track,
.college-education__competition-track {
  display: flex;
  gap: 10px;
  transition: transform 0.4s ease;
  will-change: transform;
}

.college-education__service-slide,
.college-education__competition-slide {
  border-radius: 10px;
  overflow: hidden;
  background: #f8f8f8;
}

.college-education__service-slide {
  position: relative;
  min-width: 42%;
  max-width: 42%;
  flex: 0 0 42%;
}

.college-education__competition-slide {
  position: relative;
  min-width: 80%;
  max-width: 80%;
  flex: 0 0 80%;
}

.college-education__competition-title {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  max-width: calc(100% - 24px);
  color: #fff;
  font-size: calc(14 / 12 * 1rem);
  font-weight: 600;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.college-education__service-slide h2 {
  position: absolute;
  top: 20%;
  left: 12px;
  right: 12px;
  z-index: 2;
  color: #fff;
  font-size: calc(16 / 12 * 1rem);
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  margin: 0;
}

.college-education__service-slide p {
  position: absolute;
  top: calc(20% + 25px);
  left: 12px;
  right: 12px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.9);
  font-size: calc(12 / 12 * 1rem);
  font-weight: 400;
  line-height: 1.5;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  margin: 0;
}

.college-education__service-slide img,
.college-education__competition-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.college-education__service-bars,
.college-education__competition-dots {
  display: flex;
  gap: 6px;
  margin-top: 14px;
  justify-content: flex-start;
}

.college-education__service-bars {
  position: relative;
  display: block;
  width: calc(100% - var(--section-padding));
  height: 6px;
  border-radius: 999px;
  background: #d8d8d8;
  overflow: hidden;
  cursor: pointer;
}

.college-education__service-progress-thumb {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  width: calc(100% / var(--progress-count, 1));
  border-radius: inherit;
  background: #f7931e;
  transform: translateX(calc(var(--progress-index, 0) * 100%));
  transition: transform 0.35s ease;
}

.college-education__service-bars span,
.college-education__competition-dots span {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: #d6d6d6;
}

.college-education__service-bars span {
  display: none;
}

.college-education__service-bars .college-education__service-progress-thumb {
  display: block;
  height: 100%;
  background: #f7931e;
}

.college-education__competition-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.college-education__competition-dots span.is-active {
  background: #f7931e;
}

.college-education__competition-dots span.is-active {
  width: 16px;
  border-radius: 999px;
}

.college-education__feature-layout {
  display: flex;
  flex-direction: column;
  gap: 10px;
  --feature-square-size: calc((100vw - (var(--section-padding) * 2) - 30px) / 3);
}

.college-education__feature-row {
  display: flex;
  gap: 10px;
}

.college-education__feature-row:not(.college-education__feature-row--top)>.college-education__feature-card {
  flex: 1;
}

.college-education__feature-row--top>:first-child {
  flex: 0 0 40%;
}

.college-education__feature-row--top>:last-child {
  flex: 1;
}

.college-education__feature-card {
  position: relative;
  /* min-height: var(--feature-square-size); */
  aspect-ratio: 1 / 1;
  padding: 12px;
  border-radius: 10px;
  overflow: hidden;
  color: #fff;
  background: #8baec3;
}

.college-education__feature-row--top .college-education__feature-card {
  aspect-ratio: auto;
  min-height: var(--feature-square-size);
}

.college-education__feature-card:nth-child(2n) {
  background: #7e7f84;
}

.college-education__feature-row:nth-child(3) .college-education__feature-card:nth-child(1) {
  background: #8e8e8e;
}

.college-education__feature-row:nth-child(3) .college-education__feature-card:nth-child(2) {
  background: #5f6977;
}

.college-education__feature-row:nth-child(3) .college-education__feature-card:nth-child(3) {
  background: #7d7f86;
}

.college-education__feature-card h3 {
  position: relative;
  z-index: 2;
  font-size: calc(12 / 12 * 1rem);
  line-height: 1.35;
  font-weight: 500;
}

.college-education__feature-card p {
  position: relative;
  z-index: 2;
  margin-top: 8px;
  max-width: 95%;
  font-size: calc(12 / 12 * 1rem);
  line-height: 1.4;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.84);
}

.college-education__feature-card img {
  position: absolute;
  right: 5%;
  bottom: -15%;
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.college-education__lab-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}

.college-education__lab-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: #f5f5f5;

}

.college-education__lab-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
}

.college-education__lab-body {
  padding: 8%;
  padding-bottom: 12%;
  background-color: #f5f5f5;
}

.college-education__lab-body h3 {
  font-size: var(--font-card-title);
  color: #222;
  font-weight: 600;
  margin-bottom: 10px;
}

.college-education__lab-body p {
  margin-top: 0;
  font-size: var(--font-subtitle);
  color: var(--color-text-light);
  line-height: 1.5;
}

.college-education__case-banner {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.college-education__case-banner img {
  width: 100%;
  display: block;
}

.college-education__case-grid {
  position: absolute;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  width: 90%;
  height: 75%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.college-education__case-grid article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 5%;
  padding-right: 40%;
}

.college-education__case-grid article:nth-child(1) {
  position: relative;
  /* border-bottom: 1px solid #ccc; 删掉原来这句 */
}

.college-education__case-grid article:nth-child(1)::after {
  content: "";
  position: absolute;
  left: 0%;
  /* 左右各留 10%，中间 80% */
  right: 18%;
  bottom: 0;
  height: 1px;
  background-color: #ccc;
}

.college-education__case-grid article:nth-child(2) {
  position: relative;
  /* border-bottom: 1px solid #ccc; 删掉原来这句 */
}

.college-education__case-grid article:nth-child(2)::after {
  content: "";
  position: absolute;
  left: 0%;
  /* 左右各留 10%，中间 80% */
  right: 18%;
  bottom: 0;
  height: 1px;
  background-color: #ccc;
}

.college-education__case-grid strong {
  font-size: calc(18 / 12 * 1rem);
  color: #f7931e;
  line-height: 1.05;
}

.college-education__case-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
  font-size: calc(12 / 12 * 1rem);
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.2;
  white-space: nowrap;
}

.college-education__case-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.college-education__competition .section-head {
  margin-bottom: 18px;
}

.college-education__competition-slide img {
  aspect-ratio: 292 / 165;
  object-fit: cover;
}

.college-education__partner-wall {
  margin-top: 18px;
  margin-left: calc(var(--section-padding) * -1);
  margin-right: calc(var(--section-padding) * -1);
  overflow: hidden;
}

.college-education__partner-track {
  display: flex;
  width: 400%;
  animation: collegeEducationPartnerScroll 20s linear infinite;
  will-change: transform;
}

.college-education__partner-track img {
  flex: 0 0 50%;
  width: 50%;
  display: block;
  max-width: none;
}

@keyframes collegeEducationPartnerScroll {
  0% {
    transform: translate3d(-20.33335%, 0, 0);
  }

  100% {
    transform: translate3d(-70.33335%, 0, 0);
  }
}