/* ==== LEANIMISE POSTS SLIDER FINAL ==== */

.leanimise-posts-section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 70px 20px;
  position: relative;
}

.leanimise-posts-slider {
  overflow: hidden;
}

/* === Post Card (Flat / Compact) === */
.leanimise-post-card {
  border-radius: 24px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  background: transparent; /* No background */
}

.leanimise-post-card:hover {
  transform: translateY(-4px);
}

/* === Thumbnail === */
.post-thumb {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.post-image {
  width: 100%;
  display: block;
  border-radius: 24px;
}

/* === Tags === */
.post-tags {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 6px;
  z-index: 5;
}

.post-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.post-tag.new {
  background: #E0EEFF;
  color: #004AAD;
}

.post-tag.category {
  background: #000;
  color: #fff;
}

.post-tag.category i {
  font-size: 12px;
}

/* === Info Section === */
.post-info {
  padding: 18px 0 0;
}

.post-title {
  font-size: 24px;
  font-weight: 600;
  color: #1E1E1E;
  margin-bottom: 8px;
  line-height: 1.3;
}

.post-title a {
  color: inherit;
  text-decoration: none;
}

.post-excerpt {
  font-size: 16px;
  font-weight: 400;
  color: #1E1E1E;
  margin-bottom: 12px;
  line-height: 1.5;
}

.post-meta {
  font-size: 14px;
  color: #1E1E1E;
  display: flex;
  align-items: center;
  gap: 6px;
}

.post-meta i {
  font-size: 13px;
}

/* === Navigation (Exactly like Reference) === */
.leanimise-slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 35px;
  position: relative;
}

.swiper-button-prev,
.swiper-button-next {
  position: static;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  color: #1E1E1E;
  transition: all .3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: #E0EEFF;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 16px;
  font-weight: 700;
}

/* Pagination bullets = dots bar */
.swiper-pagination {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.swiper-pagination-bullet {
  width: 22px;
  height: 8px;
  border-radius: 8px;
  background: #cfcfcf;
  opacity: 1;
  transition: all .3s ease;
}

.swiper-pagination-bullet-active {
  background: #004AAD;
  width: 42px;
}

/* === Compact Card Height Control === */
.swiper-slide {
  height: auto;
}

.leanimise-post-card {
  max-width: 100%;
}

/* === Responsive === */
@media (max-width: 768px) {
  .leanimise-post-card {
    max-width: 90%;
    margin: 0 auto;
  }

  .post-title {
    font-size: 20px;
  }

  .leanimise-slider-nav {
    margin-top: 25px;
  }
}
