/* Blog Slider Premium Styles - Flatsome Matching */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap");

.bs-slider-container {
  padding: 30px 10px 50px;
  margin: 0 auto;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

.bs-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.bs-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.bs-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.bs-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.bs-card:hover .bs-card-image img {
  transform: scale(1.05);
}

/* Date Badge Styling */
.bs-card-date {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 10;
  background: #167ac6; /* Flatsome Blue */
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-weight: 700;
}

.bs-card-date .day {
  font-size: 16px;
  margin-bottom: 2px;
}

.bs-card-date .month {
  font-size: 10px;
  text-transform: uppercase;
}

.bs-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.bs-card-title {
  margin: 0 0 10px;
  font-size: 1.1rem;
  line-height: 1.4;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

.bs-card-title a {
  color: #03479f;
  text-decoration: none;
  transition: color 0.3s ease;
}

.bs-card-title a:hover {
  color: #167ac6;
}

.bs-card-excerpt {
  color: #000;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Swiper Controls */
.bs-slider-container .swiper-pagination-bullet {
  background: #167ac6;
  opacity: 0.3;
}

.bs-slider-container .swiper-pagination-bullet-active {
  opacity: 1;
  width: 20px;
  border-radius: 10px;
}

.bs-slider-container .swiper-button-next,
.bs-slider-container .swiper-button-prev {
  background: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #167ac6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  top: 45%;
  opacity: 0;
  pointer-events: none;
}

.bs-slider-container:hover .swiper-button-next,
.bs-slider-container:hover .swiper-button-prev {
  opacity: 1;
  pointer-events: auto;
}

.bs-slider-container .swiper-button-next:after,
.bs-slider-container .swiper-button-prev:after {
  font-size: 16px;
  font-weight: bold;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .bs-card-content {
    padding: 15px;
  }
  .bs-card-title {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  .bs-card-excerpt {
    font-size: 0.85rem;
  }
  .bs-card-date {
    width: 42px;
    height: 42px;
    top: 10px;
    left: 10px;
  }
  .bs-card-date .day {
    font-size: 14px;
  }
  .bs-card-date .month {
    font-size: 8px;
  }
}

@media (max-width: 550px) {
  .bs-card-title,
  .bs-card-excerpt {
    font-size: 13.6px;
  }
}
