* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

:root {
    --primary: #F0B90B;
    --dark: #1E2026;
    --light: #F9F9F9;
    --text: #1E2026;
    --text-light: #5E6673;
}

body {
    background-color: #FFFFFF;
    color: var(--text);
    line-height: 1.6;
}

/* 头部导航 */
header {
    background: #FFFFFF;
    border-bottom: 1px solid #F0F0F0;
    padding: 12px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--dark);
}

.logo-icon {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: var(--text-light);
}
.nav-links a{
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: var(--text-light);
    text-decoration: none;
}

.nav-actions {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: #FFFFFF;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

/* 主横幅 */
.hero {
    text-align: center;
    padding: 100px 8% 250px;
    background: url('/static/bian_mb9/images/banner.png') no-repeat center center/cover;
}

.hero h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.hero p {
    max-width: 600px;
    margin: 0 auto 32px;
    font-size: 14px;
    color: #fff;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 优势模块 */
.features {
    padding: 40px 8%;
    max-width: 1400px;
    margin: 0 auto;
}

.features h2 {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 32px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: #FFFFFF;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 16px;
    background: #FFF8E1;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
}

.feature-card p span {
    color: var(--primary);
}

/* 行动号召模块 */
.cta {
    background: #FFF9EA;
    margin: 40px 8%;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.cta h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 24px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.cta-note {
    font-size: 12px;
    color: var(--text-light);
}

/* 页脚 */
footer {
    background: var(--dark);
    color: #FFFFFF;
    padding: 40px 8%;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    background: var(--primary);
}

.footer-about {
    font-size: 13px;
    color: #B7BDC6;
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #FFFFFF;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #B7BDC6;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid #3A3F47;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #B7BDC6;
}

.footer-keywords {
    margin-top: 8px;
    font-size: 11px;
    color: #7A818C;
}



/* ======================================
   新闻资讯板块样式
====================================== */
.news {
    padding: 60px 8%;
    background-color: #fafafa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-head {
    text-align: center;
    margin-bottom: 40px;
}

.section-head h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1E2026;
    margin-bottom: 10px;
}

.section-head p {
    font-size: 14px;
    color: #5E6673;
}

/* 新闻列表 */
.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
}

.news-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* 新闻图片 */
.news-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.news-item:hover .news-img img {
    transform: scale(1.05);
}

/* 新闻内容 */
.news-content {
    padding: 20px 24px;
}

.news-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.news-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 10px;
}

.news-title a {
    color: #1E2026;
    text-decoration: none;
}

.news-title a:hover {
    color: #F0B90B;
}

.news-desc {
    font-size: 13px;
    color: #5E6673;
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-more {
    font-size: 13px;
    color: #F0B90B;
    text-decoration: none;
    font-weight: 500;
}

.news-more:hover {
    text-decoration: underline;
}



/* 面包屑导航 */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    margin: 0 6px;
    color: #999;
}

/* 列表主体 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 8% 60px;
}

.page-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark);
}

/* 新闻列表 3×3 布局 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.news-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-info {
    padding: 16px;
}

.news-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 6px;
}

.news-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 8px;
}

.news-title a {
    color: #222;
    text-decoration: none;
}

.news-title a:hover {
    color: var(--primary);
}

.news-desc {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 翻页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.page-item {
    width: 50px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
}

.page-item.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.page-item:hover:not(.active) {
    border-color: var(--primary);
    color: var(--primary);
}



/* ========== 面包屑 ========== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 8%;
}

.breadcrumb {
    padding: 15px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    margin: 0 6px;
    color: #999;
}

/* ========== 新闻标题 ========== */
.article-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    margin: 10px 0 20px;
    color: #222;
}

/* ========== 作者 & 时间 ========== */
.article-meta {
    font-size: 14px;
    color: #888;
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
}

/* ========== 正文内容 ========== */
.article-content {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
    margin-bottom: 50px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0 20px;
}

.article-content h2 {
    font-size: 20px;
    margin: 30px 0 15px;
    color: #222;
}

/* ========== 相关文章推荐 ========== */
.related-wrap {
    margin: 60px 0;
}

.related-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f5f5f5;
}

.related-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-item {
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
}

.related-item:hover {
    transform: translateY(-3px);
}

.related-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-info {
    padding: 10px 0;
}

.related-item h3 {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 5px;
}

.related-item h3 a {
    color: #333;
    text-decoration: none;
}

.related-item h3 a:hover {
    color: var(--primary);
}

.related-desc {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


/* 响应式适配 */
@media (max-width: 768px) {
    header {
        padding: 12px 5%;
    }

    .related-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-title {
        font-size: 22px;
    }

    header,
    .container,
    footer {
        padding-left: 5%;
        padding-right: 5%;
    }

    .nav-links {
        display: none;
    }
    .hero {
    text-align: center;
    padding: 60px 8% 60px;
    background: url('/static/bian_mb9/images/banner.png') no-repeat center center/cover;
}

    .hero h1 {
        font-size: 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 20px 5% 40px;
    }

    .cta {
        margin: 40px 5%;
        padding: 30px 20px;
    }

    .news {
        padding: 40px 5%;
    }

    .news-list {
        grid-template-columns: 1fr;
    }

    footer {
        padding: 30px 5%;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* 响应式 */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}



/* 翻页功能 */
.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;
}