/* Dehyari Kerman — CPT single / archive (Elementor shortcodes) */

.dhy-cpt-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: 16px;
}

.dhy-cpt-meta__chip {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(11, 95, 99, 0.1);
	color: #0b5f63;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.dhy-cpt-archive {
	display: grid;
	grid-template-columns: repeat(var(--dhy-album-cols, 3), minmax(0, 1fr));
	gap: 16px;
}

.dhy-cpt-archive__card {
	margin: 0;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 10px 28px rgba(21, 32, 40, 0.08);
}

.dhy-cpt-archive__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.dhy-cpt-archive__thumb {
	display: block;
	aspect-ratio: 16 / 10;
	background: #152028 center / cover no-repeat;
}

.dhy-cpt-archive__thumb.is-empty {
	background: linear-gradient(135deg, #0b5f63, #152028);
}

.dhy-cpt-archive__body {
	display: block;
	padding: 14px 16px 16px;
}

.dhy-cpt-archive__title {
	display: block;
	font-size: 16px;
	font-weight: 700;
	color: #152028;
	line-height: 1.45;
}

.dhy-cpt-archive__meta {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	color: #5b6773;
}

.dhy-cpt-file {
	margin: 20px 0;
	text-align: center;
}

.dhy-cpt-file__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 8px;
	background: #0b5f63;
	color: #fff !important;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.2s ease;
}

.dhy-cpt-file__btn:hover,
.dhy-cpt-file__btn:focus-visible {
	background: #094a4d;
}

.dhy-cpt-file__name {
	font-weight: 500;
	opacity: 0.85;
	font-size: 0.9em;
}

.dhy-cpt-extra {
	margin-top: 24px;
}

.dhy-cpt-extra__title {
	margin: 0 0 10px;
	font-size: 20px;
	color: #152028;
}

.dhy-cpt-extra__text {
	color: #5b6773;
	line-height: 1.8;
}

.dhy-cpt-empty {
	text-align: center;
	color: #5b6773;
	padding: 24px;
}

@media (max-width: 768px) {
	.dhy-cpt-archive {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	.dhy-cpt-archive {
		grid-template-columns: 1fr;
	}
}
