.news-detail-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.news-detail-header {
    margin-bottom: 30px;
}

.news-detail-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-detail-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.news-detail-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 30px;
}

.news-detail-summary {
    font-size: 18px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #701F27;
    border-radius: 0 8px 8px 0;
}

.news-detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    overflow-x: hidden;
}

.news-detail-content * {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.news-detail-content p,
.news-detail-content div,
.news-detail-content span,
.news-detail-content h1,
.news-detail-content h2,
.news-detail-content h3,
.news-detail-content h4,
.news-detail-content h5,
.news-detail-content h6 {
    margin-bottom: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}

.news-detail-content pre,
.news-detail-content code {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    overflow-x: auto;
}

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

.news-detail-content table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #701F27;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 30px;
    transition: opacity 0.3s;
}

.back-link:hover {
    opacity: 0.7;
}

.not-found {
    text-align: center;
    padding: 60px 20px;
}

.not-found h2 {
    color: #333;
    margin-bottom: 15px;
}

.not-found p {
    color: #666;
}
