.hero-wrapper {
  position: relative;
  overflow: hidden;
}

/* =========================
   DESKTOP (image as background)
   ========================= */
@media (min-width: 1025px) {

  .elementor-widget-oceanwp_custom_hero_image {
    position: relative;
  }

  .oceanwp-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .oceanwp-hero-media img {
    width: 100%;
    height: 680px !important;
    object-fit: cover;
    display: block;
  }

  .hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }
  .hero-content > .elementor-container{
        display: flex;
        align-items: flex-start !important;
        justify-content: flex-start !important;
                width: 100%;
  }
}

/* =========================
   TABLET & MOBILE
   Image on top, text below
   ========================= */
@media (max-width: 1024px) {

  .elementor-widget-oceanwp_custom_hero_image {
    display: flex;
    flex-direction: column;
  }

  .oceanwp-hero-media {
    position: relative;
    width: 100%;
  }

  .oceanwp-hero-media img {
    width: 100%;
    height: auto;      
    display: block;
    object-fit: cover;
  }

  .hero-content {
    position: relative;
    padding: 2rem;
    min-height: unset;
  }
}
