/*
--------------------------------------
Container
--------------------------------------
*/

.elementor-widget-ucaddon_custom_slider {
	overflow: hidden;
}

.custom-slider__item {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: calc(25px + (50 - 25) * ((100vw - 320px) / (1920 - 320)));
	font-family: var(--e-global-typography-primary-font-family);
	flex: 0 0 calc(280px + (390 - 280) * ((100vw - 320px) / (1920 - 320)));
}

/*
--------------------------------------
Item
--------------------------------------
*/

.custom-slider__item {
	display: flex;
	flex-direction: column;
}

.custom-slider__item .custom-slider__link {
	display: flex;
	flex-direction: column;
	height: 100%;
}

/*Img*/

.custom-slider__item .custom-slider__item-img-container {
	height: 500px;
}

.custom-slider__item .custom-slider__img {
	display: flex;
	justify-content: center;
	object-fit: cover;
	height: 100%;
	margin: auto;
	padding-top: 0.5em;
}

/*Content*/

.custom-slider__item .custom-slider__content-container {
	display: flex;
	flex-direction: column;
	flex: 1;
	background: #F5F5F5;
	border-radius: 0 0 20px 20px;
	padding: 25px;
}

/*Name*/

.custom-slider__item .custom-slider__name {
	font-size: 24px;
	font-weight: 700;
	color: var(--e-global-color-primary);
	line-height: 30px;
}

/*Specialty*/

.custom-slider__item .custom-slider__specialty {
	font-size: 14px;
	font-weight: 500;
	background-color: var(--e-global-color-primary);
	color: #fff;
	text-transform: uppercase;
	padding: 0.25em;
}

/*Description*/

.custom-slider__item .custom-slider__description-container {
	padding: 1em 0 0.5em 0;
}

.custom-slider__item p {
	font-size: 16px;
	font-weight: 400;
	color: #000;
	line-height: 160%;
}

/*Btn*/

.custom-slider__item .custom-slider__btn-container {
	margin-top: auto;
}

/*
--------------------------------------
Slider
--------------------------------------
*/

.custom-slider__slider-wrapper {
	position: relative;
	overflow: hidden;
	width: 100%;
	margin: 0 auto;
}

.custom-slider__slider-container {
	display: flex;
	gap: 20px;
	transition: transform 0.3s ease;
	will-change: transform;
	touch-action: pan-y;
	cursor: grab;
	user-select: none;
	-webkit-user-select: none;
}

.custom-slider__slider-wrapper.is-dragging .custom-slider__slider-container {
	cursor: grabbing;
}

.custom-slider {
	min-width: 30%;
	flex-shrink: 0;
}

.custom-slider__btns-container {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
	position: absolute;
	z-index: 15;
	top: 50%;
	left: 5px;
	right: 5px;
}

.custom-slider__slider-nav {
	background: #fff;
	color: #000;
	border: none;
	border-radius: 0;
	cursor: pointer;
	transition: all .35s ease-in-out;
	padding: 10px;
}

.custom-slider__slider-nav:focus,
.custom-slider__slider-nav:hover {
	background: var(--e-global-color-primary);
	color: #fff;
}
