/* PXL Alumni Grid Slider — plugin-owned responsive CSS */

.pxl-ags-wrapper {
	position: relative;
	width: 100%;
}

.pxl-ags-swiper {
	width: 100%;
	overflow: hidden;
}

/* Reserve space only when nav controls are actually rendered */
.pxl-ags-wrapper.pxl-ags-has-nav .pxl-ags-swiper {
	padding-bottom: 56px !important;
}

.pxl-ags-swiper .swiper-wrapper {
	align-items: stretch;
}

.pxl-ags-swiper .swiper-slide {
	height: auto;
	display: flex;
}

/* ---------- Card (photo + badge) ---------- */
.pxl-ags-card {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	background-color: #1B2A1E;
	border-radius: 14px;
	overflow: hidden;
	box-sizing: border-box;
}

.pxl-ags-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.pxl-ags-batch {
	position: absolute;
	left: 14px;
	bottom: 14px;
	z-index: 2;
	display: inline-block;
	padding: 6px 16px;
	font-size: 13px;
	font-weight: 600;
	color: #1B2A1E;
	background-color: #A9D6A5;
	border-radius: 20px;
	width: fit-content;
	line-height: 1.4;
}

/* ---------- Pagination dots ---------- */
.pxl-ags-pagination.swiper-pagination {
	position: absolute !important;
	bottom: 4px !important;
	left: 0 !important;
	width: auto !important;
	text-align: left !important;
}

.pxl-ags-pagination .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background-color: #4A5A4C;
	opacity: 1;
	margin: 0 5px 0 0 !important;
	transition: width 0.25s ease;
}

.pxl-ags-pagination .swiper-pagination-bullet-active {
	background-color: #A9D6A5;
	width: 26px;
	border-radius: 6px;
}

/* ---------- Arrows ---------- */
.pxl-ags-arrow {
	position: absolute;
	bottom: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid #A9D6A5;
	background-color: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 3;
	transition: background-color 0.2s ease;
}

.pxl-ags-arrow svg {
	stroke: #A9D6A5;
}

.pxl-ags-arrow:hover {
	background-color: rgba(169, 214, 165, 0.15);
}

.pxl-ags-arrow-prev {
	right: 60px;
}

.pxl-ags-arrow-next {
	right: 0;
}

/* =========================================================
 * Responsive — plugin-owned breakpoints (NOT Elementor's
 * tablet_default/mobile_default) to avoid conflicting
 * breakpoint-specific CSS being emitted by Elementor.
 * Cards-per-view for each breakpoint is controlled from the
 * "Slider Settings" panel (JS-driven Swiper breakpoints);
 * these media queries only handle fine visual tweaks.
 * =======================================================*/
@media (max-width: 1024px) {
	.pxl-ags-batch {
		font-size: 12px;
		padding: 5px 13px;
	}
}

@media (max-width: 767px) {
	.pxl-ags-wrapper.pxl-ags-has-nav .pxl-ags-swiper {
		padding-bottom: 52px !important;
	}
	.pxl-ags-batch {
		left: 10px;
		bottom: 10px;
		font-size: 11px;
		padding: 4px 12px;
	}
}
