/* ========== Carousel ========== */
.carousel {
  position: relative;
  width: 100%;
  height: 688px;
  overflow: hidden;
}

.carousel-inner {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.6s ease;
}


.carousel-slide {
  width: 33.3333%;
  flex-shrink: 0;
  height: 100%;
  overflow: hidden;
}

.carousel-slide:nth-child(1) {
  background: linear-gradient(135deg, #1a5276, #2e86c1);
}

.carousel-slide:nth-child(2) {
  background: linear-gradient(135deg, #0e6655, #1abc9c);
}

.carousel-slide:nth-child(3) {
  background: linear-gradient(135deg, #6c3483, #a569bd);
}

.carousel-slide img {
  width: 1920px;
  height: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  color: #333;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: #fff;
}

.carousel-btn.prev {
  left: 15px;
}

.carousel-btn.next {
  right: 15px;
}

.carousel-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.carousel-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-dots span.active {
  background: #fff;
}

/* ========== Content Section ========== */
.content {
  position: relative;
  padding: 70px 0 0;
  background: url('../images/img-08.png') no-repeat center 357px;
  background-size: 1920px 473px;
}

.content-inner {
  width: 1260px;
  margin: 0 auto;
  display: flex;
  gap: 95px;
}

/* News Module */
.news-module {
  width: 761px;
  flex-shrink: 0;
}

.module-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.module-title {
  height: 23px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 32px;
  color: #333333;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.module-more {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.module-more img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.module-more span {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 14px;
  color: #0055AA;
  text-align: left;
  font-style: normal;
  text-transform: none;
  line-height: 22px;
}

/* News Carousel */
.news-carousel {
  position: relative;
  width: 761px;
  height: 480px;
  margin-top: 40px;
  overflow: hidden;
}

.news-carousel-inner {
  display: flex;
  width: 2283px;
  height: 480px;
  transition: transform 0.6s ease;
}

.news-slide {
  position: relative;
  width: 761px;
  height: 480px;
  flex-shrink: 0;
}

/* 底层：轮播图 */
.news-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 761px;
  height: 480px;
  object-fit: cover;
  z-index: 1;
}

/* 中层：渐变遮罩 */
.news-mask {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 761px;
  height: 118px;
  background: linear-gradient(to bottom, rgba(0, 85, 170, 0), rgba(0, 85, 170, 0.8));
  z-index: 2;
}

/* 顶层：日期和文字内容 */
.news-overlay-content {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
  padding: 0 0 30px 30px;
}

.news-date {
  display: block;
  height: 10px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 14px;
  color: #FFFFFF;
  text-align: left;
  font-style: normal;
  text-transform: none;
  margin-bottom: 20px;
}

.news-text {
  width: 594px;
  height: 39px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 16px;
  color: #FFFFFF;
  line-height: 24px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

/* News Carousel Dots */
.news-dots {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.news-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.news-dots span.active {
  background: #fff;
}

/* Events Module */
.events-module {
  width: 400px;
  flex-shrink: 0;
}

.event-list {
  margin-top: 43px;
}

.event-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #E4E4E4;
  width: 404px;
}

.event-item:last-child {
  border-bottom: none;
}

.event-date-box {
  width: 60px;
  height: 54px;
  background: #0055AA;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.event-day {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 18px;
  color: #FFFFFF;
  text-align: center;
  font-style: normal;
  text-transform: none;
  margin-bottom: -4px;
}

.event-line {
  width: 48px;
  height: 1px;
  background: #FFFFFF;
  opacity: 0.2;
  margin: 4px 0;
  flex-shrink: 0;
}

.event-month {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 12px;
  color: #FFFFFF;
  text-align: center;
  font-style: normal;
  text-transform: none;
}

.event-desc {
  width: 255px;
  margin-left: 29px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 16px;
  color: #333333;
  line-height: 24px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.content-divider {
  width: 1260px;
  height: 1px;
  background: #E4E4E4;
  margin: 64px auto 0;
}

/* ========== Content Inner 2 - Card Items ========== */
.content-inner2 {
  width: 1260px;
  margin: 84px auto 0;
  padding-bottom: 96px;
  display: flex;
  gap: 51px;
}

.card-item {
  position: relative;
  width: 386px;
  height: 270px;
  overflow: hidden;
}

.card-item-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 386px;
  height: 270px;
  object-fit: cover;
  z-index: 1;
}

.card-item-mask {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: linear-gradient(to bottom, rgba(0, 85, 170, 0), rgba(0, 85, 170, 0.7));
  z-index: 2;
}

.card-item-text {
  position: absolute;
  bottom: 21px;
  left: 56px;
  width: 274px;
  height: 14px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 20px;
  color: #FFFFFF;
  text-align: center;
  font-style: normal;
  text-transform: none;
  z-index: 3;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .carousel {
    height: 300px;
  }

  .content-inner {
    flex-direction: column;
  }

  .news-carousel {
    width: 100%;
    height: 300px;
  }

  .events-module {
    width: 100%;
  }
}