/* ============================================
   Index 页面样式文件
   用于 index.htm 的样式
   ============================================ */

/* Font Awesome图标样式 */
[saf-svg="prev"]:before,
[saf-svg="next"]:before,
[saf-svg="earth"]:before,
[saf-svg="tel01"]:before,
[saf-svg="email"]:before,
[saf-svg="saf-tel"]:before,
[saf-svg="saf-email"]:before,
[saf-svg="saf-code"]:before {
  font-family: 'FontAwesome';
  display: inline-block;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* View More按钮图标显示在右侧 */
[saf-svg="moreicon"]:after,
[saf-svg="moreicon#"]:after,
[saf-svg="morejt#"]:after {
  font-family: 'FontAwesome';
  display: inline-block;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin-left: 10px;
  transition: all 0.3s ease;
}

[saf-svg="prev"]:before {
  content: "\f053";
}

/* fa-chevron-left */
[saf-svg="next"]:before {
  content: "\f054";
}

/* fa-arrow-right */
[saf-svg="moreicon"]:after,
[saf-svg="moreicon#"]:after,
[saf-svg="morejt#"]:after {
  content: "\f061";
}
[saf-svg="earth"]:before {
  content: "\f0ac";
}

/* fa-globe */
[saf-svg="tel01"]:before,
[saf-svg="saf-tel"]:before {
  content: "\f095";
}

/* fa-phone */
[saf-svg="email"]:before,
[saf-svg="saf-email"]:before {
  content: "\f003";
}

/* fa-envelope-o */
[saf-svg="saf-code"]:before {
  content: "\f029";
}

/* fa-qrcode */

/* 确保图标容器正确显示 */
.s_btn[saf-svg],
.saf-sbtn[saf-svg],
a[saf-svg],
span[saf-svg] {
  display: inline-block;
}

/* 保持原有SVG图标的样式 */
.e_icon-12 .fa {
  width: 100%;
  height: 100%;
  display: block;
  color: var(--n, #333);
  text-align: center;
  line-height: 50px;
}

/* 欧兰特数据部分图标样式修复 */
#data-section .data-icon {
  width: 100px;
  height: 100px;
  border: 2px var(--n, #333) solid;
  padding: 25px;
  margin: 0 auto 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#data-section .data-icon .fa {
  width: auto;
  height: auto;
  color: var(--n, #333);
  font-size: 50px;
  line-height: 1;
  display: block;
}

/* View More按钮样式 - 图标在右侧，悬停时向右扩大 */
#about-section .about-more a,
#news-section .news-link a {
  position: relative;
  overflow: visible;
  transition: all 0.3s ease;
}

#about-section .about-more a[saf-svg="moreicon#"]:after,
#news-section .news-link a[saf-svg="moreicon#"]:after {
  content: "\f061"; /* fa-arrow-right */
  margin-left: 10px;
  transition: all 0.3s ease;
  display: inline-block;
}

/* 鼠标悬停时按钮向右扩大和移动 */
#about-section .about-more a:hover,
#news-section .news-link a:hover {
  padding-right: 50px;
  transform: translateX(8px) scale(1.05);
}

/* 鼠标悬停时图标向右移动更远 */
#about-section .about-more a:hover[saf-svg="moreicon#"]:after,
#news-section .news-link a:hover[saf-svg="moreicon#"]:after {
  margin-left: 20px;
  transform: translateX(8px);
}

/* 通用 View More 按钮悬停效果 */
a[saf-svg="moreicon"]:hover,
a[saf-svg="moreicon#"]:hover,
a[saf-svg="morejt#"]:hover {
  padding-right: 50px;
  transform: translateX(8px) scale(1.05);
  transition: all 0.3s ease;
}

a[saf-svg="moreicon"]:hover:after,
a[saf-svg="moreicon#"]:hover:after,
a[saf-svg="morejt#"]:hover:after {
  margin-left: 20px;
  transform: translateX(8px);
}

/* Waterfall 轮播图按钮图标样式 */
.waterfallBar .saf-sbtn[saf-svg="prev"]:before,
.waterfallBar .saf-sbtn[saf-svg="next"]:before {
  font-family: 'FontAwesome';
  display: block;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #666;
  font-size: 16px;
  /* 父元素已经是 flex 容器，会自动居中 */
}

.waterfallBar .saf-sbtn[saf-svg="prev"]:before {
  content: "\f053"; /* fa-chevron-left */
}

.waterfallBar .saf-sbtn[saf-svg="next"]:before {
  content: "\f054"; /* fa-chevron-right */
}

.waterfallBar .saf-sbtn:hover:before {
  color: #fff;
}

/* 隐藏 SVG 图标（如果存在），使用 Font Awesome 图标 */
.waterfallBar .saf-sbtn[saf-svg] svg {
  display: none;
}

/* 企业荣誉切换按钮图标样式 */
.saf-categoryBox .s_btn[saf-svg="prev"]:before,
.saf-categoryBox .s_btn[saf-svg="next"]:before {
  font-family: 'FontAwesome';
  display: block;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #666;
  font-size: 16px;
  transition: color 0.3s ease;
}

.saf-categoryBox .s_btn[saf-svg="prev"]:before {
  content: "\f053"; /* fa-chevron-left */
}

.saf-categoryBox .s_btn[saf-svg="next"]:before {
  content: "\f054"; /* fa-chevron-right */
}

/* 企业荣誉切换按钮悬停时图标变白色 */
.saf-categoryBox .s_btn:hover:before {
  color: #fff;
}

/* 隐藏 SVG 图标（如果存在），使用 Font Awesome 图标 */
.saf-categoryBox .s_btn[saf-svg] svg {
  display: none;
}

