/* ══════════════════════════════════════════════════════
   eventos-banorte.css
   Estilos específicos de la página "Todos los eventos"
══════════════════════════════════════════════════════ */

/* ── Grid de meses ── */
.all-events-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 36px !important;
  overflow: visible !important;
  transform: none !important;
  scroll-snap-type: none !important;
}

.month-block {
  display: grid;
  gap: 18px;
}

.month-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.month-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 26px;
  font-weight: 1000;
  text-transform: capitalize;
}

.month-head span {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(107, 33, 168, 0.08);
  color: #6b21a8;
  font-size: 13px;
  font-weight: 1000;
}

/* ── Grid de cards por mes ── */
.month-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 760px) {
  .month-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Card de evento ── */
.month-grid .event-card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.month-grid .event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.12);
}

.month-grid .event-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (max-width: 760px) {
  .month-grid .event-card img {
    aspect-ratio: 16 / 9;
  }
}

/* ── Cuerpo de la card ── */
.event-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.event-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.event-card-body h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 1000;
  color: #0f172a;
  line-height: 1.3;
}

/* ── Botón Preordenar ── */
.event-card-body button {
  margin-top: auto;
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #6b21a8, #4a1a6b);
  box-shadow: 0 10px 22px rgba(107, 33, 168, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-card-body button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(107, 33, 168, 0.32);
}