.swiper-container {
  overflow: hidden;
}
section + section {
  margin-top: 88rem;
}
.section1 {
  margin-top: 50rem;
}
.search-result-wrapper {
  margin-top: 32rem;
  display: flex;
  flex-wrap: wrap;
  gap: 34rem 19rem;
}

.search-result-card {
  position: relative;
  width: calc(25% - 15rem);
}

.search-result-card-img-box {
  width: 100%;
  height: 169rem;
  overflow: hidden;
  border-radius: 8rem;
}
.search-result-card:hover .search-result-card-img{
  transform: scale(1.1);
}
.search-result-card-img {
  width: 100%;
  height: 169rem;
  border-radius: 8rem;
  background: #f9f6f2;
  overflow: hidden;
  object-fit: cover;
  transition: all 0.3s;
}

.search-result-card-title {
  margin-top: 22rem;
  white-space: nowrap; /* 禁止换行 */
  overflow: hidden; /* 隐藏溢出内容 */
  text-overflow: ellipsis; /* 溢出时显示省略号 */
  color: #232222;
  font-size: 16rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.search-result-card-date {
  position: relative;
  margin-top: 12rem;
  color: #6a6967;
  font-size: 14rem;
  line-height: 20rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding-right: 40rem;
}
.search-result-card:hover .search-result-card-date::after {
  color: #6a6967;
}
.search-result-card-date::after {
  font-family: "iconfont" !important;
  content: "\e618";
  color: #fff;
  font-size: 16rem;
  position: absolute;
  right: 0;
  line-height: 20rem;
  transition: all 0.3s;
}

.ebc-page-pagination {
  display: flex;
  justify-content: center;
  margin-top: 50rem;
}

.section2-title-box {
  margin-top: 88rem;
}

.dictionary-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10rem 24rem;
  margin-top: 16rem;
  color: #232222;
  font-size: 14rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.dictionary-item-link {
  color: #214ac1;
}
.dictionary-item-link:hover {
  color: #092985;
}

/* 直播课程 */
.webinars-box {
  position: relative;
}
.webinars-box .swiper-button-next {
  right: -40rem;

  color: #b2afad;
}
.webinars-box .swiper-button-prev {
  transform: rotate(180deg);
  left: -40rem;

  color: #b2afad;
}
.webinars-box .swiper-button-next:after {
  font-size: 28rem !important;
  font-family: "iconfont" !important;
  content: "\eb74";
}
.webinars-box .swiper-button-prev:after {
  font-size: 28rem !important;
  font-family: "iconfont" !important;
  content: "\eb74";
}
.webinars-list-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.swiper-slide {
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.webinars-list {
  margin-top: 34rem;
}

.webinars-item {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  /* width: 100%; */
}
.webinars-item:hover::after {
  position: absolute;
  left: 0;
  bottom: -32rem;
  content: "";
  width: 100%;
  height: 1px;
  background-color: #a52933;
}

.webinars-item-img {
  width: 100%;
}

.webinars-item-title {
  margin-top: 25rem;
  color: #232222;
  font-size: 16rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  white-space: nowrap; /* 禁止换行 */
  overflow: hidden; /* 隐藏溢出内容 */
  text-overflow: ellipsis; /* 溢出时显示省略号 */
}

.webinars-item-time {
  margin-top: 12rem;
  color: #6a6967;
  font-size: 14rem;
  line-height: 20rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding-right: 40rem;
}
.webinars-item:hover .webinars-item-time::after {
  color: #6a6967;
}
.webinars-item-time::after {
  font-family: "iconfont" !important;
  content: "\e618";
  color: #fff;
  font-size: 16rem;
  position: absolute;
  right: 0;
  line-height: 21rem;
  transition: all 0.3s;
}
/* 直播课程结束 */
@media (max-width: 996px) {
  .section1 {
    margin-top: 88rem;
  }
  .search-result-wrapper {
    gap: 48rem;
  }
  .search-result-card {
    width: 100%;
    display: flex;
    gap: 50rem;
  }
  .search-result-card-img {
    flex-shrink: 0;
    width: 264rem;
    height: 169rem;
    order: 1;
  }
  .search-result-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
  }

  .search-result-card-title {
    margin-top: 0;
    white-space: unset;
    font-size: 32rem;
    font-weight: 400;

    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .search-result-card-date {
    margin-top: 26rem;
    font-size: 28rem;
    line-height: 40rem;
  }
  .search-result-card-date::after {
    font-size: 28rem;
    line-height: 41rem;
  }

  .webinars-item-title {
    margin-top: 35rem;
    font-size: 32rem;
  }
  .webinars-item-time {
    margin-top: 25rem;
    font-size: 28rem;
    line-height: 40rem;
  }

  .webinars-item-time::after {
    font-size: 28rem;
    line-height: 41rem;
  }

  .dictionary-box {
    margin-top: 33rem;
    font-size: 28rem;
    gap: 28rem;
  }
  .dictionary-item-link {
    color: #232222;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 28rem;
    font-size: 28rem;
    height: 69rem;
    background: #f9fafc;
    border-radius: 8rem;
  }
  .dictionary-item-link:hover {
    color: #232222;
  }
}
