/* Ride calendar only — does not modify global/header/search styles */
.ride-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
.ride-calendar-grid__head {
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 6px;
  text-transform: uppercase;
}
.ride-calendar-grid__day {
  display: flex;
  flex-direction: column;
  min-height: 100px;
  max-height: 132px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px;
  overflow: hidden;
}
.ride-calendar-grid__day--empty {
  background: transparent;
  border-color: transparent;
  max-height: none;
}
.ride-calendar-grid__num {
  font-weight: 700;
  margin-bottom: 4px;
  flex-shrink: 0;
}
.ride-calendar-grid__events {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 2px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.ride-calendar-grid__events::-webkit-scrollbar {
  width: 5px;
}
.ride-calendar-grid__events::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.ride-calendar-grid__events::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
.ride-calendar-grid__event {
  display: block;
  font-size: 11px;
  line-height: 1.3;
  padding: 4px 6px;
  margin-bottom: 4px;
  border-radius: 4px;
  text-decoration: none;
  border-left: 3px solid transparent;
}
.ride-calendar-grid__events .ride-calendar-grid__event:last-child {
  margin-bottom: 0;
}
.ride-calendar-grid__event--available { background: #eef7ee; border-left-color: #2e7d32; color: #1b5e20; }
.ride-calendar-grid__event--limited { background: #fff8ee; border-left-color: #ef6c00; color: #e65100; }
.ride-calendar-grid__event--sold_out { background: #fdeeee; border-left-color: #c62828; color: #b71c1c; }
@media (max-width: 991px) {
  .ride-calendar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ride-calendar-grid__head, .ride-calendar-grid__day--empty { display: none; }
}
