/* Kesher header and footer. */

/* ---------- Announcement ---------- */

.kesher-announce{
  background:var(--ink);color:var(--parchment);text-align:center;
  padding:9px 16px;font-size:14.5px;border-radius:var(--radius-pill);
  max-width:var(--container);margin:14px auto 0;
  font-family:var(--font-body);
}
.kesher-announce b{color:var(--blush);font-weight:400}

/* ---------- Nav ---------- */

.kesher-nav{
  position:sticky;top:10px;z-index:50;margin:14px auto 26px;
  max-width:var(--container);background:var(--parchment);
  border:1px solid var(--limestone);border-radius:var(--radius-pill);
  transition:box-shadow .25s;
}
.kesher-nav.is-scrolled{box-shadow:var(--shadow-nav)}
.kesher-nav__row{display:flex;align-items:center;gap:30px;padding:11px 11px 11px 26px}
.kesher-nav__brand{display:flex;align-items:center;flex:none}
.kesher-nav__logo{height:20px!important;width:auto!important;max-width:none;display:block}
.kesher-nav__logo-text{
  font-family:var(--font-display);font-size:22px;color:var(--ink);letter-spacing:.02em;
}

.kesher-nav__links{display:flex;gap:24px;font-size:15.5px;align-items:center}
.kesher-nav__links a{position:relative;padding:3px 0;color:var(--ink);
  font-family:var(--font-display);line-height:1.2;display:block}
.kesher-nav__links a::after{
  content:"";position:absolute;left:0;bottom:0;width:0;height:1.5px;
  background:var(--pomegranate);transition:width .25s;
}
.kesher-nav__links a:hover::after,
.kesher-nav__links li.current-menu-item > a::after{width:100%}
.kesher-nav__links ul{display:flex;gap:24px;list-style:none;margin:0;padding:0;align-items:center}

.kesher-nav__space{flex:1}
.kesher-nav__icons{display:flex;gap:18px;align-items:center;
  font-family:var(--font-body);font-size:13.5px;opacity:.72}
.kesher-nav__icons a{color:var(--ink)}
.kesher-nav__icons a:hover{color:var(--pomegranate)}

.kesher-burger{
  display:none;flex-direction:column;justify-content:center;align-items:center;
  gap:5px;width:44px;height:44px;border:none;background:none;cursor:pointer;padding:0;
}
.kesher-burger span{display:block;width:20px;height:1.5px;background:var(--ink);transition:.25s}
.kesher-nav.is-open .kesher-burger span:nth-child(1){transform:translateY(6.6px) rotate(45deg)}
.kesher-nav.is-open .kesher-burger span:nth-child(2){opacity:0}
.kesher-nav.is-open .kesher-burger span:nth-child(3){transform:translateY(-6.6px) rotate(-45deg)}

.kesher-mnav{
  display:none;position:absolute;top:calc(100% + 8px);left:0;right:0;
  background:var(--parchment);border:1px solid var(--limestone);
  border-radius:var(--radius-section);box-shadow:0 18px 44px rgba(30,31,43,.16);
  padding:12px 22px 20px;flex-direction:column;
}
.kesher-nav.is-open .kesher-mnav{display:flex}
.kesher-mnav a{
  font-family:var(--font-display);font-size:21px;padding:12px 2px;
  border-bottom:1px solid rgba(216,200,174,.45);min-height:44px;
  display:flex;align-items:center;color:var(--ink);
}
.kesher-mnav ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.kesher-mnav .kesher-btn{border-bottom:none;margin-top:14px;justify-content:center;font-size:11px;color:#fff}
.kesher-mnav__meta{
  display:flex;gap:24px;justify-content:center;font-family:var(--font-body);
  font-size:13.5px;opacity:.75;padding-top:16px;
}

/* ---------- Footer ---------- */

.kesher-footer{
  background:var(--ink);color:var(--parchment);padding:56px 0 30px;
  border-radius:var(--radius-section) var(--radius-section) 0 0;
  margin-top:26px;
}
.kesher-footer__inner{
  max-width:var(--container);margin:0 auto;padding:0 var(--container-pad);
  display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr 1fr;gap:32px;
}
.kesher-footer__logo{height:22px!important;width:auto!important;max-width:none;display:block;margin-bottom:18px}
.kesher-footer p{font-family:var(--font-body);font-size:13.5px;opacity:.7;max-width:34ch;line-height:1.7}
.kesher-footer h3{
  font-family:var(--font-label);font-weight:600;letter-spacing:var(--tracking-caps);
  text-transform:uppercase;font-size:10.5px;color:var(--brass);margin-bottom:16px;
}
.kesher-footer ul{list-style:none;margin:0;padding:0}
.kesher-footer li{margin-bottom:10px}
.kesher-footer a{font-family:var(--font-body);font-size:14px;color:var(--parchment);opacity:.8}
.kesher-footer a:hover{opacity:1;color:var(--blush)}

.kesher-footer__he{
  text-align:center;font-family:var(--font-hebrew);direction:rtl;
  font-size:16px;opacity:.75;margin:44px auto 0;max-width:var(--container);
  padding:0 var(--container-pad);
}
.kesher-footer__base{
  max-width:var(--container);margin:30px auto 0;padding:22px var(--container-pad) 0;
  border-top:1px solid rgba(246,241,231,.14);
  display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;
  font-family:var(--font-body);font-size:12.5px;opacity:.6;
}
.kesher-footer__base .pillars{
  font-family:var(--font-label);letter-spacing:.3em;text-transform:uppercase;font-size:10.5px;
}

@media(max-width:1020px){
  .kesher-nav__icons{display:none}
  .kesher-nav__row{gap:20px}
  .kesher-nav__links{gap:18px}
  .kesher-nav{margin:14px 12px 20px}
  .kesher-footer__inner{grid-template-columns:1fr 1fr;gap:32px}
}
@media(max-width:820px){
  .kesher-nav__links{display:none}
  .kesher-burger{display:flex}
  .kesher-nav{position:relative}
  .kesher-nav__row{padding:8px 12px 8px 20px;gap:12px}
  .kesher-nav__row > .kesher-btn{display:none}
  .kesher-announce{font-size:12.5px;padding:8px 14px;margin:14px 12px 0}
  .kesher-footer{padding:38px 0 24px}
  .kesher-footer__inner{grid-template-columns:1fr;gap:28px}
  .kesher-footer__base{flex-direction:column;text-align:center}
}
/* The nav button sits tighter than a page button. */
.kesher-nav__row > .kesher-btn{padding:12px 22px;font-size:10.5px;flex:none;white-space:nowrap}

/* The announcement's link. Underlined, so it reads as one. */
.kesher-announce__link{color:var(--blush);text-decoration:underline;
  text-underline-offset:3px;margin-left:12px;white-space:nowrap;
  transition:var(--transition)}
.kesher-announce__link:hover{color:var(--parchment)}
@media(max-width:600px){ .kesher-announce__link{margin-left:8px} }

/* ---------- Back control ---------- */

/* Rendered on every page but the front page and the product page, which has
   its own. Mobile only: on a phone it sticks under the nav, because that
   is where the page is long and the menu is behind a tap. */
.kesher-backbar{display:none}

.kesher-backbar__link{display:inline-flex;align-items:center;gap:9px;
  font-family:var(--font-label);font-weight:600;
  letter-spacing:var(--tracking-caps);text-transform:uppercase;font-size:10.5px;
  color:var(--text-muted,#6B6B72);background:none;border:none;padding:2px 0;
  transition:var(--transition)}

.kesher-backbar__link:hover{color:var(--pomegranate)}

.kesher-backbar__link:hover .kesher-backbar__a{transform:translateX(-3px)}

.kesher-backbar__a{font-size:14px;line-height:1;transition:var(--transition)}

@media(max-width:1020px){
  .kesher-backbar{display:block;position:sticky;top:76px;z-index:40;max-width:none;
    padding:9px 22px;background:var(--parchment);
    border-bottom:1px solid var(--border-card)}
}

@media(prefers-reduced-motion:reduce){
  .kesher-backbar__link,.kesher-backbar__a{transition:none}
  .kesher-backbar__link:hover .kesher-backbar__a{transform:none}
}


/* Fluent Forms labels the fieldset for screen readers. It is not meant to be
   seen - the band already has its own heading - but it must stay in the
   accessibility tree, so hide it visually rather than with display:none. */
.kesher-news .ff_screen_reader_title{position:absolute;width:1px;height:1px;
  padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);
  clip-path:inset(50%);white-space:nowrap;border:0}
