/* Smaller buttons on mobile */
.fc-button {
  background: none !important;
  color: var(--primary) !important;
  padding: 6px 10px !important;
  font-size: 0.65rem !important;
  border-radius: 5px !important;
  margin: 0 5px !important;
  outline: none !important;
  box-shadow: none !important;
}

/* FULLCALENDAR MOBILE OPTIMIZATION – Looks perfect on phones */
@media (max-width: 640px) {
  /* Make header buttons smaller and tighter */
  .fc-header-toolbar {
    flex-direction: column !important;
    gap: 8px;
    padding: 8px 4px !important;
    font-size: 1px;
  }

  .fc-header-toolbar .fc-toolbar-chunk {
    display: flex;
    justify-content: center;
    gap: 6px;
  }

  /* Today button slightly bigger but not huge */
  .fc-today-button {
    padding: 8px 16px !important;
    font-weight: 600;
  }

  /* Title (month/year) – bigger and centered */
  .fc-toolbar-title {
    font-size: 1.4rem !important;
    font-weight: 700;
    color: #017c39;
  }

  /* Hide less important buttons on very small screens */
  .fc-prevYear-button,
  .fc-nextYear-button {
    display: none !important;
  }

  /* Make the calendar grid fit nicely */
  .fc-dayGridMonth-view .fc-scroller {
    overflow: hidden !important;
  }

  /* Event titles in cells – prevent overflow */
  .fc-event-title {
    white-space: normal !important;
    font-size: 12px !important;
    padding: 2px 4px !important;
  }

  /* Year view on mobile – make months smaller */
  .fc-multiMonthYear-view .fc-multimonth {
    font-size: 13px;
  }
}

/* Extra polish: make active view button stand out */
.fc-button-active {
  background-color: #017c39 !important;
  outline: none !important;
  color: white !important;
}
@media (max-width: 640px) {
  .fc-prev-button,
  .fc-next-button {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    outline: none !important;
    justify-content: center;
  }
}

/* ------------------------- */
/*        HERO SECTION       */
/* ------------------------- */
/* EVENT CARD */
.event-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  border-radius: 8px;
  width: 100%;
}

/* DATE BOX */
.event-date {
  background: rgba(var(--primary), 0.1);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 0.9rem;
  min-width: 80px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(var(--primary), 0.15);
}

.event-month {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-day {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

/* CONTENT */
.event-content {
  flex: 1;
}

.event-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.event-time {
  color: #4b5563;
  font-size: 0.95rem;
}

.event-location {
  font-weight: 500;
  color: #374151;
}

.event-description {
  margin-top: 0.25rem;
  color: #6b7280;
  font-size: 0.85rem;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .event-card {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem;
  }
  .event-day {
    font-size: 1.5rem;
  }
  .event-time {
    font-size: 0.7rem;
  }
  .event-title {
    font-size: 0.865rem;
  }
  .event-location {
    font-size: 0.8rem;
  }
  .event-description {
    font-size: 0.8rem;
  }
}
