/* news-detail.css - 新闻详情页专用样式 */
/* 基础样式重置 - 优先级最高 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box !important;
}
body {
    font-family: "Microsoft Yahei", Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.7;
    font-size: 16px;
    width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* 容器强制适配 */
.container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
    width: 100% !important;
}
/* 面包屑导航 */
.breadcrumb {
    padding: 15px 0 !important;
    font-size: clamp(0.8rem, 2vw, 0.875rem) !important;
    color: #666 !important;
    border-bottom: 1px solid #eee !important;
    margin-bottom: 20px !important;
    width: 100% !important;
}
.breadcrumb a {
    color: #007bff !important;
    text-decoration: none !important;
}
.breadcrumb a:hover {
    text-decoration: underline !important;
}
.breadcrumb span {
    color: #999 !important;
    margin: 0 8px !important;
}
/* 新闻详情容器 - 强制适配 */
.news-detail {
    background-color: #fff !important;
    padding: 30px 20px !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
    margin-bottom: 30px !important;
    width: 100% !important;
    max-width: 100% !important;
}
/* 新闻标题 - 自适应字号 */
.news-title {
    font-size: clamp(1.25rem, 5vw, 1.75rem) !important;
    font-weight: bold !important;
    color: #222 !important;
    text-align: center !important;
    margin-bottom: 20px !important;
    padding-bottom: 15px !important;
    border-bottom: 1px solid #eee !important;
    line-height: 1.3 !important;
    width: 100% !important;
}
/* 新闻元信息 */
.news-meta {
    text-align: center !important;
    font-size: clamp(0.8rem, 2vw, 0.875rem) !important;
    color: #999 !important;
    margin-bottom: 30px !important;
    width: 100% !important;
}
/* 新闻内容 - 核心自适应 */
.news-content {
    font-size: clamp(0.9rem, 2.5vw, 1rem) !important;
    line-height: 1.8 !important;
    color: #444 !important;
    width: 100% !important;
}
.news-content p {
    margin-bottom: 18px !important;
    text-indent: 2em !important;
    width: 100% !important;
}
.news-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 20px auto !important;
    border-radius: 4px !important;
}

/* ========== 手机端强制适配 ========== */
@media (max-width: 768px) {
    .breadcrumb {
        padding: 10px 0 !important;
        margin-bottom: 15px !important;
    }
    .news-detail {
        padding: 20px 15px !important;
        margin-bottom: 20px !important;
        border-radius: 6px !important;
        box-shadow: 0 1px 5px rgba(0,0,0,0.03) !important;
    }
    .news-title {
        margin-bottom: 15px !important;
        padding-bottom: 10px !important;
        line-height: 1.4 !important;
    }
    .news-meta {
        margin-bottom: 20px !important;
    }
    .news-content {
        line-height: 1.7 !important;
    }
    .news-content p {
        margin-bottom: 15px !important;
        text-indent: 1.5em !important;
    }
    .news-content img {
        margin: 15px auto !important;
    }
}

/* 超小屏（480px以下） */
@media (max-width: 480px) {
    .container {
        padding: 0 10px !important;
    }
    .news-detail {
        padding: 15px 10px !important;
    }
    .news-content p {
        text-indent: 1em !important;
    }
}