/* galery styles */
ul {
	padding: 0;
}

.gallery__wrapper {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 0;
	margin-top: 20px;
	padding-inline: 15px;
}

.gallery.gallery-col-4 {
	display: grid;
	flex-direction: column;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: minmax(100px, auto);
	column-gap: 15px;
	row-gap: 23px;
}
.gallery.gallery-col-3 {
	display: grid;
	flex-direction: column;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: minmax(100px, auto);
	column-gap: 15px;
	row-gap: 23px;
}

.type-2 {
	grid-column: span 2;
	grid-row: span 1;
}

.gallery__item {
	margin: 0;
	padding: 0;
	list-style: none;
	border: none;
	display: flex;
	flex-direction: column;
	position: relative;
	max-height: 370px;
	transition: transform 0.3s ease;
}

.gallery__item:hover {
	border: none;
}

.gallery__item-img {
	margin: 0;
	flex: 1;
	position: relative;
	overflow: hidden;
	border-radius: 10px;
}

.gallery__item-img .gallery__item-link {
	display: block;
	width: 100%;
	height: 100%;
}

.gallery__item-img img {
	cursor: pointer;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	transition: transform 150ms linear;
}

.gallery__item-img:hover img {
	transform: scale(1.1);
}

.gallery__info {
	display: flex;
	-webkit-box-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	justify-content: start;
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	text-shadow: 0 0 5px #000;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 40px 7px 7px;
	background-image: linear-gradient(
		-180deg,
		rgba(0, 0, 0, 0) 0%,
		rgba(0, 0, 0, 0.3) 97%
	);
}
.gallery__info span {
	position: relative;
}

.gallery__item-img .fa-search-plus {
	pointer-events: none;
}

.gallery__item-img .fa-search-plus {
	display: none;
}

.gallery__item:hover .gallery__item-img .fa-search-plus {
	display: block;
}

.gallery__play-icon {
	-webkit-filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, 0.7));
	filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, 0.7));
	height: 100%;
	width: 13px;
	display: block;
}

.gallery__info {
	transition: transform 0.3s cubic-bezier(0, 0, 0.5, 1);
}

.gallery__info:hover {
	transform: scale(0.96);
	text-decoration: none;
	color: #fff;
}

.blocks-gallery-caption {
	font-size: 0.75em;
	color: #666;
	text-align: center;
}

@media (min-width: 1025px) {
	.lg\:type-2 {
		grid-column: span 2;
		grid-row: span 1;
	}
}

@media (max-width: 1024px) {
	.gallery__item {
		max-height: 190px;
	}

	.gallery.gallery-col-4 {
		grid-template-columns: repeat(3, 1fr);
		column-gap: 10px;
		row-gap: 15px;
	}
	.gallery.gallery-col-3 {
		grid-template-columns: repeat(2, 1fr);
		column-gap: 10px;
		row-gap: 15px;
	}
	.max-lg\:type-2 {
		grid-column: span 2;
		grid-row: span 1;
	}
	.gallery__play-icon {
		width: 7px;
	}
	.gallery__info {
		font-size: 13px;
	}
}