#bpe-section-2 .flex-wrap {
  flex-wrap: wrap !important;
}

@media (max-width: 1024px) {
  #bpe-section-2 .custom-row-1 {
    flex-basis: 100% !important;
  }
}

@media (max-width: 1024px) {
  #bpe-section-2 .custom-row-2 {
    flex-basis: 100% !important;
  }
}

#bpe-section-2 .custom-row-2 .custom-frame img {
  width: 100%;
  aspect-ratio: 5/4;
}

@media (max-width: 1536px) {
  #bpe-section-2 .custom-row-2 .custom-frame img {
    aspect-ratio: 7/6 !important;
  }
}

@media (max-width: 1280px) {
  #bpe-section-2 .custom-row-2 .custom-frame img {
    aspect-ratio: 5/8 !important;
  }
}

@media (max-width: 1024px) {
  #bpe-section-2 .custom-row-2 .custom-frame img {
    aspect-ratio: 16/9 !important;
  }
}

@media (max-width: 640px) {
  #bpe-section-2 .custom-row-2 .custom-frame img {
    aspect-ratio: 1 !important;
  }
}

#bpe-section-3 .flex-wrap {
  flex-wrap: wrap-reverse !important;
}

@media (max-width: 1280px) {
  #bpe-section-3 .custom-row-1 {
    flex-basis: 40% !important;
  }
}

@media (max-width: 1024px) {
  #bpe-section-3 .custom-row-1 {
    flex-basis: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 1280px) {
  #bpe-section-3 .custom-row-2 {
    flex-basis: 50% !important;
  }
}

@media (max-width: 1024px) {
  #bpe-section-3 .custom-row-2 {
    flex-basis: 100% !important;
  }
}

#bpe-section-3 .custom-row-2 .custom-frame img {
  width: 100%;
  aspect-ratio: 4/5;
}

@media (max-width: 1536px) {
  #bpe-section-3 .custom-row-2 .custom-frame img {
    aspect-ratio: 5/8 !important;
  }
}

@media (max-width: 1280px) {
  #bpe-section-3 .custom-row-2 .custom-frame img {
    aspect-ratio: 5/8 !important;
  }
}

@media (max-width: 1024px) {
  #bpe-section-3 .custom-row-2 .custom-frame img {
    aspect-ratio: 16/9 !important;
  }
}

@media (max-width: 640px) {
  #bpe-section-3 .custom-row-2 .custom-frame img {
    aspect-ratio: 1 !important;
  }
}

@media (max-width: 1280px) {
  #bpe-section-4 .custom-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  #bpe-section-4 .custom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #bpe-section-4 .custom-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

@media (max-width: 1280px) {
  #bpe-section-4 .custom-grid img {
    aspect-ratio: 1 !important;
  }
}

@media (max-width: 1024px) {
  #bpe-section-4 .custom-grid img {
    aspect-ratio: 16/9 !important;
    border-radius: 18px !important;
  }
}

@media (max-width: 768px) {
  #bpe-section-4 .custom-grid img {
    aspect-ratio: 1 !important;
  }
}

@media (max-width: 640px) {
  #bpe-section-4 .custom-grid img {
    aspect-ratio: 16/9 !important;
  }
}
