.blog-scroll-wrapper {
  position: relative;
  overflow: hidden;
  height: 100vh;
}

.blog-posts-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.blog-item {
  min-width: 100%;
  height: 100vh;
  position: relative;
}

/* IMAGE */
.blog-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
   background-repeat: no-repeat !important; 
}

/* OVERLAY */
.blog-banner {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  display: flex;
  align-items: flex-end;
}

.post-overly-content {
  padding: 60px;
  color: #fff;
  max-width: 700px;
}

/* ARROWS */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 28px;
  padding: 12px;
  cursor: pointer;
  z-index: 100;
}

.prev { left: 20px; }
.next { right: 20px; }

/* Responsive - Blog Slider */
@media (max-width: 768px) {
  .blog-scroll-wrapper {
    height: auto !important;
    overflow: visible !important;
  }
  
  .blog-posts-container {
    flex-direction: column;
    transition: none !important;
    transform: none !important;
  }
  
  .blog-item {
    min-width: 100% !important;
    height: auto !important;
    min-height: 400px;
    margin-bottom: 20px;
  }
  
  .blog-image {
    min-height: 250px;
  }
  
  .post-overly-content {
    padding: 30px;
    max-width: 100%;
  }
  
  .nav {
    display: none !important;
  }
  
  .blog-scrollbar {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .blog-item {
    min-height: 350px;
  }
  
  .blog-image {
    min-height: 200px;
  }
  
  .post-overly-content {
    padding: 20px;
  }
}