/* 新闻中心页面样式 */

/* Hero Banner */
.page-hero {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 新闻列表 */
.news-section {
    padding: 60px 0;
    background: #F5F7FA;
}

.news-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 350px 1fr;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.15);
}

.news-image {
    background: #F8F9FA;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-placeholder {
    text-align: center;
    padding: 30px;
}

.placeholder-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 15px;
}

.placeholder-text {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.6;
}

.news-content {
    padding: 30px;
}

.news-category {
    display: inline-block;
    background: #F0F7FF;
    color: #0066FF;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.news-content h3 {
    font-size: 1.4rem;
    color: #2D2D2D;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-excerpt {
    color: #666666;
    line-height: 1.7;
    margin-bottom: 25px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #E0E0E0;
}

.news-date {
    color: #999999;
    font-size: 0.9rem;
}

.btn-link {
    color: #0066FF;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.btn-link:hover {
    color: #0052CC;
}

/* CTA */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    text-align: center;
    color: #FFFFFF;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.wechat-qr {
    display: flex;
    justify-content: center;
}

.qr-placeholder {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.qr-icon {
    font-size: 5rem;
    display: block;
    margin-bottom: 15px;
}
.qr-icon img{
    width: 100%;
    height: 100%;
}

.qr-text {
    color: #666666;
    font-size: 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-hero {
        height: 200px;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

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

    .news-image {
        min-height: 200px;
    }

    .news-content {
        padding: 25px 20px;
    }

    .news-content h3 {
        font-size: 1.2rem;
    }

    .news-meta {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .wechat-qr {
        overflow-x: auto;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .news-card {
        grid-template-columns: 300px 1fr;
    }
}
