.main {
    display: flex;
    height: 100%;
    margin-bottom: 50px; /* 适应你想要的下边距值 */
}

@media (max-width: 1024px) {
    .main {
        flex-direction: column;
    }

    .main-left,
    .main-right {
        margin-top: 20px;
    }

    .main-left,
    .main-right:hover {
        box-shadow: none;
    }

    .main-left .bj,
    .main-right .bj {
        margin: 0;
    }

}

@media (max-width: 1200px) {
    .main-left,
    .main-right {
        width: 280px;
        height: 390px;
    }
    .bit {
        width: 277.5px !important;
        height: 160px!important;
    }
    .bj {
        width: 280px!important;
        height: 160px!important;
    }
    .overlay-image-news img{
        height: 160px !important;
    }

}



.lk {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main-left,
.main-right {
    position: relative;
    border: 2px solid #CCCCCC;
    position: relative;
    margin-left: 10px;
    margin-right: 10px;
    transition: box-shadow 0.3s ease;
}

.bit {
    text-align: center;
    width: 350px;
    height: 200px;
    overflow: hidden;
}

.main-left:hover .bit img {
    transform: scale(1.1);
}

.main-left:hover .bj a,
.main-right:hover .bj a {
    color: #7d0a0a;
}

.main-left .bj a {
    transition: color 0.3s ease;
}

.bit img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.bj {
    float: left;
    width: 350px;
    height: 250px;
    position: relative;
}

.bj p {
    font-size: 13px;
    margin-bottom: 5px;
    margin-top: 30px;
    position: relative;
    line-height: 1.5;
    margin-left: 20px;
}


.bj a {
    display: block;
    font-size: 21px;
    margin-left: 20px;
    margin-top: 10px;
    margin-right: 20px;
    line-height: 1.5;
    overflow: hidden;
    text-decoration: none;
    color: #000000;
    text-overflow: ellipsis;

}

.overlay-image-news {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-right:hover .overlay-image-news {
    opacity: 1;
}

.bj .news-title {
    color: #940c0c;
    font-weight: bold;
    margin-right: 15px;
}

.main-right .bj p {
    position: relative;
}

.main-right .bj p .news-title,
.main-left .bj p .news-title {
    position: relative;
    display: inline-block;
}

.main-right .bj p .news-title::after,
.main-left .bj p .news-title::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    height: 80%;
    width: 2px;
    background-color: #000;
}
