/* NSW licence "Upcoming Dates" calendar ([sm_bw_mts_calendar], inc/sm-bw-mts-calendar.php). Simple Media, Nov 2026. */

/* Event links are inert: dates are chosen in the booking step. */
#calendar-widget a.fc-event,
#calendar-widget .fc-list-item-title a,
#calendar-widget .fc-list-heading a {
	pointer-events: none !important;
	cursor: default !important;
	text-decoration: none !important;
	color: inherit !important;
}

/* Phones: bigger, easier-to-read list and tap-sized buttons. */
@media (max-width: 767px) {
	/* FullCalendar 3.8 still fixes the list's scroll height under height:auto, so release it here. */
	#calendar-widget .fc-list-view .fc-scroller { height: auto !important; overflow: visible !important; }
	/* Toolbar: month name on its own line; the month grid is too small to use, so phones keep the list. */
	#calendar-widget .fc-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
	#calendar-widget .fc-toolbar .fc-center { order: -1; flex-basis: 100%; text-align: left; }
	#calendar-widget .fc-toolbar .fc-right { display: none; }
	#calendar-widget .fc-toolbar h2 { float: none; font-size: var(--h5); margin: 0; }
	#calendar-widget .fc-button { min-height: 44px; min-width: 44px; font-size: var(--text-m); }
	/* Each date stacks: day heading, then time, then the venue across the full width. */
	#calendar-widget .fc-list-table { font-size: var(--text-m); }
	#calendar-widget .fc-list-heading td { padding: 12px 14px; font-weight: 700; }
	#calendar-widget .fc-list-item { display: flex; flex-wrap: wrap; align-items: center; padding: 12px 14px; }
	#calendar-widget .fc-list-item td { display: block; border: 0; padding: 0; }
	#calendar-widget .fc-list-item-marker { display: none; }
	#calendar-widget .fc-list-item-title { flex-basis: 100%; padding-top: 4px !important; font-weight: 600; }
}
