.text-image {
  display: grid;
  grid-template-columns: 22% 33% 41%;
  grid-template-rows: auto;
  gap: 30px;
}
.text-image.fullwidth {
  padding-left: calc((100vw - 1500px) / 2);
  grid-template-columns: minmax(min-content, 350px) minmax(min-content, 350px) auto;
  grid-template-rows: auto;
}
.text-image.fullwidth .image__section-image {
  max-height: unset;
}
.text-image.no-overflow .image__section-image {
  height: 100%;
}
.text-image.no-overflow .image__section-image img {
  object-position: center;
}
.text-image .text__section-header {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
  hyphens: auto;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
.text-image .text__section-text {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}
.text-image .text__section-text .btn--wrapper {
  margin-top: 50px;
}
.text-image .text__section-text.no-quote {
  grid-column: 1 / 3;
  grid-row: 2 / 3;
}
.text-image .text__section-text.no-quote.fullwidth-image {
  margin-bottom: 50px;
}
.text-image .text__section-quote {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  margin-top: 20px;
}
.text-image .text__section-quote .quote__content {
  position: relative;
  background-color: #efefef;
  padding: 30px 35px 60px 35px;
}
.text-image .text__section-quote .quote__content-icon {
  position: absolute;
  top: -16px;
  width: 40px;
  height: auto;
}
.text-image .text__section-quote .quote__content-name {
  display: block;
  margin-top: 12px;
  font-weight: 600;
}
.text-image .text__section-quote .quote__image {
  position: relative;
  width: 85px;
  height: 85px;
  margin-top: -35px;
  margin-left: 40px;
}
.text-image .text__section-quote .quote__image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image__section {
  position: relative;
  grid-column: 3 / 4;
  grid-row: 1 / 3;
}
.image__section.fullwidth-image .image__section-image {
  width: 100%;
}
.image__section-image {
  position: absolute;
  width: 100%;
  height: 135%;
  max-height: 910px;
  bottom: 0;
}
.image__section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.image__section-infobox {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 30px 30px;
  background-color: #DBB138;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 260px;
}
.image__section-infobox > * {
  color: #ffffff;
  font-family: "Montserrat";
  font-style: normal;
  text-decoration: none;
  text-align: center;
  z-index: 4;
}
.image__section-infobox:hover {
  text-decoration: none !important;
}
.image__section-infobox img {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
}
.image__section-infobox .infobox-icon {
  width: 20px;
}
.image__section-linkbox {
  padding: 70px 60px 50px 70px;
  position: absolute;
  right: -1px;
  bottom: -1px;
  background-color: #ffffff;
  max-width: 426px;
}
.image__section-linkbox.bg-color--white {
  background-color: #ffffff;
}
.image__section-linkbox.bg-color--gray {
  background-color: #efefef;
}
.image__section-linkbox .linkbox-title {
  margin-bottom: 16px;
}
@media (max-width:1199px) {
  .text-image .text__section-header {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }
  .text-image .text__section-text {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
  }
  .text-image .text__section-quote {
    grid-column: 1 / 4;
    grid-row: 3 / 4;
  }
  .text-image .image__section {
    position: relative;
    grid-column: 3 / 4;
    grid-row: 1 / 3;
  }
  .text-image .image__section-linkbox {
    padding: 50px 40px;
  }
}
@media (max-width:1199px) {
  .text-image.fullwidth {
    gap: 30px;
  }
  .text-image.fullwidth .text__section-header {
    grid-column: 1 / 4;
    grid-row: 1 / 2;
  }
  .text-image.fullwidth .text__section-text {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
  }
  .text-image.fullwidth .text__section-text.no-quote {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
  }
  .text-image.fullwidth .text__section-quote {
    grid-column: 1 / 4;
    grid-row: 3 /4;
  }
  .text-image.fullwidth .image__section {
    position: relative;
    width: 100% !important;
    grid-column: 1 / 3;
    grid-row: 2 / 3;
  }
  .text-image.fullwidth .image__section-image {
    position: relative;
    height: 100%;
    width: auto !important;
  }
}
@media (min-width:992px) {
  .text-image.swapped {
    grid-template-columns: calc(42% - 20px) calc(34% - 20px) calc(24% - 20px);
  }
  .text-image.swapped .text__section-header {
    grid-column: 2 / 4;
  }
  .text-image.swapped .text__section-text {
    grid-column: 2 / 4;
  }
  .text-image.swapped .image__section {
    grid-column: 1 / 2;
  }
  .text-image.swapped .image__section-linkbox {
    left: -1px;
    right: unset;
  }
  .text-image.swapped .image__section-infobox {
    right: -1px;
    left: unset;
  }
}
@media (max-width:991px) {
  .text-image {
    gap: 30px;
  }
  .text-image .text__section-header {
    grid-column: 1 / 4;
    grid-row: 1 / 2;
  }
  .text-image .text__section-text {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
  }
  .text-image .text__section-text.no-quote {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
  }
  .text-image .text__section-quote {
    grid-column: 1 / 4;
    grid-row: 3 /4;
  }
  .text-image .image__section {
    position: relative;
    width: 100% !important;
    grid-column: 1 / 3;
    grid-row: 2 / 3;
  }
  .text-image .image__section-image {
    position: relative;
    height: 100%;
    width: auto !important;
  }
}
@media (max-width:991px) {
  .text-image.fullwidth {
    gap: 5px;
  }
  .text-image.fullwidth .text__section-text, .text-image.fullwidth .text__section-text.fullwidth-image, .text-image.fullwidth .text__section-text.no-quote {
    grid-column: 1 / 4;
    grid-row: 2 / 3;
  }
  .text-image.fullwidth .text__section-quote {
    grid-column: 1 / 4;
    grid-row: 4 /5;
  }
  .text-image.fullwidth .image__section, .text-image.fullwidth .image__section.fullwidth-image {
    position: relative;
    grid-column: 1 / 4;
    grid-row: 3 / 4;
  }
}
@media (max-width:767px) {
  .text-image {
    gap: 5px;
  }
  .text-image .text__section-text, .text-image .text__section-text.fullwidth-image, .text-image .text__section-text.no-quote {
    grid-column: 1 / 4;
    grid-row: 2 / 3;
  }
  .text-image .text__section-quote {
    grid-column: 1 / 4;
    grid-row: 3 / 4;
    margin-bottom: 30px;
    margin-top: 40px;
  }
  .text-image .image__section, .text-image .image__section.fullwidth-image {
    position: relative;
    grid-column: 1 / 4;
    grid-row: 4 / 5;
    margin-top: 30px;
    margin-bottom: 20px;
  }
}
@media (max-width: 576px) {
  .image__section-infobox {
    position: relative;
    max-width: unset;
    display: none;
  }
}
