.elementor-widget-nmt-team-carousel,
.nmt-team-carousel,
.nmt-team-swiper-wrap {
	overflow: visible;
}

.nmt-team-carousel {
	--nmt-inactive-scale: 0.78;
	--nmt-active-scale: 1;
	--nmt-card-radius: 12px;
	--nmt-image-radius: 8px;
	--nmt-role-color: #c9a227;
	--nmt-btn-bg: #f5c518;
	--nmt-btn-color: #1a1a1a;
	--nmt-card-width: 366px;
	--nmt-card-height: 352px;
	--nmt-card-height-active: 640px;
	--nmt-card-shadow: 0 4px 18px rgba(17, 17, 17, 0.06);
	--nmt-card-shadow-active: 0 8px 20px rgba(17, 17, 17, 0.04), 0 18px 44px rgba(17, 17, 17, 0.08);
	width: 100%;
	position: relative;
}

.nmt-team-heading {
	margin: 0 0 36px;
	padding: 0;
	color: #111;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.nmt-team-swiper-wrap {
	position: relative;
	padding: 40px 0 64px;
}

.nmt-team-swiper.swiper {
	overflow: hidden;
	padding: 24px 12px 40px;
	position: relative;
	list-style: none;
}

.nmt-team-swiper .swiper-wrapper {
	display: flex;
	align-items: center;
	box-sizing: content-box;
}

.nmt-team-swiper .swiper-slide {
	flex-shrink: 0;
	width: auto;
	max-width: 100%;
	height: auto;
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px 0 16px;
	box-sizing: border-box;
}

.nmt-team-swiper .swiper-slide-active {
	z-index: 3;
}

.nmt-card {
	display: flex;
	flex-direction: column;
	width: var(--nmt-card-width);
	height: var(--nmt-card-height);
	max-width: 100%;
	overflow: hidden;
	background: #fff;
	border-radius: var(--nmt-card-radius);
	padding: 0;
	text-align: center;
	transform: none;
	transform-origin: center center;
	transition: box-shadow 0.45s ease, height 0.45s ease;
	cursor: pointer;
	box-sizing: border-box;
}

.elementor-widget-nmt-team-carousel .nmt-team-swiper .nmt-card {
	box-shadow: var(--nmt-card-shadow);
}

.elementor-widget-nmt-team-carousel .nmt-team-swiper .swiper-slide-active .nmt-card {
	box-shadow: var(--nmt-card-shadow-active);
}

.nmt-team-swiper .swiper-slide-active .nmt-card {
	height: var(--nmt-card-height-active);
	transform: none;
	cursor: default;
}

.elementor-widget-nmt-team-carousel .nmt-card .nmt-card__image {
	position: relative;
	flex: 1 1 auto;
	width: 100%;
	min-height: 0;
	height: auto;
	aspect-ratio: auto;
	border-radius: var(--nmt-card-radius) var(--nmt-card-radius) 0 0;
	overflow: hidden;
	background: #f3f3f3;
	margin: 0;
}

.nmt-card__image img,
.nmt-card__photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.nmt-card__body {
	flex: 0 0 auto;
	padding: 12px 16px 14px;
	text-align: center;
}

.nmt-card__name {
	margin: 0 0 4px;
	color: #111;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
}

.nmt-card__role {
	margin: 0;
	color: var(--nmt-role-color);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
}

.nmt-card__extra {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	margin-top: 0;
	transition:
		max-height 0.4s ease,
		opacity 0.3s ease,
		margin 0.35s ease;
	pointer-events: none;
}

.nmt-team-swiper .swiper-slide-active .nmt-card__extra {
	max-height: none;
	opacity: 1;
	margin-top: 8px;
	pointer-events: auto;
	overflow: visible;
}

.nmt-card__bio {
	margin: 0;
	color: #555;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.55;
}

.nmt-card__btn-wrap {
	margin-top: 16px;
}

.nmt-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	box-sizing: border-box;
	padding: 11px 18px;
	background: var(--nmt-btn-bg);
	color: var(--nmt-btn-color);
	border: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nmt-card__btn:hover,
.nmt-card__btn:focus {
	background: #e6b50f;
	color: var(--nmt-btn-color);
	text-decoration: none;
}

.nmt-team-swiper-wrap .nmt-team-arrow,
.nmt-team-swiper-wrap .nmt-team-arrow.swiper-button-prev,
.nmt-team-swiper-wrap .nmt-team-arrow.swiper-button-next {
	position: absolute;
	top: calc(50% - 12px);
	z-index: 4;
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 6px 18px rgba(17, 17, 17, 0.12);
	color: #111;
	cursor: pointer;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease, color 0.2s ease;
	appearance: none;
	-webkit-appearance: none;
}

.nmt-team-swiper-wrap .nmt-team-arrow:after,
.nmt-team-swiper-wrap .nmt-team-arrow.swiper-button-prev:after,
.nmt-team-swiper-wrap .nmt-team-arrow.swiper-button-next:after {
	content: none;
	display: none;
}

.nmt-team-arrow svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.nmt-team-arrow--prev {
	left: 0;
}

.nmt-team-arrow--next {
	right: 0;
}

.nmt-team-arrow:hover,
.nmt-team-arrow:focus {
	background: var(--nmt-btn-bg);
	color: #111;
}

.nmt-team-arrow.swiper-button-disabled {
	opacity: 0.35;
	cursor: default;
}

.nmt-team-pagination {
	position: static;
	margin-top: 8px;
	text-align: center;
}

.nmt-team-pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	background: #cfcfcf;
	opacity: 1;
}

.nmt-team-pagination .swiper-pagination-bullet-active {
	background: var(--nmt-btn-bg);
}

.nmt-team-carousel.is-single .nmt-card {
	transform: none;
	width: var(--nmt-card-width);
	height: var(--nmt-card-height-active);
	max-width: 100%;
	margin: 0 auto;
	cursor: default;
}

.nmt-team-carousel.is-single .nmt-card__extra {
	max-height: none;
	opacity: 1;
	margin-top: 12px;
	pointer-events: auto;
}

@media (max-width: 767px) {
	.nmt-team-heading {
		font-size: 26px;
		margin-bottom: 20px;
	}

	.nmt-team-swiper-wrap {
		padding: 32px 0 56px;
	}

	.nmt-team-swiper.swiper {
		padding: 20px 8px 36px;
	}

	.nmt-card__name {
		font-size: 15px;
	}
}
