/**
 * Archive / home post grid: "material" card skin (body.zb-archive-card--material).
 * Variables from template-assets.php inline style.
 */

.zb-archive-card--material .post-item.item-grid,
.zb-archive-card--material .post-item.item-grid.grid-overlay {
	background-color: var(--ri-white, #fff);
	border-radius: var(--zb-archive-card-radius, 22px);
	overflow: hidden;
	box-shadow: var(--zb-archive-card-shadow, 0 10px 28px rgba(0, 0, 0, 0.1));
	transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.zb-archive-card--material .post-item.item-grid:hover,
.zb-archive-card--material .post-item.item-grid.grid-overlay:hover {
	transform: translateY(calc(-1 * var(--zb-archive-hover-lift, 4px)));
	box-shadow: var(--zb-archive-card-shadow-hover, 0 16px 40px rgba(0, 0, 0, 0.16));
}

.zb-archive-card--material .post-item.item-grid .entry-wrapper,
.zb-archive-card--material .post-item.item-grid.grid-overlay .entry-wrapper {
	padding: 0.85rem 1rem 1rem;
}

@media (max-width: 767.98px) {
	.zb-archive-card--material .post-item.item-grid:hover,
	.zb-archive-card--material .post-item.item-grid.grid-overlay:hover {
		transform: none;
		box-shadow: var(--zb-archive-card-shadow, 0 10px 28px rgba(0, 0, 0, 0.1));
	}
}
