/* MEDIA KOLFAT homepage cinematic player, approved desktop/mobile concept.
 * Scope strictly to the 12 localized homepages. The existing hero photograph,
 * top navigation, brand, feature text, and store/download actions remain intact.
 * YouTube is not requested until a visitor actively presses Play. */
html[data-kolfat-page="home"]{
  height:auto!important;min-height:100%!important;
  overflow-x:hidden!important;overflow-y:auto!important;
  scroll-behavior:smooth;
}
html[data-kolfat-page="home"] body{
  height:auto!important;min-height:100svh!important;
  overflow-x:hidden!important;overflow-y:visible!important;
}
html[data-kolfat-page="home"] body main{
  width:100%!important;max-width:none!important;
  margin:0!important;padding:0!important;overflow:visible!important;
}
html[data-kolfat-page="home"] body .hero{
  position:relative!important;height:auto!important;min-height:100svh!important;
  overflow:hidden!important;padding:0 0 28px!important;
}
html[data-kolfat-page="home"] body .hero-bg{
  position:absolute!important;inset:0!important;pointer-events:none!important;
}
html[data-kolfat-page="home"] body .hero-inner{
  position:relative!important;inset:auto!important;height:auto!important;
  width:100%!important;min-height:0!important;
  padding:clamp(120px,13svh,170px) clamp(36px,10vw,205px) 20px!important;
  pointer-events:none;
}
html[data-kolfat-page="home"] body .hero-copy{
  position:relative!important;top:auto!important;bottom:auto!important;
  right:auto!important;left:auto!important;
  width:min(620px,100%)!important;max-width:620px!important;
  margin:0!important;padding:0!important;transform:none!important;
  pointer-events:auto!important;
}
html[data-kolfat-page="home"] body .hero-copy > .btn{
  min-height:48px!important;min-width:195px!important;
}
html[data-kolfat-page="home"] body .kf-cinematic{
  width:min(540px,100%);max-width:540px;
  margin:22px 0 14px;direction:inherit;text-align:start;
}
html[data-kolfat-page="home"] body .kf-cinematic-heading{
  display:flex;align-items:baseline;justify-content:space-between;
  gap:8px;margin:0 0 12px;
}
html[data-kolfat-page="home"] body .kf-cinematic-heading strong{
  color:#f0f0ed;font-size:.65rem;font-weight:700;
  letter-spacing:.18em;line-height:1.5;text-transform:uppercase;
}
html[data-kolfat-page="home"] body .kf-cinematic-heading small{
  color:#999;font-size:.61rem;letter-spacing:.10em;
  line-height:1.5;text-transform:uppercase;white-space:nowrap;
}
html[data-kolfat-page="home"] body .kf-video-frame{
  display:block;position:relative;isolation:isolate;overflow:hidden;
  width:100%;aspect-ratio:16/9;
  background:#070707;border:1px solid rgba(255,255,255,.48);
  box-shadow:0 18px 55px rgba(0,0,0,.68);direction:ltr;
}
html[data-kolfat-page="home"] body .kf-video-poster{
  display:block;position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center center;
  filter:grayscale(1) brightness(.46) contrast(1.28);
}
html[data-kolfat-page="home"] body .kf-video-shade{
  position:absolute;inset:0;
  background:linear-gradient(0deg,rgba(0,0,0,.9),transparent 55%,rgba(0,0,0,.65));
  pointer-events:none;
}
html[data-kolfat-page="home"] body .kf-video-brand{
  position:absolute;top:16%;left:6%;right:6%;
  text-align:center;text-shadow:0 2px 16px #000;
  color:#f7f7f7;pointer-events:none;
}
html[data-kolfat-page="home"] body .kf-video-brand .kf-studio{
  display:block;letter-spacing:.24em;font-size:.62rem;
  font-weight:800;margin-bottom:9px;
}
html[data-kolfat-page="home"] body .kf-video-brand .kf-title{
  display:block;font:400 clamp(1.25rem,2.4vw,2rem)/1.1 Georgia,"Times New Roman",serif;
  letter-spacing:.02em;
}
html[data-kolfat-page="home"] body .kf-video-brand .kf-subtitle{
  display:block;font-size:.6rem;font-weight:800;
  letter-spacing:.23em;margin-top:10px;
}
html[data-kolfat-page="home"] body .kf-video-play{
  position:absolute;top:57%;left:50%;transform:translate(-50%,-50%);
  display:flex;align-items:center;justify-content:center;
  width:77px;height:54px;padding:0;border:0;border-radius:14px;
  background:#f6f6f6;color:#050505;cursor:pointer;
  box-shadow:0 9px 25px rgba(0,0,0,.65);
  transition:transform .18s ease,background-color .18s ease;
}
html[data-kolfat-page="home"] body .kf-video-play::after{
  content:"";display:block;width:0;height:0;margin-left:5px;
  border-top:12px solid transparent;border-bottom:12px solid transparent;
  border-left:19px solid #080808;
}
html[data-kolfat-page="home"] body .kf-video-play:hover{
  transform:translate(-50%,-50%) scale(1.06);background:#ddd;
}
html[data-kolfat-page="home"] body .kf-video-play:focus-visible{
  outline:3px solid #fff;outline-offset:4px;
}
html[data-kolfat-page="home"] body .kf-video-footer{
  position:absolute;left:14px;right:14px;bottom:14px;
  display:flex;justify-content:space-between;align-items:center;
  color:#fff;font-size:.60rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.05em;
}
html[data-kolfat-page="home"] body .kf-video-yt{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:32px;padding:5px 9px;background:#f5f5f5;color:#090909;
  border-radius:5px;font-weight:900;letter-spacing:-.03em;text-transform:none;
  text-decoration:none;cursor:pointer;transition:background-color .18s,color .18s;
}
html[data-kolfat-page="home"] body a.kf-video-yt:hover{
  background:#d8d8d8;color:#000;
}
html[data-kolfat-page="home"] body a.kf-video-yt:focus-visible{
  outline:3px solid #fff;outline-offset:3px;
}
html[data-kolfat-page="home"] body .kf-video-frame iframe{
  display:block;position:absolute;inset:0;width:100%;height:100%;border:0;
}
html[data-kolfat-page="home"] body .kf-video-watch-on-youtube{
  position:absolute;right:7px;bottom:7px;z-index:2;
  padding:4px 6px;background:rgba(0,0,0,.76);color:#fff;
  border:1px solid rgba(255,255,255,.45);border-radius:3px;
  font-size:.65rem;text-decoration:none;
}
html[data-kolfat-page="home"] body .kf-cinematic-caption{
  max-width:540px;margin:10px 0 0;color:#a9a9a9;
  font-size:.78rem;line-height:1.55;
}
@media(max-width:980px){
  html[data-kolfat-page="home"] body .hero-inner{
    padding:clamp(115px,13svh,145px) 16px 12px!important;
  }
  html[data-kolfat-page="home"] body .hero-copy{
    width:min(620px,100%)!important;max-width:620px!important;
    margin:0 auto!important;
  }
}
@media(max-width:640px){
  html[data-kolfat-page="home"] body .hero-inner{
    padding:104px 16px 12px!important;
  }
  html[data-kolfat-page="home"] body .hero-copy{width:100%!important;max-width:100%!important}
  html[data-kolfat-page="home"] body .kf-cinematic{margin-top:20px}
  html[data-kolfat-page="home"] body .kf-cinematic-heading{
    flex-direction:column;align-items:flex-start;gap:2px;margin-bottom:12px;
  }
  html[data-kolfat-page="home"] body .kf-cinematic-heading strong{
    font-size:.62rem;letter-spacing:.15em;
  }
  html[data-kolfat-page="home"] body .kf-cinematic-heading small{font-size:.56rem}
  html[data-kolfat-page="home"] body .kf-video-brand{top:13%}
  html[data-kolfat-page="home"] body .kf-video-brand .kf-studio{
    font-size:.44rem;margin-bottom:6px;
  }
  html[data-kolfat-page="home"] body .kf-video-brand .kf-title{font-size:1.35rem}
  html[data-kolfat-page="home"] body .kf-video-brand .kf-subtitle{
    font-size:.45rem;margin-top:6px;
  }
  html[data-kolfat-page="home"] body .kf-video-play{
    width:66px;height:46px;border-radius:11px;
  }
  html[data-kolfat-page="home"] body .kf-video-play::after{
    border-top-width:10px;border-bottom-width:10px;border-left-width:17px;
  }
  html[data-kolfat-page="home"] body .kf-video-footer{left:10px;right:10px;bottom:9px;font-size:.49rem}
  html[data-kolfat-page="home"] body .kf-video-yt{padding:4px 6px}
  html[data-kolfat-page="home"] body .kf-cinematic-caption{font-size:.75rem}
}
/* Persian and Arabic homepages must occupy the same clear left-side
 * visual column as every other language. Keep RTL reading order and
 * right-aligned Arabic-script copy inside that left-positioned column.
 * This fixes text overlapping the maid's face on desktop; tablets and
 * phones retain their existing centered/responsive layout. */
@media (min-width:981px){
  html:is([lang="fa"],[lang="ar"])[data-kolfat-page="home"] body .hero-copy{
    margin-left:0!important;
    margin-right:auto!important;
    direction:rtl!important;
    text-align:right!important;
  }
}
html[dir="rtl"][data-kolfat-page="home"] body .kf-video-brand{direction:rtl}
@media(prefers-reduced-motion:reduce){
  html[data-kolfat-page="home"] body .kf-video-play{transition:none}
}
