/* Elementor Basit Slider */

.ebs-slider {
	--ebs-speed: 600ms;
	position: relative;
	width: 100%;
	overflow: hidden;
	isolation: isolate;
}

.ebs-slider:focus {
	outline: none;
}

.ebs-slider:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: -2px;
}

.ebs-track {
	display: flex;
	touch-action: pan-y;
	-webkit-user-select: none;
	user-select: none;
	will-change: transform;
}

.ebs-slide {
	position: relative;
	flex: 0 0 100%;
	width: 100%;
	min-width: 0;
	height: var(--ebs-height, auto);
	overflow: hidden;
}

.ebs-slider .ebs-slide__inner {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.ebs-slide__media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.ebs-slider .ebs-slide__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	margin: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	object-fit: var(--ebs-fit, cover);
	object-position: var(--ebs-pos, center center);
	-webkit-user-drag: none;
}

/* "Görselin tamamını göster": yükseklik görselin oranından gelir, kırpma yok. */
.ebs-height-auto .ebs-slide {
	height: auto;
}

.ebs-slider.ebs-height-auto .ebs-slide__media img {
	height: auto;
}

/* Solarak geçiş: tüm slaytlar aynı hücrede üst üste durur. */
.ebs-effect-fade .ebs-track {
	display: grid;
	grid-template-columns: 100%;
}

.ebs-effect-fade .ebs-slide {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--ebs-speed) ease, visibility 0s linear var(--ebs-speed);
}

.ebs-effect-fade .ebs-slide.is-active {
	z-index: 1;
	opacity: 1;
	visibility: visible;
	transition: opacity var(--ebs-speed) ease, visibility 0s;
}

/* Başlık */
.ebs-slide__title {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	padding: 16px 20px;
	color: #fff;
	font-size: 18px;
	line-height: 1.35;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
}

/* Oklar */
.ebs-slider .ebs-arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	box-shadow: none;
	background-color: rgba(0, 0, 0, 0.45);
	color: #fff;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.ebs-slider .ebs-arrow:hover,
.ebs-slider .ebs-arrow:focus-visible {
	background-color: rgba(0, 0, 0, 0.7);
	color: #fff;
}

.ebs-slider .ebs-arrow:disabled {
	opacity: 0.35;
	cursor: default;
}

.ebs-arrow svg {
	width: 45%;
	height: 45%;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ebs-prev {
	left: 16px;
}

.ebs-next {
	right: 16px;
}

/* Noktalar */
.ebs-dots {
	position: absolute;
	right: 0;
	bottom: 16px;
	left: 0;
	z-index: 3;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	pointer-events: none;
}

.ebs-slider .ebs-dot {
	width: 10px;
	height: 10px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	box-shadow: none;
	background-color: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	pointer-events: auto;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.ebs-slider .ebs-dot.is-active {
	background-color: #fff;
	transform: scale(1.25);
}

@media (max-width: 767px) {
	.ebs-slider .ebs-arrow {
		width: 36px;
		height: 36px;
	}

	.ebs-prev {
		left: 8px;
	}

	.ebs-next {
		right: 8px;
	}
}
