.carousel-btn {
  width: 60px;
  height: 60px;
}

@media (max-width: 992px) {
  .carousel-btn {
    width: 30px;
    height: 30px;
  }
}

.home-more-link {
  display: inline-block;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-align: center;
  -ms-flex-pack: center;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.home-more-link img {
  display: block;
  width: 18px;
  height: 18px;
  margin-left: 8px;
}

.home-more-link span {
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 768px) {
  .home-more-link span {
    font-size: 14px;
  }

  .home-more-link img {
    width: 14px;
    height: 14px;
  }
}

#carousel-fade1 .carousel-inner .carousel-item {
  position: relative;
}

#carousel-fade1 .carousel-inner .carousel-item .carousel-text {
  position: absolute;
  left: 15%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.carousel-item .carousel-text .carousel-item-title {
  font-size: 48px;
}

.carousel-item .carousel-text .carousel-item-small-title {
  font-size: 26px;
}

@media (max-width: 992px) {
  .carousel-item .carousel-text .carousel-item-title {
    font-size: 24px;
  }

  .carousel-item .carousel-text .carousel-item-small-title {
    font-size: 13px;
  }
}

.more-btn {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(90deg, #cd4431 0%, #f09d1a 100%);
  padding: 13px 30px;
  border-radius: 30px;
  background-color: #f5f5f5;
  color: #fff;

  /* Flexbox 实现居中 */
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-align: center;
  -ms-flex-pack: center;
  align-items: center;
  justify-content: center;
}

.more-btn img {
  display: block;
  width: 18px;
  height: 18px;
  margin-left: 13px;
}

.more-btn:hover {
  color: #fff;
}

.more-btn span {
  font-size: 20px;
  line-height: 1;
}

@media (max-width: 992px) {
  .more-btn {
    padding: 10px 20px;
  }

  .more-btn span {
    font-size: 15px;
  }
}

#exampleModal .modal-dialog {
  width: 50%;
}

#exampleModal .modal-dialog .modal-content {
  background: transparent;
  border: none;
}

#exampleModal .modal-dialog .modal-content .modal-header {
  border: none;
}

#exampleModal .modal-dialog .modal-content .modal-header .close {
  color: #fff;
  font-size: 2.5rem;
}

.carousel-operate .learn-more {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid #ffffff;
  padding: 13px 30px;
  border-radius: 30px;
  color: #fff;
}

.carousel-operate .full-video {
  text-decoration: none;
  padding: 13px 30px;
  border-radius: 30px;
  color: #fff;
  border: 1px solid #ffffff;
}

@media (max-width: 768px) {
  #exampleModal .modal-dialog {
    width: 100%;
  }

  .carousel-operate .learn-more {
    padding: 7px 20px;
  }

  .carousel-operate .learn-more img {
    width: 12px;
    height: 12px;
  }

  .carousel-operate .full-video {
    padding: 7px 20px;
  }

  .carousel-operate .full-video img {
    width: 12px;
    height: 12px;
  }
}

@media (min-width: 576px) {
  #exampleModal .modal-dialog {
    max-width: 100%;
  }
}

.content-title {
  font-size: 22px;
}

/* 视频未加载元数据时 <video> 没有固有尺寸，若让它撑高度会导致 banner 塌陷
   首屏露出白底。因此：
   1) 占位图留在文档流，且用 aspect-ratio 固定 16:9 —— 即使图片/视频都还没下载完，
      banner 也有确定高度，慢速网络下首屏不会塌陷白屏；
   2) 视频绝对定位叠加在占位图上，播放后再淡入。 */
.home-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* IE10 可不加 */
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  visibility: hidden;
  z-index: 1;
}

.home-video.visible {
  opacity: 1;
  visibility: visible;
}

.video-placeholder {
  display: block;
  width: 100%;
  height: 56.25vw; /* IE10/11 不支持 aspect-ratio，用视口比例撑出 16:9 兜底高度 */
  aspect-ratio: 16 / 9; /* 未加载完成时也按 16:9 占位，防止首屏塌陷白屏 */
  object-fit: cover; /* IE10 可不加 */
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease-in-out;
  z-index: 2;
}

@supports (aspect-ratio: 16 / 9) {
  .video-placeholder {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

.video-placeholder.hidden {
  opacity: 0;
  visibility: hidden;
}

@media (min-width: 768px) {
  /* .video-placeholder {
    display: none;
  } */
}

@media (max-width: 768px) {
  .home-video {
    /* 隐藏视频直到它加载完成 */
    /* display: none;
    width: 100%;
    height: auto; */
  }
}

/* 标题外部样式 */
.overview-title {
  text-align: right;
  position: relative;
  display: inline-block;
}

/* 图标样式 */
.overview-title .title-icon {
  position: absolute;
  top: -4px;
  left: -5px;
  width: 30px;
  height: 20px;
  background: url('/imgs/home-img/icon1.svg') no-repeat center center;
  background-size: contain;
  z-index: 0;
}

/* 主标题样式 */
.overview-title h2 {
  font-size: 34px;
  color: #333;
  font-weight: bold;
  position: relative;
  z-index: 1;
  line-height: 1.2;
  margin: 0;
  display: inline-block;
  background: transparent;
}

@media (max-width: 768px) {
  .overview-title h2 {
    font-size: 20px;
  }

  .overview-title .title-icon {
    width: 23px;
    height: 12px;
  }
}

@media (max-width: 576px) {
  .content-title {
    font-size: 15px;
  }

  .home-more-link span {
    font-size: 14px;
  }
}

/* content1 */
.content1 {
  padding: 50px 0 60px;
}

/* 区块背景图懒加载：浏览器解析 CSS 时会无条件下载 background 里的图片，与元素是否在视口无关。
   因此把图片从基础选择器挪到 .bg-loaded 状态类下，由 index.js 在区块进入视口时补上该类，
   首屏就不再下载整页的背景图。图片地址仍留在 CSS，媒体查询的切换逻辑不受影响。 */
.content1.bg-loaded {
  background: url('/imgs/home-img/bg-img1.png') no-repeat;
  background-size: 100% 100%;
}

#content1-big-news {
  padding-bottom: 10px;
  overflow: hidden;
}

.news-item {
  /* height: 467px; */
  overflow: hidden;
  border-radius: 10px;
  background-color: #fff;
  cursor: pointer;
  transition: box-shadow 0.3s ease-in-out;
}

.news-item:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.news-item .news-img {
  height: 457px; /* 设置固定高度 */
  border-radius: 10px;
  overflow: hidden;
}

.news-item .news-img img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-item .news-img img:hover {
  transform: scale(1.2);
}

.news-item-info {
  height: 179px;
  box-sizing: border-box;
  padding: 30px 54px;
  font-size: 14px;
}

.item-info-title {
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word; /* 非标准值：只有 WebKit/Blink 认，IE10/11 会忽略 */
  word-wrap: break-word; /* IE10/11 只认这个（标准名 overflow-wrap: break-word） */
  white-space: nowrap; /* 禁止换行：与上面的 overflow/text-overflow 组成「单行省略号」 */
  font-size: 26px;
  font-weight: bold;
}

.news-item-info .abstract {
  font-size: 18px;
  color: #848484;
  white-space: nowrap; /* 不允许换行 */
  overflow: hidden; /* 隐藏超出的内容 */
  text-overflow: ellipsis; /* 用省略号表示溢出内容 */
}

.info-date-box {
  color: #848484;
  font-size: 18px;
}

@media (max-width: 992px) {
  #content1-big-news .col:nth-child(n) {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .content1.bg-loaded {
    background: url('/imgs/home-img/mb-bg-img1.png') no-repeat;
    background-size: 100% 100%;
  }

  .news-item-info {
    height: 179px;
    box-sizing: border-box;
    padding: 15px 26px;
    font-size: 14px;
  }

  .news-item .news-img {
    height: 320px;
  }

  .news-item-info {
    height: 115px;
  }

  .item-info-title {
    font-size: 17px;
  }

  .news-item-info .abstract {
    font-size: 14px;
  }

  .info-date-box {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .news-item .news-img {
    height: 229px;
  }
}

/* content2 */
.content2 {
  padding: 0 0 50px;
}

.content2.bg-loaded {
  background: url('/imgs/home-img/bg-img3.png') no-repeat;
  background-size: 100% 100%;
}

.content2 .content2-container1 {
  padding: 57px 0 100px;
}

.content2.bg-loaded .content2-container1 {
  background: url('/imgs/home-img/bg-img7.png') no-repeat;
  background-size: 100% auto;
}

@media (max-width: 992px) {
  .content2 .content2-container1 {
    padding: 20px 0 0px;
  }

  .content2.bg-loaded .content2-container1 {
    background: transparent;
  }
}

@media (max-width: 768px) {
  .content2.bg-loaded {
    background: url('/imgs/home-img/mb-bg-img3.png') no-repeat;
    background-size: 100% 100%;
  }
}

.content2 .content2-main {
  margin-top: 70px;
}

.content2 .content2-main-left {
  width: 40%;
}

.content2 .content2-main-left p {
  line-height: 36px;
}

.content2-main-left .gradient-button-box {
  display: inline-block;
  text-align: center;
  background: linear-gradient(to right, rgba(205, 68, 49, 1), rgba(240, 157, 26, 1));
  border-radius: 30px;
  padding: 1px;
  box-sizing: border-box;
  overflow: hidden;
}

.content2-main-left .gradient-button-box .gradient-button {
  position: relative;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  padding: 10px 24px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  background-color: #fef8f0;
  box-sizing: border-box;
  line-height: 1.5;
  overflow: hidden;
  transition: all 0.3s;
}

.gradient-button-box .gradient-button span,
.gradient-button-box .gradient-button img {
  display: inline-block;
  vertical-align: middle;
}

.gradient-button-box .gradient-button span {
  position: relative;
  background: linear-gradient(to right, rgba(205, 68, 49, 1), rgba(240, 157, 26, 1));
  -webkit-background-clip: text;
  color: transparent;
  z-index: 1;
  transition: all 0.3s;
}

.gradient-button-box .gradient-button img {
  position: relative;
  width: 16px;
  height: 16px;
  margin-left: 10px;
  z-index: 1;
}

/* IE10兼容处理 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .gradient-button-box .gradient-button span {
    color: #cd4431;
    background: none;
  }
}

.gradient-button .icon-more1 {
  width: 18px;
  height: 18px;
  transition: all 0.3s;
}

.gradient-button .icon-more1 .icon-more1-outer {
  transition: all 0.3s;
}

.gradient-button .icon-more1 .icon-more1-inner {
  transition: all 0.3s;
}

.gradient-button-box .gradient-button:hover {
  background: linear-gradient(to right, rgba(205, 68, 49, 1), rgba(240, 157, 26, 1));
}

.gradient-button-box .gradient-button:hover.gradient-button span {
  color: #fff;
}

.gradient-button-box .gradient-button:hover.gradient-button .icon-more1 .icon-more1-outer {
  fill: #fff;
}

.gradient-button-box .gradient-button:hover.gradient-button .icon-more1 .icon-more1-inner {
  fill: #cd4431;
}

.content2 .content2-main-right {
  width: 53%;
  overflow: hidden;
}

.content2 .content2-main-right img {
  transition: transform 0.5s ease;
}

.content2 .content2-main-right img:hover {
  transform: scale(1.2);
}

.content2-business {
  margin-top: 54px;
  overflow: hidden;
}

.business-item {
  background: rgba(245, 220, 213, 0.5);
  box-sizing: border-box;
}

.business-item:hover {
  background: linear-gradient(180deg, #ed6b58 0%, #edba6a 100%);
}

.business-item:hover .business-item-content .iconfont {
  color: #fff;
}

.business-item .business-item-content {
  display: -ms-flexbox;
  -ms-flex-direction: column;
  display: flex;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 26px 0;
}

.business-item .business-item-content .iconfont {
  display: block;
}

.business-item .business-item-content .icon1 {
  font-size: 30px;
}

.business-item .business-item-content .icon2 {
  font-size: 20px;
}

@media (max-width: 992px) {
  .content2 {
    padding: 53px 0 38px;
  }

  .content2 .content2-main {
    margin-top: 20px;
  }

  .content2 .content2-main-left {
    width: 100%;
    margin-top: 20px;
  }

  .content2 .content2-main-left .more-btn {
    margin-top: 30px;
  }

  .content2 .content2-main-left .more-btn img {
    width: 15px;
    height: 15px;
  }

  .content2 .content2-main-right {
    width: 100%;
  }

  .business-item:nth-child(even) {
    border-left: 2px solid #fff;
  }

  .business-item:nth-child(odd) {
    border-right: 2px solid #fff;
  }

  .business-item:nth-child(n + 3) {
    border-top: 2px solid #fff;
  }

  .content2-business {
    margin-top: 30px;
  }

  .content2-main-left .gradient-button-box .gradient-button {
    font-size: 12px;
  }

  .gradient-button .icon-more1 {
    width: 12px;
    height: 12px;
  }

  .business-item .business-item-content .icon1 {
    font-size: 20px;
  }

  .business-item .business-item-content .icon2 {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .news-info-box .news-top {
    font-size: 14px;
  }

  .news-bottom .news-bottom-title {
    font-size: 17px;
  }

  .news-bottom .news-bottom-abstract {
    font-size: 14px;
  }
}

/* content3 */
.content3 {
  padding: 50px 0 60px;
}

.content3.bg-loaded {
  background: url('/imgs/home-img/bg-img2.png') no-repeat;
  background-size: 100% 100%;
}

@media (max-width: 992px) {
  .content3.bg-loaded {
    background: url('/imgs/home-img/mb-bg-img2.png') no-repeat;
    background-size: 100% 100%;
  }
}

.content3-main .row {
  /* background-color: rgba(255, 255, 255, 0.4); */
  padding: 33px 67px 33px 0;
  background: linear-gradient(270deg, rgba(218, 218, 218, 0.6) 0%, rgba(255, 255, 255, 0.6) 100%);
  border-radius: 10px;
}

.content3-main .row .col-md-3 {
  padding-right: 0;
  padding-left: 0;
}

.content3-main .nav-pills .nav-link {
  border-radius: 0;
  position: relative;
  padding: 0.5rem 2rem;
}

.content3-main .nav-pills .nav-link:hover {
  color: #cd4431;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.6) 0%, rgba(255, 230, 226, 0.6) 100%);
}

.content3-main .nav-pills .nav-link + .nav-link {
  margin-top: 20px;
}

.content3-main .nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #cd4431;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.6) 0%, rgba(255, 230, 226, 0.6) 100%);
}

.content3-main .nav-pills .nav-link.active .content3-link-title {
  font-weight: bold;
}

.content3-main .nav-pills .nav-link.active .content3-link-translation {
  font-weight: 500;
}

.content3-main .nav-pills .nav-link.active::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 100%;
  background-color: #cd4431;
  position: absolute;
  top: 0;
  left: 0;
}

.content3-main .content3-link-title {
  font-size: 18px;
}

.content3-main .content3-link-translation {
  font-size: 14px;
}

.content3-main .content3-tab-content {
  background-color: #fff;
  padding: 53px;
  border-radius: 0px 10px 10px 0px;
}

.content3-tab-content-box .left-content {
  width: 40%;
}

.content3-tab-content-box .left-content .left-content-title {
  font-size: 34px;
  font-weight: bold;
}

.content3-tab-content-box .left-content .left-title-translation {
  font-size: 18px;
}

.content3-tab-content-box .left-content .left-intro {
  line-height: 30px;
}

.content3-tab-content-box .right-content {
  width: 59%;
  overflow: hidden;
}

.content3-tab-content-box .right-content img {
  transition: transform 0.5s ease;
}

/* 懒加载图片未加载前没有固有尺寸且不占高度，导致视口判定失效、布局塌陷；
   用 aspect-ratio 按 width/height 属性比例预留高度（现代浏览器），加载后自然生效 */
.content3-tab-content-box .right-content img.lazyloadImg,
.content2 .content2-main-right img.lazyloadImg {
  aspect-ratio: 1.35; /* 648/480 ≈ 1.35 */
  height: auto;
}

@media (max-width: 992px) {
  .content3-tab-content-box .right-content img.lazyloadImg,
  .content2 .content2-main-right img.lazyloadImg {
    width: 100%;
  }
}

.content3-tab-content-box .right-content img:hover {
  transform: scale(1.2);
}

@media (max-width: 992px) {
  .content3-tab-content-box {
    padding: 20px;
    border-radius: 5px;
    overflow: hidden;
    background-color: #fff;
  }

  .content3-tab-content-box {
    margin-top: 20px;
  }

  .content3-tab-content-box .left-content {
    width: 100%;
  }

  .content3-tab-content-box .right-content {
    width: 100%;
  }

  .content3-tab-content-box .left-content .left-content-title {
    font-size: 17px;
  }

  .content3-tab-content-box .left-content .left-title-translation {
    font-size: 9px;
  }

  .content3-tab-content-box .left-content .more-btn span {
    font-size: 12px;
  }

  .content3-tab-content-box .left-content .more-btn img {
    width: 12px;
    height: 12px;
  }
}

/* content4 */
.content4 {
  padding: 80px 0 60px;
  min-height: 830px;
  box-sizing: border-box;
}

.content4.bg-loaded {
  background: url('/imgs/home-img/bg-img6.gif') no-repeat;
  background-size: 100% auto;
}

.content4 .content4-main {
  width: 40%;
  margin-top: 4%;
}

.content4 .content4-main p {
  line-height: 30px;
}

@media (max-width: 992px) {
  .content4 {
    min-height: 490px;
  }
}

@media (max-width: 768px) {
  .content4 {
    padding: 45px 0 60px;
    min-height: 810px;
  }

  .content4.bg-loaded {
    background: url('/imgs/home-img/mb-bg-img6.gif') no-repeat;
    background-size: 100% 100%;
  }

  .content4 .content4-main {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .content4 {
    min-height: 530px;
  }

  .content4 .content4-main {
    margin-top: 26%;
  }
}

/* ============ IE10 / IE11 降级：浏览器不支持 object-fit ============ */
/* IE10/11 没有 object-fit，而 .news-img img 同时带 .w-100(width:100%) 和 height:100%，
   图片会被强行拉伸变形（首页新闻图为 457px 高卡片 + 458x303 原图，横向会被压扁约 45%）。
   这里改成「按高度等比缩放 + 左右居中」，多出来的部分由 .news-img 的 overflow:hidden 裁掉，
   视觉上等同 object-fit: cover。
   把这个块放进 -ms-high-contrast 媒体查询里：这是 IE10/IE11 专有特性，
   Chrome / Edge / Firefox / Safari 都不会命中，因此现代浏览器的现有样式完全不受影响。 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .news-item .news-img img {
    width: auto !important; /* 覆盖 bootstrap 的 .w-100{width:100%!important} */
    height: 100%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }

  /* 保留 hover 放大，同时不丢掉上面的居中位移 */
  .news-item .news-img img:hover {
    transform: translateX(-50%) scale(1.2);
  }
}

/* ============ IE10 / IE11 降级：区块背景图懒加载回退 ============ */
/* IE10/11 不支持 IntersectionObserver，拿不到 .bg-loaded 的懒加载时机；而 index.js 又要等
   window.onload 之后才加载，图片会被推迟到整页加载完才开始下载，比改造前更慢。
   所以这里把上面所有区块背景图原样写回基础选择器，让 IE 保持改造前的行为：CSS 解析即开始下载。
   同样放在 -ms-high-contrast 媒体查询里，Chrome / Edge / Firefox / Safari 不会命中。 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .content1 {
    background: url('/imgs/home-img/bg-img1.png') no-repeat;
    background-size: 100% 100%;
  }

  .content2 {
    background: url('/imgs/home-img/bg-img3.png') no-repeat;
    background-size: 100% 100%;
  }

  .content2 .content2-container1 {
    background: url('/imgs/home-img/bg-img7.png') no-repeat;
    background-size: 100% auto;
  }

  .content3 {
    background: url('/imgs/home-img/bg-img2.png') no-repeat;
    background-size: 100% 100%;
  }

  .content4 {
    background: url('/imgs/home-img/bg-img6.gif') no-repeat;
    background-size: 100% auto;
  }
}

@media screen and (-ms-high-contrast: active) and (max-width: 992px),
  screen and (-ms-high-contrast: none) and (max-width: 992px) {
  .content2 .content2-container1 {
    background: transparent;
  }

  .content3 {
    background: url('/imgs/home-img/mb-bg-img2.png') no-repeat;
    background-size: 100% 100%;
  }
}

@media screen and (-ms-high-contrast: active) and (max-width: 768px),
  screen and (-ms-high-contrast: none) and (max-width: 768px) {
  .content1 {
    background: url('/imgs/home-img/mb-bg-img1.png') no-repeat;
    background-size: 100% 100%;
  }

  .content2 {
    background: url('/imgs/home-img/mb-bg-img3.png') no-repeat;
    background-size: 100% 100%;
  }

  .content4 {
    background: url('/imgs/home-img/mb-bg-img6.gif') no-repeat;
    background-size: 100% 100%;
  }
}
