.hp-banner-slogen {
  position: relative;
}
@media (max-width: 1024px) {
  /*
    * The .hp-banner div inside each slide is now the container
    * for both the controls and the slogan. We'll style it as the white box.
  */
  .views_slideshow_slide .hp-banner {
    background: #fff;
    /* border: 1px solid #e0e0e0; */
    margin: 0; /* 1rem 1rem; */
    padding-top: 1.5rem;
    position: relative;
    min-height: 402px;
  }

  /*
    * The slogan now lives inside the .hp-banner.
    * We just need to ensure it's centered and has padding.
  */
  .hp-banner-slogen {
    padding: 4rem 1.5rem 1.5rem;
    text-align: center;
    position: static;
    background: none;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 1rem;
  }

  .hp-banner-slogen a {
    color: black;
    text-decoration: none;
  }

  /*
    * Style the controls, which are now also inside the .hp-banner.
  */
  .views-slideshow-controls-bottom {
    position: absolute;
      top: 45%;
      left: 0;
      width: 100%;
    display: flex;
    justify-content: center;
  }

  /* Your existing, correct styles for the pager dots */
  .views-slideshow-controls-bottom .views-slideshow-pager-bullets li {
    background: #333;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
  }

  .views-slideshow-controls-bottom .views-slideshow-pager-bullets li.active {
    background: #27ae60;
  }
}


@media (min-width: 1025px) {
  .hp-banner-slogen {
      position: absolute;
      inset-block-end: 5rem;

      background: #bee2b4;
      padding: 16px 24px;
      border-radius: 12px;
      color: black;
      font-weight: 700;
      text-transform: uppercase;
      font-size: 40px;
      display: inline-block;
      inset-inline-start: 10rem;
    }

    .hp-banner-slogen a {
      color: black;
      text-decoration: none;
    }

    .views-slideshow-controls-bottom.clearfix {
      position: absolute;
      inset-block-end: 5rem;
      inset-inline-end: 4rem;
      z-index: 100;
    }

    .views-slideshow-controls-bottom .views-slideshow-pager-bullets li {
      background: #fff;
      font-size: 0.5rem;
      line-height: 1;
      inline-size: 34px;
      block-size: 15px;
      border-radius: 10px;
    }

    .views-slideshow-controls-bottom .views-slideshow-pager-bullets li.active {
      background: #333;
    }
}

/* Fix for 4HD / High Resolution Full Width Slider */
.views_slideshow_cycle_main,
.views_slideshow_cycle_teaser_section,
.views_slideshow_cycle_slide,
.views_slideshow_cycle_slide img {
  width: 100% !important;
  max-width: none !important;
}

.views_slideshow_cycle_slide img {
  height: auto !important;
  min-width: 100% !important;
  object-fit: cover;
}
