/* ==========================================================
   Event View Cards
========================================================== */

.event-card {
  margin-bottom: 30px;
  width: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Image Container */
.eventimageblock {
  position: relative;
  width: 100%;
  max-width: 370px;
  height: 245px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0,0,0,.15);
  transition: box-shadow .25s ease;
}

/* Image */
.eventimageblock img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

/* Gradient Overlay */
.eventimageblock::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.85) 0%,
    rgba(0,0,0,.55) 35%,
    rgba(0,0,0,.20) 65%,
    rgba(0,0,0,0) 100%
  );
  z-index: 1;
  transition: background .3s ease;
}

/* Hover Effects */
.event-card:hover {
  transform: translateY(-4px);
}

.event-card:hover .eventimageblock {
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

.event-card:hover .eventimageblock img {
  transform: scale(1.05);
}

.event-card:hover .eventimageblock::after {
  background: linear-gradient(
    to top,
    rgba(0,0,0,.65) 0%,
    rgba(0,0,0,.40) 35%,
    rgba(0,0,0,.15) 65%,
    rgba(0,0,0,0) 100%
  );
}

/* Overlay Text */
.eventoverlay {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 15px;
  z-index: 2;
}

/* Title */
.eventtitleblock {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}

.eventtitleblock,
.eventtitleblock a {
  color: #ffffff;
  text-decoration: none;
  text-shadow: 2px 2px 6px rgba(0,0,0,.8);
}

.eventtitleblock a:hover {
  color: #f6b028;
}

/* Event Date */
.eventdateblock {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
  text-shadow: 2px 2px 6px rgba(0,0,0,.8);
}

/* Tablet */
@media (max-width: 992px) {
  .eventimageblock {
    max-width: 100%;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .eventimageblock {
    width: 100%;
    max-width: 100%;
    height: 245px;
  }

  .eventimageblock img {
    width: 100%;
    height: 245px;
  }

  .eventtitleblock {
    font-size: 1.25rem;
  }

  .eventdateblock {
    font-size: .95rem;
  }
}