html,
body {
  font-family: "PingFang SC", "Calibri", "Open Sans", "Gothic Arial", "Arial", "Microsoft YaHei", "San Francisco", "Hiragino Sans GB", "Helvetica Neue", Helvetica, sans-serif !important;
}

.danyanse {
  /* color: #555555 !important; */
}

.scrolled {
  background-color: black !important;
  color: white;
}

#aboutHover::before {
  content: "";
  width: 100%;
  bottom: 0%;
  left: 0%;
  position: absolute;
  height: 1px;
  background-color: #673b92;
  transform: translateX(-100%);
  transition: all 0.5s ease;
}

#aboutHover:hover::before {
  transform: translateX(0%);
}

.esg-banner-p p {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 32px;
}

#Social {
  margin-top: 0px;
}

#environment {
  margin-top: 0px;
}

#manHover::before {
  content: "";
  width: 100%;
  bottom: 0%;
  left: 0%;
  position: absolute;
  height: 1px;
  background-color: #673b92;
  transform: translateX(-100%);
  transition: all 0.5s ease;
}

#manHover:hover::before {
  transform: translateX(0%);
}

#solHover::before {
  content: "";
  width: 100%;
  bottom: 0%;
  left: 0%;
  position: absolute;
  height: 1px;
  background-color: #673b92;
  transform: translateX(-100%);
  transition: all 0.5s ease;
}

#solHover:hover::before {
  transform: translateX(0%);
}

#esgHover::before {
  content: "";
  width: 100%;
  bottom: 0%;
  left: 0%;
  position: absolute;
  height: 1px;
  background-color: #673b92;
  transform: translateX(-100%);
  transition: all 0.5s ease;
}

#esgHover:hover::before {
  transform: translateX(0%);
}

#contactHover::before {
  content: "";
  width: 100%;
  bottom: 0%;
  left: 0%;
  position: absolute;
  height: 1px;
  background-color: #673b92;
  transform: translateX(-100%);
  transition: all 0.5s ease;
}

#contactHover:hover::before {
  transform: translateX(0%);
}

.reportHover:hover .reportHoverAble {
  opacity: 1;
  visibility: visible;
}

.reportHover {
  transition: all 0.5s ease;
}

.reportHoverAble {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}


/* 查看PDF遮罩层弹窗 */
/* 弹窗样式 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal.hidden {
  display: none;
}

.modal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.modal-content {
  position: relative;
  background: white;
  border-radius: 8px;
  width: 80%;
  max-width: 800px;
  height: 80%;
  overflow: hidden;
  z-index: 10000;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.pdf-frame {
  width: 100%;
  height: 100%;
  border: none;
}

.modal .loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  color: #333;
  display: none;
  /* 默认隐藏 */
}

/* 盒子对齐---- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  /* 自适应列 */
  gap: 24px;
  /* 列间距 */
  place-items: start;
  /* 确保顶部对齐 */
}

.reportHover {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  /* height: 100%;  */
}

.reportHover>div {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.reportHover h4 {
  font-size: 16px;
  text-align: left;
}

.reportHover p {
  margin-top: auto;
  margin-bottom: 24px;
  font-size: 14px;
}

#sidebar-nav a span {
  margin-right: 10px;
}

#sidebar-nav a {
  font-weight: 700;
}

@media (min-width: 1024px) and (max-width: 1280px) {
  .maf-slide .sidebar {
    left: -75px !important;
  }
}

@media(min-width: 1200px) and (max-width: 1440px) {
  .lg\:text-\[28px\] {
    font-size: 28px;
  }
}

@media (max-width: 1024px) {
  .pr-\[8\.33vw\] {
    padding-right: 16px;
  }

  #impact {
    padding-right: 0;
  }

  #section5 .pr-\[8\.33vw\] {
    padding-right: 0;
  }

  .en-data-box {
    padding: 1.5rem !important;
  }

}

@media (max-width: 1023px) {

  .sidebar {
    display: none;
  }
}

@media (max-width: 720px) {
  #ceoRotate1 {
    display: none;
  }

  #ceoRotate2 {
    display: none;
  }
}

#backgroundImage::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../images/hero.png");
  /* Background image */
  filter: brightness(0.8);
  /* Brightness effect */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 0;
  /* Behind the content */
}


.content {
  transition: transform 1s ease, opacity 1s ease;
}

/* 给Social contribution盒子添加蒙版 */


.bg-social-item {
  position: relative;
}

.bg-social-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.3;
  z-index: 1;
  pointer-events: none;
}

.bg-social-item>* {
  z-index: 2;
}


@media (max-width: 660px) {
  .swiper01 {
    height: auto !important;
  }

  .swiper01 .swiper-slide-item {
    flex-direction: column;
  }

  .swiper01 .swiper-text {
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* @media (min-width: 316px) {
  .mySwiper .swiper-slide .slider-pic{
    width: 300px !important;
  }
  .mySwiper .swiper-slide .text-box {
    width: 200px !important;
  }
 } */


/* 
 .mySwiper .swiper-slide {
  width: 1014px !important;
} 
 .mySwiper .swiper-slide .slider-pic {
  max-width: 567px !important;
}  */

@media (max-width: 316px) {
  .xs\:flex-col {
    padding-left: 16px !important;
  }

  .text-\[20px\] {
    padding-left: 16px !important;
  }

  .place-items-center {
    padding-left: 16px !important;
  }

  .xs\:text-3xl {
    text-align: center;
  }
}


/* .fade-in-up {
  opacity: 0;
  visibility: hidden; 
} */

.en-data-box {
  /* max-height: 278px; */
}

.en-data-box p {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.en-data-box h1 {
  display: -webkit-box;
  line-height: 37px;
  margin-bottom: 20px;


}