
.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider {
    width: 300%;
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.slider img {
    width: 100%;
    flex: 1;
    border-radius: 0px;
}


.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.prev { left: 10px; }
.next { right: 10px; }
.swiper-button-next:after, .swiper-button-prev:after {
  font-family: swiper-icons;
  font-size: 1.5rem;
  text-transform: none !important;
  letter-spacing: 0;
  font-variant: initial;
  line-height: 1;
}
.swiper {
  width: 65rem;
  height: auto;
  padding-bottom: 3rem;
  padding: 0 0rem 3rem;
}
  .swiper-button-next, .swiper-button-prev {
    color: #fff;
    width: 3rem;
    height: 3rem;
    background-color: #0000009e;
    border-radius: 50%;
    top: 42%;
  }
  .swiper-pagination-bullet {
    background: #fff;
}
  .swiper-pagination-bullet-active {
    opacity: var(--swiper-pagination-bullet-opacity, 1);
    background: #fff;
}

.swiper-slide {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: right;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 0;
  box-shadow: 0.2rem 0.2rem 1rem rgb(0 0 0 / 18%);
}

.post-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  text-align: right;
  justify-content: center;
}
.profile-pic {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  margin-left: 1rem;
  border: 0.13rem solid blue;
}
.profile-name {
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}
.profile-name svg {
  color: blue;
  vertical-align: middle;
  width: 0.8rem;
  height: 0.8rem;
}
.post-meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0rem;
}
.post-image { 
  max-width: 100%; 
  height: auto; 
  border-radius: 0.2rem; 
}
.post-message { 
  padding: 0;
  font-size: 1rem;
  line-height: 1;
  margin-bottom: 1rem;
  height: 2rem;
  overflow: hidden;
  min-height: 2rem;
}
.post-link{
  position: absolute;
  width:100%;
  height: 100%;
  top:0;
  left:0
}
@media (min-width: 1024px) {
  .slider img {
    width: 100%;
    flex: unset;
    border-radius: 0px;
  }
  .swiper-slide img {
    display: block;
    width: 3rem;
    height: 3rem;
    object-fit: cover;
  }
  .swiper-slide img.post-image {
    width: 18rem;
    height: 18rem;
    object-fit: contain;
    border: 0.1rem solid #000;
    background-color: #000;
  }
  .post-all-details{
    display: flex;
    flex-direction: column;
  }
  .swiper {
    width: 70rem;
    height: auto;
    padding-bottom: 3rem;
    padding: 0 1.5rem 3rem;
  }
}
  @media (max-width: 1023px) {
    .swiper {
      width: 89vw;
      height: auto;
      padding-bottom: 0vw;
      margin-bottom: 4vw;
    }
    .slider {
        width: 100%;
        display: flex;
        transition: transform 0.3s ease-in-out;
    }
    .swiper-button-next, .swiper-button-prev {
      top: 50%;
    }
    .post-image {
        max-width: 100%;
        height: auto;
        border-radius: 0.2rem;
        /* width: 81vw;
        height: 81vw; */
        width: 100%;
        /* height: auto; */
        object-fit: contain;
        height: 50vw;
        border: 0.1rem solid #000;
        background-color: #000;
    }
  }
  @media (max-width: 650px) {
    .post-image {
      height: 72vw;
   }
  }

  