/** Shopify CDN: Minification failed

Line 115:9 Unexpected "{"
Line 115:18 Expected ":"
Line 128:11 Unexpected "{"
Line 128:20 Expected ":"
Line 139:11 Unexpected "{"
Line 139:20 Expected ":"
Line 143:11 Unexpected "{"
Line 143:20 Expected ":"
Line 144:11 Unexpected "{"
Line 144:20 Expected ":"
... and 6 more hidden warnings

**/
/* MODIFIED BANNER STYLES
   Changes made: 
   1. Fixed image visibility by ensuring .banner__media has correct z-index and height.
   2. Maintained heading, text, and button alignment.
   3. Removed visible container/box background behind the text.
*/

.banner {
  display: flex;
  position: relative;
  flex-direction: column;
  overflow: hidden; /* Ensures image doesn't bleed out */
}

/* Image Positioning Fix */
.banner__media {
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 0; /* Keeps image in the background */
}

.banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image fills the area without distortion */
}

.banner__box {
  text-align: left; 
  padding: 4rem 3.5rem;
  position: relative;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  word-wrap: break-word;
  z-index: 2; /* Ensures text is above the image */
  
  /* Hiding the container background */
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Removing any pseudo-element backgrounds that might act as a container */
.banner__box:after,
.banner__box:before,
.content-container:after,
.content-container:before {
  display: none !important;
}

.banner__content {
  padding: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-start; 
  z-index: 2;
  position: relative; /* Essential for z-index to work */
  min-height: 40rem; /* Fallback height if image is absolute */
}

/* Heading Specifics */
.banner__content h2.banner__heading {
  font-size: 111px;
  text-align: left;
  line-height: 100px;
  /* margin-bottom: 7rem; */
  font-weight: 400;
  margin-top: 0;
}

/* Ensure text/body follows heading alignment */
.banner__box.content-container .banner__text.body {
  margin-bottom: 3.3rem;
  line-height: 25px;
  font-size: 1.6rem;
  text-align: left;
  max-width: 58rem;
}

/* Button Alignment */
.banner__buttons {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
  max-width: 45rem;
  margin-top: 0;
}

/* Overlay to ensure text is readable over image */

/* Banner overlay for desktop */
#Banner-{{ section.id }} .banner__media::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  z-index: 1;
  pointer-events: none;
}

/* Stronger overlay for mobile text visibility */
@media screen and (max-width: 749px) {
  #Banner-{{ section.id }} .banner__media::after {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.20) 0%,
      rgba(0, 0, 0, 0.35) 35%,
      rgba(0, 0, 0, 0.60) 100%
    ) !important;
    opacity: 1 !important;
    z-index: 1 !important;
  }

  #Banner-{{ section.id }} .banner__content {
    z-index: 2 !important;
  }

  #Banner-{{ section.id }} .banner__heading,
  #Banner-{{ section.id }} .banner__text,
  #Banner-{{ section.id }} .banner__button-wrapper {
    position: relative;
    z-index: 2;
  }

  #Banner-{{ section.id }} .banner__heading,
  #Banner-{{ section.id }} .banner__text {
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.35);
  }
}


/* Responsive Overrides */
@media screen and (min-width: 750px) {
  .banner {
    flex-direction: row;
    min-height: 60rem; /* Adjust based on your design needs */
  }

  .banner__content {
    padding: 5rem;
  }

  .banner__box {
    width: auto;
    max-width: 71rem;
    min-width: 45rem;
  }
}

/* Custom Banner Overrides */
.banner.custom-banner .banner__box,
.banner.custom-banner1 .banner__box,
.banner.custom-banner2 .banner__box {
  background: transparent !important;
  align-items: flex-start;
  text-align: left;
  box-shadow: none !important;
}

/* Mobile Adjustments */
@media screen and (max-width: 749px) {
  .banner__content {
    min-height: 50rem;
  }
  
  .banner__box {
    padding: 2rem;
    align-items: flex-start;
  }
  
  .banner__content h2.banner__heading {
    font-size: 3.4rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #fff;
  }
}

/* Animation trigger */
.shopify-section.reveal .banner.custom-banner :where(.banner__box),
.shopify-section.reveal .banner.custom-banner1 :where(.banner__box),
.shopify-section.reveal .banner.custom-banner2 :where(.banner__box) {
  animation: fadeInUp 0.8s ease both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}