/* Blog Slider Widget Styles - 2x2 Grid Layout */

.blog-slider-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.blog-swiper-container {
  width: 100%;
  position: relative;
  overflow: visible;
  padding-bottom: 60px;
}

.blog-swiper-container .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.blog-swiper-container .swiper-slide {
  height: auto;
  display: flex;
}

/* Blog Card Styling */
.blog-slider-card {
  width: 100%;
  background: #ffffff;
  padding: 32px;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-slider-card:hover {
  /* transform: translateY(-8px); */
  /* box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2); */
}

/* Card Image */
.blog-card-image {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  flex-shrink: 0;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-slider-card:hover .blog-card-image img {
  transform: scale(1.1);
}

.blog-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Card Content */
.blog-card-content {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
}

/* Meta Info */
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.blog-card-icon {
  display: flex;
  align-items: center;
  color: #8b92a7;
}

.blog-card-icon svg {
  width: 14px;
  height: 14px;
}

.blog-card-date {
  font-family: "NeueMontreal" !important;
  font-size: 14px;
  font-weight: 500;
  color: #350f6b;
  letter-spacing: -0.25px;
}

/* Title */
.blog-card-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  color: #350f6b;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card-title a:hover {
  color: #5b7cff;
}

/* Excerpt */
.blog-card-excerpt {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  color: #350f6b;
  letter-spacing: -0.2px;
  margin: 0 0 32px 0;
  flex-grow: 1;
}

/* Read More Link */
.blog-card-content .blog-card-link {
  font-family: "NeueMontreal" !important;
  display: inline-flex;
  align-items: self-start;
  padding: 11px 20px;
  border: 1px solid #d7bbff;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  color: #350f6b;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

/* .blog-card-link::after {
  content: "�";
  margin-left: 6px;
  transition: margin-left 0.3s ease;
} */

.blog-card-link:hover {
  color: #fff;
  border-color: #350f6b;
  background-color: #350f6b;
}

.blog-card-link:hover::after {
  margin-left: 12px;
}

/* Navigation Buttons */
.blog-swiper-button-prev,
.blog-swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #2e3956;
}

.blog-swiper-button-prev {
  left: -24px;
}

.blog-swiper-button-next {
  right: -24px;
}

.blog-swiper-button-prev:hover,
.blog-swiper-button-next:hover {
  background: #5b7cff;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.blog-swiper-button-prev.swiper-button-disabled,
.blog-swiper-button-next.swiper-button-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Pagination Dots - Image Design */
.blog-swiper-pagination {
  position: absolute;
  bottom: 0;
  left: 50% !important;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
  align-items: center;
  justify-content: center;
}

.blog-swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #c1e9ff;
  border-radius: 50%;
  opacity: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  margin: 0 !important;
}

.blog-swiper-pagination .swiper-pagination-bullet-active {
  width: 12px;
  height: 12px;
  background: #2683b5;
  /* transform: scale(1.3); */
}

/* .blog-swiper-pagination .swiper-pagination-bullet:hover {
  background: #5b7cff;
  opacity: 0.8;
  transform: scale(1.15);
} */

/* Responsive Design */

/* Large Desktop - Above 1440px */
@media screen and (min-width: 1440px) {
  /* .blog-card-image {
    height: 280px;
  }

  .blog-card-title {
    font-size: 22px;
  }

  .blog-card-excerpt {
    font-size: 15px;
  } */
}

/* Desktop - 1024px to 1439px */
@media screen and (max-width: 1439px) and (min-width: 1024px) {
  .blog-card-image {
    height: 220px;
  }

  .blog-card-content {
    padding: 0px;
    margin-top: 20px;
  }

  .blog-card-title {
    font-size: 19px;
  }

  .blog-card-excerpt {
    font-size: 14px;
  }
}

/* Tablet - 768px to 1023px */
@media screen and (max-width: 1023px) and (min-width: 768px) {
  /* .blog-slider-wrapper {
    padding: 30px 0;
  } */
  .blog-slider-card {
    padding: 26px;
  }

  .blog-swiper-container {
    padding-bottom: 50px;
  }

  .blog-card-image {
    height: 200px;
  }

  .blog-card-content {
    padding: 0px;
    margin-top: 10px;
  }

  .blog-card-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .blog-card-excerpt {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .blog-card-link {
    font-size: 13px;
  }

  .blog-swiper-button-prev,
  .blog-swiper-button-next {
    width: 40px;
    height: 40px;
  }

  .blog-swiper-button-prev {
    left: -20px;
  }

  .blog-swiper-button-next {
    right: -20px;
  }
}

/* Mobile - 480px to 767px */
@media screen and (max-width: 767px) {
  /* .blog-slider-wrapper {
    padding: 20px 0;
  } */

  .blog-swiper-container {
    padding-bottom: 45px;
  }

  .blog-card-image {
    height: 180px;
  }

  .blog-card-content {
    margin-top: 20px;
    padding: 0px;
  }

  .blog-card-title {
    font-size: 17px;
    margin-bottom: 8px;
  }

  .blog-card-excerpt {
    font-size: 14px;
    margin-bottom: 14px;
  }

  .blog-card-link {
    font-size: 13px;
  }

  .blog-swiper-button-prev,
  .blog-swiper-button-next {
    width: 36px;
    height: 36px;
  }

  .blog-swiper-button-prev {
    left: 10px;
  }

  .blog-swiper-button-next {
    right: 10px;
  }
  .blog-slider-card {
    padding: 20px;
    border-radius: 20px;
  }

  .blog-slider-card:hover {
    transform: translateY(-4px);
  }
}

/* Extra Small Mobile - Below 480px */
