.gftr{
  --gftr-bg: #1E1E1E;
  --gftr-ink: #FFFFFF;
  /* 8.4:1 on the bar. White at 70% opacity would land in the same place, but a
     solid value cannot drift if the background is ever changed. */
  --gftr-ink-quiet: #B8B8B8;
  --gftr-rule: rgba(255, 255, 255, .16);
  --gftr-font: "Noto Sans Hebrew", system-ui, Arial, sans-serif;

  /* Fluid between 1280 and 1440 -----------------------------------------
     The frame is drawn at 1440 and the Elementor desktop breakpoint starts at
     1280, so 160px of the desktop range has to carry a layout that was only
     ever measured at its widest point. At 1280 the eight menu items, the social
     pair and the mark needed about 111px more than the bar had, and the last
     item dropped to a second row on its own.
     Rather than leave a cliff at the breakpoint, the three levers that buy that
     room scale with the viewport and land exactly on the Figma values at 1440.
     Each one is a variable so the widget's Style tab can override it: a value
     typed there wins on specificity, and an empty field leaves these in place. */
  --gftr-gap: clamp(18px, 7.5vw - 78px, 30px);
  --gftr-inner-gap: 60px;
  --gftr-menu-size: clamp(16px, 0.625vw + 8px, 17px);

  background-color: var(--gftr-bg);
  color: var(--gftr-ink);
  font-family: var(--gftr-font);
  /* Figma: 50px over, 51px under, and an asymmetric gutter - 133px on the side
     the menu starts from, 83px on the side the mark sits. Held as percentages
     of the same 1440 so they narrow with the bar instead of squeezing it. */
  padding-block: 50px 51px;
  padding-inline: clamp(40px, 9.24%, 133px) clamp(28px, 5.76%, 83px);
}

/* The theme template wraps this bar in an Elementor container whose default
   padding, plus the widget's own gutter, was insetting a full width bar by 28px
   on one side. Matched with :has() against the single container that holds the
   footer, so no other container on the site is touched, and without resorting
   to a 100vw break-out that would open a horizontal scrollbar on Windows. */
.e-con:has(> .elementor-widget > .elementor-widget-container > .gftr){
  padding: 0 !important;
  gap: 0;
}
.e-con:has(> .elementor-widget > .elementor-widget-container > .gftr) > .elementor-widget{
  inline-size: 100%;
  max-inline-size: 100%;
  margin: 0;
}

.gftr__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gftr-inner-gap);
}

/* Menu and social read as one run in the frame, same rhythm throughout. */
.gftr__links{
  display: flex;
  align-items: center;
  gap: var(--gftr-gap);
  flex-wrap: wrap;
}

.gftr .gftr__menu{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--gftr-gap);
  flex-wrap: wrap;
}

.gftr .gftr__menu li{
  margin: 0;
  padding: 0;
}

.gftr .gftr__menu a{
  display: inline-block;
  font-size: var(--gftr-menu-size);
  line-height: 20px;
  font-weight: 400;
  /* 15.9:1 on the bar. */
  color: var(--gftr-ink);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .15s ease;
}
/* Hover gets an underline, not just a fade: colour and opacity alone are not
   something everyone can see. */
.gftr .gftr__menu a:hover{
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--gftr-ink);
}
.gftr .gftr__menu a:focus-visible,
.gftr .gftr__social-link:focus-visible,
.gftr .gftr__logo:focus-visible{
  outline: 2px solid var(--gftr-ink);
  outline-offset: 4px;
  border-radius: 2px;
}

.gftr .gftr__social{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 18px;
}
.gftr .gftr__social li{ margin: 0; padding: 0; }

/* The link, not the glyph, carries the target area: 21px of icon inside a 44px
   box clears the minimum touch target without changing how it looks. */
.gftr .gftr__social-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 44px;
  block-size: 44px;
  margin: -11px;
  color: var(--gftr-ink);
  text-decoration: none;
  transition: opacity .15s ease;
}
.gftr .gftr__social-link:hover{ opacity: .7; }
.gftr__ico{ display: block; }

.gftr .gftr__logo{
  flex: none;
  display: block;
  line-height: 0;
}
.gftr .gftr__logo img{
  display: block;
  inline-size: auto;
  block-size: auto;
  max-inline-size: 111px;
  max-block-size: 45px;
  object-fit: contain;
}

/* Credit, rights and legal documents -----------------------------------
   Not in the Figma frame. It sits as a second, quieter tier under a hairline so
   it reads as small print rather than as another row of navigation: the rights
   line and the policy links at the inline start, the build credits at the
   inline end. The credit block is marked dir="ltr" because it is English inside
   an RTL page - without it the full stops jump to the wrong end of each line. */

.gftr__legal{
  margin-block-start: 30px;
  padding-block-start: 24px;
  border-block-start: 1px solid var(--gftr-rule);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.gftr__legal-start{
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 15px;
}

.gftr .gftr__rights,
.gftr .gftr__credits{
  margin: 0;
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  color: var(--gftr-ink-quiet);
}

/* The one place logical properties cannot do the work.
   The credit block carries dir="ltr" of its own, so start and end inside it
   resolve against English rather than against the page, and would pin the text
   to the wrong side the moment the site gains an LTR language. What we actually
   want is "“flush with the outer edge of the footer", which depends on the page
   direction - so it is stated twice, once per direction. */
.gftr .gftr__credits{ text-align: left; }
[dir="ltr"] .gftr .gftr__credits{ text-align: right; }

/* Terms, privacy and accessibility. The divider is a border rather than a
   middot so that nothing decorative ends up being read out, and it reuses the
   same hairline that separates this tier from the bar above it. */
.gftr .gftr__policies{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 15px;
}

.gftr .gftr__policies li{
  margin: 0;
  padding-inline-start: 15px;
  border-inline-start: 1px solid var(--gftr-rule);
}

/* One treatment for every link in the small print, the studio credits
   included. Same quiet colour as the sentence they sit in, so the underline has
   to carry the fact that they are links. It stands rather than waiting for
   hover. */
.gftr .gftr__policies a,
.gftr .gftr__credits a{
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  color: var(--gftr-ink-quiet);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .15s ease;
}
.gftr .gftr__policies a:hover,
.gftr .gftr__credits a:hover{
  color: var(--gftr-ink);
}
.gftr .gftr__policies a:focus-visible,
.gftr .gftr__credits a:focus-visible{
  outline: 2px solid var(--gftr-ink);
  outline-offset: 4px;
  border-radius: 2px;
  color: var(--gftr-ink);
}

/* Mobile ---------------------------------------------------------------
   The Figma file has no mobile footer frame - every footer in it is drawn at
   1440. Eight links in one line would run several screens wide on a phone, so
   the bar unfolds: mark on top, then the menu in two columns, then social, then
   the small print stacked. */

@media (max-width: 767px){
  .gftr{
    /* The menu is a grid here with its own gaps, so the fluid desktop values
       would only affect the run between menu and social. Pinned back to the
       sizes the phone layout was drawn at. */
    --gftr-gap: 28px;
    --gftr-inner-gap: 32px;
    --gftr-menu-size: 17px;
    padding-block: 40px;
    padding-inline: 28px;
  }
  .gftr__inner{
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .gftr__links{
    flex-direction: column;
    align-items: stretch;
  }
  .gftr .gftr__menu{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 18px;
  }
  .gftr .gftr__menu a{
    white-space: normal;
    padding-block: 2px;
  }
  .gftr .gftr__social{
    gap: 24px;
  }
  .gftr .gftr__logo img{
    max-inline-size: 96px;
  }
  .gftr__legal{
    margin-block-start: 28px;
    padding-block-start: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  /* The rights sentence takes most of a phone line on its own, so the links
     drop under it rather than wrapping mid-run. Once they start a line the
     leading divider has nothing left to divide. */
  .gftr__legal-start{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .gftr .gftr__policies li:first-child{
    padding-inline-start: 0;
    border-inline-start: 0;
  }
  /* Stacked, everything runs from the reading edge of the page. */
  .gftr .gftr__credits{ text-align: right; }
  [dir="ltr"] .gftr .gftr__credits{ text-align: left; }
}

@media (min-width: 768px) and (max-width: 1279px){
  .gftr{
    --gftr-gap: 20px;
    --gftr-inner-gap: 32px;
    --gftr-menu-size: 15px;
    padding-inline: 40px;
  }
}

@media (prefers-reduced-motion: reduce){
  .gftr .gftr__menu a,
  .gftr .gftr__social-link,
  .gftr .gftr__policies a,
  .gftr .gftr__credits a{
    transition-duration: .01ms;
  }
}
