.banner {
    background-color: #F5F5F5;
}
.banner .banner-main {
    padding: 65px 0 20px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}
.banner .banner-main .text1 {
    font-weight: 800;
    font-size: 40px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}
.banner .banner-main .tags-box {
    margin-top: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 13.6%;
    color: #888888;
}
.banner .banner-main .tags-box .left {
    display: flex;
    align-items: center;
    gap: 40px;
}
.banner .banner-main .tags-box .right {
    display: flex;
    align-items: center;
    gap: 15px;
}
.banner .banner-main .tags-box .right .cell {
    width: 40px;
    height: 40px;
    border: solid 2px #e4e4e4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner .banner-main .tags-box .right .cell img {
    width: 50%;
    height: 50%;
}

/* 主体内容 */
main > .block1 {
    width: 1200px;
    margin: 60px auto 90px;
    padding: 0 80px;
}
.block1 .block-main {
    padding-bottom: 120px;
    border-bottom: #DCDCDC solid 1px;
}
.block1 .block-main > p {
    line-height: 1.5;
}
.block1 .block-main > img {
    width: 100%;
}
.block1 .pages-box {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    font-size: 18px;
    color: #888888;
    
}
.block1 .pages-box > a {
    line-height: 1.5;
    cursor: pointer;
}
.block1 .pages-box > a span {
    color: #222;
    transition: all 0.2s;
}
.block1 .pages-box > a:hover span {
    color: #2FAA6F;
}

/* 板块二 */
main > .block2 {
    padding: 100px 0;
    background-color: #F8F8F8;
}
main > .block2 .block-title {
    width: 1200px;
    text-align: left;
    margin: 0 auto;
}
main > .block2 .block-title .title1::after {
    left: 0;
    transform: translateX(0);
}
.block2 .block-main {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin: 50px auto 0;
    width: 1200px;
}
.block2 .block-main .item {
    width: 380px;
    height: 480px;
    background: #fff;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: .3s;
}
.block2 .block-main .item .img-box {
    width: 100%;
    height: 251px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}
.block2 .block-main .item .img-box img {
    transition: .5s;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.block2 .block-main .item .text1 {
    font-size: 18px;
    color: #333333;
    line-height: 24px;
    margin-top: 20px;
    padding: 0 30px;
    font-weight: 500;
    transition: .3s;
}
.block2 .block-main .item .text2 {
    display: block;
    margin-top: 20px;
    color: #666666;
    font-size: 14px;
    line-height: 22px;
    padding: 0 30px;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: .3s;
}
.block2 .block-main .item .tag {
    position: absolute;
    bottom: 30px;
    display: flex;
    padding: 0 30px;
    justify-content: space-between;
    width: 100%;
    color: #888888;
    transition: .3s;
}
.block2 .block-main .pages-list {
    display: flex;
    margin: 58px auto 110px;
    gap: 20px;
    justify-content: center;
}

/* block2效果 */
.block2 .block-main .hot-box:hover .left img {
    transform: scale(1.05);
}
.block2 .block-main .hot-box:hover .right .time-box,
.block2 .block-main .hot-box:hover .right{
    color: #2FAA6F;
}
.block2 .block-main .item:hover {
    transform: translateY(-10px);
}
.block2 .block-main .item:hover .img-box img {
    transform: scale(1.05);
}
.block2 .block-main .item:hover * {
    color: #2FAA6F;
}

@media screen and (max-width: 1200px) {
    .banner .banner-main {
        width: 95%;
    }
    .banner .banner-main .text1 {
        -webkit-line-clamp: 2;
        font-size: 2rem;
        line-height: 1.5;
    }
    .banner .banner-main .tags-box {
        margin-top: 60px;
        padding: 0 6%
    }
    .banner .banner-main .tags-box .left {
        gap: 30px;
    }
    .banner .banner-main .tags-box .right .cell {
        width: 30px;
        height: 30px;
    }
    main > .block1 {
        width: 95%;
    }
    .block1 .pages-box {
        font-size: 1rem;
    }
    .block1 .block-main {
        padding-bottom: 80px
    }
    .block1 .block-main > img {
        margin: 10px 0;
    }
    main > .block2 .block-title {
        width: 95%;
    }
    .block2 .block-main {
        width: 95%;
        gap: 2%;
        row-gap: 30px;
    }
    .block2 .block-main .item {
        width: 32%;
    }
    .block2 .block-main .item .text1 {
        font-size: 1.2rem;
    }
}


@media screen and (max-width: 768px) {
    .banner .banner-main .tags-box {
        flex-direction: column;
        align-items: flex-start;
        row-gap: 20px;
    }
    main > .block1 {
        padding: 0;
        margin-top: 30px;
    }
    .block1 .block-main {
        padding-bottom: 80px
    }
    .banner .banner-main .tags-box {
        padding: 0;
        margin-top: 50px;
    }
    .block2 .block-main .item {
        width: 49%;
    }
    .banner .banner-main .text1 {
        font-size: 1.6rem;
    }
}


@media screen and (max-width: 560px) {
    .banner .banner-main .tags-box .left {
        gap: 20px;
    }
    .block2 .block-main .item .text2 {
        font-size: 1rem;
    }
    .block2 .block-main .item {
        width: 100%;
    }
}
