/*
  =======================================================
  Hero Module Base Styles
  =======================================================
*/
.hero-container {
  width: 100%;
  max-height: clamp(650px, calc(1020px - 20vw), 1020px);
  overflow: hidden;
  row-gap: 20px;
}

.hero-content {
  max-width: 1900px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px; /* adjust as needed */
}

.ty-text {
  grid-column: 2 / span 7;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: flex-start;
  margin: 180px 0 30px 0;
}

.ty-text h1 {
  margin: 0 0 30px;
}


/*
  =======================================================
  Combined CTA and Hero Tags Layout
  =======================================================
*/

.download-cta {
  grid-column: 2 / span 7;
  width: 100%;
  justify-content: flex-start;
  display: flex; /* Ensure flex behavior if not already present */
}

.hero-tag-repeater {
  grid-column: 2 / span 7;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 50px;
}

.hero-tags {
  display: flex;
  min-width: 182px;
  align-items: center;
  justify-content: center;
  background-color: #1A1A1A;
  color: #FFF;
  padding: 10px 15px;
  border-radius: 2px;
}

.hero-tags > * {
  display: inline-flex;
  min-width: 1em;
}

.hero-tags svg,
.hero-tags i {
  color: #fff;
  fill: #fff;
}

/* When there's no CTA, let tags align left */
.hero-tag-repeater.no-cta {
  margin-left: 0;
}



/*
  =======================================================
  Responsive: Large Mobile (max-width: 767px)
  =======================================================
*/
@media (max-width: 767px) {
  .ty-text {
    grid-column: 1 / -1;
    padding: 40px 20px 20px 20px;
    margin: 100px 0 20px 0;
  }

  .ty-text h1 {
    font-size: 36px;
    line-height: 44px;
    letter-spacing: -1%;
  }



.hero-tag-repeater {
  display: flex;
  flex-wrap: wrap; /* Allows items to wrap to the next line */
  gap: 12px;
  align-items: center;
}

/* When there's no CTA, let tags align left */
.hero-tag-repeater.no-cta {
  margin-left: 0;
}
}


/*
  =======================================================
  Responsive: Small Mobile (max-width: 576px)
  =======================================================
*/
@media (max-width: 576px) {
  .ty-text {
    padding: 30px 16px 16px 16px;
    margin: 100px 0 20px 0;
  }

  .ty-text h1 {
    font-size: 32px;
    line-height: 42px;
    letter-spacing: -1%;
  }

  .hero-bottom-row {
    padding: 0 16px 30px 16px;
  }

  .download-cta {
    margin-bottom: 12px;
  }

  .hero-tag-repeater {
    gap: 10px;
  }

  .hero-tags {
    padding: 14px 12px;
  }
}

/*
  =======================================================
  Background Styling
  =======================================================
*/
.ty-bg-purple {
  background: linear-gradient(135deg, #fff 15%, #f5ebff 30%, #e8c3ff 75%);
}

.ty-bg-purple-turquoise {
  background: linear-gradient(135deg, #fff 5%, #e8c3ff 50%, #baf9f4 90%);
}

.ty-bg-turquoise-purple {
  background: linear-gradient(135deg, #fff 5%, #99f6eb 30%, #e8c3ff 70%);
}

.ty-bg-yellow-purple {
  background: linear-gradient(135deg, #fff 12%, #fff2b2 40%, #e8ceff 75%, #b55dff 90%);
}
