.acf-block-preview .filter-block{
	pointer-events: none;
}
.section-block .acf-innerblocks-container{
	width: 100%;
}
.acf-block-preview .filter-block select{
	appearance: none;
	background: var(--wp--preset--color--white);
	box-shadow: 5px 5px 25px 0 var(--wp--preset--color--light-lavender, --wp--preset--color--white) inset;
	box-shadow: 5px 5px 25px 0 var(--wp--preset--color--lavender, --wp--preset--color--light-lavender) inset;
	padding: 8px 20px 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-radius: 2rem;
	cursor: pointer;
	color: var(--wp--preset--color--purple);
	line-height: normal;
	height: auto;
	font-size: var(--wp--custom--font-size--s);
}
.acf-block-preview .filter-block select:focus {
	outline: none;
}
.acf-block-preview .filter-block select:focus-visible {
	outline: none;
}

/**********************/
/* Facet */
/**********************/
.filter-list .facetwp-facet{
	margin-bottom: 1rem;
	position: relative;
}
.facetwp-type-dropdown:after {
	content: "\f078";
	font-family: FontAwesome;
	font-size: var(--wp--preset--font-size--s);
	color: var(--wp--preset--color--purple);
	position: absolute;
	right: 0;
	top: 0;
	pointer-events: none;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	height: 100%;
	width: 30px;   
}
.facetwp-page{
	text-decoration: none;
	font-size: var(--wp--preset--font-size--s);
}
.facetwp-facet-load_more{
	margin: auto;
}
.facetwp-facet.facetwp-facet-search input.facetwp-search{
	min-width: 100%;
}
.facetwp-facet-search .facetwp-input-wrap{
	width: 100%;
}
.facetwp-facet-search i.fa-magnifying-glass {
	right: 0;
	height: 100%;
	line-height: 1;
	position: absolute;
	cursor: pointer;
	opacity: 0.5;
	color: var(--wp--preset--color--purple);
	opacity: 1;
	display: flex;
	align-items: center;
	width: 32px;
	line-height: 0.1;
}
.acf-block-preview .facetwp-facet {
	display: none;
}
.acf-block-preview .facetwp-facet.admin_facet{
	display: block;	
}

.content-list{
	display: flex;
	gap: 2rem;
	justify-content: center;
}
.filter-list{
	width: 20%;
	position: relative;
	z-index: 2;
}
.content_column{
	width: 80%;
	display: flex;
	flex-direction: column;
	gap: 2rem;
	position: relative;
	z-index: 1;
}
.item_listing{
	display: flex;
	flex-direction: column;
	gap: 2rem;
}
.content_item{
	aspect-ratio: 32 / 9;
	width: 100%;
	overflow: hidden;
	position: relative;
	border-radius: 5px;
	background-color: var(--wp--preset--color--white);
	box-shadow: 0 0 50px 0 rgba(217, 211, 247, 0.60);
	box-shadow: 0 0 50px 0 color-mix(in srgb, var(--wp--preset--color--light-lavender) 100%, white);
	opacity: 1;
	transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	transition-delay: 0.5s;  
	/* Initial state when the element hits the DOM */
	@starting-style {
		opacity: 0;
	}
}
.edit-event-button{
	position: absolute;
	right: 1rem;
	top: 1rem;
	background-color: var(--wp--preset--color--red);
	color: var(--wp--preset--color--white);
	border-radius: 2rem;
	z-index: 3;
	padding: 0.1rem 0.6rem;
	font-size: var(--wp--custom--font-size--xs);
	text-decoration: none;
}
.template-loading .content_item{
	opacity: 0;
	transition-delay: 0;
}
.content_container{
	display: flex;
	height: 100%;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
button.content_buttons,
button.filter_mobile_icon{
	position: absolute;
	top: calc(50% - 1rem);
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	color: var(--wp--preset--color--purple);
	background-color: var(--wp--preset--color--light-lavender);
	border-radius: 50%;
	width: 2rem;
	height: 2rem;
	display: flex;
	justify-content: center;
	align-items: center;
	text-decoration: none;
	border: 0;
	cursor: pointer;
	z-index: 3;
}
button.filter_mobile_icon{
	display: none;
	right: 0;
}
button.filter_mobile_icon .fa-solid{
	line-height: 1.5
}
.show_detail{
	right: 1rem;
}
.hide_detail{
	left: 1rem;
	opacity: 0;
	pointer-events: none;
}
.content_item.active .show_detail{
	opacity: 0;
	pointer-events: none;
}
.content_item.active .hide_detail{
	opacity: 1;
	pointer-events: initial;
}
.content_photo{
	flex: 0 0 auto;
	width: 50%;
	z-index: 1;
	background-color: var(--wp--preset--color--medium-gray);
	margin-bottom: 0;
}
.content_item.active .content_photo{
	pointer-events: none;
}
.content_slide{
	display: flex;
	flex: 0 0 auto;
	width: 100%;
}
.content_content,
.content_detail{
	display: inline-flex;
	width: 50%;
}
.content_detail_wrapper{
	padding-top: 1.2rem;
}
.content_detail_wrapper > :first-child{
	margin-top: 0;
}
.content_detail_wrapper > :nth-last-child(2){
	margin-bottom: 0;
}
.content_detail_spacer{
	height: 1.2rem;
}
.content_content{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 0.6rem;
	padding: 1.2rem 4rem 1.2rem 1.2rem;
	background-color: var(--wp--preset--color--white);
	margin-left: 0%;
	position: relative;
	z-index: 2;
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.no_slide .content_content{
	padding: 1.2rem;
}
.content_item.active .content_content{
	margin-left: calc(-50% + 4rem);
}
.content_content h6{
	margin: 0;
	line-height: 1.2;
}
.organised_by,
.content_type{
	align-self: start;
	font-size: var(--wp--custom--font-size--xs);
	font-weight: 700;	
	display: inline-flex;
	color: var(--wp--preset--color--purple);
	background-color: var(--wp--preset--color--light-lavender);
	border-top-right-radius: 2rem;
	border-bottom-right-radius: 2rem;
	padding: 0.4rem 2rem 0.4rem 1.2rem;
	margin-left: -1.2rem;
	line-height: 1;
}
.content_detail{
	width: calc(50% - 4rem);
	padding-right: 1rem;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	touch-action: auto;
	min-height: 0;
}
.content_detail p{
	font-size: var(--wp--preset--font-size--s);
}
.content_theme{
	font-size: var(--wp--custom--font-size--xs);
	color: var(--wp--preset--color--purple);
	line-height: 1;
	display: flex;
	align-items: flex-start;
	gap: 0.2rem;
}
.content_theme i {
	flex-shrink: 0;
}
.content_organisation{
	font-size: var(--wp--custom--font-size--xs);
	color: var(--wp--preset--color--black);
	line-height: 1;
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: 1.5rem;
}
.organisation_name{
	text-align: center;
}
.content_organisation a{
	color: var(--wp--preset--color--black);
	text-decoration: none;
}
.content_deadline{
	font-size: var(--wp--custom--font-size--xs);
	color: var(--wp--preset--color--purple);
}
.content_photo img,
.content_photo iframe{
	object-fit: cover;
	height: 100%;
	width: 100%;
	aspect-ratio: 16/9;
}
.content_meta{
	font-size: var(--wp--custom--font-size--xs);
	color: var(--wp--preset--color--purple);
	display: flex;
	gap: 1rem;
	line-height: 1;
}
.past_course_editions{
	font-size: var(--wp--custom--font-size--xs);
	color: var(--wp--preset--color--purple);
}
.content_format, .content_languages{
	white-space: nowrap;
}
.content_duration {
	display: flex;
	align-items: flex-start;
	gap: 0.2rem;
}
.content_duration i {
	flex-shrink: 0;
}
.content_url{
	display: flex;
	gap: 1.5rem;
	align-items: center;
	margin-top:auto;
}
.content_organisation.with_logos{
	display: flex;
	align-items: center;
	gap: 1rem;
	text-align: center;
}
.organisation_logo{
	width: 100%;
	height: 100%;
}
.organisation_logo img{
	object-fit: contain;
	width: 100%;
	height: 100%;
	max-height: 3rem;
	max-width: 6rem;
}
.content_organisation figure.global_health_center img{
	max-height: 5rem;
	max-width: 5rem;
}
.status_band{
	position: absolute;
	top: 0;
	left: 0;
	width: 20%; 
	aspect-ratio: 1 / 1;
	z-index: 10;
	pointer-events: none;
	
}
.status_band .status_band_text{
	background-color: var(--wp--preset--color--magenta);
	color: var(--wp--preset--color--white);
	text-align: center;
	width: 100%;
	transform: rotate(-45deg) translateY(-50%) translateX(-29.29%);
	transform-origin: center;
	padding: 0.3rem 0;
	box-shadow: 0 2px 5px rgba(0,0,0,0.4);
	font-size: var(--wp--custom--font-size--xs);
	line-height: 1;
	font-weight: 500;
	height: 2rem;
	display: flex;
	align-items: center;
	justify-content: center; 
	word-spacing: 9999999px;
}

@media(max-width: 1024px){
	.content-list{
		flex-direction: column;
		align-items: center;
	}
	.filter-list{
		width: 100%;
	}
	.filter-list .filter-list-wrapper{
		display: flex;
		justify-content: center;
		gap: 1rem;
	}
	.content_column{
		width: 100%;
	}
}
@media(max-width: 767px){
	button.filter_mobile_icon{
		display: block;
	}
	.filter-list {
		width: 100%;
		position: relative;
	}
	.filter-list .filter-list-wrapper{
		position: absolute;
		right: 0;
		top: 2rem;
		padding: 1rem;
		flex-direction: column;
		display: flex;
		width: 100%;
		gap: 1rem;
		border-radius: 5px;
		background-color: var(--wp--preset--color--white);
		box-shadow: 0 0 50px 0 rgba(217, 211, 247, 0.60);
		box-shadow: 0 0 50px 0 color-mix(in srgb, var(--wp--preset--color--purple) 100%, white);
		right: -105vw;
		transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	}
	button.filter_mobile_icon.active{
		background-color: var(--wp--preset--color--purple);
		color: var(--wp--preset--color--light-lavender);
	}
	.filter-list .filter-list-wrapper .facetwp-facet{
		margin: 0;
	}
	.filter-list .filter-list-wrapper.active{
		right: 0;
	}
	.facetwp-facet-reset.facetwp-type-reset{
		align-self: end;
	}
	.content_item{
		aspect-ratio: unset;
	}
	.content_container{
		flex-wrap: wrap;
		position: relative;
	}
	.content_photo{
		width: 100%;
		aspect-ratio: 16/9;
	}
	.content_slide{
		width: 100%;
		position: relative;
	}
	.organised_by{
		padding: 0.3rem 1rem 0.3rem 1.2rem;
	}
	.content_meta{
		gap: 0.5rem;
	}
	.content_content,
	.content_detail{
		display: inline-flex;
		width: 100%;
		flex-shrink: 0;
	}
	.content_detail {
	  align-self: stretch;  /* Force this child to match the height of the first child */
	  height: 0;            /* Prevent it from pushing the parent height taller */
	  min-height: 100%;     /* Ensure it fills the parent height */
	  overflow-y: auto;     /* Enable the scrollbar */
	}
	.content_detail{
		padding-right: 1rem;
		padding-left: 4rem;
	}
	.content_item.active .content_content{
		margin-left: calc(-100%);
	}
}