/* ================================
   Text Image Block
   ================================ */
.text-image-block {
  margin-top: 100px;
}

.text-image-block__row {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: nowrap;
}

.text-image-block__col {
  flex-grow: 1;
}

.text-image-block__col--left {
  flex-basis: 760px;
}

.text-image-block__col--left h2 {
  margin-bottom: 20px;
}

.text-image-block__col--left p {
  font-size: 16px;
  line-height: 160%;
  letter-spacing: 0.5px;
  margin-bottom: 30px;
}

.text-image-block__col--right {
  flex-basis: 440px;
}

.text-image-block__col--right img {
  max-height: 440px;
  height: auto;
  max-width: 100%;
  display: block;
}

.text-image-block__row--reverse {
  flex-direction: row-reverse;
}

.text-image-block__row--reverse .text-image-block__col--left .heading,
.text-image-block__row--reverse .text-image-block__col--left p,
.text-image-block__row--reverse .text-image-block__col--left a {
  text-align: right;
  margin-left: auto;
}

.text-image-block__button-wrapper {
  display: flex;
}

.text-image-block__row--reverse .text-image-block__button-wrapper {
  justify-content: flex-end;
}

@media (max-width: 992px) {
  .text-image-block__button-wrapper {
    justify-content: flex-start !important;
  }
}

/* ================================
   Text Image Block Responsive
   ================================ */

@media (max-width: 992px) {
  .text-image-block__row {
    flex-wrap: wrap;
    gap: 20px;
  }

  .text-image-block__col--left,
  .text-image-block__col--right {
    flex-basis: 100%;
    max-width: 100%;
  }

  .text-image-block__col--left h2,
  .text-image-block__col--left p,
  .text-image-block__col--left a {
    text-align: left !important;
    margin-left: 0 !important;
  }

  .text-image-block__col--right img {
    max-height: none;
    width: 100%;
    height: auto;
  }

  .text-image-block__button {
    min-width: auto;
    width: 100%;
    padding: 16px 0;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .text-image-block__col--left h2 {
    font-size: 28px;
  }

  .text-image-block__col--left p {
    font-size: 14px;
    line-height: 1.4;
  }

  .text-image-block__button {
    font-size: 16px;
    padding: 14px 0;
  }
}
