.image-hover-container {
  display: grid;
  grid-template-columns: auto auto auto; /* Creates three equal-width columns */
  padding: 10px;
  gap: 10px; /* Optional gap between images */
}

.image-hover-wrapper {
  position: relative; /* For positioning the hover text */
  overflow: hidden; /* Clip the hover text if it extends beyond */
}

.hover-image {
  max-width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease-in-out; /* Optional fade effect */
}

.image-hover-wrapper:hover .hover-image {
  opacity: 0.7; /* Optional dimming on hover */
}

.image-hover-wrapper::before {
  content: attr(aria-label); /* Get text from the alt attribute */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  text-align: center;
  padding: 10px;
  box-sizing: border-box; /* Ensure padding doesn't increase size */
}

.image-hover-wrapper:hover::before {
  opacity: 1;
}

/* .image-hover-container {
  display: grid;
  grid-template-columns: auto auto auto;
  padding: 10px;
  gap: 10px;
}

.image-hover-container a {
  display: block;
}

.hover-image {
  max-width: 100%;
  height: auto;
  display: block;
} */



/* .hover-text { */
  /* position: absolute; */
  /* top: 0; */
  /* left: 0; */
  /* width: 100%; */
  /* height: 100%; */
  /* color: white;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 600; */
/* } */
/* .image-hover-container {
    position: relative;
    display: flex;
    width: 60%;
  }
  
  .hover-image {
    width: 100%;
    display: block;
    border-radius: 8px;
  }
  
  .hover-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
  }
  
  .image-hover-container:hover .hover-text {
    opacity: 1;
  }
   */

   /* .image-hover-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  } */

  /* .hover-image {
    width: 100%;
    height: auto;
  } */

  /* .hover-text {
    display: none;
  } */
/* 
  .image-hover-container a:hover .hover-text {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
  } */

