.ecl {
	--ecl-navy: #121750;
	--ecl-yellow: #FCB411;
	--ecl-amber: #FD760A;
	--ecl-canvas: #F3F4F9;
	--ecl-text: #121750;
	--ecl-muted: #4A4C63;
	--ecl-line: color-mix(in srgb, var(--ecl-navy) 14%, var(--ecl-canvas));
	color: var(--ecl-text);
	font-family: "Gotham", "Gotham Book", "Montserrat", sans-serif;
}

.ecl a {
	color: var(--ecl-navy);
}

.ecl a:focus-visible,
.ecl button:focus-visible {
	outline: 2px solid #B270FA;
	outline-offset: 2px;
}

.ecl-archive-header,
.ecl-single-header {
	margin-bottom: 1.5rem;
}

.ecl-archive-title,
.ecl-single-title,
.ecl-month-label {
	font-family: "Gotham Black", "Gotham", "Montserrat", sans-serif;
	color: var(--ecl-navy);
	line-height: 1.15;
}

.ecl-archive-description {
	max-width: 42rem;
	color: var(--ecl-muted);
}

.ecl-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	align-items: center;
	margin-top: 1rem;
}

.ecl-view-switch {
	display: inline-flex;
	padding: 0.2rem;
	background: var(--ecl-canvas);
	border-radius: 999px;
}

.ecl-view-link,
.ecl-past-toggle,
.ecl-page-link,
.ecl-month-prev,
.ecl-month-next {
	text-decoration: none;
	font-weight: 600;
}

.ecl-view-link {
	padding: 0.4rem 0.9rem;
	border-radius: 999px;
	color: var(--ecl-navy);
}

.ecl-view-link.is-active {
	background: var(--ecl-navy);
	color: #fff;
}

.ecl-past-toggle {
	color: var(--ecl-amber);
}

.ecl-empty {
	padding: 1.5rem;
	background: var(--ecl-canvas);
	border-radius: 0.75rem;
}

.ecl-list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
	align-items: stretch;
}

.ecl-list--n-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ecl-list--n-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ecl-list--n-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ecl-list--n-2 .ecl-card,
.ecl-list--n-3 .ecl-card,
.ecl-list--n-4 .ecl-card {
	grid-template-columns: minmax(0, 1fr);
	align-content: start;
	height: 100%;
}

.ecl-list--n-3 .ecl-card-title,
.ecl-list--n-4 .ecl-card-title {
	font-size: 1.05rem;
}

.ecl-card {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 1rem;
	padding: 1rem;
	background: #fff;
	border: 1px solid var(--ecl-line);
	border-radius: 0.75rem;
}

.ecl-card-media {
	display: block;
	border-radius: 0.5rem;
	overflow: hidden;
	background: var(--ecl-canvas);
}

.ecl-card-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 4 / 3;
}

.ecl-card-date,
.ecl-single-when {
	margin: 0 0 0.35rem;
	color: var(--ecl-amber);
	font-weight: 700;
}

.ecl-card-title {
	margin: 0 0 0.35rem;
	font-size: 1.35rem;
}

.ecl-card-title a {
	text-decoration: none;
}

.ecl-card-title a:hover {
	text-decoration: underline;
}

.ecl-card-meta,
.ecl-card-excerpt,
.ecl-summary,
.ecl-horizon {
	margin: 0;
	color: var(--ecl-muted);
}

.ecl-card-excerpt {
	margin-top: 0.5rem;
}

.ecl-card-excerpt a {
	color: var(--ecl-navy);
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

.ecl-card-excerpt a:hover {
	text-decoration-thickness: 2px;
}

.ecl-pagination {
	display: flex;
	gap: 1rem;
	align-items: center;
	margin-top: 1.25rem;
}

.ecl-page-link {
	padding: 0.45rem 0.8rem;
	border-radius: 999px;
	background: var(--ecl-navy);
	color: #fff;
}

.ecl-month-nav {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.ecl-month-nav .ecl-month-label {
	margin: 0;
	text-align: center;
	font-size: 1.75rem;
}

.ecl .ecl-month-prev,
.ecl .ecl-month-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.4rem;
	padding: 0.45rem 0.95rem;
	border-radius: 999px;
	background: var(--ecl-navy);
	color: #fff;
	line-height: 1.2;
	white-space: nowrap;
}

.ecl .ecl-month-prev:hover,
.ecl .ecl-month-next:hover {
	color: #fff;
	background: color-mix(in srgb, var(--ecl-navy) 82%, white);
}

.ecl-month-scroll {
	overflow-x: auto;
}

.ecl-month {
	width: 100%;
	min-width: 720px;
	border-collapse: collapse;
	table-layout: fixed;
	background: #fff;
}

.ecl-month th,
.ecl-month td {
	border: 1px solid var(--ecl-line);
	vertical-align: top;
}

.ecl-month th {
	padding: 0.5rem;
	background: var(--ecl-navy);
	color: #fff;
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ecl-day {
	height: 7.5rem;
	padding: 0.35rem;
	background: #fff;
}

.ecl-day.is-outside {
	background: var(--ecl-canvas);
	color: var(--ecl-muted);
}

.ecl-day.is-today {
	box-shadow: inset 0 0 0 2px var(--ecl-yellow);
}

.ecl-day-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 0.25rem;
	font-weight: 700;
}

.ecl-day-weekday {
	display: none;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--ecl-muted);
}

.ecl-day-events {
	display: grid;
	gap: 0.25rem;
}

.ecl-chip {
	display: block;
	padding: 0.15rem 0.35rem;
	border-radius: 0.25rem;
	background: var(--ecl-navy);
	color: #fff;
	font-size: 0.75rem;
	line-height: 1.3;
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ecl-chip.is-continued {
	background: transparent;
	color: var(--ecl-navy);
	border: 1px dashed color-mix(in srgb, var(--ecl-navy) 45%, white);
}

.ecl-chip-time {
	display: block;
	color: var(--ecl-yellow);
	font-size: 0.68rem;
}

.ecl-chip.is-continued .ecl-chip-time {
	color: var(--ecl-amber);
}

.ecl-more {
	margin-top: 0.15rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ecl-amber);
	font: inherit;
	font-size: 0.72rem;
	font-weight: 700;
	cursor: pointer;
	text-align: left;
}

.ecl-horizon {
	margin-top: 0.75rem;
	font-size: 0.9rem;
}

.ecl-event-single .ecl-event-single__article {
	box-sizing: border-box;
	width: min(100%, 44rem);
	max-width: 44rem;
	margin-right: auto;
	margin-left: auto;
	padding: 0.5rem 1.5rem 3rem;
}

.ecl-event-single .ecl-event-single__media {
	width: min(100%, 32rem);
	max-width: 32rem;
	margin: 0 auto 1.5rem;
}

.ecl-event-single .ecl-event-single__image {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	border-radius: 0.75rem;
}

.ecl-event-single .ecl-single-content {
	margin-top: 1.25rem;
	line-height: 1.6;
}

.ecl-kicker {
	margin: 0 0 0.4rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 0.8rem;
}

.ecl-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
	gap: 0.75rem;
	margin: 0 0 1.25rem;
}

.ecl-facts div {
	padding: 0.75rem 0.9rem;
	background: var(--ecl-canvas);
	border-radius: 0.5rem;
}

.ecl-facts dt {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ecl-muted);
}

.ecl-facts dd {
	margin: 0.2rem 0 0;
}

.ecl-external a {
	display: inline-block;
	padding: 0.55rem 0.95rem;
	border-radius: 999px;
	background: var(--ecl-yellow);
	color: var(--ecl-navy);
	font-weight: 700;
	text-decoration: none;
}

.ecl-upcoming ul {
	margin: 0;
	padding-left: 1.1rem;
}

.ecl-expired-notice {
	padding: 0.75rem 1rem;
	background: #fff4e5;
	border-left: 4px solid var(--ecl-amber);
}

.ecl-widget-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ecl-widget-list li + li {
	margin-top: 0.75rem;
}

.ecl-widget-date {
	display: block;
	color: var(--ecl-amber);
	font-size: 0.85rem;
	font-weight: 700;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

@media (max-width: 700px) {
	.ecl-list--n-2,
	.ecl-list--n-3,
	.ecl-list--n-4 {
		grid-template-columns: minmax(0, 1fr);
	}

	.ecl-card {
		grid-template-columns: 1fr;
	}

	.ecl-month-nav .ecl-month-label {
		font-size: 1.15rem;
	}

	.ecl .ecl-month-prev,
	.ecl .ecl-month-next {
		min-height: 2.25rem;
		padding: 0.5rem 0.8rem;
		font-size: 0.85rem;
	}

	.ecl-month {
		min-width: 0;
		width: 100%;
	}

	.ecl-month tbody tr {
		display: none;
	}

	.ecl-month tbody tr.is-current-week {
		display: table-row;
	}

	.ecl-month th {
		padding: 0.3rem 0.15rem;
		font-size: 0.65rem;
	}

	.ecl-day {
		height: auto;
		min-height: 4.25rem;
		padding: 0.28rem 0.15rem;
	}

	.ecl-chip {
		white-space: normal;
		padding: 0.1rem 0.2rem;
		font-size: 0.65rem;
	}
}

/* Center the events page container */
main#primary.site-main.ecl {
  float: none;
  width: 100%;
  max-width: 1100px;      /* adjust to taste */
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* Header, toolbar, and month nav */
.ecl-archive-header,
.ecl-month-wrap,
.ecl-month-nav {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.ecl-archive-title,
.ecl-month-label {
  text-align: center;
}

.ecl-toolbar {
  display: flex;
  justify-content: center;
}

.ecl-month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Calendar table */
.ecl-month-scroll {
  width: 100%;
  overflow-x: auto;
}

.ecl-month {
  width: 100%;
  margin: 0 auto;
  table-layout: fixed;
  border-collapse: collapse;
}

.ecl-month th,
.ecl-month td {
  vertical-align: top;
  border: 1px solid #e2e2e2;
  padding: 6px;
}

.ecl-month th {
  text-align: center;
}

/* Weekday labels inside cells are redundant with the header on desktop */
@media (min-width: 768px) {
  .ecl-day-weekday { display: none; }
  .ecl-day { height: 110px; }
}

.ecl-day.is-outside { opacity: 0.5; }
.ecl-day.is-today { background: #fffbe6; }

.ecl-horizon {
  text-align: center;
}

/* Make the calendar fill the same width as the Prev/Next nav */
.ecl .ecl-month-wrap,
.ecl .ecl-month-scroll {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.ecl .ecl-month-scroll {
  overflow-x: auto;
}

.ecl table.ecl-month {
  width: 100% !important;
  min-width: 100%;
  table-layout: fixed;   /* equal-width columns, so a long event title can't stretch one */
  border-collapse: collapse;
}

.ecl table.ecl-month th,
.ecl table.ecl-month td {
  width: 14.2857%;       /* 1/7 each */
}

/* Event links white */
.ecl .ecl-chip,
.ecl .ecl-chip:link,
.ecl .ecl-chip:visited,
.ecl .ecl-chip:hover,
.ecl .ecl-chip:focus,
.ecl .ecl-chip .ecl-chip-title {
  color: #fff !important;
}

body .ecl-month-wrap,
body .ecl-month-scroll {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
}

body table.ecl-month {
  width: 100% !important;
  min-width: 100% !important;
  table-layout: fixed !important;
}

body table.ecl-month th,
body table.ecl-month td {
  width: 14.2857% !important;
}

/* Force whatever is inside the scroll box to fill it */
body .ecl-month-scroll {
  display: block !important;
  width: 100% !important;
  overflow-x: auto;
}

body .ecl-month-scroll > table,
body .ecl-month-scroll table {
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  table-layout: fixed !important;
}

body .ecl-month-scroll table th,
body .ecl-month-scroll table td {
  width: 14.2857% !important;
}

/* Extra space above the title and below the footnote */
body .ecl-archive-title {
  padding-top: 40px !important;
}

body .ecl-horizon {
  padding-bottom: 40px !important;
  margin-bottom: 0 !important;
}

html body #primary.ecl .ecl-month-wrap .ecl-month-scroll {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

html body #primary.ecl .ecl-month-wrap .ecl-month-scroll table.ecl-month {
  display: table !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  table-layout: fixed !important;
  outline: 4px solid red !important;   /* temporary */
}

html body #primary.ecl .ecl-month-wrap .ecl-month-scroll table.ecl-month th,
html body #primary.ecl .ecl-month-wrap .ecl-month-scroll table.ecl-month td {
  width: 14.2857% !important;
}

/* Links inside the event description: pill-style highlight */
body #primary .ecl-single-content a {
  display: inline-block;
  background: #fdb515;          /* match the yellow of the ticket link; adjust if needed */
  color: #14194f !important;    /* navy text, adjust to your --ecl-navy */
  font-weight: 700;
  text-decoration: none !important;
  padding: 0.2em 0.75em;
  border-radius: 999px;
  line-height: 1.4;
  transition: background 0.2s ease, color 0.2s ease;
}

body #primary .ecl-single-content a:hover,
body #primary .ecl-single-content a:focus {
  background: #14194f;
  color: #fff !important;
}

/* Space above the title */
body #primary .ecl-single-article .ecl-single-header {
  padding-top: 40px !important;
}

/* Space below the description */
body #primary .ecl-single-article .ecl-single-content {
  padding-bottom: 40px !important;
}