.ci-block {
  --bs-gutter-x: 1.25rem;
}

.ci-block-items {
  position: relative;
  display: block;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.ci-block-items::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.5) 57.81%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.ci-block-items-thumb {
  position: relative;
  padding-top: 55%;
  border-radius: 5px;
}

.ci-block-items-thumb img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  transition: all 0.8s ease;
}

.ci-block-items-content {
  position: absolute;
  z-index: 3;
  bottom: 0;
  padding: 4.5rem 3.25rem;
}

.ci-block-items-content h3 {
  font-size: 1.25rem;
  color: var(--white);
  transition: all 0.3s ease;
}

@media (min-width: 992px) {
  .ci-block-items-content h3 {
    font-size: 1.75rem;
  }
}

.ci-block-items-content p {
  color: var(--white);
  transition: all 0.3s ease;
  margin-bottom: 0;
}

.ci-block-items:hover::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.8) 57.81%, rgba(0, 0, 0, 0.7) 100%);
}

.ci-block-items:hover .ci-block-items-thumb img {
  transform: scale(1.05);
}
