.custom-rich-text {
  .custom-rich-text__text {
    p {
      font-weight: 500;
      font-size: 14px;
      line-height: 130%;
    }

    strong {
      font-weight: 700;
    }

    h1, h2, h3, h4, h5, h6 {
      font-weight: 600;
      margin-bottom: 24px;
      margin-top: 24px;
      color: var(--text-secondary);
      line-height: 120%;
      font-family: var(--heading-font-family);
    }

    h1 {
      font-size: 32px;

      @media screen and (min-width: 1000px) {
        font-size: 36px;
      }
    }

    h2 {
      font-size: 24px;

      @media screen and (min-width: 1000px) {
        font-size: 28px;
      }
    }

    h3 {
      font-size: 20px;

      @media screen and (min-width: 1000px) {
        font-size: 24px;
      }
    }

    h4 {
      font-size: 18px;

      @media screen and (min-width: 1000px) {
        font-size: 22px;
      }
    }

    h5 {
      font-size: 16px;

      @media screen and (min-width: 1000px) {
        font-size: 18px;
      }
    }

    h6 {
      font-size: 14px;

      @media screen and (min-width: 1000px) {
        font-size: 16px;
      }
    }
  }

  .custom-rich-text__blocks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;

    @media screen and (min-width: 1000px) {
      grid-template-columns: 1fr 1fr;
      column-gap: 48px;
      row-gap: 24px;
    }
  }
}