.calendar-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 10px;
  font-family: Arial, sans-serif;
}

.header {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

button {
  background: #273c75;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 6px 10px;
  cursor: pointer;
}
button:hover { background: #40739e; }

.week {
  margin-bottom: 20px;
  border-radius: 10px;
  padding: 8px;
}

/* Alternate shading */
.week:nth-child(odd) {
  background-color: #f5f6fa; /* light gray */
}
.week:nth-child(even) {
  background-color: #ffffff; /* white */
}

.week-number {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 6px;
  color: #273c75;
}

.day {
  margin-bottom: 8px;
}

.day-header {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 4px;
  color: #273c75;
}

.day-events {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-left: 15px; /* indent events */
}

.event {
  background: #00a8ff; /* default blue */
  color: black;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 13px;
  text-decoration: none;
  word-wrap: break-word;
  line-height: 1.3;
}

/* Event type colors */
.event.mass {
  background-color: #FFFFFF ; /* white */
}

.event.catechism {
  background-color: #FFFFFF; /* white */
}

.event.memorial {
  background-color: #FFFFFF; /* white */
}

.event.special {
  background-color: #FFFFFF; /* white */
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .week-number { font-size: 14px; }
  .day-header { font-size: 13px; }
  .event { font-size: 12px; }
}
