/* ========== MOBILE ONLY SLIDER RESPONSIVENESS ========== */
@media (max-width: 767px) {
  /* Full height for the slider container and inner elements */
  #element-1855136e41be4b4dbb0af7aa50cacb9a,
  #element-1855136e41be4b4dbb0af7aa50cacb9a .element-container,
  #carousel-container-ctl00_cphContent_ctl03_ctl00_ctl00_ctl02,
  .carousel-inner,
  .carousel .item {
    height: 100vh !important;
    max-height: 100vh !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #carousel-container-ctl00_cphContent_ctl03_ctl00_ctl00_ctl02 .carousel-inner .item span {
    padding-top: 0 !important;
    height: 100% !important;
    display: block !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  html, body {
    overflow-x: hidden;
  }

  /* ========== CENTER .slider-text OVER SLIDESHOW ========== */

  /* Make the container match slider height and use flexbox to center */


  /* Hide dummy .slider-bg if not used */
  .slider-bg {
    display: none;
  }

  /* Style the centered text block */
  .slider-text {
    text-align: center;
    color: white;
    background: transparent;
    padding: 20px;
    border-radius: 8px;
    max-width: 90%;
    width: 400px;
    box-sizing: border-box;
    top: 25% !important;
  }

  .slider-text h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5em;
  }

  .slider-text a {
    display: inline-block;
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    background-color: #007bff;
    border-radius: 4px;
    transition: background-color 0.3s ease;
  }

  .slider-text a:hover {
    background-color: #0056b3;
  }
}