/* WP Profile Directory — Featured Carousel */

.wpd-featured-carousel {
	position: relative;
}

/* Clip cards to their slide boundary. */
.wpd-featured-swiper {
	overflow: hidden;
}

/* Stretch all slides to the same height so cards align in a row. */
.wpd-featured-swiper .swiper-wrapper {
	align-items: stretch;
}
.wpd-featured-swiper .swiper-slide {
	height: auto;
	box-sizing: border-box;
}
.wpd-featured-swiper .swiper-slide .directory-card {
	height: 100%;
}

/* ---- Navigation arrows ---- */
.wpd-featured-prev,
.wpd-featured-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 36px;
	height: 36px;
	padding: 0;
	border-radius: 50%;
	background: var(--directory-card-bg, #ffffff);
	border: 1px solid var(--directory-card-border, #e5e7eb);
	color: var(--directory-accent, #4f46e5);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
	transition: background 0.15s, color 0.15s, border-color 0.15s;
	flex-shrink: 0;
}
.wpd-featured-prev svg,
.wpd-featured-next svg {
	width: 16px;
	height: 16px;
	display: block;
}
.wpd-featured-prev {
	left: 8px;
}
.wpd-featured-next {
	right: 8px;
}
.wpd-featured-prev:hover,
.wpd-featured-next:hover {
	background:   var(--directory-accent, #4f46e5);
	border-color: var(--directory-accent, #4f46e5);
	color: #fff;
}
.wpd-featured-prev.swiper-button-disabled,
.wpd-featured-next.swiper-button-disabled {
	opacity: 0.35;
	pointer-events: none;
}

/* ---- Responsive: smaller arrows on mobile ---- */
@media (max-width: 560px) {
	.wpd-featured-prev,
	.wpd-featured-next {
		width: 28px;
		height: 28px;
	}
	.wpd-featured-prev svg,
	.wpd-featured-next svg {
		width: 13px;
		height: 13px;
	}
}
