    .detail-container {
            padding: 20px 0;
            background: #fff;
        }

        .detail-wrapper {
            display: flex;
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .article-main {
            flex: 1;
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
            overflow: hidden;
        }


        .article-header {
            padding: 30px 30px 20px;
            border-bottom: 1px solid #f0f0f0;
        }

        .article-title {
            font-size: 28px;
            font-weight: 600;
            color: #2c3e50;
            line-height: 1.4;
            margin-bottom: 20px;
        }

        .article-meta {
            display: flex;
            align-items: center;
            gap: 20px;
            color: #7f8c8d;
            font-size: 14px;
            margin-bottom: 15px;
        }

        .article-meta i {
            color: #0066cc;
            margin-right: 5px;
        }

        .article-tags {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .article-tag {
            background: #ecf0f1;
            color: #5a6c7d;
            padding: 4px 12px;
            border-radius: 15px;
            font-size: 12px;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .article-tag:hover {
            background: #0066cc;
            color: #fff;
        }

        .article-content {
            padding: 30px;
            line-height: 1.8;
            color: #2c3e50;
        }

        .article-content h3 {
            font-size: 20px;
            font-weight: 600;
            color: #2c3e50;
            margin: 30px 0 15px;
            padding-bottom: 8px;
            border-bottom: 2px solid #0066cc;
        }

        .article-content h2 {
            font-size: 26px;
            font-weight: 600;
            color: #2c3e50;
            margin: 30px 0 15px;
            padding-bottom: 8px;
            border-bottom: 2px solid #0066cc;
        }

        .article-content p {
            margin-bottom: 16px;
            text-align: justify;
        }

        .article-content ul,
        .article-content ol {
            margin: 16px 0;
            padding-left: 30px;
        }

        .article-content li {
            margin-bottom: 8px;
        }

        .article-content pre {
            background: #f8f9fa;
            border: 1px solid #e9ecef;
            border-radius: 6px;
            padding: 20px;
            margin: 20px 0;
            overflow-x: auto;
            font-size: 14px;
            line-height: 1.5;
        }

        .article-content code {
            background: #f1f3f4;
            padding: 2px 6px;
            border-radius: 3px;
            font-size: 13px;
            color: #d73a49;
        }

        .article-content pre code {
            background: none;
            padding: 0;
            color: #24292e;
        }

        .article-actions {
            padding: 20px 30px;
            border-top: 1px solid #f0f0f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .action-buttons {
            display: flex;
            gap: 15px;
        }

        .action-btn {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 8px 16px;
            border: 1px solid #e9ecef;
            border-radius: 20px;
            background: #fff;
            color: #5a6c7d;
            text-decoration: none;
            font-size: 13px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .action-btn:hover {
            background: #0066cc;
            color: #fff;
            border-color: #0066cc;
        }

        .action-btn.liked {
            background: #ff6b6b;
            color: #fff;
            border-color: #ff6b6b;
        }

        .comments-section {
            margin-top: 30px;
            padding: 30px;
            border-top: 1px solid #f0f0f0;
        }

        .comments-title {
            font-size: 20px;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 20px;
        }

        .comment-form {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 30px;
        }

        .comment-textarea {
            width: 100%;
            min-height: 100px;
            padding: 12px;
            border: 1px solid #e9ecef;
            border-radius: 6px;
            resize: vertical;
            font-size: 14px;
            line-height: 1.5;
            margin-bottom: 15px;
            box-sizing: border-box;
        }

        .comment-submit {
            background: #0066cc;
            color: #fff;
            border: none;
            padding: 10px 20px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
            transition: background 0.3s ease;
        }

        .comment-submit:hover {
            background: #0052a3;
        }

        .comments-list {
            margin: 20px 0;
        }

        .comment-item {
            display: flex;
            gap: 15px;
            padding: 20px 0;
            border-bottom: 1px solid #f5f5f5;
        }

        .comment-item:last-child {
            border-bottom: none;
        }

        .comment-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .comment-content {
            flex: 1;
        }

        .comment-author {
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 5px;
        }

        .comment-text {
            color: #5a6c7d;
            line-height: 1.6;
            margin-bottom: 8px;
        }

        .comment-meta {
            display: flex;
            align-items: center;
            gap: 15px;
            color: #95a5a6;
            font-size: 12px;
        }

        .comment-like {
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .comment-like:hover {
            color: #0066cc;
        }

        .comment-like.liked {
            color: #ff6b6b;
        }

        .article-sidebar {
            width: 320px;
            flex-shrink: 0;
        }

        .sidebar-sticky {
            position: sticky;
            top: 90px;
            max-height: calc(100vh - 120px);
            overflow-y: auto;
        }


        .sidebar-card {
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
            margin-bottom: 20px;
            overflow: hidden;
        }

        .card-header {
            padding: 20px 20px 15px;
            border-bottom: 1px solid #f0f0f0;
            background: #fafbfc;
        }

        .card-title {
            font-size: 16px;
            font-weight: 600;
            color: #2c3e50;
            margin: 0;
        }

        .author-profile {
            padding: 25px 20px;
            text-align: center;
        }

        .author-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            margin: 0 auto 15px;
            border: 3px solid #f0f0f0;
        }

        .author-name {
            font-size: 18px;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 8px;
        }

        .author-bio {
            color: #7f8c8d;
            font-size: 13px;
            line-height: 1.5;
            margin-bottom: 20px;
        }

        .author-stats {
            display: flex;
            justify-content: space-around;
            margin-bottom: 20px;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-size: 18px;
            font-weight: 600;
            color: #0066cc;
            display: block;
        }

        .stat-label {
            font-size: 12px;
            color: #7f8c8d;
            margin-top: 2px;
        }

        .author-links {
            display: flex;
            gap: 10px;
            justify-content: center;
        }

        .author-link {
            padding: 8px 16px;
            border: 1px solid #e9ecef;
            border-radius: 20px;
            color: #5a6c7d;
            text-decoration: none;
            font-size: 12px;
            transition: all 0.3s ease;
        }

        .author-link:hover {
            background: #0066cc;
            color: #fff;
            border-color: #0066cc;
        }

        .recent-articles {
            padding: 0;
        }

        .recent-item {
            padding: 15px 20px;
            border-bottom: 1px solid #f5f5f5;
            transition: background 0.3s ease;
        }

        .recent-item:hover {
            background: #fafbfc;
        }

        .recent-item:last-child {
            border-bottom: none;
        }

        .recent-title {
            font-size: 14px;
            font-weight: 500;
            color: #2c3e50;
            text-decoration: none;
            display: block;
            margin-bottom: 8px;
            line-height: 1.4;
        }

        .recent-title:hover {
            color: #0066cc;
        }

        .recent-meta {
            display: flex;
            justify-content: space-between;
            color: #95a5a6;
            font-size: 11px;
        }

        .share-popup {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            padding: 30px;
            z-index: 10000;
            min-width: 320px;
        }

        .share-popup.show {
            display: block;
        }

        .share-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 9999;
        }

        .share-overlay.show {
            display: block;
        }

        .share-title {
            font-size: 18px;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 20px;
            text-align: center;
        }

        .share-buttons {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin-bottom: 20px;
        }

        .share-btn {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 16px;
            border: 1px solid #e9ecef;
            border-radius: 8px;
            color: #5a6c7d;
            text-decoration: none;
            font-size: 14px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .share-btn:hover {
            background: #f8f9fa;
            border-color: #0066cc;
            color: #0066cc;
        }

        .share-btn i {
            font-size: 18px;
        }

        .share-url {
            background: #f8f9fa;
            border: 1px solid #e9ecef;
            border-radius: 6px;
            padding: 12px;
            font-size: 13px;
            color: #5a6c7d;
            margin-bottom: 15px;
            word-break: break-all;
        }

        .share-copy {
            width: 100%;
            background: #0066cc;
            color: #fff;
            border: none;
            padding: 10px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
            transition: background 0.3s ease;
        }

        .share-copy:hover {
            background: #0052a3;
        }

        .share-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background: none;
            border: none;
            font-size: 20px;
            color: #95a5a6;
            cursor: pointer;
            padding: 5px;
        }

        .share-close:hover {
            color: #2c3e50;
        }

        .mobile-sidebar {
            display: none;
        }

        @media (max-width: 768px) {
            .detail-wrapper {
                flex-direction: column;
                padding: 0 15px;
                gap: 20px;
            }

            .article-sidebar {
                width: 100%;
                order: 2;
            }

            .sidebar-sticky {
                position: static;
                max-height: none;
                overflow-y: visible;
            }

            .article-header {
                padding: 20px 20px 15px;
            }

            .article-title {
                font-size: 22px;
            }

            .article-content {
                padding: 20px;
            }

            .article-actions {
                padding: 15px 20px;
                flex-direction: column;
                gap: 15px;
            }

            .action-buttons {
                justify-content: center;
                width: 100%;
            }

            .action-btn {
                flex: 1;
                justify-content: center;
                max-width: 100px;
            }

            .comments-section {
                padding: 20px;
            }

            .author-stats {
                margin-bottom: 15px;
            }

            .share-popup {
                min-width: 280px;
                margin: 0 20px;
                max-width: calc(100vw - 40px);
            }

            .share-buttons {
                grid-template-columns: 1fr;
            }

            .article-meta {
                flex-wrap: wrap;
                gap: 10px;
            }

            .comment-textarea {
                min-height: 80px;
            }
        }

        .comment-reply {
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .comment-reply:hover {
            color: #0066cc;
        }

        .reply-form {
            display: none;
            margin-top: 15px;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 6px;
            border-left: 3px solid #0066cc;
        }

        .reply-form.show {
            display: block;
        }

        .reply-textarea {
            width: 100%;
            min-height: 80px;
            padding: 10px;
            border: 1px solid #e9ecef;
            border-radius: 4px;
            resize: vertical;
            font-size: 13px;
            line-height: 1.4;
            margin-bottom: 10px;
            box-sizing: border-box;
        }

        .reply-actions {
            display: flex;
            gap: 10px;
            justify-content: flex-end;
        }

        .reply-submit,
        .reply-cancel {
            padding: 6px 16px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 12px;
            transition: background 0.3s ease;
        }

        .reply-submit {
            background: #0066cc;
            color: #fff;
        }

        .reply-submit:hover {
            background: #0052a3;
        }

        .reply-cancel {
            background: #f5f5f5;
            color: #666;
        }

        .reply-cancel:hover {
            background: #e9ecef;
        }

        .comment-replies {
            margin-top: 15px;
            padding-left: 20px;
            border-left: 2px solid #f0f0f0;
        }

        .reply-item {
            display: flex;
            gap: 12px;
            padding: 15px 0;
            border-bottom: 1px solid #f8f8f8;
        }

        .reply-item:last-child {
            border-bottom: none;
        }

        .reply-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .reply-content {
            flex: 1;
        }

        .reply-author {
            font-weight: 600;
            color: #2c3e50;
            font-size: 13px;
            margin-bottom: 4px;
        }

        .reply-text {
            color: #5a6c7d;
            line-height: 1.5;
            font-size: 13px;
            margin-bottom: 6px;
        }

        .reply-meta {
            display: flex;
            align-items: center;
            gap: 12px;
            color: #95a5a6;
            font-size: 11px;
        }

        .reply-like {
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .reply-like:hover {
            color: #0066cc;
        }

        .reply-like.liked {
            color: #ff6b6b;
        }

        @media (max-width: 768px) {
            .comment-replies {
                padding-left: 15px;
            }

            .reply-actions {
                flex-direction: column;
            }

            .reply-submit,
            .reply-cancel {
                width: 100%;
                padding: 8px 16px;
            }
        }
        
                   .detail-section {
            margin-bottom: 25px;
            padding: 0 25px;
        }    
        .section-header {
            font-size: 16px;
            font-weight: 600;
            color: #333;
            margin-bottom: 12px;
            padding-bottom: 6px;
            border-bottom: 2px solid #1890ff;
            display: inline-block;
        }
                .related-sites {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            gap: 12px;
        }
           .related-link {
            background: #fff;
            padding: 15px 10px;
            border-radius: 6px;
            text-align: center;
            border: 1px solid #d9d9d9;
            text-decoration: none;
            color: #333;
            transition: all 0.2s ease;
                display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    max-height: 4.5em;
    word-wrap: break-word;
        }

        .related-link:hover {
            transform: translateY(-2px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            color: #1890ff;
            border-color: #1890ff;
        }

        .related-link i {
            display: block;
            font-size: 24px;
            color: #1890ff;
            margin-bottom: 6px;
        }

        .related-link div {
            font-size: 12px;
        }