/* 2025-11-03 */
@font-face {
  font-family: 'yan';
  src: url('../fonts/YANTISHUFAZITI-2.woff') format('woff'),
    url('../fonts/YANTISHUFAZITI-2.TTF') format('truetype');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Microsoft Yahei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.4;
  font-weight: normal;
}

ul,
li {
  list-style: none;
}

img {
  width: 100%;
  vertical-align: middle;
}

a {
  text-decoration: none;
  color: #222;
}

input,
button {
  outline: none;
}

html {
  font-size: 62.5%; /* 1rem = 10px */
}

body {
  line-height: 1.6;
  color: #222;
  background: #fff;
  font-size: 1.6rem;
}

.container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.relative {
  position: relative;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
}

.flex-align-center {
  display: flex;
  align-items: center;
}

.flex-height-100p {
  justify-content: space-between;
  align-items: stretch;
}

.ellipsis {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

a img {
  transition: all 0.3s;
}

a:hover img {
  transform: scale(1.1);
}

.img-100-percent {
  position: absolute;
  left: 0;
  top: 0;
  width: 100% !important;
  height: 100% !important;
}

.swiper-pagination-bullet-active {
  background: #c83e33 !important;
}

/* 字号 */
.size38 {
  font-size: 3.8rem !important;
  line-height: 1.2;
}

.size36 {
  font-size: 3.6rem !important;
  line-height: 1.2;
}

.size14 {
  font-size: 1.4rem !important;
}

/* 间隔 */
.margin-top-12 {
  margin-top: 1.2rem;
}

.margin-top-20 {
  margin-top: 2rem;
}

.margin-top-30 {
  margin-top: 3rem;
}

.padding-t-b-60 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.padding-t-60 {
  padding-top: 6rem;
}

.margin-left-50 {
  margin-left: 5rem;
}

.margin-left-30 {
  margin-left: 3rem;
}

/* color */
.color-gray-light {
  color: #dcdfdf;
}

.color-gray {
  color: #888;
}

.color-black {
  color: #222;
}

.color-red {
  color: #bf0e0e;
}

.color-white {
  color: white;
}

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #a30100cc;
  color: white;
  z-index: 9999;
}

.navbar-white {
  background: white;
}

.nav-container {
  justify-content: space-between;
  height: 8.4rem;
}

.logo {
  height: 100%;
}

.logo a {
  display: block;
  width: 24.7rem;
  height: 100%;
  background: url('../images/logo/logo_white.svg') left center no-repeat;
}

.navbar-white .logo a {
  background-image: url('../images/logo/logo_color.svg');
}

.nav-links {
  display: flex;
}

.nav-links li {
  position: relative;
  margin: 0 2.2rem;
}

.nav-links a {
  display: block;
  height: 8.4rem;
  line-height: 8.4rem;
  color: white;
}

.navbar-white a {
  color: #222;
}

.navbar-white a.cur,
.navbar-white a:hover,
.nav-links dl a:hover {
  color: #bf0e0e;
}

.nav-links dl {
  display: none;
}

.nav-links li:hover dl,
.cur dl {
  display: flex;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  height: 5rem;
  font-size: 1.4rem;
}

.nav-links li:hover dl:before,
.cur dl:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 15000px;
  height: 100%;
  background: white;
  border-top: 1px solid #eee;
  z-index: -1;
}

.nav-links dl dd {
  margin: 0 1.5rem;
}

.nav-links dl a {
  display: block;
  white-space: nowrap;
  color: #222;
}

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 2.5rem;
  background: #ac1402;
  margin: 3px 0;
}

/* 搜索 */
.search img {
  display: block;
  width: 2rem;
  cursor: pointer;
}

.search-box {
  position: absolute;
  width: 100px;
  border: 1px solid #e5e5e5;
  border-radius: 100em;
  height: 3.6rem;
  right: -1.6rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 2rem;
  background: #fff;
  opacity: 0;
  visibility: hidden;
}

.search-box input {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 0;
  font-size: 1.4rem;
  color: #222;
}

.search-box img {
  position: absolute;
  right: 1.6rem;
  top: 50%;
  transform: translateY(-50%);
}

.search:hover .search-box {
  width: 220px;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s;
}

/* 查看更多 */
.more,
.more-black {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 1.2rem;
  color: #fff;
}

.more-black {
  font-size: 1.4rem;
  color: #222;
  justify-content: flex-start;
}

.more img,
.more-black img {
  margin-left: 1rem;
  width: 1.6rem;
}

.more-en {
  position: relative;
  font-size: 1.2rem;
  padding: 1rem 0;
}

.more-en:hover {
  color: #ec1b24;
}

.more-en:before,
.more-en:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -1rem;
  right: -1.5rem;
  height: 2px;
  background: #666;
}

.more-en:after {
  left: auto;
  bottom: 0.4rem;
  width: 1rem;
  transform: rotate(45deg);
}

.more-en-white,
.more-en-white:hover {
  color: #fff;
}

.more-en-white:before,
.more-en-white:after {
  background: white;
}

.button-red {
  margin-top: 8rem;
  display: block;
  width: 20rem;
  height: 4.5rem;
  text-align: center;
  line-height: 4.5rem;
  color: white;
  background: #bf0e0e;
}

.tab-red {
  font-size: 1.2rem;
  padding: 0.6rem 1.2rem;
  color: white;
  background: #bf0e0e;
}

.footer-two {
  background: #a90000;
  font-size: 1.4rem;
  line-height: 1.8;
  padding: 1.3rem 0;
}

footer .container {
  display: flex;
  flex-direction: row !important;
  justify-content: space-between !important;
  color: #fff;
}

footer a {
  color: white;
  margin-right: 3.2rem;
  white-space: nowrap;
}

footer a:last-child {
  margin-right: 0;
}

.totop {
  position: fixed;
  right: 3rem;
  bottom: 3rem;
  width: 4.5rem;
  height: 4.5rem;
  background: #fff url('../images/icon/more_red.svg') center no-repeat;
  background-size: 50%;
  transform: rotate(-90deg);
  z-index: 9999;
  border-radius: 50%;
  box-shadow: 0 0 0.6rem rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.banner {
  margin-top: 8.4rem;
  height: 39rem;
  background: center no-repeat;
  background-size: cover;
}

.banner img {
  width: 100%;
  display: none;
}

.subnav {
  background: #f9f9f9;
}

.subnav a {
  flex: 1;
  height: 8.4rem;
  line-height: 8.4rem;
  text-align: center;
  border-right: 1px solid #dbdbdb;
}

.subnav a:first-child {
  border-left: 1px solid #dbdbdb;
}

.subnav a.cur,
.subnav a.cur:hover {
  color: #fff;
  background: url('../images/common/subnav_cur.jpg') center;
}

.subnav a:hover {
  color: #bf0e0e;
}

.title-zh h1 {
  font-family: 'yan';
  position: relative;
  display: inline-block;
  font-size: 3rem;
  margin-bottom: 6rem;
}

.title-zh h1:before {
  content: '';
  position: absolute;
  top: -0.2rem;
  left: 6.8rem;
  width: 2.9rem;
  height: 2.8rem;
  background: url('../images/icon/title_white.png') center no-repeat;
}

.title-zh h1:after {
  content: '';
  position: absolute;
  bottom: -1.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 3px;
  background: #fff;
}

.title-black h1:before {
  background-image: url('../images/icon/title_red.png');
}

.title-black h1:after {
  background: #ec1b24;
}

/* 列表 */
.news-list {
  display: flex;
  flex-wrap: wrap;
}

.news-item {
  margin: 0 0 3% 3%;
  width: calc((100% - 6%) / 3);
  padding: 0.5rem;
  background: #fff;
}

.news-item:nth-child(3n + 1) {
  margin-left: 0;
}

.news-pic {
  position: relative;
  padding-bottom: 62.2%;
  overflow: hidden;
}

.news-con {
  padding: 2.5rem;
  text-align: center;
  font-size: 1.4rem;
}

.news-con h1 {
  font-size: 1.8rem;
  font-weight: bold;
}

.news-time-red {
  line-height: 1.1;
  color: #c83e33;
  margin: 1.8rem 0;
}

.news-desc {
  color: #999;
  line-height: 2;
  text-align: center;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
}

.news-con:hover h1 {
  color: #c83e33;
}

.news-more {
  padding: 1.5rem 2.5rem 2.5rem;
  text-align: center;
  border-top: 1px solid #eee;
}

/* 分页 */
.pagination-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination-item {
  width: 3.2rem;
  height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  user-select: none;
}

.pagination-item:hover:not(.disabled):not(.active) {
  background: #e9ecef;
}

.pagination-item.active {
  background: #3498db;
  color: white;
}

.pagination-item.disabled {
  color: #adb5bd;
  cursor: not-allowed;
}

.pagination-ellipsis {
  color: #6c757d;
  cursor: default;
}

.pagination-nav {
  background: #e9ecef;
  border-radius: 8px;
  padding: 8px 12px;
}

/************************* 响应式 *************************/
@media (min-width: 2880px) and (max-width: 3840px) {
  html {
    font-size: 75%; /* 9px - 保持1rem=9px，微调整体比例 */
  }

  .container {
    max-width: 2000px;
  }
}

@media (max-width: 1600px) {
  .container {
    max-width: 1200px;
  }

  .size38 {
    font-size: 3.2rem !important;
  }

  .size36 {
    font-size: 3rem !important;
  }

  .nav-links li {
    margin: 0 1.5rem;
  }

  .banner {
    height: 31.2rem;
  }
}

@media (max-width: 1200px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .size38 {
    font-size: 2.8rem !important;
  }

  .size36 {
    font-size: 2.6rem !important;
  }

  .margin-top-20 {
    margin-top: 1.5rem;
  }

  .navbar {
    background: #fff;
  }

  .logo a {
    background-image: url('../images/logo/logo_color.svg');
  }

  .nav-links {
    position: fixed;
    top: 8.4rem;
    left: -100%;
    width: 100%;
    height: auto;
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem 0;
    transition: left 0.5s;
    box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.1);
    border-top: 1px solid #eee;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 1.5rem 0;
    width: 100%;
    padding: 0 1.5rem;
  }

  .nav-links li:hover dl {
    display: none;
  }

  .open-dl {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 1.5rem;
  }

  .open-dl:before,
  .open-dl:after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 100%;
    height: 0.3rem;
    background: #ac1402;
    transition: all 0.3s;
  }

  .open-dl:after {
    transform: translateY(-50%) rotate(90deg);
  }

  .cur .open-dl:after {
    width: 0;
  }

  .nav-links li.cur dl {
    display: flex;
    position: relative;
    margin-top: 2rem;
    padding-top: 1rem;
  }

  .nav-links dl a {
    display: inline;
  }

  .nav-links a {
    color: #222;
    display: inline;
    line-height: 1.6;
  }

  .search {
    position: absolute;
    left: -100%;
    right: 100%;
    top: 9.4rem;
    transition: all 0.5s;
  }

  .search.active {
    left: 1.5rem;
    right: 1.5rem;
  }

  .search-box {
    position: absolute;
    left: 0;
    width: 100%;
    border: 1px solid #e5e5e5;
    border-radius: 0.5em;
    height: 4rem;
    padding: 0 2rem;
    background: #fff;
    opacity: 1;
    visibility: visible;
  }

  .search:hover .search-box {
    width: 100%;
  }

  .menu-toggle {
    display: flex;
  }

  .more {
    justify-content: center;
  }

  .banner {
    height: auto;
    background: none !important;
  }

  .banner img {
    display: block;
  }

  .subnav {
    display: none;
  }
}

/* 移动设备 屏幕宽度小于768px */
@media (max-width: 768px) {
  html {
    font-size: 56.25%; /* 9px - 保持1rem=9px，微调整体比例 */
  }

  .size38 {
    font-size: 2.2rem !important;
  }

  .size36 {
    font-size: 2.2rem !important;
  }

  .logo a {
    width: 18.33rem;
  }

  .margin-top-20 {
    margin-top: 1rem;
  }

  footer .container {
    flex-direction: column !important;
    align-items: center;
  }
}

/* 移动设备 屏幕宽度小于480px */
@media (max-width: 480px) {
}
