/* ============================================
   News System Styles
   ============================================ */

.news-grid {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin: 0 0 40px 0;
}

.news-card {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	transition: transform 0.2s, box-shadow 0.2s;
	cursor: pointer;
	display: grid;
	grid-template-columns: 300px 1fr;
	width: 100%;
}

@media (max-width: 768px) {
	.news-card {
		grid-template-columns: 1fr;
	}
}

.news-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.news-image {
	width: 100%;
	height: 250px;
	object-fit: cover;
	background: #e5e7eb;
}

.news-content {
	padding: 20px;
}

.news-title {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 12px;
	color: #1f2937;
}

.news-excerpt {
	color: #6b7280;
	font-size: 14px;
	margin-bottom: 6px;
	line-height: 1.5;
}

.news-meta-inline {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	color: #9ca3af;
	margin-bottom: 8px;
}

.news-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	color: #9ca3af;
	padding: 40px 40px 0 40px;
}

.news-detail {
	background: white;
	border-radius: 12px;
	padding: 0;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	width: 100%;
	margin: 0;
	margin-top: 40px;
	margin-bottom: 40px;
	position: relative;
}

.news-detail h2 {
	font-size: 32px;
	margin-bottom: 16px;
	padding: 20px 40px 0 40px;
}

@media (max-width: 768px) {
	.news-detail h2 {
		font-size: 24px;
		padding: 20px 30px 0 20px;
	}
}

.news-detail .news-image {
	width: 100%;
	height: auto;
	max-height: 400px;
	margin: 20px 0;
	border-radius: 8px;
}

.news-detail .content {
	font-size: 16px;
	line-height: 1.8;
	color: #374151;
	padding: 40px;
	padding-top: 20px;
}

.news-detail .content p {
	margin: 0;
	margin-bottom: 0.5em;
}

.news-detail .content br {
	display: none;
}

.news-detail .content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 20px 0;
}

.back-button {
	display: inline-block;
	padding: 4px 8px;
	background: #777777;
	color: white !important;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	font-size: 11px;
	position: absolute;
	top: 16px;
	right: 16px;
}

.back-button:hover {
	background: #3b3b3bff;
	color: white !important;
}

.pagination-button {
	display: inline-block;
	padding: 4px 8px;
	background: #777777;
	color: white !important;
	border: 1px solid #777777;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
	font-size: 12px;
	cursor: pointer;
	transition: background 0.2s ease;
}

.pagination-button:hover {
	background: #3b3b3bff;
	color: white !important;
}

.pagination-number {
	display: inline-block;
	padding: 4px 8px;
	background: white;
	color: #777777;
	border: 1px solid #777777;
	border-radius: 4px;
	font-weight: 600;
	font-size: 12px;
	cursor: pointer;
	transition: background 0.2s ease;
}

.pagination-number:hover {
	background: #3b3b3bff;
	color: white;
}

.pagination-number.active {
	background: #777777;
	color: white;
}

.read-more-link {
	color: #777777;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.2s ease;
}

.read-more-link:hover {
	color: #3b3b3bff;
}

.empty-state {
	text-align: center;
	padding: 80px 20px;
	background: white;
	border-radius: 12px;
	margin-top: 40px;
}

.empty-state h2 {
	font-size: 24px;
	color: #6b7280;
}
