.news-detail-page {
    min-height: 100vh;
    background-color: #f9f9f9;
    padding-bottom: 60px;
    margin-top:0!important;
}
.news-detail-container{
    padding-top: 60px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 面包屑导航 */
.breadcrumb {
    margin: 30px 0;
    font-size: 14px;
    color: #777;
}

.breadcrumb a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #FF7E00;
}

/* 新闻标题 */
.news-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #111;
}

/* 新闻元信息 */
.news-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #777;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.meta-icon {
    width: 16px;
    height: 16px;
    stroke-width: 1.5;
}

.category {
    background: #FF7E00;
    color: white;
    padding: 3px 10px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
}

/* 新闻缩略图 */
.news-thumb {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.news-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

/* 新闻摘要 */
.news-summary {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
    padding: 20px;
    background: #f0f0f0;
    border-left: 4px solid #FF7E00;
    border-radius: 0 8px 8px 0;
}

/* 新闻内容 */
.news-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.news-content p {
    margin-bottom: 20px;
}

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.news-content h2,
.news-content h3,
.news-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #222;
}

.news-content ul,
.news-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.news-content li {
    margin-bottom: 8px;
}

.news-content blockquote {
    border-left: 4px solid #ddd;
    padding: 10px 20px;
    margin: 20px 0;
    background: #f8f8f8;
    font-style: italic;
    color: #555;
}

/* 返回按钮 */
.actions {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.back-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #333;
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.back-button:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.btn-icon {
    width: 18px;
    height: 18px;
}

/* 加载中和错误状态 */
.loading-container,
.error-container,
.not-found-container {
    text-align: center;
    padding: 100px 20px;
    margin-top: 50px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 20px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #FF7E00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.error-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.not-found-container h2,
.error-container h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.not-found-container p,
.error-container p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

/* 动画类 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: var(--delay, 0s);
}

.fade-in-up {
    transform: translateY(20px);
}

.fade-in-left {
    transform: translateX(-20px);
}

.fade-in-right {
    transform: translateX(20px);
}

.animated {
    opacity: 1;
    transform: translate(0) !important;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .news-title {
        font-size: 26px;
    }

    .news-meta {
        gap: 12px;
        margin-bottom: 20px;
    }

    .news-summary {
        font-size: 16px;
    }

    .top-black-bar {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .news-title {
        font-size: 22px;
    }
    .top-black-bar {
        height: 40px;
    }
    .breadcrumb {
        margin: 20px 0;
        font-size: 12px;
    }

    .news-meta {
        gap: 10px;
        font-size: 12px;
    }

    .category {
        padding: 2px 8px;
        font-size: 11px;
    }

    .news-summary {
        font-size: 15px;
        padding: 15px;
    }

    .news-content {
        font-size: 15px;
    }
}

