.text-block {
  background: var(--background);
}
.text-block .content-wrapper {
  background: var(--background);
}
.text-block .title {
  max-width: 800px;
}
.text-block .text-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  gap: 30px;
}
.text-block .text-holder {
  display: flex;
  flex-direction: column;
  width: 50%;
  gap: 15px;
}
.text-block .text-image__main {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 5px;
  overflow: hidden;
}
.text-block .text-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.text-block .text-image__second {
  width: 100%;
  max-height: 390px;
  height: 100%;
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
}
.text-block .text-quote__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}
.text-block .quote-block {
  height: 100%;
  background: var(--background-secondary);
  border-radius: 5px;
  min-height: 250px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.text-block .quote-icon {
  width: 20px;
  height: 20px;
}
.text-block .quote-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.text-block .quote-desc {
  margin-top: auto;
}
.text-block .btn {
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
}
.text-block .text-desc p {
  margin-bottom: 15px;
}
.text-block .text-desc p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1220px) {
  .text-block .wrapper {
    gap: 20px;
  }
}
@media (max-width: 992px) {
  .text-block .btn {
    margin-top: 20px;
  }

  .text-block .text-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .text-block .text-image {
    max-height: 400px;
  }

  .text-block .text-quote__wrapper {
    gap: 15px;
  }

  .text-block .quote-block {
    min-height: unset;
    height: fit-content;
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .text-block .wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .text-block .text-holder {
    width: 100%;
    gap: 10px;
  }

  .text-block .text-image {
    max-height: 250px;
  }
}
