.maj-hero{
  position: relative;
  width: 100%;
  height: 100vh;      /* fallback */
  min-height: 100vh;  /* desktop */
  overflow: hidden;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
}

/* حلول مشاكل موبايل (شريط العنوان) */
@supports (height: 100svh){
  .maj-hero{ height: 100svh; min-height: 100svh; }
}
@supports (height: 100dvh){
  .maj-hero{ height: 100dvh; min-height: 100dvh; }
}

.maj-hero__media{
  position: absolute;
  inset: 0;
}

.maj-hero__video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.maj-hero__overlay{
  position: absolute;
  inset: 0;
  background: rgba(110, 73, 40, var(--heroOverlay, 0.10));
}

.maj-hero__content{
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* default center */
  gap: 32px;
  padding: 0 16px;
  text-align: center;
}

/* لو عايزين تحكم بالمكان من ACF */
.maj-hero[data-align="bottom-center"] .maj-hero__content{
  justify-content: flex-end;
  padding-bottom: 80px;
}

.maj-hero__title{
  margin: 0;
  font-weight: 600;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.2;
}

.maj-hero__btn{
  border-radius: 10px;
  border: 2px solid #966330;
  padding: 12px 40px;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
