.gwc{
  --gwc-max: 1052px;
  /* The section-shell around this widget already carries the page gutter (80px
     desktop, 28px mobile), so the widget adds none of its own. Anything above 0
     would double up and pull the 1052px stage in. */
  --gwc-pad: 0px;
  --gwc-gap: 118px;
  --gwc-ink: #07080A;
  --gwc-card-bg: #07080A;
  --gwc-card-ink: #FFFFFF;
  --gwc-eyebrow-ink: #9D9D9D;
  --gwc-badge-border: #CBCBCB;
  --gwc-badge-bg: #FFFFFF;
  --gwc-arrow-ink: #040404;
  --gwc-media-radius: 14px;
  --gwc-card-radius: clamp(16.16px, 14.81px + 0.361vw, 20px);
  --gwc-card-pad: clamp(32.32px, 29.61px + 0.721vw, 40px);
  --gwc-font: "Noto Sans Hebrew", system-ui, Arial, sans-serif;
  inline-size: 100%;
  max-inline-size: var(--gwc-max);
  margin-inline: auto;
  padding-inline: var(--gwc-pad);
  display: flex;
  flex-direction: column;
  gap: var(--gwc-gap);
  font-family: var(--gwc-font);
  color: var(--gwc-ink);
}

/* Mobile head follows the Figma mobile frame: badge and title both hug the
   inline start. The desktop frame centres them, so that flip lives in the
   min-width query at the bottom of this file. */
.gwc__head{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  text-align: start;
}

.gwc__badge{
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: clamp(16px, 11.77px + 1.127vw, 28px);
  padding-block: 2px;
  padding-inline: clamp(10px, 4.4px + 1.49vw, 26px);
  border: 1px solid var(--gwc-badge-border);
  border-radius: clamp(5.74px, 4.24px + 0.4vw, 10px);
  background-color: var(--gwc-badge-bg);
  font-size: clamp(10px, 7.54px + 0.657vw, 17px);
  line-height: 1.4;
  color: var(--gwc-ink);
  white-space: nowrap;
}

.gwc__title{
  margin: 0;
  font-weight: 500;
  font-size: clamp(38px, 32.92px + 1.354vw, 52.42px);
  line-height: clamp(45px, 38.94px + 1.617vw, 62.22px);
  letter-spacing: 0;
  color: var(--gwc-ink);
}

/* The desktop frame breaks the headline after "בנו". The mobile frame wraps on
   its own, so the break is suppressed there rather than typed into the text. */
.gwc__br{ display: none; }

.gwc__stage{
  position: relative;
  inline-size: 100%;
  aspect-ratio: 1052 / 506;
}

.gwc__slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease;
}
.gwc__slide.is-active{ opacity: 1; visibility: visible; }

.gwc__photo{
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  inline-size: 47.15%;
  overflow: hidden;
  border-radius: var(--gwc-media-radius);
  background-color: #040404;
}
.gwc .gwc__photo img{
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

/* The card overlaps the photo by roughly 98px at 1052, which is why it is
   positioned against the stage rather than sitting in flow beside the image. */
.gwc__card{
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 20.55%;
  inline-size: 62.22%;
  min-block-size: 61.86%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(8.08px, 7.4px + 0.18vw, 10px);
  padding: var(--gwc-card-pad);
  border-radius: var(--gwc-card-radius);
  background-color: var(--gwc-card-bg);
  text-align: start;
}

.gwc__eyebrow{
  margin: 0;
  font-weight: 400;
  font-size: clamp(16.16px, 14.81px + 0.361vw, 20px);
  line-height: clamp(22.62px, 20.73px + 0.505vw, 28px);
  color: var(--gwc-eyebrow-ink);
}

.gwc__slide-title{
  margin: 0;
  font-weight: 300;
  font-size: clamp(30.7px, 23.4px + 1.945vw, 51.42px);
  line-height: clamp(36.36px, 25.5px + 2.896vw, 67.2px);
  color: var(--gwc-card-ink);
  overflow-wrap: break-word;
}

.gwc__nav{
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Every arrow rule is written as .gwc .gwc__btn on purpose. Hello Elementor's
   reset paints native buttons through attribute selectors ([type="button"]:hover
   is 0,2,0), and the site wide snippet that neutralises it mirrors that weight.
   A single class would lose to both; two classes sit above them and keep the
   arrows under this widget's control. */
.gwc .gwc__btn{
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  inline-size: 51px;
  block-size: 46px;
  color: var(--gwc-arrow-ink);
  background-color: transparent;
  border: 0;
  text-decoration: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  transition: opacity .2s ease;
}
.gwc .gwc__btn:hover{ opacity: .55; background-color: transparent; color: var(--gwc-arrow-ink); }
.gwc .gwc__btn:active{ opacity: .4; background-color: transparent; color: var(--gwc-arrow-ink); }
.gwc .gwc__btn:focus{ background-color: transparent; color: var(--gwc-arrow-ink); outline: none; }
.gwc .gwc__btn:focus-visible{ outline: 2px solid var(--gwc-arrow-ink); outline-offset: 4px; border-radius: 4px; }

/* Both glyphs ship in every button and one is hidden per breakpoint. */
.gwc .gwc__btn .gwc__ico{ display: block; }
.gwc .gwc__btn .gwc__ico--chev{ display: none; }

.gwc__live{
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Mobile: the photo goes full bleed and the card floats centred over its top
   edge, per the Figma mobile frame. The blurred ghost card behind it in that
   frame is a stacking mock-up and is deliberately not built. */
@media (max-width: 767px){
  .gwc__stage{
    inline-size: 100vw;
    margin-inline: calc(50% - 50vw);
    aspect-ratio: 361 / 492;
  }
  .gwc__photo{
    inset-block-start: auto;
    inset-block-end: 0;
    inset-inline: 0;
    inline-size: 100%;
    block-size: 80.08%;
    border-radius: 0;
  }
  .gwc__card{
    inset-block-start: 0;
    inset-inline: 0;
    margin-inline: auto;
    inline-size: 64.68%;
    min-block-size: 45.33%;
  }
  .gwc__nav{
    inset-inline: 20px;
    inset-block-start: 4.47%;
    justify-content: space-between;
  }
  .gwc .gwc__btn{ inline-size: 27px; block-size: 57px; }
  .gwc .gwc__btn .gwc__ico--arrow{ display: none; }
  .gwc .gwc__btn .gwc__ico--chev{ display: block; }
}

@media (min-width: 768px){
  .gwc{ --gwc-gap: 68px; }
  .gwc__head{ align-items: center; text-align: center; }
  .gwc__br{ display: inline; }
}

@media (prefers-reduced-motion: reduce){
  .gwc__slide{ transition-duration: .01ms; }
}
