/* ===========================================
   PR Detail Page Styles
   =========================================== */

/* News Detail Section */
.news-detail-section {
    padding: 60px 0 80px;
    background: #fff;
}

/* Article */
.news-article {
    max-width: 800px;
    margin: 0 auto;
}

/* Article Header */
.article-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.article-category {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-color, #0066cc);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    margin-bottom: 16px;
}

.article-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 20px;
    word-break: keep-all;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    color: #666;
    font-size: 14px;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-meta svg {
    color: #999;
}

/* Article Thumbnail */
.article-thumbnail {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}

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

/* Article Content */
.article-content {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

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

.article-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 2em 0 1em;
    color: #1a1a1a;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 1.5em 0 0.8em;
    color: #1a1a1a;
}

.article-content ul,
.article-content ol {
    margin: 1em 0;
    padding-left: 1.5em;
}

.article-content li {
    margin-bottom: 0.5em;
}

.article-content blockquote {
    margin: 2em 0;
    padding: 20px 24px;
    background: #f8f9fa;
    border-left: 4px solid var(--primary-color, #0066cc);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5em 0;
}

.article-content a {
    color: var(--primary-color, #0066cc);
    text-decoration: underline;
}

.article-content a:hover {
    text-decoration: none;
}

/* Source Link */
.article-source-link {
    margin-bottom: 30px;
    text-align: center;
}

.article-source-link .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Share Section */
.article-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px 0;
    margin-bottom: 30px;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.share-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-btn:hover {
    border-color: var(--primary-color, #0066cc);
    color: var(--primary-color, #0066cc);
    background: #f0f7ff;
}

/* Navigation */
.article-navigation {
    text-align: center;
    margin-bottom: 60px;
}

.article-navigation .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Related News */
.related-news {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid #e5e5e5;
}

.related-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color, #0066cc);
}

.related-card-image {
    position: relative;
    padding-top: 60%;
    background: #f5f5f5;
}

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

.related-card-image .img-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

.related-card-content {
    padding: 16px;
}

.related-card-date {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
    display: block;
}

.related-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.related-card:hover .related-card-title {
    color: var(--primary-color, #0066cc);
}

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

@media (max-width: 768px) {
    .news-detail-section {
        padding: 40px 0 60px;
    }

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

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

    .article-content {
        font-size: 16px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .article-title {
        font-size: 20px;
    }

    .article-share {
        flex-direction: column;
        gap: 12px;
    }
}