.ntconf-gallery {
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.ntconf-gallery-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}

.ntconf-cat {
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 600;
	border: 1px solid #d1d5db;
	border-radius: 999px;
	background: #fff;
	color: #111111;
	cursor: pointer;
	transition: all 0.15s ease;
}

.ntconf-cat span {
	margin-left: 6px;
	font-weight: 400;
	color: #6b7280;
}

.ntconf-cat:hover {
	border-color: #111111;
	background: #111111;
	color: #ffffff;
}

.ntconf-cat:hover span {
	color: rgba(255, 255, 255, 0.85);
}

.ntconf-cat.is-active {
	background: #dc2626;
	border-color: #dc2626;
	color: #ffffff;
}

.ntconf-cat.is-active span {
	color: rgba(255, 255, 255, 0.85);
}

.ntconf-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 12px;
}

.ntconf-gallery-item {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 8px;
	aspect-ratio: 3 / 2;
	background: #f3f4f6;
	text-decoration: none;
}

.ntconf-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.25s ease;
}

.ntconf-gallery-item:hover img {
	transform: scale(1.05);
}

@media (max-width: 640px) {
	.ntconf-gallery-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 6px;
	}
}
