.eram-persian-story {
  direction: rtl;
  text-align: right;
  line-height: 2;
  overflow-wrap: anywhere;
}
.eram-persian-story > * + * {
  margin-block-start: 1.5rem;
}
.eram-persian-story .eram-story-intro {
  font-size: 1.15em;
  line-height: 2;
}
.eram-persian-story h2 {
  font-size: 1.5em;
  line-height: 1.6;
  margin-block-start: 2rem;
}
.eram-persian-story .wp-block-image img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  margin-inline: auto;
}
.eram-persian-story figcaption {
  text-align: center;
  font-size: .875em;
  line-height: 1.8;
}
.eram-persian-story .wp-block-columns {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.eram-persian-story .wp-block-column {
  flex: 1 1 0;
  min-width: 0;
}
.eram-persian-story .wp-block-quote {
  margin-inline: 0;
  padding-inline: 1.25rem;
  border-inline-start: 3px solid #C5A46E;
}
/* Mirror the post-body gold frame inside the editor so authors see the result
   while writing. Scoped to the editor wrapper only; never loaded on the front end. */
.editor-styles-wrapper :is(figure, .wp-caption),
.editor-styles-wrapper p > img,
.editor-styles-wrapper p > a > img {
  box-sizing: border-box;
  max-width: 100%;
  padding: .4rem;
  border: 1px solid rgba(197, 164, 110, .4);
  border-radius: 1.25rem;
}
.editor-styles-wrapper :is(figure, .wp-caption) > img,
.editor-styles-wrapper :is(figure, .wp-caption) > a > img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  border-radius: .8rem;
}
.editor-styles-wrapper :is(figure, .wp-caption) :is(figcaption, .wp-caption-text) {
  display: block;
  margin: .5rem 0 0;
  color: #A8A8A8;
  font-size: .875em;
  line-height: 1.8;
  text-align: center;
}
.editor-styles-wrapper :is(.wp-block-gallery, .blocks-gallery-grid, .blocks-gallery-group),
.editor-styles-wrapper :is(.wp-block-gallery, .blocks-gallery-grid, .blocks-gallery-group) :is(figure, .wp-caption) {
  width: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
}
.editor-styles-wrapper :is(.wp-block-gallery, .blocks-gallery-grid, .blocks-gallery-group) :is(figure, .wp-caption) {
  margin: 0;
}
/* Same opt-out as the front end, so the editor preview matches what readers see.
   The class may sit on the figure or on a block wrapper, so clear both. */
.editor-styles-wrapper .unborder,
.editor-styles-wrapper .unborder :is(figure, .wp-caption),
.editor-styles-wrapper .unborder p > img,
.editor-styles-wrapper .unborder p > a > img {
  padding: 0;
  border: 0;
  border-radius: 0;
}
@media (max-width: 781px) {
  .eram-persian-story .wp-block-columns {
    flex-direction: column;
  }
  .eram-persian-story .wp-block-column {
    width: 100%;
    flex-basis: auto;
  }
}
