.container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

/* GRID 3x3 */
.cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

/* 3 por linha */
.event-card {
  width: calc(33.333% - 20px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  overflow: visible;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  position: relative;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.event-card:active {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

/* IMAGE */
.event-card__image-wrapper {
  position: relative;
  height: 200px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

.event-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card__share {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* DATE */
.event-card__date {
  position: absolute;
  top: 170px;
  left: 24px;
  width: 56px;
  height: 64px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
  z-index: 9999;
}

.event-card__date-day {
  font-size: 20px;
  font-weight: 700;
}

.event-card__date-month {
  font-size: 13px;
  color: #666;
  font-weight: 600;
}
.event-card__date-day {
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
}
.event-card__date-month {
  font-size: 12px;
  line-height: 1;
  color: #666;
  font-weight: 600;
}

/* CONTENT */
.event-card__content {
  padding: 40px 24px 20px 24px;
}

.event-card__category {
  display: inline-block;
  background: #1971b1;
  color: #fff;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 14px;
}

.event-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.4;
}

/* FOOTER */
.event-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #777;
  font-size: 14px;
  border-top: 1px solid #eee;
  padding-top: 14px;
}

.default-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2); /* Fundo sutil para destacar a fonte */
}

.event-card-overlay-title {
    font-size: 1.5rem; /* Fonte menor que a do banner principal (3rem) */
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
    margin: 0;
}

/* MOBILE */
@media (max-width: 768px) {
  .event-card {
    width: 100%;
  }
}
