/* Narrow, page-specific visual corrections. No layout/content changes elsewhere. */
/* Keep floating contact controls above the draft-preview bar. */
body:has(#wpvibe-preview-banner) .mm-global-whatsapp{bottom:calc(76px + env(safe-area-inset-bottom,0px))!important}
body:has(#wpvibe-preview-banner) .mm-proposal-trigger{bottom:calc(152px + env(safe-area-inset-bottom,0px))!important}
body:has(#wpvibe-preview-banner) .mm-wa-lead{bottom:calc(152px + env(safe-area-inset-bottom,0px))!important;max-height:calc(100dvh - 174px)!important}
/* Hebrew header: logo left, navigation right; keep text and submenu direction RTL. */
@media(min-width:768px){
 html body #brx-header #brxe-kztnbn{direction:ltr!important;flex-direction:row!important;flex-wrap:nowrap!important}
 html body #brx-header #brxe-ylqazm{order:1!important;flex-shrink:1!important;min-width:140px!important}
 html body #brx-header #brxe-knkwju{order:2!important;direction:rtl}
 html body #brx-header .mm-header-phone{order:3!important;flex-shrink:0!important}
 html body #brx-header #brxe-ldzjkj{order:4!important;direction:rtl!important;margin-left:auto!important;margin-right:0!important}
}
/* At intermediate desktop widths, give navigation its own row instead of clipping links. */
@media(min-width:768px) and (max-width:1279px){
 html body #brx-header #brxe-kztnbn{display:grid!important;grid-template-columns:minmax(140px,1fr) auto 44px!important;gap:12px 18px!important;height:auto!important;padding-block:8px!important}
 html body #brx-header #brxe-ylqazm{grid-column:1;grid-row:1;width:200px!important;max-width:100%!important}
 html body #brx-header #brxe-knkwju{grid-column:2;grid-row:1}
 html body #brx-header .mm-header-phone{grid-column:3;grid-row:1}
 html body #brx-header #brxe-ldzjkj{grid-column:1 / -1;grid-row:2;width:100%!important;min-width:0!important}
 html body #brx-header #brxe-ldzjkj .bricks-nav-menu{flex-wrap:wrap!important;justify-content:flex-start!important;gap:10px 18px!important}
 html body #brx-header #brxe-ldzjkj .bricks-nav-menu>li{margin:0!important}
}
@media(max-width:767px){
 html body #brx-header #brxe-kztnbn{direction:ltr!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:10px!important}
 html body #wpvibe-preview-banner{direction:ltr!important;flex-wrap:nowrap!important;gap:7px!important;padding:8px!important;min-height:48px!important}
 html body #wpvibe-preview-banner .wpvibe-info{display:none!important}
 html body #wpvibe-preview-banner .wpvibe-badge{font-size:10px!important;line-height:1.2!important}
 html body #wpvibe-preview-banner .wpvibe-btn{font-size:10px!important;white-space:nowrap!important;padding:7px!important}
 html body #brx-header #brxe-ylqazm{order:1!important;margin:0 auto 0 0!important;flex-shrink:1!important;max-width:calc(100% - 118px)!important}
 html body #brx-header #brxe-ldzjkj{order:3!important;margin:0!important;flex:0 0 46px!important}
 html body #brx-header .mm-header-phone{order:3!important;margin:0!important}
 html body #brx-header #brxe-ldzjkj{order:4!important}
 html body #brx-header .mm-header-language{order:2!important;display:inline-flex!important;align-items:center;justify-content:center;direction:ltr;white-space:nowrap;flex:0 0 52px;min-height:44px;font-size:14px;font-weight:600;color:#f6edda;gap:4px;pointer-events:auto}
 html body #brx-header #brxe-ylqazm{max-width:calc(100% - 170px)!important}
 html body #brx-header .mm-header-language:focus-visible{outline:2px solid #d4ad65;outline-offset:2px;border-radius:6px}
 html body.mm-mobile-header-compact #brx-header .mm-header-language{position:fixed!important;top:max(10px,env(safe-area-inset-top))!important;right:auto!important;left:82px!important;min-height:44px;padding:0 6px;background:rgba(16,14,10,.94);border-radius:8px;z-index:100003}

 html body.mm-mobile-header-compact #brx-header #brxe-ldzjkj{left:auto!important;right:max(10px,env(safe-area-inset-right))!important}
}

.mm-image-marquee__picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* Business events hero: reveal the full head on desktop without changing mobile crop. */
@media (min-width: 768px) {
  body.page-id-14 #brxe-b10001 {
    background-position: center 32% !important;
  }
}

/* Homepage hero: remove any video frame/seam and blend the live video into the portrait/background. */
body.home #brxe-a91f3c,
body.home #brxe-a91f3c .mm-live-window,
body.home #brxe-a91f3c .mm-live-window iframe {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

body.home #brxe-a91f3c .mm-live-window {
  overflow: hidden !important;
  background: transparent !important;
}

body.home #brxe-a91f3c .mm-live-window iframe {
  transform: scale(1.012) !important;
  transform-origin: center center !important;
  backface-visibility: hidden;
}

body.home #brxe-a91f3c {
  /* Feather the video itself into the hero background. This removes the visible
     vertical join without moving or resizing either the portrait or video. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.16) 18px, rgba(0,0,0,.48) 54px, rgba(0,0,0,.82) 96px, #000 142px, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.16) 18px, rgba(0,0,0,.48) 54px, rgba(0,0,0,.82) 96px, #000 142px, #000 100%);
}

body.home #brxe-a91f3c::before {
  content: none !important;
}

/* Mobile header: remove the full strip after scrolling while keeping the
   existing hamburger independently fixed, visible and tappable site-wide. */
@media (max-width: 767px) {
  #brx-header .brxe-container {
    direction: ltr !important;
    position: relative !important;
  }

  #brx-header .brxe-image {
    order: 1 !important;
    margin-right: auto !important;
    margin-left: 0 !important;
  }

  #brx-header .mm-header-phone {
    order: 2 !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    margin: 0 10px !important;
  }

  #brx-header .brxe-nav-menu {
    order: 3 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }

  html,
  body.mm-premium-ready {
    overflow-x: clip !important;
  }

  body.mm-mobile-header-compact #brx-header {
    position: fixed !important;
    inset: 0 0 auto !important;
    width: 100% !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    transform: none !important;
    pointer-events: none !important;
    contain: none !important;
  }

  body.mm-mobile-header-compact #brx-header > .brxe-section,
  body.mm-mobile-header-compact #brx-header > .brxe-section > .brxe-container {
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    transform: none !important;
    pointer-events: none !important;
  }

  body.mm-mobile-header-compact #brx-header .brxe-nav-menu {
    position: fixed !important;
    top: max(10px, env(safe-area-inset-top)) !important;
    right: max(10px, env(safe-area-inset-right)) !important;
    left: auto !important;
    width: 58px !important;
    height: 58px !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    z-index: 100002 !important;
    isolation: isolate;
  }

  body.mm-mobile-header-compact #brx-header .bricks-mobile-menu-toggle,
  body.mm-mobile-header-compact #brx-header .bricks-mobile-menu-toggle > span {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Default-open dock stays narrow and below the header so it does not compete
     with the hamburger or cover a meaningful portion of the content. */
  body .mm-global-social-dock {
    max-width: 46px !important;
    padding: 4px !important;
    gap: 2px !important;
  }

  body .mm-global-dock-toggle {
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
  }

  body .mm-global-dock-toggle svg {
    width: 21px !important;
    height: 21px !important;
  }

  body .mm-global-social-dock.is-open .mm-global-network,
  body .mm-global-social-dock.is-open .mm-global-network:not(.mm-global-phone) {
    width: 34px !important;
    height: 34px !important;
  }

  body .mm-global-social-dock.is-open .mm-global-phone {
    width: 36px !important;
    height: 36px !important;
  }

  body .mm-global-social-dock.is-open .mm-global-network svg {
    width: 16px !important;
    height: 16px !important;
  }

  /* Locked, per-photo mobile focal points: preserve the premium full-bleed
     frame while keeping every face safely inside the visible crop. */
  body.mm-premium-ready .mm-image-marquee .mm-image-marquee__item[data-mm-media-id="482"] > img[data-mm-media-id="482"] {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: 50% 0% !important;
    transform: none !important;
  }

  body.mm-premium-ready .mm-image-marquee .mm-image-marquee__item[data-mm-media-id="481"] > img[data-mm-media-id="481"] {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: 50% 20% !important;
    transform: none !important;
  }

  body.mm-premium-ready .mm-image-marquee .mm-image-marquee__item[data-mm-media-id="485"] > img[data-mm-media-id="485"] {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: 50% 14% !important;
    transform: none !important;
  }

  body.mm-premium-ready .mm-image-marquee .mm-image-marquee__item[data-mm-media-id="487"] > img[data-mm-media-id="487"] {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: 50% 18% !important;
    transform: none !important;
  }

  body.mm-premium-ready .mm-image-marquee .mm-image-marquee__item[data-mm-media-id="498"] > img[data-mm-media-id="498"] {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: 50% 14% !important;
    transform: none !important;
  }

  /* Mobile-only no-crop rule for every premium image rail.
     The entire source image remains visible, so heads cannot be clipped. */
  body.mm-premium-ready .mm-image-marquee .mm-image-marquee__item[data-mm-media-id] > img[data-mm-media-id] {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
    background: #0b0a08 !important;
  }

  /* Responsive full-width frame for the World rail only. */
  body.page-id-24 .mm-image-marquee--world .mm-image-marquee__item {
    width: calc(100vw - 30px) !important;
    max-width: 440px !important;
    height: min(72vw, 300px) !important;
    aspect-ratio: auto !important;
    background: #0b0a08 !important;
  }

  body.page-id-24 .mm-image-marquee--world .mm-image-marquee__picture,
  body.page-id-24 .mm-image-marquee--world .mm-image-marquee__picture > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  body.page-id-24 .mm-image-marquee--world .mm-image-marquee__picture > img {
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
    background: #0b0a08 !important;
  }
}
