.sp-feature-blogs {
  --fb-radius: 20px;
  --fb-height: 280px;
}
.sp-feature-blogs__item {
  height: 100%;
  display: block;
}

.sp-feature-blogs__grid .col-first .sp-feature-blogs__bg {
  height: 100%;
}

.sp-feature-blogs__bg {
  position: relative;
  display: block;
  width: 100%;
  height: var(--fb-height);
  background-size: cover;
  background-position: center center;
  border-radius: var(--fb-radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sp-feature-blogs__item_content {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 20px;
  border-radius: 0px 0px 10px 10px;
  background: linear-gradient(
    0deg,
    rgb(0 0 0 / 78%) 0%,
    rgb(52 52 52 / 5%) 100%
  );
  transition: var(--transition-nl);
  color: var(--whiteColor);
}
.sp-feature-blogs__item_content a {
  color: var(--whiteColor);
}
.sp-feature-blogs__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.sp-feature-blogs__bg:hover,
.sp-feature-blogs__bg:focus {
  transform: scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.sp-feature-blogs__item_content {
  border-radius: 0px 0px 10px 10px;
  background: linear-gradient(
    0deg,
    rgb(0 0 0 / 78%) 0%,
    rgb(52 52 52 / 5%) 100%
  );
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .sp-feature-blogs {
    --fb-height: 240px;
  }

  .sp-feature-blogs__title {
    font-size: 16px;
    left: 16px;
    bottom: 16px;
    right: 16px;
  }
}

@media (max-width: 576px) {
  .sp-feature-blogs {
    --fb-height: 200px;
  }

  .sp-feature-blogs__title {
    font-size: 14px;
    left: 12px;
    bottom: 12px;
    right: 12px;
  }
  .sp-feature-blogs__grid .col-first .sp-feature-blogs__bg,
  .sp-feature-blogs__bg {
    height: 300px;
  }
}
