﻿* {
    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;
}

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;
}

.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);
    }

/* 搜索框样式 */
.search-box {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px #eef2f8;
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-input {
    flex: 1;
    height: 46px;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 15px;
    outline: none;
    transition: .3s;
}

    .search-input:focus {
        border-color: var(--primary);
    }

.search-btn {
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

.empty-tip {
    text-align: center;
    padding: 40px 0;
    color: #999;
    font-size: 15px;
}

.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;
}

.faq-item {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px #eef2f8;
    margin-bottom: 20px;
    padding: 24px 28px;
    cursor: pointer;
    transition: .3s;
}

    .faq-item:hover {
        box-shadow: 0 8px 24px #dce6f5;
    }

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    color: var(--dark);
}

    .faq-question i {
        color: var(--primary);
        transition: .3s;
    }

.faq-answer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
    color: var(--gray);
    line-height: 1.8;
    font-size: 15px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* 分页样式 */
.page-box {
    text-align: center;
    margin-top: 40px;
}

    .page-box a {
        display: inline-block;
        padding: 9px 16px;
        border: 1px solid #ddd;
        margin: 0 5px;
        border-radius: 6px;
        transition: .3s;
        cursor: pointer;
    }

        .page-box a.active {
            background: var(--primary);
            color: #fff;
            border: 1px solid var(--primary);
        }

        .page-box a:hover:not(.active) {
            border-color: var(--primary);
            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;
}

    .hot-list a:hover {
        color: var(--primary);
        padding-left: 6px;
    }

    .hot-list a.active {
        color: var(--primary);
        font-weight: 500;
    }

.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;
        }

    .news-left {
        min-width: 100%;
    }
}
/*页脚全局样式*/
.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;
    }
    /* FAQ 日期 & 阅读量 样式 */
.faq-info {
  display: flex;
  gap: 15px;
  margin-top: 8px;
  font-size: 14px;
  color: #999;
}
.faq-info i {
  margin-right: 4px;
  color: var(--primary);
}