/* Alternate Hero Block */
.alternate-hero {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Full-width background on hero-inner */
.alternate-hero .hero-inner {
  background-size: cover;
}

/* Constrain all content to 1250px */
.alternate-hero .hero-wrap {
  max-width: 1250px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 4rem 2rem; /* adjust your side padding */
}

/* Make the image take ~60% and content ~40% */
.alternate-hero .hero-wrap .hero-image {
  flex: 1 1 60%;
}

.alternate-hero .hero-wrap .hero-content {
  flex: 1 1 40%;
  padding-left: 1rem;
	box-sizing: border-box;
 /* stop children stretching full-width */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;}

/* Image styling */
.alternate-hero .hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding:2rem 0 2rem 0;
}
.alternate-hero .hero-image img {
  max-width: 100%;
  max-height: 600px;
  height: auto;
  border-radius: 8px;
}

/* Content styling */
.alternate-hero .hero-content {
  padding-left: 1rem;
  color: white;
  display: flex;
	margin-left: -5rem;
  flex-direction: column;
  justify-content: center;
}
.alternate-hero .hero-content h1 {
 text-transform:uppercase;
  margin: 0 0 0.2em;
	 line-height: 1;
	font-size: clamp(4.4rem, 8vw, 6.3rem) !important;
	text-shadow:5px 4px 4px rgb(0 0 0 / 40%)
}
.alternate-hero .hero-content h4 {
  margin: 0 0 .5em 5.5rem;
	font-family: 'proxima-nova', sans-serif;
	font-weight: 500;
  line-height: 1.1;
  max-width: 500px;
}
.alternate-hero .hero-buttons {
	margin-left:5.5rem;
	gap:2.5rem !important;
}


@media (max-width: 768px) {
	.alternate-hero .hero-inner-alt {
    background-image: none !important;
    background: var(--right-hero-color) !important;
    background-size: cover !important;
    background-position: center !important;
  }
		.alternate-hero .hero-wrap.reverse-layout .hero-content h4 {
		margin-right: 0rem !important;}
	.alternate-hero .hero-wrap.reverse-layout {
  flex-direction: column !important;
}

.alternate-hero .hero-wrap.reverse-layout .hero-content {
  align-items: left;
  text-align: center;
	margin-right:0 !important;
  padding-right: 0;
  margin-top: 1.5rem;
}

.alternate-hero .hero-wrap.reverse-layout .hero-buttons {
  margin: 0;
}

.alternate-hero .hero-wrap.reverse-layout .hero-image {
  margin: 0;
  padding: 0;
}
	.alternate-hero .hero-content h4 {
		margin: 0 0 .5em 0rem;
	text-align:left;}

  .alternate-hero .hero-wrap {
    flex-direction: column;
     padding: 4rem 2rem;
    text-align: center;
  }
  .alternate-hero .hero-wrap .hero-image,
  .alternate-hero .hero-wrap .hero-content {
    flex: 1 1 100%;
    padding: 0;
	margin: 0;
  }
	.alternate-hero .hero-content .gradient-button,
.alternate-hero .hero-content .custom-gradient-button-v3 {
margin-right: 1.5rem;
	margin-left:0;
}
	.alternate-hero .hero-content p {
		margin: 0;
	}
	.alternate-hero .hero-buttons {
		margin:0;
		gap:.1rem !important;
}
	.alternate-hero .gradient-button {
		    padding: .5em .7em;
	}
	.alternate-hero .hero-content h1 {
 
		margin: 1.6rem 0 0.5rem;}
}
.alternate-hero .hero-wrap.reverse-layout {
  flex-direction: row-reverse;
}

.alternate-hero .hero-wrap.reverse-layout .hero-content {
  padding-left: 0;
  padding-right: 1rem;
	margin-right: -5rem;
  margin-left: 0;
  align-items: flex-end;
  text-align: left;
}

.alternate-hero .hero-wrap.reverse-layout .hero-content h4,
.alternate-hero .hero-wrap.reverse-layout .hero-buttons {
  margin-left: 0;
  margin-right: 5.5rem;
}

