/* 主容器 */
.main-container {
    width: 100%;
    margin: 0 auto;
}
/* 顶部 banner：PC 端视频 / 移动端图片 + 标题覆盖层（跟首页一致） */
.news-banner {
    width: 100%;
    position: relative;
    overflow: hidden;
}
.news-banner img,
.news-banner video {
    width: 100%;
    display: block;
}
/* PC 端：显示视频，固定高 620px、宽度自适应 */
.news-banner-video {
    display: block;
    width: 100%;
    height: 620px;
    object-fit: cover;
    background: #000;
}
/* 移动端：默认隐藏视频、显示图片 */
.news-banner-img {
    display: none;
}
/* 标题覆盖层：默认隐藏 */
.news-banner-title {
    display: none;
}
@media (max-width: 768px) {
    /* 移动端：隐藏视频、显示图片 */
    .news-banner-video {
        display: none;
    }
    .news-banner-img {
        display: block;
    }
    /* 移动端：标题在图片下方居中显示 */
    .news-banner-title {
        display: block;
        position: relative;
        text-align: center;
        font-size: 20px;
        font-weight: 700;
        color: #333;
        padding: 16px 0;
        background: #fff;
    }
}
@media (min-width: 769px) {
    /* PC 端：标题压在视频中央 */
    .news-banner-title {
        display: block;
        position: absolute;
        top: 50%;
        left: 20%;
        transform: translate(-50%, -50%);
        text-align: center;
        color: #fff;
        font-size: clamp(32px, 4vw, 56px);
        font-weight: 700;
        letter-spacing: 4px;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
        margin: 0;
        z-index: 2;
        pointer-events: none;
    }
}
/* 资讯列表容器：PC 端 3x3 宫格，移动端单列堆叠 */
.news-list {
    padding: 20px 15px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    background: #fff;
}
/* 通用资讯卡片 */
.news-item-card {
    width: 100%;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.news-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
/* 卡片图片 */
.news-card-img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #eee;
}
.news-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}
/* 卡片文本区 */
.news-card-text {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}
/* 标题：最多 2 行 */
.news-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}
/* 底部来源 / 时间 */
.news-card-meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
    gap: 8px;
}
.news-card-source {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.news-card-time {
    flex-shrink: 0;
}
/* PC 端：3x3 宫格，自适应 */
@media (min-width: 769px) {
    .news-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        justify-content: center;
        padding: 40px 30px;
        max-width: 1500px;
        margin: 0 auto;
        box-sizing: border-box;
    }
    .news-item-card {
        width: 100%;
        max-width: 449px;
    }
    .news-card-img {
        width: 100%;
        aspect-ratio: 449 / 259;
        object-fit: cover;
    }
    .news-card-text {
        width: 100%;
        box-sizing: border-box;
        padding: 18px 20px;
    }
    .news-card-title {
        font-size: 18px;
        margin-bottom: 0;
    }
    .news-card-meta {
        font-size: 13px;
    }
}
/* 分页样式 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    gap: 15px;
    font-size: 14px;
}
.pagination-btn {
    color: #333;
    text-decoration: none;
}
.pagination-btn.disabled {
    color: #999;
    cursor: not-allowed;
    pointer-events: none;
}
.pagination-page {
    font-weight: bold;
    color: #ff8c00;
}
/* 底部导航&联系方式（设计图原生） */
.footer-nav {
    margin: 0 15px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.footer-nav-item {
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #eee;
}
.footer-nav-item:last-child {
    border-bottom: none;
}
.footer-nav-text {
    font-size: 14px;
    color: #333;
}
.footer-nav-icon {
    font-size: 12px;
    color: #999;
}
/* 联系方式 */
.contact-info {
    padding: 20px 15px;
    background-color: #000;
    color: #fff;
}
.contact-phone {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
}
.contact-tel {
    font-size: 16px;
    margin-bottom: 15px;
}
.contact-qrcode {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}
.contact-qrcode img {
    width: 80px;
    height: 80px;
}
.contact-qrcode-text {
    font-size: 12px;
    color: #999;
}
.contact-address {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
}
/* 占位图样式 */
.placeholder-img {
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}