.hero-container .hero-wrapper {
  max-width: unset;
  padding-inline: 0;
}

.hero-container .hero-wrapper.hero-bg-color {
  background-color: var(--hero-bg-color, var(--brand-color-secondary-1));
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  padding: 0;
}

.hero-bg-color .hero {
  min-height: auto;
}

.hero.overlay {
  background-color: rgba(0 0 0 / 40%);
}

.hero-content-wrapper {
  color: white;
  padding-inline: 2rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
  max-width: var(--content-fixed-width);
}

.hero-content-wrapper h1, .hero-content-wrapper h2, .hero-content-wrapper h3 {
  color: var(--hero-title-color, var(--white));
}

.home .hero {
  min-height: 200px;
}

.hero.large {
  min-height: 400px;  /* Added large class and setting min-height */
}

.hero-bg-full-width {
  position: absolute;
  z-index: -1;
  inset: 0;
  object-fit: cover;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  object-position: top;
}

.hero h1{
  text-align: center;
  font-size: var(--heading-font-size-xxl-plus);
  font-weight: 700;
  line-height: 1;
  padding: 0;
  margin-bottom: 0;
  margin-block: 0;
}

.hero h2 {
  text-align: center;
  font-size: var(--heading-font-size-xxl);
  line-height: 1.2;
  font-weight: 700;
  padding: 0;
  margin-bottom: 0;
  margin-block: 0;

}

.title-color-alternate .hero-content-wrapper h1, .title-color-alternate .hero-content-wrapper h2, .title-color-alternate .hero-content-wrapper h3 {
  color: var(--hero-title-color-alternate, var(--white));
}

.home .hero h1, .home .hero h2 {
  padding-top: 1rem;
}

.hero p {
  text-align: center;
}

.hero p > p {
  margin-top: 0 !important;
}

.hero a.button.primary, .hero a.button.secondary {
  margin: 1.2rem 0 0 !important;
}

/* Product Hero Styles */
.product .hero {
  padding: 0;
  box-shadow: 0 3px 3px rgba(0 0 0 / 20%);
}

.product .hero .hero-container {
  max-width: 1140px;
  display: flex;
  flex-direction: row;
  justify-content: left;
  padding: 0;
}

.product .hero .hero-container .product-image {
  flex-basis: 50%;
  max-width: 1140px;
  width: 50%;
}

.product .hero .hero-container .product-image picture, .hero .hero-container .product-image p {
  text-align: center;
}

.product .hero .hero-container .product-image picture, .hero .hero-container .product-image img {
  position: relative;
  z-index: 1;
  width: 72%;
  padding: 0 0 0 0.5rem;
  text-align: center;
}

.product .hero .hero-container .hero-content {
  flex-basis: 50%;
  width: 50%;
  text-align: left;
  justify-content: left;
  padding: 0.7rem 0 0 1.9rem;
}

.product .hero h1,
.wide-product-site.product .hero h1,
.product .hero h2,
.wide-product-site.product .hero h2,
.product .hero .hero-content p,
.wide-product-site.product .hero .hero-content p {
  text-align: left;
  color: var(--brand-color-primary-1);
}

.product .hero, .wide-product-site.product .hero h1 {
  font-size: 2.75rem;
}

.product .hero, .wide-product-site.product .hero h2 {
  font-size: var(--heading-font-size-l);
  margin-bottom: 3.5rem;
}

.product .hero, .wide-product-site.product .hero .hero-content p {
  font-size: 1.125rem;
  line-height: 1;
}

@media (width <= 1140px) { 
  .hero-content-wrapper {
    padding-inline: .8rem;
  }
}

@media (width <= 600px) { 
  .hero-content-wrapper {
    padding-inline: .8rem;
  }

  .has-mobile-image .hero-image-wrapper{
    display: none;
  }
  
  .homepage .hero-bg-full-width {
  position: relative;
  object-fit: cover;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  }
}

/* Hero Homepage Styles */
.hero-mobile-image-wrapper {
  display: none;
}

.hero-wrapper .homepage .hero-bg-full-width {
    position: relative;
    object-fit: cover;
    box-sizing: border-box;
    width: 100%;
    height: auto;
}

@media (width <= 600px) {
.hero-mobile-image-wrapper {
    display: block;
  }

  .hero-wrapper .homepage {
    padding: 0;
  }
}

.hero.homepage {
  padding: 0; 
  min-height: auto;
}
