/* ========== 全局样式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

/* ========== 头部导航 ========== */
#header {
    background: #031934 !important;
    color: #fff;
    transition: all ease 0.6s;
}

#header .header-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 14px 32px 18px;
    gap: 36px;
}

#header .header-nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 70px;
    flex-shrink: 0;
}

#header .header-nav-brand .logo-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

#header .header-nav-brand .logo-img img {
    width: 180px;
    height: 80px;
}

#header .header-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    line-height: 60px;
    margin: 0;
    flex: 1;
    min-width: 0;
    list-style: none;
    padding: 0;
}

#header .header-nav-wrapper > li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 18px;
    position: relative;
}

#header .header-nav-wrapper > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsla(0, 0%, 100%, .75);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 18px 0 12px;
    position: relative;
    white-space: nowrap;
}

#header .header-nav-wrapper > li > a:hover,
#header .header-nav-wrapper > li.active > a {
    color: #fff !important;
}

/* 二级导航 */
#header .header-nav-wrapper > li > dl {
    display: none;
    position: absolute;
    width: 200px;
    top: 80%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
    color: white !important;
    text-align: center;
    background: #031934 !important;
    margin: 0;
    padding: 0;
}

#header .header-nav-wrapper > li > dl > dt {
    width: 100%;
    padding: 10px;
    color: white !important;
    text-align: center;
    font-weight: normal;
}

#header .header-nav-wrapper > li > dl > dt > a {
    text-decoration: none;
    color: white !important;
    display: inline-block;
    width: 100%;
}

#header .header-nav-wrapper > li > dl > dt:hover {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
}

#header .header-nav-wrapper > li:hover dl {
    display: block;
}

/* 手机导航 */
#header .header-nav-m {
    position: relative;
    display: none;
}

#header .header-nav-m .mobile-brand {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: #031934 !important;
}

#header .header-nav-m .mobile-logo img {
    width: 60px;
    height: auto;
}

#header .header-nav-m .mobile-brand-text {
    flex: 1;
    margin-left: 10px;
}

#header .header-nav-m .brand-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

#header .header-nav-m .brand-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

#header .header-nav-m-menu-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    font-size: 20px;
}

/* 汉堡菜单图标 */
.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

#header .header-nav-m-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #031934 !important;
    z-index: 9999999;
    list-style: none;
    padding: 0;
    margin: 0;
}

#header .header-nav-m-wrapper > li {
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

#header .header-nav-m-wrapper > li > a {
    color: #fff;
    font-size: 15px;
    font-weight: bold;
}

/* ========== 底部 ========== */
#footer {
    width: 100%;
    padding: 24px 15px;
    color: #666;
    background: #f5f5f5;
    text-align: center;
    font-size: 14px;
    border-top: 1px solid #e5e5e5;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-text .tt1 {
    line-height: 24px;
}

.footer-text a {
    color: #666;
}

/* ========== 回到顶部 ========== */
.go-top {
    position: fixed;
    right: 20px;
    bottom: 50px;
    width: 40px;
    height: 40px;
    background: #031934;
    color: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s;
}

.go-top:hover {
    background: #1a2832;
}

/* 回到顶部箭头图标 */
.arrow-up {
    display: block;
    width: 12px;
    height: 12px;
    border-left: 3px solid #fff;
    border-top: 3px solid #fff;
    transform: rotate(45deg);
    margin-top: 4px;
}

/* ========== 首页样式 ========== */
#HomePage {
    width: 100%;
    padding-bottom: 120px;
}

#bigData {
    padding: 100px;
    transition: all ease 0.6s;
    box-sizing: border-box;
}

#bigData .bigData-container {
    display: flex;
    align-items: flex-start;
}

#bigData .bigData-title {
    padding-bottom: 10px;
    font-size: 28px;
    font-weight: 500;
    color: #283d4b;
}

#bigData p {
    text-indent: 30px;
    font-size: 14px;
    color: #333;
    line-height: 2rem;
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 14px;
    width: 110px;
    height: 36px;
    background: #1a2832;
    border: 1px solid #1a2832;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}

.btn-content:hover {
    background: #283d4b;
    color: #fff;
}

/* 重点项目 */
.projects-section {
    width: 100%;
    background: #f5f5f5;
    padding: 40px 0;
}

.section-title {
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 28px;
    font-weight: 500;
    color: #283d4b;
    margin-bottom: 20px;
}

.project-item {
    min-width: 350px;
    margin: 20px;
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, .1);
    cursor: pointer;
    transition: transform 0.3s;
}

.project-item:hover {
    transform: translateY(-5px);
}

.project-item img {
    width: 350px;
    height: 200px;
    object-fit: cover;
}

.project-item-content {
    width: 350px;
    height: 100px;
    background: white;
    padding: 20px;
    text-align: center;
}

.project-item-title {
    font-size: 20px;
    font-weight: 400;
    color: rgba(0, 0, 0, .85);
}

.project-item-link {
    font-size: 14px;
    font-weight: 400;
    color: rgba(26, 40, 50, .5);
    margin-top: 10px;
}

/* 联系我们区块 */
.contact-section {
    width: 100%;
    background: white;
    padding: 40px 0;
}

.contact-items {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    width: 33.33%;
    border-right: 1px solid #dee2e6;
}

.contact-item:last-child {
    border-right: none;
}

.contact-item-inner {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.contact-item img {
    width: 24px;
    height: 24px;
}

.contact-item-text {
    margin-left: 15px;
}

.contact-item-label {
    font-size: 14px;
    font-weight: 400;
    color: rgba(0, 0, 0, .7);
}

.contact-item-value {
    font-size: 14px;
    font-weight: 400;
    color: #000;
    white-space: nowrap;
}

/* ========== 关于我们页面 ========== */
.about-page {
    padding: 40px 0;
}

.about-sidebar {
    background: #f5f5f5;
    padding: 20px;
}

.about-sidebar h3 {
    font-size: 18px;
    font-weight: 600;
    color: #283d4b;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1a2832;
    text-align: center;
}

.about-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-sidebar ul li {
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
    text-align: center;
}

.about-sidebar ul li a {
    color: #666;
    font-size: 14px;
    display: block;
}

.about-sidebar ul li a:hover,
.about-sidebar ul li.active a {
    color: #1a2832;
    font-weight: 600;
}

.about-content {
    padding: 20px;
}

.about-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: #283d4b;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1a2832;
}

.about-content .content-body {
    font-size: 14px;
    line-height: 2;
    color: #333;
}

.about-content .content-body img {
    max-width: 100%;
    height: auto;
}

/* ========== 新闻列表页 ========== */
.news-page {
    padding: 40px 0;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-item {
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

.news-item:hover {
    background: #f9f9f9;
}

.news-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-item-title {
    font-size: 16px;
    color: #333;
    flex: 1;
}

.news-item-date {
    font-size: 14px;
    color: #999;
    margin-left: 20px;
}

/* ========== 新闻详情页 ========== */
.news-detail {
    padding: 40px 0;
}

.news-detail h1 {
    font-size: 24px;
    font-weight: 600;
    color: #283d4b;
    margin-bottom: 15px;
}

.news-detail .news-meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.news-detail .news-body {
    font-size: 14px;
    line-height: 2;
    color: #333;
}

.news-detail .news-body img {
    max-width: 100%;
    height: auto;
}

/* ========== 联系我们页面 ========== */
#ContactUs {
    padding-bottom: 60px;
}

#ContactUs .ContactUs-container {
    padding: 80px 0;
    transition: all ease 0.5s;
    box-sizing: border-box;
}

#ContactUs #map {
    width: 100%;
    height: 365px;
    background: #e5e5e5;
}

#ContactUs .contact-title {
    font-size: 24px;
    color: rgba(0, 0, 0, .85);
    margin-bottom: 16px;
    font-weight: 600;
}

#ContactUs .lxwm {
    margin-top: 20px;
}

#ContactUs .lxwm-inner {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#ContactUs .lxwm-inner img {
    width: 24px;
    height: 24px;
}

#ContactUs .lxwm-text {
    margin-left: 15px;
}

#ContactUs .lxwm-label {
    font-size: 14px;
    font-weight: 400;
    color: rgba(0, 0, 0, .7);
}

#ContactUs .lxwm-value {
    font-size: 14px;
    font-weight: 400;
    color: #000;
}

@media screen and (max-width: 997px) {
    #ContactUs .ContactUs-container {
        padding: 20px 0;
    }
}

.contact-page {
    padding: 40px 0;
}

.contact-info-card {
    background: #f5f5f5;
    padding: 30px;
    margin-bottom: 30px;
}

.contact-info-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #283d4b;
    margin-bottom: 20px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info-item img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    margin-top: 2px;
}

.contact-info-item span {
    font-size: 14px;
    color: #666;
}

/* ========== 分页 ========== */
.custom-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.custom-pagination .pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-pagination .page-item .page-link {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    color: #666;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.custom-pagination .page-item .page-link:hover {
    color: #031934;
    border-color: #031934;
    background: #f5f5f5;
}

.custom-pagination .page-item.active .page-link {
    color: #fff;
    background: #031934;
    border-color: #031934;
}

.custom-pagination .page-item.disabled .page-link {
    color: #ccc;
    background: #f9f9f9;
    border-color: #eee;
    cursor: not-allowed;
}

.custom-pagination .page-item .page-link.prev,
.custom-pagination .page-item .page-link.next {
    padding: 8px 20px;
    font-weight: 500;
}

/* ========== 响应式 ========== */
@media screen and (max-width: 768px) {
    #header .header-nav {
        display: none;
    }

    #header .header-nav-m {
        display: block;
    }

    /* 首页基金会简介 - 手机端图文环绕 */
    #bigData {
        padding: 20px 15px;
    }

    #bigData .bigData-mobile {
        padding: 0 5px;
    }

    #bigData .bigData-title {
        font-size: 18px;
        margin-bottom: 15px;
        text-align: center;
    }

    #bigData .bigData-content {
        overflow: hidden;
    }

    #bigData .bigData-float-img {
        float: left;
        width: 120px;
        height: auto;
        margin: 5px 15px 10px 0;
    }

    #bigData .bigData-content p {
        font-size: 14px;
        line-height: 1.8;
        text-align: justify;
        margin-bottom: 10px;
    }

    /* 首页重点项目 */
    .projects-section {
        padding: 30px 15px;
    }

    .projects-section .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .project-item {
        min-width: 100%;
        margin: 10px 0;
    }

    .project-item img {
        width: 100%;
        height: auto;
    }

    .project-item-content {
        width: 100%;
    }

    .project-item-title {
        font-size: 16px;
    }

    /* 首页联系我们 */
    .contact-section {
        padding: 30px 15px;
    }

    .contact-section .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .contact-items {
        flex-direction: column;
        gap: 0;
    }

    .contact-item {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #dee2e6;
        justify-content: flex-start;
        padding: 15px 10px;
    }

    .contact-item:last-child {
        border-bottom: none;
    }

    .contact-item-inner {
        justify-content: flex-start;
    }

    .contact-item-inner img {
        width: 30px;
        height: 30px;
    }

    .contact-item-label {
        font-size: 12px;
    }

    .contact-item-value {
        font-size: 13px;
    }

    /* 页脚 */
    .footer-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    /* 通用按钮 */
    .btn-content {
        padding: 10px 30px;
        font-size: 14px;
    }

    /* 分页 */
    .custom-pagination .pagination {
        flex-wrap: wrap;
        gap: 5px;
    }

    .custom-pagination .page-item .page-link {
        padding: 6px 10px;
        font-size: 12px;
    }

    .custom-pagination .page-item .page-link.prev,
    .custom-pagination .page-item .page-link.next {
        padding: 6px 12px;
    }
}

@media screen and (min-width: 768px) and (max-width: 996px) {
    #bigData {
        padding: 40px 30px;
    }

    #bigData .bigData-title {
        font-size: 22px;
    }

    #bigData p {
        font-size: 15px;
    }

    .contact-items {
        flex-wrap: wrap;
    }

    .contact-item {
        width: 50%;
        border-bottom: 1px solid #dee2e6;
    }

    .contact-item:nth-child(2) {
        border-right: none;
    }

    .contact-item:last-child {
        width: 100%;
        border-right: none;
    }
}
