/* 新闻列表页面样式 */



.latest-news {
    height: 350px;
    background-color: white;
    border-radius: 10px;
    margin: 80px auto;
    transition: all 0.35s;
}

.latest-news:hover {
    transform: translateY(-20px);
}

.latest-news-left {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
    height: 350px;
}

.latest-news-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5% 5%;
}

.latest-news-right div:last-child {
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 6px;
    border: 1px solid var(--primary_color);
    min-width: 130px;
    width: 30%;
    transition: all 0.35s;
}

.latest-news-right div:last-child:hover {
    background-color: var(--primary_color);
}

.latest-news-right div:last-child span {
    color: var(--primary_color);
    margin: 0 10px;
}

.latest-news-right div:last-child i {
    color: var(--primary_color);
}

.latest-news-right div:last-child:hover span,
.latest-news-right div:last-child:hover i {
    color: white;
}

.news-container {
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.news-box {
    height: 420px;
}

.news-box>a {
    display: block;
    background-color: white;
    border-radius: 10px;
    height: 100%;
}

.news-img {
    display: flex;
    height: 60%;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.news-img img {
    transition: all 0.35s;
    object-fit: cover;
}

.news-box:hover img {
    transform: scale(1.1);
}

.news-title {
    height: 40%;
    padding: 5% 8% 6% 8%;
}

.news-title span {
    line-height: 3rem;
}

.news-title h6 {
    font-size: 1.1rem;
    line-height: 1.8rem;
}

@media screen and (max-width:768px) {
    .latest-news-left {
        border-radius: 10px;
    }

    .latest-news-right {
        padding: 4% 0;
        height: 180px;
    }
}

/* 新闻详情页面样式 */

.news-content-out {
    padding: 140px 0 120px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.news-content>h2,
.news-content>p {
    text-align: center;
    margin-bottom: 30px;
}

.news-content>div>p {
    font-size: 1rem;
    line-height: 2rem;
    /* text-indent: 2rem; */
    color: var(--p_color);
}

.news-content>div>div {
    width: 100%;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}