/* 新闻中心页面专属样式 */
.news-page {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    background-color: transparent;
}

/* 背景图容器 */
.news-page .news-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.news-page .news-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    transition: transform 0.5s ease-out;
}

.news-page .news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.news-page .news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}

.news-page .news-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.news-page .news-title h2 {
    font-size: 42px;
    color: #333333;
    margin-bottom: 5px;
    position: relative;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.news-page .news-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.news-page .news-title .news-subtitle {
    font-size: 120px;
    color: rgba(0, 0, 0, 0.06);
    font-weight: 800;
    line-height: 1;
    margin-top: -20px;
    letter-spacing: -0.03em;
}

/* 添加按钮样式 */
.news-add {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    font-size: 24px;
    transition: all 0.3s ease;
}

.news-add:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* 新闻标签样式 */
.news-page .news-tag {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(66, 133, 244, 0.1);
    color: #2563eb;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
}

/* 新闻列表样式 */
.news-page .news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
    border: 1px solid rgba(0, 0, 0, 0.1);
    opacity: 1;
    visibility: visible;
}

.news-page .news-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    opacity: 1;
    transform: none;
    position: relative;
    z-index: 3;
    background-color: #f9f9f9;
    border-radius: 6px;
    visibility: visible;
}

.news-page .news-item.animate {
    opacity: 1 !important;
    transform: none !important;
}

.news-page .news-item:hover {
    border-bottom-color: var(--primary-color);
    background-color: rgba(240, 240, 240, 0.95);
    padding-left: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.news-page .news-date {
    flex: 0 0 120px;
    color: #000;
    font-size: 16px;
    font-weight: bold;
    padding: 5px 15px;
    background-color: #f0f7ff;
    border-radius: 4px;
    text-align: center;
    display: inline-block;
}

.news-page .news-item a {
    flex: 1;
    color: #000;
    font-weight: 500;
    margin-left: 15px;
    text-decoration: none;
    padding: 5px 0;
    display: block;
}

.news-page .news-item:hover a {
    color: var(--primary-color);
    transform: translateX(10px);
}

/* 确保样式优先级高于其他潜在冲突 */
.news-page .news-list,
.news-page .news-item,
.news-page .news-date,
.news-page .news-item a {
    opacity: 1 !important;
    visibility: visible !important;
}

.news-page .news-item {
    display: flex !important;
    transform: none !important;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .news-page {
        padding: 100px 0;
    }
}

@media (max-width: 768px) {
    .news-page {
        padding: 80px 0;
    }

    .news-page .news-title h2 {
        font-size: 36px;
    }

    .news-page .news-title .news-subtitle {
        font-size: 80px;
    }

    .news-page .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .news-page .news-date {
        flex: none;
    }
}

@media (max-width: 576px) {
    .news-page {
        padding: 60px 0;
    }

    .news-page .news-title h2 {
        font-size: 30px;
    }

    .news-page .news-title .news-subtitle {
        font-size: 60px;
    }

    .news-page .news-item a {
        font-size: 14px;
    }
}

/* 页面加载动画 */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    z-index: -1;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #85219f;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 滚动指示器 */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background-color: var(--primary-color);
    z-index: 9998;
    width: 0;
    transition: width 0.3s ease;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: rgb(90, 12, 235);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* 导航栏滚动效果 */
.header {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background-color: rgba(248, 243, 243, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}