/* ===============================
   EVENTS GRID – COMPACT DESIGN
================================ */

.events-grid-section {
  max-width: 1300px;
  margin: auto;
  padding: 70px 20px;
}

/* ---------- YEAR LABEL ---------- */
.events-year-label {
  font-size: 22px;
  font-weight: 700;
  color: #173054;
  margin-bottom: 25px;
  position: relative;
}

.events-year-label::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #00a896;
  position: absolute;
  left: 0;
  bottom: -8px;
}

/* ---------- GRID ---------- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

/* ---------- TILE ---------- */
.event-tile {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: 0.4s ease;
}

.event-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(0,0,0,0.12);
}

.event-tile a {
  text-decoration: none;
  color: inherit;
}

/* ---------- IMAGE ---------- */
.event-image {
  position: relative;
  overflow: hidden;
  height: 190px;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s ease;
}

.event-tile:hover img {
  transform: scale(1.08);
}

.event-overlay {
  position: absolute;
  inset: 0;
  background: rgba(73, 175, 219, 0.307);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: floralwhite;
  opacity: 0;
  transition: 0.4s ease;
}

.event-tile:hover .event-overlay {
  opacity: 1;
}

/* ---------- INFO ---------- */
.event-info {
  padding: 18px 20px 22px;
}

.event-info h3 {
  font-size: 17px;
  font-weight: 600;
  color: #173054;
  line-height: 1.3;
  margin-bottom: 6px;
}

.event-info p {
  font-size: 14px;
  color: #666;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .events-grid {
    grid-template-columns: 1fr;
  }

  .event-image {
    height: 200px;
  }
}