/* ==================== 基础变量 & 1440px 容器 ==================== */
:root {
    --rf-red: #8B0000;
    --rf-dark: #111111;
    --rf-gray: #666666;
    --rf-light: #f8f9fa;
    --rf-border: #eeeeee;
    --rf-white: #ffffff;
    --rf-text-light: rgba(255, 255, 255, 0.8);
}

.news-container {
    max-width: 1440px; /* 锁定 1440px 宽度 */
    margin: 0 auto;
    padding: 0 20px; /* 两侧留白，增加呼吸感 */
    box-sizing: border-box;
}

/* ==================== 顶部 Banner (优化后的对称布局) ==================== */
.rf-news-header {
    background-color: #111;
}

.header-banner {
    position: relative;
    height: 420px;
    display: flex;
    align-items: flex-end; /* 内容靠下对齐，衔接下方的面包屑 */
    padding-bottom: 60px;
    overflow: hidden;
}

.banner-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('../images/buss_banner.jpg') center/cover no-repeat;
    transform: scale(1);
    transition: 3s ease;
}

.rf-news-header:hover .banner-bg {
    transform: scale(1.08);
}

.banner-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.banner-content {
    position: absolute;
    z-index: 2;
    width: 1440px;
    top: 70%;
    margin: 0 auto;
}

.news-title .en-title {
    display: block;
    font-size: 14px;
    color: var(--rf-red);
    font-weight: 700;
    letter-spacing: 6px;
    margin-bottom: 10px;
}

.news-title .zh-title {
    font-size: 48px;
    color: var(--rf-white);
    font-weight: 700;
    margin-bottom: 30px;
}

/* 选项卡样式 */
.nav-tabs {
    display: flex;
    gap: 50px;
	padding-left:20px;
}

.tab-btn {
    position: relative;
    color: var(--rf-text-light);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding-bottom: 12px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn .dot {
    width: 6px; height: 6px;
    background: var(--rf-red);
    border-radius: 50%;
    opacity: 0;
    transition: 0.3s;
}

.tab-btn.active {
    color: var(--rf-white);
}

.tab-btn.active .dot {
    opacity: 1;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--rf-red);
    transition: 0.3s;
}

.tab-btn.active::after {
    width: 100%;
}

/* ==================== 面包屑导航栏 (选项卡下方) ==================== */
.rf-breadcrumb-bar {
    background: #fff;
    border-bottom: 1px solid var(--rf-border);
    padding: 20px 0;
}

.breadcrumb {
    font-size: 13px;
    color: var(--rf-gray);
    display: flex;
    align-items: center;
}

.breadcrumb a {
    color: var(--rf-gray);
    text-decoration: none;
    transition: 0.3s;
}

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

.breadcrumb .sep {
    margin: 0 12px;
    font-size: 10px;
    color: #ccc;
}

.breadcrumb .current {
    color: var(--rf-dark);
    font-weight: 600;
}

/* ==================== 列表 & 分页 (保持大气排版) ==================== */
.focus-section { padding: 60px 0; }
.focus-news { background: #fff; border: 1px solid var(--rf-border); overflow: hidden; }
.slide { display: flex; min-height: 400px; }
.slide-img { width: 60%; }
.slide-img img { width: 100%;object-fit: cover; }
.slide-info { width: 40%; padding: 50px; display: flex; flex-direction: column; justify-content: center; }
.focus-tag { color: var(--rf-red); font-size: 12px; font-weight: 700; letter-spacing: 2px; margin-bottom: 15px; }
.focus-title { font-size: 28px; line-height: 1.4; margin-bottom: 20px; }
.focus-title a { color: var(--rf-dark); text-decoration: none; }
.focus-desc { color: #777; line-height: 1.8; margin-bottom: 30px; }

.news-list-section { padding-bottom: 80px; }
.tag_list{margin-top:30px;}
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.news-item { background: #fff; border-bottom: 1px solid var(--rf-border); padding-bottom: 20px; transition: 0.3s; }
.news-item:hover { transform: translateY(-5px); }
.item-img-link { display: block; height: 240px; margin-bottom: 20px; overflow: hidden; }
.item-img-link img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.news-item:hover .item-img-link img { transform: scale(1.1); }
.item-body h3 { font-size: 18px; margin-bottom: 12px; line-height: 1.5; }
.item-body h3 a { color: var(--rf-dark); text-decoration: none; }
.item-footer { font-size: 12px; color: #999; display: flex; justify-content: space-between; align-items: center; margin-top: 15px; }

.pagination { margin-top: 60px; display: flex; justify-content: center; gap: 10px; }
.pagination .page-numbers { padding: 8px 16px; border: 1px solid var(--rf-border); color: var(--rf-dark); text-decoration: none; transition: 0.3s; }
.pagination .page-numbers.current { background: var(--rf-red); color: #fff; border-color: var(--rf-red); }
.pagination .page-numbers:hover:not(.current) { border-color: var(--rf-red); color: var(--rf-red); }

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

@media (max-width: 768px) {
    .news-container { padding: 0 20px; }
    .header-banner { height: 300px; padding-bottom: 40px; }
    .news-title .zh-title { font-size: 32px; }
    .nav-tabs { gap: 20px; overflow-x: auto; white-space: nowrap; }
    .slide { flex-direction: column; }
    .slide-img, .slide-info { width: 100%; }
    .slide-info { padding: 30px; }
    .news-grid { grid-template-columns: 1fr; }
}
        /* 轮播图核心样式修正，确保不影响页面其他布局 */
        .focus-news.swiper { width: 100%; height: auto; overflow: hidden; position: relative; }
        .focus-news .swiper-slide { height: auto; display: flex; }
        .focus-news .slide { width: 100%; display: flex; flex-wrap: wrap; background: #fff; }
        
        /* 左右导航按钮样式 - 瑞峰红定制 */
        .swiper-button-next, .swiper-button-prev { color: #8B0000 !important; background: rgba(255,255,255,0.8); width: 40px; height: 40px; border-radius: 50%; }
        .swiper-button-next:after, .swiper-button-prev:after { font-size: 18px !important; font-weight: bold; }
        .swiper-pagination-bullet-active { background: #8B0000 !important; }
        
        @media (max-width: 768px) {
            .focus-news .swiper-button-next, .focus-news .swiper-button-prev { display: none; } /* 移动端隐藏箭头 */
        }