/* Wrapper & track */
.hs-wrap{
  position:relative; overflow:hidden; border-radius:16px; width:100%;
  display:block;               /* مهم: مطمئن شو خودش فلکس نیست */
  direction:ltr;               /* جلوگیری از چسبیدن به انتهای راست در RTL */
  unicode-bidi:isolate;
  p{
    margin-bottom: 0;
  }        /* قطع ارث‌بری جهت از والد */
  p br {
    display: none;
  }
}
body .entry-content p {
margin-bottom: 0;!important;
}
.hs-track{
  display:flex; flex-direction:row;
  justify-content:flex-start; align-items:stretch; gap:0;
  will-change:transform; transform:translate3d(0,0,0);
}
.hs-item{
  position:relative;
  flex:0 0 100%;               /* مقدار اولیه؛ JS اندازهٔ پیکسلی می‌گذارد */
  min-width:100%; box-sizing:border-box;
}

/* Media */
.hs-media{line-height:0}
.hs-media img{width:100%;object-fit:cover;display:block  }

/* Full-slide clickable */
.hs-fullclick{position:absolute;inset:0;z-index:1;text-indent:-9999px}
/* Caption */

.hs-caption {
    position: absolute;
    bottom: 10%;
    left:50%;
    transform: translateX(-50%);
    text-align: center;
    color: #000000;
    z-index: 2;
    width: max-content;
    max-width: min(90vw, 900px);
    padding: 10px 28px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(7px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.hs-title{font-size:clamp(22px,3vw,60px);font-weight:800;margin:0 0 6px;color: #000000;}
.hs-sub{font-size:clamp(16px,1.5vw,30px);opacity:.9;margin:0 0 0px}
.hs-btn{display:inline-block;background:#111;color:#fff;padding:clamp(10px,1vw,30px) clamp(15px,1.5vw,40px);border-radius:999px;text-decoration:none;font-weight:600}
.hs-btn:hover{opacity:.9}
.hs-btn a{
  font-size:clamp(12px,1.3vw,60px) ;
}
/* Arrows */
.hs-prev,.hs-next{
  position:absolute;top:50%;transform:translateY(-50%);
  background:rgba(0,0,0,.45);color:#fff;border:0;
  width:22px;height:22px;display:flex;align-items:center;justify-content:center;
  cursor:pointer;z-index:3;padding:20px;transition: all 0.25s;
}

.hs-prev:focus,.hs-next:focus{
    background-color: rgba(0,0,0,.45);
}
.hs-prev:hover,.hs-next:hover{
  background-color: rgba(250,250,250,.45)
}
.hs-prev{left:10px}
.hs-next{right:10px}

/* Dots */
.hs-dots{position:absolute;left:0;right:0;bottom:20px;display:flex;justify-content:center;gap:8px;z-index:3}
.hs-dots button{width:16px;height:8px;border-radius:100px;background:rgba(255,255,255,.5);border:1px solid rgba(0,0,0,.15);cursor:pointer; padding: 0;}
.hs-dots button.is-active{background:#fff}

/* Astra helper */
.ast-separate-container .site-content .hs-wrap{margin-bottom:24px}
/* Full-bleed: بیرون زدن از کانتینر و پر کردن کل viewport */
.hs-fullbleed{
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  max-width: 100vw;
  border-radius: 0;   /* فول‌ویدث واقعی، لبه گرد لازم نیست */
}

/* فاصلهٔ اضافی بالای محتوا را در صفحه اصلی صفر کن تا زیر اسلایدر درز نیفتد */
.home .site-content{ padding-top: 0; }

/* اگر هدر چسبان داری و روی اسلایدر می‌افتد، با این مقدار بازی کن */
// .hs-fullbleed{ margin-top: var(--header-height, 0px); }

