.banner {
    background-image: url('../images/industryConsult/banner.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.banner .banner-main {
    max-width: 1400px;
    height: 450px;
    padding-top: 170px;
    width: 73%;
    margin: 0 auto;
}
.banner .banner-main .text1 {
    font-weight: 800;
    font-size: 48px;
}
.banner .banner-main .text2 {
    font-size: 16px;
    color: #666666;
    margin-top: 20px;
}
.banner .banner-main .input-box {
    margin-top: 40px;
    width: 580px;
    height: 50px;
    background: #FFFFFF;
    box-shadow: 0px 0px 27px 0px rgba(153,153,153,0.31);
    border-radius: 8px;
    display: flex;
    align-items: center;
}
.banner .banner-main .input-box img {
    width: 20px;
    margin-right: 10px;
    margin-left: 10px;
    flex-shrink: 0;
}
.banner .banner-main .input-box input {
    height: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    border-radius: 8px;
    flex: 1;
}

/* 板块一 */
main > .block1 {
    width: 73%;
    min-width: 1200px;
    height: 80px;
    background: #FFFFFF;
    box-shadow: 0px 2px 27px 0px rgba(17,25,4,0.09);
    border-radius: 20px;
    margin-top: -40px;
    display: flex;
    justify-content: center;
    column-gap: 120px;
}
.block1 .item {
    height: 100%;
    font-size: 18px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    cursor: pointer;
    position: relative;
}
.block1 .item::after {
    content: '';
    width: 1px;
    height: 31px;
    background: #E5E5E5;
    position: absolute;
    right: -58px;
    transform: rotate(20deg);
    pointer-events: none;
}
.block1 .item:last-of-type::after {
    display: none;
}
.block1 .item::before{
    content: '';
    display: block;
    width: 0%;
    height: 2px;
    background-color: #2FAA6F;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    transition: 0.3s;
}
.block1 .item:hover,
.block1 .item.active{
    color: #40AC6D;
}
.block1 .item.active::before,
.block1 .item:hover::before {
    width: 100%;
}

/* 板块二 */
main > .block2 {
    margin: 74px auto 0;
}
.block2 .tabs-content-box .hot-box {
    display: flex;
    cursor: pointer;
    width: 1200px;
    padding: 30px;
    background: #F6F7F9;
    border-radius: 20px;
    margin: 0 auto;
}
.block2 .tabs-content-box .hot-box .left {
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.block2 .tabs-content-box .hot-box .left img {
    transition: .5s;
}
.block2 .tabs-content-box .hot-box .right {
    position: relative;
    padding: 0 50px;
    transition: .5s;
}
.block2 .tabs-content-box .hot-box .right .text1 {
    margin-top: 40px;
    font-weight: bold;
    font-size: 24px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.block2 .tabs-content-box .hot-box .right .text2 {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.8;
    margin-top: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.block2 .tabs-content-box .hot-box .right .time-box {
    position: absolute;
    bottom: 34px;
    display: flex;
    align-items: flex-end;
    color: #888888;
    transition: .5s;
}
.block2 .tabs-content-box .hot-box .right .time-box .time-box-l {
    margin-right: 62px;
}
.block2 .tabs-content-box .hot-box .right .time-box .time-box-l span {
    color: #2FAA6F;
    font-size: 36px;
}
.block2 .tabs-content-box .lists {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin: 80px auto 0;
    width: 1200px;
}
.block2 .tabs-content-box .lists .item {
    width: 380px;
    height: 480px;
    background: #F6F7F9;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: .3s;
}
.block2 .tabs-content-box .lists .item .img-box {
    width: 100%;
    height: 251px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}
.block2 .tabs-content-box .lists .item .img-box img {
    transition: .5s;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.block2 .tabs-content-box .lists .item .text1 {
    font-size: 18px;
    color: #333333;
    line-height: 24px;
    margin-top: 20px;
    padding: 0 30px;
    font-weight: 500;
    transition: .3s;
}
.block2 .tabs-content-box .lists .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 .tabs-content-box .lists .item .tag {
    position: absolute;
    bottom: 30px;
    display: flex;
    padding: 0 30px;
    justify-content: space-between;
    width: 100%;
    font-size: 16px;
    color: #888888;
    transition: .3s;
}
.block2 .tabs-content-box .pages-list {
    display: flex;
    margin: 58px auto 110px;
    gap: 20px;
    justify-content: center;
}

/* block2效果 */
.block2 .tabs-content-box .hot-box:hover .left img {
    transform: scale(1.05);
}
.block2 .tabs-content-box .hot-box:hover .right .time-box,
.block2 .tabs-content-box .hot-box:hover .right{
    color: #2FAA6F;
}
.block2 .tabs-content-box .lists .item:hover {
    transform: translateY(-10px);
}
.block2 .tabs-content-box .lists .item:hover .img-box img {
    transform: scale(1.05);
}
.block2 .tabs-content-box .lists .item:hover * {
    color: #2FAA6F; /* 你想要的颜色 */
}
#pages {
    display: flex;
    list-style: none;
    gap: 15px;
    padding: 10px;
}
#pages li {
    display: flex;
    align-items: center;
    justify-content: center;
}
#pages li > * {
    border: solid 1px #888888;
}
#pages li:first-child > *,
#pages li:last-child > *
{
    font-size: 0;
    position: relative;
    border: solid 1px #888888;
}
#pages li:first-child > *::before{
    content: '';
    width: 30%;
    height: 30%;
    border-left: 1px solid #888888;
    border-bottom: 1px solid #888888;
    transform: rotate(45deg);
    margin-left: 6px;
    position: absolute;
}
#pages li:last-child > *::before{
    content: '';
    width: 30%;
    height: 30%;
    border-left: 1px solid #888888;
    border-bottom: 1px solid #888888;
    transform: rotate(-135deg);
    margin-right: 6px;
    position: absolute;
}
#pages a, #pages span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
}
#pages a:hover::before {
    border-color: white;
}
#pages li a:hover {
    background-color: #2FAA6F;
    color: white;
    border: solid 1px #2FAA6F;
}
#pages .active span {
    background-color: #2FAA6F;
    border: solid 1px #2FAA6F;
    color: white;
    cursor: default;
}
#pages .disabled span {
    color: #bdc3c7;
    cursor: not-allowed;
    background-color: #f5f6fa;
}
/* 左右箭头 */
.direction-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: #888888 solid 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}
/* 左箭头 */
.arrow-left {
    width: 12px;
    height: 12px;
    border-left: 1px solid #888888;
    border-bottom: 1px solid #888888;
    transform: rotate(45deg);
    margin-left: 6px; /* 调整位置使其居中 */
}
/* 右箭头 */
.arrow-right {
    width: 12px;
    height: 12px;
    border-right: 1px solid #888888;
    border-bottom: 1px solid #888888;
    transform: rotate(-45deg);
    margin-right: 6px; /* 调整位置使其居中 */
}
/* 标签样式 */
.label {
    text-align: center;
    margin-top: 10px;
    color: #333;
    font-size: 14px;
}

@media screen and (max-width: 1200px) {
    .banner .banner-main {
        width: 100%;
        padding-left: 5%;
        padding-right: 5%;
        height: 390px;
        padding-top: 130px;
    }
    .banner .banner-main .text1 {
        font-size: 2.4rem;
    }
    .banner .banner-main .text2 {
        font-size: 1.2rem;
        margin-top: 20px;
        line-height: 1.5;
    }
    main > .block1 {
        min-width: auto;
        width: 95%;
    }
    .block1 .item {
        font-size: 1rem;
    }
    .block2 .tabs-content-box .hot-box {
        width: 95%;
    }
    .block2 .tabs-content-box .lists {
        width: 95%;
        gap: 2%;
        row-gap: 20px;
    }
    .block2 .tabs-content-box .hot-box .left {
        width: 50%;
        aspect-ratio: 1 / 0.636;
    }
    .block2 .tabs-content-box .hot-box .left img {
        width: 100%;
        height: 100%;
    }
    .block2 .tabs-content-box .hot-box .right {
        padding: 0 3%;
    }
    .block2 .tabs-content-box .hot-box .right .text1 {
        font-size: 1.6rem;
        margin-top: 10px;
    }
    .block2 .tabs-content-box .hot-box .right .text2 {
        font-size: 1rem;
    }
    .block2 .tabs-content-box .hot-box .right .time-box {
        bottom: 5%;
    }
    .block2 .tabs-content-box .hot-box .right .time-box .time-box-l span {
        font-size: 2rem;
    }
    .block2 .tabs-content-box .lists .item .text1 {
        font-size: 1.4rem;
    }
    .block2 .tabs-content-box .lists .item .text2 {
        font-size: 1rem;
    }
    .block2 .tabs-content-box .lists .item {
        width: 32%;
    }
}

@media screen and (max-width: 900px) {
    main > .block1 {
        column-gap: 65px;
        height: 60px;
        border-radius: 10px;
    }
    .block1 .item {
        padding: 0 10px;
    }
    .block1 .item::after {
        right: -35px;
        height: 20px;
    }
    .block2 .tabs-content-box .lists .item {
        width: 49%;
    }
}

/* 手机端 */
@media screen and (max-width: 768px) {
    main > .block2 {
        margin-top: 30px;
    }
    .block2 .tabs-content-box .hot-box {
        padding: 20px;
        border-radius: 10px;
    }
    .block2 .tabs-content-box .hot-box .right .text1 {
        font-size: 1.4rem;
    }
    .block2 .tabs-content-box .hot-box .right .text2 {
        margin-top: 10px;
    }
    .block2 .tabs-content-box .hot-box .right .time-box {
        bottom: 0;
        align-items: center;
    }
    .block2 .tabs-content-box .hot-box .right .time-box .time-box-l {
        margin-right: 40px;
    }
    .block2 .tabs-content-box .hot-box .right .time-box .time-box-l span {
        font-size: 1.4rem;
    }
    .block2 .tabs-content-box .lists .item .text1,
    .block2 .tabs-content-box .lists .item .text2,
    .block2 .tabs-content-box .lists .item .tag {
        padding: 0 10px
    }
    .block2 .tabs-content-box .lists .item .img-box,
    .block2 .tabs-content-box .lists .item {
        border-radius: 10px;
    }
}

@media screen and (max-width: 560px) {
    main > .block1 {
        column-gap: 35px;
    }
    .block1 .item {
        padding: 0 5px;
        font-size: 1.2rem;
    }
    .block1 .item::after {
        right: -20px;
        height: 20px;
    }
    .block2 .tabs-content-box .lists {
        margin-top: 40px;
        width: 90%;
    }
    .block2 .tabs-content-box .hot-box .right .text1 {
        -webkit-line-clamp: 1;
        margin-top: 5px;
    }
    .block2 .tabs-content-box .hot-box .right .time-box .time-box-l {
        margin-right: 10px;
    }
    .block2 .tabs-content-box .lists .item {
        width: 100%;
    }
    #pages a, #pages span {
        width: 30px;
        height: 30px;
    }
}
