/* דף הבית — גיבור: דיוקן שמתמזג לרקע (מסכה בקצוות, גוון חם) + טקסט מיושר לימין.
   נטען רק מ-_v/{desktop,tablet,mobile}/index.html. כל הכללים תלויים ב-id/מחלקות של ה-hero (u_1243667655). */

/* ── משותף ── */
html body#dmRoot #dm .dmBody .u_1243667655 { padding: 0 !important; position: relative; overflow: hidden; isolation: isolate; z-index: 0; }
html body#dmRoot #dm .dmBody .u_1243667655::after {
  content: ""; display: block !important; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  /* הוקל (היה .88/.84, ואז .55/.45) — להבהרה חזקה, עם שמץ כהות לקריאוּת הטקסט הלבן */
  background: linear-gradient(270deg, rgba(24,14,9,.28) 0%, rgba(24,14,9,.18) 100%);
}
html body#dmRoot #dm .dmBody .u_1243667655 [id="1173148036"] { position: static !important; z-index: 2; }
html body#dmRoot #dm .dmBody .u_1730595746 { padding: 0 !important; }
html body#dmRoot #dm .dmBody .u_1315059009 { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; min-width: 0 !important; margin: 0 !important; overflow: hidden; }
html body#dmRoot #dm .dmBody .u_1315059009 img {
  position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important;
  object-fit: cover; object-position: 40% 0%;
  filter: saturate(.85) sepia(.22) brightness(1.04) contrast(1.04);
}
html body#dmRoot #dm .dmBody .u_1315059009::after {
  content: ""; display: block !important; position: absolute; inset: 0; pointer-events: none;
  /* דהייה חלקה בקצה הימני בלבד — מתחילה רק אחרי הפנים (הרקע בתמונה כהה שם) */
  background: linear-gradient(270deg, rgb(28,16,9) 0, rgba(28,16,9,.88) 3%, rgba(28,16,9,.66) 7%, rgba(28,16,9,.42) 11%, rgba(28,16,9,.22) 15%, rgba(28,16,9,.08) 19%, rgba(28,16,9,0) 22%), linear-gradient(90deg, rgba(24,14,9,.3) 0, rgba(24,14,9,0) 18%);
}
/* כותרת: שורת המשנה בזהב, פס זהב קצר; שתי שורות ריקות/שקופות מקודם לא תופסות מקום */
html body#dmRoot #dm .dmBody .u_1051782493 > span > div:nth-child(-n+2) { height: 0 !important; overflow: hidden; line-height: 0 !important; font-size: 0 !important; margin: 0 !important; padding: 0 !important; }
html body#dmRoot #dm .dmBody .u_1051782493 > span > div:last-child span { color: #E4C26C !important; }
html body#dmRoot #dm .dmBody .u_1051782493, html body#dmRoot #dm .dmBody .u_1801108568 { text-shadow: 0 2px 14px rgba(0,0,0,.45); }
html body#dmRoot #dm .dmBody .u_1028387672 { color: #F6EFE2; }
html body#dmRoot #dm .dmBody .u_1028387672 font { color: rgba(246,239,226,.94) !important; }
html body#dmRoot #dm .dmBody .u_1028387672 span { font-size: 19px !important; line-height: 1.75 !important; }

/* ── דסקטופ ──
   עמודת הדיוקן שומרת על יחס התמונה (aspect-ratio) — כך הפנים אף פעם לא נחתכים, בכל רוחב מסך. */
html body#dmRoot.dmDesktopBody #dm .dmBody .u_1243667655 { display: flex !important; align-items: center; min-height: max(calc(min(46vw, 640px) / 1.19), 520px); }
html body#dmRoot.dmDesktopBody #dm .dmBody .u_1243667655 [id="1173148036"] { display: flex !important; justify-content: flex-end; width: 100% !important; max-width: 1240px; margin: 0 auto !important; padding: 0 clamp(24px, 4vw, 56px); box-sizing: border-box; }
html body#dmRoot.dmDesktopBody #dm .dmBody .u_1620106714 { position: relative; z-index: 3; flex: 0 0 auto !important; width: min(100%, 600px) !important; }
html body#dmRoot.dmDesktopBody #dm .dmBody .u_1730595746 {
  position: absolute !important; z-index: 2; left: 0; top: 0; bottom: auto !important; height: auto !important; aspect-ratio: 1.19 / 1; width: min(46vw, 640px) !important; margin: 0 !important;
}
html body#dmRoot.dmDesktopBody #dm .dmBody .u_1315059009 img {
  inset: 0 !important; height: 100% !important; width: 100% !important; object-fit: cover; object-position: 50% 0%;
  /* רווח מלא מעל הראש והעלאת הדיוקן אל ראש הבאנר — ללא ההזזה למטה הקודמת (שחתכה את הראש) */
  transform: none;
}
html body#dmRoot.dmDesktopBody #dm .dmBody .u_1315059009 {
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 92%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 92%, transparent 100%);
}
html body#dmRoot.dmDesktopBody #dm .dmBody .u_1051782493 { font-size: clamp(42px, 3.9vw, 58px) !important; line-height: 1.15 !important; }
html body#dmRoot.dmDesktopBody #dm .dmBody .u_1051782493 div { text-align: right !important; }
html body#dmRoot.dmDesktopBody #dm .dmBody .u_1051782493 > span > div:last-child span { font-size: .62em !important; font-weight: 400 !important; }
html body#dmRoot.dmDesktopBody #dm .dmBody .u_1051782493::after { content: ""; display: block; width: 92px; height: 3px; background: #C49A3A; margin: 18px 0 0 auto; }
html body#dmRoot.dmDesktopBody #dm .dmBody .u_1028387672 { margin-top: 18px !important; }
html body#dmRoot.dmDesktopBody #dm .dmBody .u_1028387672 div { text-align: right !important; }

/* ── טאבלט + נייד: דיוקן בראש (ביחס התמונה, בלי חיתוך פנים), דועך כלפי מטה אל הכותרת ── */
html body#dmRoot.dmTabletBody #dm .dmBody .u_1243667655, html body#dmRoot.dmMobileBody #dm .dmBody .u_1243667655 { display: block !important; min-height: 0; padding-bottom: 56px !important; }
html body#dmRoot.dmTabletBody #dm .dmBody .u_1243667655 [id="1173148036"], html body#dmRoot.dmMobileBody #dm .dmBody .u_1243667655 [id="1173148036"] {
  display: flex !important; flex-direction: column; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 24px; box-sizing: border-box;
}
html body#dmRoot.dmTabletBody #dm .dmBody .u_1730595746, html body#dmRoot.dmMobileBody #dm .dmBody .u_1730595746 {
  order: -1; position: relative !important; z-index: 2; width: min(calc(100% + 48px), 560px) !important; max-width: none !important; height: auto !important; aspect-ratio: 1.19 / 1;
  margin: 0 -24px -72px !important; align-self: center;
}
html body#dmRoot.dmTabletBody #dm .dmBody .u_1620106714, html body#dmRoot.dmMobileBody #dm .dmBody .u_1620106714 { position: relative; z-index: 3; width: 100% !important; max-width: 680px; margin-inline: auto !important; }
html body#dmRoot.dmTabletBody #dm .dmBody .u_1315059009, html body#dmRoot.dmMobileBody #dm .dmBody .u_1315059009 {
  /* דהייה אנכית אל רקע ה-hero עצמו (לא אל צבע אטום שונה) — בלי קו חיתוך בתחתית הדיוקן */
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 58%, rgba(0,0,0,.55) 78%, rgba(0,0,0,.18) 92%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 58%, rgba(0,0,0,.55) 78%, rgba(0,0,0,.18) 92%, transparent 100%);
}
html body#dmRoot.dmTabletBody #dm .dmBody .u_1315059009 img, html body#dmRoot.dmMobileBody #dm .dmBody .u_1315059009 img {
  object-position: 0% 0%;
  /* רווח קטן מעל הראש — התמונה צמודה לקצה העליון ללא זה (הראש "נחתך") */
  transform: scale(.92) translateY(4%);
}
html body#dmRoot.dmTabletBody #dm .dmBody .u_1315059009::after, html body#dmRoot.dmMobileBody #dm .dmBody .u_1315059009::after {
  background: linear-gradient(0deg, rgba(24,14,9,.5) 0, rgba(24,14,9,.25) 28%, rgba(24,14,9,0) 58%), linear-gradient(270deg, rgb(28,16,9) 0, rgba(28,16,9,.7) 4%, rgba(28,16,9,0) 14%), linear-gradient(90deg, rgb(28,16,9) 0, rgba(28,16,9,.6) 4%, rgba(28,16,9,0) 12%);
}
/* הוקל (היה .86, ואז .5) — להבהרה חזקה, עם שמץ כהות לקריאוּת */
html body#dmRoot.dmTabletBody #dm .dmBody .u_1243667655::after, html body#dmRoot.dmMobileBody #dm .dmBody .u_1243667655::after { background: rgba(24,14,9,.22); }

/* ── תפריט עליון: מתכווץ כבר בגלילה קטנה (ברירת המחדל של Duda — רק אחרי ~314px) ── */
html body#dmRoot #stickyHeaderSpacer { transition: height .48s cubic-bezier(.4,0,.2,1); }
html body#dmRoot.henya-compact #stickyHeaderSpacer { height: 63px !important; }

/* ── תפריט עליון (דסקטופ): תתי־תפריטים מיושרים לימין וצמודים לקצה הימני של הפריט (RTL) ── */
html body#dmRoot.dmDesktopBody #dm .p_hfcontainer .main-navigation.unifiednav .unifiednav__container[data-depth] { direction: rtl; text-align: right; }
html body#dmRoot.dmDesktopBody #dm .p_hfcontainer .u_1918575597.main-navigation.unifiednav .unifiednav__container:not([data-depth])>.unifiednav__item-wrap:not(:last-child) .unifiednav__container[data-depth="0"] { left: auto !important; right: 30px !important; }
html body#dmRoot.dmDesktopBody #dm .p_hfcontainer .main-navigation.unifiednav .unifiednav__container[data-depth="1"] { left: auto !important; right: 100% !important; transform: translateX(10%) !important; }
html body#dmRoot.dmDesktopBody #dm .p_hfcontainer .main-navigation.unifiednav .unifiednav__container[data-depth] > .unifiednav__item-wrap > .unifiednav__item { justify-content: flex-start; padding: 15px 15px 15px 30px; text-align: right; }
