/* ===============================
   Certificate Carousel Styles
   =============================== */
.wpcc-carousel {
	position: relative;
	max-width: 1200px;
	margin: 30px auto;
	padding: 0 55px;
	box-sizing: border-box;
}
.wpcc-carousel * {
	box-sizing: border-box;
}

.wpcc-viewport {
	overflow: hidden;
	width: 100%;
}

.wpcc-track {
	display: flex;
	transition: transform 0.45s ease;
	will-change: transform;
}

.wpcc-slide {
	flex: 0 0 auto;
	padding: 0 10px;
}

/* --- card --- */
.wpcc-card {
	background: #ffffff;
	border-radius: 14px;
	box-shadow: 0 4px 18px rgba(30, 20, 60, 0.08);
	padding: 18px 18px 22px;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	border: 1px solid #f0edf7;
}

.wpcc-image-wrap {
	position: relative;
	width: 100%;
	background: #f6f5fa;
	border-radius: 10px;
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 140px;
	margin-bottom: 26px;
}

.wpcc-image-wrap img {
	max-width: 100%;
	max-height: 150px;
	object-fit: contain;
	border-radius: 4px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
	background: #fff;
}

.wpcc-no-image {
	width: 100%;
	height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	font-size: 13px;
}

.wpcc-badge {
	position: absolute;
	bottom: -16px;
	left: 50%;
	transform: translateX(-50%);
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: linear-gradient(135deg, #7b3fe4, #5a1fb8);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 3px 8px rgba(90, 31, 184, 0.35);
	border: 3px solid #fff;
}

.wpcc-title {
	font-size: 17px;
	font-weight: 700;
	color: #3d1f7a;
	margin: 4px 0 8px;
	line-height: 1.3;
}

.wpcc-desc {
	font-size: 13.5px;
	color: #6b6b78;
	margin: 0 0 14px;
	line-height: 1.5;
	flex-grow: 1;
}

.wpcc-link {
	font-size: 13.5px;
	font-weight: 600;
	color: #2f6fed;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}
.wpcc-link:hover {
	text-decoration: underline;
	color: #1d54c9;
}

/* --- arrows --- */
.wpcc-arrow {
	position: absolute;
	top: 45%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #ffffff;
	border: 1px solid #e7e3f2;
	box-shadow: 0 3px 10px rgba(30, 20, 60, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #5a1fb8;
	z-index: 5;
	transition: background 0.2s ease, color 0.2s ease;
}
.wpcc-arrow:hover {
	background: #5a1fb8;
	color: #fff;
}
.wpcc-arrow.wpcc-prev { left: 0; }
.wpcc-arrow.wpcc-next { right: 0; }
.wpcc-arrow[disabled] {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

/* --- dots --- */
.wpcc-dots {
	display: flex;
	justify-content: center;
	gap: 7px;
	margin-top: 22px;
}
.wpcc-dots button {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ddd7ec;
	border: none;
	padding: 0;
	cursor: pointer;
}
.wpcc-dots button.active {
	background: #5a1fb8;
	width: 22px;
	border-radius: 5px;
	transition: width 0.25s ease;
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 1024px) {
	.wpcc-carousel { padding: 0 45px; }
	.wpcc-title { font-size: 16px; }
}

@media (max-width: 640px) {
	.wpcc-carousel { padding: 0 36px; margin: 20px auto; }
	.wpcc-arrow { width: 34px; height: 34px; }
	.wpcc-card { padding: 14px 14px 18px; }
	.wpcc-image-wrap { min-height: 110px; margin-bottom: 22px; }
	.wpcc-title { font-size: 15px; }
	.wpcc-desc { font-size: 13px; }
}
