/**
 * Archive Pages Styles
 */

/* Hero section */
.hero-section {
	position: relative;
	padding: 0;
	color: #fff;
	z-index: 10;
	overflow: hidden;
}

.hero-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	align-items: stretch;
	min-height: 400px;
}

.hero-image {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hero-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 60px;
	position: relative;
	z-index: 2;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content::before {
	display: none;
}

.hero-content::after {
	display: none;
}

.hero-content h1 {
	font-size: 48px;
	margin: 0 0 20px 0;
	font-weight: 400;
	color: #fff;
	text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.6);
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.hero-subtitle {
	font-size: 16px;
	margin: 0;
	font-weight: 400;
	color: #e0e0e0;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
	letter-spacing: 0.5px;
	line-height: 1.6;
	opacity: 1;
}

/* Archive grid */
.archive-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	margin: 40px 0;
}

@media (max-width: 1200px) {
	.archive-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.archive-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.archive-grid {
		grid-template-columns: 1fr;
	}
}

.archive-card {
	background: #fff;
	border-radius: 23px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.archive-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-image {
	width: 100%;
	height: 250px;
	overflow: hidden;
	background-color: #f0f0f0;
}

.card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.archive-card:hover .card-image img {
	transform: scale(1.05);
}

.card-content {
	padding: 20px;
}

.card-title {
	margin: 0 0 15px 0;
	font-size: 20px;
	font-weight: 600;
}

.card-title a {
	color: #333;
	text-decoration: none;
}

.card-title a:hover {
	color: #0066cc;
}

.card-excerpt {
	margin: 0 0 15px 0;
	color: #666;
	font-size: 14px;
	line-height: 1.5;
}

.card-meta {
	font-size: 12px;
	color: #999;
}

/* Pagination */
.nav-links.page-numbers {
	text-align: center;
	padding: 30px 0 0 0;
	margin: 0;
	display: inline-flex;
	gap: 8px;
	list-style: none;
	justify-content: center;
	width: 100%;
}

.nav-links.page-numbers li {
	margin: 0;
}

.nav-links.page-numbers a,
.nav-links.page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 2px solid #0066cc;
	border-radius: 6px;
	color: #fff !important;
	background: #0066cc !important;
	text-decoration: none !important;
	transition: all 0.3s ease;
	font-weight: 600;
	font-size: 14px;
}

.nav-links.page-numbers a:visited {
	color: #fff !important;
}

.nav-links.page-numbers a:hover {
	background-color: #0052a3 !important;
	border-color: #0052a3 !important;
	color: #fff !important;
}

.nav-links.page-numbers .current {
	background-color: #0066cc !important;
	border-color: #0066cc !important;
	color: #fff !important;
}

.nav-links.page-numbers .dots {
	border: none;
	cursor: default;
	color: #666;
	background: transparent;
	padding: 0;
	min-width: auto;
	height: auto;
}

/* Responsive */
@media (max-width: 1024px) {
	.hero-content h1 {
		font-size: 36px;
	}

	.hero-subtitle {
		font-size: 14px;
	}

	.hero-content {
		padding: 40px;
	}
}

@media (max-width: 768px) {
	.hero-layout {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.hero-image {
		min-height: 250px;
	}

	.hero-content {
		padding: 30px;
		min-height: 250px;
	}

	.hero-content h1 {
		font-size: 28px;
		margin-bottom: 12px;
	}

	.hero-subtitle {
		font-size: 13px;
	}

	.card-content {
		padding: 15px;
	}

	.card-title {
		font-size: 18px;
	}
}