.articles-header {
	max-width: 1200px;
	margin: 0 auto;
	padding: 3rem 1rem 2rem;
	text-align: center;
}

.articles-header h1 {
	font-size: clamp(2rem, 7vw, 3rem);
	color: #1f2937;
	margin-bottom: 0.75rem;
	line-height: 1.2;
}

.articles-header p {
	font-size: clamp(1rem, 2.5vw, 1.1rem);
	color: #666;
	margin-bottom: 2rem;
}

.search-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem 2rem;
}

.search-wrapper {
	display: flex;
	gap: 0.75rem;
	margin-bottom: 2rem;
}

.search-input {
	flex: 1;
	padding: 0.85rem 1.25rem;
	border: 2px solid #e5e7eb;
	border-radius: 0.5rem;
	font-size: 1rem;
	transition: all 0.3s;
	font-family: inherit;
}

.search-input:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-button {
	padding: 0.85rem 2rem;
	background: #2563eb;
	color: white;
	border: none;
	border-radius: 0.5rem;
	font-size: 1rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s;
	white-space: nowrap;
}

.search-button:hover {
	background: #1d4ed8;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.filter-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.filter-tag {
	padding: 0.5rem 1rem;
	background: #f0f7ff;
	color: #2563eb;
	border: 1px solid #2563eb;
	border-radius: 1rem;
	cursor: pointer;
	transition: all 0.3s;
	font-size: 0.9rem;
	font-weight: 500;
}

.filter-tag:hover,
.filter-tag.active {
	background: #2563eb;
	color: white;
}

.articles-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem 3rem;
}

.articles-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

.article-preview-card {
	background: white;
	border-radius: 0.75rem;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	transition: all 0.3s;
	display: flex;
	flex-direction: column;
}

.article-preview-card:hover {
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
	transform: translateY(-4px);
}

.article-preview-image {
	width: 100%;
	height: 220px;
	background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 3rem;
}

.article-preview-content {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.article-category {
	display: inline-block;
	background: #f0f7ff;
	color: #2563eb;
	padding: 0.25rem 0.75rem;
	border-radius: 0.25rem;
	font-size: 0.8rem;
	font-weight: 600;
	margin-bottom: 0.75rem;
	width: fit-content;
}

.article-preview-title {
	font-size: 1.2rem;
	color: #1f2937;
	margin-bottom: 0.5rem;
	line-height: 1.4;
	font-weight: 600;
}

.article-preview-description {
	color: #666;
	font-size: 0.95rem;
	margin-bottom: 1rem;
	flex-grow: 1;
	line-height: 1.5;
}

.article-preview-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 1rem;
	border-top: 1px solid #e5e7eb;
	color: #999;
	font-size: 0.85rem;
}

.article-read-button {
	color: #2563eb;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s;
}

.article-read-button:hover {
	color: #1d4ed8;
}

.no-results {
	grid-column: 1 / -1;
	text-align: center;
	padding: 3rem 1rem;
	color: #999;
}

.no-results-icon {
	font-size: 3rem;
	margin-bottom: 1rem;
}

@media (max-width: 768px) {
	.articles-header {
		padding: 2rem 1rem 1.5rem;
	}

	.articles-header h1 {
		font-size: clamp(1.5rem, 6vw, 2rem);
		margin-bottom: 0.5rem;
	}

	.search-wrapper {
		flex-direction: column;
		gap: 0.5rem;
	}

	.search-input {
		width: 100%;
	}

	.search-button {
		width: 100%;
	}

	.filter-tags {
		justify-content: flex-start;
		overflow-x: auto;
		padding-bottom: 0.5rem;
	}

	.filter-tag {
		flex-shrink: 0;
	}

	.articles-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.article-preview-image {
		height: 200px;
		font-size: 2.5rem;
	}

	.article-preview-content {
		padding: 1.25rem;
	}

	.article-preview-title {
		font-size: 1.1rem;
	}

	.article-preview-description {
		font-size: 0.9rem;
	}
}
