.l-aw-container {
  position: relative;
  border-radius: 17px;
  padding: 0 45px;
}

.l-aw-col-holder {
  display: flex;
  align-items: flex-end;
}

.l-aw-left {
  width: 50%;
  position: relative;
  z-index: 2;
}

.l-aw-right {
  width: 50%;
}

.l-aw-img-cards {
  display: flex;
  gap: 16px;
  margin: 64px 0 -15%;
}

.l-aw-ft-image {
  line-height: 0;
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
  border: 2px solid;
}

.l-aw-ft-image img {
  border-radius: inherit;
}

.l-aw-bg-component {
  position: absolute;
  width: 50%;
  height: 100%;
  left: 0;
}

.l-aw-content h2 {
  font-family: Montserrat, sans-serif !important;!i;!;
  font-size: 32px;
  font-weight: 700;
  line-height: 39.01px;
  text-align: left;
}

.l-aw-image {
  position: absolute;
  top: 30px;
}

.l-aw-main-img {
  line-height: 0;
}

.l-aw-bg-component img {
  width: auto;
  position: relative;
  z-index: 2;
}

span.bgg {
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
}

@media (max-width:767px){
  .l-aw-container {
    padding: 30px 30px 0;
  }

  .l-aw-col-holder {
    flex-direction: column-reverse;
  }

  .l-aw-right {
    width: 100%;
    position: relative;
    z-index: 2;
  }

  .l-aw-img-cards {
    margin: 0px 0 -22%;
    width: 100%;
    order: -1;
    position: relative;
    z-index: 3;
    display: grid !important;
    margin-top: 20px;
  }

  .l-aw-ft-image img {
    object-fit: cover;
    height: 400px !important;
    object-position: center;
    width: 100% !important;
  }
  .l-aw-content h2 {
    font-size: 24px;
  }

  .l-aw-left {
    width: 100%;
    text-align: center; 
  }

  .l-aw-bg-component {
    width: 100%;
    height: 70%;
    bottom: 0;
  }

  .l-aw-main-img {
    text-align: center;
    display: flex;
    justify-content: center;
    margin-bottom: -33%;
  }

  .l-aw-image {
    width: 110px;
    height: 110px;
    line-height: 0;
    left: -16px;
  }
}

/* Phone visibility helpers */
.hidden-phone { display: block; }
.visible-phone { display: none; }

@media (max-width: 767px){
  .hidden-phone { display: none !important; }
  .visible-phone { display: block !important; }
}

@media (max-width: 767px){

  /* Mobile: make the featured images a horizontal slider */
  .l-aw-img-cards.visible-phone{
    margin: 0 0 -22%;
    width: 100%;
    order: -1;
    position: relative;
    z-index: 3;

    display: flex !important;
    gap: 16px;

    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;

    scroll-snap-type: x mandatory;
    scroll-padding-left: 30px; /* aligns with your container padding */
    padding: 0 30px;           /* gives a nice inset while sliding */
  }

  /* Each card becomes a slide */
  .l-aw-img-cards.visible-phone .l-aw-ft-image{
    flex: 0 0 85%;           /* slide width (85% of viewport) */
    scroll-snap-align: start;
  }

  /* Optional: hide scrollbar but keep swipe */
  .l-aw-img-cards.visible-phone{
    scrollbar-width: none;     /* Firefox */
    -ms-overflow-style: none;  /* old Edge */
  }
  .l-aw-img-cards.visible-phone::-webkit-scrollbar{
    display: none;             /* Chrome/Safari */
  }

  /* Your image sizing */
  .l-aw-img-cards.visible-phone .l-aw-ft-image img{
    width: 100% !important;
    height: 400px !important;
    object-fit: cover;
    object-position: center;
    display: block;
  }
}
