/**
 * Danesh Land — Podcast System: Category Archive Styles (child-theme only)
 * تاریخ ایجاد: 2026-08-25
 */

.tdch-p-archive {
	direction: rtl;
	text-align: right;
	max-width: 1100px;
	margin: 0 auto;
	padding: 24px 16px 60px;
	color: #1c1c2e;
}

.tdch-p-archive__title {
	font-size: 26px;
	font-weight: 800;
	margin: 0 0 24px;
	color: #1c1c2e;
}

.tdch-p-archive__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 20px;
	margin-bottom: 32px;
}

.tdch-p-archive__card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(20, 20, 40, 0.05);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tdch-p-archive__card:hover {
	box-shadow: 0 8px 22px rgba(20, 20, 40, 0.1);
	transform: translateY(-3px);
}

.tdch-p-archive__card-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.tdch-p-archive__card-media {
	background: #eef1ff;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.tdch-p-archive__card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tdch-p-archive__card-title {
	font-size: 16px;
	font-weight: 700;
	color: #1c1c2e;
	margin: 0;
	padding: 14px;
}

.tdch-p-archive__empty {
	color: #6a6a85;
	background: #f7f8fa;
	border-radius: 12px;
	padding: 24px;
	text-align: center;
}

.tdch-p-archive__pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-bottom: 32px;
}

.tdch-p-archive__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border-radius: 8px;
	background: #f7f8fa;
	color: #3949ab;
	text-decoration: none;
	font-weight: 600;
}

.tdch-p-archive__pagination .page-numbers.current {
	background: #3949ab;
	color: #fff;
}

.tdch-p-archive__description {
	background: #f7f8fa;
	border-radius: 16px;
	padding: 24px;
	color: #444;
	line-height: 2;
}

@media (max-width: 767px) {
	.tdch-p-archive__grid {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
		gap: 14px;
	}
}

@media (max-width: 480px) {
	.tdch-p-archive {
		padding: 16px 10px 40px;
	}

	.tdch-p-archive__title {
		font-size: 20px;
	}

	.tdch-p-archive__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
