*{padding:0;margin:0}
	a{text-decoration:none;}
	ul,li{list-style:none}

	body{font-size:12px;font-family:"微软雅黑";background: #f8f8f8;}
	/*导航栏*/
	/* 顶部信息栏（Logo、网站名称和天气） */
.top-info-bar {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    padding: 10px 0;
    position: relative;
    z-index: 100;
}

.info-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: nowrap;
}

/* Logo和网站名称 */
.branding {
    display: flex;
    align-items: center;
    flex-shrink: 1;
    min-width: 0;
}

.logo {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    background: url('../images/logo.png') center/contain no-repeat;
    flex-shrink: 0;
}

.site-name {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 400;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* 日期天气信息 */
.datetime-weather {
    display: flex;
    align-items: center;
    font-size: clamp(0.7rem, 2vw, 0.95rem);
    flex-shrink: 1;
    min-width: 0;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.date-info {
    margin-right: 10px;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.solar-date {
    font-weight: bold;
}

.lunar-date {
    opacity: 0.9;
}

.festival {
    color: #FFD700;
    font-weight: bold;
}

.weather-info {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.weather-temp {
    margin-right: 5px;
}

.weather-icon {
    font-size: clamp(1rem, 3vw, 1.4rem);
    color: white;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

/* 导航项目栏 */
/* ...existing code... */
.nav-bar {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    padding: 12px 0;
    position: relative;
    z-index: 100;
    box-sizing: border-box; /* 新增 */
    overflow-x: auto;       /* 新增，防止极端溢出 */
}

.nav-container {
    width: 100%;            /* 修改为100% */
    max-width: none;        /* 移除最大宽度限制 */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box; /* 新增 */
    flex-wrap: wrap;        /* 新增，小屏时自动换行 */
}

.nav-menu {
    display: flex;
    justify-content: center;
    min-width: 0;
    flex-wrap: wrap;        /* 新增，导航项自动换行 */
    box-sizing: border-box; /* 新增 */
}
/* ...existing code... */

.nav-item {
    margin: 0 clamp(5px, 1.5vw, 20px);
    position: relative;
    flex-shrink: 0;
}

.nav-item a {
    color: #8B0000;
    text-decoration: none;
    font-size: clamp(0.8rem, 2.5vw, 1.1rem);
    padding: 5px clamp(5px, 1.5vw, 10px);
    transition: all 0.4s ease;
    font-weight: 500;
    white-space: nowrap;
    display: block;
    font-family: 'Ma Shan Zheng', cursive;
}

.nav-item a:hover {
    color: #a52a2a;
}

.nav-item.active a {
    color: white;
    background-color: transparent;
    border-radius: 0;
}

.nav-item.active a::after {
    content: "";
    position: absolute;
    left: 10%;
    bottom: 0;
    width: 80%;
    height: 2px;
    background: linear-gradient(135deg, transparent 10%, #8B0000 50%, transparent 90%);
    transform: skewX(-45deg);
}

/* 搜索和登录区域 */
.nav-tools {
    display: flex;
    align-items: center;
}

.search-box {
    position: relative;
    margin-right: 20px;
}

.search-box input {
    padding: 5px 10px;
    border-radius: 15px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    width: 150px;
    transition: width 0.3s;
}

.search-box input:focus {
    width: 200px;
    outline: none;
    background: rgba(255, 255, 255, 0.3);
}

.login-btn {
    background: rgba(139, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Ma Shan Zheng', cursive;
}

.login-btn:hover {
    background: rgba(139, 0, 0, 0.9);
}

/* 响应式设计 - 超小屏幕 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }
    
    .nav-menu {
        margin-bottom: 10px;
    }
    
    .nav-tools {
        width: 100%;
        justify-content: center;
    }
    
    .chinese-slogan {
        font-size: clamp(1.2rem, 4vw, 2rem);
        letter-spacing: 3px;
    }
}
	/*轮播图*/
	.top .jSlider img{height: 680px;}
	#slider1 {
				width: 100%;
				height: 650px;
				margin: 0px auto;
				/*border: 1px solid rgba(0, 0, 0, .35);*/
				box-shadow: 2px 2px 10px 0 rgba(0, 0, 0, .1);
				border-radius: 5px;
				/*position: relative;
				z-index: -1;*/
			}
			
			/* responsive rules */
			@media (max-width: 713px) {
				#slider1 {
					width: 100%;
					height: auto; /* reset slider height to automatically fix with the first image height. */
					border: none;
					margin-top: 0;
					-webkit-border-radius: 0;
					border-radius: 0;
				}
			}
	/*历史沿革*/
	.lishi{width: 1260px;height: 650px;background: url(../images/0.png);margin: 50px auto; position: relative;}		
	.lishi .p1{width: 400px;height: 500px;position: relative;top:150px;left: 200px;opacity: 0.2;}
	.lishi .jianshong{width: 500px;height: 250px;/*background: pink;*/position: absolute;bottom: 320px;left: 90px;display: inline-block;}
	.lishi .jianshong h2{color: #AA1F24;text-align: center;}
	.lishi .jianshong p{font-size: 16px;color: #4c4c4c;margin-top: 10px;}
	.lishi .jianshong #t1{ 
	margin-top: 50px;	
	}
	/*历史文化*/

	.tab{
		width:500px;
		height:200px;
		position: absolute;
		top: 350px;
		left: 88px;
	/*margin: 100px auto;*/
	}
  .tab_list{width: 100%;
	  height: 36px;
	  }
  .tab_list li{
  	  display: inline-block;
	  padding: 9px 25px;
	  font-size: 14px;
	  border-radius: 20px;
	  
  }
  .tab_list li a{
  	font-size: 16px;
  	color: #AA1F24;
  	font-weight: bold;
  	}
  .tab_con{width: 100%;height: 100%;border-top: none;}
  .tab_con .item{width: 100%;height: 100%;display: none;margin-top: 30px;font-size: 16px;}
  .current{background: #e4393c;color: #fff;}
  .tab_list li:hover{cursor:pointer;}
	.lishi #p2{width: 500px;height: 350px;background: deeppink;position: relative;bottom: 315px;left: 680px;}
	.lishi #p2 img{width: 500px;height: 350px;-webkit-transition: all 0.4s ease-in;
          transition: all 0.4s ease-in;}
	.lishi #p2 img:hover{
		-moz-transform:scale(1.1);
        -webkit-transform:scale(1.1);
        -o-transform:scale(1.1);
        -ms-transform:scale(1.1);
        transform:scale(1.1);
	}
	
	/*剪纸种类*/
	.zhonglei{width: 100%;
	height: 380px;
	margin-bottom: 50px;
	position: relative;
	}
	.zhonglei .zl{
		width: 300px;
		height: 50px;
		background:#f8f8f8;
		/*background: url(../images/tiao.png);*/
		margin:0 auto;
	}
	.zhonglei .zl img{
		width: 300px;
		height: 50px;
	}
	.zhonglei .zl h2{
		color:  #AA1F24;
		position: absolute;
		top: 12px;
		left:47%;
		/*margin: 0 auto;*/
		letter-spacing: 5px;
	}
	.zhonglei .zltu{
		width: 100%;
		height:350px;
		background:#AA1F24;
		margin-top: 30px;
		margin: 40px auto;
	}
	.zhonglei .aa{
		width: 1260px;
		height: 350px;
		margin: 0 auto;
	}
  	.box_1.mr{margin-right: 0;}
	 .box_1 .image{
	 float: left;
	 height: 300px;
	 }
     .box_1{
     width: 303px;
     height: 280px;
     background: #ccc;
     float: left;
     top: 33px;
     margin-right: 10px;
     color: #F1F1F1;
     padding: 2px;
     position: relative;
     /*left: 138px;*/
     } 
     .box_1 .info{
     position: absolute;
     top: 0;left: 0;
     display: none;
     font-size: 16px;
     }
     .box_1:hover .info{
     display: block;
     width: 286px;height: 264px;
     padding: 10px;
     background: rgba(0,0,0,0.4);
     }
     
     /*精品推荐*/
    .jingpin{
    	width: 100%;
    	height: 700px;
    	position: relative;
    	top: 50px;
    	}
	.jingpin .jp{
		width: 300px;
		height: 50px;
		background:#f8f8f8;
		margin:0 auto;
	}
	.jingpin .jp img{
		width: 300px;
		height: 50px;
	}
	.jingpin .jp h2{
		color:  #AA1F24;
		position: absolute;
		top: 12px;
		left:47%;
		letter-spacing: 5px;
	}
	.jingpin .jp1{
		width:1260px;
		height: 600px;
		margin: 40px auto;
		background:#FFFFFF;
		position: relative;
	}
	.jingpin .x1{
		width: 630px;
		height: 600px;
	}
	.jingpin .x1 img{
		width: 630px;
		height: 600px;	
	}
	.jingpin .zuozhe{
		width:600px;
		height:180px;
		position: absolute;
		top: 0;
		left: 645px;
		border-bottom: 1px solid #C3C8CD;
	}
	.jingpin .zuozhe img{
		margin:35px 20px;
	}
	.jingpin .zuozhe h2{
		position: absolute;
		top: 70px;
		left: 200px;
		letter-spacing: 3px;
	}
	.jingpin .zuozhe p{
		position: absolute;
		top: 100px;
		left: 200px;
		letter-spacing: 3px;
		font-size: 14px;
	}
	.jingpin .jj{
		width:600px;
		height:415px;
		/*background: pink;*/
		position: absolute;
		bottom: 0;
		left: 645px;
	}
	.jingpin .jj h2{
		margin:35px 20px;
		letter-spacing: 3px;
	}
	.jingpin .jj h2:hover{
		color: #AA1F24;
	}

	.jingpin .jj p{
	margin:35px 20px;
	font-size: 14px;
	line-height: 24px;
	/*font-weight: bolder;*/
	}
	.jingpin .jj img{
		float: left;
		position: relative;
		margin-left: 20px;
		top: 20px;
		-webkit-transition: all 0.4s ease-in;
          transition: all 0.4s ease-in;
	}
	.jingpin .jj img:hover{
		-moz-transform:scale(1.1);
        -webkit-transform:scale(1.1);
        -o-transform:scale(1.1);
        -ms-transform:scale(1.1);
        transform:scale(1.1);
	}
	.xinwen{
    	width: 100%;
    	height: 700px;
    	position: relative;
    	top: 100px;
    	}
	.xinwen .xw{
		width: 300px;
		height: 50px;
		background:#f8f8f8;
		margin:0 auto;
	}
	.xinwen .xw img{
		width: 300px;
		height: 50px;
	}
	.xinwen .xw h2{
		color:  #AA1F24;
		position: absolute;
		top: 12px;
		left:47%;
		letter-spacing: 5px;
	}
	/*页脚*/
	.footer{
    width: 100%;
    height: 180px; /* 修改高度 */
    background: #3e3e3e;
    position: relative; /* 改为relative，避免遮挡内容 */
    margin-top: 60px;
    overflow: hidden;
}
.footer h3{
    font-size: 18px;
    color: #FFF;
    margin: 40px 30px;
    float: left;
    line-height: 1.5;
}
.footer .hong{
    width: 40%;
    height: 100%;
    background: #ae3131;
    position: absolute;
    right: 0;
    top: 0;
    min-width: 220px;
}
.footer .hong h1{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    color: #fff;
    font-size: 20px;
    white-space: nowrap;
}
.footer .kk{
    width: 55%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 120px;
    border: none;
}
.footer .kk h1{
    position: static;
    margin: 18px 0 10px 0;
    color: #FFF;
    letter-spacing: 3px;
    font-size: 18px;
}
.footer .kk ul{
    position: static;
    margin: 0;
    padding: 0 0 0 10px;
    color: #FFF;
    letter-spacing: 2px;
    font-size: 14px;
}
.footer .kk ul li{
    line-height: 26px;
}
/* ...existing code... */
