.text {
  max-width: var(--text-column-width);
  font-family: var(--font-family-serif);
  font-size: var(--font-size-22);
  line-height: 1.727272727;

  --text-block-margin: 40px;
}

.text blockquote {
  font-size: var(--font-size-30);
  padding: 0; margin: 0;
  line-height: 1.266666667;
  letter-spacing: 0.015em;
  font-weight: bold;
}

.text blockquote,
.text p,
.text ul,
.text li,
.text ol {
  margin-bottom: var(--text-block-margin);
}

.text li {
  margin-bottom: 0;
}

.bullets li,
.text ul li {
  padding-inline-start: 16px;
  background: url('../../images/bullet.svg') 0 14px no-repeat;
  background-size: 6px;

  [dir="rtl"] & {
    background: url('../../images/bullet-he.svg') 100% 9px no-repeat;
  }
}

[dir="rtl"] .text {
  ul li, ol li {
    background-position: 100% 1.1ch;
  }
}

.text ol li {
  list-style: decimal inside;
}

.text h2,
.text h3 {
  font-size: var(--font-size-30);
  font-weight: bold;
  margin-bottom: 8px;
  letter-spacing: 0.015em;
}

.text h3 {
  font-size: var(--font-size-24);
}

.text a {
  color: var(--color-orange);
  text-decoration: underline;
}

.text .wp-caption,
.text figure,
.text img {
  max-width: 100%;
  width: auto !important;
  height: auto;
}

.text figcaption,
.text .wp-caption-text {
  font-size: 16px;
  padding-top: 8px;
}

.text iframe {
  width: 100%; 
  height: auto;
  aspect-ratio: 16 / 9;
}

.text strong {
  font-weight: bold;
}

[dir="rtl"] em {
  font-style: normal;
}

@media (max-width: 1000px) {
  .text {
    font-size: var(--font-size-14);
    line-height: 1.75;
    --text-block-margin: 25px;
  }

  .text figcaption, .text .wp-caption-text {
    font-size: var(--font-size-10);
  }

  
  .text blockquote,
  .text h2, .text  h3 {
    font-size: var(--font-size-20);
    line-height: 1.5;
  }

  .text ul li {
    background-position: 0 8px;
  }

  .text blockquote {
    margin-bottom: 42px;
  }

  [dir="rtl"] .text {
    ul li, ol li {
      background-position: 100% 0.8ch;  
    }
  }
}

