/* NEWS DETAIL PAGE */
.news-detail-page { background: #f0f4f8; min-height: calc(100vh - 150px); padding-bottom: 50px; }
.news-detail-page .news-breadcrumb { background: #fff; padding: 12px 0; font-size: 13px; border-bottom: 1px solid #e5e5e5; }
.news-detail-page .news-breadcrumb a { color: var(--primary-blue); text-decoration: none; }
.news-detail-page .news-breadcrumb a:hover { text-decoration: underline; }
.news-detail-page .news-breadcrumb span { color: #666; }
.news-detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 25px; margin-top: 25px; }
.news-detail-main { min-width: 0; }
.article-header { background: #fff; border-radius: 10px; padding: 25px 30px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.article-title { font-size: 26px; font-weight: 700; color: #222; line-height: 1.4; margin: 0 0 15px; }
.article-meta { display: flex; gap: 20px; flex-wrap: wrap; }
.meta-item { font-size: 13px; color: #888; display: flex; align-items: center; gap: 6px; }
.meta-item i { color: var(--primary-blue); }
.article-body { background: #fff; border-radius: 10px; padding: 30px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); line-height: 1.8; font-size: 15px; color: #333; word-wrap: break-word; overflow-wrap: break-word; }
.article-body img { max-width: 100% !important; height: auto !important; border-radius: 8px; margin: 10px 0; display: block; }
.article-body iframe { max-width: 100%; margin: 10px 0; }
.article-body strong, .article-body b { font-weight: 700; }
.article-body em, .article-body i { font-style: italic; }
.article-body h1, .article-body h2, .article-body h3, .article-body h4, .article-body h5, .article-body h6 { margin-top: 20px; margin-bottom: 10px; color: #222; font-weight: 700 !important; font-family: inherit; }
.article-body h1 { font-size: 24px !important; }
.article-body h2 { font-size: 22px !important; }
.article-body h3 { font-size: 20px !important; }
.article-body h4 { font-size: 18px !important; }
.article-body h5 { font-size: 16px !important; }
.article-body h6 { font-size: 15px !important; }
.article-body p { margin-bottom: 12px; }
.article-body a { color: var(--primary-blue); }
.article-body table { width: 100%; border-collapse: collapse; margin: 15px 0; }
.article-body table td, .article-body table th { border: 1px solid #ddd; padding: 8px 12px; }
.article-body blockquote { border-left: 4px solid var(--primary-blue); padding: 10px 20px; margin: 15px 0; background: #f8fafc; font-style: italic; color: #555; }
.article-body ul { padding-left: 25px !important; margin-bottom: 12px !important; list-style: disc !important; }
.article-body ol { padding-left: 25px !important; margin-bottom: 12px !important; list-style: decimal !important; }
.article-body li { margin-bottom: 6px; list-style: inherit !important; display: list-item !important; }
.article-body li > br:first-child { display: none; }
.article-body li > p:first-of-type { display: inline !important; }
.article-body li > p { margin: 0 0 4px !important; }
.article-body ul ul { list-style: circle !important; }
.article-body ul ul ul { list-style: square !important; }
.article-share { background: #fff; border-radius: 10px; padding: 20px 30px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); display: flex; align-items: center; gap: 15px; }
.share-label { font-size: 14px; font-weight: 600; color: #333; white-space: nowrap; }
.share-buttons { display: flex; gap: 10px; }
.share-btn { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #fff; text-decoration: none; border: none; cursor: pointer; transition: opacity 0.2s, transform 0.2s; }
.share-btn:hover { opacity: 0.85; transform: scale(1.1); }
.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.email { background: #ea4335; }
.share-btn.copy { background: #6b7280; }
.related-posts-section { background: #fff; border-radius: 10px; padding: 25px 30px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.related-posts-section .section-title { font-size: 18px; font-weight: 700; color: #333; margin: 0 0 20px; padding-bottom: 10px; border-bottom: 2px solid var(--primary-blue); display: inline-block; }
.related-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-posts-grid .post-card { display: block; text-decoration: none; background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid #e5e5e5; transition: box-shadow 0.2s, transform 0.2s; }
.related-posts-grid .post-card:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.1); transform: translateY(-2px); }
.related-posts-grid .post-image { position: relative; padding-top: 56.25%; overflow: hidden; background: #f5f5f5; }
.related-posts-grid .post-image img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.related-posts-grid .post-card:hover .post-image img { transform: scale(1.05); }
.related-posts-grid .post-info { padding: 12px; }
.related-posts-grid .post-date { font-size: 11px; color: #999; display: block; margin-bottom: 6px; }
.related-posts-grid .post-title { font-size: 14px; font-weight: 500; color: #333; margin: 0 0 6px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-posts-grid .post-card:hover .post-title { color: var(--primary-blue); }
.related-posts-grid .post-desc { font-size: 12px; color: #888; margin: 0; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* Sidebar */
.news-detail-sidebar { position: sticky; top: 20px; align-self: start; }
.sidebar-box { background: #fff; border-radius: 10px; padding: 20px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.sidebar-title { font-size: 16px; font-weight: 700; color: #333; margin: 0 0 15px; padding-bottom: 10px; border-bottom: 2px solid var(--primary-blue); }
.sidebar-search { display: flex; border: 1px solid #ddd; border-radius: 6px; overflow: hidden; }
.sidebar-search input { flex: 1; padding: 10px 12px; border: none; font-size: 14px; outline: none; }
.sidebar-search button { padding: 10px 14px; background: var(--primary-blue); border: none; color: #fff; cursor: pointer; transition: opacity 0.2s; }
.sidebar-search button:hover { opacity: 0.85; }
.sidebar-categories { list-style: none; padding: 0; margin: 0; }
.sidebar-categories > li { border-bottom: 1px solid #f0f0f0; }
.sidebar-categories > li:last-child { border-bottom: none; }
.sidebar-categories > li > a { display: block; padding: 10px 0; color: #444; text-decoration: none; font-size: 14px; transition: color 0.2s; }
.sidebar-categories > li > a:hover { color: var(--primary-blue); }
.sub-categories { list-style: none; padding: 0 0 5px 15px; margin: 0; }
.sub-categories li a { display: block; padding: 5px 0; color: #666; text-decoration: none; font-size: 13px; transition: color 0.2s; }
.sub-categories li a:hover { color: var(--primary-blue); }
.sidebar-recent { display: flex; flex-direction: column; gap: 12px; }
.recent-item { display: flex; gap: 10px; text-decoration: none; }
.recent-item:hover h4 { color: var(--primary-blue); }
.recent-image { flex: 0 0 80px; height: 55px; border-radius: 6px; overflow: hidden; background: #f5f5f5; }
.recent-image img { width: 100%; height: 100%; object-fit: cover; }
.recent-info { flex: 1; min-width: 0; }
.recent-info h4 { font-size: 13px; font-weight: 500; color: #333; margin: 0 0 4px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.2s; }
.recent-info span { font-size: 11px; color: #999; }
/* Responsive */
@media (max-width: 1199px) { .news-detail-layout { grid-template-columns: 1fr 280px; gap: 20px; } }
@media (max-width: 991px) { .news-detail-layout { grid-template-columns: 1fr; } .news-detail-sidebar { position: static; } .related-posts-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .article-header { padding: 20px; } .article-title { font-size: 20px; } .article-body { padding: 20px; font-size: 14px; } .article-share { padding: 15px 20px; flex-direction: column; align-items: flex-start; } .related-posts-section { padding: 20px; } .related-posts-grid { grid-template-columns: 1fr; gap: 15px; } }
@media (max-width: 480px) { .article-header { padding: 15px; } .article-title { font-size: 18px; } .article-body { padding: 15px; font-size: 14px; } .article-meta { flex-direction: column; gap: 8px; } }
