.bannerGifComponent {
  position: relative;
  width: 100%;
  min-height: 280px; /* קובע את גובה הבאנר */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

  .bannerGifComponent .gif-banner-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 280px;
    object-fit: cover;
    z-index: 1;
  }

  .bannerGifComponent .gif-banner-content {
    position: absolute;
    width: 100%;
    padding: 0px 30px 16px;
    padding-inline-end: 32px;
    padding-top: 40px;
    margin-right: 0px;
    z-index: 2;
    text-align: right;
  }
    .bannerGifComponent .gif-banner-content .title {
      font-size: 25px;
      font-weight: bold;
      margin:0;
    }
    .bannerGifComponent .gif-banner-content .subtitle p {
      font-size: 20px;
      line-height: 30px;
    }


    .bannerGifComponent .gif-banner-content .buttonLink {
      display: block;
    }

    .bannerGifComponent .gif-banner-content .buttonLink + .buttonLink:not(.side-by-side) {
      margin-top: 8px;
    }

    .bannerGifComponent .gif-banner-content .buttonLink.side-by-side {
      display: inline-block;
    }

    .bannerGifComponent .gif-banner-content .buttonLink.side-by-side + .buttonLink.side-by-side {
      padding-inline-start: 8px;
    }

    .bannerGifComponent .stop-start-buttons {
      position: absolute;
      bottom: 8px;
      left: 8px;
      display: flex;
      gap: 6px;
      z-index: 3;
    }

    .bannerGifComponent .stop-start-buttons button {
      width: 32px;
      height: 32px;
      background-color: transparent;
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;
      border: none;
      cursor: pointer;
      padding: 0;
    }

    /* PLAY / PAUSE icon background images */
    .bannerGifComponent .stop-start-buttons.play-mode button {
      background-image: url('/images/Gallery-Button-Pause.svg');
    }

    .bannerGifComponent .stop-start-buttons.pause-mode button {
      background-image: url('/images/Gallery-Button-Play.svg');
    }



@media (max-width: 768px) {
  .bannerGifComponent {
    min-height: auto;
  }

    .bannerGifComponent .gif-banner-image {
      position: relative;
      width: 100%;
    }

    .bannerGifComponent .gif-banner-image img {
      position: static;
      height: auto;
    }

    .bannerGifComponent .gif-banner-content {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0; 
      padding: 16px 16px 20px;
      text-align: center;
     
    }
      .bannerGifComponent .gif-banner-content .title{
          text-align:center;
      }
      /* כפתור הפליי */
      .bannerGifComponent .stop-start-buttons {
        top: 12px;
        left: 8px;
        bottom: auto; 
        z-index: 3;
      }
}


.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

@media (max-width:768px) {
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }
}

@media (max-width: 400px) {
  .bannerGifComponent .gif-banner-image img{
  min-height: 550px;
  }
}


@media (max-width: 768px) and (min-width: 540px) {
  .bannerGifComponent .gif-banner-content {
    bottom: 10%;
  }
}
