.text_card {
  padding: 6rem 0;
  background-color: #FDFDFD;
}
.text_card__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem 6rem;
}
@media only screen and (max-width: 1024px) {
  .text_card__container {
    align-items: flex-start;
    flex-direction: column;
  }
}
.text_card__inner {
  max-width: 63rem;
}
@media only screen and (max-width: 1024px) {
  .text_card__inner {
    max-width: 75rem;
  }
}
.text_card__title {
  margin-bottom: 4rem;
  color: #1A4352;
}
.text_card__title:last-child {
  margin-bottom: 0;
}
.text_card__subtitle {
  max-width: 52rem;
}
.text_card__subtitle * {
  font-weight: 500;
  color: #1A4352;
  font-size: 32px;
}
@media (max-width: 1320px) {
  .text_card__subtitle * {
    font-size: calc(26px + 6 * (100vw - 375px) / 945);
  }
}
.text_card__subtitle a {
  font-weight: 700;
  display: inline-flex;
}
.text_card__subtitle a:before {
  content: "";
  position: absolute;
  bottom: 0.5rem;
  left: 0;
  width: 100%;
  height: 0.2rem;
  background-color: currentColor;
  transition: all ease-in-out 0.3s;
}
.text_card__subtitle a:hover:before {
  opacity: 0;
}
.text_card__media {
  max-width: 52.2rem;
  aspect-ratio: 174/109;
  border: 2px solid #76EAAF;
  border-radius: 2rem;
  overflow: hidden;
}
@media only screen and (max-width: 1024px) {
  .text_card__media {
    align-self: center;
    max-width: 80rem;
  }
}
.text_card__media:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(253, 253, 253, 0) 24.09%, #FDFDFD 82.89%);
  z-index: 1;
}
.text_card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.text_card__button {
  margin: auto;
  max-width: 30.7rem;
  width: 100%;
  height: 6.3rem;
  position: absolute;
  bottom: 3.5rem;
  left: 0;
  right: 0;
  z-index: 2;
}
@media only screen and (max-width: 834px) {
  .text_card__button {
    height: 5rem;
    bottom: 3rem;
    max-width: 30.5rem;
  }
}