/* ============================================================
   Raditone – اسلایدر اصلی صفحه (Hero Slider)
   این فایل جهت‌محور نوشته شده (logical properties) تا هم در حالت
   راست‌چین و هم چپ‌چین بدون نیاز به نسخهٔ آینه‌ای درست کار کند.
   ============================================================ */

.rt-hero-slider-section {
	margin-bottom: 40px;
}

.rt-hero-slider {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	background: var(--bg-secondary, #12141a);
	box-shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.55);
}

/* جلوگیری کامل از زیر هم قرار گرفتن اسلایدها در موبایل قبل از تاچ */
.rt-hero-slider .owl-stage {
	display: flex !important;
	flex-direction: row !important;
	align-items: stretch !important;
}

.rt-hero-slider .owl-item {
	float: none !important;
	flex-shrink: 0 !important;
	width: 100%;
}

.rt-hero-slider:not(.owl-loaded) {
	display: block !important;
	overflow: hidden !important;
	position: relative !important;
}

.rt-hero-slider:not(.owl-loaded) .rt-hero-slide:not(:first-child) {
	display: none !important;
}

.rt-hero-slider .owl-stage-outer {
	border-radius: 20px;
}

.rt-hero-slide {
	position: relative;
}

.rt-hero-slide__link {
	position: relative;
	display: block;
	width: 100%;
	color: #fff;
	text-decoration: none;
}

.rt-hero-slide__media {
	position: relative;
	width: 100%;
	aspect-ratio: 32 / 7;
	background: var(--bg-secondary, #12141a);
}

.rt-hero-slide__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 7s ease;
	will-change: transform;
}

.rt-hero-slide__link:hover .rt-hero-slide__img {
	transform: scale(1.06);
}

.rt-hero-slide__scrim {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.05) 85%);
}

/* سایهٔ کناری از سمت شروع محتوا (راست در RTL، چپ در LTR) */
[dir="rtl"] .rt-hero-slide__scrim {
	background:
		linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 55%),
		linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 45%, rgba(0, 0, 0, 0.05) 85%);
}

[dir="ltr"] .rt-hero-slide__scrim {
	background:
		linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 55%),
		linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 45%, rgba(0, 0, 0, 0.05) 85%);
}

.rt-hero-slide__content {
	position: absolute;
	inset-inline-start: 0;
	inset-block-end: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	max-width: min(680px, 78%);
	padding: clamp(18px, 4vw, 48px);
	text-align: start;
}

.rt-hero-slide__badge {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.6;
	color: #fff;
	background: var(--primary, #6c5ce7);
	box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.6);
}

.rt-hero-slide__title {
	margin: 4px 0 0;
	font-size: clamp(1.4rem, 3.4vw, 2.6rem);
	font-weight: 800;
	line-height: 1.25;
	color: #fff;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.rt-hero-slide__artist {
	margin: 0;
	font-size: clamp(0.9rem, 1.6vw, 1.15rem);
	font-weight: 600;
	color: rgba(255, 255, 255, 0.94);
}

.rt-hero-slide__en {
	margin: 0;
	font-size: clamp(0.76rem, 1.3vw, 0.95rem);
	color: rgba(255, 255, 255, 0.68);
}

.rt-hero-slide__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	padding: 11px 22px;
	border-radius: 999px;
	font-size: 0.92rem;
	font-weight: 700;
	color: #fff;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.35);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.rt-hero-slide__link:hover .rt-hero-slide__cta {
	background: var(--primary, #6c5ce7);
	border-color: var(--primary, #6c5ce7);
	transform: translateY(-2px);
}

[dir="rtl"] .rt-hero-slide__cta svg {
	transform: scaleX(-1);
}

/* ===== ناوبری (فلش‌ها) ===== */
.rt-hero-slider .owl-nav {
	position: static;
	margin: 0;
}

.rt-hero-slider .owl-nav button.owl-prev,
.rt-hero-slider .owl-nav button.owl-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: 0 !important;
	padding: 0;
	border: none;
	border-radius: 50%;
	font-size: 26px;
	line-height: 1;
	color: #fff !important;
	background: rgba(0, 0, 0, 0.4) !important;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	cursor: pointer;
	transition: background 0.3s ease, transform 0.3s ease;
}

.rt-hero-slider .owl-nav button.owl-prev {
	inset-inline-start: 16px;
}

.rt-hero-slider .owl-nav button.owl-next {
	inset-inline-end: 16px;
}

.rt-hero-slider .owl-nav button.owl-prev:hover,
.rt-hero-slider .owl-nav button.owl-next:hover {
	background: var(--primary, #6c5ce7) !important;
	transform: translateY(-50%) scale(1.06);
}

/* ===== نقطه‌ها ===== */
.rt-hero-slider .owl-dots {
	position: absolute;
	inset-block-end: 18px;
	inset-inline-end: 22px;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 !important;
}

.rt-hero-slider .owl-dots .owl-dot {
	display: inline-flex;
}

.rt-hero-slider .owl-dots .owl-dot span {
	display: block;
	width: 9px;
	height: 9px;
	margin: 0 !important;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.45) !important;
	transition: width 0.3s ease, background 0.3s ease;
}

.rt-hero-slider .owl-dots .owl-dot.active span,
.rt-hero-slider .owl-dots .owl-dot:hover span {
	width: 26px;
	background: #fff !important;
}

/* ===== واکنش‌گرایی ===== */
@media (max-width: 768px) {
	.rt-hero-slider-section {
		margin-bottom: 28px;
	}

	.rt-hero-slider,
	.rt-hero-slider .owl-stage-outer {
		border-radius: 16px;
	}

	.rt-hero-slide__media {
		aspect-ratio: 8 / 5;
	}

	.rt-hero-slide__content {
		max-width: 100%;
		padding: 20px 18px 24px;
	}

	.rt-hero-slider .owl-nav button.owl-prev,
	.rt-hero-slider .owl-nav button.owl-next {
		width: 38px;
		height: 38px;
		font-size: 20px;
	}

	.rt-hero-slider .owl-nav button.owl-prev {
		inset-inline-start: 10px;
	}

	.rt-hero-slider .owl-nav button.owl-next {
		inset-inline-end: 10px;
	}

	.rt-hero-slider .owl-dots {
		inset-block-end: 12px;
		inset-inline-end: 14px;
	}
}

@media (max-width: 480px) {
	.rt-hero-slide__media {
		aspect-ratio: 3 / 2;
	}

	.rt-hero-slide__cta {
		padding: 9px 18px;
		font-size: 0.85rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rt-hero-slide__img {
		transition: none;
	}
}
