/* ============================================================
   Shows Carousel – קרוסלת הופעות וסרטים (עצמאית)
   ============================================================ */

.shc-carousel-wrapper {
	position: relative;
	width: 100%;
}

/* אזור התצוגה – הכרטיסים ממוקמים אבסולוטית סביב מרכזו */
.shc-viewport {
	position: relative;
	width: 100%;
	overflow: hidden;
	outline: none;
	touch-action: pan-y;
	/* גובה נקבע ע"י ה-JS לפי גובה הכרטיס */
}

.shc-viewport:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.6);
	outline-offset: 4px;
	border-radius: 8px;
}

/* ה-track רק מגדיר את הגובה; המיקום מחושב ב-JS */
.shc-track {
	position: relative;
	width: 100%;
	height: 100%;
}

/* --- כרטיס (משותף ל-Swiper ו-fallback) --- */
.shc-slide {
	position: absolute;
	top: 50%;
	right: auto;
	left: 50%;
	display: block;
	text-decoration: none;
	transform: translate(-50%, -50%);
	transition-property: transform, opacity;
	transition-timing-function: cubic-bezier(0.33, 1, 0.68, 1); /* תנועה רכה */
	will-change: transform, opacity;
	cursor: pointer;
}

.shc-card {
	width: 100%;
	height: 520px;
	background: transparent;
	border-radius: 120px 120px 16px 16px;
	position: relative;
	overflow: hidden;
	/* אכיפת GPU layer — מבטיח ש-overflow:hidden חותך את הפינות בכל הדפדפנים */
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

.shc-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	pointer-events: none;
	/* GPU layer על התמונה עצמה */
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
}

/* צל עדין לכרטיס המרכזי בלבד */
.shc-shadow-yes .shc-slide.shc-active .shc-card {
	box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.55);
}

/* הרמה עדינה במעבר עכבר – רק על המרכזי */
.shc-hover-lift-yes .shc-slide.shc-active .shc-card {
	transition: box-shadow 0.4s ease;
}
.shc-hover-lift-yes .shc-slide.shc-active:hover .shc-card {
	box-shadow: 0 32px 70px -16px rgba(0, 0, 0, 0.65);
}

/* --- חיצים --- */
.shc-arrows {
	display: flex;
	justify-content: center;
	gap: 24px;
	direction: ltr; /* חץ שמאלי = אחורה, ימני = קדימה, כמו בעיצוב */
}

.shc-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.2s ease;
	padding: 0;
	line-height: 1;
	color: #fff;
	background-color: rgba(255, 255, 255, 0.08);
}

.shc-arrow:active {
	transform: scale(0.92);
}

.shc-arrow svg {
	display: block;
	width: 26px;
	height: 26px;
}

.shc-arrow i {
	font-style: normal;
}

/* --- נגישות: העדפת מוטיב מופחת --- */
@media (prefers-reduced-motion: reduce) {
	.shc-slide {
		transition-duration: 0.01ms !important;
	}
}

/* --- מובייל --- */
@media (max-width: 767px) {
	.shc-viewport {
		padding: 16px 0 24px;
	}
	.shc-arrow {
		width: 48px;
		height: 48px;
	}
}
