/* Text Slider Bootstrap Carousel Styles */
.textslider-container {
  min-height: 35px;
  background-color: #ff6e00;
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;
}

.textslider-container .carousel-inner {
  height: 100%;
}

.textslider-container .carousel-item {
  min-height: 35px;
}

.textslider-slide {
  width: 100%;
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 10px;
}

.slide-title {
  font-size: 16px !important;
  color: #fffd00 !important;
  font-weight: bold !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: 'Tinos', sans-serif;
  width: max-content;
}

.slide-text {
  font-size: 16px !important;
  color: #fff !important;
  font-weight: bold !important;
  font-family: 'Tinos', sans-serif;
  width: max-content
}

/* Hide Bootstrap carousel navigation buttons */
.textslider-container .carousel-control-prev,
.textslider-container .carousel-control-next {
  display: none !important;
}

/* Responsive styles for small screens */
/* Tablet styles */
@media (max-width: 768px) {
  .textslider-container {
    min-height: 30px;
  }

  .textslider-container .carousel-item {
    min-height: 30px;
  }

  .textslider-slide {
    min-height: 30px;
    gap: 8px;
  }

  .slide-title {
    font-size: 14px !important;
  }
   .textslider-slide {
     gap: 5px;
    }

  .slide-text {
    font-size: 14px !important;
  }

  /* Add margin to header to account for fixed textslider */
  /*#header {*/
  /*  margin-top: 30px;*/
  /*}*/
}

/* Mobile styles */
@media (max-width: 576px) {
  .textslider-container {
    min-height: 25px;
  }

  .textslider-container .carousel-item {
    min-height: 25px;
  }

  .textslider-slide {
    min-height: 25px;
    gap: 5px;
    padding: 5px 10px;
  }

  .slide-title {
    font-size: 12px !important;
  }

  .slide-text {
    font-size: 12px !important;
  }

  /* Adjust header margin for smaller textslider */
  /*#header {*/
  /*  margin-top: 25px;*/
  /*}*/
}

/* Extra small mobile screens */
@media (max-width: 360px) {
  .textslider-container {
    min-height: 22px;
  }

  .textslider-container .carousel-item {
    min-height: 22px;
  }

  .textslider-slide {
    min-height: 22px;
    gap: 3px;
    padding: 3px 8px;
  }

  .slide-title {
    font-size: 10px !important;
  }

  .slide-text {
    font-size: 10px !important;
  }

  /* Adjust header margin for smallest textslider */
  /*#header {*/
  /*  margin-top: 22px;*/
  /*}*/
}
