a {
    color: black;
    text-decoration: none;
}


.main-content {
    width: 1250px;
    margin: 0 auto;
    padding-top: 27px;
}
.wall-run{
    width: inherit;
}
/*.tabs {
    width: 100%;
    height: 34px;
    display: flex;
    justify-content: center;
}*/

.tab {
    width: auto;
    height: 100%;
    border-bottom: 3px solid rgba(0, 0, 0, 0);
    margin: 0 15px;
    font-weight: 400;
    font-size: 18px;
    color: #333333;
    cursor: pointer;
}

.tab.active {
    color: #147DC6;
    border-bottom: 3px solid #147DC6;
}

.content-box {
    /*border: 1px solid red;*/
    /*margin-top: 20px;*/
    width: 1250px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cards {
    /* border: 1px solid #FFFFFF; */
    cursor: pointer;
    width: 580px;
    height: 233px;
    font-style: normal;
    position: relative;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    margin: 20px;
    transform: translateY(100%); /* 初始位置在下面，向上平移自身高度 */
    transition: all 500ms ease-out;
    background-size: 200% 100%;
    background-position: right bottom;
    border-color: #ffffff;
    background-image: linear-gradient(to left, #FFFFFF 50%, #C80000 50%);
}
.cards.show {
    transform: translateY(0); /* 在事件触发后将 div 向上平移至可见区域 */
}
.cards:hover {
    color: #178ccb;
    background-position: left bottom;
}
@media (min-width: 1200px) {
    .cards:hover .car_font {
        color: #FFFFFF;
    }
}
.card_top {
    overflow: hidden;
}
.card_top_l {
    position: absolute;
    left: 61px;
    top: 54px;
    width: 75px;
    height: 73px;
}
.card_top_l_t {
    width: 75px;
    height: 51px;
    font-size: 30px;
    color: #333333;
}
.card_top_l_b {
    font-size: 13px;
    color: #999999;
}
.card_top_r {
    position: absolute;
    left: 181px;
    top: 54px;
    width: 340px;
    height: 54px;
    color: #333333;
    font-size: 16px;
    line-height: 170%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}
.card_bottom {
    overflow: hidden;
}
.card_bottom_l {
    position: absolute;
    width: 70px;
    height: 1px;
    left: 62px;
    top: 151px;
    border-top: 1px solid #D9D9D9;
}
.card_bottom_r {
    position: absolute;
    width: 340px;
    height: 51px;
    left: 181px;
    top: 127px;
    font-size: 14px;
    color: #999999;
    line-height: 170%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.cards p {
    padding: 0;
    margin: 0;
}

/* 分页 */
ul.pagination {
    display: flex;
    padding-bottom: 3%;
    justify-content: center;
    margin: 0;
}
.head-banner{
    background-image: url("../img/middleImg/gonggao.png");
}

ul.pagination li {
    display: inline;
}

ul.pagination li a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    border: 1px solid #ddd;
}

ul.pagination li a.active {
    background-color: #C80000;
    color: white;
}

ul.pagination li a:hover:not(.active) {
    background-color: #ddd;
}
