/* ===== Hero Slider ===== */
.hero-outer {
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
    margin-top: -1px;
}
.wd-page-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
.hero-slider-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 40px;
}
.custom-hero-wrapper {
    width: 100%;
    direction: rtl;
    overflow: visible;
    box-sizing: border-box;
}
.hero-swiper {
    width: 100%;
    overflow: visible;
}
.hero-swiper .swiper-wrapper {
    align-items: center;
}
.hero-swiper .swiper-slide {
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.5;
    transform: scale(0.95);
    width: 75.4% !important;
    aspect-ratio: 906 / 348;
}
.hero-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}
.hero-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-swiper .swiper-pagination {
    bottom: 12px;
    text-align: center;
}
.hero-swiper .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    background: rgba(255,255,255,0.5);
    opacity: 1;
    margin: 0 3px;
    transition: all 0.3s ease;
}
.hero-swiper .swiper-pagination-bullet-active {
    background: #fff;
    width: 20px;
    border-radius: 4px;
}
/* فلش‌ها — 28x28 مربع کامل مثل خانومی */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: #fff;
    background: rgba(0,0,0,0);
    width: 28px;
    height: 28px;
    border-radius: 0px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
    transition: background 0.3s ease;
}
.hero-swiper .swiper-button-next {
    right: 8px;
    left: auto;
}
.hero-swiper .swiper-button-prev {
    left: 8px;
    right: auto;
}
.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: rgba(0,0,0,0.15);
}
.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
@media (max-width: 1024px) {
    .hero-slider-container {
        padding: 0 20px;
    }
    .hero-swiper .swiper-slide {
        width: 82% !important;
    }
}
@media (max-width: 768px) {
    .hero-slider-container {
        padding: 0 10px;
    }
    .hero-swiper .swiper-slide {
        width: 90% !important;
        aspect-ratio: 2 / 1;
    }
}