/* k1 news-detail.css - Neon Cyan Accent (#00d4ff), Dark BG (#0a0a0a) */

.news-detail-page {
    padding: 30px 0;
}

/* Breadcrumb */
.news-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 0;
    font-size: 14px;
    color: var(--text-muted, #666);
}
.news-breadcrumb a {
    color: var(--text-secondary, #888);
    text-decoration: none;
    transition: color 0.3s;
}
.news-breadcrumb a:hover {
    color: #00d4ff;
}
.news-breadcrumb .separator {
    color: var(--text-muted, #666);
}

/* Two-Column Layout */
.detail-layout {
    display: flex;
    gap: 30px;
}
.detail-main {
    flex: 1;
    min-width: 0;
}
.detail-sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* Article */
.news-article {
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--border-color, #2a2a4e);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

/* Article Header */
.news-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color, #2a2a4e);
}
.news-header h1 {
    font-size: 28px;
    line-height: 1.4;
    margin: 0 0 15px;
    color: var(--text-primary, #fff);
}
.news-header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: var(--text-secondary, #888);
}
.news-header-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.news-header-meta .category-tag {
    background: rgba(0,212,255,0.15);
    color: #00d4ff;
    padding: 4px 12px;
    border-radius: 6px;
}

/* Cover Image */
.news-cover {
    margin-bottom: 25px;
    border-radius: 10px;
    overflow: hidden;
}
.news-cover img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

/* Article Content */
.news-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary, #fff);
}
.news-content p {
    margin-bottom: 18px;
}
.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}
.news-content a {
    color: #00d4ff;
    text-decoration: underline;
}

/* Tags */
.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color, #2a2a4e);
}
.news-tags span {
    background: rgba(0,212,255,0.1);
    color: var(--text-secondary, #888);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s;
}
.news-tags span:hover {
    background: rgba(0,212,255,0.2);
    color: #00d4ff;
}

/* Source */
.news-source {
    margin-top: 25px;
    padding: 15px;
    background: rgba(0,212,255,0.05);
    border: 1px solid var(--border-color, #2a2a4e);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-secondary, #888);
}
.news-source a {
    color: #00d4ff;
    text-decoration: none;
}
.news-source a:hover {
    text-decoration: underline;
}

/* Related News */
.related-news {
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--border-color, #2a2a4e);
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
}
.related-news h3 {
    font-size: 18px;
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0,212,255,0.3);
    color: #00d4ff;
}
.related-news .news-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.related-news .news-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color, #2a2a4e);
    background: none;
    border-radius: 0;
}
.related-news .news-item:last-child {
    border-bottom: none;
}
.related-news .news-thumb {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.related-news .news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.related-news .news-title {
    font-size: 15px;
    margin: 0 0 8px;
}
.related-news .news-title a {
    color: var(--text-primary, #fff);
    text-decoration: none;
}
.related-news .news-title a:hover {
    color: #00d4ff;
}

/* Sidebar */
.sidebar-block {
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--border-color, #2a2a4e);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}
.sidebar-title {
    font-size: 16px;
    color: #00d4ff;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0,212,255,0.3);
}

/* Sidebar Items */
.sidebar-block .news-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sidebar-block .news-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color, #2a2a4e);
    background: none;
    border-radius: 0;
}
.sidebar-block .news-item:last-child {
    border-bottom: none;
}
.sidebar-block .news-thumb {
    width: 80px;
    height: 55px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}
.sidebar-block .news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sidebar-block .news-title {
    font-size: 13px;
    margin: 0;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sidebar-block .news-title a {
    color: var(--text-secondary, #888);
    text-decoration: none;
}
.sidebar-block .news-title a:hover {
    color: #00d4ff;
}
.sidebar-block .news-summary {
    display: none;
}
.sidebar-block .news-meta {
    font-size: 11px;
    margin-top: 5px;
    color: var(--text-muted, #666);
}

/* Responsive */
@media (max-width: 992px) {
    .detail-layout {
        flex-direction: column;
    }
    .detail-sidebar {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .news-article {
        padding: 20px;
    }
    .news-header h1 {
        font-size: 22px;
    }
    .news-content {
        font-size: 15px;
    }
    .news-header-meta {
        gap: 10px;
    }
    .related-news .news-thumb {
        width: 80px;
        height: 55px;
    }
}
