﻿/* 全局样式 */
:root {
    --primary-color: #1a73e8;
    --secondary-color: #4285f4;
    --dark-blue: #0d47a1;
    --light-blue: #e8f0fe;
    --light-green: #13f138;
    --text-color: #333;
    --light-text: #f8f9fa;
    --gray-bg: #f5f5f5;
    --gold: #ffd700;
    --section-padding: 80px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background: linear-gradient(to bottom, var(--secondary-color) 20%, #ffffff 90%);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}
section.news {
    margin: 30px 0;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.inner {
    margin: 0 auto;
    width: 1400px;
}

/* 导航栏 */
header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    header.scrolled {
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

    .logo img {
        height: 80%;
    }

.nav-links {
    display: flex;
    list-style: none;    
}

    .nav-links li {
        margin-left: 30px;
    }

    .nav-links a {
        font-weight: 500;
        position: relative;
        padding: 5px 0;
        font-size: 1.2rem;
    }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 3px;
            background-color: var(--primary-color);
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 顶部横幅 */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('../image/news_slogon.jpeg') no-repeat center center/cover;
        opacity: 0.2;
    }

    .hero h1 {
        font-size: 3.2rem;
        margin-bottom: 20px;
        position: relative;
        animation: fadeInDown 1s ease;
    }

    .hero p {
        font-size: 1.3rem;
        max-width: 700px;
        margin: 0 auto;
        position: relative;
        animation: fadeInUp 1s ease;
    }

/* 内容区域 */
.content-section {
    padding: var(--section-padding);
    position: relative;
}
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    
}

.tab {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

    .tab:hover, .tab.active {
        background: rgba(100, 255, 255, 0.5);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        border-color: rgba(255, 255, 255, 0.8);
        font-weight: bold;
    }

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
    justify-items: center;
}
    .news-grid .empty {
        width: 60%;

    }

.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(30px);
    cursor: pointer;
}

    .news-card.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .news-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    }

.news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
    position: relative;
    overflow: hidden;
}

    .news-image::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        transition: left 0.6s ease;
    }

.news-card:hover .news-image::before {
    left: 100%;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 24px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    color: #999;
}

.news-category {
    background: linear-gradient(135deg, var(--primary-color), var(--light-green));
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: bold;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
    color: #333;
    transition: color 0.3s ease;
    min-height: 50px;
}

.news-card:hover .news-title {
    color: var(--primary-color);
}

.news-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
    .news-excerpt p {
        text-align: justify;
    }

.newhot {
    position: absolute;
    top: -8px;
    right: 20px;
    background: url(/image/new.png) no-repeat center;
    width: 64px;
    height: 64px;
    z-index: 100;
}

/* 分页 */
.pagination-container {
    display: flex;
    justify-content: center;
    margin: 10px 0 20px;
}

.pagination {
    display: flex;
    list-style: none;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background: white;
}

    .pagination li {
        border-right: 1px solid #eee;
    }

        .pagination li:last-child {
            border-right: none;
        }

    .pagination a {
        display: block;
        background: white;
        color: #555;
        transition: all 0.3s;
    }

    .pagination li {
        padding: 10px 16px;
        transition: all 0.3s;
    }

        .pagination li:hover, .pagination li:hover a,
        .pagination li.active {
            background: var(--primary-color);
            color: white;
        }

    .pagination a i {
        font-size: 0.9rem;
    }
/* Loading */
.loading {
    text-align: center;
    padding: 40px;
    color: white;
    opacity: 0.7;
}

    .loading::after {
        content: '';
        display: inline-block;
        width: 20px;
        height: 20px;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        border-top-color: white;
        animation: spin 1s ease-in-out infinite;
        margin-left: 10px;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* 页脚 */
footer {
    background: linear-gradient(to right, var(--dark-blue), var(--primary-color));
    color: rgba(255, 255, 255, 0.8);
    padding: 30px 0 10px;
}

    footer .inner {
        display: flex;
        justify-content: space-evenly;
    }

    footer .copyright {
        border-top: 1px solid rgba(200,200,200,.2);
        padding-top: 10px;
    }

    footer a:hover {
        color: var(--gold);
    }

.footer_top {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 200px;
    padding: 30px 0 27px;
}

    .footer_top .left {
        padding-right: 20px;
        display: flex;
        flex: 0 1 700px;
        justify-content: flex-start;
        align-items: center;
        position: relative;
    }

        .footer_top .left::after {
            position: absolute;
            top: 0;
            bottom: 0;
            margin: auto;
            right: 0;
            content: '';
            height: 260px;
            width: 1px;
            background-color: #CCC;
            opacity: 0.2;
        }

.footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #CCC;
    font-size: 14px;
    line-height: 20px;
    padding: 10px 0 0;
    display: flex;
    justify-content: center;
}

    .footer .copyright > .inner .right {
        display: flex;
        line-height: 20px;
        align-items: center;
        justify-content: space-between;
    }

.footer_top .contact {
    padding-left: 20px;
    flex: 1 1 670px;
    font-size: 14px;
    color: #fff;
    display: flex;
    justify-content: center;
    height: fit-content;
    flex-wrap: nowrap;
}

    .footer_top .contact a {
        text-align: center;
        margin-right: 32px;
    }

    .footer_top .contact .qrcode {
        width: 100px;
    }

.footer .footer_top .contact .contact_p {
    line-height: 18px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px 0;
}

.left .menus {
    align-items: stretch;
    display: flex;
    justify-content: space-between;
    margin: 0 30px;
    width: 100%;
}

menu h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

    menu h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 2px;
        background-color: var(--gold);
    }

menu p {
    margin-bottom: 15px;
}

.nav_sec {
    list-style: none;
}

    .nav_sec li {
        margin-bottom: 5px;
    }

    .nav_sec a {
        display: block;
        transition: all 0.5s;
        -webkit-transition: all 0.5s;
        -o-transition: all 0.5s;
        -moz-transition: all 0.5s;
    }

        .nav_sec a:hover {
            transform: translateX(10px);
        }

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        transition: all 0.3s;
    }

        .social-links a:hover {
            background-color: var(--gold);
            color: var(--primary-color);
            transform: translateY(-3px);
        }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}


/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    footer {
        padding: 0;
    }

    .inner {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .footer .footer_top {
        flex-wrap: wrap;
        padding: 0;
    }

        .footer .footer_top .left {
            display: none;
        }

        .footer .footer_top .contact {
            padding-left: 0;
            margin-top: 30px;
            flex: 0 1 100vw;
            margin-left: 30px;
            flex-wrap: wrap;
        }

    .footer .copyright > .inner {
        flex-wrap: wrap;
    }

        .footer .copyright > .inner .left {
            flex: 0 1 100vw;
            justify-content: center;
            text-align: center;
        }

        .footer .copyright > .inner .right {
            margin: 10px 0;
            flex: 0 1 100vw;
            justify-content: center;
        }

    .footer .copyright {
        flex-wrap: wrap;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .intro-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        color: white;
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transition: all 0.5s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

        .nav-links.active {
            left: 0;
        }

        .nav-links li {
            margin: 15px 0;
        }

    .hero {
        padding: 80px 0;
    }

        .hero h1 {
            font-size: 2rem;
        }

        .hero p {
            font-size: 1rem;
        }

    .section-title {
        font-size: 2rem;
    }

    .side-nav {
        display: none;
    }

    .intro-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .container {
        padding: 0 24px;
    }

    .header-content {
        height: 50px;
    }

    .breadcrumb {
        font-size: 12px;
    }

    .filter-tabs {
        flex-wrap: wrap;
        gap: 6px;
    }

    .tab {
        padding: 8px 12px;
        font-size: 13px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .news-image {
        height: 180px;
    }

    .news-content {
        padding: 20px;
    }

    .news-title {
        font-size: 16px;
        min-height: 0;
    }

    .pagination li {
        padding: 0;
    }

        .pagination a, .pagination li.active {
            padding: 8px 12px;
        }
}

@media (max-width: 576px) {
    .hero {
        padding: 80px 0;
    }

        .hero h1 {
            font-size: 1.9rem;
        }

        .hero p {
            font-size: 1rem;
        }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .intro-stats {
        grid-template-columns: 1fr;
    }
}
/* Search*/
.search {
    padding: 60px 0;
}
    .search .list {
        padding-bottom: 20px;
        text-align: center;
    }
    .search .list li {
        list-style: none;
        transition: all .3s ease;        
    }
        .search .list li:hover {
            transform: translateY(-5px);
            box-shadow: rgba(0,0,0,.4) 5px 5px 10px;
        }
            .search .list li:hover .nr_item_srchTitle {
                color: var(--primary-color);
            }
.nr_list_item {
    position: relative;
    background-color: #F3F3F3;
    padding: 20px 50px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    border-radius: 7px;
}
.nr_item_srchType {
    padding: 5px 10px;
    background-color: var(--primary-color);
    color: #FFF;
    border-radius: 5px;
}
.nr_item_srchTitle {
    padding-left: 40px;
    text-align: left;
    flex: 1;
    text-overflow: ellipsis;
    font-size: 1.4em;
    white-space: nowrap;
    overflow: hidden;
}
.nr_item_date {
    width: 90px;
}

@media (max-width: 576px) {
    .nr_list_item {
        padding: 20px;        
    }
    .nr_item_srchType {
        width: 52px;
        word-break: break-word;
        line-height: 1.3rem;
    }
    .nr_item_srchTitle {
        padding: 0 20px;
        font-size: 1.2rem;
    }
    .nr_item_date {
        width: 40px;
        word-break: break-word;
        line-height: 1.3rem;
    }
}
/* Detail */
.article {
    background: #f1f7fd;
    box-sizing: border-box;
    padding: 70px 0;
}
    .article img {
        max-width: 90vw;
    }
    .article em {
        color: var(--secondary-color);
        padding: 0 5px;
        background: #46f9ea36;
        font-style: normal;
        border-radius: 7px;
    }
    .article .article-top > div .wed {
        background: #fff;
        bottom: -23px;
        cursor: pointer;
        left: calc(50% - 45px);
        position: absolute;
        width: 90px;
        color: var(--primary-color);
    }

    .article .article-top > div {
        background: #fff;
        border-bottom: 1px solid #e8e8e8;
        box-sizing: border-box;
        margin: 0 auto;
        padding: 60px 0;
        position: relative;
        text-align: center;
    }

        .article .article-top > div h2 {
            color: var(--dark-blue);
            font-family: Medium;
            font-size: 28px;
            font-weight: 600;
            line-height: 40px;
            margin: 0 auto;
            width: 80%
        }

        .article .article-top > div .link {
            display: flex;
            justify-content: space-around;
            margin: 35px auto 0;
            width: 500px;
            font-size: 14px;
        }

            .article .article-top > div .link > div {
                align-items: center;
                display: flex
            }

                .article .article-top > div .link > div > i {
                    margin-right: 10px
                }

            .article .article-top > div .link .icon {
                font-size: 22px
            }

        .article .article-top > div .share {
            background: #fff;
            bottom: -32px;
            cursor: pointer;
            left: calc(50% - 45px);
            position: absolute;
            width: 90px
        }
        .article .article-top > div .qrcode {
            background: #fff;
            bottom: 30px;
            left: calc(50% - 90px);
            position: absolute;
            transition: all .4s ease;
            opacity: 0;
            display: block;
            box-shadow: rgba(0,0,0,.4) 0 0 15px;
            height: 180px;
            padding: 10px;
            border-radius: 5px;
            z-index: -100;
        }
            .article .article-top > div .qrcode img {
                width: 160px;
            }
    .article .article-content {
        background-color: #fff;
        padding: 50px 5%;
        margin: 0 auto;
    }
        .article .article-content li {
            list-style: unset;
        }

        .article .article-content ul[data-type=taskList] li {
            display: flex;
            align-items: baseline;
        }
        .article .article-content p {
            min-height: 1rem
        }
        .article .article-content div.container-wrapper {
            margin: 1rem 0;
            padding: 0 1rem;
            border: 1px solid var(--aie-border-color);
            border-radius: 3px;
        }
        .article .article-content p {
            min-height: 1rem
        }
        .article .article-content div.info {
            background: #eff1f3
        }

        .article .article-content div.warning {
            background: #fcf5e4
        }

        .article .article-content div.danger {
            background: #ffe7ea
        }

    .article .article-bottom {
        background: #fff;
        box-sizing: border-box;
        margin: 0 auto;
        padding: 50px 5%;
        text-align: center;
    }
        .article .article-bottom button {
            padding: 8px 10px;
            transition: all .3s;
            -webkit-transition: all .3s;
            border-radius: 5px;
            border: #d4d6d7 solid 1px;
            cursor: pointer;
            margin-right: 15px;
        }

            .article .article-bottom button:hover {
                background-color: white;
            }

        .article .article-bottom img {
            -o-object-fit: cover;
            object-fit: cover;
            width: 100%
        }

        .article .article-bottom .back {
            align-items: center;
            border: 2px solid #b7b7b7;
            cursor: pointer;
            display: flex;
            height: 68px;
            justify-content: center;
            margin: 42px auto;
            width: 188px
        }

@media (min-width: 1200px) {
    .article .article-top > div, .article .article-content, .article .article-bottom {
        width: 1200px;
    }
}
@media (max-width: 576px) {
    .article {
        padding: 0;
    }
    .article .article-top > div .link {
        width: auto;
    }
}
@media print {
    .noPrint {
        display: none !important;
    }
}
/* iconfont */
@font-face {
    font-family: iconfont;
    src: url(../font/iconfont.woff2) format("woff2"), url(../font/iconfont.woff) format("woff"), url(../font/iconfont.ttf) format("truetype")
}

.iconfont {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: iconfont !important;
    font-size: 24px;
    font-style: normal;
    color: var(--dark-blue);
}
button.info {
    background-color: #a3e5ff;
    border-color: #117a97 !important;
    color: #2d51a5;
}

    button.info:hover {
        color: white;
        background-color: #3fa7ff !important;
        border-color: #58d0f1 !important;
    }