﻿.oc-sam-news {
    margin-top: 1.3rem;
    margin-bottom: 1rem;
    padding: 0 1.24rem;
}

.oc-sam-news a {
    display: block;
}

.oc-sam-news .news-title {
    font-family: 'Anton';
    font-weight: 400;
    font-size: 0.40rem;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.oc-sam-news .news-items {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.oc-sam-news .news-items .news-item {
    width: calc(33.33% - 0.18rem)
    /* width: 3.9864rem; */
}

.oc-sam-news .new-content .new-title {
    font-family: 'Anton';
    font-style: normal;
    font-weight: 400;
    font-size: 0.22rem;
    line-height: 0.3rem;
    height: 0.3rem;
    color: #3F3F3F;
    text-transform: uppercase;
    margin-bottom: 0.12rem;
    overflow: hidden;
    /*将对象作为弹性伸缩盒子模型显示*/
    display: -webkit-box;
    /*设置子元素排列方式*/
    -webkit-box-orient: vertical;
    /*设置显示的行数，多出的部分会显示为...*/
    -webkit-line-clamp: 2;
    /* height: 0.58rem; */
}

.oc-sam-news .new-content .new-title:hover {
    color: #2C63A0;
}

.oc-sam-news .news-item .new-image {
    width: 100%;
    height: 3.61rem;
    object-fit: cover;
    border: 0.01rem solid #DADADA;
    box-shadow: 0px 0.02rem 0.04rem 0px #00000040;

}

.oc-sam-news .new-content .new-text {
    font-family: 'Roboto';
    font-weight: 400;
    overflow: hidden;
    /*将对象作为弹性伸缩盒子模型显示*/
    display: -webkit-box;
    /*设置子元素排列方式*/
    -webkit-box-orient: vertical;
    /*设置显示的行数，多出的部分会显示为...*/
    -webkit-line-clamp: 3;
    color: #333333;
    font-size: 0.2rem;
    line-height: 0.3rem;
    height: 0.9rem;
}

.oc-sam-news .new-content .link {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-size: 0.16rem;
    color: #099CDB;
    margin-top: 0.17rem;
    height: 0.24rem;
    line-height: 1;
}

.oc-sam-news .new-content .link:hover {
    color: #2C63A0;
}

/* 移动端样式 */
@media screen and (max-width: 1025px) {
    .oc-sam-news {
        padding: 0 0.34rem;
    }

    .oc-sam-news .news-items {
        display: block;
    }
    .oc-sam-news .news-items .news-item {
        width: 100%
    }

    .oc-sam-news .news-title {
        font-family: 'Anton';
        font-style: normal;
        font-weight: 400;
        font-size: 0.4rem;
        text-align: center;
        letter-spacing: 0.03em;
        margin-bottom: 0.6rem;
    }

    .oc-sam-news .news-item .new-image {
        height: 4.6rem;
    }

    .oc-sam-news .new-content .new-title {
        font-family: 'Anton';
        font-style: normal;
        font-weight: 400;
        font-size: 0.32rem;
        color: #3F3F3F;
        margin-top: 0.3rem;
        height: auto;
    }

    .oc-sam-news .new-content .new-text {
        font-family: 'Roboto';
        font-style: normal;
        font-weight: 400;
        font-size: 0.24rem;
        line-height: 0.40rem;
        color: #000000;
        -webkit-line-clamp: 4;
        height: auto;
    }

    .oc-sam-news .new-content .link {
        margin-bottom: 0.6rem;
    }

}
