#swiper-front-page-slider-block-1 img {
	width: 100%;
	height: auto;
}

.swiper-container {
	margin-top: 0px;
	max-width: 1400px;
}

/* Make sure the image container is relative */
.views-field-field-slider-image {
  position: relative;
}

/* Position the overlay absolutely, centered vertically */
.views-field-field-text-overlay {
  position: absolute;
  top: 65%;
  transform: translateY(-50%); 
  width: 50%;            
  color: #fff;           
  background: rgba(255, 134, 89, 0.5); 
  border: 3px solid var(--orange);
  margin-left: 20px;
  border-radius: 20px;
  padding: 0.8rem;       
  z-index: 2;           
  left: 0;
  transform: translateX(-100%); 
  opacity: 0;
  animation: slideIn 1s ease-out forwards;
  max-width: 1000px;
  animation-delay: 0.5s;
}

@media screen and (max-width: 1300px) {
  .views-field-field-text-overlay {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 50%;
    color: #fff;
    background: rgba(255, 134, 89, 0.5);
    border: 3px solid var(--orange);
    margin-left: 20px;
    border-radius: 20px;
    padding: 0.8rem;
    z-index: 2;
    left: 0;
    transform: translateX(-100%);
    opacity: 0;
    animation: slideIn 1s ease-out forwards;
    max-width: 1000px;
    animation-delay: 0.5s;
  }
}

@media screen and (max-width: 950px) {
  .views-field-field-text-overlay {
    width: 100%;
    position: relative;
    text-align: center;
    margin-left: 0px;
    margin-top: -18px;
    color: #fff;
    top: 0;
    background: rgba(255, 134, 89, 1);
    border-radius: 0;
    z-index: 2;
    left: 0;
    opacity: 1;
    padding: 0px 15px 0px 15px;
    animation: slideInMobile 0.5 ease-out forwards;
    transform: translateY(15%);
  }
}

@keyframes slideInMobile {
  to {
    transform: translateY(15px);
  }
}

/* Keyframes */
@keyframes slideIn {
  to {
    transform: translateX(15px);
    opacity: 1;
  }
}

.views-field-field-slider-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0px 0px 20px 20px;
}

@media screen and (max-width: 950px) {
  .views-field-field-slider-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
  }
}
  

.views-field-field-text-overlay p, .views-field-field-text-overlay h1 {
  color: white;
  text-shadow: 2px 2px 4px black;
}

@media screen and (max-width: 950px) {
  .views-field-field-text-overlay p, .views-field-field-text-overlay h1 {
     color: white;
     text-shadow: 2px 2px 4px black;
     font-size: 24px;
     padding: 0px;
  }
}


.views-field-field-text-overlay p {
  font-size: 22px;
  padding: 0px 15px 0 15px;
}

@media screen and (max-width: 950px) {
  .views-field-field-text-overlay p {
    font-size: 18px;
    margin: 0px 15px 15px 0px;
    padding-bottom: 10px;
  }
}
