.dnp-gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 0.75rem;
	box-shadow: 0 1px 2px rgba(0,0,0,.06);
	transition: all .4s ease;
}

.dnp-gallery-item:hover {
	box-shadow: 0 20px 40px rgba(0,0,0,.15);
}

.dnp-gallery-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .8s ease;
}

.dnp-gallery-item:hover .dnp-gallery-img {
	transform: scale(1.08);
}

.dnp-gallery-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.15);
	opacity: 1;
	transition: opacity .4s ease;
}

.dnp-gallery-item:hover .dnp-gallery-overlay {
	opacity: 0;
}

.dnp-gallery-caption {
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	color: white;
	font-family: serif;
	font-style: italic;
	font-size: 1.1rem;
	opacity: 0;
	transform: translateY(10px);
	transition: all .4s ease;
}

.dnp-gallery-item:hover .dnp-gallery-caption {
	opacity: 1;
	transform: translateY(0);
}
.dnp-gallery-item img {height:100%!important;}