body.rvx-special-home-active,
body.rvx-special-home-active .site,
body.rvx-special-home-active .site-content,
body.rvx-special-home-active .content-area,
body.rvx-special-home-active .site-main,
body.rvx-special-home-active #primary{
    width:100%;
    max-width:100%;
}

body.rvx-special-home-active{
    margin:0;
    overflow-x:hidden;
    overscroll-behavior-x:none;
    overscroll-behavior-y:auto;
    -webkit-overflow-scrolling:touch;
    background:#fff;
    text-rendering:auto;
}

body.rvx-special-home-active .site,
body.rvx-special-home-active .site-content,
body.rvx-special-home-active .content-area,
body.rvx-special-home-active .site-main,
body.rvx-special-home-active #primary,
body.rvx-special-home-active .entry-content,
body.rvx-special-home-active .page-content{
    margin:0!important;
    padding:0!important;
}

.rvx-special-home-root,
.rvx-special-home-root *,
.rvx-special-home-root *::before,
.rvx-special-home-root *::after{
    box-sizing:border-box;
}

.rvx-special-home-root{
    width:100%;
    min-width:0;
    overflow-x:clip;
}

/* عنوان اصلی صفحه برای SEO و کاربران صفحه‌خوان؛ بدون تغییر در ظاهر فعلی. */
.rvx-special-home-visually-hidden{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    padding:0!important;
    margin:-1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    clip-path:inset(50%)!important;
    white-space:nowrap!important;
    border:0!important;
}

/* قاب اصلی سبک و پایدار؛ فاصله فقط با gap کنترل می‌شود. */
.rvx-special-home-frame{
    display:flex;
    flex-direction:column;
    gap:18px;
    width:min(1200px,calc(100% - 48px));
    min-width:0;
    margin:30px auto 0;
    padding:0 0 36px;
}

.rvx-special-home-section{
    width:100%;
    min-width:0;
    margin:0;
}


.rvx-special-home-root img,
.rvx-special-home-root picture,
.rvx-special-home-root video,
.rvx-special-home-root iframe{
    max-width:100%;
}

.rvx-special-home-root img{
    height:auto;
}

/* هیرو بیرون قاب 1200 قرار می‌گیرد و عرض مرجع خودش را دارد. */
body.rvx-special-home-active section.rvx-hero-swiper-lite.rvx-hero-swiper-lite--direct,
body.rvx-special-home-active .rvx-hero-swiper-lite--direct{
    width:min(1320px,calc(100% - 48px))!important;
    max-width:min(1320px,calc(100% - 48px))!important;
    min-height:clamp(390px,36vw,530px);
    margin:26px auto 0!important;
    border-radius:18px;
}

body.rvx-special-home-active .rvx-hero-swiper-lite--direct .rvx-hero-swiper-lite__content{
    width:min(1210px,92vw)!important;
    max-width:100%;
}

body.rvx-special-home-active .rvx-hero-swiper-lite--direct .rvx-hero-swiper-lite__shell{
    grid-template-columns:minmax(280px,360px) minmax(0,1fr);
    gap:clamp(18px,2.2vw,34px);
}

body.rvx-special-home-active .rvx-special-home-root .swiper,
body.rvx-special-home-active .rvx-special-home-root .swiper-container,
body.rvx-special-home-active .rvx-special-home-root [data-rvx-pr-slider],
body.rvx-special-home-active .rvx-special-home-root .rvx-why__slider,
body.rvx-special-home-active .rvx-special-home-root .rvxsup__slider,
body.rvx-special-home-active .rvx-special-home-root .rvxmarq__slider,
body.rvx-special-home-active .rvx-special-home-root .rvx-slider,
body.rvx-special-home-active .rvx-special-home-root .rvx-sv__slider,
body.rvx-special-home-active .rvx-special-home-root .rvx-showcase__slider{
    touch-action:pan-y pinch-zoom!important;
    overscroll-behavior-y:auto!important;
}

@media (max-width:991px){
    body.rvx-special-home-active section.rvx-hero-swiper-lite.rvx-hero-swiper-lite--direct,
    body.rvx-special-home-active .rvx-hero-swiper-lite--direct{
        width:auto!important;
        max-width:none!important;
        margin:18px 14px 0!important;
        transform:none!important;
    }

    .rvx-special-home-frame{
        width:calc(100% - 28px);
        margin-top:24px;
    }
}

@media (max-width:680px){
    body.rvx-special-home-active section.rvx-hero-swiper-lite.rvx-hero-swiper-lite--direct,
    body.rvx-special-home-active .rvx-hero-swiper-lite--direct{
        min-height:420px;
        margin:12px 12px 0!important;
        padding-inline:0!important;
        border-radius:14px;
    }

    body.rvx-special-home-active .rvx-hero-swiper-lite--direct .rvx-hero-swiper-lite__content,
    body.rvx-special-home-active .rvx-hero-swiper-lite--direct .rvx-hero-swiper-lite__shell,
    body.rvx-special-home-active .rvx-hero-swiper-lite--direct .rvx-hero-swiper-lite__main{
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        margin-inline:0!important;
        padding-inline:0!important;
        transform:none!important;
    }

    .rvx-special-home-frame{
        width:calc(100% - 20px);
        gap:16px;
        margin-top:22px;
        padding-bottom:28px;
    }
}

@media (hover:none), (pointer:coarse){
    /* قالب فقط اولویت اسکرول عمودی را مشخص می‌کند؛ تنظیمات داخلی هر Swiper داخل افزونه خودش اصلاح می‌شود. */
    body.rvx-special-home-active .rvx-special-home-root .swiper,
    body.rvx-special-home-active .rvx-special-home-root .swiper-container,
    body.rvx-special-home-active .rvx-special-home-root [data-rvx-pr-slider],
    body.rvx-special-home-active .rvx-special-home-root .rvx-why__slider,
    body.rvx-special-home-active .rvx-special-home-root .rvx-slider,
    body.rvx-special-home-active .rvx-special-home-root .rvx-posts-slider{
        touch-action:pan-y pinch-zoom!important;
        -ms-touch-action:pan-y!important;
    }
}

@media (prefers-reduced-motion:reduce){
    .rvx-special-home-root *,
    .rvx-special-home-root *::before,
    .rvx-special-home-root *::after{
        animation-duration:.001ms!important;
        animation-iteration-count:1!important;
        transition-duration:.001ms!important;
        scroll-behavior:auto!important;
    }
}
