/* HUB Tools: Event Organiser calendar tweaks (loaded only on pages with [eo_fullcalendar]). */

/* Radio Show entries: quieter than community events (cream with a maroon edge). */
.eo-fullcalendar .fc-event.eo-event-cat-radio-show,
.eo-fullcalendar .fc-event.eo-event-cat-radio-show:hover {
	background: #F4EBDC !important;
	border-color: #F4EBDC !important;
	border-left: 3px solid #7C211E !important;
	color: #5a4a3f !important;
	font-weight: 400;
}
.eo-fullcalendar .fc-event.eo-event-cat-radio-show .fc-content,
.eo-fullcalendar .fc-event.eo-event-cat-radio-show .fc-title,
.eo-fullcalendar .fc-event.eo-event-cat-radio-show .fc-time { color: #5a4a3f !important; }

/* Multi-day events in the list view show their date range instead of a start time. */
.eo-fullcalendar .hubt-multiday .hubt-range { font-weight: 700; margin-right: .4em; white-space: nowrap; }

/* Category dropdown (headerright "category") in brand style. */
.eo-fullcalendar .eo-fc-filter {
	font-family: Roboto, Arial, sans-serif;
	font-size: 14px;
	padding: 4px 8px;
	border: 1px solid #7C211E;
	border-radius: 4px;
	background: #fff;
	color: #7C211E;
	max-width: 100%;
}

/* 1.2.2: list day headers ("Saturday" left, "Nov 21" right), same as Event Organiser's own list views. */
.fc-listUpcoming-view .fc-row .fc-content-skeleton .fc-day-number,
.hubt-list-upcoming .fc-row .fc-content-skeleton .fc-day-number {
	text-align: left;
	line-height: 2em;
	border-bottom: 1px solid #DBDADA;
	font-weight: bold;
}
.fc-listUpcoming-view .fc-row .fc-content-skeleton .fc-day-number .fc-list-header-left,
.hubt-list-upcoming .fc-row .fc-content-skeleton .fc-day-number .fc-list-header-left { float: left; padding-left: 5px; }
.fc-listUpcoming-view .fc-row .fc-content-skeleton .fc-day-number .fc-list-header-right,
.hubt-list-upcoming .fc-row .fc-content-skeleton .fc-day-number .fc-list-header-right { float: right; padding-right: 5px; color: #666; }
.fc-listUpcoming-view tbody .fc-row, .hubt-list-upcoming tbody .fc-row { min-height: 2em; }
.fc-listUpcoming-view .fc-day-grid-event, .hubt-list-upcoming .fc-day-grid-event { margin: 0 2px 1px; }
.fc-listUpcoming-view .fc-row .fc-content-skeleton, .hubt-list-upcoming .fc-row .fc-content-skeleton { padding-bottom: 0; }

/* 1.2.3: phones get a Month button next to List (Event Organiser hides it below 512px),
   and a compact month grid: small one-line titles, no times, "+N" per day. Desktop unchanged. */
@media (max-width: 512px) {
	.eo-fullcalendar-responsive .fc-toolbar .fc-month-button { display: inline-block !important; }
	.eo-fullcalendar .fc-toolbar .fc-right .fc-button { min-height: 40px; padding: 0 14px; font-size: 15px; }
	.eo-fullcalendar .fc-month-view .fc-day-header { font-size: 12px; padding: 2px 0; }
	.eo-fullcalendar .fc-month-view .fc-day-number { font-size: 12px; padding: 1px 3px; }
	.eo-fullcalendar .fc-month-view .fc-day-grid-event { margin: 1px 1px 0; padding: 0 2px; border-radius: 2px; }
	.eo-fullcalendar .fc-month-view .fc-day-grid-event .fc-content { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 10px; line-height: 1.5; }
	.eo-fullcalendar .fc-month-view .fc-day-grid-event .fc-time { display: none; }
	.eo-fullcalendar .fc-month-view .fc-more { display: block; text-align: center; font-size: 12px; font-weight: 700; color: #7C211E; padding: 3px 0; text-decoration: underline; white-space: nowrap; }
	.eo-fullcalendar .fc-month-view .fc-day-number a.hubt-day-link { display: inline-block; min-width: 24px; padding: 2px 2px 3px; text-align: right; color: inherit; text-decoration: underline; text-decoration-color: rgba(124,33,30,.35); cursor: pointer; }
}
