.mod-gcalendar { max-width: 100%; }
.mod-gcalendar .fc-event { border: 0; padding: 1px 3px; cursor: pointer; }

.mod-gcalendar .gcal-legend { list-style: none; margin: 12px 0 0; padding: 0;
	display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9rem; }
.mod-gcalendar .gcal-swatch { display: inline-block; width: 12px; height: 12px;
	border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

@media (max-width: 767px) {
	.mod-gcalendar .fc-toolbar-title { font-size: 1.1rem; }
	.mod-gcalendar .fc-button { padding: .3em .55em; font-size: .85rem; }
	.mod-gcalendar .fc-list-event-title { white-space: normal; }
}

.mod-gcalendar .gcal-modal { position: fixed; inset: 0; z-index: 99999; display: flex;
	align-items: center; justify-content: center; padding: 12px; background: rgba(0,0,0,.55); }
.mod-gcalendar .gcal-modal[hidden] { display: none; }
.mod-gcalendar .gcal-box { position: relative; background: #fff; color: #222; width: 100%;
	max-width: 480px; max-height: 85vh; overflow-y: auto; border-radius: 10px;
	padding: 20px 20px 16px; border-top: 6px solid #039be5; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.mod-gcalendar .gcal-box h3 { margin: 0 28px 10px 0; font-size: 1.25rem; line-height: 1.25; }
.mod-gcalendar .gcal-row { margin: 6px 0; font-size: .95rem; }
.mod-gcalendar .gcal-m-desc { white-space: pre-line; overflow-wrap: anywhere; }
.mod-gcalendar .gcal-close { position: absolute; top: 8px; right: 10px; border: 0; background: none;
	font-size: 1.8rem; line-height: 1; cursor: pointer; color: #555; }
.mod-gcalendar .gcal-m-link { display: inline-block; margin-top: 12px; font-weight: 600; }
.mod-gcalendar .gcal-error { padding: 12px; background: #fdecea; color: #8a1f17; border-radius: 6px; }
