/* ================================
   恒星锰业企业网站 - 新闻内容样式表
   ================================ */

       /* 新闻详情页专用样式 */
        .news-detail-page {
            margin-top: 70px;
        }

        .news-detail-container {
            display: flex;
            gap: 30px;
            padding: 50px 0;
        }

        .news-detail-main {
            flex: 1;
        }

        .news-detail-sidebar {
            width: 280px;
            flex-shrink: 0;
        }

        /* 文章头部 */
        .article-header {
            background: var(--bg-white);
            padding: 40px;
            border-radius: 10px;
            box-shadow: var(--shadow);
            margin-bottom: 25px;
            border-bottom: 4px solid var(--secondary-color);
        }

        .article-category {
            display: inline-block;
            padding: 6px 16px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            border-radius: 20px;
            font-size: 13px;
            margin-bottom: 20px;
            font-weight: 500;
        }

        .article-title {
            font-size: 28px;
            color: var(--primary-color);
            line-height: 1.4;
            margin-bottom: 25px;
        }

        .article-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 25px;
            padding-top: 20px;
            border-top: 1px solid var(--border-color);
            font-size: 14px;
            color: var(--text-light);
        }

        .article-meta span {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .article-meta .icon {
            font-size: 16px;
        }

        /* 文章正文 */
        .article-body {
            background: var(--bg-white);
            padding: 40px;
            border-radius: 10px;
            box-shadow: var(--shadow);
            margin-bottom: 25px;
        }

        .article-content {
            font-size: 16px;
            line-height: 2;
            color: var(--text-color);
        }

        .article-content p {
            margin-bottom: 25px;
            text-align: justify;
        }

        .article-content h2 {
            font-size: 22px;
            color: var(--primary-color);
            margin: 35px 0 20px;
            padding-left: 15px;
            border-left: 4px solid var(--secondary-color);
        }

        .article-content h3 {
            font-size: 18px;
            color: var(--primary-color);
            margin: 30px 0 15px;
        }

        .article-content ul,
        .article-content ol {
            margin: 20px 0;
            padding-left: 25px;
        }

        .article-content li {
            margin-bottom: 12px;
            line-height: 1.8;
        }

        .article-content ul li {
            list-style-type: disc;
        }

        .article-content ol li {
            list-style-type: decimal;
        }

        .article-content strong {
            color: var(--primary-color);
            font-weight: 600;
        }

        .article-content blockquote {
            background: var(--bg-light);
            border-left: 4px solid var(--secondary-color);
            padding: 20px 25px;
            margin: 25px 0;
            font-style: italic;
            color: var(--text-light);
            border-radius: 0 8px 8px 0;
        }

        .article-content table {
            width: 100%;
            border-collapse: collapse;
            margin: 25px 0;
            background: var(--bg-white);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: var(--shadow);
        }

        .article-content th,
        .article-content td {
            padding: 15px;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
        }

        .article-content th {
            background: var(--primary-color);
            color: white;
            font-weight: 500;
        }

        .article-content tr:hover {
            background: var(--bg-light);
        }

        .article-content img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            margin: 20px 0;
            box-shadow: var(--shadow);
        }

        .image-caption {
            text-align: center;
            font-size: 14px;
            color: var(--text-light);
            margin-top: 10px;
            font-style: italic;
        }

        /* 文章标签 */
        .article-tags {
            background: var(--bg-white);
            padding: 25px 40px;
            border-radius: 10px;
            box-shadow: var(--shadow);
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            gap: 15px;
            flex-wrap: wrap;
        }

        .article-tags-label {
            font-weight: 500;
            color: var(--text-light);
        }

        .article-tag {
            padding: 6px 15px;
            background: var(--bg-light);
            color: var(--secondary-color);
            border-radius: 15px;
            font-size: 13px;
            transition: var(--transition);
        }

        .article-tag:hover {
            background: var(--secondary-color);
            color: white;
        }

        /* 分享区域 */
        .article-share {
            background: var(--bg-white);
            padding: 25px 40px;
            border-radius: 10px;
            box-shadow: var(--shadow);
            margin-bottom: 25px;
        }

        .share-title {
            font-size: 14px;
            color: var(--text-light);
            margin-bottom: 15px;
        }

        .share-buttons {
            display: flex;
            gap: 12px;
        }

        .share-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 20px;
            border-radius: 8px;
            text-decoration: none;
            font-size: 14px;
            color: white;
            transition: var(--transition);
        }

        .share-btn.wechat { background: #07c160; }
        .share-btn.weibo { background: #e6162d; }
        .share-btn.qq { background: #12b7f5; }
        .share-btn.link { background: var(--secondary-color); }

        .share-btn:hover {
            opacity: 0.85;
            transform: translateY(-2px);
        }

        /* 上下篇导航 */
        .article-navigation {
            background: var(--bg-white);
            padding: 25px 40px;
            border-radius: 10px;
            box-shadow: var(--shadow);
            margin-bottom: 25px;
        }

        .article-nav-item {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 15px 0;
            border-bottom: 1px solid var(--border-color);
            transition: var(--transition);
        }

        .article-nav-item:last-child {
            border-bottom: none;
        }

        .article-nav-item:hover {
            background: var(--bg-light);
            margin: 0 -15px;
            padding-left: 15px;
            padding-right: 15px;
        }

        .article-nav-item a {
            flex: 1;
            color: var(--text-color);
            text-decoration: none;
            font-size: 15px;
            transition: var(--transition);
        }

        .article-nav-item a:hover {
            color: var(--secondary-color);
        }

        .article-nav-item .nav-label {
            font-size: 12px;
            color: var(--text-light);
            min-width: 60px;
        }

        .article-nav-item .nav-title {
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* 返回列表 */
        .back-to-list {
            display: inline-block;
            padding: 12px 30px;
            background: var(--secondary-color);
            color: white;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            margin-bottom: 25px;
        }

        .back-to-list:hover {
            background: var(--primary-color);
            transform: translateY(-2px);
        }

        /* 侧边栏样式（复用列表页） */
        .sidebar-section {
            background: var(--bg-white);
            border-radius: 10px;
            box-shadow: var(--shadow);
            margin-bottom: 25px;
            overflow: hidden;
        }

        .sidebar-title {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 18px 25px;
            font-size: 18px;
            font-weight: 600;
        }

        .category-list {
            list-style: none;
        }

        .category-list li a {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 25px;
            color: var(--text-color);
            border-bottom: 1px solid var(--border-color);
            transition: var(--transition);
            text-decoration: none;
        }

        .category-list li a:hover,
        .category-list li a.active {
            background: var(--bg-light);
            color: var(--secondary-color);
            border-left: 4px solid var(--secondary-color);
        }

        .category-list li:last-child a {
            border-bottom: none;
        }

        .category-count {
            background: var(--bg-light);
            padding: 3px 10px;
            border-radius: 12px;
            font-size: 13px;
            color: var(--text-light);
        }

        /* 热门新闻 */
        .hot-news-list {
            padding: 15px 0;
        }

        .hot-news-item {
            padding: 12px 25px;
            border-bottom: 1px dashed var(--border-color);
            transition: var(--transition);
        }

        .hot-news-item:hover {
            background: var(--bg-light);
        }

        .hot-news-item:last-child {
            border-bottom: none;
        }

        .hot-news-item a {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            font-size: 14px;
            line-height: 1.6;
            color: var(--text-color);
            text-decoration: none;
        }

        .hot-news-item a:hover {
            color: var(--secondary-color);
        }

        .hot-news-item .date {
            font-size: 12px;
            color: var(--text-light);
            margin-top: 5px;
        }

        /* 响应式 */
        @media (max-width: 992px) {
            .news-detail-container {
                flex-direction: column;
            }

            .news-detail-sidebar {
                width: 100%;
            }

            .sidebar-section {
                display: inline-block;
                width: calc(50% - 15px);
                vertical-align: top;
            }
        }

        @media (max-width: 768px) {
            .article-header,
            .article-body,
            .article-tags,
            .article-share,
            .article-navigation {
                padding: 25px;
            }

            .article-title {
                font-size: 22px;
            }

            .article-meta {
                flex-direction: column;
                gap: 12px;
            }

            .article-content {
                font-size: 15px;
            }

            .share-buttons {
                flex-wrap: wrap;
            }

            .sidebar-section {
                width: 100%;
            }
        }