.sp-blog {
  --fp-gap: 24px;
  --fp-radius: 16px;
  --fp-title: 18px;
  --fp-desc: 14px;
}

.sp-blog__grid {
  /* Now uses Bootstrap row/col; gutters controlled via g-* classes */
}

.sp-blog__item {
  background: #fff;
  border-radius: var(--borderRadius);
  overflow: hidden;
  box-shadow: var(--boxShadowMd);
  display: flex;
  flex-direction: column;
  height: 100%;
  /* transform: translateY(0); */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sp-blog__item:hover {
  transform: scale(1.01);
  box-shadow: var(--boxShadowLg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sp-blog__thumb {
  display: block;
  position: relative;
  overflow: hidden;
}

.sp-blog__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sp-blog__item_content {
    padding: 20px 15px;
}

.sp-blog__title {
  font-size: var(--fp-title);
  margin-bottom: 12px;
  font-weight: var(--fontWeightBold);
  line-height: 1.3;
}

.sp-blog__title a {
  color: inherit;
  text-decoration: none;
}

.sp-blog__title a:hover,
.sp-blog__title a:focus {
  color: var(--primaryColor);
}

.sp-blog__excerpt {
  font-size: var(--fp-desc);
  margin-bottom: 20px;
  color: var(--textColor);
}

.sp-blog__cta {
  margin-top: auto;
}

.sp-blog__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: var(--primaryColor);
  color: #000;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sp-blog__btn:hover,
.sp-blog__btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(251, 173, 2, 0.35);
}

/* Scoped utility: remove underline on the small description link blocks present in designs */
.sp-blog .sp-blog__excerpt a {
  text-decoration: underline;
}

@media (max-width: 575.98px) {
  .sp-blog__title {
    font-size: var(--fontBody2);
  }
  .sp-blog__title, .sp-blog__excerpt {
    margin-left: 10px;
    margin-right: 10px;
  }
  .sp-blog__cta {
  }
}
