.home-banner {
  width: 100%;
  height: 600px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.home-banner .swiper-wrapper,
.home-banner .swiper-slide {
  width: 100%;
  height: 100%;
}

.home-banner .swiper-slide {
  position: relative;
  overflow: hidden;
}

.home-banner .swiper-slide img {
  width: 1884px;
  height: 600px;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  display: block;
}

.home-banner .swiper-pagination {
  bottom: 20px !important;
}

.home-banner .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.7);
  opacity: 1;
}

.home-banner .swiper-pagination-bullet-active {
  background: #ffffff;
}

.home-banner .swiper-button-prev,
.home-banner .swiper-button-next {
  color: #ffffff;
  width: 44px;
  height: 44px;
  opacity: 0.9;
}

.home-banner .swiper-button-prev:hover,
.home-banner .swiper-button-next:hover {
  opacity: 1;
}

.three-ads {
  padding: 24px 0;
}

.three-ads .three-ads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.three-ads .ad {
  display: block;
  overflow: hidden;
  background: #f7f7f7;
}

.three-ads .ad img {
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.three-ads .ad:hover img {
  transform: scale(1.03);
}

.subunits-wrapper {
  display: flex;
  gap: 10px;
  align-items: stretch;
  height: 870px;
}

.subunits-left {
  width: 260px;
  height: 870px;
  background-color: #fff;
  padding: 15px;
  display: flex;
  flex-direction: column;
}

.left-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.left-icon {
  width: 31px;
  height: 26px;
}

.left-title {
  font-size: 18px;
  color: var(--mainColor);
}

.left-divider {
  height: 3px;
  background: var(--mainColor, #2D87DF);
  margin: 10px 0 12px;
}

.subunit-list {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 12px;
}

.subunit-item {
  width: 230px;
  height: 55px;
  margin: 0 auto;
  display: flex;
  font-weight: bold;
  align-items: center;
  justify-content: center;
  background: url("../images/bg_1.png") center/cover no-repeat;
  color: var(--mainColor);
  font-size: 17px;
  text-decoration: none;
  border-radius: 6px;
  transition: transform 0.2s ease;
  letter-spacing: 5px;
}

.subunit-item:hover {
  transform: translateY(-1px);
}

.subunits-right {
  flex: 1;
  height: 870px;
  overflow: hidden;
  background-color: #fff;
}

.boards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 25px;
  background-color: #fff;
}

.board-card {
  background: #fff;
  padding: 12px;
  box-sizing: border-box;
}

.board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.board-header-left {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: url("../images/bg_2.png") center/cover no-repeat;
  width: 130px;
  height: 55px;
  align-items: center;
  justify-content: center;
}

.board-icon {
  width: 24px;
  height: 24px;
}

.board-title {
  display: inline-flex;
  color: var(--mainColor);
  font-weight: 600;
}

.more-link {
  display: inline-block;
  padding: 0 12px;
  border: 1px solid #FD1E1E;
  border-radius: 999px;
  background: #ffffff;
  color: #FD1E1E;
  font-size: 14px;
  text-decoration: none;
}

.board-divider {
  height: 3px;
  background: var(--mainColor, #2D87DF);
  margin: 0 0 12px;
}

.board-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.board-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed #eee;
}

.board-item {
  position: relative;
  color: #333;
  text-decoration: none;
  max-width: 170px;
  flex: 1 1 auto;
  min-width: 0;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.board-item::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #FD1E1E;
  margin-right: 8px;
  vertical-align: middle;
}

.date {
  color: #777;
  flex: 0 0 80px;
  text-align: right;
}