/* VN Gallery — frontend */

.vn-gallery-wrap {
	margin: 30px 0;
}

.vn-gallery-title {
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 16px;
	color: #1F2937;
}

/* Grid */
.vn-gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
}

.vn-gallery-item {
	display: block;
	overflow: hidden;
	border-radius: 4px;
	background: #f0f0f0;
	aspect-ratio: 1;
}

.vn-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.vn-gallery-item:hover img {
	transform: scale(1.06);
}

/* Load more */
.vn-gallery-more-wrap {
	text-align: center;
	margin-top: 20px;
}

.vn-gallery-load-more {
	display: inline-block;
	padding: 10px 28px;
	background: #228FC6;
	color: #fff;
	border: none;
	border-radius: 50px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease;
}

.vn-gallery-load-more:hover {
	background: #0D4667;
}

.vn-gallery-load-more:disabled {
	background: #aaa;
	cursor: default;
}

.vn-gallery-counter {
	font-weight: 400;
	font-size: 13px;
	opacity: 0.85;
}

/* Responzivno */
@media (max-width: 767px) {
	.vn-gallery-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 480px) {
	.vn-gallery-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 4px;
	}
}
