/* $font: 'ploni';
$font-headline: 'asimon';
$font-headline-light: 'asimon';
$font-headline-reg: 'asimon';
$font-headline-medium: 'asimon'; */
@font-face {
  font-family: "Noto Sans";
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url("fonts/in-between/NotoSans-Variable.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans Hebrew";
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url("fonts/in-between/NotoSansHebrew-Variable.woff2") format("woff2");
}
@font-face {
  font-family: "Franie";
  font-weight: 200;
  font-style: normal;
  font-display: swap;
  src: url("fonts/in-between/Franie-ExtraLight.woff2") format("woff2"), url("fonts/in-between/Franie-ExtraLight.woff") format("woff");
}
.ib-page {
  width: 100%;
  background: #fdfdfd;
  color: #161e37;
  font-family: "greycliff-hebrew-cf", sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}
.ib-page *, .ib-page *::before, .ib-page *::after {
  box-sizing: border-box;
}
.ib-page--en {
  font-family: "greycliff-hebrew-cf", sans-serif;
}

.ib-topband {
  width: 100%;
  height: 140px;
  background: #161e37;
}

@media (max-width: 1023px) {
  .ib-topband {
    height: 80px;
  }
}
.ib-hero {
  width: 100%;
  padding: 100px 20px 60px;
}
.ib-hero__inner {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}
.ib-hero__title {
  margin: 0 0 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.ib-hero__logo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ib-hero__logo {
  display: block;
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin: 0 auto;
}
.ib-hero__logo svg {
  display: block;
  width: 100%;
  height: auto;
}
.ib-hero__logo .ib-logo-fill {
  fill: #161e37;
  fill-opacity: 0;
  stroke: none;
  transition: fill-opacity 1s ease-out;
}
.ib-hero__logo.is-drawn .ib-logo-fill {
  fill-opacity: 1;
}
.ib-hero__subtitle {
  max-width: 814px;
  margin: 0 auto 50px;
  font-family: "Noto Sans", "Noto Sans Hebrew", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
  color: #888888;
}
.ib-hero__subtitle p {
  margin: 0 0 12px;
}
.ib-hero__subtitle p:last-child {
  margin-bottom: 0;
}
.ib-hero__scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-family: "greycliff-hebrew-cf", sans-serif;
  font-weight: 600;
  font-size: 25px;
  line-height: 1.4;
  color: #161e37;
  text-decoration: none;
  cursor: pointer;
  -webkit-transition: all 0.25s ease-out;
  transition: all 0.25s ease-out;
}
.ib-hero__scroll:hover {
  color: rgb(39.4857142857, 53.8441558442, 98.7142857143);
}
.ib-hero__scroll:hover .ib-hero__arrow {
  transform: translateY(4px);
}
.ib-hero__scroll span {
  display: block;
}
.ib-hero__arrow {
  display: block;
  animation: ib-arrow-bounce 1.6s ease-in-out infinite;
}

.ib-hero__scroll:hover .ib-hero__arrow {
  animation-play-state: paused;
  transform: translateY(4px);
}

@keyframes ib-arrow-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(7px);
  }
}
.ib-grid {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  direction: rtl;
}
.ib-grid__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 0;
  align-items: start;
}
.ib-grid__row--wide {
  grid-template-columns: 1fr;
}

.ib-tile {
  position: relative;
  display: block;
  width: 100%;
  background: #161e37;
  text-decoration: none;
  cursor: pointer;
  color: #161e37;
}
.ib-tile__media {
  position: relative;
  width: 100%;
  aspect-ratio: 641/461;
  overflow: hidden;
  background: #161e37;
}
.ib-tile--wide .ib-tile__media {
  aspect-ratio: 1280/474;
}
.ib-tile__image {
  position: absolute;
  inset: 0;
  -webkit-background-size: cover !important;
  -moz-background-size: cover !important;
  -o-background-size: cover !important;
  background-size: cover !important;
  background-position: center center !important;
  will-change: transform;
  transition: transform 0.5s ease-out;
}
.ib-tile__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.35s ease-out;
  z-index: 1;
}
.ib-tile__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  text-align: center;
  font-family: "greycliff-hebrew-cf", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.3;
  color: #161e37;
  background: #ffffff;
  padding: 16px 24px;
  transform: translateY(100%);
  -webkit-transition: all 0.35s ease-out;
  transition: all 0.35s ease-out;
  z-index: 2;
}
.ib-tile:hover .ib-tile__image, .ib-tile:focus-visible .ib-tile__image, .ib-tile.is-revealed .ib-tile__image {
  transform: scale(1.04);
}
.ib-tile:hover .ib-tile__overlay, .ib-tile:focus-visible .ib-tile__overlay, .ib-tile.is-revealed .ib-tile__overlay {
  background: rgba(0, 0, 0, 0.45);
}
.ib-tile:hover .ib-tile__label, .ib-tile:focus-visible .ib-tile__label, .ib-tile.is-revealed .ib-tile__label {
  transform: translateY(0);
  font-weight: 600;
}
.ib-tile:focus-visible {
  outline: 3px solid #161e37;
  outline-offset: 4px;
}

.ib-page--en .ib-tile__label,
.ib-page--en .ib-hero__scroll {
  font-family: "greycliff-hebrew-cf", sans-serif;
}

.ib-page--en .ib-hero__subtitle {
  font-family: "Noto Sans", "Noto Sans Hebrew", sans-serif;
}

body:has(.oa-page) header .items > li > a,
body:has(.oa-page) header nav a,
body:has(.ib-page) header .items > li > a,
body:has(.ib-page) header nav a {
  font-family: "Noto Sans", "Noto Sans Hebrew", sans-serif !important;
  font-weight: 400 !important;
  font-size: 16px !important;
}
body:has(.oa-page) header, body:has(.oa-page) header *,
body:has(.ib-page) header,
body:has(.ib-page) header * {
  font-family: "Noto Sans", "Noto Sans Hebrew", sans-serif !important;
}

.page-template-our-approach,
.page-template-in-between {
  background: transparent;
}
.page-template-our-approach .content-section,
.page-template-our-approach .page-content,
.page-template-our-approach .entry-content,
.page-template-our-approach main,
.page-template-our-approach #main,
.page-template-our-approach .site-main,
.page-template-in-between .content-section,
.page-template-in-between .page-content,
.page-template-in-between .entry-content,
.page-template-in-between main,
.page-template-in-between #main,
.page-template-in-between .site-main {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

.oa-page {
  width: 100%;
  background: #f6f5f1;
  color: #161e37;
  font-family: "greycliff-hebrew-cf", sans-serif;
  overflow-x: clip;
  padding-bottom: 100px;
}
.oa-page *, .oa-page *::before, .oa-page *::after {
  box-sizing: border-box;
}
.oa-page--en {
  font-family: "greycliff-hebrew-cf", sans-serif;
}

.oa-nav {
  position: sticky;
  top: 100px;
  z-index: 50;
  background: rgba(246, 245, 241, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(22, 30, 55, 0.08);
  padding: 14px 20px;
}
.oa-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1280px;
}
.oa-nav__btn {
  display: inline-block;
  padding: 7px 16px;
  font-family: "Noto Sans", "Noto Sans Hebrew", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #161e37;
  background: transparent;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  cursor: pointer;
}
.oa-nav__btn:hover {
  background: rgba(22, 30, 55, 0.07);
}
.oa-nav__btn.is-active {
  background: #161e37;
  color: #faf9f8;
}

.oa-section {
  width: 100%;
  margin: 60px 0;
}
.oa-section__image {
  width: 100%;
  height: auto;
  aspect-ratio: 16/4;
  -webkit-background-size: cover !important;
  -moz-background-size: cover !important;
  -o-background-size: cover !important;
  background-size: cover !important;
  background-position: center center !important;
}
.oa-section__video {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16/4;
  overflow: hidden;
  background: #161e37;
}
.oa-section__video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.oa-section__content {
  max-width: 1220px;
  margin: 50px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 70px;
  align-items: start;
}
.oa-section__title {
  margin: 0;
  font-family: "greycliff-hebrew-cf", sans-serif;
  font-weight: 600;
  font-size: 50px;
}
.oa-section__title .oa-section__title-light {
  font-weight: 400;
}
.oa-section__title {
  line-height: 52px;
  color: #161e37;
  text-align: start;
}
.oa-section__body {
  font-family: "Noto Sans", "Noto Sans Hebrew", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #888888;
}
.oa-section__body p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #888888;
}
.oa-section__body p:last-child {
  margin-bottom: 0;
}
.oa-section {
  scroll-margin-top: 140px;
}
.oa-section__title, .oa-section__body {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.oa-section__body {
  transition-delay: 0.15s;
}
.oa-section.is-visible .oa-section__title, .oa-section.is-visible .oa-section__body {
  opacity: 1;
  transform: translateY(0);
}

.oa-closing-quote {
  max-width: 1041px;
  margin: 80px auto 0;
  padding: 0 20px;
  text-align: center;
}
.oa-closing-quote p {
  margin: 0;
  font-family: "greycliff-hebrew-cf", sans-serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 1.5;
  color: #161e37;
}

.oa-page--en .oa-section__title {
  font-family: "greycliff-hebrew-cf", sans-serif;
}
.oa-page--en .oa-section__body, .oa-page--en .oa-section__body p {
  font-family: "Noto Sans", "Noto Sans Hebrew", sans-serif;
}

@media (max-width: 1023px) {
  .ib-hero {
    padding: 60px 20px 40px;
  }
  .ib-hero__title {
    font-size: clamp(56px, 18vw, 120px);
    margin-bottom: 36px;
  }
  .ib-hero__in {
    margin-right: -160px;
    font-size: clamp(28px, 6vw, 44px);
  }
  .ib-hero__subtitle {
    font-size: 15px;
    line-height: 22px;
    margin-bottom: 36px;
  }
  .ib-hero__scroll {
    font-size: 20px;
  }
  .ib-grid__row {
    gap: 1px;
    margin-bottom: 1px;
  }
  .ib-tile__label {
    font-size: 18px;
  }
  .oa-hero {
    padding: 40px 16px 30px;
  }
  .oa-hero__image {
    height: 280px;
  }
  .oa-hero__quote {
    font-size: 22px;
    line-height: 32px;
  }
  .oa-nav {
    top: 60px;
    padding: 10px 0;
  }
  .oa-nav__list {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 16px;
    gap: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .oa-nav__list::-webkit-scrollbar {
    display: none;
  }
  .oa-nav__btn {
    font-size: 14px;
    padding: 6px 12px;
    white-space: nowrap;
  }
  .oa-section {
    margin: 40px 0;
  }
  .oa-section__image {
    aspect-ratio: 16/7;
    height: auto;
  }
  .oa-section__video {
    aspect-ratio: 16/7;
    height: auto;
  }
  .oa-section__content {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 30px;
  }
  .oa-section__title {
    font-size: 32px;
    line-height: 38px;
  }
  .oa-section__body p {
    font-size: 15px;
    line-height: 23px;
  }
  .oa-closing-quote p {
    font-size: 20px;
    line-height: 1.5;
  }
}
@media (max-width: 600px) {
  .ib-grid__row {
    grid-template-columns: 1fr;
  }
  .ib-tile__media {
    aspect-ratio: 641/461;
  }
  .ib-tile__label {
    font-size: 16px;
    padding: 12px 16px;
  }
  .ib-tile--wide .ib-tile__media {
    aspect-ratio: 3/2;
  }
  .ib-tile--wide .ib-tile__image {
    background-image: url("images/in-between/home-people-mobile.jpg") !important;
  }
  .ib-hero__title {
    font-size: 56px;
  }
  .ib-hero__in {
    margin-right: -80px;
    font-size: 22px;
  }
}
