.text-photo-wrapprer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}
@media screen and (max-width: 1024px) {
  .text-photo-wrapprer {
    flex-direction: column;
    gap: 24px;
  }
}
.text-photo-wrapprer.bg .text-photo-img {
  background: var(--color-secondary-100);
  padding: 64px 48px;
  overflow: hidden;
  border-radius: 12px;
}
@media screen and (max-width: 1024px) {
  .text-photo-wrapprer.bg .text-photo-img {
    padding: 36px 24px;
  }
}
@media screen and (max-width: 768px) {
  .text-photo-wrapprer.bg .text-photo-img {
    padding: 24px 12px;
  }
}
.text-photo-info {
  width: 50%;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  height: auto;
}
@media screen and (max-width: 1600px) {
  .text-photo-info {
    gap: 24px;
    width: calc(50% - 10px);
  }
}
@media screen and (max-width: 1024px) {
  .text-photo-info {
    width: 100% !important;
    gap: 36px;
    align-items: center;
  }
}
.text-photo-info img {
  width: 190px;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
@media screen and (max-width: 1024px) {
  .text-photo-info img {
    order: 3;
    margin: 0 auto;
  }
}
@media screen and (max-width: 1024px) {
  .text-photo-info h2 {
    order: 0;
    text-align: center;
  }
}
.text-photo-info h2 span {
  font-style: italic;
}
.text-photo-info-descr {
  font-weight: 400;
  font-size: var(--font-size-20);
  line-height: 140%;
  letter-spacing: -1%;
  color: var(--color-black-100);
}
@media screen and (max-width: 1024px) {
  .text-photo-info-descr {
    order: 1;
    text-align: center;
  }
}
.text-photo-info .btn {
  order: 2;
}
.text-photo-img {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 1024px) {
  .text-photo-img {
    width: 100% !important;
  }
}
@media screen and (max-width: 768px) {
  .text-photo-img {
    max-height: auto;
    aspect-ratio: 1.5/1;
  }
}
.text-photo-img img {
  width: auto;
  max-width: 100%;
  max-height: 666px;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  overflow: hidden;
  border-radius: 12px;
}
.text-photo.reverse .text-photo-wrapprer {
  flex-direction: row-reverse;
}
@media screen and (max-width: 1024px) {
  .text-photo.reverse .text-photo-wrapprer {
    flex-direction: column-reverse;
  }
}
@media screen and (max-width: 1366px) {
  .text-photo.first .text-photo-wrapprer {
    flex-direction: column;
  }
}
.text-photo.first .text-photo-item {
  width: 33.3333333333%;
}
@media screen and (max-width: 1366px) {
  .text-photo.first .text-photo-item {
    width: 100% !important;
  }
}
.text-photo.first .text-photo-item + .text-photo-item {
  width: 66.6666666667%;
}
@media screen and (max-width: 1366px) {
  .text-photo.first .text-photo-item + .text-photo-item {
    width: 100% !important;
  }
}
@media screen and (max-width: 1366px) {
  .text-photo.first.reverse .text-photo-wrapprer {
    flex-direction: column-reverse;
  }
}
.text-photo.first.reverse .text-photo-item {
  width: 66.6666666667%;
}
@media screen and (max-width: 1366px) {
  .text-photo.first.reverse .text-photo-item {
    width: 100% !important;
  }
}
.text-photo.first.reverse .text-photo-item + .text-photo-item {
  width: 33.3333333333%;
}
@media screen and (max-width: 1366px) {
  .text-photo.first.reverse .text-photo-item + .text-photo-item {
    width: 100% !important;
  }
}
@media screen and (max-width: 1366px) {
  .text-photo.second .text-photo-wrapprer {
    flex-direction: column;
  }
}
.text-photo.second .text-photo-item {
  width: 66.6666666667%;
}
@media screen and (max-width: 1366px) {
  .text-photo.second .text-photo-item {
    width: 100% !important;
  }
}
.text-photo.second .text-photo-item + .text-photo-item {
  width: 33.3333333333%;
}
@media screen and (max-width: 1366px) {
  .text-photo.second .text-photo-item + .text-photo-item {
    width: 100% !important;
  }
}
@media screen and (max-width: 1366px) {
  .text-photo.second.reverse .text-photo-wrapprer {
    flex-direction: column-reverse;
  }
}
.text-photo.second.reverse .text-photo-item {
  width: 33.3333333333%;
}
@media screen and (max-width: 1366px) {
  .text-photo.second.reverse .text-photo-item {
    width: 100% !important;
  }
}
.text-photo.second.reverse .text-photo-item + .text-photo-item {
  width: 66.6666666667%;
}
@media screen and (max-width: 1366px) {
  .text-photo.second.reverse .text-photo-item + .text-photo-item {
    width: 100% !important;
  }
}
.text-photo.third .text-photo-item {
  width: 25%;
}
@media screen and (max-width: 1366px) {
  .text-photo.third .text-photo-item {
    width: 100% !important;
  }
}
.text-photo.third .text-photo-item + .text-photo-item {
  width: 75%;
}
@media screen and (max-width: 1366px) {
  .text-photo.third .text-photo-item + .text-photo-item {
    width: 100% !important;
  }
}
@media screen and (max-width: 1366px) {
  .text-photo.third.reverse .text-photo-wrapprer {
    flex-direction: column-reverse;
  }
}
.text-photo.third.reverse .text-photo-item {
  width: 75%;
}
@media screen and (max-width: 1366px) {
  .text-photo.third.reverse .text-photo-item {
    width: 100% !important;
  }
}
.text-photo.third.reverse .text-photo-item + .text-photo-item {
  width: 25%;
}
@media screen and (max-width: 1366px) {
  .text-photo.third.reverse .text-photo-item + .text-photo-item {
    width: 100% !important;
  }
}
.text-photo.fourth .text-photo-item {
  width: 75%;
}
@media screen and (max-width: 1366px) {
  .text-photo.fourth .text-photo-item {
    width: 100% !important;
  }
}
.text-photo.fourth .text-photo-item + .text-photo-item {
  width: 25%;
}
@media screen and (max-width: 1366px) {
  .text-photo.fourth .text-photo-item + .text-photo-item {
    width: 100% !important;
  }
}
@media screen and (max-width: 1366px) {
  .text-photo.fourth.reverse .text-photo-wrapprer {
    flex-direction: column-reverse;
  }
}
.text-photo.fourth.reverse .text-photo-item {
  width: 25%;
}
@media screen and (max-width: 1366px) {
  .text-photo.fourth.reverse .text-photo-item {
    width: 100% !important;
  }
}
.text-photo.fourth.reverse .text-photo-item + .text-photo-item {
  width: 75%;
}
@media screen and (max-width: 1366px) {
  .text-photo.fourth.reverse .text-photo-item + .text-photo-item {
    width: 100% !important;
  }
}