.tm-hero-banner {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  margin-bottom: 30px;
}

.tm-hero-card {
  --bs-card-bg: transparent;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background-color: var(--bs-card-bg);
  background-clip: border-box;
  overflow: hidden;
  border-radius: 0 0 70% 70% / 0 0 75% 75%;

}

.img_carrusel {
  width: 100%;
  object-fit: cover;
  display: block;
}

.tm-hero-card__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /*padding: 8rem 1.5rem 14rem;*/
  z-index: 2;
}

.tm-hero-card__copy {
  width: min(760px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.img_description_carrusel {
  width: 100%;
  max-width: 760px;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  /*background: rgba(16, 18, 34, 0.28);*/
  border-radius: 999px 999px 2rem 2rem;
  padding: 2.25rem 3rem;
  /*backdrop-filter: blur(3px);*/
}

.img_description_carrusel,
.img_description_carrusel p,
.img_description_carrusel span,
.img_description_carrusel div {
  font-size: clamp(1.55rem, 2.8vw, 3rem);
  line-height: 1.2;
  font-weight: 400;
  margin: 0;
}

.tm-hero-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.tm-hero-card__btn:hover {
  transform: none;
}

.tm-hero-card__btn img {
  width: min(180px, 38vw);
  height: auto;
  display: block;
}

@media (min-width: 768px) {
  .img_carrusel {
    height: 800px;
  }
  .tm-hero-card__overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.42) 56%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
  }
}

@media (max-width: 768px) {
  .tm-hero-card {
    border-radius: 0 0 70% 70% / 0 0 55% 55%;
  }

  .img_carrusel {
    height: 400px;
  }
  .tm-hero-card__overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.42) 56%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
  }
}

.tm-hero-banner::after {
  content: none;
}

@media (max-width: 1200px) {
  .tm-hero-card__content {
    padding-top: 9rem;
    padding-bottom: 13rem;
  }

  .img_description_carrusel {
    max-width: 680px;
    padding: 2rem 2.5rem;
  }
}

@media (max-width: 992px) {
  .tm-hero-card__content {
    padding-top: 10rem;
    padding-bottom: 9rem;
  }

  .tm-hero-card__copy {
    gap: 1.5rem;
  }

  .img_description_carrusel {
    max-width: 560px;
    padding: 1.5rem 2rem;
    border-radius: 3rem 3rem 1.5rem 1.5rem;
  }

  .img_description_carrusel,
  .img_description_carrusel p,
  .img_description_carrusel span,
  .img_description_carrusel div {
    font-size: clamp(1.25rem, 4.2vw, 2.2rem);
  }

  .tm-hero-banner::after {
    content: none;
  }
}

@media (max-width: 576px) {
  .tm-hero-card__content {
    padding: 6.5rem 1rem 5rem;
    align-items: flex-start;
  }

  .tm-hero-card__copy {
    gap: 1.1rem;
  }

  .img_description_carrusel {
    max-width: 100%;
    padding: 1.1rem 1rem;
    border-radius: 2rem;
  }

  .img_description_carrusel,
  .img_description_carrusel p,
  .img_description_carrusel span,
  .img_description_carrusel div {
    font-size: clamp(1rem, 6vw, 1.4rem);
  }

  .tm-hero-card__btn img {
    width: min(120px, 44vw);
  }

  .tm-hero-banner::after {
    content: none;
  }
}
