.block-text-image {
    position: relative;
}
.row-text-image {
    display: grid;
    grid-template-columns: repeat(2,1fr);
}
.block-text-image .row-text-image.flex-row-reverse .col-content {
    order: 1;
}
.block-text-image .row-text-image.flex-row-reverse .col-image {
    order: 2;
}

.block-text-image .col-content {
    position: relative;
    padding: 2rem;
}
.block-text-image .col-content .title{
    margin-bottom: 2.125rem;
}
.block-text-image .col-content .text {
    font-size: 1.75rem;
    line-height: 2.125rem;
    font-weight: var(--font-weight-bold);
}

.block-text-image .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.block-text-image .col-content.bg-red{
    background-color: var(--color-primary);
}

.block-text-image .col-content.bg-red .title{
    color: var(--bs-white);
}
.block-text-image .col-content.bg-red .text{
    color: var(--bs-white);
}
.block-text-image .col-content.bg-red .text h2{
    color: var(--bs-white);
}

.block-text-image .button-wrapper {
    padding-top: 3rem;
    position: relative;
}


/* Responsive */
@media only screen and (max-width: 1199px) {
    .block-text-image .col-content.bg-red .text h2{
    font-size: 3.5rem;
    line-height: 3.75rem;
    }
  .row-text-image {
    display: grid;
    grid-template-columns: 1fr;
  }

  .block-text-image .col-image {
    order: 2;
  }
  
}
@media only screen and (max-width: 991px) {
  .block-text-image .col-content.bg-red .text h2{
    font-size: 3.733rem;
    line-height: 4rem;
  }
  
  
}
@media only screen and (max-width: 767px) {
   .block-text-image .col-content.bg-red .text h2{
    font-size: 2.667rem;
    line-height: 3.067rem;
  }
  .block-text-image .col-content {
    position: relative;
    padding: 1.067rem 1.067rem 2.133rem 1.067rem;
  }
  .block-text-image .col-content .title{
    font-size: 3.733rem;
    line-height: 4rem;
  }
  .block-text-image .col-content .text{
    font-size: 1.867rem;
    line-height: 2.267rem;
  }
  .block-text-image.button-wrapper {
    padding-top: 3.2rem;

  }
   .block-text-image .col-image {
    order: 2;
  }
}
