/* ==================== HERO VIDEO (SCRUB) ==================== */

/* کرسر سفارشی صفحهٔ اصلی: با کرسر سراسری سایت (css/cursor.css) جایگزین شد */
.hero-cursor { display: none; }

/* بخش hero */
.hv {
  position: relative;
  width: 100%;
  margin-top: 100px;
  height: 60vh;
  height: 60svh;
  min-height: 380px;
  max-height: 640px;
  overflow: hidden;
  background: #020817;
}

/* ویدئو */
.hv video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

/* overlay حذف شد — ویدئو بدون تاریکی نمایش داده می‌شود */
.hero-overlay { display: none; }

/* پنل‌های متن */
.hero-text-panel {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  direction: rtl;
  text-align: right;
  pointer-events: none;
  opacity: 0;
  transition: opacity .55s ease;
}
.hero-text-panel.visible { opacity: 1; }

.hero-text-panel--left  { left:  clamp(24px, 6vw, 100px); }
.hero-text-panel--right { right: clamp(24px, 6vw, 100px); }

.hero-text-panel p {
  margin: 0;
  color: #fff;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 3.6rem);
  line-height: 1.6;
  text-shadow: 0 2px 32px rgba(0,0,0,.6);
}
.hero-text-panel p span {
  display: block;
  color: var(--gold, #e8a020);
}

/* صفحهٔ اصلی انگلیسی: فونت نازک‌تر و کوچک‌تر + چیدمان چپ‌چین/راست‌چین */
html[dir="ltr"] .hero-text-panel p {
  font-weight: 400;
  font-size: clamp(1.25rem, 2.6vw, 2.75rem);
}
html[dir="ltr"] .hero-text-panel--left  { text-align: left; }
html[dir="ltr"] .hero-text-panel--right { text-align: right; }

/* sr-only */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* موبایل */
@media (max-width: 768px) {
  .hv { margin-top: 84px; height: 50vh; height: 50svh; min-height: 320px; }
}
