/* ===== 新闻列表页专用样式 ===== */

.news-hero {
    position: relative;
    /* 作为定位参照 */
    width: 100%;
    height: 0;
    margin-top: 90px;
    overflow: hidden;
    height: 650px;

}

/* 独立图片 */
.hero-img {
    height: 650px;

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* 关键：完整显示，不裁剪 */
    filter: brightness(0.55);
    /* 保证文字可读 */
    z-index: 1;
}

/* 文字层 */
.hero-content {
    position: absolute;
    inset: 0;
    /* 等价于 top:0;right:0;bottom:0;left:0 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, .4);
}



.hero-desc {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 40px;
    line-height: 1.6;
    color: #e0e0e0;
}

.news-page-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    margin-top: 120px;
    color: #111;
    text-align: center;
}

.news-list {
    max-width: 1300px;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    width: 85%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}

.news-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.news-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.news-thumb {
    width: 100%;
    height: 300px;
    flex-shrink: 0;
}

.news-txt {
    padding: 20px 24px;
    flex: 1;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #222;
    margin: 0 0 8px;
    line-height: 1.4;
}

.news-date {
    font-size: .9rem;
    color: #888;
    margin-bottom: 10px;
}

.news-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #444;
}

/* 关键词高亮 */
.news-desc strong {
    color: #3498db;
}

/* ===== 响应式：手机端图在上字在下 ===== */
@media (max-width: 768px) {
    .news-hero {
        margin-top: -20px;
        min-height: 400px;
        height: 30vh;
    }

    .news-list {
        grid-template-columns: 1fr;
        /* 单列布局 */
        gap: 20px;
        /* 调整间距 */
    }

    .news-link {
        flex-direction: column;
    }

    .news-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .news-txt {
        padding: 18px 20px;
    }

    .news-title {
        font-size: 1.1rem;
    }
}

/* 面包屑导航的响应式调整 */
.breadcrumb-nav {
    margin: 80px -30px !important;
}

@media (max-width: 768px) {
    .breadcrumb-nav {
        margin: 40px 0px;
        /* 减小面包屑导航的上下间距 */
    }

    .breadcrumb-inner {
        font-size: 0.9rem;
        /* 减小字体大小 */
    }
}