.ad-bd {
  width: 640px;
  margin-top: 12px;
  margin-left: 18px;
}
.banner {
  border-radius: 8px;
  display: block;
  width: 640px;
  height: 200px;
}
.banner-wrap .swiper-pagination-horizontal {
  left: unset;
  right: 10px;
  padding: 0 10px;
  width: fit-content;
  background-color: rgba(56, 56, 56, 0.36);
  border-radius: 999px;
}
.banner-wrap .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
}
.swiper-pagination-bullet-active {
  background-color: #fff;
}

.ad-img {
  width: 210px;
  height: 96px;
}
.ad-info {
  margin-top: 12px;
  margin-left: 12px;
  padding: 12px 18px;
  width: 310px;
  height: 308px;
}
.ad-box {
  margin: 9px 0 13px;
  height: 155px;
  background-color: rgba(255, 64, 58, 0.05);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 6px;
  align-content: center;
}
.ad-item p {
  font-size: 24px;
}
.m-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
}

.main {
  display: grid;
  row-gap: 20px;
  padding-bottom: 63px;
}
.p-30 {
  padding: 30px;
}
.s-hd {
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}
.s-hd img {
  width: 30px;
  height: 30px;
}
.s-hd h5 {
  font-size: 26px;
  margin: 0 12px;
}
.s-tab {
  position: relative;
  margin-left: 50px;
  padding: 0 5px;
  font-size: 16px;
  color: #555;
  cursor: pointer;
}
.s-tab:hover {
  color: var(--primary);
}
.s-tab.current {
  font-weight: 500;
  color: #333;
}
.s-tab.current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  border-radius: 17px;
  background: linear-gradient(90deg, rgba(255, 64, 58, 1) 0%, rgba(255, 64, 58, 0.3) 100%);
}
.t-more {
  color: rgba(85, 85, 85, 0.3);
}

.s-bd {
  margin-top: 20px;
}
.s-col1 {
  margin-right: 8px;
}
.s-col2 {
  margin-left: 9px;
  color: #444;
}
.s-img1 {
  width: 220px;
  height: 170px;
}
.text1 {
  margin-top: 15px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}
.t-blue {
  color: #4091eb;
}
.t-purple {
  color: #8f96fe;
}


/* 热门试卷 */
.news {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.n-item {
  margin-top: 22.5px;
  width: calc(50% - 10px);
  font-size: 15px;
  color: #333;
}
.n-img2 {
  width: 100px;
  height: 60px;
  margin-right: 9px;
}

/* 名师风采 */
.p-list {
  display: grid;
  grid-template-columns: repeat(5, 220px);
  justify-content: space-between;
}
.p-item {
  width: 220px;
  height: 284px;
  background-color: rgba(245, 245, 245, 0.5);
}
.p-img {
  width: 220px;
  height: 120px;
}
.p-info {
  position: relative;
  padding: 30px 10px 0;
}
.p-avatar {
  position: absolute;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  top: -57px;
  left: 50%;
  transform: translateX(-50%);
}