#proradio-templates-showcase {
	margin: 2rem 0;
}

.proradio-templates-categories {
	margin-bottom: 1rem;
}

.proradio-templates-categories button {

}
#proradio-templates-showcase .proradio-templates-categories button {

		margin-right: 0.5rem;
	padding: 1em 1em;
	background: #eee;
	border: none !important;
	cursor: pointer;
	transition: background 0.2s;
margin-bottom:8px !important;
   padding:1em 1em !important;
  font-size: 12px !important;
  border-radius: 5px !important;
}
#proradio-templates-showcase .proradio-templates-categories button[data-id='all'] {
background:  #fff !important; border:  1px solid #cdcdcd !important; color: #000 !important;
	}

.proradio-templates-categories button:hover,
.proradio-templates-categories button.active {
	opacity: 0.8;
}
/* Masonry columns for the gallery */
.proradio-templates-gallery {
	column-count: 4;
	column-gap: 20px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
	.proradio-templates-gallery {
		column-count: 2;
	}
}
@media (max-width: 768px) {
	.proradio-templates-gallery {
		column-count: 1;
	}
}

/* Each item must be inline-block so it flows into the columns */
.proradio-templates-gallery a {
	display: inline-block;
	width: 100%;
	margin: 0 0 10px;
	border:  1px solid #ddd;
	/* keep existing styles */
	position: relative;
	overflow: hidden;
	border-radius:  8px; overflow: hidden;
}



.proradio-templates-gallery img {
	width: 100%;
	height: auto;
	display: block;
	transition: filter 0.3s ease;
}

/* hover: dim + magnifying glass */
.proradio-templates-gallery a:hover img {
	filter: brightness(0.7);
}

.proradio-templates-gallery a:hover::after {
	content: "";
	position: absolute;
	top: 10px;
	right: 10px;
	
	width: 40px;
	height: 40px;
	/* proper magnifier icon, white on transparent */
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23ffffff' d='M15.5 14h-0.8l-0.3-0.3a6.5 6.5 0 10-1 1l0.3 0.3v0.8l5 5 1.5-1.5-5-5zm-6 0a4.5 4.5 0 114.5-4.5A4.5 4.5 0 019.5 14z'/></svg>");
	background-size: 80%;
	background-repeat: no-repeat;
	pointer-events: none;
	z-index: 2;
}




/* —————— Skeleton placeholder —————— */
.proradio-template-placeholder {
	/* match your grid item aspect ratio */
	width: 100%;
	padding-bottom: 56.25%;  /* 16:9 ratio */
	background: #eee;
	position: relative;
	overflow: hidden;
}

/* shimmer effect */
.proradio-template-placeholder::before {
	content: "";
	position: absolute;
	top: 0;
	left: -150%;
	width: 150%;
	height: 100%;
	background: linear-gradient(
		to right,
		rgba(255,255,255,0) 0%,
		rgba(255,255,255,0.6) 50%,
		rgba(255,255,255,0) 100%
	);
	animation: skeleton-wave 1.2s linear infinite;
}

@keyframes skeleton-wave {
	0%   { transform: translateX(0); }
	100% { transform: translateX(100%); }
}

