﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei",sans-serif;
}

:root {
    --primary:#1677ff;
    --primary-dark:#0e66dd;
    --light:#e8f3ff;
    --dark:#222;
    --gray:#666;
    --white:#fff;
    --red:#f54336;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 92%;
    max-width: 1320px;
    margin: 0 auto;
}

/*导航统一*/
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,.95);
    box-shadow: 0 1px 12px rgba(0,0,0,0.08);
    z-index: 9999;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 78px;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

    .logo i {
        font-size: 30px;
    }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 42px;
}

    .nav-menu a {
        font-size: 16px;
        font-weight: 500;
        padding: 8px 0;
        position: relative;
        transition: .3s;
        color: var(--dark);
    }

        .nav-menu a:hover, .nav-menu a.active {
            color: var(--primary);
        }

            .nav-menu a.active::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 3px;
                background: var(--primary);
                border-radius: 3px;
            }

.mobile-btn {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/*页面顶部通栏banner*/
.page-banner {
    margin-top: 78px;
    width: 100%;
    height: 320px;
    background: linear-gradient(rgba(12,78,170,0.75),rgba(12,78,170,0.75)),url('/img/bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

    .page-banner h1 {
        font-size: 42px;
        margin-bottom: 12px;
    }

    .page-banner p {
        font-size: 18px;
        opacity: 0.92;
    }

/*面包屑导航*/
.crumbs {
    padding: 18px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    color: var(--gray);
    background: #fff;
}

    .crumbs a {
        color: var(--primary);
    }

/*主体内容区*/
.news-main {
    padding: 70px 0;
    background: #fafbfc;
}

.news-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
}

.news-left {
    flex: 1;
    min-width: 650px;
}

.news-right {
    width: 300px;
    min-width: 300px;
}

/*文章主体卡片*/
.article-box {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px #eef2f8;
    padding: 40px;
}

.art-top h2 {
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.4;
}

.art-info {
    color: #999;
    font-size: 15px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #eee;
    margin-bottom: 30px;
}

    .art-info span {
        margin-right: 20px;
    }

.art-bigimg {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 30px;
}

.art-content p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.8;
    text-indent: 2em;
    margin-bottom: 18px;
}

.art-content h4 {
    font-size: 20px;
    color: var(--dark);
    margin: 30px 0 15px;
    padding-left: 12px;
    border-left: 4px solid var(--primary);
}

/*上下篇切换*/
.page-switch {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px dashed #eee;
    display: flex;
    justify-content: space-between;
    color: var(--gray);
}

    .page-switch a {
        color: var(--primary);
    }

/*侧边栏通用模块*/
.side-box {
    background: #fff;
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 4px 20px #eef2f8;
    margin-bottom: 32px;
}

.side-title {
    font-size: 20px;
    padding-bottom: 12px;
    border-left: 4px solid var(--primary);
    padding-left: 12px;
    margin-bottom: 20px;
    color: var(--dark);
}

.hot-list li {
    list-style: none;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

    .hot-list li:last-child {
        border-bottom: none;
    }

.hot-list a {
    font-size: 15px;
    color: var(--gray);
    transition: .3s;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .hot-list a:hover {
        color: var(--primary);
        padding-left: 6px;
    }
       .hot-list a.active {
        color: var(--primary);
        font-weight: 500;
    }
.side-pro-item {
    margin-bottom: 14px;
    display: flex;
    gap: 12px;
    align-items: center;
}

    .side-pro-item img {
        width: 70px;
        height: 70px;
        border-radius: 6px;
        object-fit: cover;
    }

    .side-pro-item p {
        font-size: 14px;
        color: var(--gray);
    }

/*页脚统一*/
.footer {
    background: #1a1a1a;
    color: #b8b8b8;
    padding: 65px 0 25px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 230px;
}

    .footer-col h3 {
        color: #fff;
        font-size: 20px;
        margin-bottom: 24px;
        padding-bottom: 12px;
        border-bottom: 1px solid #333;
    }

    .footer-col ul {
        list-style: none;
    }

    .footer-col li {
        margin-bottom: 12px;
        font-size: 15px;
    }

    .footer-col a:hover {
        color: var(--primary);
    }

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #333;
}

/*移动端适配*/
@media(max-width:992px) {
    .news-wrap {
        flex-direction: column;
    }

    .news-left, .news-right {
        width: 100%;
        min-width: unset;
    }
}

@media(max-width:768px) {
    .nav-menu {
        display: none;
    }

    .mobile-btn {
        display: block;
    }

    .page-banner {
        height: 220px;
    }

        .page-banner h1 {
            font-size: 28px;
        }

    .article-box {
        padding: 22px;
    }
}
/*页脚全局样式*/
.footer {
    background: #121212;
    color: #c2c2c2;
    padding: 70px 0 30px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    margin-bottom: 20px;
}

.footer-col {
    flex: 1;
    min-width: 220px;
}

    .footer-col h3 {
        color: #ffffff;
        font-size: 19px;
        margin-bottom: 26px;
        padding-bottom: 12px;
        position: relative;
    }

        .footer-col h3::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 42px;
            height: 3px;
            background: var(--primary);
            border-radius: 2px;
        }

    .footer-col ul {
        list-style: none;
    }

    .footer-col li {
        margin-bottom: 14px;
        font-size: 15px;
        transition: all 0.25s;
        color: #aaaaaa;
    }

        .footer-col li a {
            color: #aaa;
        }

        .footer-col li:hover {
            padding-left: 5px;
            color: var(--primary);
        }

        .footer-col li a:hover {
            color: var(--primary);
        }

.footer-bottom {
    text-align: center;
}

    .footer-bottom p {
        font-size: 15px;
        color: #808080;
    }

