.link-grid-section {
  padding-top: 5rem;
}

.image-link-card {
  position: relative;
  display: block;
  height: 360px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.image-link-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.image-link-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,0));
  z-index: 1;
}

.image-link-card span {
  position: absolute;
  left: 2rem;
  bottom: 1.5rem;
  z-index: 2;
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 700;
}

.image-link-card::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: #00e5ff;
  z-index: 3;
  transition: width .3s ease;
}

.image-link-card:hover::before,
.image-link-card:focus-visible::before {
  width: 100%;
}

.image-link-card:hover img {
  transform: scale(1.04);
}

@media (max-width: 767.98px) {
  .image-link-card {
    height: 260px;
  }

  .image-link-card span {
    left: 1.25rem;
    bottom: 1.25rem;
  }
}