.post-carousel {
  padding: 0px;
  overflow: hidden;
}

.swiper-wrapper {
  display: flex;
}

.post-slide {
  position: relative;
  overflow: hidden;
  height: 450px; /* Adjust height as needed */
}

.post-image {
  background-size: cover;
  background-position: center;
  height: 100%;
  width: 100%;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2); /* Black overlay with 0.2 opacity */
  z-index: 1;
}

.post-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
  color: white;
}

.post-info {
  position: absolute;
  bottom: 50px;
  left: 20px;
  z-index: 2;
}

.post-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #fff;
  max-width: 100%;
  margin-bottom: 30px;
}

.post-button {
  background-color: var(--accentColor2);
  color: white;
  padding: 14px 45px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.post-button:hover {
  color: #fff;
}

.post-date {
  position: absolute;
  top: 15px;
  right: 15px;
  color: white;
  padding: 5px 10px;
  font-size: 0.9em;
  z-index: 2;
  border: 1px solid #fff;
}

/* Swiper navigation buttons */
.swiper-button-next,
.swiper-button-prev {
  background: #333;
  color: #fff;
  border-radius: 50%;
  width: 30px; /* Smaller size */
  height: 30px; /* Smaller size */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px; /* Adjust font size */
}

/* Pagination dots */
.swiper-pagination-bullet {
  background: #afafaf;
  opacity: 0.7;
}

.swiper-pagination-bullet-active {
  background: var(--accentColor2); /* Active dot color */
  opacity: 1;
}
.post-category a {
  color: var(--accentColor);
}
.swiper-button-next,
.swiper-button-prev {
  background-color: var(--accentColor2) !important;
}
