html,body{width: 100%;}
body{background: #ffdfb1;}
/* flex布局 */
.flex-item{display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-pack: justify;-ms-flex-pack: justify;justify-content: space-between;-webkit-box-align: center;-ms-flex-align: center;align-items: center;}
.flex-center{display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;-webkit-box-align: center;-ms-flex-align: center;align-items: center;}
.flex-middle{display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-orient: vertical;-webkit-box-direction: normal;-ms-flex-direction: column;flex-direction: column;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;-webkit-box-align: center;-ms-flex-align: center;align-items: center;}
.flex-box{display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-pack: start;-ms-flex-pack: start;justify-content: flex-start;-webkit-box-align: center;-ms-flex-align: center;align-items: center;}
.flex-betw{display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-pack: justify;-ms-flex-pack: justify;justify-content: space-between;-webkit-box-align: start;-ms-flex-align: start;align-items: flex-start;}

.w{width: 1200px;margin: 0 auto;}
.mb60{margin-bottom: 60px;}

/* banner */
.banner{width: 100%;}
.banner img{width: 100%;}

.title{display:block;width: 263px;height: 108px;line-height:108px;font-size:30px;font-weight:bold;color:#e90018;margin: 20px auto 30px;background: url(2023yx_title_bg.png) no-repeat;background-size: 100% 100%;text-align: center;}
/* 节日动态 */
.news .newsL{width: 650px;height: 375px;}
.news .newsL a{display: block;width: 100%;height: 100%;position: relative;}
.news .newsL a img{width: 100%;height: 100%;}
.news .newsL a p{line-height: 40px;width: 100%;background: rgba(0, 0, 0, 0.6);font-size: 16px;color: #fff;position: absolute;bottom: 0;left: 0;padding: 0 150px 0 10px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.news .newsR{width: calc(100% - 680px);}
.news .newsR ul li{line-height: 45px;border-bottom: 1px dashed #b9b18b;}
.news .newsR ul li:last-child{border-bottom: 0;}
.news .newsR ul li a{font-size: 16px;color: #333;display: block;width: calc(100% - 150px);white-space: nowrap;overflow: hidden;text-overflow: ellipsis;transition: all .4s;}
.news .newsR ul li a:hover{color: #e90018;}
.news .newsR ul li span{font-size: 14px;color: #666;}

/* 节日来源 */
.sourceMain{height: 360px;background: url(2023yx_ly_bg.jpg) no-repeat;background-size: 100% 100%;margin: 0 auto;position: relative;}
.sourceMain .tit{position: absolute;left: 130px;top: 65px;width: 36px;font-size: 30px;line-height: 38px;font-weight: bold;}
.sourceMain .tit{color: #6c6c6c;display: block;}
.sourceMain .article{position: absolute;left: 220px;top: 68px;width: 890px;font-size: 18px;line-height: 2.1;}
.sourceMain .article p{color: #8c8c8c;display: block;text-indent: 2em;}

/* 节日民俗 */
.msMain ul{margin: 0 -10px;}
.msMain ul li{float: left;width: 33.33%;padding: 8px 10px;}
.msMain ul li a{display: block;width: 100%;cursor: default;}
.msMain ul li a .img{width: 100%;height: 228px;}
.msMain ul li a .img img{width: 100%;height: 100%;}
.msMain ul li a p{font-size: 16px;line-height: 40px;color: #333;text-align: center;}

/* 底部 */
.footer{margin-top:20px;padding:30px 0 20px 0;}
.footer p{line-height:30px;font-size:16px;text-align:center;color: #333;}

@media only screen and (max-width: 1220px){
	.w{width: 920px;}
	.mb60{margin-bottom: 30px;}
	.title{margin: 20px auto;}
	.news .newsL{width: 550px;height: 315px;}
	.news .newsR{width: calc(100% - 570px);}
	.news .newsR ul li{line-height: 38px;}
	.sourceMain{height: 435px;}
	.sourceMain .tit{left: 95px;top: 98px;}
	.sourceMain .article{width: 660px;left: 160px;}
	.msMain ul li a .img{height: 210px;}
}
@media only screen and (max-width: 992px){
	.w{width: 720px;}
	.title{width: 230px;height: 90px;line-height: 90px;font-size: 26px;}
	.news .newsL{width: 420px;height: 245px;}
	.news .newsL a p{line-height: 35px;}
	.news .newsR{width: calc(100% - 435px);}
	.news .newsR ul li:nth-child(n + 7){display: none;}
	.news .newsR ul li a{width: calc(100% - 110px);}
	.sourceMain{height: 390px;}
	.sourceMain .tit{left: 60px;top: 80px;}
	.sourceMain .article{width: 510px;font-size: 16px;line-height: 1.9;left: 135px;width: 530px;top: 55px;}
	.msMain ul{margin: 0 -5px;}
	.msMain ul li{padding: 5px;}
	.msMain ul li a p{line-height: 35px;}
	.msMain ul li a .img{height: 170px;}
}
@media only screen and (max-width: 767px){
	.w{width: 94%;margin: 0 3%;}
	.mb60{margin-bottom: 20px;}
	.title{width: 200px;height: 80px;line-height: 80px;font-size: 20px;margin: 0 auto 10px;}
	.news .newsL,.news .newsR{width: 100%;}
	.news .newsL{height: 205px;margin-bottom: 15px;}
	.news .newsR ul li{line-height: 40px;}
	.sourceMain{height: auto;padding: 25px;background: rgba(255,255,255,0.6);border-radius: 10px;}
	.sourceMain .tit{display: none;}
	.sourceMain .tit,.sourceMain .article{width: 100%;position: initial;}
	.msMain ul li{width: 50%;padding: 2px 5px;}
	.msMain ul li a .img{height: 110px;}
	.footer{padding: 10px 0;}
	.footer p{font-size: 14px;line-height: 1.6;}
}