/* ── NEWS DETAIL PAGE ────────────────────────────── */
.news-detail-page {
    padding: 40px 0;
}

.article-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.article-title {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.6);
}

.article-meta i {
    margin-right: 8px;
    color: #d4af37;
}

.article-meta a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-meta a:hover {
    color: #d4af37;
}

.article-featured-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-excerpt-box {
    background: rgba(212, 175, 55, 0.05);
    border-left: 4px solid #d4af37;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 4px;
}

.article-excerpt-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    font-style: italic;
}

.article-content {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.article-content h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #fff;
}

/* Share Section */
.share-section {
    padding: 30px 0;
    margin-bottom: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.share-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.share-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: opacity .2s;
}

.share-btn-fb {
    background: #1877f2;
    color: #fff;
}

.share-btn-tw {
    background: #1da1f2;
    color: #fff;
}

.share-btn-copy {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    opacity: .85;
    color: #fff;
}

/* Table of Contents (from style.css) */
.toc-wrapper {
    background: rgba(30, 35, 45, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 30px;
}

.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.toc-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d4af37;
    font-size: 1.1rem;
    font-weight: 600;
}

.toc-toggle-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.toc-toggle-btn:hover {
    color: #d4af37;
}

.toc-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 8px;
}

.toc-list li a {
    display: block;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.toc-list li a:hover {
    background: rgba(212, 175, 55, 0.08);
    color: #d4af37;
    padding-left: 18px;
}

.toc-list .toc-h2 a {
    font-weight: 500;
}

.toc-list .toc-h3 a {
    padding-left: 28px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.toc-number {
    color: #d4af37;
    font-weight: 600;
    margin-right: 5px;
}

/* Related News (Horizontal) */
.related-news-horizontal {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.related-news-header h2 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 25px;
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.related-news-card {
    display: flex;
    flex-direction: column;
    background: rgba(30, 35, 45, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-news-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(40, 45, 55, 0.9);
    transform: translateY(-5px);
}

.related-news-thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.related-news-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-news-number {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #d4af37;
    color: #000;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.related-news-content {
    padding: 15px;
}

.related-news-content h3 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
}

@media (max-width: 992px) {
    .related-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-title {
        font-size: 2rem;
    }

    .article-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .article-card {
        padding: 20px;
    }

    .article-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .related-news-grid {
        grid-template-columns: 1fr;
    }

    .article-title {
        font-size: 1.6rem;
    }

    .article-card {
        padding: 15px;
    }
}