/* ===== 基础样式重置 ===== */
@charset "utf-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
    -webkit-overflow-scrolling: touch;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%
}

body,
div,
h1,
h2,
h3,
h4,
h5,
h6,
p,
dl,
dt,
dd,
ul,
ol,
li,
form,
th,
td,
table,
label,
article,
aside,
dialog,
footer,
header,
section,
footer,
nav,
figure,
hgroup {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
}

body {
    color: #666;
    font-family: PingFangSC, PingFang SC;
    font-size: 14px;
}

article,
aside,
dialog,
footer,
header,
section,
footer,
nav,
figure,
hgroup {
    display: block
}
li,ul{list-style:none}
iframe,img{border:0}
sub,sup{vertical-align:baseline}
a{color:#333;text-decoration:none;outline:0}
button,input,select,textarea{margin:0;padding:0;font-size:100%;vertical-align:middle;outline:0 none}
img,input,select{vertical-align:middle}
button{cursor:pointer}
textarea{resize:none;overflow-y:auto}
.clearfix:after{content:'\0020';display:block;height:0;clear:both;font-size:0;visibility:hidden}
table{border-collapse:collapse;border-spacing:0}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}
.wd1200{width:1200px;margin:0 auto}
.inner{width:1200px;margin:0 auto}
.flex{display:flex}
.justify-content-between{justify-content:space-between}
.ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.sx-nav{font-size:14px;line-height:20px;padding:20px 0 20px;font-weight: 400;}
.sx-nav .index{color:#666}
.sx-nav span{background: url(../../images/nav-arrow.png) no-repeat;background-size: 5px 8px;width: 5px;height: 8px;display: inline-block;vertical-align: middle; margin: 0 4px;}

/* ===== 通用容器 ===== */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #ffffff;
  overflow: hidden;
}

.main-container {
  max-width: 1920px;
  margin: 0 auto;
  width: 100%;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 16px;
  position: relative;
}

/* ===== 顶部导航 ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 999;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  color: #ffffff;
  height: 100px;
  padding: 25px;
  transition: all 0.3s ease;
}
#navbarLogo {
  display: block;
}
#navbarLogoBlack {
  display: none;
}

/* 滚动时的导航栏样式 */
.navbar.scrolled {
  background: #ffffff;
  color: #333333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .nav-link {
  color: #333333;
}

.navbar.scrolled .nav-link:hover {
  color: #ef4444;
}

.navbar.scrolled .search-btn {
  color: #333333;
}

.navbar.scrolled .nav-dropdown:hover .dropdown-toggle,
.navbar.scrolled .nav-dropdown:hover .iconfont {
  color: #ef4444;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  /*padding: 0 16px;*/
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-link {
  color: #ffffff;
  font-size: 18px;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover {
  color: #ef4444;
}

.nav-link i {
  font-size: 12px;
  margin-left: 4px;
}

.search-btn {
  background: transparent;
  color: #ffffff;
  font-size: 18px;
}

/* ===== 下拉菜单样式 ===== */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  padding: 8px 0;
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  color: #333333;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.2s ease;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background-color: #b91c1c;
  color: #ffffff;
}
.dropdown-toggle {
  font-size: 18px;
}
.nav-dropdown:hover .dropdown-toggle,
.nav-dropdown:hover .iconfont {
  color: #ef4444;
}


/* ===== Banner 轮播 ===== */
.banner-section {
  position: relative;
  height: 800px;
  overflow: hidden;
}

.banner-swiper {
  width: 100%;
  height: 100%;
}
.swiper-wrapper {
  width: 100%;
  height: 100%;
  background-color: black;
}
.banner-swiper .swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-swiper .swiper-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  display:none;
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.banner-content {

  position: absolute;
  inset: 0;
  /*display: flex;*/
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: #ffffff;
  z-index: 10;
  padding: 0 16px;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.6) 33%,
    rgba(0, 0, 0, 0) 100%
  );
}

.banner-content-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.banner-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
}

.banner-content p {
  font-size: 18px;
  margin-bottom: 24px;
  max-width: 672px;
}

.banner-btn {
  margin-top: 24px;
  background-color: #b91c1c;
  color: #ffffff;
  padding: 8px 24px;
  font-size: 16px;
  transition: background-color 0.3s;
}

.banner-btn:hover {
  background-color: #991b1b;
}

/* Swiper 导航按钮 */

.banner-swiper .swiper-button-prev,
.banner-swiper .swiper-button-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.banner-swiper .swiper-button-prev {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  z-index: 1;
}
.banner-swiper .swiper-button-next {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  z-index: 1;
}

.banner-swiper .swiper-button-prev:hover,
.banner-swiper .swiper-button-next:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.banner-swiper .swiper-button-prev::after,
.banner-swiper .swiper-button-next::after {
  font-size: 16px;
}

/* Swiper 分页器 */
.banner-swiper .swiper-pagination {
  height: 12px;
  position: absolute;
  bottom: 32px;
  z-index: 99;
  display: flex;
  justify-content: center;
  gap: 8px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
}

.banner-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  opacity: 1;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.banner-swiper .swiper-pagination-bullet-active {
  width: 32px;
  height: 12px;
  border-radius: 6px;
  background-color: rgb(185, 28, 28);
}

/* 轮播图动画 - 性能优化版本 */
.banner-swiper .swiper-slide {
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1); /* 更快的缓动函数 */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  /* 启用GPU加速 */
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

.banner-swiper .swiper-slide.active {
  opacity: 1;
  z-index: 1;
  /* 减少重绘 */
  will-change: opacity;
}

.banner-swiper .swiper-slide.prev {
  opacity: 0;
  z-index: 0;
}

.banner-swiper .swiper-slide.next {
  opacity: 0;
  z-index: 0;
}

/* ===== 页脚 ===== */
.footer {
  background-color: #111827;
  color: #ffffff;
  padding: 32px;
}

.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.footer-logo img {
  height: 50px;
}

.footer-slogan {
  text-align: center;
  margin-bottom: 32px;
}

.footer-slogan p {
  font-size: 14px;
  color: #9ca3af;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.footer-column {
  padding: 8px;
}

.footer-column.wide {
  grid-column: span 1;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-column li a {
  font-size: 14px;
  color: #9ca3af;
  transition: color 0.3s;
}

.footer-column li a:hover {
  color: #ffffff;
}

.footer-column-double {
  display: flex;
  gap: 16px;
}

.footer-column-double ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.qr-code {
  width: 80px;
  height: 80px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  margin-top: 12px;
}

.footer-copyright {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #1f2937;
  text-align: center;
}

.footer-copyright p {
  font-size: 12px;
  color: #6b7280;
}




/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
  .navbar .nav-menu {
    display: none;
  }
  
  .navbar {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .navbar .nav-menu {
    display: none;
  }
  
  .navbar {
    height: 80px;
    padding: 20px;
  }
  
  .navbar-container {
    padding: 0 12px;
  }
  
  .logo img {
    height: 40px;
  }
  
  .page-wrapper {
    min-width: auto;
  }
  
  .footer,
  .content {
    min-width: auto;
  }
  
  .container {
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
  }
  
  .breadcrumb {
    font-size: 12px;
    margin-bottom: 20px;
    gap: 6px;
    flex-wrap: wrap;
  }
  
  .breadcrumb a,
  .breadcrumb span {
    font-size: 12px;
  }
  
  .banner-section {
    height: 500px;
  }
  
  .banner-content h1 {
    font-size: 32px;
  }
  
  .banner-content p {
    font-size: 16px;
  }
  
  .footer {
    padding: 24px 16px;
    width: 100%;
  }
  
  .footer .container {
    padding: 0 16px;
    width: 100%;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .navbar {
    height: 70px;
    padding: 15px;
  }
  
  .navbar-container {
    padding: 0 8px;
  }
  
  .logo img {
    height: 36px;
  }
  
  .container {
    padding: 0 12px;
  }
  
  .breadcrumb {
    font-size: 11px;
    margin-bottom: 16px;
    gap: 4px;
  }
  
  .breadcrumb a,
  .breadcrumb span {
    font-size: 11px;
  }
  
  .banner-section {
    height: 350px;
  }
  
  .banner-content h1 {
    font-size: 24px;
  }
  
  .banner-content p {
    font-size: 14px;
  }
  
  .banner-btn {
    font-size: 14px;
    padding: 6px 20px;
  }
  
  .footer {
    padding: 20px 12px;
    width: 100%;
  }
  
  .footer .container {
    padding: 0 12px;
    width: 100%;
  }
  
  .footer-logo img {
    height: 40px;
  }
  
  .footer-slogan p {
    font-size: 12px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
  }
  
  .footer-column h4 {
    font-size: 14px;
    margin-bottom: 12px;
  }
  
  .footer-column li a {
    font-size: 13px;
  }
  
  .footer-copyright {
    margin-top: 20px;
  }
  
  .footer-copyright p {
    font-size: 11px;
  }
}


/*分页*/
.pages{width:100%;height:32px;margin:32px auto 0px auto;text-align:center;font-size:0;font-weight:400}
.pages span{display:inline-block;margin-right:8px;border-radius: 4px;overflow: hidden;}
.pages span a{height:32px;display:inline-block;line-height:32px;padding:0 10px;color:#333;box-sizing:border-box;min-width:32px;font-size:16px;background:#f5f5f4}
.pages input{width:33px;text-align:center;border:1px solid #989898;height:32px;display:inline-block;line-height:32px;margin-right:10px;border-radius:2px}
.pages span a.on{height:32px;display:inline-block;line-height:32px;background:#b91c1c;color:#fff}
.pages span .next,.pages span .prev{padding:0 12px}

  
/* 列表页右侧公共区域 */
.list-right{width:384px;margin-bottom:50px}
.list-right .pic{width:384px;height:216px;position:relative; overflow: hidden;}
.list-right .pic a,.list-right .pic img{width:100%;height:100%;display:block}
.hot-title{font-size:22px;font-weight:600;line-height: 30px;color:#333;margin-bottom:8px;margin-top:24px;display:flex;justify-content:space-between;align-items: center;}
.hot-title a.more{width:9px;height:16px;background:url(../../images/more.png) no-repeat;background-size:100% 100%}
.hot-list{width:100%}
.hot-list li{width:100%;font-size:16px;font-weight:400;color:#333;line-height:48px;height:48px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hot-list li a{color:#333}
.hot-list li a i{font-weight:700;color:#cacaca;margin-right:10px;font-style:normal}
.hot-list li:nth-child(1) a i{color:#c52d27}
.hot-list li:nth-child(2) a i{color:#ef8535}
.hot-list li:nth-child(3) a i{color:#f6c446}
.museum-banner{overflow:hidden;height:400px;display:flex;align-items:center;justify-content:center;position:relative}
.museum-banner .museum-banner-inset{position:absolute;inset:0px;--tw-bg-opacity:0.5;background-color:rgb(0 0 0 / var(--tw-bg-opacity,1))}



.footer {
    width: 100%;
}

.content {
    min-width: 1280px;
}

.page-wrapper {
    min-width: 1280px;
}

/* 移动端覆盖固定宽度 */
@media (max-width: 768px) {
    .footer,
    .content,
    .page-wrapper {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .footer,
    .content,
    .page-wrapper {
        min-width: auto;
        width: 100%;
    }
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 32px;
}

.breadcrumb a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #dc2626;
}

.breadcrumb span {
  color: #6b7280;
}

