/* News Details Styles */

.news-detail-hero {
	position: relative;
	width: 100%;
	height: 500px;
	background: url('../img/jjfn/gdzj.png') center/cover no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	text-align: center;
	position: relative;
}

.news-detail-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(15, 31, 47, 0.5);
}

.news-detail-hero__content {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	padding: 0 20px;
	width: 100%;
}

.news-detail-hero__title {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 24px;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	line-height: 1.3;
}

.news-detail-section {
	padding: 60px 60px;
	background: #ffffff;
}

.news-detail-layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 40px;
	align-items: start;
}

/* News Detail Content */
.news-detail-content {
	background: #ffffff;
}

/* Navigation */
.news-detail-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(15, 31, 47, 0.1);
}

.news-nav-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #f7f9fb;
	border: 1px solid rgba(15, 31, 47, 0.1);
	color: #3a5972;
	font-size: 1.5rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.news-nav-btn:hover {
	background: #0b6efd;
	color: #ffffff;
	border-color: #0b6efd;
	transform: translateY(-2px);
}

.news-nav-grid {
	font-size: 1.2rem;
}

/* Article Date */
.news-detail-date {
	font-size: 1rem;
	color: #6b8499;
	margin-bottom: 30px;
	font-weight: 500;
}

/* Article Body */
.news-article-body {
	font-size: 1rem;
	line-height: 1.8;
	color: #3a5972;
	margin-bottom: 60px;
}

.news-article-body h2,
.news-article-body h3 {
	color: #0f1f2f;
	font-weight: 600;
	margin-top: 30px;
	margin-bottom: 16px;
}

.news-article-body h2 {
	font-size: 1.5rem;
}

.news-article-body h3 {
	font-size: 1.3rem;
}

.news-article-body p {
	margin-bottom: 16px;
}

.news-article-body ul,
.news-article-body ol {
	margin-bottom: 16px;
	padding-left: 24px;
}

.news-article-body li {
	margin-bottom: 8px;
}

.news-article-body .feature-list {
	list-style: none;
	padding-left: 0;
}

.news-article-body .feature-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 12px;
}

.news-article-body .feature-icon {
	font-size: 1.2rem;
	color: #0b6efd;
	flex-shrink: 0;
	margin-top: 2px;
}

.news-article-body .banner-image {
	width: 100%;
	border-radius: 12px;
	margin: 30px 0;
}

/* Related Articles */
.related-articles {
	margin-top: 60px;
	padding-top: 40px;
	border-top: 2px solid rgba(15, 31, 47, 0.1);
}

.related-articles-title {
	font-size: 1.8rem;
	font-weight: 700;
	color: #0f1f2f;
	margin: 0 0 30px 0;
}

.related-articles-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.related-article-card {
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid rgba(15, 31, 47, 0.08);
	transition: all 0.3s ease;
	cursor: pointer;
}

.related-article-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(15, 31, 47, 0.12);
	border-color: rgba(11, 110, 253, 0.2);
}

.related-article-image {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	overflow: hidden;
	background: #f7f9fb;
}

.related-article-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.related-article-card:hover .related-article-image img {
	transform: scale(1.05);
}

.related-article-content {
	padding: 16px;
}

.related-article-date {
	font-size: 0.85rem;
	color: #9ba8b5;
	margin-bottom: 8px;
}

.related-article-title {
	font-size: 0.95rem;
	font-weight: 600;
	color: #0f1f2f;
	line-height: 1.5;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.3s ease;
}

.related-article-card:hover .related-article-title {
	color: #0b6efd;
}

/* Comment Section */
.comment-section {
	margin-top: 60px;
	padding-top: 40px;
	border-top: 2px solid rgba(15, 31, 47, 0.1);
}

.comment-title {
	font-size: 1.8rem;
	font-weight: 700;
	color: #0f1f2f;
	margin: 0 0 8px 0;
}

.comment-notice {
	font-size: 0.9rem;
	color: #6b8499;
	margin-bottom: 30px;
}

.comment-form {
	background: #f7f9fb;
	border-radius: 12px;
	padding: 30px;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	font-size: 0.95rem;
	font-weight: 500;
	color: #0f1f2f;
	margin-bottom: 8px;
}

.form-group .required {
	color: #0b6efd;
}

.form-group textarea,
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="url"] {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid rgba(15, 31, 47, 0.15);
	border-radius: 8px;
	font-size: 0.95rem;
	color: #0f1f2f;
	font-family: inherit;
	transition: all 0.3s ease;
	outline: none;
}

.form-group textarea {
	resize: vertical;
	min-height: 150px;
}

.form-group textarea:focus,
.form-group input:focus {
	border-color: #0b6efd;
	box-shadow: 0 0 0 3px rgba(11, 110, 253, 0.1);
}

.form-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.checkbox-group {
	margin-bottom: 24px;
}

.checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	cursor: pointer;
	font-size: 0.9rem;
	color: #3a5972;
}

.checkbox-label input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	flex-shrink: 0;
	cursor: pointer;
}

.btn-submit-comment {
	padding: 14px 32px;
	background: #0b6efd;
	color: #ffffff;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-submit-comment:hover {
	background: #0a5ed9;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(11, 110, 253, 0.3);
}

/* Sidebar */
.news-detail-sidebar {
	position: sticky;
	top: 120px;
}

.sidebar-section {
	background: #ffffff;
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 24px;
	box-shadow: 0 2px 8px rgba(15, 31, 47, 0.08);
	border: 1px solid rgba(15, 31, 47, 0.08);
}

.sidebar-title {
	font-size: 1.1rem;
	font-weight: 600;
	color: #0f1f2f;
	margin: 0 0 20px 0;
	padding-bottom: 12px;
	border-bottom: 2px solid #0b6efd;
}

.search-box {
	display: flex;
	gap: 8px;
}

.search-input {
	width: 80%;
	flex: 1;
	padding: 12px 16px;
	border: 1px solid rgba(15, 31, 47, 0.15);
	border-radius: 8px;
	font-size: 0.95rem;
	color: #0f1f2f;
	transition: all 0.3s ease;
	outline: none;
}

.search-input:focus {
	border-color: #0b6efd;
	box-shadow: 0 0 0 3px rgba(11, 110, 253, 0.1);
}

.search-input::placeholder {
	color: #9ba8b5;
}

.search-btn {
	padding: 12px 16px;
	background: #0b6efd;
	color: #ffffff;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	min-width: 48px;
	flex-shrink: 0;
	box-sizing: border-box;
}

.search-btn .icon-search {
	display: flex;
	align-items: center;
	justify-content: center;
}

.search-btn .icon-search::before {
	width: 20px;
	height: 20px;
}

.search-btn:hover {
	background: #0a5ed9;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(11, 110, 253, 0.3);
}

.category-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.category-item {
	margin-bottom: 8px;
}

.category-link {
	display: block;
	padding: 8px 12px;
	color: #3a5972;
	text-decoration: none;
	border-radius: 6px;
	font-size: 0.9rem;
	transition: all 0.3s ease;
	position: relative;
	padding-left: 28px;
}

.category-link::before {
	content: "■";
	position: absolute;
	left: 12px;
	color: #0b6efd;
	font-size: 0.6rem;
	line-height: 1.8;
}

.category-link:hover {
	background: rgba(11, 110, 253, 0.08);
	color: #0b6efd;
	padding-left: 32px;
}

.category-link.active {
	background: rgba(11, 110, 253, 0.12);
	color: #0b6efd;
	font-weight: 600;
}

.latest-news-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.latest-news-item {
	padding: 12px 0;
	border-bottom: 1px solid rgba(15, 31, 47, 0.1);
}

.latest-news-item:last-child {
	border-bottom: none;
}

.latest-news-link {
	display: block;
	color: #3a5972;
	text-decoration: none;
	font-size: 0.9rem;
	line-height: 1.6;
	transition: color 0.3s ease;
	margin-bottom: 8px;
}

.latest-news-link:hover {
	color: #0b6efd;
}

.latest-news-date {
	font-size: 0.8rem;
	color: #9ba8b5;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.news-detail-layout {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.news-detail-sidebar {
		position: static;
		order: -1;
	}

	.related-articles-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.form-row {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.news-detail-hero {
		height: 400px;
	}

	.news-detail-hero__title {
		font-size: 1.8rem;
	}

	.news-detail-section {
		padding: 40px 0;
	}

	.related-articles-grid {
		grid-template-columns: 1fr;
	}

	.search-input {
		width: 100%;
	}
}

