/* ============================================================
   اسلایدر کارتی صفحه اصلی (بر پایه‌ی افکت رسمی Swiper: cards)
   این فایل جایگزین CSS اشتباه (مخصوص Owl Carousel) شده
   ============================================================ */

.hero-cards-slider-wrap {
	width: 100%;
	padding: 3em 0;
}

.hero-cards-swiper {
	width: 100%;
	max-width: 1080px;
	height: 420px;
	margin: 0 auto;
}

.hero-cards-swiper .swiper-slide {
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
	background: #fefefe;
}

.hero-cards-slide-link {
	display: block;
	width: 100%;
	height: 100%;
}

.hero-cards-slide-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* دکمه‌های قبلی/بعدی */
.hero-cards-swiper .swiper-button-prev,
.hero-cards-swiper .swiper-button-next {
	color: #fff;
	background: rgba(0, 0, 0, 0.35);
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 50%;
	transition: background 0.2s ease;
}
.hero-cards-swiper .swiper-button-prev:hover,
.hero-cards-swiper .swiper-button-next:hover {
	background: rgba(0, 0, 0, 0.55);
}
.hero-cards-swiper .swiper-button-prev::after,
.hero-cards-swiper .swiper-button-next::after {
	font-size: 1rem;
}

/* بولت‌های پیجینیشن */
.hero-cards-swiper .swiper-pagination-bullet {
	background: #d6d6d6;
	opacity: 1;
}
.hero-cards-swiper .swiper-pagination-bullet-active {
	background: #ff527b;
}

@media screen and (max-width: 480px) {
	.hero-cards-swiper {
		max-width: 85vw;
		height: 130px;
	}
}

