/* ========== 全局变量与重置 ========== */
:root {
    --primary-color: #df3031;
    --primary-dark: #c62828;
    --text-dark: #333;
    --text-gray: #666;
    --text-light: #999;
    --bg-gray: #f8f9fa;
    --border-color: #eee;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ========== 通栏通用样式 ========== */
.layout {
    padding: 60px 0;
}

.layout.bg-gray {
    background-color: var(--bg-gray);
}

.section-title {
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 2px;
}

.section-title h2 span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-light);
    margin-left: 12px;
    text-transform: uppercase;
}

.title-line {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-title .sub-desc {
    font-size: 16px;
    color: var(--text-gray);
    margin-top: 15px;
}

/* ========== 新闻资讯通栏 ========== */
.news-tabs .tab-nav {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    border-bottom: 2px solid var(--border-color);
}

.news-tabs .tab-nav li {
    margin: 0 5px;
}

.news-tabs .tab-nav li a {
    display: block;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-gray);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s;
}

.news-tabs .tab-nav li.active a {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.news-tabs .tab-nav li a:hover {
    color: var(--primary-color);
}

.news-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.news-left {
    flex: 1;
    min-width: 300px;
    padding: 0 15px;
}

.news-right {
    flex: 0 0 360px;
    padding: 0 15px;
}

.carousel-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.carousel-item {
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}

.carousel-caption h3 {
    font-size: 18px;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.carousel-caption p {
    font-size: 14px;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list .news-time {
    flex-shrink: 0;
    width: 90px;
    color: var(--text-light);
    font-size: 14px;
}

.news-list li a {
    flex: 1;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s;
}

.news-list li a:hover {
    color: var(--primary-color);
}

/* ========== 任务大厅通栏 ========== */
.task-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.task-item {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}

.task-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.task-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 13px;
}

.task-forum {
    color: var(--primary-color);
    font-weight: 500;
}

.task-time {
    color: var(--text-light);
}

.task-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 15px;
    min-height: 48px;
}

.task-title a {
    color: var(--text-dark);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.task-title a:hover {
    color: var(--primary-color);
}

.task-meta {
    font-size: 13px;
    color: var(--text-light);
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
}

.task-author {
    display: flex;
    align-items: center;
}

.empty-data {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
    font-size: 14px;
}

/* ========== 志愿设计师通栏 ========== */
.designer-carousel {
    padding: 0 40px;
}

.designer-card {
    padding: 10px;
}

.card-inner {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px 20px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card-inner:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.designer-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.designer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.designer-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.designer-level {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.designer-location {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.designer-bio {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.designer-link a {
    display: inline-block;
    padding: 6px 20px;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s;
}

.designer-link a:hover {
    background: var(--primary-color);
    color: #fff;
}

/* ========== 运营中心通栏 ========== */
.center-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.center-left {
    flex: 0 0 380px;
    padding: 0 15px;
}

.center-right {
    flex: 1;
    padding: 0 15px;
}

.block-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
}

.block-title span {
    position: relative;
}

.block-title span::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.center-news {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.center-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.center-news-list li {
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-color);
    display: flex;
    align-items: center;
}

.center-news-list li:last-child {
    border-bottom: none;
}

.center-news-list .news-date {
    flex-shrink: 0;
    width: 50px;
    color: var(--text-light);
    font-size: 13px;
}

.center-news-list li a {
    flex: 1;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s;
}

.center-news-list li a:hover {
    color: var(--primary-color);
}

.center-list {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.center-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.center-item {
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.center-item:hover {
    border-color: var(--primary-color);
    background: #fef6f6;
}

.center-code {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.center-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.center-level {
    font-size: 13px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.center-address {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.center-address i {
    margin-right: 4px;
}

.qrcode-tip {
    position: absolute;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
}

.qrcode-tip img {
    width: 120px;
    height: 120px;
    display: block;
}

/* ========== 响应式设计 ========== */
@media screen and (max-width: 992px) {
    .layout {
        padding: 40px 0;
    }

    .section-title h2 {
        font-size: 28px;
    }

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

    .news-right {
        flex: auto;
        margin-top: 20px;
    }

    .task-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .center-left {
        flex: 100%;
        margin-bottom: 20px;
    }

    .center-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .section-title h2 {
        font-size: 24px;
    }

    .section-title h2 span {
        font-size: 14px;
        margin-left: 8px;
    }

    .news-tabs .tab-nav li a {
        padding: 10px 15px;
        font-size: 16px;
    }

    .carousel-item img {
        height: 180px;
    }

    .task-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .designer-carousel {
        padding: 0 20px;
    }

    .center-items {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .layout {
        padding: 30px 0;
    }

    .section-title h2 {
        font-size: 22px;
    }

    .news-tabs .tab-nav {
        flex-wrap: wrap;
    }

    .news-tabs .tab-nav li {
        width: 33.33%;
        text-align: center;
        margin: 0;
    }

    .news-tabs .tab-nav li a {
        padding: 8px 0;
        font-size: 14px;
    }

    .news-list li {
        flex-wrap: wrap;
    }

    .news-list .news-time {
        width: 100%;
        margin-bottom: 5px;
    }

    .center-item {
        padding: 12px;
    }
}

/* ========== 新闻资讯通栏（优化版） ========== */
.tab-pane { display: block; }
.tab-pane:not(.active) { display: none; }

.news-grid { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.news-left { flex: 1; min-width: 300px; padding: 0 15px; }
.news-right { flex: 0 0 360px; padding: 0 15px; }

.carousel-container { position: relative; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); }
.carousel-item img { width: 100%; height: 240px; object-fit: cover; display: block; }
.carousel-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: #fff; }
.carousel-caption h3 { font-size: 18px; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.carousel-caption p { font-size: 14px; opacity: 0.9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.news-list { list-style: none; padding: 0; margin: 0; }
.news-list li { padding: 15px 0; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; }
.news-list li:last-child { border-bottom: none; }
.news-list .news-time { flex-shrink: 0; width: 90px; color: var(--text-light); font-size: 14px; }
.news-list li a { flex: 1; color: var(--text-dark); text-decoration: none; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.3s; }
.news-list li a:hover { color: var(--primary-color); }

@media screen and (max-width: 992px) {
    .news-grid { flex-direction: column; }
    .news-right { flex: auto; margin-top: 20px; }
}


/* ========== 新闻 Tab 核心样式 ========== */
.news-tabs .tab-nav {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    border-bottom: 2px solid #eee;
}
.news-tabs .tab-nav li {
    margin: 0 10px;
}
.news-tabs .tab-nav li a {
    display: block;
    padding: 10px 25px;
    font-size: 18px;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}
.news-tabs .tab-nav li.active a {
    color: #df3031;
    border-bottom-color: #df3031;
}
.news-tabs .tab-nav li a:hover {
    color: #df3031;
}

/* Tab 内容面板 - 默认隐藏，active 显示 */
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}

/* 新闻网格布局 */
.news-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
.news-left {
    flex: 1;
    min-width: 300px;
    padding: 0 15px;
}
.news-right {
    flex: 0 0 360px;
    padding: 0 15px;
}

/* 轮播容器 */
.carousel-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.carousel-container .item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}
.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}
.carousel-caption h3 {
    font-size: 18px;
    margin-bottom: 5px;
}
.carousel-caption p {
    font-size: 14px;
    opacity: 0.9;
}

/* 新闻列表 */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.news-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}
.news-list li:last-child {
    border-bottom: none;
}
.news-list .news-time {
    flex-shrink: 0;
    width: 90px;
    color: #999;
    font-size: 14px;
}
.news-list li a {
    flex: 1;
    color: #333;
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s;
}
.news-list li a:hover {
    color: #df3031;
}

/* 响应式 */
@media screen and (max-width: 992px) {
    .news-grid {
        flex-direction: column;
    }
    .news-right {
        flex: auto;
        margin-top: 20px;
    }
}

.news-section .news-tabs .tab-nav {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
}
.news-section .news-tabs .tab-nav li {
    float: none !important;
}
/* ========== 新闻资讯模块样式 ========== */
.news-tabs .tab-nav {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    border-bottom: 2px solid #eee;
}
.news-tabs .tab-nav li {
    margin: 0 15px;
}
.news-tabs .tab-nav li a {
    display: block;
    padding: 10px 25px;
    font-size: 18px;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}
.news-tabs .tab-nav li.active a {
    color: #df3031;
    border-bottom-color: #df3031;
}
.news-tabs .tab-nav li a:hover {
    color: #df3031;
}

/* Tab 内容面板 */
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}

/* 新闻网格布局 */
.news-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
.news-left {
    flex: 1;
    min-width: 300px;
    padding: 0 15px;
}
.news-right {
    flex: 0 0 360px;
    padding: 0 15px;
}

/* 轮播容器 */
.carousel-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.carousel-container .item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}
.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}
.carousel-caption h3 {
    font-size: 18px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.carousel-caption p {
    font-size: 14px;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 新闻列表 */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.news-list li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}
.news-list li:last-child {
    border-bottom: none;
}
.news-list .news-time {
    flex-shrink: 0;
    width: 90px;
    color: #999;
    font-size: 14px;
}
.news-list li a {
    flex: 1;
    color: #333;
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s;
}
.news-list li a:hover {
    color: #df3031;
}

/* 响应式 */
@media screen and (max-width: 992px) {
    .news-grid {
        flex-direction: column;
    }
    .news-right {
        flex: auto;
        margin-top: 20px;
    }
}
@media screen and (max-width: 768px) {
    .news-tabs .tab-nav li a {
        padding: 10px 15px;
        font-size: 16px;
    }
    .carousel-container .item img {
        height: 180px;
    }
}

/* ========== 新闻资讯模块样式（稳定版） ========== */
.news-tabs .tab-nav {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    border-bottom: 2px solid #eee;
}
.news-tabs .tab-nav li {
    margin: 0 15px;
}
.news-tabs .tab-nav li a {
    display: block;
    padding: 10px 25px;
    font-size: 18px;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}
.news-tabs .tab-nav li.active a {
    color: #df3031;
    border-bottom-color: #df3031;
}
.news-tabs .tab-nav li a:hover {
    color: #df3031;
}

.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}

.news-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
.news-left {
    flex: 1;
    min-width: 300px;
    padding: 0 15px;
}
.news-right {
    flex: 0 0 360px;
    padding: 0 15px;
}

.carousel-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.carousel-container .item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}
.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}
.carousel-caption h3 {
    font-size: 18px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.carousel-caption p {
    font-size: 14px;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.news-list li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}
.news-list li:last-child {
    border-bottom: none;
}
.news-list .news-time {
    flex-shrink: 0;
    width: 90px;
    color: #999;
    font-size: 14px;
}
.news-list li a {
    flex: 1;
    color: #333;
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s;
}
.news-list li a:hover {
    color: #df3031;
}

@media screen and (max-width: 992px) {
    .news-grid {
        flex-direction: column;
    }
    .news-right {
        flex: auto;
        margin-top: 20px;
    }
}
@media screen and (max-width: 768px) {
    .news-tabs .tab-nav li a {
        padding: 10px 15px;
        font-size: 16px;
    }
    .carousel-container .item img {
        height: 180px;
    }
}

/* ========== 新闻资讯模块（专业版） ========== */
.news-tabs .tab-nav {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    border-bottom: 2px solid #eee;
}
.news-tabs .tab-nav li {
    margin: 0 15px;
}
.news-tabs .tab-nav li a {
    display: block;
    padding: 10px 25px;
    font-size: 18px;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}
.news-tabs .tab-nav li.active a {
    color: #df3031;
    border-bottom-color: #df3031;
}
.news-tabs .tab-nav li a:hover {
    color: #df3031;
}

.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}

.news-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
.news-left {
    flex: 1;
    min-width: 300px;
    padding: 0 15px;
}
.news-right {
    flex: 0 0 360px;
    padding: 0 15px;
}

.carousel-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.carousel-container .item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.3s;
}
.carousel-container .item:hover img {
    transform: scale(1.02);
}
.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}
.carousel-caption h3 {
    font-size: 18px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.carousel-caption p {
    font-size: 14px;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.news-list li {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}
.news-list li:last-child {
    border-bottom: none;
}
.news-list .news-time {
    flex-shrink: 0;
    width: 90px;
    color: #999;
    font-size: 14px;
}
.news-list li a {
    flex: 1;
    color: #333;
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s;
}
.news-list li a:hover {
    color: #df3031;
}

/* 响应式 */
@media screen and (max-width: 992px) {
    .news-grid {
        flex-direction: column;
    }
    .news-right {
        flex: auto;
        margin-top: 20px;
    }
}
@media screen and (max-width: 768px) {
    .news-tabs .tab-nav li {
        margin: 0 5px;
    }
    .news-tabs .tab-nav li a {
        padding: 10px 12px;
        font-size: 16px;
    }
    .carousel-container .item img {
        height: 180px;
    }
    
    /* ========== 新闻资讯模块（专业版） ========== */
.news-tabs .tab-nav {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    border-bottom: 2px solid #eee;
}
.news-tabs .tab-nav li {
    margin: 0 15px;
}
.news-tabs .tab-nav li a {
    display: block;
    padding: 10px 25px;
    font-size: 18px;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}
.news-tabs .tab-nav li.active a {
    color: #df3031;
    border-bottom-color: #df3031;
}
.news-tabs .tab-nav li a:hover {
    color: #df3031;
}

.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}

.news-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
.news-left {
    flex: 1;
    min-width: 300px;
    padding: 0 15px;
}
.news-right {
    flex: 0 0 360px;
    padding: 0 15px;
}

.carousel-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.carousel-container .item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.3s;
}
.carousel-container .item:hover img {
    transform: scale(1.02);
}
.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}
.carousel-caption h3 {
    font-size: 18px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.carousel-caption p {
    font-size: 14px;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.news-list li {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}
.news-list li:last-child {
    border-bottom: none;
}
.news-list .news-time {
    flex-shrink: 0;
    width: 90px;
    color: #999;
    font-size: 14px;
}
.news-list li a {
    flex: 1;
    color: #333;
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s;
}
.news-list li a:hover {
    color: #df3031;
}

/* 响应式 */
@media screen and (max-width: 992px) {
    .news-grid {
        flex-direction: column;
    }
    .news-right {
        flex: auto;
        margin-top: 20px;
    }
}
@media screen and (max-width: 768px) {
    .news-tabs .tab-nav li {
        margin: 0 5px;
    }
    .news-tabs .tab-nav li a {
        padding: 10px 12px;
        font-size: 16px;
    }
    .carousel-container .item img {
        height: 180px;
    }
}