.w1400 {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/*轮播图*/
.banner {
    width: 100%;
    position: relative;
    height: 600px;
    background: #000;
    overflow: hidden;
    z-index: 1;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner .swiper-pagination-fraction {
    color: #fff;
    text-align: right;
    box-sizing: border-box;
    padding-right: 20px;
    position: relative;
    z-index: 3;
    bottom: 20px;
}

/*头条和新闻动态*/
.news {
    background-color: #fff;
    margin-top: -100px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.news .front-page {
    background-color: #fff;
    position: relative;
    z-index: 2;
    height: 185px;
    border-bottom: 12px solid #0168df;
    overflow: hidden;
}

.news .front-page .front-page-item {
    width: 100%;
    box-sizing: border-box;
    padding: 40px 40px 80px;
    display: flex;
}

.news .front-page .front-page-item .tags {
    background-color: #e5131c;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    border-radius: 3px;
    writing-mode: vertical-rl;
    text-align: center;
    letter-spacing: 4px;
    padding: 5px 5px;
    position: relative;
}

.news .front-page .front-page-item .tags::after {
    content: '';
    width: 0;
    height: 0;
    border-width: 10px;
    border-style: solid;
    border-left-color: #e5131c;
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
}

.news .front-page .front-page-item .content {
    width: calc(100% - 40px);
    box-sizing: border-box;
    padding: 0 0 0 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news .front-page .front-page-item .content .title {
    width: 100%;
    font-weight: 600;
    font-size: 26px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news .front-page .front-page-item .content .desc {
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.swiper-pagination-front-page {
    display: flex;
    justify-content: center;
    position: absolute;
    z-index: 4;
    --swiper-pagination-bottom: 34px;
}

.swiper-pagination-front-page .swiper-pagination-bullet {
    width: 24px;
    height: 6px;
    border-radius: 0;
}

.cbz-title {
    margin: 20px 0;
    display: flex;
    align-items: center;
    font-size: 30px;
    color: #026add;
    position: relative;
}

.cbz-title .cbz-title-icon {
    width: 20px;
    height: 40px;
    background-color: #026add;
    overflow: hidden;
}

.cbz-title .cbz-title-icon i{
    display: block;
    width: 30px;
    height: 60px;
    transform-origin: 0 0;
    transform: rotate(-25deg) translateY(-10px) ;
    border: 4px solid #f3f3f3;
    box-sizing: border-box;
    background-color: #f07b0a;
}

.cbz-title-red {
    color: #e8121c;
}

.cbz-title-red .cbz-title-icon i{
    background-color: #e8121c;
}

.cbz-title-wbg .cbz-title-icon i {
    border: 4px solid #fff;
}

.cbz-title-text {
    padding-left: 12px;
}

.news .news-box {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px 20px;
}

.news .news-box .news-banner {
    width: calc(50% - 20px);
    height: 100%;
    overflow: hidden;
    position: relative;
}

.news .news-box .news-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-news-banner {
    display: flex;
    justify-content: flex-end;
    position: absolute;
    z-index: 4;
    --swiper-pagination-bottom: 60px;
    padding: 0 10px;
    box-sizing: border-box;
}

.swiper-pagination-news-banner .swiper-pagination-bullet {
    width: 24px;
    height: 6px;
    border-radius: 0;
}

.news .news-box .news-banner .news-title {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #000;
    color: #fff;
    font-size: 18px;
    background-color: rgba(2, 106, 221, 0.3);
    box-sizing: border-box;
    height: 50px;
    line-height: 50px;
    padding: 0 15px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.news .news-box .news-list {
    width: 50%;
    height: 100%;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    padding-top: 45px;
}

.swiper-pagination-news-list,
.swiper-pagination-party {
    position: absolute;
    top: 0!important;
    --swiper-pagination-bottom: auto;
    --swiper-pagination-color: #fff;
    --swiper-pagination-bullet-inactive-opacity: 1;
    border-bottom: 4px solid #ededef;
}

.swiper-pagination-news-list .swiper-pagination-bullet,
.swiper-pagination-party .swiper-pagination-bullet,
.swiper-pagination-bids .swiper-pagination-bullet {
    width: unset;
    height: 20px;
    border-radius: 0;
    margin: 0 20px 10px!important;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    background-color: #fff;
    text-align: center;
    position: relative;
}

.swiper-pagination-news-list .swiper-pagination-bullet:first-child,
.swiper-pagination-party .swiper-pagination-bullet:first-child,
.swiper-pagination-bids .swiper-pagination-bullet:first-child {
    margin-left: 0!important;
}

.swiper-pagination-news-list .swiper-pagination-bullet:last-child,
.swiper-pagination-party .swiper-pagination-bullet:last-child {
    margin-right: 0!important;
}

.swiper-pagination-news-list .swiper-pagination-bullet::after,
.swiper-pagination-party .swiper-pagination-bullet::after,
.swiper-pagination-bids .swiper-pagination-bullet::after {
    content: '';
    display: block;
    width: 1px;
    height: 20px;
    background: #000;
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
}

.swiper-pagination-news-list .swiper-pagination-bullet:last-child::after,
.swiper-pagination-party .swiper-pagination-bullet:last-child::after,
.swiper-pagination-bids .swiper-pagination-bullet:last-child::after {
    display: none;
}

.swiper-pagination-news-list .swiper-pagination-bullet-active::before,
.swiper-pagination-party .swiper-pagination-bullet-active::before {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    background-color: #007aff;
    position: absolute;
    left: 0;
    bottom: -14px;
}

.swiper-pagination-news-list .swiper-pagination-bullet-active,
.swiper-pagination-bids .swiper-pagination-bullet-active {
    color: #007aff;
}

.news .news-box .news-list .more {
    position: absolute;
    right: 0;
    top: 10px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

.news .news-box .news-list .more .more-text {
    font-size: 16px;
    color: #007aff;
}

.news .news-box .news-list .more .more-icon {
    width: 24px;
    height: 24px;
}

.news .news-box .news-list .swiper-slide a{
    height: 30px;
    line-height: 30px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.news .news-box .news-list .swiper-slide a .news-title {
    width: calc(100% - 100px);
    box-sizing: border-box;
    padding-left: 10px;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
}

.news .news-box .news-list .swiper-slide a .news-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 100%;
    background-color: #007aff;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.news .news-box .news-list .swiper-slide a .news-time{
    width: 100px;
    font-size: 14px;
    text-align: right;
    color: #999;
}

/*党群工作*/
.party-box {
    width: 100%;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    padding-top: 64px;
    height: 440px;
}

.swiper-pagination-party {
    background-color: #fff;
    padding: 20px 20px 10px;
    box-sizing: border-box;
    border-bottom: 0;
}

.swiper-pagination-party::after {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    background-color: #ededef;
}

.swiper-pagination-party .swiper-pagination-bullet-active::before {
    background-color: #e5141a;
}

.swiper-pagination-party .swiper-pagination-bullet-active {
    color: #e5141a;
}

.party-box .more {
    position: absolute;
    right: 20px;
    top: 30px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

.party-box .more .more-text {
    font-size: 16px;
    color: #e5141a;
}

.party-box .more .more-icon {
    width: 24px;
    height: 24px;
}

.party-box .swiper-slide .news-list {
    display: flex;
    align-items: center;
    padding-top: 1%;
}

.party-box .swiper-slide a {
    background-color: #fff;
    width: 32.666%;
    box-sizing: border-box;
    padding: 15px;
}

.party-box .swiper-slide a:nth-child(2) {
    margin: 0 1%;
}

.party-box .swiper-slide .news-list .news-title {
    font-size: 18px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.party-box .swiper-slide .news-list .news-desc {
    font-size: 14px;
    margin: 10px 0;
    color: #999;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* 显示的行数，可以根据需要修改 */
    overflow: hidden;
    text-overflow: ellipsis;
}

.party-box .swiper-slide .news-list .news-time {
    font-size: 12px;
    margin-bottom: 4px;
}

.party-box .swiper-slide .news-list .news-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.handle {
    margin: 60px 0 40px;
    display: flex;
}

.handle .handle-item {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.handle .handle-item:nth-child(1) {
    background-color: #058aff;
}

.handle .handle-item:nth-child(2) {
    background-color: #51adff;
}

.handle .handle-item .handle-item-img {
    --handle-img-size: 50px;
    width: var(--handle-img-size);
    height: var(--handle-img-size);
    margin-right: 20px;
}

.handle .handle-item .handle-item-text {
    font-size: 30px;
    color: #fff;
}

.bids {
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    height: 365px;
}

.bids .swiper-pagination-bids {
    position: absolute;
    --swiper-pagination-top: 40px;
    --swiper-pagination-bottom: auto;
    text-align: right;
    transform: translateY(-50%);
}


.bids .swiper-pagination-bids .swiper-pagination-bullet {
    margin-bottom: 0!important;
    background-color: #f3f3f3;
    --swiper-pagination-bullet-inactive-opacity: 1;
}

.bids .news-list {
    display: flex;
    padding: 20px;
    background-color: #fff;
}

.bids .news-list a {
    width: calc(25% - 15px);
    padding: 10px;
    box-sizing: border-box;
    background-color: #f3f3f3;
    margin-left: 20px;
}

.bids .news-list a:first-child {
    margin-left: 0;
}

.bids .news-list a .news-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* 显示的行数，可以根据需要修改 */
    overflow: hidden;
    text-overflow: ellipsis;
}

.bids .news-list a .news-desc {
    margin: 20px 0;
    color: #999;
    font-size: 14px;
    line-height: 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* 显示的行数，可以根据需要修改 */
    overflow: hidden;
    text-overflow: ellipsis;
}

.bids .news-list a .news-time {
    text-align: right;
}

@media only screen and (max-width:1024px){
    .banner {
        height: 200px;
    }

    .banner .swiper-pagination-fraction {
        padding-right: 16px;
        height: 15px;
        bottom: 48px;
    }

    .news {
        margin-top: -20px;
        margin-bottom: 20px;
    }

    .news .front-page {
        border-bottom-width: 4px;
    }

    .news .front-page {
        height: 110px;
    }

    .news .front-page .front-page-item {
        padding: 16px 16px 36px;
    }

    .news .front-page .front-page-item .tags {
        font-size: 18px;
    }

    .news .front-page .front-page-item .tags::after {
        border-width: 5px;
        right: -10px;
    }

    .news .front-page .front-page-item .content {
        padding: 0 0 0 16px;
    }

    .news .front-page .front-page-item .content .title {
        font-size: 18px;
    }

    .news .front-page .front-page-item .content .desc {
        font-size: 14px;
    }

    .swiper-pagination-front-page {
        --swiper-pagination-bottom: 16px;
    }

    .swiper-pagination-front-page .swiper-pagination-bullet {
        width: 20px;
        height: 4px;
    }

    .cbz-title {
        margin: 16px 0;
        font-size: 18px;
    }

    .cbz-title .cbz-title-icon {
        width: 10px;
        height: 20px;
    }

    .cbz-title .cbz-title-icon i {
        border-width: 2px;
    }

    .news .news-box {
        display: block;
        height: unset;
        padding: 0 16px 16px;
    }

    .news .news-box .news-banner {
        width: 100%;
        height: 200px;
    }

    .news .news-box .news-banner .news-title {
        height: 40px;
        line-height: 40px;
        font-size: 14px;
    }

    .swiper-pagination-news-banner {
        --swiper-pagination-bottom: 50px;
        padding: 0 5px;
    }

    .swiper-pagination-news-banner .swiper-pagination-bullet {
        width: 20px;
        height: 4px;
    }

    .news .news-box .news-list {
        width: 100%;
        height: 207px;
        margin-top: 20px;
        padding-top: 27px;
    }

    .swiper-pagination-news-list, .swiper-pagination-party {
        border-bottom-width: 2px;
    }

    .swiper-pagination-news-list .swiper-pagination-bullet,
    .swiper-pagination-party .swiper-pagination-bullet,
    .swiper-pagination-bids .swiper-pagination-bullet {
        font-size: 16px;
        margin: 0 10px 5px!important;
    }

    .swiper-pagination-news-list .swiper-pagination-bullet-active::before,
    .swiper-pagination-party .swiper-pagination-bullet-active::before {
        height: 2px;
        bottom: -7px;
    }

    .swiper-pagination-news-list .swiper-pagination-bullet::after,
    .swiper-pagination-party .swiper-pagination-bullet::after,
    .swiper-pagination-bids .swiper-pagination-bullet::after {
        right: -10px;
    }

    .news .news-box .news-list .more .more-text, .party-box .more .more-text {
        font-size: 14px;
    }

    .news .news-box .news-list .more .more-icon, .party-box .more .more-icon{
        width: 18px;
        height: 18px;
    }

    .news .news-box .news-list .swiper-slide a {
        height: unset;
        line-height: unset;
        margin-top: 10px;
    }

    .news .news-box .news-list .swiper-slide a .news-title {
        width: calc(100% - 70px);
        font-size: 14px;
    }

    .news .news-box .news-list .swiper-slide a .news-time {
        width: 70px;
        font-size: 12px;
    }

    .swiper-pagination-party::after {
        height: 2px;
    }

    .party-box {
        height: 200px;
        padding-top: 42px
    }

    .swiper-pagination-party {
        padding: 10px 10px 5px;
    }

    .party-box .more {
        right: 10px;
        top: 21px;
    }

    .party-box .swiper-slide a {
        padding: 10px;
    }

    .party-box .swiper-slide .news-list .news-title {
        font-size: 14px;
        font-weight: 500;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: unset;
    }

    .party-box .swiper-slide .news-list .news-desc {
        display: none;
    }

    .party-box .swiper-slide .news-list .news-img {
        height: 80px;
    }

    .party-box .swiper-slide .news-list .news-time {
        margin-top: 4px;
    }

    .handle {
        margin: 20px 0 0;
    }

    .handle .handle-item {
        padding: 10px 0;
    }

    .handle .handle-item .handle-item-img {
        --handle-img-size: 28px;
        margin-right: 10px;
    }

    .handle .handle-item .handle-item-text {
        font-size: 16px;
    }

    .bids {
        height: 236px;
    }

    .bids .swiper-pagination-bids {
        --swiper-pagination-top: 28px
    }

    .bids .news-list {
        padding: 10px;
    }

    .bids .news-list a {
        width: calc(50% - 5px);
        margin-left: 10px;
        flex-shrink: 0;
    }

    .bids .news-list a .news-title {
        font-size: 14px;
        line-height: 20px;
    }

    .bids .news-list a .news-desc {
        margin: 10px 0;
        line-height: 18px;
    }
}