.rich-text {
  z-index: 1;
}

.rich-text__wrapper {
  display: flex;
  justify-content: center;
  width: calc(100% - 4rem / var(--font-body-scale));
}

.rich-text:not(.rich-text--full-width) .rich-text__wrapper {
  margin: auto;
  width: calc(100% - 8rem / var(--font-body-scale));
}

.rich-text__blocks {
  width: 100%;
}
@media screen and (min-width: 750px) {
  .rich-text__wrapper {
    width: 100%;
  }

  .rich-text__wrapper--left {
    justify-content: flex-start;
  }

  .rich-text__wrapper--right {
    justify-content: flex-end;
  }

  .rich-text__blocks {
    max-width: 50rem;
  }
}

@media screen and (min-width: 990px) {
  .rich-text__blocks {
    max-width: 78rem;
  }
}

.rich-text__blocks * {
  overflow-wrap: break-word;
}

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

.rich-text__blocks > * + * {
  margin-top: 2rem;
}

.rich-text__blocks > * + a {
  margin-top: 3rem;
}

.rich-text__buttons {
  display: inline-flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  max-width: 45rem;
  word-break: break-word;
}

.rich-text__buttons--multiple > * {
  flex-grow: 1;
  min-width: 22rem;
}

.rich-text__buttons + .rich-text__buttons {
  margin-top: 1rem;
}

.rich-text__blocks.left .rich-text__buttons {
  justify-content: flex-start;
}

.rich-text__blocks.right .rich-text__buttons {
  justify-content: flex-end;
}


.section.rich-text-with-product .rich-text-row{
  display: grid;
  column-gap: var(--grid-desktop-horizontal-spacing);
  row-gap: var(--grid-desktop-vertical-spacing);  
}
.section.rich-text-with-product .rich-text-row .rich-text-product {
  .underline-links-hover{
    .card.card--media{
      background: #000000;
      border: 1px solid #000000;
      box-shadow: 0px 28px 65px rgba(88, 91, 99, 0.16);
      border-radius: 24px;
      --color-foreground: 255,255,255;
      --color-link:var(--color-foreground);
      --border-radius: 16px;
      --image-padding: 0px;
        padding: 32px;
      @media screen and (max-width: 749px) {
        padding: 20px;
        .card__inner.ratio{
          --ratio-percent: 82.71% !important;
        }
      }
      
      .card__media{
        .media {
          border-radius: var(--border-radius);    
        }
      }
      .card__content{
        padding-inline: 0;
        padding-block-end: 0;
        .card__information{
          padding-inline: 0;
          padding-block-end: 0;
          padding-block-start: 3rem;
          .card__heading.h5{
            font-family: 'Neuzeit Grotesk';
            font-style: normal;
            font-weight: 700;
            font-size: 38px;
            line-height: 45px;
            letter-spacing: -0.03em;
            margin-bottom: 8px;
            @media screen and (max-width: 749px) {
              font-size: 35px;
              text-align: center;
            }
          }
          .card-information{
            @media screen and (max-width: 749px) {
              text-align: center;
            }
            .price {
              .price-item{
                font-family: 'Neuzeit Grotesk';
                font-style: normal;
                font-weight: 700;
                font-size: 28px;
                line-height: 35px;
                @media screen and (max-width: 749px) {
                  font-size: 25px;
                  line-height: 35px;
                }
              }
              s.price-item{
                font-size: 21px;
                line-height: 32px;
                color: #8F8F8F;
                @media screen and (max-width: 749px) {
                  font-size: 20px;
                  line-height: 32px;
                  letter-spacing: -0.01em;
                }
              }
            }
            .description.rte{
              font-family: 'Neuzeit Grotesk';
              font-style: normal;
              font-weight: 300;
              font-size: 16px;
              line-height: 25px;
              margin-block: 17px;
            }
            .view_more{
              span.full-unstyled-link{
                font-family: 'Neuzeit Grotesk';
                font-style: normal;
                font-weight: 300;
                font-size: 16px;
                line-height: 25px;
                text-decoration-line: underline;
                color: #EFEFEF;
              }            
            }
          }
        }
      }
      &:hover a{
        text-decoration: none;
      }    
    }
  }
}
@media screen and (min-width: 1200px) {
  .section.rich-text-with-product .rich-text-row{
    .rich-text__heading.rte.inline-richtext{
      font-size: 67px;
      line-height: 70px;
    }
  }
  .section.rich-text-with-product .rich-text-row{
    --grid-desktop-horizontal-spacing: 8rem;
    grid-template-columns: 2fr minmax(496px, 1fr);
    align-items: center;
  }
}
@media screen and (min-width: 990px) and (max-width: 1199px) {
  .section.rich-text-with-product .rich-text-row{
    --grid-desktop-horizontal-spacing: 4rem;
    grid-template-columns: 2fr 2fr;
    align-items: center;
    .rich-text__heading.rte.inline-richtext{
      font-size: 52px;
      line-height: 120%;
    }
  }
}
@media screen and (max-width: 989px) {
  .section.rich-text-with-product .rich-text-row{
    .rich-text__heading.rte.inline-richtext{
      font-size: 35px;
      line-height: 45px;
    }
    .rich-text__blocks.left{
      text-align: center;   
      margin-inline: auto;
      .button {
        margin-inline: auto;        
      }
    }    
  }
}