body{
    font-family: '-apple-system,SF UI Text,Arial,PingFang SC,Hiragino Sans GB,Microsoft YaHei,WenQuanYi Micro Hei,sans-serif';
    background-color: #F2F2F2 !important;
}
@media (min-width: 768px) {
    .menu_box {
        width: 1200px;
        min-height: 100px;
        margin: auto;
        padding: 15px 0;
        clear: both;
    }


    .news_box{
        width: 1200px;
        min-height: 420px;
        margin: 24px auto;
        background-color: #FFF;
        padding: 16px;
    }

    .jpfm{
        margin: 35px 15px 15px;
        border-radius: 15px;
        position: relative;
    }
    .jpfm .jptitle{
        position: absolute;
        color: #FFF;
        z-index: 1;
        padding: 12px 24px;
        font-size: 16px;
        right: 0;
    }
    .jpfm .jpinfo{
        font-size: 15px;
        background-color: rgba(1,1,1,0.1);
        padding: 6px 12px;
        color: #FFF;
        width: 100%;
        position: absolute;
        bottom: 0;
        border-radius: 15px;
        left: 0;
        right: 0;
        text-align: center;
    }
    .jpfm img{
        border-radius: 15px;
    }
    .newsdata {
        padding: 8px 16px;
        background-color: #FFFFFF;
    }
    .newstitle {
        width: 100%;
        height: 50px;
        display: block;
        line-height: 50px;
    }
    .newstitle a{
        padding:4px 16px !important;
        font-size: 13px;
    }
    .newslist .newsitem {
        width: 50%;
        height: 35px;
        display: block;
        line-height: 35px;
        color: #aaa;
    }
    .newslist .newsitem a {
        padding: 0 8px;
        font-size: 15px;
        
    }
    .newslist .newsitem:first-child{
        font-weight: 600;
        color: #000;
    }
    .wnl{
        padding-top: 12px;
    }
    .wnlday{
        font-size: 16px;
        color:#463421;
        text-align: center;
        font-weight: 600;
        padding: 3px 12px;
    }
    .wnlcnday{
        font-size: 15px;
        text-align: center;
        padding: 2px 12px;
    }

    .wnlyi,.wnlji{
        margin-top: 4px;
    }
    .wnlyi span,.wnlji span{
        padding: 4px 8px;
        margin: 4px;
    }
    .wnlpy{
        line-height: 25px;
        padding: 6px 12px;;
    }

    .xs_box{
        width: 1200px;
        min-height: 150px;
        margin: 24px auto;

    }
    .xs_title{
        height: 100px;
        font-size: 28px;
        text-align: center;
        margin-top: 24px;
    }
    .xs_title a{
        font-size: 14px;
        color:#990000;
    }
    .xs_data{
        width: 1200px;
        min-height: 150px;
        margin: auto;
    }

    .xs_data .xs_item{
        width: 18%;
        margin: 1% 1% 0 0;
        background-color: #FFF;
        padding: 16px;
        text-align: center;
        float: left;
    }
    .xs_item:hover{
        background-color: #f2ebdb;
    }
    .xs_item .xs_item_name{
        font-size: 16px;
        color:#000;
        line-height: 25px;
    }
    .xs_item .xs_item_desc{
        font-size: 14px;
        color:#AAA;
        line-height: 25px;
    }
    .xs_item .xs_item_pic{
        width: 95px;
        height: 95px;
        line-height: 90px;
        text-align: center;
        background-image: url(../assets/images/xsbg.png);
        margin: 16px auto 24px;
        font-size: 48px;
        font-family: 楷体;
        color: #000;
        font-weight: 700;
        
    }

    .zs_box{
        width: 1200px;
        margin: auto;
        background-color: #FFF;
        clear: both;
        padding: 16px;
        margin-bottom: 36px;
    }
    .zs_data{
        min-height: 100px;
        
    }

    .zs_box .zs_item_title{
        font-size: 16px;
        font-weight: 600;
        line-height: 30px;
        color: #000;
    }
    .zs_box .zs_item_data .newsitem{
        width: 48%;
        margin-right: 2%;
        height: 35px;
        line-height: 35px;
        display: block;
        float: left;
        border-bottom: 1px solid #EEE;
    }

    .hot_box{
        min-height: 135px;
    }
}

@media (max-width: 767px) {
    .menu_box {
        margin: auto;
        padding: 15px 0;
    }
    .menu_box img {
        width: 85%;
        margin: 6% 4% 2% 4%;
    }
    .newsdata {
        padding: 8px 16px;
        background-color: #FFFFFF;
    }
    .newstitle {
        width: 100%;
        height: 50px;
        display: block;
        line-height: 50px;
    }
    .newstitle img{
        height: 30px;
    }
    .newstitle a{
        padding:4px 16px !important;
        font-size: 13px;
    }
    .newslist .newsitem {
        width: 100%;
        height: 35px;
        display: block;
        line-height: 35px;
        border-bottom: 1px solid #EEE;
        color: #aaa;
    }
    .newslist .newsitem a {
        padding: 0 8px;
    }
    .wnl {
        margin-top: 16px;
        padding: 8px 16px;
        background-color: #FFFFFF;
    }
    .wnl>div{
        padding: 6px 0;
    }
    .wnlday {
        font-size: 17px;
        font-weight: 600;
    }
    .wnlcnday {
        font-size: 15px;
        font-weight: 600;
    }
    .wnlyi>div:first-child, .wnlji>div:first-child {
        font-size: 16px;
        font-weight: 600;
    }
    .wnlyi>div:last-child, .wnlji>div:last-child {
        line-height: 25px;
    }
    .wnlyi span,.wnlji span{
        padding: 4px 8px;
        margin: 4px;
    }
    .wnlpy{
        line-height: 25px;
        padding: 6px 12px;;
    }

    .hot_box img{
        width: 95%;
        margin: 0 2.5%;
    }


    .xs_box{
        width: 100%;
        min-height: 150px;
        margin: 24px auto;
        padding: 1%;

    }
    .xs_title{
        height: 100px;
        font-size: 24px;
        text-align: center;
        margin-top: 16px;
    }
    .xs_title a{
        font-size: 14px;
        color:#990000;
    }
    .xs_data{
        min-height: 150px;
        margin: auto;
    }

    .xs_data .xs_item{
        width: 48%;
        margin: 1%;
        background-color: #FFF;
        padding: 16px;
        text-align: center;
        float: left;
    }

    .xs_item .xs_item_name{
        font-size: 16px;
        color:#000;
        line-height: 25px;
    }
    .xs_item .xs_item_desc{
        font-size: 14px;
        color:#AAA;
        line-height: 25px;
    }
    .xs_item .xs_item_pic{
        width: 75px;
        height: 75px;
        line-height: 70px;
        text-align: center;
        background-image: url(../assets/images/xsbg.png);
        background-size: contain;
        margin: 16px auto 24px;
        font-size: 42px;
        font-family: 楷体;
        color: #000;
        font-weight: 700;
        
    }

    .zs_box{
        padding: 16px 24px 48px 24px;
        background-color: #FFF;
    }
    .zs_data{
        margin: auto;
        min-height: 100px;
        
    }

    .zs_box .zs_item_title{
        font-size: 16px;
        font-weight: 600;
        line-height: 30px;
        color: #000;
    }
    .zs_box .zs_item_data .newsitem{
        width: 100%;
        height: 35px;
        line-height: 35px;
        display: block;
        float: left;
        border-bottom: 1px solid #EEE;
    }

}

.hot_box {
    width: 100%;
    background-color: #1b1b1d;
}



/*2026.5.10加*/
/* 族谱鉴赏卡片样式 */

/* 修改族谱卡片样式 - 一行3个 */
@media(min-width:768px) {
    .zp_box {
        width: 1200px;
        margin: 24px auto;
        background-color: #FFF;
        padding: 20px;
    }
    
    .box_data {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        padding: 20px 0;
    }
    
    .zpitem {
        width: calc(33.333% - 14px);
        height: auto;
        margin: 0;
        border: 1px solid #EEE;
        background-color: #FFF;
        border-radius: 8px;
        overflow: hidden;
        transition: transform 0.3s;
    }
    
    .zpitem:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .fm {
        width: 100%;
        height: 160px;
        background-size: cover !important;
        background-position: center !important;
        position: relative;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        padding: 10px;
    }
    
    .fmname {
        color: #fff;
        font-size: 20px;
        font-weight: bold;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
        background: rgba(0,0,0,0.4);
        padding: 4px 12px;
        border-radius: 20px;
    }
    
    .zpitem .col-xs-8 {
        width: 100%;
        padding: 15px;
    }
    
    .zpitem .col-xs-4 {
        width: 100%;
    }
    
    .btn-group {
        display: flex;
        gap: 10px;
        margin-top: 15px;
    }
    
    .btn-group .btn {
        flex: 1;
        text-align: center;
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .zpitem {
        width: calc(50% - 10px);
        margin: 5px;
        float: left;
    }
}

@media (max-width: 480px) {
    .zpitem {
        width: 100%;
        float: none;
    }
}