/*
Theme Name: Hello Elementor Child
Theme URI: https://funstayhomes.com/
Description: Child theme for Fun Stay Homes
Author: Fun Stay Homes Team
Author URI: https://funstayhomes.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/
/* Limit text height */
/* clamp text */
/* .loop-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.3s ease;
} */

/* expanded state */
/* .loop-card.is-open .loop-desc {
  -webkit-line-clamp: unset;
  max-height: none;
} */

/* read more */
/* .loop-readmore {
  cursor: pointer;
  font-weight: 600;
  color: #e63946;
  margin-top: 6px;
  display: inline-block;
} */
/* Card container */
.post-card {
  overflow: hidden; /* fallback */
}

/* Image wrapper – THIS IS KEY */
.image-wrap {
  overflow: hidden;
  position: relative;
}

/* Image */
.post-image {
  transform: scale(1);
  transition: transform 0.5s ease;
}

/* Hover effect */
.post-card:hover .post-image {
  transform: scale(1.2);
}


.bg-img {
  position: absolute;
  inset: 0;
  animation: fade 12s infinite;
}

.bg-img:nth-child(1) { animation-delay: 0s; }
.bg-img:nth-child(2) { animation-delay: 6s; }

@keyframes fade {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

