@font-face {
    font-family: '汉仪飞檐隶';
    src: url('../material/汉仪飞檐隶.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


body,
html {
   
    font-family: '汉仪飞檐隶', sans-serif;
    /* 使用自定义字体 */
}
.navbar {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: '汉仪飞檐隶', sans-serif;
    position: fixed;
    top: 1%;
    right: 2.5%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    padding: 10px;
    overflow: hidden;
    font-family: '汉仪飞檐隶', sans-serif;
    z-index: 2;
}

.navbar a {
    color: #264758;
    text-decoration: none;
    font-size: 25px;
    margin-right: 35px;
    font-family: '汉仪飞檐隶', sans-serif;
}

.navbar a:last-child {
    margin-right: 7px;
}

.navbar a:hover {
    transform: scale(1.1);
    color: #FFD700;
}

.tle {
    margin-top: 40px;
    margin-left: 10px;
    font-family: '汉仪飞檐隶', 'STKaiti', 'KaiTi', serif; /* 增加备用字体 */
    font-size: 2.4rem;
    line-height: 1.3;
    letter-spacing: 0.1em;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    
    /* 传统书法风格 */
    color: #5a3921; /* 深檀色 */
    text-shadow: 
        1px 1px 0px rgba(0,0,0,0.1),
        3px 3px 5px rgba(139, 107, 70, 0.2); /* 木质纹理感阴影 */
    
    /* 水墨风格下划线 */
    &::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 120px;
        height: 2px;
        background: linear-gradient(
            to right,
            transparent 0%,
            #8c7b6d 30%,
            #5a3921 50%,
            #8c7b6d 70%,
            transparent 100%
        );
        opacity: 0.7;
    }
    
    /* 毛笔字质感 */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><filter id="ink"><feTurbulence type="fractalNoise" baseFrequency="0.04" numOctaves="5" result="noise"/><feDisplacementMap in="SourceGraphic" in2="noise" scale="1.5" xChannelSelector="R" yChannelSelector="G"/></filter></svg>#ink');
}





header {
    background-image: url('../material/纹路.jpg');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 13vh;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
}   
/* 菜单按钮 */
.NIE-topBar-menu-btn {
    display: inline-block;
    padding: 5px 13px;
    background-color: #fe9595;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 20px;
    cursor: pointer;
    position: fixed; /* 设置为固定位置 */
    margin-top: 16px;
    z-index: 1; /* 确保z-index高于header */
}

.NIE-topBar-menu-btn i {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('../material/soon.png')no-repeat center center;
    background-size: contain; /* 确保背景图片完整显示 */
    vertical-align: middle;
    margin-right: 1px;
    margin-bottom: 5px;
}
/* 菜单区域 */
#NIE-topBar-menu {
    display: none; /* 保持不变，可以通过JavaScript来控制显示 */
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #f9f9f9; /* 轻微改变背景颜色，使对比度更柔和 */
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* 稍微增强阴影效果 */
    z-index: 3;
    transition: all 0.3s ease; /* 添加过渡效果，使显示更平滑 */
}

.NIE-table {
    display: flex;
    flex-wrap: wrap;
    padding: 20px; /* 增加内边距，使内容不那么拥挤 */
    justify-content: space-between; /* 添加两端对齐，使布局更平衡 */
}

.NIE-nav {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 10px;
    margin-bottom: 15px; /* 增加底部边距 */
}

.NIE-nav li {
    flex: 1;
    text-align: center;
    font-weight: 600; /* 使用600代替bold，字体粗细更适中 */
    cursor: pointer; /* 添加鼠标手势，提示可点击 */
    transition: background-color 0.3s ease; /* 添加背景颜色过渡效果 */
}

.NIE-nav li:hover {
    background-color: #f0f0f0; /* 鼠标悬停时改变背景颜色 */
}

.NIE-list {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 20px; /* 添加底部边距 */
}

.NIE-list li {
    flex: 1;
    max-width: 50%; /* 限制最大宽度，避免内容过长 */
    padding: 15px; /* 增加内边距 */
    box-sizing: border-box;
    list-style-type: none; /* 去除项目符号 */
    border: 1px solid #e5e5e5; /* 添加边框，区分各个项目 */
    margin-bottom: 10px; /* 添加底部边距 */
    transition: transform 0.3s ease; /* 添加变换过渡效果 */
}

.NIE-list li:hover {
    transform: translateY(-5px); /* 鼠标悬停时轻微上移 */
}

.NIE-list p {
    font-weight: 600; /* 使用600代替bold */
    margin-bottom: 10px;
    color: #333; /* 稍微加深标题颜色 */
}

.NIE-list a {
    display: block;
    margin-bottom: 5px;
    color: #0056b3; /* 使用更鲜明的颜色 */
    text-decoration: none;
    transition: color 0.3s ease; /* 添加颜色过渡效果 */
}

.NIE-list a:hover {
    color: #003d82; /* 鼠标悬停时改变颜色 */
}

.NIE-list em {
    font-style: normal;
    color: #666666; /* 使用全角十六进制代码，保持一致性 */
}

.NIE-topBar-more {
    display: block;
    margin-top: 10px;
    color: #0056b3; /* 使用更鲜明的颜色 */
    text-decoration: none;
    font-weight: 600; /* 使用600代替bold */
    text-align: center; /* 居中显示 */
    transition: color 0.3s ease; /* 添加颜色过渡效果 */
}

.NIE-topBar-more:hover {
    color: #003d82; /* 鼠标悬停时改变颜色 */
    text-decoration: underline; /* 添加下划线效果 */
}
/* 动画 */
/* 设置banner-wrap的样式，使其成为满屏的背景 */
.banner-wraps {
    position: fixed; /* 使其固定在视口 */
    top: 0;
    left: 0;
    width: 100vw; /* 宽度为视口宽度 */
    height: 100vh; /* 高度为视口高度 */
    overflow: hidden; /* 隐藏超出部分的内容 */
    z-index: -1; /* 如果有其他内容，可以设置z-index使其在下面 */
  }
  
  /* 设置banner-swiper-container的样式 */
  .banner-swiper-containers {
    width: 100%;
    height: 100%;
  }
  
  /* 设置swiper-wrapper的样式 */
  .swiper-wrappers {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  /* 设置swiper-slide的样式 */
  .swiper-slides {
    width: 100%;
    height: 100%;
    background-size: cover; /* 覆盖整个元素 */
    background-position: center; /* 居中背景图像 */
  }
  
  /* 设置视频的样式 */
  .swiper-slides video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 覆盖整个元素 */
  }
  .banner-bottoms{
    height: 200px;
    width: 100%;
    left: 0;
    bottom: 0;
    position: absolute;
    background: url("../material/bottom.webp")center bottom repeat-x;
  } 
  
  
















  /* 通用样式 */
/* 在您的 CSS 文件中添加以下样式 */

.news_con {
    position: fixed;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 15.4rem;
    width: 47.25rem;
    background: url("https://yys.res.netease.com/pc/gw/20240309182959/img/newsBg_04576e2f.png") no-repeat;
    background-size: 100% 100%;
    display: flex;
    margin-left: 0.2rem; /* 如果您想要调整水平位置，可以修改这个值 */
}
  

.bannerbox {
    width: 100%;
    background: #000;
    height: 100%;
    width: 23.8rem;
    position: relative;
}

.newsinfo {
    background: url("https://yys.res.netease.com/pc/gw/20240309182959/img/xinfuTit_213655ec.png") no-repeat;
    background-size: 100% 100%;
    color: #ffecc3;
    font-size: 0.9rem;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    
}

.swiper-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-dec {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 0.8rem;
    padding: 0.5rem;
    position: absolute;
    bottom: 2%;
    width: 100%;
    text-align: center;
}


.news-tab {
    position: relative;
    width: 23.4rem;
}

.newsNav {
    display: flex;
    justify-content: space-around;
    /* background: rgba(0, 0, 0, 0.5); */
}

.newsbtn {
    color: #e0cfb1;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

.newsbtn.on {
    background: #a58c5b;
    color: #fff;
}

/* .newsgroup {
    background: rgba(0, 0, 0, 0.7);
    padding: 0.15rem;
} */

.tab {
    display: none;
}

.tab.on {
    display: block;
}

.gfbannerSw {
    position: relative;
    width: 100%;
    height: auto;
  }
  
/* 轮播图容器样式 */
.swiper-container.gfbannerSw {
    position: relative;
  }
  
  /* 分页点样式 */
  .swiper-pagination.gfPagin {
    position: absolute;
    bottom: 38px; /* 调整分页点距离底部的距离 */
    left: 40%; /* 调整分页点距离右侧的距离 */
  }
  
  /* 分页点的每个点样式 */
  .swiper-pagination-bullet {
    width: 5px; /* 调整分页点的大小 */
    height: 5px; /* 调整分页点的大小 */
    display: inline-block;
    border-radius: 50%; /* 使分页点为圆形 */
    background-color: #000; /* 分页点的颜色 */
    opacity: 0.5; /* 分页点的透明度 */
  }
  
  /* 分页点激活时的样式 */
  .swiper-pagination-bullet-active {
    background-color: #fff; /* 激活时分页点的颜色 */
    opacity: 1; /* 激活时分页点的透明度 */
  }
  







  

  .container {
    width: 375px;
    height: 215px;
    background: #fff9f0 url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNMCA1MGgxMDB2MjBIMHpNODAgMGgyMHYxMDBIMTB6IiBmaWxsPSIjZmZmIiBvcGFjaXR5PSIwLjAyIi8+PC9zdmc+');
    border: 1px solid #eee6dd;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
    display: flex;
    position: relative;
    overflow: hidden;
}
/* 左侧装饰列 */
.decor-column {
    width: 135px;
    height: 100%;
    background: linear-gradient(158deg, #73533a 0%, #543e2b 100%);
    padding: 28px 20px;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
}
.silk-pattern {
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    opacity: 0.18;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTAgMTI1aDEyNVYwSDB6TTEyNSAyMDBoNzV2LTc1aC03NXpNMCAyMDBoNzV2LTc1SDB6IiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9Ii4xNSIvPjwvc3ZnPg==');
}
.decor-column h1 {
    color: #fff;
    font: 30px/1.2 'STSong', 'STKaiti', serif;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.25);
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
    margin-top: -20px;
}
.decor-column h1::after {
    content: '✦';
    color: #c9a989;
    font-size: 14px;
    position: absolute;
    right: -10px;
    top: -8px;
    opacity: 0.6;
}
.decor-column p {
    color: #d4c2b0;
    font-size: 18px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}
/* 右侧内容列 */
.content-column {
    flex: 1;
    height: 100%;
    padding: 2px 2px;
    overflow-y: auto;
    position: relative;
}
.section {
    margin-bottom: 22px;
    padding-left: 10px;
    border-left: 1px solid #d4b89a;
    transition: 0.3s ease;
}
.section:hover {
    border-left-color: #b89472;
    transform: translateX(3px);
}
h2 {
    color: #4a3726;
    font: 600 20px/1 'Alibaba PuHuiTi', 'Microsoft YaHei', sans-serif;
    margin: 8px 0;
}
h2::before {
    content: '▎';
    color: #c2a98d;
    margin-right: 6px;
}
.content-column p{
    font-size: 20px;
}
.quote {
    background: linear-gradient(90deg, #f8f2e9 0%, #f5efe6 100%);
    border: 1px solid #ede6db;
    border-radius: 6px;
    padding: 12px;
    font: italic 14px/1.5 'STKaiti';
    color: #6d5d4f;
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.8);
    margin: 14px 0;
    position: relative;
}
.quote::before,
.quote::after {
    color: #d8c4ab;
    font: 700 24px/1 'Arial';
    position: absolute;
    opacity: 0.6;
}
.quote::before {
    content: '“';
    left: 6px;
    top: 2px;
}
.quote::after {
    content: '”';
    right: 6px;
    bottom: -6px;
}
::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-track {
    background: #f1e6d8;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #c2a98d, #b4987c);
    border-radius: 3px;
}
