/* Shared category layout */
.category-layout {
	display: grid;
	gap: 0;
	position: relative;
}

.category-layout__filters {
	align-self: flex-start;
}

.category-layout__content {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}

.category-toolbar {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	padding: 1.5rem;
	max-width: none;
}

.category-filters__form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
.filters-wrapper {
	position: relative;
	z-index: 3;
}
@media screen and (max-width: 991px) {
	.filters-form {
		display: none;
	}
	.category-layout.is-fixed #categoryContentLayoutWrapper {
		padding-top: 55px!important;
	}
}

.category-filters__grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: minmax(50%, 1fr) minmax(0, 3fr);
	max-height: 50vh;
	overflow: auto;
}

@media screen and (max-width: 576px){
	.category-filters__grid {
		grid-template-columns: none;
	}
}

.category-filters__item {
	min-width: 0;
}

.category-filters__label {
	display: block;
	margin-bottom: 0.4rem;
	font-weight: 600;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.category-filters__select {
	width: 100%;
	padding: 0.5rem 0.75rem;
	border: 1px solid #d0d0d0;
	border-radius: 4px;
	background-color: #fff;
	font-size: 0.9375rem;
	line-height: 1.4;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-filters__select:focus {
	border-color: #222;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
	outline: none;
}

.category-filters__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: flex-start;
}

.category-filters__submit:hover,
.category-filters__submit:focus {
	background-color: #000;
	border-color: #000;
}

.category-filters__reset {
	background-color: transparent;
	border: 1px solid #aaa;
	color: #333;
}

.category-filters__reset:hover,
.category-filters__reset:focus {
	border-color: #333;
	color: #111;
}
.category-filters-btn-wrapper {
	text-align: center;
}
.category-filters-btn {
	min-width: 250px!important;
	text-align: center;
}
.category-filters__reset-wrapper {
	display: none;
}
.has-filters .category-filters__reset-wrapper {
	display: block;
}
@media screen and (max-width: 660px){
	.category-filters-btn {
		min-width: auto!important;
	}
}
@media screen and (max-width: 600px){
	.category-filters-btn-wrapper {
		width: 100%;
	}
	
}

.category-layout.loading::after {
	content: '';
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(1px);
	z-index: 5;
}

.category-layout.loading::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 48px;
	height: 48px;
	margin: -24px 0 0 -24px;
	border: 3px solid rgba(0, 0, 0, 0.15);
	border-top-color: #111;
	border-radius: 50%;
	animation: category-loading-spin 0.8s linear infinite;
	z-index: 6;
}

.category-layout.loading .category-layout__content {
	opacity: 0.5;
	pointer-events: none;
}

@keyframes category-loading-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Desktop layout */
@media (min-width: 992px) {
	.category-layout {
		grid-template-columns: minmax(300px, 1fr) minmax(0, 3fr);
		gap: 15px;
	}

	.category-filters__grid {
		grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
		gap: 8px;
	}
}

@media (max-width: 991px) {
	.category-layout__filters {
		order: -1;
	}
}

/* Event venue details */
.card__venue {
	display: flex;
	align-items: baseline;
	gap: 0.35rem;
	margin-top: 0.75rem;
}

.card__venue:first-of-type {
	margin-top: 0;
}

.card__venue-label {
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: rgba(243, 210, 150, 0.9);
}

.card__venue-value {
	font-size: 0.9375rem;
	color: #c7a253;
}

a.card__venue-value:hover,
a.card__venue-value:focus {
	color: #fff;
}

.items-empty {
	min-height: 70vh;
	padding: 50px 25px;
	color: red;
}

.card__media img {
	width: 100%;
    height: 100%;
    object-fit: cover;
}


section#howto {
	background: #000;
	position: relative;
	/* z-index: 3; */
}