.profile-slider .swiper-wrapper {
	justify-content: center;
}

/* Centers Slider if less than 5 exist */
.profile-slider .swiper-wrapper:has(> :nth-child(5 of .swiper-slide:not(.swiper-slide-duplicate))) {
	justify-content: flex-start;
}

/* viewport + stationary edge fade overlay (same pattern as logo slider) */
.profile-slider .swiper {
	position: relative;
	z-index: 1;
}
.profile-slider .swiper::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(to right,
			var(--dark-blue, #000D2E) 0%,
			rgba(11,11,11,0) 20%,
			rgba(11,11,11,0) 80%,
			var(--dark-blue, #000D2E) 100%);
	z-index: 2; /* sits above slides, below nav */
}

@media (max-width: 1280px) {
	.profile-slider .swiper::after {
		background: none;
	}
}

.profile-slider.gradient-bg .swiper::after {
	background: linear-gradient(
		to right,
		#05255f 0%,
		rgba(11,11,11,0) 20%,
		rgba(11,11,11,0) 80%,
		#05255f 100%);
}

@media (max-width: 768px) {
	.profile-slider .swiper::after,
	.profile-slider.gradient-bg .swiper::after {
		display: none;
	}
}

/* allow the vertical content to overflow if needed */
.profile-slider .swiper,
.profile-slider .swiper-wrapper {
	overflow: visible;
}

.profile-slider .swiper-wrapper {
	margin: 50px 0;
}

/* slide sizing: let Swiper control width, but don't stretch */
.profile-slider .swiper-slide {
	flex: 0 0 auto;
	width: auto;
}

/* Slide inner: center content (image + text) like your logo slides */
.profile-slide {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
}

/* Card: image + name + role */
.profile-card {
	width: 100%;
	height: auto;
}

@media (max-width: 768px) {
	.profile-card {
		width: 70%;
	}
}

.profile-card-img {
	width: 100%;
	object-fit: cover;
	border-radius: 16px;
	display: block;
	margin-bottom: 25px;
}

.profile-card-img.speaker {
	aspect-ratio: 1 / 1;
	filter: grayscale(100%) contrast(1) sepia(40%) hue-rotate(190deg) saturate(180%);
}

.profile-card-name {
	font-size: 1.25rem;
	line-height: 1.2;
	margin-bottom: 10px;
}

.profile-card-role {
	opacity: .5;
	font-size: 0.875rem;
	line-height: 1.25;
}

/* Nav buttons */
.profile-slider .swiper-button-prev,
.profile-slider .swiper-button-next {
	background: var(--teal);
	border-radius: 50%;
	color: var(--white);
	width: 50px;
	height: 50px;
	opacity: 1;
	top: -275px;
	z-index: 3;
}

/* Remove Swiper default ::after labels when using custom icons */
.profile-slider .swiper-button-next::after,
.profile-slider .swiper-button-prev::after {
	content: none !important;
}

.profile-slider .swiper-button-next { right: -25px; }
.profile-slider .swiper-button-prev { left: -25px; }

@media (max-width: 1330px) {
	.profile-slider .swiper-button-next { right: 10px; }
	.profile-slider .swiper-button-prev { left: 10px; }
}

/* Bullets */
.profile-slider .swiper-pagination-bullet,
.profile-slider .swiper-pagination-bullet-active {
	background: var(--blue);
}

@media (max-width: 768px) {
	.profile-slider .swiper-pagination-bullets {
		display: none;
	}
}
