/* =============================================================
   WLC Portfolio — Stylesheet
   ============================================================= */

/* ---- Filter bar ---- */
.wlc-portfolio-wrap {
	max-width: 100%;
	padding: 0;
}

.wlc-filter-bar {
	display: flex;
	flex-wrap: wrap;
	    justify-content: center;
	gap: 10px;
	margin-bottom: 40px;
}

.wlc-filter-btn {
	font-family: "avertastd", sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #555;
	background: #f5f5f5;
	border: none;
	border-radius: 50px;
	padding: 10px 22px;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
	line-height: 1;
}

.wlc-filter-btn:hover,
.wlc-filter-btn.active {
	background: #5E2CED;
	color: #ffffff;
}

/* ---- Grid ---- */
.wlc-portfolio-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

@media ( max-width: 900px ) {
	.wlc-portfolio-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media ( max-width: 560px ) {
	.wlc-portfolio-grid {
		grid-template-columns: 1fr;
	}
}

/* ---- Card ---- */
.wlc-card {
	display: flex;
	flex-direction: column;
	border: 1px solid #E8E1FC;
	border-radius: 10px;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.2s, transform 0.2s;
	overflow: hidden;
}

.wlc-card:hover {
	box-shadow: 0 8px 28px rgba(94, 44, 237, 0.10);
	transform: translateY(-3px);
	text-decoration: none;
	color: inherit;
}

.wlc-card-inner {
	padding: 28px 24px 24px;
	display: flex;
	flex-direction: column;
	height: 100%;
}

/* Logo / featured image */
.wlc-card-logo {
	width: 64px;
	height: 64px;
	margin-bottom: 18px;
	flex-shrink: 0;
}

.wlc-card-logo img {
	width: 64px;
	height: 64px;
	object-fit: contain;
	border-radius: 8px;
}

/* Title */
.wlc-card-title {
	color: #000000;
	font-family: "avertastd", sans-serif;
	font-size: 22px;
	font-weight: 600;
	margin: 0 0 12px;
	line-height: 1.3;
}

/* Description */
.wlc-card-desc {
	color: #000000;
	font-family: "avertastd", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	flex-grow: 1;
}

/* Footer / badge */
.wlc-card-footer {
	margin-top: 30px;
}

.wlc-cat-badge {
	display: inline-block;
	font-family: "avertastd", sans-serif;
	font-size: 12px;
	font-weight: 600;
	background: #E8E1FC;
	color: #5E2CED;
	border-radius: 25px;
	padding: 8px 18px;
	pointer-events: none;
	line-height: 1;
}

/* ---- Load More ---- */
.wlc-load-more-wrap {
	text-align: center;
	margin-top: 48px;
}

.wlc-load-more-btn {
	font-family: "avertastd", sans-serif;
	font-size: 16px;
	font-weight: 600;
	background: #5E2CED;
	color: #ffffff;
	border: none;
	border-radius: 50px;
	padding: 16px 48px;
	cursor: pointer;
	transition: background 0.2s, opacity 0.2s;
}

.wlc-load-more-btn:hover {
	background: #4b1fd4;
}

.wlc-load-more-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.wlc-load-more-btn.wlc-hidden {
	display: none;
}

/* ---- Fade-in animation for new cards ---- */
@keyframes wlcFadeIn {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: translateY(0); }
}

.wlc-card.wlc-animate {
	animation: wlcFadeIn 0.3s ease both;
}
