
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
    color: #1f2937;
    line-height: 1.5;
    scroll-behavior: smooth;
}

/* 容器统一最大宽度 */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== 头部样式 ========== */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(0px);
}

.header-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 16px;
}

.logo-area h1 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.logo-area p {
    font-size: 0.75rem;
    color: #6b7280;
    letter-spacing: 0.3px;
}

/* 导航菜单 */
.main-nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 28px;
}

.main-nav a {
    text-decoration: none;
    font-weight: 600;
    color: #374151;
    transition: color 0.2s ease;
    font-size: 1rem;
}

.main-nav a:hover, .main-nav a.active {
    color: #2a5298;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-icon {
    font-size: 1.2rem;
    color: #4b5563;
    cursor: default;
}

/* ========== Hero特色新闻区域 ========== */
.hero-section {
    margin: 32px 0 40px 0;
}

.hero-card {
    background-image: url('/common/img/hore_bj.jpg');
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center 30%;
    border-radius: 28px;
    padding: 48px 40px;
    color: white;
    position: relative;
    transition: transform 0.2s;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.2);
}

.hero-tag {
    display: inline-block;
    background-color: #e11d48;
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero-card h2 {
    color:white;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
    max-width: 70%;
}

.hero-card p {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 60%;
    margin-bottom: 28px;
}

.btn-primary {
    background-color: white;
    color: #1f2937;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    color: #111;
}

.btn-primary:hover {
    background-color: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* 双栏布局 (最新新闻 + 侧边栏) */
.two-columns {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin: 48px 0;
}

/* 最新新闻网格 (2列卡片) */
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    border-left: 6px solid #2a5298;
    padding-left: 16px;
    margin-bottom: 28px;
    letter-spacing: -0.3px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.news-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 28px -12px rgba(0,0,0,0.12);
}

.card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 20px 20px 24px;
    flex: 1;
}

.category-badge {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #2a5298;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: inline-block;
}

.card-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.card-content h3 a {
    text-decoration: none;
    color: #111827;
    transition: color 0.2s;
}

.card-content h3 a:hover {
    color: #2a5298;
}

.meta {
    display: flex;
    gap: 15px;
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.meta i {
    margin-right: 4px;
    font-size: 0.7rem;
}

.excerpt {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

.read-more {
    font-weight: 600;
    font-size: 0.85rem;
    color: #2a5298;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* 侧边栏样式 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sidebar-widget {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.widget-follow .social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.widget-follow .social-links a {
    text-decoration: none;
    color: #1e293b;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}
/*.widget-title:after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    bottom: -8px;*/
/*    left: 0;*/
/*    width: 40px;*/
/*    height: 3px;*/
/*    background: #2a5298;*/
/*    border-radius: 4px;*/
/*}*/

.content-adv{
    margin: 2rem 0;
}

.hot-list {
    list-style: none;
    margin-top: 8px;
}
.hot-list li {
    border-bottom: 1px solid #f0f2f5;
    padding: 16px 0;
}
.hot-list li:first-child {
    padding-top: 0;
}
.hot-list a {
    text-decoration: none;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    gap: 12px;
    align-items: center;
    transition: color 0.2s;
}
.hot-list a:hover {
    color: #2a5298;
}
.trend-num {
    background: #eef2ff;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 800;
    color: #2a5298;
}
.trend-title {
    flex: 1;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 12px;
}
.newsletter-form input {
    padding: 12px 16px;
    border-radius: 60px;
    border: 1px solid #e2e8f0;
    font-family: inherit;
    outline: none;
    transition: 0.2s;
}
.newsletter-form input:focus {
    border-color: #2a5298;
    box-shadow: 0 0 0 3px rgba(42,82,152,0.1);
}
.btn-sub {
    background-color: #1f2937;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 60px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-sub:hover {
    background-color: #2a5298;
}
.social-links {
    display: flex;
    gap: 24px;
    margin-top: 12px;
}
.social-links a {
    color: #4b5563;
    /*font-size: 1.6rem;*/
    transition: color 0.2s;
}
.social-links a:hover {
    color: #2a5298;
}

/* 页脚 */
.site-footer {
    background: #111827;
    color: #e5e7eb;
    padding: 48px 0 28px;
    margin-top: 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: white;
}
.footer-col p, .footer-col ul {
    font-size: 0.85rem;
    line-height: 1.6;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-col a:hover {
    color: white;
}
.copyright {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid #1f2937;
    font-size: 0.8rem;
    color: #9ca3af;
}

/* 响应式 */
@media (max-width: 992px) {
    .hero-card h2 {
        font-size: 2rem;
        max-width: 85%;
    }
    .hero-card p {
        max-width: 80%;
    }
    .news-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    .header-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    .main-nav ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .hero-card {
        padding: 32px 24px;
    }
    .hero-card h2 {
        font-size: 1.8rem;
        max-width: 100%;
    }
    .hero-card p {
        max-width: 100%;
    }
    .two-columns {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .card-img img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .hero-card h2 {
        font-size: 1.5rem;
    }
    .btn-primary {
        padding: 10px 20px;
    }
}

/* 图片占位优化SEO alt全部填充 */
img {
    alt: "新闻配图";
}