 /* 引入字体 */
 
 @font-face {
    font-family: 'SimSun';
    src: url('../font/simsun.ttc') format('truetype') /* 现代浏览器 */
        /* 旧版浏览器 */
  }
 
  @font-face {
    font-family: 'Impact';
    src: url('../font/impact.ttf') format('truetype') /* 现代浏览器 */
        /* 旧版浏览器 */
  }
  @font-face {
    font-family: 'Bahnschrift';
    src: url('../font/bahnschrift.ttf') format('truetype') /* 现代浏览器 */
        /* 旧版浏览器 */
  }
 
  @font-face {
    font-family: 'NotoSansSC';
    src: url('../font/NotoSansSC-6.ttf') format('truetype') /* 现代浏览器 */
        /* 旧版浏览器 */
  }

  @font-face {
    font-family: 'xiti';
    src: url('../font/xiti.ttf') format('truetype') /* 现代浏览器 */
        /* 旧版浏览器 */
  }

  @font-face {
    font-family: 'arialbd';
    src: url('../font/ADOBESONGSTD-LIGHT.OTF?t=1') format('truetype') /* 现代浏览器 */
        /* 旧版浏览器 */
  }
 /* 全局字体设置 */
body {
    font-family: "SimSun", sans-serif; /* 宋体优先，无衬线字体作为备选 */
}


 /* 重置默认样式 */
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 /* 隐藏Browsersync连接提示 */
#__bs_notify__ {
    display: none !important;
}

 /* 设置根字体大小（1rem = 10px） */
 html {
     font-size: 62.5%;
 }

 /* 容器布局 */
 .container {

     margin: 0 auto;
     padding: 0rem;
 }

 .xhx{
    width: 90%;
    height: 1px;
    background-color: #000000;
    margin: 0 auto;
}

.menu-toggle {
    font-family: "xiti" !important;
    transform: scaleX(1.5);
}



 /* 主内容区 */
 .main-content {}

 /* 响应式调整 */
 @media (max-width: 768px) {
     html {
         font-size: 50%;
         /* 1rem = 8px */
     }
    
   

   
 }

 @media (max-width: 480px) {
     .container {}
 }


 .teardown {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 1.5rem 0;
    background-color: #bdbdbd73;
    z-index: 1000;
    -webkit-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
    -webkit-transition: transform .2s ease-in-out;
    transition: transform .2s ease-in-out
}

.teardown--show {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0)
}

.teardown__inner {
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.teardown__inner,
.teardown__items {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    position: relative
}

.teardown__items {
    padding-left: 2rem;
    /* color: #939598 */
}

.teardown__item {
    font-family: "NotoSansSC";
    position: relative;
    font-size: 2rem;
}

.teardown__item:not(:last-child) {
    padding-right: 1.3rem
}

.teardown__item:not(:last-child):after {
    content: "";
    position: absolute;
    right: 10rem;
    top: 0;
    font-size: 1.1em
}

.teardown__link {
    color: #939598;
    font-size: .9375rem
}

@media screen and (min-width:1100px) {
    .teardown__link {
        font-size: 1rem
    }
}

.teardown__link:hover {
    color: red
}

.teardown__toTop {
    color: #939598;
    display: block;
    margin-right: 5rem;
    
}



/* 添加图片查看器样式 */
.image-viewer {
    display: flex;
    position: fixed;
    top: 14rem;
    left: 0;
    width: 100%;
    /* height: calc(100% - 17rem); */
    background: rgba(255 255 255 / 0.8);
    height: 100%;
    padding-bottom: 17rem;
    display: none;
    z-index: 9999;
}

.image-viewer.active {
    display: flex;
}

.viewer-content {
    position: relative;
    /* height: calc(100% - 20rem); */
    /* margin-top: 2rem; */
    display: flex;
    /* align-items: center; */
    justify-content: center;
    width: 65%;
    margin-left: 5rem;
    /* overflow: hidden; */
    /* box-shadow: #000000 0.5rem 0rem 1rem ; */
    /* background: #AFAFAF; */
}

.imgtext{
    width: 29%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 9rem 12.5REM;
    justify-content: center;
    text-align: left;
   
}
.imgtext-text{
    font-size: 4rem;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%; /* 根据视口宽度自动调整 */
    margin: 0 auto; /* 居中显示 */
   
}

.imgrig__item {
    background: rgba(255, 255, 255, 0.9);
    /* border-radius: 1rem; */
    /* padding: 2rem; */
    /* height: 12rem; */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.0);
    overflow: hidden;
    display: flex
;
    justify-content: center;
}
.viewer-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* box-shadow: #000000 1rem 1rem 1.5rem ; */
    /* transition: transform 0.3s; */
    cursor: grab;
}

.viewer-content button {
    position: absolute;
    background: rgba(0, 0, 0, 0);
    z-index: 1000;
    transform: scale(0);
    border: none;
    padding: 1rem;
    font-size: 10rem;
    color: white;
    cursor: pointer;
}


.viewer-prev { left: 2rem; top: 50%; }
.viewer-next { right: 2rem; top: 50%; }
.zoom-controls { bottom: 2rem; right: 2rem;transform: scale(0); }