.empower-page {
  margin-top: 70px;
  overflow: hidden;
  color: #242936;
  background: #fff;
  font-family: 'PingFang SC', Arial, 'Microsoft YaHei', sans-serif;
}

.empower-page *,
.empower-page *::before,
.empower-page *::after {
  box-sizing: border-box;
}

.empower-page img {
  max-width: 100%;
}

.empower-container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.empower-hero {
  height: 620px;
  background: #dff2ff url('/static/images/empower/banner.png') no-repeat center
    bottom / cover;
}

.empower-hero__content {
  display: flex;
  height: 100%;
  padding-top: 136px;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.empower-hero__logo {
  width: 295px;
  height: 32px;
  object-fit: contain;
}

.empower-hero__title {
  width: 528px;
  height: 50px;
  margin: 26px 0 14px;
  object-fit: fill;
}

.empower-hero p {
  color: #30384b;
  font-size: 18px;
  line-height: 30px;
}

.empower-hero__slogan {
  width: 458px;
  height: 40px;
  margin-top: 18px;
  padding-right: 42px;
  color: #fff;
  background: url('/static/images/empower/banner_slogan_bg.png') no-repeat
    center / 100% 100%;
  font-size: 16px;
  line-height: 40px;
  text-align: center;
}

.empower-button {
  display: inline-flex;
  min-width: 160px;
  height: 40px;
  margin-top: 24px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 20px;
  color: #fff;
  background: #1376f8;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  line-height: 1;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.empower-button:hover {
  color: #fff;
  background: #075fe0;
  text-decoration: none;
  transform: translateY(-2px);
}

.empower-courses {
  padding: 82px 0 62px;
  background: #f6f8ff;
}

.empower-heading {
  margin: 0;
  color: #333;
  font-size: 36px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
}

.empower-course-group {
  margin-top: 64px;
}

.empower-course-group--offline {
  margin-top: 56px;
}

.empower-group-title {
  display: flex;
  margin-bottom: 24px;
  align-items: baseline;
  gap: 16px;
}

.empower-group-title strong {
  color: #3269f8;
  font-size: 24px;
  line-height: 1;
}

.empower-group-title span {
  color: #666;
  font-size: 16px;
}

.empower-course-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.empower-promo-card,
.empower-course-card,
.empower-offline-card,
.empower-feedback-card {
  overflow: hidden;
  border: 1px solid #edf0f7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(28, 65, 136, 0.05);
}

.empower-promo-card {
  position: relative;
  min-height: 280px;
}

.empower-promo-card[hidden] {
  display: none;
}

.empower-promo-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.empower-promo-card__audience {
  position: absolute;
  left: 20px;
  top: 141px;
  height: 34px;
  padding: 0 11px;
  border-radius: 17px;
  color: #fff;
  background: #0799f9;
  font-size: 12px;
  line-height: 34px;
  white-space: nowrap;
}

.empower-promo-card__more {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  height: 60px;
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: rgba(0, 0, 0, 0.34);
  font-size: 16px;
}

.empower-promo-card__more img {
  width: 16px;
  height: 16px;
}

.empower-promo-card__more:hover {
  color: #fff;
  text-decoration: none;
}

.empower-promo-card--offline {
  height: 327px;
  min-height: 327px;
}

.empower-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 285 / 155;
  background: #e8edf6;
}

.empower-course-card .empower-cover::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 52px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.68));
  content: '';
  pointer-events: none;
}

.empower-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.empower-course-card:hover .empower-cover > img,
.empower-offline-card:hover .empower-cover > img,
.empower-feedback-card:hover .empower-feedback-card__image {
  transform: scale(1.035);
}

.empower-cover__meta {
  position: absolute;
  right: 10px;
  bottom: 8px;
  left: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 11px;
  line-height: 14px;
}

.empower-cover__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.empower-cover__meta img {
  width: 14px;
  height: 14px;
}

.empower-course-card__body {
  min-height: 123px;
  padding: 18px 16px 16px;
}

.empower-course-card h3,
.empower-offline-card h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #333;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.empower-course-tags {
  display: flex;
  margin-top: 15px;
  flex-wrap: wrap;
  gap: 6px 8px;
  color: #3180f6;
  font-size: 12px;
  line-height: 18px;
}

.empower-course-tags span {
  padding: 1px 4px;
  border-radius: 2px;
  background: #f0f6ff;
}

.empower-course-card--link,
.empower-course-card--link:hover,
.empower-course-card--link:focus {
  color: inherit;
  text-decoration: none;
}

.pai-course-list-state,
.pai-activity-list-state {
  display: flex;
  min-height: 120px;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  color: #8a93a3;
  font-size: 15px;
}

.empower-offline-card__body {
  display: flex;
  height: 160px;
  min-height: 0;
  padding: 14px 16px 16px;
  flex-direction: column;
}

.empower-course-grid--offline > * {
  height: 327px;
}

.empower-offline-card .empower-cover {
  height: 165px;
  aspect-ratio: auto;
}

.empower-offline-card h3 {
  display: block;
  overflow: hidden;
  font-size: 14px;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.empower-offline-card dl {
  margin: 10px 0 8px;
  color: #8a91a0;
  font-size: 12px;
  line-height: 20px;
}

.empower-offline-card dl div {
  display: flex;
}

.empower-offline-card dl div + div {
  margin-top: 5px;
}

.empower-offline-card dt {
  font-weight: 400;
}

.empower-offline-card dd {
  position: relative;
  display: flex;
  margin: 0;
  align-items: center;
}

.empower-tension {
  position: absolute;
  left: 100%;
  width: 44px;
  height: 44px;
}

.empower-status {
  display: block;
  width: 142px;
  height: 36px;
  margin: 0 auto;
  border: 1px solid #5794fa;
  border-radius: 18px;
  color: #2678f6;
  font-size: 13px;
  line-height: 34px;
  text-align: center;
}

.empower-offline-card .empower-status {
  margin-top: auto;
  flex-shrink: 0;
}

.empower-status.is-ended {
  border-color: #c8cdd7;
  color: #a4aab4;
}

.empower-feedback {
  height: 661px;
  padding: 80px 0 146px;
  background: #fcfdff;
}

.empower-feedback-window {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-top: 54px;
  margin-left: -50vw;
  overflow: hidden;
}

.empower-feedback-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 300px;
  pointer-events: none;
}

.empower-feedback-fade--left {
  left: 0;
  background: linear-gradient(90deg, #fcfdff 37%, rgba(252, 253, 255, 0) 100%);
}

.empower-feedback-fade--right {
  right: 0;
  background: linear-gradient(270deg, #fcfdff 37%, rgba(252, 253, 255, 0) 100%);
}

.empower-feedback-track,
.empower-feedback-group {
  display: flex;
  width: max-content;
  flex-shrink: 0;
  gap: 20px;
}

.empower-feedback-track {
  animation: empower-feedback-scroll 70s linear infinite;
}

.empower-feedback-window:hover .empower-feedback-track {
  animation-play-state: paused;
}

.empower-feedback-card {
  width: 360px;
  min-height: 402px;
  padding: 20px;
  flex-shrink: 0;
  cursor: pointer;
}

.empower-feedback-card header {
  display: flex;
  height: 52px;
  padding: 0;
  align-items: center;
  gap: 10px;
}

.empower-feedback-card header > img {
  width: 52px;
  height: 42px;
  object-fit: contain;
}

.empower-feedback-card header div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.empower-feedback-card header strong {
  overflow: hidden;
  color: #303744;
  font-size: 16px;
  line-height: 22px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.empower-feedback-card header span {
  color: #9299a8;
  font-size: 14px;
}

.empower-feedback-card__cover {
  position: relative;
  margin-top: 3px;
  border-radius: 9px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e8edf6;
}

.empower-feedback-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.empower-feedback-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
}

.empower-feedback-card > p {
  min-height: 100px;
  padding: 16px 0 0;
  color: #5d6573;
  font-size: 16px;
  line-height: 28px;
}

@keyframes empower-feedback-scroll {
  to {
    transform: translateX(calc(-50% - 10px));
  }
}

.empower-video-open {
  overflow: hidden;
}

.empower-video-modal {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
}

.empower-video-modal[hidden] {
  display: none;
}

.empower-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.empower-video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(882px, calc(100vw - 40px));
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.empower-video-modal__dialog video {
  display: block;
  width: 100%;
  height: 100%;
}

.empower-video-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #000;
  background: #fff;
  font-size: 26px;
  line-height: 28px;
  cursor: pointer;
}

.empower-partners {
  height: 640px;
  padding: 80px 0 0;
  background: #fff;
}

.empower-partner-marquee {
  position: relative;
  left: 50%;
  width: 100vw;
  height: 430px;
  margin-top: 58px;
  margin-left: -50vw;
  padding: 39px 0;
  overflow: hidden;
}

.empower-partner-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 300px;
  pointer-events: none;
}

.empower-partner-fade--left {
  left: 0;
  background: linear-gradient(90deg, #fff 37%, rgba(255, 255, 255, 0) 100%);
}

.empower-partner-fade--right {
  right: 0;
  background: linear-gradient(270deg, #fff 37%, rgba(255, 255, 255, 0) 100%);
}

/* .empower-partner-row {
  overflow: hidden;
} */

.empower-partner-track,
.empower-partner-group {
  display: flex;
  width: max-content;
  flex-shrink: 0;
}

.empower-partner-track {
  animation: empower-partner-scroll 60s linear infinite;
}

.empower-partner-row--2 .empower-partner-track,
.empower-partner-row--4 .empower-partner-track {
  animation-duration: 70s;
}

.empower-partner-logo {
  display: flex;
  width: 190px;
  height: 76px;
  margin: 6px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 19px #dde4f0;
}

.empower-partner-logo img {
  width: 100%;
  height: 100%;
}

@keyframes empower-partner-scroll {
  to {
    transform: translateX(-50%);
  }
}

.empower-cta {
  height: 320px;
  padding: 54px 0 0;
  text-align: center;
  background: #eaf5ff url('/static/images/empower/contact_bg.png') no-repeat
    center / cover;
}

.empower-cta h2 {
  margin: 0;
  color: #252d3b;
  font-size: 36px;
  line-height: 36px;
  font-weight: 700;
  letter-spacing: 0;
}

.empower-cta p {
  margin-top: 14px;
  color: #465064;
  font-size: 16px;
  line-height: 28px;
}

.empower-cta__phone {
  margin-top: 20px;
  color: #616b7d;
  font-size: 16px;
}

.empower-cta .empower-button {
  margin-top: 18px;
}

@media (max-width: 1024px) {
  .empower-feedback,
  .empower-partners {
    height: auto;
  }

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

  .empower-feedback-card {
    width: min(360px, calc(100vw - 48px));
  }

  .empower-partner-logo {
    width: calc((100vw - 60px) / 5);
  }
}

@media (max-width: 767px) {
  .empower-page {
    margin-top: 0;
  }

  .empower-container {
    width: min(100% - 28px, 600px);
  }

  .empower-hero {
    height: 500px;
    background-position: center bottom;
  }

  .empower-hero__content {
    padding: 74px 20px 0;
  }

  .empower-hero__logo {
    width: 230px;
    height: auto;
  }

  .empower-hero__title {
    width: min(528px, 90vw);
    height: auto;
    margin-top: 22px;
  }

  .empower-hero p {
    max-width: 430px;
    font-size: 15px;
    line-height: 25px;
  }

  .empower-hero__slogan {
    width: min(100%, 390px);
    padding-right: 34px;
    font-size: 13px;
  }

  .empower-courses,
  .empower-feedback,
  .empower-partners {
    padding: 60px 0;
  }

  .empower-cta {
    height: auto;
  }

  .empower-heading {
    font-size: 27px;
  }

  .empower-course-group {
    margin-top: 44px;
  }

  .empower-group-title {
    margin-bottom: 18px;
  }

  .empower-course-grid {
    gap: 14px;
  }

  .empower-feedback-window {
    margin-top: 44px;
  }

  .empower-feedback-fade {
    width: 60px;
  }

  .empower-feedback-card {
    width: calc(100vw - 56px);
    min-height: 0;
    padding: 14px;
  }

  .empower-course-card__body,
  .empower-offline-card__body {
    padding: 13px;
  }

  .empower-promo-card,
  .empower-promo-card--offline {
    min-height: 0;
    aspect-ratio: 285 / 300;
  }

  .empower-partner-marquee {
    height: auto;
    margin-top: 38px;
    padding: 20px 0;
  }

  .empower-partner-logo {
    width: calc((100vw - 32px) / 4);
    height: 54px;
    margin: 4px;
  }

  @keyframes empower-partner-scroll {
    to {
      transform: translateX(-50%);
    }
  }

  .empower-cta {
    padding: 54px 0;
  }

  .empower-cta h2 {
    font-size: 25px;
    line-height: 36px;
  }
}

@media (max-width: 520px) {
  .empower-course-grid {
    grid-template-columns: 1fr;
  }

  .empower-promo-card,
  .empower-promo-card--offline {
    aspect-ratio: 285 / 279;
  }

  .empower-course-card__body,
  .empower-offline-card__body,
  .empower-feedback-card > p {
    min-height: 0;
  }
}

.empower-offline-card--link,
.empower-offline-card--link:hover,
.empower-offline-card--link:focus {
  color: inherit;
  text-decoration: none;
}

.empower-consult-modal[hidden] {
  display: none;
}

.empower-consult-modal {
  position: absolute;
  z-index: 10010;
}

.empower-consult-modal__dialog {
  position: relative;
  display: flex;
  box-sizing: border-box;
  width: 310px;
  height: 400px;
  padding: 20px;
  align-items: center;
  flex-direction: column;
  border-radius: 12px;
  background: url('/static/images/img230628/paixueyuan/5.png') no-repeat
    center / 100% 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transform: translateY(12px) scale(0.96);
  transform-origin: left top;
  transition:
    transform 0.25s ease,
    visibility 0.25s ease;
}

.empower-consult-modal.is-visible .empower-consult-modal__dialog {
  transform: scale(1);
}

.empower-consult-modal.is-closing .empower-consult-modal__dialog {
  transform: scale(0);
}

.empower-consult-modal__close {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font:
    300 26px/30px Arial,
    sans-serif;
}

.empower-consult-modal__qrcode {
  width: 220px;
  height: 220px;
  margin-top: 80px;
  border-radius: 6px;
  object-fit: cover;
}

@media (max-width: 420px) {
  .empower-consult-modal__dialog {
    width: min(310px, calc(100vw - 32px));
    height: auto;
    aspect-ratio: 310 / 400;
  }

  .empower-consult-modal__qrcode {
    width: 71%;
    height: auto;
    margin-top: 26%;
    aspect-ratio: 1;
  }
}
