.swiper-pagination-bullet {
  width: 40px !important;
  height: 7px !important;
  border-radius: 4px !important;
  margin-bottom: 10px !important;
}
body {
  background-color: #f4f5f5;
}
.news-update {
  margin: 40px 0;
  display: flex;
  align-items: center;
}
.news-update img {
  margin-right: 10px;
}
.news-update h1 {
  font-size: 30px;
  color: #0d5fc2;
  margin: 0;
}

.view {
  border-radius: 26px;
  border: 1px solid #d1e6ff;
  display: flex;
  align-items: center;
  padding: 0 12px;
}
.view span,
view img {
  display: inline-block;
}
.view span {
  display: inline-block;
  padding: 8px 8px 8px 8px;
}
.view img {
  margin-left: 5px;
}
.news-data {
  display: flex;
  justify-content: space-between;
}
.news-data-left {
  width: 40%;
  border-radius: 10px;
  background-color: transparent;
  overflow: hidden;
}
.news-data-right {
  flex: 1;
  margin-left: 64px;
}

@media screen and (max-width: 1280px) {
  .news-data-right {
    margin-left: 50px;
  }
}

@media screen and (max-width: 1200px) {
  .news-data {
    flex-direction: column;
    gap: 10px;
  }
  .news-data-right {
    margin-left: 0px;
  }
  .news-data-content-top {
    height: 45vw !important;
  }
  .news-data-left {
    width: 100%;
  }
  .news-data-content-title h1,
  .cultivate-item h1 {
    font-size: 4rem !important;
  }
  .brief-content,
  .news-item-date span {
    font-size: 2.5rem !important;
  }
  .news-item-date {
    padding: 8px 16px !important;
  }
  .news-item h2 {
    font-size: 3rem !important;
    font-weight: bold !important;
  }
  .notice-item h1 {
    font-size: 4rem !important;
    margin-bottom: 30px !important;
  }
  .notice-item span,
  .cultivate-item span,
  .brief-content {
    font-size: 3rem !important;
  }
  .news-update h1,
  .cultivate-notice-icon h1 {
    font-size: 5rem !important;
  }

  .news-update img {
    height: 5rem !important;
  }

  .cultivate-notice-icon img {
    height: 5rem !important;
  }

  .view span {
    font-size: 2.8rem !important;
  }
  .view {
    border: 2px solid #d1e6ff;
  }
  .notice-bottom {
    grid-template-columns: repeat(1, 1fr) !important;
  }
  .work {
    grid-template-columns: repeat(1, 1fr) !important;
  }
  .work-item-img {
    height: 45vw !important;
  }
  .work-item-title {
    font-size: 4rem !important;
  }
  .channel {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .channel i {
    font-size: 10rem !important;
  }
  .channel span {
    font-size: 3rem !important;
  }
  .notice-item-date img,
  .notice-item-date span {
    height: 6rem !important;
  }
  .notice-item-date span {
    line-height: 1.8 !important;
    font-size: 3.5rem !important;
  }
}

.news-item {
  display: flex;
  align-items: center;
  border-bottom: 1px dashed #707070;
  padding: 22px 0 !important;
  transition: all 0.3s ease;
}
.news-item:nth-child(1) {
  padding: 0px 0 20px 0;
}
.news-item h2 {
  font-weight: 500;
  font-size: 18px;
  margin-left: 16px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-item-date {
  font-weight: bold;
  font-size: 18px;
  color: #ffffff;
  padding: 6px 16px;
  background-color: #3b8dff;
  border-radius: 22px;
}

.news-data-left-content {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}
.news-data-content-bottom {
  display: flex;
  flex-direction: column;
  padding: 40px 0;
}

.news-data-content-top {
  width: 100%;
  height: 18vw;
  overflow: hidden;
  position: relative;
}
.news-data-content-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.news-data-content-bottom {
  background-color: #ffffff;
  display: flex;
  justify-content: center;
}
.news-data-content-border {
  border-left: 16px solid #a9cffc;
  padding: 0 20px 0 38px;
}
.news-data-content-bottom h1,
.news-data-content-bottom span {
  display: block;
}
.brief-content {
  position: relative;
  line-height: 2;
  max-height: 4em; /* 精确设置高度为两行 */
  font-weight: 400;
  font-size: 16px;
  color: #6a6868;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 限制最多显示两行 */
  -webkit-box-orient: vertical;
}

.news-data-content-title h1 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 10px 0;
}

.cultivate-notice-bottom h1,
.news-data-content-title h1 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-slide {
  background: #fff;
}

.news-pagination {
  bottom: 10px !important;
}

.news-pagination .swiper-pagination-bullet {
  width: 8px !important;
  height: 8px !important;
  margin: 0 4px !important;
}

.news-button-next,
.news-button-prev {
  color: #fff;
  background: rgba(13, 95, 194, 0.5);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-button-next:after,
.news-button-prev:after {
  font-size: 18px;
}
.cultivate-notice {
  display: flex;
  margin-top: 80px;
  padding: 40px 3.5% !important;
  box-sizing: border-box;
  position: relative;
  background: #e0e8f2;
}

/* 添加伪元素作为背景 */
.cultivate-notice::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(../images/cu-bg.png);
  background-size: 100% 100%;
  background-position: center;
  opacity: 0.25; /* 降低透明度，让背景色更明显 */
  z-index: -1;
  pointer-events: none;
}

@media screen and (max-width: 1280px) {
  .cultivate-notice {
    flex-direction: column;
    gap: 100px !important;
  }
  .cultivate {
    width: 100% !important;
  }
  .notice {
    width: 100% !important;
    margin-left: 0px !important;
  }
}

.cultivate {
  width: 40%;
}

.notice {
  flex: 1;
}

.cultivate-notice-top {
  display: flex;
  justify-content: space-between;
}
.cultivate-notice-icon {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cultivate-notice-icon h1 {
  display: inline-block;
  font-size: 30px;
  color: #0d5fc2;
  margin: 0;
}

.notice {
  margin-left: 80px;
}

.cultivate-item {
  position: relative;
  border-bottom: 1px solid #5d98e3;
}

.cultivate-notice-bottom h1 {
  padding-top: 50px;
  font-weight: bold;
  font-size: 18px;
}

.cultivate-notice-bottom span[data-infoListBy-brief] {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 限制最多显示两行 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 2;
  margin-bottom: 15px;
}

.cultivate-date {
  position: absolute;
  right: 0;
  bottom: 10px;
  display: flex;
  overflow: hidden;
  font-size: 17px;
  width: 150px;
  height: 36px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  clip-path: polygon(15px 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
}

.date-left {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 78px;
  color: #5a94e0;
  font-weight: 500;
  position: relative;
  padding-right: 15px;
  z-index: 1;
}

.date-right {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 72px;
  color: white;
  font-weight: 500;
  position: relative;
  padding-left: 15px;
  z-index: 1;
}

/* 左侧浅蓝色背景 */
.cultivate-date::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e8f0fd;
  z-index: 0;
}

/* 右侧深蓝色背景，带倾斜效果 */
.cultivate-date::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 100%;
  background-color: #5a94e0;
  /* 倾斜形状 */
  clip-path: polygon(15px 0, 100% 0, calc(100% - 15px) 100%, 0% 100%);
  z-index: 0;
}

.a-link {
  text-decoration: none;
  color: inherit;
  width: 100%;
  display: block;
}

.a-link:hover .news-item {
  margin-left: 20px;
  color: #0d5fc2;
  border-bottom: 1px dashed #3e9ef9;
}
.dang-qun-a {
  transition: 0.5s;
}
.dang-qun-a:hover {
  transform: scale(1.05);
}

.notice-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 30px;
  margin-top: 50px;
}
.notice-item {
  box-sizing: border-box;
  padding: 18px 20px;
  border: 1px solid #b8b8b8;
  position: relative;
  padding-left: 28px;
}

/* 添加左侧小线 */
.notice-item::before {
  content: '';
  position: absolute;
  left: -3px;
  top: 0;
  width: 6px;
  height: 50%;
  transform: translateY(50%);
  background-color: #3e9ef9;
}

.notice-item .a-link {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.notice-item h1 {
  display: block;
  line-height: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 4em;
  font-size: 16px;
  margin-bottom: 10px;
}

.notice-item h1:hover,
.cultivate-item h1:hover,
.cultivate-item span:hover {
  color: #0d5fc2;
}

.notice-item .date-left {
  color: #999;
  font-size: 14px;
}
.notice-item-date {
  display: flex;
  align-items: center;
  gap: 14px;
}

.notice-item-date img {
  vertical-align: middle;
}

.notice-item-date span {
  vertical-align: middle;
}

.work {
  margin-top: 70px;
  display: grid;
  display: grid;
  /* 使用auto-fit自动填充，minmax确保最小宽度为100px */
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  /* 设置行的最小高度为100px */
  grid-gap: 40px;
}
.work-item img {
  height: 267px;
}

.mt-80 {
  margin-top: 80px;
}
.channel {
  display: grid;
  /* 使用auto-fit自动填充，minmax确保最小宽度为100px */
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  /* 设置行的最小高度为100px */
  grid-auto-rows: minmax(100px, auto);
  gap: 20px;
  margin: 70px 0;
}
.channel i {
  display: inline-block;
  padding: 20px;
  background-color: #f2f8fe;
  border-radius: 50%;
  border: 1.5px dashed #0d5fc2;
  font-size: 60px;
  color: #0d5fc2;
  transition: all 0.5s ease;
}

/* 删除原有的hover样式 */
.channel-item:hover i {
  background-color: #0d5fc2;
  color: #fff;
  animation: rotateClockwise 0.6s ease;
}

/* 当鼠标离开时的动画 */
.channel-item i {
  animation-fill-mode: forwards;
}

.channel-item:not(:hover) i {
  animation: rotateCounterClockwise 0.6s ease;
}

/* 定义顺时针旋转动画 */
@keyframes rotateClockwise {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* 定义逆时针旋转动画 */
@keyframes rotateCounterClockwise {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

/* 保持其他channel-item样式不变 */
.channel-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.swiper-slide {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.swiper-slide img,
.news-data-content-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* 添加图片容器样式 */
.img-cover-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 工作项目图片样式 */
.work-item {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}

.work-item-img {
  height: 267px;
  width: 100%;
  object-fit: cover;
}

.work-item-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
}

/* 滚动动画效果 */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translate3d(
      0,
      100%,
      0
    ); /* 从元素高度100%处开始，相当于从视口底部 */
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.wow {
  visibility: hidden;
}

.animated {
  animation-duration: 1s; /* 保持动画时间短 */
  animation-fill-mode: both;
  animation-timing-function: ease-out; /* 保持ease-out效果 */
}

.fadeInUp {
  animation-name: fadeInUp;
}

/* 给不同元素添加不同的动画延迟 */
.notice-item.wow:nth-of-type(2),
.work-item.wow:nth-of-type(2),
.channel-item.wow:nth-of-type(2) {
  animation-delay: 0.2s;
}

.notice-item.wow:nth-of-type(3),
.work-item.wow:nth-of-type(3),
.channel-item.wow:nth-of-type(3) {
  animation-delay: 0.3s;
}

.notice-item.wow:nth-of-type(4),
.work-item.wow:nth-of-type(4),
.channel-item.wow:nth-of-type(4) {
  animation-delay: 0.4s;
}

.notice-item.wow:nth-of-type(5),
.work-item.wow:nth-of-type(5),
.channel-item.wow:nth-of-type(5) {
  animation-delay: 0.5s;
}

.notice-item.wow:nth-of-type(6),
.work-item.wow:nth-of-type(6),
.channel-item.wow:nth-of-type(6) {
  animation-delay: 0.6s;
}
