.Custom-Post-wrap {
	width: 100%;
}

.Custom-Post-header {
	margin-bottom: 20px;
}

.Custom-Post-section-title {
	margin: 0;
	line-height: 1.2;
	font-size: clamp(1.4rem, 2vw, 2rem);
	color: #111827;
}

.Custom-Post-grid {
	display: grid;
	grid-template-columns: repeat(var(--cp-cols-desktop, 4), minmax(0, 1fr));
	gap: var(--cp-gap-desktop, 20px);
}

@media (max-width: 980px) {
	.Custom-Post-grid {
		grid-template-columns: repeat(var(--cp-cols-tablet, 2), minmax(0, 1fr));
		gap: var(--cp-gap-tablet, 18px);
	}
}

@media (max-width: 767px) {
	.Custom-Post-grid {
		grid-template-columns: repeat(var(--cp-cols-phone, 1), minmax(0, 1fr));
		gap: var(--cp-gap-phone, 16px);
	}
}

.Custom-Post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid rgba(17, 24, 39, 0.08);
	border-radius: 18px;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.Custom-Post-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(17, 24, 39, 0.12);
	border-color: rgba(17, 24, 39, 0.12);
}

.Custom-Post-wrap--hover-shadow-off .Custom-Post-card:hover {
	transform: none;
	box-shadow: none;
}

.Custom-Post-image-wrap {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #f3f4f6;
}

.Custom-Post-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.Custom-Post-card:hover .Custom-Post-image {
	transform: scale(1.04);
}

.Custom-Post-card-inner {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: var(--cp-card-inner-padding-desktop, 18px);
	margin: var(--cp-card-inner-margin-desktop, 0px);
}

@media (max-width: 980px) {
	.Custom-Post-card-inner {
		padding: var(--cp-card-inner-padding-tablet, 18px);
		margin: var(--cp-card-inner-margin-tablet, 0px);
	}
}

@media (max-width: 767px) {
	.Custom-Post-card-inner {
		padding: var(--cp-card-inner-padding-phone, 16px);
		margin: var(--cp-card-inner-margin-phone, 0px);
	}
}

.Custom-Post-topline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.Custom-Post-category {
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	color: #2563eb;
}

.Custom-Post-category:hover {
	color: #1d4ed8;
}

.Custom-Post-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 5px 9px;
	border-radius: 999px;
	background: #111827;
	color: #ffffff;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
}

.Custom-Post-title {
	margin: 0;
	font-size: 1.125rem;
	line-height: 1.35;
	color: #111827;
}

.Custom-Post-title a {
	color: inherit;
	text-decoration: none;
}

.Custom-Post-title a:hover {
	color: #2563eb;
}

.Custom-Post-excerpt {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.65;
	color: #4b5563;
}

.Custom-Post-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0;
	font-size: 0.82rem;
	line-height: 1.5;
	color: #6b7280;
}

.Custom-Post-meta--list {
	margin-top: 2px;
}

.Custom-Post-meta-sep {
	margin: 0 8px;
	color: #9ca3af;
}

.Custom-Post-clock {
	font-size: 0.9em;
}

.Custom-Post-empty {
	padding: 22px 20px;
	border: 1px dashed rgba(17, 24, 39, 0.16);
	border-radius: 16px;
	background: #f9fafb;
	color: #6b7280;
	text-align: center;
}

.Custom-Post-grid--list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.Custom-Post-card--list {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
	background: transparent;
	transform: none;
}

.Custom-Post-card--list:hover {
	transform: none;
	box-shadow: none;
}

.Custom-Post-wrap--list .Custom-Post-card-inner {
	padding-left: 0;
	padding-right: 0;
}

.Custom-Post-wrap--list .Custom-Post-card--list {
	border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.Custom-Post-wrap--list-border-off .Custom-Post-card--list {
	border-bottom: 0;
}

.cpde-is-loading {
	opacity: 0.55;
	pointer-events: none;
	transition: opacity 0.2s ease;
}
