body.zs-page-faq {
  background: #ffffff;
  color: #364056;
}

.zs-faq-page {
  padding-bottom: clamp(72px, 6vw, 110px);
}

.zs-faq-hero {
  margin-top: calc(var(--zs-topbar-height) + var(--zs-header-height));
  position: relative;
}

.zs-faq-hero__media {
  position: relative;
  overflow: hidden;
}

.zs-faq-hero__image {
  display: block;
  width: 100%;
  height: auto;
}

.zs-faq-hero__image--desktop {
  display: block;
}

.zs-faq-hero__image--mobile {
  display: none;
}

.zs-faq-hero__title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.zs-faq-hero__title .zs-shell {
  width: 100%;
  text-align: center;
}

.zs-faq-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(34px, 3.2vw, 44px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: 0;
}

.zs-faq-anchor {
  height: 0;
}

.zs-faq-resource {
  padding-top: clamp(40px, 3vw, 58px);
  padding-bottom: clamp(72px, 6vw, 110px);
}

.zs-faq-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(28px, 2.7vw, 42px);
}

.zs-faq-sidebar {
  position: sticky;
  top: calc(var(--zs-topbar-height, 30px) + var(--zs-header-height, 74px) + 12px);
  width: 16.66667%;
  max-width: 260px;
  flex: 0 0 16.66667%;
}

.zs-faq-sidebar__inner {
  position: relative;
  padding: 0 24px 6px;
  background: #141b8d;
}

.zs-faq-sidebar__corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: auto;
}

.zs-faq-sidebar h2 {
  margin: 0;
  padding: 27px 0 22px;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
}

.zs-faq-categories {
  display: flex;
  flex-direction: column;
}

.zs-faq-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.42);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.3s ease;
}

.zs-faq-category__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.zs-faq-category__icon img {
  width: 10px;
  height: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.zs-faq-category.is-active,
.zs-faq-category:hover,
.zs-faq-category:focus-visible {
  color: #26a5ff;
  outline: none;
}

.zs-faq-category.is-active .zs-faq-category__icon img,
.zs-faq-category:hover .zs-faq-category__icon img,
.zs-faq-category:focus-visible .zs-faq-category__icon img {
  opacity: 1;
}

.zs-faq-main {
  width: 79.4%;
  max-width: 1240px;
  flex: 1 1 auto;
}

.zs-faq-panel {
  width: 100%;
}

.zs-faq-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid #c3cad9;
  list-style: none;
}

/* 隔行换色，行间不再画分隔线 */
.zs-faq-item {
  background: #ffffff;
}

.zs-faq-item:nth-child(odd) {
  background: #f5f7fb;
}

.zs-faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 20px 32px;
  border: 0;
  background: transparent;
  color: #364056;
  text-align: left;
  cursor: pointer;
}

.zs-faq-item__title {
  display: block;
  min-width: 0;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
}

.zs-faq-item__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
}

.zs-faq-item__icon i {
  position: absolute;
  display: block;
  background: #141b8d;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.zs-faq-item__icon i:first-child {
  width: 13px;
  height: 1.5px;
}

.zs-faq-item__icon i:last-child {
  width: 1.5px;
  height: 13px;
}

.zs-faq-item.is-open .zs-faq-item__icon i:last-child {
  opacity: 0;
  transform: scaleY(0.2);
}

.zs-faq-item__body {
  padding: 0 32px 26px;
}

.zs-faq-item__body-inner {
  max-width: 100%;
  color: #5a657d;
  font-size: 16px;
  line-height: 1.95;
  font-weight: 400;
}

.zs-faq-item__body-inner p {
  margin: 0 0 10px;
}

.zs-faq-item__body-inner p:last-child {
  margin-bottom: 0;
}

.zs-faq-empty {
  margin: 20px auto 0;
  color: #7e889d;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

[data-reveal] {
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1199px) {
  .zs-faq-layout {
    gap: 28px;
  }

  .zs-faq-sidebar {
    width: 240px;
    max-width: 240px;
    flex-basis: 240px;
  }

  .zs-faq-main {
    width: calc(100% - 268px);
  }
}

@media (max-width: 991px) {
  .zs-faq-hero__image--desktop {
    display: none;
  }

  .zs-faq-hero__image--mobile {
    display: block;
  }

  .zs-faq-hero h1 {
    font-size: clamp(28px, 7vw, 40px);
  }

  .zs-faq-layout {
    flex-direction: column;
    gap: 26px;
  }

  .zs-faq-sidebar {
    position: static;
    width: 100%;
    max-width: none;
    flex-basis: auto;
  }

  .zs-faq-main {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 767px) {
  .zs-faq-resource {
    padding-top: 26px;
  }

  .zs-faq-sidebar__inner {
    padding: 0 18px 6px;
  }

  .zs-faq-sidebar__corner {
    width: 40px;
  }

  .zs-faq-sidebar h2 {
    padding: 20px 0 18px;
    font-size: 18px;
  }

  .zs-faq-category {
    padding: 16px 0;
    font-size: 15px;
  }

  .zs-faq-item__trigger {
    gap: 16px;
    padding: 16px 18px;
  }

  .zs-faq-item__title {
    font-size: 16px;
    line-height: 1.6;
  }

  .zs-faq-item__body {
    padding: 0 18px 20px;
  }

  .zs-faq-item__body-inner {
    font-size: 15px;
    line-height: 1.85;
  }
}
