/* 全局样式优化 */
body {
  font-family: var(--font-sans-serif);
  line-height: 1.6;
  color: #d2b85d;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* SDGS section 优化 */
#sdgs4.sdgs-section {
  background: #ffffff;
  padding: 80px 0;
}

#sdgs4 .sdgs-section__content {
  background: #ffffff;
  border-radius: 24px;
  padding: 60px 50px;
  margin-bottom: 60px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  position: relative;
}

#sdgs4 .sdgs-section__content:last-child {
  margin-bottom: 0;
}

#sdgs4 .sdgs-section__content .h-title {
  margin: 0 0 40px;
  padding-left: 24px;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--color-main);
  border-left: 6px solid var(--color-main);
  line-height: 1.4;
  position: relative;
  display: inline-block;
}

#sdgs4 .sdgs-section__content .h-title::after {
  display: none;
}

#sdgs4 .sdgs-list {
  display: grid;
  gap: 30px;
}

#sdgs4 .sdgs-section__content .sdgs-list__section {
  position: relative;
  margin: 0;
  padding: 36px 42px;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
  overflow: hidden;
  cursor: default;
  transition: all 0.3s ease;
}

#sdgs4 .sdgs-section__content .sdgs-list__section:hover {
  border-color: var(--color-main);
  box-shadow: 0 8px 24px rgba(210,184,93,0.15);
  transform: translateY(-2px);
  background: #ffffff;
}

#sdgs4 .sdgs-section__content .sdgs-list__section .icon-dot {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  transition: all 0.3s ease;
  z-index: 2;
}

#sdgs4 .sdgs-section__content .sdgs-list__section:hover .icon-dot {
  transform: scale(1.1);
  box-shadow: 0 0 0 15px rgba(210,184,93,0.15);
}

#sdgs4 .sdgs-section__content .sdgs-list__section .title {
  position: relative;
  z-index: 2;
  margin: 0 0 16px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #d2b85d;
  transition: color 0.3s ease;
  line-height: 1.4;
  word-break: break-word;
  hyphens: auto;
}

#sdgs4 .sdgs-section__content .sdgs-list__section:hover .title {
  color: #2B2B2B;
}

/* 针对特别长的标题优化 */
#sdgs4 .sdgs-section__content.heart .sdgs-list__section .title {
  font-size: 1.6rem;
  line-height: 1.6;
  padding-right: 20px;
}

#sdgs4 .sdgs-section__content.heart .sdgs-list__section .text {
  font-size: 1.4rem;
  color: #666;
}

#sdgs4 .sdgs-section__content .sdgs-list__section .text {
  position: relative;
  z-index: 2;
  line-height: 1.8;
  font-size: 1.4rem;
  color: #d2b85d;
}

#sdgs4 .sdgs-section__content .sdgs-list__section .text p {
  margin: 0;
}

#sdgs4 .sdgs-section__content .sdgs-list__section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(210,184,93,0.03) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

#sdgs4 .sdgs-section__content .sdgs-list__section:hover::before {
  opacity: 1;
}

/* 文字排版优化 */
#sdgs4 .sdgs-section__content .sdgs-list__section .title {
  margin-bottom: 16px;
}

#sdgs4 .sdgs-section__content .sdgs-list__section .text {
  color: #d2b85d;
  font-size: 1.4rem;
}

#sdgs4 .sdgs-section__content .sdgs-list__section .text p {
  line-height: 1.7;
}

@media (min-width: 768px) {
  #sdgs4 .sdgs-section__content {
    padding: 70px 60px;
    margin-bottom: 60px;
  }

  #sdgs4 .sdgs-section__content .h-title {
    font-size: 1.8rem;
    margin-bottom: 50px;
    padding-left: 28px;
  }

  #sdgs4 .sdgs-list {
    gap: 32px;
  }

  #sdgs4 .sdgs-section__content .sdgs-list__section {
    padding: 36px 48px;
  }

  #sdgs4 .sdgs-section__content .sdgs-list__section .title {
    font-size: 1.6rem;
  }

  #sdgs4 .sdgs-section__content .sdgs-list__section .text {
    font-size: 1.4rem;
  }
}

@media (min-width: 992px) {
  #sdgs4 .sdgs-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  #sdgs4 .sdgs-section__content .sdgs-list__section {
    padding: 40px 52px;
  }
}

@media (min-width: 1200px) {
  #sdgs4 .sdgs-section__content {
    padding: 80px 70px;
  }

  #sdgs4 .sdgs-section__content .h-title {
    font-size: 1.8rem;
    margin-bottom: 55px;
  }

  #sdgs4 .sdgs-list {
    gap: 50px;
  }

  #sdgs4 .sdgs-section__content .sdgs-list__section {
    padding: 44px 56px;
  }
}
.heart-swiper {
  margin-top: 50px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.heart-swiper .swiper-slide {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.heart-swiper .swiper-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.4s ease;
}

.heart-swiper .swiper-slide:hover img {
  transform: scale(1.02);
}

.heart-swiper .swiper-pagination {
  bottom: 20px;
  padding: 0 20px;
}

.heart-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #e8e8e8;
  opacity: 0.6;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.heart-swiper .swiper-pagination-bullet-active {
  background: var(--color-main);
  opacity: 1;
  transform: scale(1.3);
}

.heart-swiper .swiper-button-next,
.heart-swiper .swiper-button-prev {
  color: var(--color-main);
  font-size: 20px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.heart-swiper .swiper-button-next:hover,
.heart-swiper .swiper-button-prev:hover {
  background: var(--color-main);
  color: white;
  transform: scale(1.1);
}

/* 响应式图片优化 */
@media (min-width: 768px) {
  .heart-swiper .swiper-slide img {
    height: 240px;
  }
}

@media (min-width: 992px) {
  .heart-swiper .swiper-slide img {
    height: 280px;
  }
}

/* 页面整体协调性优化 */
.front-news {
  margin-top: 80px;
  padding: 60px 0;
  background: #f8f9fa;
}

.front-news .heading-primary {
  margin-bottom: 50px;
}

.front-news__contents {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
  justify-items: center;
}

.front-news__contents__item {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  width: 100%;
  min-width: 0;
  flex: 0 0 23.5%;
}

.front-news__contents__item {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  width: 100%;
}

.front-news__contents__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.front-news__contents__item .component-getnews__thumbnail {
  overflow: hidden;
  height: 240px;
}

.front-news__contents__item .component-getnews__thumbnail-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.front-news__contents__item:hover .component-getnews__thumbnail-inner img {
  transform: scale(1.05);
}

.front-news__contents__item .component-getnews__text {
  padding: 24px;
}

.front-news__contents__item .component-getnews__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #d2b85d;
  margin: 0;
}

/* 响应式调整 */
@media (max-width: 1200px) {
  .front-news__contents {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .front-news__contents {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .front-news__contents {
    grid-template-columns: 1fr;
  }
}
