/* ==============================
   新闻详情页
   Theme: #293b86 / #0305d5
================================= */

.news-detail-page {
    width: 100%;
    padding: 50px 0 70px;
    background: #fff;
}


/* ==============================
   灰色背景面包屑
================================= */

.news-breadcrumb-section {
    width: 100%;
    background: #f7f9ff;
    border-top: 1px solid #e6ebf7;
    border-bottom: 1px solid #e6ebf7;
}

    .news-breadcrumb-section .container {
        height: 54px;
    }

.news-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    height: 54px;
    color: #666666;
    font-size: 14px;
    line-height: 24px;
}

    .news-breadcrumb i {
        margin-right: 8px;
        color: #293b86;
        font-size: 15px;
    }

    .news-breadcrumb a {
        color: #555555;
        text-decoration: none;
        transition: all .25s ease;
    }

        .news-breadcrumb a:hover {
            color: #0305d5;
        }

    .news-breadcrumb em {
        margin: 0 9px;
        color: #999999;
        font-style: normal;
    }


/* ==============================
   主体布局
================================= */

.news-detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 42px;
    align-items: start;
}

.news-detail-main {
    min-width: 0;
}


/* ==============================
   文章头部
================================= */

.news-detail-head {
    margin-bottom: 24px;
}

    .news-detail-head h1 {
        margin: 0;
        color: #111;
        font-size: 34px;
        line-height: 46px;
        font-weight: bold;
    }

.news-detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 16px;
    color: #888;
    font-size: 14px;
    line-height: 24px;
}

    .news-detail-meta span {
        display: inline-flex;
        align-items: center;
    }

    .news-detail-meta i {
        margin-right: 7px;
        color: #293b86;
    }

.news-detail-line {
    width: 100%;
    height: 1px;
    margin-top: 22px;
    background: #e6ebf7;
}


/* ==============================
   摘要
================================= */

.news-detail-summary {
    margin-bottom: 28px;
    padding: 20px 24px;
    box-sizing: border-box;
    background: #f2f4ff;
    border-left: 4px solid #293b86;
    color: #555;
    font-size: 15px;
    line-height: 28px;
}

    .news-detail-summary strong {
        color: #293b86;
    }


/* ==============================
   正文内容
================================= */

.news-detail-content {
    color: #444;
    font-size: 16px;
    line-height: 32px;
}

    .news-detail-content p {
        margin: 0 0 18px;
    }

    .news-detail-content img {
        display: block;
        max-width: 100%;
        height: auto !important;
        margin: 24px auto;
    }

    .news-detail-content h2,
    .news-detail-content h3,
    .news-detail-content h4 {
        margin: 30px 0 16px;
        color: #111;
        font-weight: bold;
    }

    .news-detail-content h2 {
        font-size: 26px;
        line-height: 36px;
    }

    .news-detail-content h3 {
        font-size: 22px;
        line-height: 32px;
    }

    .news-detail-content h4 {
        font-size: 18px;
        line-height: 28px;
    }

    .news-detail-content ul,
    .news-detail-content ol {
        margin: 0 0 20px 22px;
        padding: 0;
    }

    .news-detail-content li {
        margin-bottom: 8px;
    }

    .news-detail-content table {
        width: 100% !important;
        border-collapse: collapse;
        margin: 24px 0;
    }

        .news-detail-content table td,
        .news-detail-content table th {
            padding: 12px;
            border: 1px solid #e6ebf7;
        }

        .news-detail-content table th {
            background: #293b86;
            color: #fff;
        }


/* ==============================
   分享
================================= */

.news-detail-share {
    display: flex;
    align-items: center;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid #e6ebf7;
}

    .news-detail-share span {
        margin-right: 12px;
        color: #666;
        font-size: 14px;
    }

    .news-detail-share a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        margin-right: 8px;
        border-radius: 50%;
        background: #f7f9ff;
        color: #666;
        font-size: 15px;
        text-decoration: none;
        transition: all .25s ease;
    }

        .news-detail-share a:hover {
            background: #293b86;
            color: #fff;
        }


/* ==============================
   上一篇 / 下一篇
================================= */

.blog-show-nav {
    margin-top: 34px;
    padding: 22px 26px;
    box-sizing: border-box;
    background: #f7f9ff;
    border: 1px solid #e6ebf7;
}

    .blog-show-nav ul {
        margin: 0;
        padding: 0;
    }

    .blog-show-nav li {
        display: flex;
        align-items: center;
        margin-bottom: 12px;
        color: #666;
        font-size: 15px;
        line-height: 28px;
        list-style: none;
        overflow: hidden;
    }

        .blog-show-nav li:last-child {
            margin-bottom: 0;
        }

    .blog-show-nav .nav-label {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 76px;
        height: 28px;
        margin-right: 12px;
        border-radius: 16px;
        background: #293b86;
        color: #fff;
        font-size: 14px;
        line-height: 28px;
        flex-shrink: 0;
    }

    .blog-show-nav a {
        color: #555;
        text-decoration: none;
        transition: all .25s ease;
    }

        .blog-show-nav a:hover {
            color: #0305d5;
        }

    .blog-show-nav li > a,
    .blog-show-nav li > em {
        display: block;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .blog-show-nav em {
        color: #999;
        font-style: normal;
    }


/* ==============================
   右侧栏
================================= */

.news-detail-side {
    position: sticky;
    top: 100px;
}

.news-side-box {
    margin-bottom: 28px;
    padding: 28px 26px;
    box-sizing: border-box;
    background: #f7f9ff;
    border: 1px solid #e6ebf7;
}

.news-side-title {
    margin-bottom: 18px;
}

    .news-side-title h3 {
        margin: 0;
        color: #111;
        font-size: 22px;
        line-height: 30px;
        font-weight: bold;
    }

    .news-side-title span {
        display: block;
        width: 42px;
        height: 5px;
        margin-top: 9px;
        background: #293b86;
    }


/* 热门资讯 */
.news-side-list a {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #e1e6f3;
    color: #333;
    font-size: 15px;
    line-height: 24px;
    text-decoration: none;
    transition: all .25s ease;
}

    .news-side-list a:last-child {
        border-bottom: none;
    }

    .news-side-list a i {
        margin-right: 8px;
        margin-top: 4px;
        color: #293b86;
        flex-shrink: 0;
    }

    .news-side-list a span {
        height: 24px;
        overflow: hidden;
    }

    .news-side-list a:hover {
        color: #0305d5;
        padding-left: 4px;
    }


/* 新闻分类 */
.news-side-cate {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

    .news-side-cate a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 36px;
        padding: 0 16px;
        box-sizing: border-box;
        border-radius: 20px;
        background: #fff;
        border: 1px solid #e2e7f3;
        color: #293b86;
        font-size: 14px;
        text-decoration: none;
        transition: all .25s ease;
    }

        .news-side-cate a:hover {
            background: #293b86;
            border-color: #293b86;
            color: #fff;
        }
