/**
 * @file
 * sHTG Secondary Hero component styles.
 *
 * Background: dtc-hero-bg.svg (desktop), Mobile-gradient.svg (mobile) via picture.
 */

.shtg-secondary-hero {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 56px 0 0;
  min-height: clamp(280px, 28vw, 320px);
  /*min-height: clamp(280px, 28vw, 294px);*/
}

/* Full-bleed hero background (picture: desktop + mobile SVGs) */
.shtg-secondary-hero .shtg-secondary-hero__curve picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* Extends 50px above hero so curve art covers gap when header hides on scroll. */
.shtg-secondary-hero .shtg-secondary-hero__curve {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.shtg-secondary-hero .shtg-secondary-hero__curve-img {
  display: block;
  width: 100%;
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.shtg-secondary-hero__inner {
  position: relative;
  z-index: 2;
  isolation: isolate;
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  padding: 42px 24px 104px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .shtg-secondary-hero__inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 24px 104px;
  }
}

.layout-container .shtg-secondary-hero.full-width h1.shtg-secondary-hero__headline,
.layout-container .shtg-secondary-hero.full-width h2.shtg-secondary-hero__headline,
.layout-container .shtg-secondary-hero.full-width .shtg-secondary-hero__headline {
  font-family: Poppins, sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 38px;
  letter-spacing: -0.5px;
  text-align: center;
  color: var(--color-purple, #4f08b0);
  margin: 0;
}

.layout-container .shtg-secondary-hero.full-width .shtg-secondary-hero__headline strong {
  text-transform: uppercase;
}

.layout-container .shtg-secondary-hero.full-width .shtg-secondary-hero__headline p {
  margin: 0;
}

.layout-container .shtg-secondary-hero.full-width .shtg-secondary-hero__headline p + p {
  margin-top: 0.5em;
}

.layout-container .shtg-secondary-hero.full-width .shtg-secondary-hero__headline strong,
.layout-container .shtg-secondary-hero.full-width .shtg-secondary-hero__headline b {
  font-weight: 700;
}

/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 767px) {
  .shtg-secondary-hero {
    min-height: 212px;
    padding-top: 40px;
  }

  .shtg-secondary-hero__inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .layout-container .shtg-secondary-hero.full-width h1.shtg-secondary-hero__headline,
  .layout-container .shtg-secondary-hero.full-width h2.shtg-secondary-hero__headline,
  .layout-container .shtg-secondary-hero.full-width .shtg-secondary-hero__headline {
    font-family: Poppins, sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: -0.5px;
    text-align: center;
    text-transform: none;
    color: var(--color-purple, #4f08b0);
    margin: 0;
  }
}

@media (min-width: 1441px) {
  .shtg-secondary-hero {
    min-height: 320px;
    /*min-height: 296px;*/
  }

  .shtg-secondary-hero__inner {
    padding-bottom: 95px;
  }
}
