/* Staff Carousel for Elementor */
.nb4-staff-carousel {
	--nb4-columns: 4;
	--nb4-gap: 24px;
	--nb4-image-height: 260px;
	position: relative;
	width: 100%;
}

.nb4-staff-carousel * {
	box-sizing: border-box;
}

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

.nb4-staff-track {
	display: flex;
	align-items: stretch;
	gap: var(--nb4-gap);
	will-change: transform;
	transform: translate3d(0, 0, 0);
}

.nb4-staff-item {
	flex: 0 0 calc((100% - (var(--nb4-gap) * (var(--nb4-columns) - 1))) / var(--nb4-columns));
	min-width: 0;
}

.nb4-staff-card {
	position: relative;
	height: 100%;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e8e8e8;
	transition: transform .25s ease, box-shadow .25s ease;
}

.nb4-staff-card:hover {
	transform: translateY(-2px);
}

.nb4-staff-link {
	display: block;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.nb4-staff-image {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.nb4-staff-image img {
	display: block;
	width: 100%;
	height: var(--nb4-image-height);
	object-fit: cover;
}

.nb4-staff-content {
	padding: 20px;
}

.nb4-staff-name {
	margin: 0 0 6px;
	font-size: 22px;
	line-height: 1.2;
}

.nb4-staff-role {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.4;
	opacity: .9;
}

.nb4-staff-description {
	font-size: 15px;
	line-height: 1.6;
}

.nb4-nav-arrow {
	position: absolute;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid #dddddd;
	background: #ffffff;
	color: #111111;
	cursor: pointer;
	transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
	padding: 0;
	line-height: 1;
}

.nb4-nav-arrow:hover {
	transform: scale(1.04);
}

.nb4-nav-arrow span {
	font-size: 28px;
	line-height: 1;
	transform: translateY(-1px);
}

.nb4-nav-position-middle .nb4-nav-arrow {
	top: 50%;
	transform: translateY(-50%);
}

.nb4-nav-position-middle .nb4-nav-arrow:hover {
	transform: translateY(-50%) scale(1.04);
}

.nb4-nav-position-middle .nb4-nav-arrow-prev {
	left: 12px;
}

.nb4-nav-position-middle .nb4-nav-arrow-next {
	right: 12px;
}

.nb4-nav-position-top .nb4-nav-arrow,
.nb4-nav-position-bottom .nb4-nav-arrow {
	top: auto;
	bottom: auto;
	transform: none;
}

.nb4-nav-position-top {
	padding-top: 64px;
}

.nb4-nav-position-top .nb4-nav-arrow {
	top: 0;
}

.nb4-nav-position-top .nb4-nav-arrow-prev,
.nb4-nav-position-bottom .nb4-nav-arrow-prev {
	left: 0;
}

.nb4-nav-position-top .nb4-nav-arrow-next,
.nb4-nav-position-bottom .nb4-nav-arrow-next {
	left: 56px;
	right: auto;
}

.nb4-nav-position-bottom {
	padding-bottom: 64px;
}

.nb4-nav-position-bottom .nb4-nav-arrow {
	bottom: 0;
}

.nb4-nav-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 20px;
}

.nb4-dot {
	width: 10px;
	height: 10px;
	border: 0;
	padding: 0;
	background: #cccccc;
	cursor: pointer;
	opacity: .7;
	transition: transform .2s ease, opacity .2s ease, background .2s ease;
}

.nb4-dot:hover,
.nb4-dot.is-active {
	opacity: 1;
	transform: scale(1.1);
	background: #111111;
}

@media (max-width: 767px) {
	.nb4-nav-position-middle .nb4-nav-arrow-prev {
		left: 6px;
	}
	.nb4-nav-position-middle .nb4-nav-arrow-next {
		right: 6px;
	}
}
