:root {
	--primary-color: #1E56A0;
	--secondary-color: #2B7CE0;
	--text-color: #444444;
	--border-color: #e5e7eb;
	--bg-light: #f9fafb;
}

.container-custom {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	width: 100%;
	box-sizing: border-box;
}

.archive-main {
	background-color: var(--bg-light);
	font-family: 'Montserrat', sans-serif;
	min-height: 100vh;
}

/* Archive Header */
.archive-header {
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
	color: white;
	padding: 60px 0;
	margin-bottom: 40px;
}

.archive-header-content {
	text-align: center;
}

.archive-icon {
	font-size: 3rem;
	margin-bottom: 16px;
	opacity: 0.9;
}

.archive-title {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 12px;
}

.archive-description {
	font-size: 1.125rem;
	opacity: 0.95;
	max-width: 700px;
	margin: 0 auto;
}

.archive-meta {
	margin-top: 24px;
	display: flex;
	justify-content: center;
	gap: 24px;
	flex-wrap: wrap;
	font-size: 0.9375rem;
}

.archive-meta-item {
	display: flex;
	align-items: center;
	gap: 8px;
}

/* Content Layout */
.archive-content-layout {
	display: grid;
	grid-template-columns: 1fr 350px;
	gap: 40px;
	align-items: start;
}

/* Posts Grid */
.archive-posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 32px;
}

.archive-post-card {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	transition: all 0.3s;
}

.archive-post-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.post-card-thumbnail {
	position: relative;
	height: 200px;
	overflow: hidden;
}

.post-card-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.archive-post-card:hover .post-card-thumbnail img {
	transform: scale(1.05);
}

.post-card-thumbnail .no-thumbnail {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.post-card-thumbnail .no-thumbnail i {
	font-size: 3rem;
	color: white;
	opacity: 0.5;
}

.post-card-category {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--primary-color);
	color: white;
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
}

.post-card-content {
	padding: 24px;
}

.post-card-title {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--text-color);
	margin-bottom: 12px;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.post-card-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s;
}

.post-card-title a:hover {
	color: var(--primary-color);
}

.post-card-excerpt {
	color: #6b7280;
	font-size: 0.875rem;
	line-height: 1.6;
	margin-bottom: 16px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.post-card-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 0.875rem;
	color: #9ca3af;
}

.post-card-author {
	display: flex;
	align-items: center;
	gap: 8px;
}

.post-card-author img {
	width: 24px;
	height: 24px;
	border-radius: 50%;
}

.post-card-stats {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* Sidebar */
.archive-sidebar {
	position: sticky;
	top: 20px;
}

.sidebar-widget {
	background: white;
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 24px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.widget-title {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--text-color);
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--primary-color);
}

.widget-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget-list li {
	margin-bottom: 12px;
}

.widget-list li a {
	color: var(--text-color);
	text-decoration: none;
	font-size: 0.9375rem;
	transition: color 0.3s;
	display: block;
	padding: 8px 0;
}

.widget-list li a:hover {
	color: var(--primary-color);
	padding-left: 8px;
}

/* Pagination */
.archive-pagination {
	margin-top: 48px;
	margin-bottom: 32px;
}

.pagination-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
}

.pagination-wrapper a,
.pagination-wrapper span {
	padding: 8px 12px;
	background: white;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	color: #374151;
	text-decoration: none;
	transition: all 0.3s;
	font-weight: 500;
}

.pagination-wrapper a:hover {
	background: #f9fafb;
}

.pagination-wrapper .current {
	background: var(--primary-color);
	color: white;
	border-color: var(--primary-color);
}

/* No Posts */
.no-posts {
	text-align: center;
	padding: 80px 20px;
	background: white;
	border-radius: 12px;
}

.no-posts-icon {
	font-size: 5rem;
	color: #d1d5db;
	margin-bottom: 24px;
}

.no-posts-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #4b5563;
	margin-bottom: 12px;
}

.no-posts-text {
	color: #6b7280;
	margin-bottom: 24px;
}

.no-posts-btn {
	display: inline-flex;
	align-items: center;
	padding: 12px 24px;
	background: var(--primary-color);
	color: white;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	transition: background 0.3s;
}

.no-posts-btn:hover {
	background: var(--secondary-color);
}

.no-posts-btn i {
	margin-right: 8px;
}

/* Responsive */
@media (max-width: 1024px) {
	.archive-content-layout {
		grid-template-columns: 1fr;
	}

	.archive-sidebar {
		position: relative;
		top: 0;
	}
}

@media (max-width: 768px) {
	.archive-title {
		font-size: 2rem;
	}

	.archive-posts-grid {
		grid-template-columns: 1fr;
	}

	.archive-meta {
		flex-direction: column;
		gap: 12px;
	}
}