.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 > 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-list-page {
  min-height: calc(100vh - 70px);
  margin-top: 70px;
  padding: 42px 0 80px;
  color: #242936;
  background: #f5f9ff;
  font-family: 'PingFang SC', Arial, 'Microsoft YaHei', sans-serif;
}

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

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

.empower-list-heading {
  margin-bottom: 20px;
}

.empower-list-heading__title {
  display: flex;
  margin: 0;
  align-items: center;
  color: #333;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: 0;
}

.empower-list-heading__icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  flex-shrink: 0;
  object-fit: contain;
}

.empower-list-heading p {
  margin: 7px 0 0 34px;
  color: #7d8491;
  font-size: 15px;
  line-height: 24px;
}

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

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

.empower-pagination {
  display: flex;
  margin-top: 36px;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

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

.empower-pagination button {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #dfe5ef;
  border-radius: 4px;
  color: #555f70;
  background: #fff;
  font-size: 14px;
  line-height: 34px;
  cursor: pointer;
}

.empower-pagination button:hover:not(:disabled):not(.is-active) {
  color: #3174f5;
  border-color: #3174f5;
}

.empower-pagination button.is-active {
  color: #fff;
  border-color: #3174f5;
  background: #3174f5;
  cursor: default;
}

.empower-pagination button:disabled {
  color: #bcc3cf;
  background: #f7f9fc;
  cursor: not-allowed;
}

.empower-pagination__ellipsis {
  min-width: 24px;
  color: #8a93a3;
  text-align: center;
}

.empower-list-page .empower-course-card,
.empower-list-page .empower-offline-card {
  box-shadow: 0 5px 18px rgba(41, 72, 128, 0.04);
}

.empower-list-page .empower-course-card__body {
  min-height: 123px;
}

.empower-list-page .empower-offline-card {
  height: 327px;
}

.empower-list-page .empower-status {
  text-decoration: none;
}

.empower-list-page .empower-status:hover:not(.is-ended) {
  color: #fff;
  background: #2678f6;
}

@media (max-width: 1024px) {
  .empower-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

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

  .empower-list-heading__title {
    font-size: 22px;
  }

  .empower-list-heading p {
    margin-left: 34px;
    font-size: 14px;
  }

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

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

.empower-course-card--link {
  display: block;
  color: inherit;
  text-decoration: none;
}

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

@media (max-width: 767px) {
  .empower-course-card__body {
    padding: 13px;
  }
}
