/* ==========================================================================
   360 Comedy: Upcoming Shows
   ========================================================================== */

.c360s {
	--c360s-cols: 3;
	--c360s-col-gap: 26px;
	--c360s-row-gap: 64px;
	--c360s-ratio: 8 / 7;
	--c360s-img-pos: top;
	--c360s-ink: #ffffff;
	--c360s-card-bg: transparent;
	--c360s-line: rgba(220, 229, 239, 0.9);
	--c360s-search-bg: transparent;
	--c360s-search-ink: #ffffff;
	--c360s-search-placeholder: rgba(226, 233, 241, 0.88);
	--c360s-search-line: rgba(220, 229, 239, 0.9);
	--c360s-focus: #f6be29;
	--c360s-sort-bg: #ffffff;
	--c360s-sort-ink: #0b1422;
	--c360s-control-h: 72px;
	--c360s-btn: #f6be29;
	--c360s-btn-ink: #0b1422;
	--c360s-btn2: #22467a;
	--c360s-btn2-ink: #ffffff;
	--c360s-filter-ink: rgba(226, 233, 241, 0.92);
	--c360s-check-line: rgba(226, 233, 241, 0.85);
	--c360s-check-on: #f6be29;
	--c360s-badge: #ff3b0e;
	--c360s-group-gap: 1.1em;
	--c360s-lift: 0px;
	--c360s-zoom: 1;
	--c360s-font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	width: 100%;
	color: var(--c360s-ink);
	font-family: var(--c360s-font);
}

@media (max-width: 1024px) { .c360s { --c360s-cols: 2; --c360s-row-gap: 40px; } }
@media (max-width: 767px)  { .c360s { --c360s-cols: 1; --c360s-row-gap: 28px; --c360s-control-h: 56px; } }

/* Elementor: take the container's width (see the note in live-stream.css). */
.e-con-inner > .elementor-widget-c360_upcoming_shows,
.e-con > .elementor-widget-c360_upcoming_shows {
	width: var(--container-widget-width, 100%);
	--flex-grow: var(--container-widget-flex-grow, 1);
	flex-grow: var(--container-widget-flex-grow, 1);
	min-width: min(100%, 280px);
}
.elementor-widget-c360_upcoming_shows > .elementor-widget-container {
	width: 100%;
}

.c360s *,
.c360s *::before,
.c360s *::after {
	box-sizing: border-box;
}
.c360s .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.c360s [hidden] {
	display: none !important;
}

/* ---- Toolbar ---- */
.c360s .c360s__toolbar {
	display: flex;
	gap: 28px;
	align-items: stretch;
	margin: 0 0 60px;
	padding: 0;
}

.c360s__search {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
	height: var(--c360s-control-h);
	overflow: hidden;
	border: 2px solid var(--c360s-search-line);
	border-radius: 8px;
	background: var(--c360s-search-bg);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.c360s__search:focus-within {
	border-color: var(--c360s-focus);
	box-shadow: 0 0 0 1px var(--c360s-focus);
}
.c360s .c360s__search input.c360s__search-input,
.c360s .c360s__search input.c360s__search-input:focus {
	flex: 1;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0 8px 0 22px;
	border: 0;
	border-radius: 0;
	outline: none;
	background: transparent;
	box-shadow: none;
	color: var(--c360s-search-ink);
	font-family: var(--c360s-font);
	font-size: clamp(15px, 1.6vw, 22px);
	font-weight: 600;
	letter-spacing: 0.02em;
	-webkit-appearance: none;
	appearance: none;
}
.c360s .c360s__search input.c360s__search-input::placeholder {
	text-overflow: ellipsis;
	color: var(--c360s-search-placeholder);
	opacity: 1;
	text-transform: uppercase;
}
.c360s .c360s__search input.c360s__search-input::-webkit-search-cancel-button {
	filter: invert(1);
	cursor: pointer;
}
.c360s .c360s__search button.c360s__search-btn,
.c360s .c360s__search button.c360s__search-btn:hover,
.c360s .c360s__search button.c360s__search-btn:focus {
	display: grid;
	flex: none;
	place-items: center;
	width: calc(var(--c360s-control-h) - 4px);
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--c360s-search-ink);
	cursor: pointer;
}
.c360s__search-btn svg {
	width: 44%;
	height: 44%;
}
.c360s .c360s__search button.c360s__search-btn:focus-visible {
	outline: 2px solid var(--c360s-focus);
	outline-offset: -6px;
}

.c360s__sort {
	position: relative;
	display: flex;
	flex: 0 0 290px;
	align-items: center;
	width: 290px;
	height: var(--c360s-control-h);
	border-radius: 8px;
	background: var(--c360s-sort-bg);
	color: var(--c360s-sort-ink);
}
.c360s__sort:focus-within {
	box-shadow: 0 0 0 3px var(--c360s-focus);
}
.c360s .c360s__sort .c360s__sort-label {
	flex: none;
	margin: 0;
	padding-left: 18px;
	color: var(--c360s-sort-ink);
	font-family: var(--c360s-font);
	font-size: clamp(15px, 1.6vw, 22px);
	font-weight: 700;
	white-space: nowrap;
}
.c360s .c360s__sort select.c360s__sort-select,
.c360s .c360s__sort select.c360s__sort-select:focus {
	flex: 1;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0 52px 0 10px;
	border: 0;
	border-radius: 8px;
	outline: none;
	background: transparent;
	box-shadow: none;
	color: var(--c360s-sort-ink);
	font-family: var(--c360s-font);
	font-size: clamp(13px, 1.2vw, 16px);
	font-weight: 500;
	text-overflow: ellipsis;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.c360s__sort-caret {
	position: absolute;
	top: 50%;
	right: 18px;
	width: 30px;
	height: 20px;
	color: var(--c360s-sort-ink);
	transform: translateY(-50%);
	pointer-events: none;
}

/* ---- Grid & cards ---- */
.c360s .c360s__grid {
	display: grid;
	grid-template-columns: repeat(var(--c360s-cols), minmax(0, 1fr));
	gap: var(--c360s-row-gap) var(--c360s-col-gap);
	margin: 0;
	padding: 0;
	list-style: none;
	transition: opacity 0.2s ease;
}
.c360s.is-loading .c360s__grid {
	opacity: 0.55;
}
.c360s .c360s__grid > li {
	margin: 0;
	padding: 0;
}
.c360s .c360s__grid > li::before,
.c360s .c360s__grid > li::marker {
	content: none;
}

.c360s .c360s-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	container-type: inline-size;
	border: 2px solid var(--c360s-line);
	border-radius: 6px;
	background: var(--c360s-card-bg);
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.c360s .c360s-card:hover {
	transform: translateY(calc(var(--c360s-lift) * -1));
}
.c360s .c360s-card.is-new {
	animation: c360s-in 0.35s ease-out both;
}
@keyframes c360s-in {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: none; }
}

.c360s .c360s-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: var(--c360s-ratio);
	background: #0b1422;
}
.c360s .c360s-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	border: 0;
	border-radius: 0;
	object-fit: cover;
	object-position: center var(--c360s-img-pos);
	transition: transform 0.35s ease;
}
.c360s .c360s-card:hover .c360s-card__media img {
	transform: scale(var(--c360s-zoom));
}

.c360s .c360s-card__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	display: inline-flex;
	gap: 6px;
	align-items: center;
	padding: 4px 9px;
	border-radius: 5px;
	background: var(--c360s-badge);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.3;
}
.c360s .c360s-card__badge::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	animation: c360s-pulse 1.6s ease-in-out infinite;
}
.c360s .c360s-card__badge--inline {
	position: static;
	align-self: flex-start;
	margin-bottom: 8px;
}
@keyframes c360s-pulse {
	50% { opacity: 0.3; }
}

.c360s-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: clamp(10px, 2.2cqi, 14px) clamp(8px, 2cqi, 12px) clamp(14px, 4cqi, 18px);
}

.c360s .c360s-card .c360s-card__title {
	margin: 0 0 var(--c360s-group-gap);
	padding: 0;
	color: var(--c360s-ink);
	font-family: var(--c360s-font);
	font-size: clamp(16px, 5.6cqi, 22px);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: uppercase;
}
.c360s .c360s-card .c360s-card__line {
	margin: 0 0 var(--c360s-group-gap);
	padding: 0;
	color: var(--c360s-ink);
	font-family: var(--c360s-font);
	font-size: clamp(14px, 5.2cqi, 20px);
	font-weight: 400;
	line-height: 1.22;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}
.c360s .c360s-card .c360s-card__line time {
	font: inherit;
	color: inherit;
}

/* Repeat line ("EVERY SATURDAY") */
.c360s .c360s-card .c360s-card__repeat {
	color: var(--c360s-repeat-ink, var(--c360s-ink));
	font-weight: 700;
	letter-spacing: 0.04em;
}

/* Event description */
.c360s .c360s-card .c360s-card__desc {
	color: var(--c360s-desc-ink, var(--c360s-ink));
	font-size: clamp(13px, 4.3cqi, 17px);
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: 0;
	text-transform: none;
	white-space: normal;
	overflow-wrap: anywhere;
}
.c360s .c360s-card .c360s-card__desc p {
	margin: 0 0 0.75em;
	padding: 0;
	font: inherit;
	color: inherit;
}
.c360s .c360s-card .c360s-card__desc p:last-child {
	margin-bottom: 0;
}
.c360s .c360s-card .c360s-card__desc a {
	color: inherit;
	text-decoration: underline;
}
/* Trim to a set number of lines, with a plain max-height fallback. */
.c360s .c360s-card .c360s-card__desc.is-clamped {
	overflow: hidden;
	max-height: calc(1.45em * var(--c360s-desc-lines, 3));
}
@supports (-webkit-line-clamp: 2) {
	.c360s .c360s-card .c360s-card__desc.is-clamped {
		display: -webkit-box;
		max-height: none;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: var(--c360s-desc-lines, 3);
	}
	.c360s .c360s-card .c360s-card__desc.is-clamped p {
		display: inline;
	}
	.c360s .c360s-card .c360s-card__desc.is-clamped p::after {
		content: " ";
	}
}

.c360s .c360s-card a.c360s-card__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(52px, 20cqi, 80px);
	margin: 0;
	padding: 0.35em 0.6em;
	border: 0 solid transparent;
	border-radius: 6px;
	background-color: var(--c360s-btn);
	color: var(--c360s-btn-ink);
	font-family: var(--c360s-font);
	font-size: clamp(18px, 8cqi, 32px);
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
	transition: filter 0.15s ease, transform 0.15s ease;
}
.c360s .c360s-card a.c360s-card__btn:hover {
	color: var(--c360s-btn-ink);
	filter: brightness(1.07);
	text-decoration: none;
}
.c360s .c360s-card a.c360s-card__btn:active {
	transform: translateY(1px);
}
.c360s .c360s-card a.c360s-card__btn:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

/* ---- Card buttons ---- */
.c360s .c360s-card__actions {
	display: flex;
	flex-direction: column;
	gap: clamp(10px, 4.6cqi, 18px);
	margin: auto clamp(8px, 3.2cqi, 12px) 0;
}
/* With Get Tickets, Watch Live becomes the secondary (navy) button. */
.c360s.c360s--tickets .c360s-card a.c360s-card__btn--watch,
.c360s.c360s--tickets .c360s-card a.c360s-card__btn--watch:hover {
	background-color: var(--c360s-btn2);
	color: var(--c360s-btn2-ink);
}

/* ---- Filter by ---- */
.c360s.c360s--has-filters .c360s__toolbar {
	margin-bottom: 18px;
}
.c360s .c360s__filters {
	margin: 0 0 56px;
	padding: 0 0 0 22px;
}
.c360s .c360s__filters-label {
	margin: 0 0 8px;
	color: var(--c360s-filter-ink);
	font-family: var(--c360s-font);
	font-size: clamp(15px, 1.5vw, 20px);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}
.c360s fieldset.c360s__filter-group {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 26px;
	min-width: 0;
	margin: 0 0 10px;
	padding: 0;
	border: 0;
}
.c360s label.c360s__check {
	display: inline-flex;
	gap: 14px;
	align-items: center;
	margin: 0;
	padding: 2px 0;
	color: var(--c360s-filter-ink);
	font-family: var(--c360s-font);
	font-size: clamp(15px, 1.55vw, 21px);
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	cursor: pointer;
}
.c360s .c360s__check input[type="checkbox"] {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0;
	padding: 0;
	border: 1.5px solid var(--c360s-check-line);
	border-radius: 2px;
	background: transparent center / 80% no-repeat;
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
	-webkit-appearance: none;
	appearance: none;
}
.c360s .c360s__check:hover input[type="checkbox"]:not(:checked) {
	border-color: #ffffff;
}
.c360s .c360s__check input[type="checkbox"]:checked {
	border-color: var(--c360s-check-on);
	background-color: var(--c360s-check-on);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%230b1422' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.c360s .c360s__check input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--c360s-focus);
	outline-offset: 2px;
}

/* ---- Empty state ---- */
.c360s .c360s__grid > li.c360s__empty {
	grid-column: 1 / -1;
	padding: 48px 16px;
	text-align: center;
}
.c360s .c360s__empty p {
	margin: 0 0 14px;
	color: var(--c360s-ink);
	font-size: 18px;
}
.c360s button.c360s__clear,
.c360s button.c360s__clear:hover,
.c360s button.c360s__clear:focus {
	margin: 0;
	padding: 10px 18px;
	border: 2px solid var(--c360s-line);
	border-radius: 6px;
	background: transparent;
	box-shadow: none;
	color: var(--c360s-ink);
	font: 600 15px/1.2 var(--c360s-font);
	cursor: pointer;
}
.c360s button.c360s__clear:hover {
	border-color: var(--c360s-focus);
}

/* ---- See more ---- */
.c360s__more-wrap {
	margin-top: 48px;
	text-align: center;
}
.c360s a.c360s__more {
	display: inline-block;
	padding: 8px 4px;
	color: rgba(226, 233, 241, 0.92);
	font-family: var(--c360s-font);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}
.c360s a.c360s__more:hover {
	color: #fff;
}
.c360s a.c360s__more:focus-visible {
	outline: 2px solid var(--c360s-focus);
	outline-offset: 4px;
}
.c360s a.c360s__more[aria-disabled="true"] {
	pointer-events: none;
	opacity: 0.7;
	text-decoration: none;
}

/* ---- Small screens ---- */
@media (max-width: 767px) {
	.c360s .c360s__toolbar {
		flex-direction: column;
		gap: 12px;
		margin-bottom: 28px;
	}
	.c360s__sort {
		flex-basis: auto;
		width: 100%;
	}
	.c360s .c360s__search input.c360s__search-input,
	.c360s .c360s__search input.c360s__search-input:focus {
		padding-left: 14px;
		font-size: 14px;
		letter-spacing: 0;
	}
	.c360s .c360s__search button.c360s__search-btn,
	.c360s .c360s__search button.c360s__search-btn:hover,
	.c360s .c360s__search button.c360s__search-btn:focus {
		width: 44px;
	}
}
@media (max-width: 375px) {
	.c360s .c360s__search input.c360s__search-input,
	.c360s .c360s__search input.c360s__search-input:focus {
		padding-left: 12px;
		font-size: 12.5px;
	}
	.c360s .c360s__filters {
		margin-bottom: 28px;
		padding-left: 0;
	}
	.c360s fieldset.c360s__filter-group {
		gap: 6px 18px;
	}
	.c360s label.c360s__check {
		gap: 10px;
		font-size: 15px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.c360s .c360s-card,
	.c360s .c360s-card__media img,
	.c360s .c360s-card a.c360s-card__btn {
		transition: none;
	}
	.c360s .c360s-card.is-new,
	.c360s .c360s-card__badge::before {
		animation: none;
	}
}
