.recswp {
    padding-bottom: 50px;
    position: relative;
}
.ndimg img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.newcontent {
    background: url('../img/nbj.jpg') no-repeat top center;
    position: relative;
    background-size: 100% auto;
}

.newcontent:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: 100% auto;
    background: url('../img/nbg2.jpg') no-repeat bottom center;
}

.recom-item {
    display: flex;
}

.recom-lf {
    flex: 1;
    margin-right: 5.416%;
}

.recom-img {
    flex: 0 0 59.86%;
    overflow: hidden;
}

.recom-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all .5s;
}

.recom-img:hover img {
    transform: scale(1.05);
}

.recom-tit {
    line-height: 1.48;
    font-weight: 500;
    color: #000000;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recom-tit a {
    color: #000;
    transition: all .5s;
}

.recom-tit a:hover {
    color: var(--color);
}

.recom-des {
    margin-top: 15px;
    color: #737373;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recom-date {
    color: #4D4D4D;
    line-height: 1.8;
    margin-top: 15px;
}

.recommend .recswp .swiper-pagination {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 59.86%;
    display: flex;
    justify-content: center;
    left: auto;
}

.recommend .recswp .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #D9D9D9;
    margin: 0 3px;
    opacity: 1;
    border-radius: 5px;
    transition: all .5s;
}

.recommend .recswp .swiper-pagination-bullet-active {
    width: 30px;
    background-color: var(--color);
}

.newlist {
    display: flex;
    flex-wrap: wrap;
}

.newlist .new-item {
    flex: 0 0 31.94%;
    margin-right: 2.09%;
    overflow: hidden;
    transition: all .5s;
    background-color: #fff;
    box-shadow: 0px 4px 30px 0px rgba(0, 0, 0, 0.05);
}

.newlist .new-item:nth-child(3n) {
    margin-right: 0;
}

.new-img {
    width: 100%;
    position: relative;
}
.new-img img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.new-img:after {
    content: '';
    width: 94%;
    height: 88.8%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    position: absolute;
    border-top-right-radius: 60px;
    border: 1px solid #fff;
    opacity: 0;
    transition: all .5s;
}

.newlist .new-item:hover {
    border-top-right-radius: 60px;
}

.newlist .new-item:hover .new-img:after {
    opacity: 1;
}

.newlist .new-txt {
    padding-left: 10%;
    padding-right: 10%;
}

.newlist .new-tit {
    font-weight: 500;
    line-height: 1.625;
    color: #333333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.newlist .new-tit a {
    color: #333333;
    transition: all .5s;
}

.newlist .new-tit a:hover {
    color: var(--color);
}

.newlist .new-des {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 10px;
    color: #737373;
    line-height: 1.8;
}

.newlist .new-date {
    font-weight: 400;
    line-height: 1.8;
    color: #737373;
    margin-top: 5px;
}

.newcontent .wrap {
    position: relative;
    z-index: 3;
}

.content {
    margin-top: 100px;
}

.sec1 {
    background: url('../img/ndbj.jpg') no-repeat top center/cover;
}

.sec2 {
    background: url('../img/nbg2.jpg') no-repeat bottom center/cover;
}

.newd-top {
    display: flex;
}

.nd-lf {
    flex: 0 0 32.99%;
    margin-right: auto;
}

.nd-rg {
    flex: 0 0 59.86%;

}
.ndimg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.newd-top h1 {
    font-weight: 500;
    color: #000000;
    line-height: 1.48;
}

.newd-top .nd-date {
    margin-top: 10px;
    color: #4D4D4D;
    line-height: 1.8;
}

.newd-top .ndshare-item {
    flex: none;
}

.newd-top .ndshare-item a {
    width: 40px;
    height: 40px;
    background: #c1c2c4;
    border-radius: 50%;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .5s;
}

.newd-top .ndshare-item a:hover {
    background-color: var(--color);
}

.newd-top .ndshare-item a svg path {
    fill: #f8f8f8;
    transition: all .5s;
}

.newd-top .ndshare-item a:hover svg path {
    fill: #fff;
}

.newd-top .nd-share {
    display: flex;
}

.newd-top .nd-con {
    line-height: 1.8;
    font-weight: 400;
    text-align: left;
    color: #737373;
}

.otherone {
    border-top: 1px solid rgba(0, 0, 0, .1);
}

.otherone .wrap {
    display: flex;
    justify-content: space-between;
}


.otherone .prevone,
.otherone .nextone {
    flex: 0 0 45.76%;
    line-height: 1.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.otherone .prevone span,
.otherone .nextone span {
    color: rgba(0, 0, 0, .3);
}

.otherone .prevone a,
.otherone .nextone a {
    color: #000;
    transition: all .5s;
}

.otherone .prevone a:hover,
.otherone .nextone a:hover {
    color: var(--color);
}

.tuij {
    display: flex;
    justify-content: space-between;
}

.tuij-tit {

    line-height: 1.5;

    position: relative;
    padding-left: 14px;
    font-weight: 500;
    color: #000000;
}

.tuij-tit:before {
    content: '';
    position: absolute;
    height: 1em;
    width: 4px;
    left: 0;
    top: 0.25em;
    background-color: var(--color);
}

.tuij-more {
    width: 150px;
    height: 40px;
}

.tuij-more a {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    border: 1px solid #D9D9D9;
    text-align: center;
    color: #333333;
    line-height: 38px;
    transition: all .5s;
}

.tuij-more a:hover {
    background-color: var(--color);
    border-color: var(--color);
    color: #fff;
}



  .qrcode-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .qrcode-container.active {
            opacity: 1;
            visibility: visible;
        }
        
        .qrcode-box {
            background: white;
            padding: 30px;
            border-radius: 15px;
            text-align: center;
            max-width: 300px;
            width: 90%;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            transform: scale(0.9);
            transition: all 0.3s ease;
            text-align: center;
        }
         .qrcode-box p{
             text-align: center;
         }
        
        .qrcode-container.active .qrcode-box {
            transform: scale(1);
        }
        
        .qrcode-title {
            margin-bottom: 20px;
            color: #333;
            font-size: 1.3rem;
            text-align: center;
        }
        
        #qrcode {
            width: 200px;
            height: 200px;
            margin: 0 auto 20px;
            background: #f5f5f5;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
        }
        
        .close-btn {
            background: #6a11cb;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1rem;
            transition: background 0.3s ease;
        }
        
        .close-btn:hover {
            background: #4d0d9c;
        }
        
        .toast {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 12px 24px;
            border-radius: 50px;
            font-size: 0.9rem;
            z-index: 1001;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .toast.active {
            opacity: 1;
            visibility: visible;
        }
@media screen and (max-width:1600px) {

    .new-img:after,
    .newlist .new-item:hover {
        border-top-right-radius: 50px;
    }
}

@media screen and (max-width:1200px) {

    .new-img:after,
    .newlist .new-item:hover {
        border-top-right-radius: 40px;
    }
}

@media screen and (max-width:1024px) {
    .content {
        margin-top: 60px;
    }
}

@media screen and (max-width:768px) {

    .new-img:after,
    .newlist .new-item:hover {
        border-top-right-radius: 20px;
    }

    .recom-item {
        flex-direction: column-reverse;
    }

    .recom-tit {
        -webkit-line-clamp: 2;
        font-size: 22px;
    }

    .recommend .recswp .swiper-pagination {
        width: 100%;
    }

    .newlist .new-item {
        flex: 0 0 100%;
        margin-right: 0;
    }

    .new-img:after {
        opacity: 1;
    }

    .newlist .new-item {
        opacity: 1;
        border-top-right-radius: 20px;
    }

    .newlist .new-txt {
        padding-top: 6vw;
        padding-bottom: 6vw;
    }

    .nd-rg {
        flex: 0 0 100%;
        margin-top: 8vw;
    }

    .nd-lf {
        flex: 0 0 100%;
    }

    .newd-top {
        flex-wrap: wrap;
    }

    .otherone .wrap {
        flex-wrap: wrap;
    }

    .otherone .prevone,
    .otherone .nextone {
        flex: 0 0 100%;
        font-size: 16px;
        line-height: 2;
    }

    .tuij-more {
        width: 130px;
    }

    .newlist {
        margin-top: 7vw;
    }
    .nd-lf{
        margin-top: 0;
    }
}
