/* 顶部导航 */
.news-nav {
    margin-top: 64px;
    box-shadow: -6px 0px 4px 0px rgba(4, 0, 0, 0.17);
}

.news-nav-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* 面包屑 */
.common-crumbs {
    font-size: 16px;
    height: 100%;
    line-height: 50px;
    display: flex;
}

.common-crumbs img {
    width: 16px;
    height: auto;
    margin-right: 4px;
}

.common-crumbs a:hover {
    color: var(--primary-color);
}

.common-crumbs .article-title {
    color: var(--primary-color);
}

/* 新闻详情 */
.news-detail {}

.news-detail-wrapper {
    max-width: 1200px;
    margin: 0 auto;

    padding: 30px 0;
    display: flex;
    gap: 20px;
}

.news-detail-wrapper .article {
    width: calc(100% - 360px - 20px);
}

.news-detail-wrapper .article .header {
    font-weight: 400;
    font-size: 14px;
    color: #6E7080;
}

.news-detail-wrapper .article .header h3 {
    font-size: 20px;
    color: #000000;
}

.news-detail-wrapper .article .header span {
    margin-right: 40px;
}

.news-detail-wrapper .article .content {
    margin: 45px 0;
}

.news-detail-wrapper .article .footer {
    background: #F5F5F5;
    width: 100%;
    padding: 20px;

    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 10px;
}

.news-detail-wrapper .article .footer a {
    font-size: 14px;
    color: var(--content-color);
}

.news-detail-wrapper .article .footer a:hover {
    color: var(--primary-color);
}

.news-detail-wrapper .article .content img {
    object-fit: cover;
}

.news-detail-wrapper .recommend {
    width: 360px;
    max-height: 526px;
    background: #FFFFFF;
    border: 1px solid #E3EAF3;

    margin-top: 110px;
    align-self: flex-start;
}

.news-detail-wrapper .recommend h3 {
    margin: 20px 20px 0;
    padding: 10px 0;
    border-bottom: 1px solid #E3EAF3;

    font-weight: 500;
    font-size: 16px;
}

.news-detail-wrapper .recommend .content {
    padding: 10px 0;
}

.news-detail-wrapper .recommend .card {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
}

.news-detail-wrapper .recommend .card .news-image {
    width: 94px;
    height: 66px;
}

.news-detail-wrapper .recommend .card .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-detail-wrapper .recommend .card .news-info {
    width: calc(100% - 94px - 10px);
}

.news-detail-wrapper .recommend .card .news-info .title {
    font-weight: 400;
    font-size: 14px;
    color: var(--content-color);

    display: -webkit-box;
    /* 设置为WebKit内核的弹性盒子模型 */
    -webkit-box-orient: vertical;
    /* 垂直排列 */
    -webkit-line-clamp: 2;
    /* 限制显示两行 */
    overflow: hidden;
    /* 隐藏超出范围的内容 */
    text-overflow: ellipsis;
    /* 使用省略号 */
}

.news-detail-wrapper .recommend .card:hover .news-info .title {
    color: var(--primary-color);
}