/* Local Calendar of Events — scoped so Avada chrome stays unchanged. */
.bmc-cal {
	--bmc-red: #e10707;
	--bmc-ink: #1a1a1a;
	--bmc-muted: #5c636a;
	--bmc-line: #e4e7eb;
	--bmc-bg: #f6f7f9;
	box-sizing: border-box;
	margin: 0 0 2.5rem;
	font-family: inherit;
	color: var(--bmc-ink);
}

.bmc-cal *,
.bmc-cal *::before,
.bmc-cal *::after {
	box-sizing: border-box;
}

.fusion-text .bmc-cal p,
.fusion-text .bmc-cal h2,
.fusion-text .bmc-cal h3,
.post-content .bmc-cal p,
.post-content .bmc-cal h2,
.post-content .bmc-cal h3 {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
}

.fusion-text .bmc-cal h2.bmc-month-title,
.post-content .bmc-cal h2.bmc-month-title {
	display: inline-block;
	margin: 0 0 0.7rem;
	padding: 0 0 0.35rem;
	border: 0;
	border-bottom: 2px solid var(--bmc-red);
	color: var(--bmc-ink);
	font-size: 1.18rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.bmc-intro,
.fusion-text .bmc-cal p.bmc-intro,
.post-content .bmc-cal p.bmc-intro {
	margin: 0 0 1.5rem;
	max-width: 40rem;
	color: var(--bmc-muted);
	font-size: 1.05rem;
	line-height: 1.55;
}

.bmc-month,
.bmc-event {
	scroll-margin-top: 6.5rem;
}

.bmc-month {
	margin: 0 0 1.65rem;
}

.bmc-month-title {
	display: inline-block;
	margin: 0 0 0.7rem;
	padding: 0 0 0.35rem;
	border-bottom: 2px solid var(--bmc-red);
	color: var(--bmc-ink);
	font-size: 1.18rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.bmc-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.bmc-event {
	display: grid;
	grid-template-columns: 4.6rem minmax(0, 1fr);
	gap: 0.15rem 0.95rem;
	align-items: center;
	padding: 0.7rem 1rem 0.7rem 0.7rem;
	background: #fff;
	border: 1px solid var(--bmc-line);
	border-left-width: 3px;
	border-radius: 12px;
	box-shadow: 0 6px 18px rgba(17, 17, 17, 0.04);
}

.bmc-event--individual-leagues {
	border-left-color: #2e7d32;
	background: #f7fbf7;
}
.bmc-event--international-competition {
	border-left-color: #0277bd;
	background: #f6fafc;
}
.bmc-event--national-championships {
	border-left-color: #e65100;
	background: #fdf8f4;
}
.bmc-event--club-championship {
	border-left-color: #c9a227;
	background: #fdfbf4;
}
.bmc-event--public-holiday {
	border-left-color: #c62828;
	background: #fdf7f7;
	box-shadow: none;
}
.bmc-event--education {
	border-left-color: #6a1b9a;
	background: #faf7fc;
}
.bmc-event--local-event,
.bmc-event--local-events {
	border-left-color: #455a64;
	background: #f7f8f9;
}
.bmc-event--fun-competition,
.bmc-event--fun-competitions {
	border-left-color: #00838f;
	background: #f5fbfb;
}

.bmc-date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 2.7rem;
	padding: 0.2rem 0.2rem;
	text-align: center;
	line-height: 1.1;
}

.bmc-day {
	font-size: 1.28rem;
	font-weight: 700;
	color: var(--bmc-red);
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
}

.bmc-mon {
	margin-top: 0.08rem;
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bmc-muted);
}

.bmc-date--cross {
	min-height: 2.85rem;
}

.bmc-date--cross .bmc-day {
	font-size: 0.82rem;
	letter-spacing: 0;
	font-weight: 700;
}

.bmc-date--cross .bmc-mon {
	letter-spacing: 0.04em;
}

.bmc-main {
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.18rem;
}

.bmc-event-name {
	margin: 0;
	color: var(--bmc-ink);
	font-size: 1.05rem;
	font-weight: 650;
	line-height: 1.35;
	letter-spacing: -0.015em;
	overflow-wrap: anywhere;
}

.bmc-event-link {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.bmc-event-link:hover,
.bmc-event-link:focus {
	color: var(--bmc-red);
	border-bottom-color: currentColor;
}

.bmc-event-link:focus-visible {
	outline: 2px solid var(--bmc-ink);
	outline-offset: 2px;
}

.bmc-cat,
.fusion-text .bmc-cal p.bmc-cat,
.post-content .bmc-cal p.bmc-cat {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.07em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--bmc-muted);
}

.bmc-cat--individual-leagues,
.fusion-text .bmc-cal p.bmc-cat--individual-leagues { color: #2e7d32; }
.bmc-cat--international-competition,
.fusion-text .bmc-cal p.bmc-cat--international-competition { color: #0277bd; }
.bmc-cat--national-championships,
.fusion-text .bmc-cal p.bmc-cat--national-championships { color: #e65100; }
.bmc-cat--club-championship,
.fusion-text .bmc-cal p.bmc-cat--club-championship { color: #9a7b12; }
.bmc-cat--public-holiday,
.fusion-text .bmc-cal p.bmc-cat--public-holiday { color: #c62828; }
.bmc-cat--education,
.fusion-text .bmc-cal p.bmc-cat--education { color: #6a1b9a; }
.bmc-cat--local-event,
.bmc-cat--local-events,
.fusion-text .bmc-cal p.bmc-cat--local-event,
.fusion-text .bmc-cal p.bmc-cat--local-events { color: #455a64; }
.bmc-cat--fun-competition,
.bmc-cat--fun-competitions,
.fusion-text .bmc-cal p.bmc-cat--fun-competition,
.fusion-text .bmc-cal p.bmc-cat--fun-competitions { color: #00838f; }

.bmc-event.is-past {
	opacity: 0.62;
	box-shadow: none;
}

.bmc-event.is-past .bmc-day {
	color: #6b7280;
}

.bmc-event.is-current {
	border-color: #f3c4c4;
	box-shadow: 0 0 0 1px rgba(225, 7, 7, 0.16), 0 6px 18px rgba(17, 17, 17, 0.05);
}

@media (max-width: 640px) {
	.bmc-event {
		grid-template-columns: 3.9rem minmax(0, 1fr);
		align-items: start;
		padding: 0.65rem 0.8rem 0.7rem 0.6rem;
		gap: 0.1rem 0.75rem;
	}

	.bmc-day {
		font-size: 1.18rem;
	}

	.bmc-date--cross .bmc-day {
		font-size: 0.78rem;
	}
}

@media (max-width: 520px) {
	.bmc-event {
		grid-template-columns: 3.7rem minmax(0, 1fr);
	}

	.bmc-event-name {
		font-size: 1rem;
	}

	.bmc-cat,
	.fusion-text .bmc-cal p.bmc-cat,
	.post-content .bmc-cal p.bmc-cat {
		font-size: 12px;
	}
}
