/* News Detail Specific Styles */
.news-detail-header {
    position: relative;
    background: linear-gradient(135deg, #1a3a6b 0%, #2a5298 50%, #1e4db7 100%);
    padding: 5rem 0 3.5rem;
    overflow: hidden;
}

.news-detail-header-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: #ffffff;
}

.deco-circle-1 {
    width: 400px;
    height: 400px;
    top: -150px;
    right: -80px;
}

.deco-circle-2 {
    width: 250px;
    height: 250px;
    bottom: -100px;
    left: 5%;
}

.deco-circle-3 {
    width: 150px;
    height: 150px;
    top: 20px;
    left: 40%;
    opacity: 0.05;
}

.news-header-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.news-tag-header {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.03em;
}

.news-date-header {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.news-header-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    max-width: 800px;
}

@media (max-width: 768px) {
    .news-detail-header {
        padding: 4rem 0 2.5rem;
    }
    .news-header-title {
        font-size: 1.4rem;
    }
}

.news-detail-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.news-detail-content {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.news-tag-large {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
}

.news-date-large {
    color: var(--text-muted);
    font-size: 1rem;
}

.news-title-large {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.news-summary-large {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.news-content-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.news-content-body h1,
.news-content-body h2,
.news-content-body h3,
.news-content-body h4,
.news-content-body h5,
.news-content-body h6 {
    color: var(--dark-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

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

.news-content-body ul,
.news-content-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.news-content-body li {
    margin-bottom: 0.5rem;
}

.news-content-body blockquote {
    background: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
}

.news-content-body code {
    background: #f1f3f4;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.news-content-body pre {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.news-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.back-to-news {
    margin-bottom: 2rem;
}

.related-news {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.related-news-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    margin-bottom: 1rem;
}

.related-news-item:hover {
    background: #f8f9fa;
    transform: translateX(10px);
}

.related-news-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 1rem;
    flex-shrink: 0;
}

.related-news-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
    flex-shrink: 0;
}

.related-news-content h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.related-news-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .news-title-large {
        font-size: 1.5rem;
    }
    
    .news-detail-content {
        padding: 1.5rem;
    }
    
    .news-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .related-news-item {
        flex-direction: column;
        text-align: center;
    }
    
    .related-news-image,
    .related-news-placeholder {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}
