
.image-wrapper {
  width: 100%;
  aspect-ratio: 3 / 2;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--crisal-green-light);
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: multiply;
  z-index: 2;
}

.image-wrapper:hover::after {
  opacity: 1;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.image-wrapper:hover img {
  transform: scale(1.1);
}

.card-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  color: white;
  font-weight: bold;
  text-align: center;
  pointer-events: none;
  z-index: 3;
}

.image-wrapper.grayscale img {
    filter: grayscale(80%) brightness(85%);
    opacity: 0.9;
}

.disabled-link {
    pointer-events: none;
    cursor: default;
}

/* Mobile Styles */
@media (max-width: 576px) {

  .image-wrapper {
      aspect-ratio: 3 / 2;
    margin: 0 auto 0 auto !important;
    padding: 0 !important;
  }
}

/* Mobile Landscape and Tablets */
@media (min-width: 576px) and (max-width: 768px) {

  .image-wrapper {
    aspect-ratio: 3 / 2;
    margin: 0 auto 0 auto !important;
    padding: 0 !important;
  }
}
