:root {
	--text-color: #f0f0f0;
	--card-bg: #2a2a2a;
	--accent-color: #3fa9f5;
}

body:not(.dark-theme) {
	--background: #ffffff;
	--text-color: #121212;
	--card-bg: #f3f3f3;
}

.news-list-section {
	padding: 60px 20px;
	background-color: var(--background);
	color: var(--text-color);
}

.news-list-section .section-title {
	text-align: center;
	font-size: 2.5rem;
	font-weight: 600;
	margin-bottom: 40px;
	color: var(--text-color);
}

.news-list {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.news-item {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	background-color: var(--card-bg);
	border-radius: 20px;
	padding: 20px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s ease;
	text-decoration: none;
	color: inherit;
}

.news-item:hover {
	transform: scale(1.01);
}

.news-thumb-wrapper {
	position: relative;
	flex-shrink: 0;
}

.news-thumb {
	width: 220px;
	height: 130px;
	object-fit: cover;
	border-radius: 12px;
	display: block;
}

.news-date {
	position: absolute;
	top: 10px;
	left: 10px;
	background-color: #5865f2;
	color: #fff;
	font-size: 0.8rem;
	padding: 5px 10px;
	border-radius: 8px;
	font-weight: 500;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.news-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.news-title {
	font-size: 1.3rem;
	font-weight: 700;
	margin-bottom: 10px;
	color: var(--text-color);
	text-decoration: none;
}

.news-description {
	font-size: 1rem;
	line-height: 1.5;
	color: var(--text-color);
	text-decoration: none;
}
