* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #f7931a;
}

.nav {
    flex: 1;
    margin-left: 40px;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-size: 15px;
    color: #333;
    transition: color 0.3s;
}

.nav-list a:hover,
.nav-list a.active {
    color: #f7931a;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-select {
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 5px 12px;
}

.search-box input {
    border: none;
    outline: none;
    font-size: 14px;
    width: 120px;
}

.search-box button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.main {
    padding: 20px 0;
}

.main-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
}

.banner {
    margin-bottom: 20px;
}

.banner-content {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    padding: 20px;
}

.banner-text h1 {
    font-size: 22px;
    color: #222;
    line-height: 1.4;
}

.section-title {
    font-size: 18px;
    color: #f7931a;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid #f7931a;
}

.article-list {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
}

.article-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.article-item:last-child {
    border-bottom: none;
}

.article-item a {
    display: flex;
    gap: 15px;
}

.article-image {
    width: 180px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.article-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-info h3 {
    font-size: 16px;
    color: #222;
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.3s;
}

.article-item a:hover h3 {
    color: #f7931a;
}

.article-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    flex: 1;
}

.article-time {
    font-size: 12px;
    color: #999;
}

.load-more {
    text-align: center;
    margin-top: 20px;
}

.load-more button {
    background: #f7931a;
    color: #fff;
    border: none;
    padding: 12px 40px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.load-more button:hover {
    background: #e68310;
}

.sidebar-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.sidebar-title {
    font-size: 16px;
    color: #222;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f7931a;
}

.topic-list li,
.hot-list li {
    margin-bottom: 12px;
}

.topic-list a,
.hot-list a {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    transition: color 0.3s;
    display: block;
}

.topic-list a:hover,
.hot-list a:hover {
    color: #f7931a;
}

.sidebar-more {
    text-align: center;
    margin-top: 15px;
}

.sidebar-more a {
    display: inline-block;
    background: #f7931a;
    color: #fff;
    padding: 8px 24px;
    border-radius: 4px;
    font-size: 13px;
    transition: background 0.3s;
}

.sidebar-more a:hover {
    background: #e68310;
}

.tabs {
    display: flex;
    gap: 10px;
}

.tab-btn {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}

.tab-btn.active {
    background: #f7931a;
    color: #fff;
    border-color: #f7931a;
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.partner-logos a {
    display: block;
    border-radius: 4px;
    overflow: hidden;
}

.partner-logos img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.footer {
    background: #1a1a1a;
    color: #999;
    padding: 40px 0;
    margin-top: 40px;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: #f7931a;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #999;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copyright p {
    font-size: 13px;
    line-height: 2;
}

@media (max-width: 992px) {
    .main-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: #fff;
        margin-left: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        max-height: 400px;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0 15px;
    }

    .nav-list li {
        border-bottom: 1px solid #eee;
    }

    .nav-list a {
        display: block;
        padding: 15px 0;
    }

    .hamburger {
        display: flex;
    }

    .search-box input {
        width: 80px;
    }

    .article-item a {
        flex-direction: column;
    }

    .article-image {
        width: 100%;
    }

    .article-image img {
        height: 180px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .header-right {
        gap: 10px;
    }

    .search-box {
        display: none;
    }

    .banner-image {
        height: 200px;
    }

    .banner-text h1 {
        font-size: 18px;
    }

    .article-info h3 {
        font-size: 15px;
    }
}







.article-detail {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
}

.article-title {
    font-size: 24px;
    color: #222;
    margin-bottom: 20px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: #999;
    font-size: 14px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 20px 0;
}

.article-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.article-tags span {
    display: inline-block;
    background: #f5f5f5;
    color: #666;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.related-articles {
    margin-top: 40px;
}

.related-articles h3 {
    font-size: 18px;
    color: #222;
    margin-bottom: 20px;
}





/* 翻页功能 */
.pagination-wrap {
    padding: 20px 10px;
    margin-top: 20px;
    border-radius: 8px;
}

.pagination-wrap .paging-cls {
    text-align: center;
}

.pagination-wrap .paging-cls li {
    display: inline-block;
    margin: 0 5px;
    list-style: none;
}

.pagination-wrap .paging-cls span,
.pagination-wrap .paging-cls a {
    display: inline-block;
    border: 1px solid #eef3f8;
    border-radius: 5px;
    height: 44px;
    line-height: 44px;
    width: 44px;
    margin: 0 3px;
    font-size: 14px;
    color: #000000;
    text-decoration: none;
}

.pagination-wrap .paging-cls span:hover,
.pagination-wrap .paging-cls a:hover {
    background: #F0B90B;
    color: #fff !important;
}

.pagination-wrap .paging-cls .current {
    background: #F0B90B;
    color: #fff;
    font-weight: bold;
}

.pagination-wrap .paging-cls .fa-angle-double-left::before {
    content: "<";
}

.pagination-wrap .paging-cls .fa-angle-double-right::before {
    content: ">";
}

.pagination-wrap .active a{
    background-color: #F0B90B !important;
    color: #fff !important;
    font-weight: bold;
}