/* ===========================================================
   FVDF - Modernização visual do Calendário (2026-08-07)
   Ver fvdf-calendario-redesign.js: lê os eventos reais já renderizados
   pelo The Events Calendar (.tribe-events-calendar-latest-past__event)
   e monta este grid — sem inventar nenhum evento, imagem ou data.
   =========================================================== */

.fvdf-calendar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0 40px;
}

.fvdf-calendar-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(19, 30, 63, 0.08);
  box-shadow: 0 8px 24px rgba(19, 30, 63, 0.08);
  transition: transform .2s ease, box-shadow .2s ease;
  color: inherit;
  text-decoration: none;
}
.fvdf-calendar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(19, 30, 63, 0.14);
}

.fvdf-calendar-thumb {
  position: relative;
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: 50% 50%;
  background-color: #F7F8FA;
}

.fvdf-calendar-date-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #ffffff;
  border-radius: 12px;
  padding: 6px 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(19, 30, 63, 0.15);
  min-width: 44px;
}
.fvdf-calendar-date-badge .fvdf-cal-day {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #21266E;
  line-height: 1.1;
}
.fvdf-calendar-date-badge .fvdf-cal-month {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: #b39a00;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.fvdf-calendar-body {
  padding: 18px;
}
.fvdf-calendar-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: #21266E;
  margin: 0 0 8px;
  line-height: 1.35;
}
.fvdf-calendar-price {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #2A9540;
  background: rgba(42, 149, 64, 0.1);
  border-radius: 999px;
  padding: 3px 10px;
}

.fvdf-calendar-empty {
  background: #F7F8FA;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  color: #6B7280;
  font-weight: 600;
  margin: 20px 0;
}

@media (max-width: 900px) {
  .fvdf-calendar-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .fvdf-calendar-grid { grid-template-columns: 1fr; }
}
