.card {
  transition: transform 0.3s ease;
  border: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  border-radius: 0;
}

.card-img-overlay {
  opacity: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 0.3s ease;
  cursor: pointer;
  border-radius: 0 !important;
}

.card:hover .card-img-overlay {
  opacity: 1;
}

.card-img-top {
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
}

.gslide-description {
  display: none !important;
}

.event-card-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
}

.event-title-box {
  background-color: #000;
  color: #fff;
  padding: 16px;
  display: flex;
  flex-grow: 1;
}

.event-title-box h6 {
  margin: 0;
  color: #fff;
}

a {
  text-decoration: none;
}

#galleryContainer {
  margin-inline: 0.5px;
}

.gallery-item {
  display: flex;
}

.video-thumb-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.video-thumb-overlay::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 20px solid #000;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

/* Prevent images from blocking navigation */
.gallery-item img {
  /* content-visibility: auto; */
  will-change: contents;
}

/* Ensure navigation links are always clickable */
.gallery-item a,
.back-button {
  pointer-events: auto !important;
  z-index: 10;
  position: relative;
}
