.tec-category-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 14px;
}

.tec-category-list li {
	position: relative;
	padding: 20px 24px 20px 28px;
	background: rgba(15, 12, 10, 0.62);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(199, 170, 56, 0.25);
	border-left: 4px solid #7e2c28;
	border-radius: 4px;
	transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.tec-category-list li:hover {
	background: rgba(15, 12, 10, 0.78);
	border-color: rgba(199, 170, 56, 0.6);
	border-left-color: #c7aa38;
	transform: translateX(4px);
}

/* Hide the <br> and stack title/date as blocks */
.tec-category-list li br {
	display: none;
}

.tec-category-list li a {
	display: block;
	color: #ffffff;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	transition: color 0.3s ease;
}

/* Make the whole card clickable */
.tec-category-list li a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.tec-category-list li:hover a {
	color: #c7aa38;
}

.tec-category-list li span {
	display: block;
	margin-top: 8px;
	color: #c7aa38;
	margin-top: 8px;
	color: #c7aa38;
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

span.tec-event-free {
	color: white !important;
}

/* Inner spans inside the schedule details shouldn't double up styles */
.tec-category-list li span span {
	display: inline;
	margin: 0;
}

/* Hide the shortcode widget entirely when there are no events */
.elementor-widget-shortcode:has(> .elementor-widget-container > .elementor-shortcode:empty),
.elementor-widget-shortcode:has(> .elementor-shortcode:empty) {
	display: none;
}

.tec-event-location {
	font-size: 1em;
}

/* Secondary links sit above the title's card-wide overlay. position:relative
   also shrinks their own ::after to just the link instead of the whole card. */
.tec-category-list li a.tec-event-location,
.tec-category-list li a.tec-event-tickets {
	position: relative;
	z-index: 1;
}

/* Own line like before, but only as wide as the text so the rest of the row
   still opens the event. */
.tec-category-list li a.tec-event-location {
	display: table;
}

.tec-event-location-icon {
	flex-shrink: 0;
	margin-right: 0.35em;
	vertical-align: -0.125em;
}

@media (max-width: 600px) {
	.tec-category-list li {
		padding: 16px 18px 16px 20px;
	}

	.tec-category-list li a {
		font-size: 1.1rem;
	}
}

.button {
	border: 1px solid var(--e-global-color-e921b76);
	color: var(--e-global-color-e921b76);
	display: inline-block !important;
	padding: .25em .5em;
	border-radius: 6px;
	margin-top: .5em;

}

.button:hover {
	background-color: var(--e-global-color-e921b76);
	color: white !important;
}
