body {
    background-color: #020617;
}

.news-detail {
    padding: 32px 0 64px;
}

.news-container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
}

.news-main {
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 30px 70px rgba(2, 6, 23, 0.35);
}

.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-sidebar .news-widget {
    position: sticky;
    top: 96px;
}

.news-widget {
    background: #0b1224;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 20px;
    padding: 18px;
}

.news-widget h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #e2e8f0;
}

.news-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 16px;
}

.news-breadcrumb a {
    color: #cbd5f5;
    text-decoration: none;
}

.news-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #f8fafc;
}

.news-summary {
    font-size: 18px;
    line-height: 1.7;
    color: #cbd5f5;
    margin-bottom: 16px;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 22px;
}

.news-cover {
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 20px;
}

.news-cover img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

.news-share {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.share-btn {
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.6);
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.share-btn:hover {
    border-color: rgba(56, 189, 248, 0.6);
    color: #e0f2fe;
}

.news-content {
    font-size: 17px;
    line-height: 1.9;
    color: #e2e8f0;
}

.news-content img,
.news-content iframe,
.news-content video {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 16px 0;
}

.news-content h2,
.news-content h3,
.news-content h4 {
    margin: 24px 0 12px;
    font-weight: 600;
    color: #f8fafc;
}

.news-content ul,
.news-content ol {
    padding-left: 20px;
    margin: 16px 0;
}

.news-content blockquote {
    border-left: 3px solid #38bdf8;
    padding-left: 16px;
    margin: 18px 0;
    color: #cbd5f5;
    font-style: italic;
    background: rgba(56, 189, 248, 0.08);
    border-radius: 12px;
}

.news-actions {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.news-link {
    color: #7dd3fc;
    text-decoration: none;
    font-weight: 500;
}

.news-link-muted {
    color: #94a3b8;
}

.news-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.news-nav-card {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    padding: 16px;
    background: rgba(15, 23, 42, 0.7);
    text-decoration: none;
    color: #e2e8f0;
    transition: border-color 0.2s ease;
}

.news-nav-card:hover {
    border-color: rgba(56, 189, 248, 0.6);
}

.news-nav-label {
    font-size: 12px;
    color: #94a3b8;
    display: block;
    margin-bottom: 6px;
}

.news-nav-title {
    font-size: 14px;
    font-weight: 600;
}

.news-nav-empty {
    opacity: 0.4;
}

.news-related {
    margin-top: 32px;
}

.news-related h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #e2e8f0;
}

.news-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.news-card {
    background: #0b1224;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #e2e8f0;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.news-card:hover {
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, 0.6);
}

.news-thumb {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.news-thumb-sm {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.news-thumb--placeholder {
    background: linear-gradient(135deg, #1e293b, #0f172a);
}

.news-card-body {
    padding: 12px 14px 16px;
}

.news-card-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6px;
}

.news-card-meta {
    font-size: 12px;
    color: #94a3b8;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-list-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-decoration: none;
    color: #e2e8f0;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.news-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-list-title {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
}

.news-list-meta {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.news-tag {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.6);
    color: #cbd5f5;
}

.news-tag em {
    font-style: normal;
    color: #94a3b8;
    margin-left: 4px;
}

.news-ticker {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(15, 23, 42, 0.85);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    padding: 10px 0;
    overflow: hidden;
}

.ticker-label {
    font-size: 12px;
    font-weight: 600;
    color: #7dd3fc;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-left: 4%;
    flex-shrink: 0;
}

.ticker-marquee {
    overflow: hidden;
    width: 100%;
}

.ticker-track {
    display: inline-flex;
    gap: 32px;
    animation: ticker 24s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 13px;
}

.news-ticker:hover .ticker-track {
    animation-play-state: paused;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (min-width: 1024px) {
    .news-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
        align-items: start;
    }
}

@media (max-width: 1024px) {
    .news-sidebar .news-widget {
        position: static;
    }
}

@media (max-width: 640px) {
    .news-main {
        padding: 20px;
    }

    .news-cover img {
        height: 240px;
    }

    .news-actions {
        flex-direction: column;
    }
}
