@font-face {
  font-family: Assistant;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/assistant-hebrew-600-normal.woff2") format("woff2");
  unicode-range: U+0590-05FF, U+20AA, U+FB1D-FB4F;
}

@font-face {
  font-family: "Frank Ruhl Libre";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/frank-ruhl-libre-hebrew-500-normal.woff2") format("woff2");
  unicode-range: U+0590-05FF, U+20AA, U+FB1D-FB4F;
}

html:lang(he):dir(rtl) {
  --type-display-letter-spacing: normal;
  --type-h2-letter-spacing: normal;
  --type-label-letter-spacing: normal;
  --tracking-display: normal;
  --tracking-h2: normal;
}

html:lang(he):dir(rtl) body {
  text-align: start;
  line-height: 1.55;
}

html:lang(he):dir(rtl) :where(main, nav, footer) {
  overflow-wrap: break-word;
}

html:lang(he):dir(rtl) :is(
  .hero-title h1,
  .en-situations-intro h2,
  .en-situation-title-panel h3,
  .en-conversation h2,
  .en-prices h2,
  .pricing-page h1,
  .pricing-page h2,
  .pricing-page h3,
  .locked-copy h1,
  .locked-copy h2
) {
  letter-spacing: normal;
}

html:lang(he):dir(rtl) :is(.hero-title h1, .en-situation-title-panel h3) {
  line-height: 1.08;
}

html:lang(he):dir(rtl) :is(
  .pricing-value,
  .situation-price-value,
  .en-prices-details
) data {
  direction: ltr;
  unicode-bidi: isolate;
}

html:lang(he):dir(rtl) :where(a, summary) bdi[dir=ltr] {
  white-space: nowrap;
}

/* The headline sits in the open space opposite the subject of the home photograph. */
html:lang(he):dir(rtl) .hero-title {
  text-align: start;
}

html:lang(he):dir(rtl) .situation-hero-scrim {
  background:
    linear-gradient(270deg, rgb(20 22 20 / .68), rgb(20 22 20 / .1) 80%),
    linear-gradient(0deg, rgb(20 22 20 / .5), transparent 60%);
}

@media (min-width: 701px) {
  html:lang(he):dir(rtl) .en-situation-scene .en-situation-image,
  html:lang(he):dir(rtl) .en-situation-scene .en-situation-title-panel {
    inset-inline: auto;
  }

  html:lang(he):dir(rtl) :is(
    .en-situation-scene--separation,
    .en-situation-scene--inheritance
  ) .en-situation-image {
    inset-inline-end: 0;
  }

  html:lang(he):dir(rtl) .en-situation-scene--business .en-situation-image {
    inset-inline-start: 0;
  }

  html:lang(he):dir(rtl) .en-situation-scene--separation .en-situation-title-panel {
    inset-inline-start: clamp(22px, 10vw, 150px);
  }

  html:lang(he):dir(rtl) .en-situation-scene--business .en-situation-title-panel {
    inset-inline-end: clamp(22px, 8vw, 120px);
  }

  html:lang(he):dir(rtl) .en-situation-scene--inheritance .en-situation-title-panel {
    inset-inline-start: clamp(22px, 9vw, 130px);
  }
}

@media (max-width: 700px) {
  html:lang(he):dir(rtl) :is(
    .en-situation-scene--separation,
    .en-situation-scene--inheritance
  ) .en-situation-image {
    margin-inline: auto 0;
  }

  html:lang(he):dir(rtl) .en-situation-scene--business .en-situation-image {
    margin-inline: 0 auto;
  }

  html:lang(he):dir(rtl) :is(
    .en-situation-scene--separation,
    .en-situation-scene--inheritance
  ) .en-situation-title-panel {
    margin-inline: 7% 0;
  }

  html:lang(he):dir(rtl) .en-situation-scene--business .en-situation-title-panel {
    margin-inline: auto 7%;
    text-align: start;
  }

  html:lang(he):dir(rtl) .has-fixed-contacts .en-situation-scene--business .en-situation-title-panel {
    margin-inline-end: calc(7% + 24px);
  }
}

.diagram-he {
  max-inline-size: 65ch;
  margin-block: 1rem 2rem;
}

.diagram-he summary {
  min-block-size: 44px;
  padding-block: .5rem;
  cursor: pointer;
}

.diagram-he ul {
  columns: 2;
  padding-inline-start: 1.3em;
  list-style: disc;
}

.diagram-he li {
  break-inside: avoid;
}

@media (max-width: 390px) {
  .diagram-he ul {
    columns: 1;
  }
}
