.community-post-page{
  margin-top: 150px;
}

.community-post-content {
  display: flex; /* Use flexbox for layout */
  justify-content: space-between; /* Space between text and image */
  align-items: flex-start;
  max-width: 1200px; /* Optional: Limit the max width */
  margin: 0 auto; /* Center the wrapper on the page */
  padding-top: 80px; /* Optional padding */
}

.community-post-text {
  flex: 1; /* Take available space */
  max-width: 60%; /* Optional: Limit text width */
  padding-left: 10%;
}



.swiper-container {
  width: 100%;
  margin: auto;
  position: relative;
  user-select: none;
}

/* .swiper-slide img {
  width: 100%;
  height: auto;
} */

.swiper-pagination {
  bottom: 10px;
  position: relative;
}

.swiper-button-next,
.swiper-button-prev {
  width: 4px;
  height: 0px;
  top: 100%;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1em; /* Try larger size for more impact */
}


:root {
--swiper-theme-color: #3EB489 !important; /* Override the Swiper theme color */
}


.community-post-title {
  margin-bottom: 10px;
}

.community-post-description-short {
  margin-bottom: 10px;
}

.community-post-image {
  flex: 1; 
  max-width: 35%;
  overflow: hidden;
}

.community-post-image img {
  width: 100%; 
  height: auto; 
  display: block; 
}


@media (max-width: 768px) {
  .community-post-page{
    margin-top: 25%;
  }

  .community-post-content{
    flex-direction: column;
    padding-top: 0%;
  }

  .community-post-image{
    max-width: 100%;
  }

  .swiper-button-next::after,
  .swiper-button-prev::after {
    display: none;
  }

  .community-post-text{
    padding-left: 0;
    padding-top: 5%;
    max-width: 100%;
  }

}



