.rich-text .rich-text__layout--normal-width {
  max-width: 920px;
}

.rich-text__wrapper--center {
  text-align: center;
}

.rich-text__wrapper--left {
  text-align: left;
}

.rich-text__wrapper--right {
  text-align: right;
}

.rich-text__blocks > * {
  margin-top: 0;
  margin-bottom: 0;
}

.rich-text__blocks > * + * {
  margin-top: 30px;
}

.rich-text {
  position: relative;
}

.rich-text .rich-text__buttons {
  display: flex;
  justify-content: center;
}

.rich-text .rich-text__buttons > *:first-child {
  margin-right: 20px;
}

.rich-text .rich-text__decoration {
  position: absolute;
  top: 50%;
  left: 0px;
  transform: translateY(-50%);
  color: rgb(var(--color-entry-line));
}

.rich-text .rich-text__decoration.rich-text__decoration--right {
  right: 0px;
  transform: translateY(-50%) rotate(180deg);
}

.custom_rich_image img {
    width: 100%;
    height: auto;
}

.double_mages_wrapper {
    display: flex;
    gap: 24px;
}

.rich_center_heading {
    text-align: center;
}

.custom_rich_text_outter .rich-text__text {
    font-size: 20px;
}

@media screen and (max-width: 959px) {
  .rich-text .rich-text__layout--normal-width {
    max-width: 100%;
  }

  .rich-text__blocks > * + * {
    margin-top: 20px;
  }

  .double_mages_wrapper {
      gap: 10px;
  }

  .double_mages_wrapper {
      gap: 10px;
  }

  .double_mages_wrapper .custom_rich_image img {
      min-height: 232px;
      object-fit: cover;
  }

  .custom_rich_text_outter .rich-text__text {
      font-size: 14px;
  }

  .rich__center_on_mob {
      text-align: center;
  }
}

/* The ipad end responds to the mobile end in vertical screen */

/* @custom-media --tablet (max-width: 959px); */

/* @custom-media --gt-mobile (min-width: 751px); */

/* detectingScreen need to consider the configuration of the tablet */

.custom_rich_image {
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 1400px) {
    .custom_rich_image {
        max-width: 1200px;
    }
}

@media (min-width: 1240px) and (max-width: 1440px) {
    .custom_rich_image {
        max-width: 960px;
    }
}

@media (min-width: 960px) and (max-width: 1240px) {
    .custom_rich_image {
        max-width: 960px;
    }
}

@media (min-width: 768px) and (max-width: 960px) {}

@media (max-width: 768px) {}