/*
 * VFXRIO compatibility helper v12.
 * Purpose: restore Smash Balloon's native media/lightbox behavior, keep Load More
 * manual, adapt portrait/square/landscape images and videos, add an always-visible close
 * control, and remove inherited Eventum footer branding.
 */

html {
	-webkit-text-size-adjust: 100%;
	--vfxrio-cff-vw: 100vw;
	--vfxrio-cff-vh: 100vh;
	--vfxrio-cff-player-w: 960px;
	--vfxrio-cff-player-h: 540px;
	--vfxrio-cff-lightbox-gutter: 64px;
	--vfxrio-cff-lightbox-caption: 156px;
}

@supports (height: 100dvh) {
	html {
		--vfxrio-cff-vh: 100dvh;
	}
}

img,
svg,
video,
canvas,
iframe {
	max-width: 100%;
}

.vc_row,
.wpb_row,
.vc_column_container,
.wpb_wrapper,
.entry-content,
.site-content {
	box-sizing: border-box;
}

.wpb_wrapper iframe,
.entry-content iframe,
.wpb_video_wrapper iframe {
	max-width: 100%;
	border: 0;
}

#cff,
.cff-wrapper,
.cff-feed,
.cff-feed-wrapper,
.sb-facebook-feed {
	box-sizing: border-box;
	color: #fff;
}

#cff *,
.cff-wrapper *,
.cff-feed *,
.cff-feed-wrapper *,
.sb-facebook-feed * {
	box-sizing: border-box;
}

#cff img,
.cff-wrapper img,
.cff-feed img,
.cff-feed-wrapper img,
.sb-facebook-feed img {
	max-width: 100%;
	height: auto;
}

#cff video,
#cff iframe,
.cff-wrapper video,
.cff-wrapper iframe,
.cff-feed video,
.cff-feed iframe,
.cff-feed-wrapper video,
.cff-feed-wrapper iframe,
.sb-facebook-feed video,
.sb-facebook-feed iframe {
	max-width: 100%;
}

#cff .cff-link-caption,
#cff .cff-post-desc,
#cff .cff-post-text,
#cff .cff-text,
.cff-wrapper .cff-link-caption,
.cff-wrapper .cff-post-desc,
.cff-wrapper .cff-post-text,
.cff-wrapper .cff-text,
.sb-facebook-feed .cff-link-caption,
.sb-facebook-feed .cff-post-desc,
.sb-facebook-feed .cff-post-text,
.sb-facebook-feed .cff-text {
	color: #fff;
}

#cff > svg:first-child,
.cff-wrapper > svg:first-child,
.cff-feed > svg:first-child,
.cff-feed-wrapper > svg:first-child,
.sb-facebook-feed > svg:first-child {
	display: none !important;
	visibility: hidden !important;
}

/* Manual Load More only. This version does not auto-click or infinite-scroll. */
body.vfxrio-has-cff #cff .cff-load-more,
body.vfxrio-has-cff #cff .cff-load-more-button,
body.vfxrio-has-cff #cff #cff-load-more,
body.vfxrio-has-cff #cff .cff-load-more-btn,
body.vfxrio-has-cff .cff-wrapper .cff-load-more,
body.vfxrio-has-cff .cff-wrapper .cff-load-more-button,
body.vfxrio-has-cff .cff-wrapper #cff-load-more,
body.vfxrio-has-cff .cff-wrapper .cff-load-more-btn,
body.vfxrio-has-cff .sb-facebook-feed .cff-load-more,
body.vfxrio-has-cff .sb-facebook-feed .cff-load-more-button,
body.vfxrio-has-cff .sb-facebook-feed .cff-load-more-btn {
	display: block !important;
	float: none !important;
	clear: both !important;
	position: relative !important;
	width: auto !important;
	max-width: 100% !important;
	margin: 32px auto !important;
	text-align: center !important;
}

body.vfxrio-has-cff #cff .cff-load-more a,
body.vfxrio-has-cff #cff .cff-load-more button,
body.vfxrio-has-cff #cff .cff-load-more-button,
body.vfxrio-has-cff #cff #cff-load-more,
body.vfxrio-has-cff #cff .cff-load-more-btn,
body.vfxrio-has-cff .cff-wrapper .cff-load-more a,
body.vfxrio-has-cff .cff-wrapper .cff-load-more button,
body.vfxrio-has-cff .cff-wrapper .cff-load-more-button,
body.vfxrio-has-cff .cff-wrapper #cff-load-more,
body.vfxrio-has-cff .cff-wrapper .cff-load-more-btn,
body.vfxrio-has-cff .sb-facebook-feed .cff-load-more a,
body.vfxrio-has-cff .sb-facebook-feed .cff-load-more button,
body.vfxrio-has-cff .sb-facebook-feed .cff-load-more-button,
body.vfxrio-has-cff .sb-facebook-feed .cff-load-more-btn {
	font: 700 12px Roboto, Arial, sans-serif !important;
	line-height: 1.2 !important;
	color: #fff !important;
	background: #d52d9b !important;
	border: 1px solid #d52d9b !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	padding: 12px 24px !important;
	text-align: center !important;
	text-decoration: none !important;
	text-transform: uppercase;
}

/* Remove abandoned custom-viewer elements from earlier patch attempts. */
.vfxrio-cff-viewer,
.vfxrio-cff-viewer-backdrop,
.vfxrio-cff-viewer-dialog,
.vfxrio-cff-autoload-sentinel {
	display: none !important;
}

/*
 * Restore the Smash Balloon feed play control.
 * v9 accidentally converted the plugin's full clickable .cff-html5-play layer
 * into a small generated icon. These rules put the plugin layer and SVG back.
 */
body.vfxrio-has-cff #cff .cff-html5-video,
body.vfxrio-has-cff #cff .cff-vidLink,
body.vfxrio-has-cff .cff-wrapper .cff-html5-video,
body.vfxrio-has-cff .cff-wrapper .cff-vidLink,
body.vfxrio-has-cff .sb-facebook-feed .cff-html5-video,
body.vfxrio-has-cff .sb-facebook-feed .cff-vidLink {
	position: relative !important;
	overflow: hidden;
}

body.vfxrio-has-cff #cff .cff-html5-play,
body.vfxrio-has-cff .cff-wrapper .cff-html5-play,
body.vfxrio-has-cff .sb-facebook-feed .cff-html5-play {
	display: block !important;
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	min-width: 0 !important;
	min-height: 0 !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: inherit !important;
	font-size: inherit !important;
	line-height: normal !important;
	text-indent: 0 !important;
	-webkit-transform: none !important;
	-ms-transform: none !important;
	transform: none !important;
	z-index: 8 !important;
	opacity: 1 !important;
	visibility: visible !important;
}

body.vfxrio-has-cff #cff .cff-html5-play:before,
body.vfxrio-has-cff #cff .cff-html5-play:after,
body.vfxrio-has-cff #cff .cff-playbtn:before,
body.vfxrio-has-cff #cff .cff-playbtn:after,
body.vfxrio-has-cff #cff .cff-video-play:before,
body.vfxrio-has-cff #cff .cff-video-play:after,
body.vfxrio-has-cff #cff .cff-media-play:before,
body.vfxrio-has-cff #cff .cff-media-play:after,
body.vfxrio-has-cff #cff .cff-video-icon:before,
body.vfxrio-has-cff #cff .cff-video-icon:after,
body.vfxrio-has-cff .cff-wrapper .cff-html5-play:before,
body.vfxrio-has-cff .cff-wrapper .cff-html5-play:after,
body.vfxrio-has-cff .cff-wrapper .cff-playbtn:before,
body.vfxrio-has-cff .cff-wrapper .cff-playbtn:after,
body.vfxrio-has-cff .sb-facebook-feed .cff-html5-play:before,
body.vfxrio-has-cff .sb-facebook-feed .cff-html5-play:after,
body.vfxrio-has-cff .sb-facebook-feed .cff-playbtn:before,
body.vfxrio-has-cff .sb-facebook-feed .cff-playbtn:after {
	content: none !important;
	display: none !important;
}

body.vfxrio-has-cff #cff .cff-playbtn,
body.vfxrio-has-cff .cff-wrapper .cff-playbtn,
body.vfxrio-has-cff .sb-facebook-feed .cff-playbtn {
	display: block !important;
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	max-width: none !important;
	max-height: none !important;
	margin-top: -28px !important;
	margin-right: 0 !important;
	margin-bottom: 0 !important;
	margin-left: -28px !important;
	padding: 13px 16px !important;
	background: #000 !important;
	background: rgba(0, 0, 0, 0.70) !important;
	border: 0 !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	color: #fff !important;
	font-size: 30px !important;
	font-style: normal !important;
	line-height: 1 !important;
	text-indent: 0 !important;
	-webkit-transform: none !important;
	-ms-transform: none !important;
	transform: none !important;
	z-index: 9 !important;
	opacity: 1 !important;
	visibility: visible !important;
}

body.vfxrio-has-cff #cff svg.cff-playbtn,
body.vfxrio-has-cff .cff-wrapper svg.cff-playbtn,
body.vfxrio-has-cff .sb-facebook-feed svg.cff-playbtn {
	width: 56px !important;
	height: 56px !important;
	padding: 8px !important;
	fill: currentColor !important;
}

body.vfxrio-has-cff #cff .cff-playbtn svg,
body.vfxrio-has-cff .cff-wrapper .cff-playbtn svg,
body.vfxrio-has-cff .sb-facebook-feed .cff-playbtn svg {
	display: block !important;
	width: 1em !important;
	height: 1em !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	fill: currentColor !important;
	color: inherit !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* Keep body from scrolling under the native lightbox. */
html.vfxrio-cff-lightbox-active,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active {
	overscroll-behavior: contain;
}

body.vfxrio-has-cff.vfxrio-cff-lightbox-active {
	overflow: hidden !important;
}

/* Native Smash Balloon lightbox: viewport overlay. */
body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-overlay,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-overlay,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightboxOverlay {
	position: fixed !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	width: 100vw !important;
	width: var(--vfxrio-cff-vw) !important;
	height: 100vh !important;
	height: var(--vfxrio-cff-vh) !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	background: #000 !important;
	opacity: .88 !important;
	z-index: 2147482990 !important;
}

body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper {
	position: fixed !important;
	top: 50% !important;
	left: 50% !important;
	right: auto !important;
	bottom: auto !important;
	box-sizing: border-box !important;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	max-width: calc(100vw - 64px) !important;
	max-width: calc(var(--vfxrio-cff-vw) - 64px) !important;
	max-height: calc(100vh - 32px) !important;
	max-height: calc(var(--vfxrio-cff-vh) - 32px) !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left !important;
	line-height: normal !important;
	background: transparent !important;
	overflow: visible !important;
	-webkit-transform: translate(-50%, -50%) !important;
	-ms-transform: translate(-50%, -50%) !important;
	transform: translate(-50%, -50%) !important;
	z-index: 2147483000 !important;
}

body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper .cff-lightbox-outerContainer,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper .cff-lightbox-outerContainer {
	position: relative !important;
	box-sizing: border-box !important;
	float: none !important;
	clear: both !important;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	max-width: calc(100vw - 64px) !important;
	max-width: calc(var(--vfxrio-cff-vw) - 64px) !important;
	max-height: calc(100vh - 168px) !important;
	max-height: calc(var(--vfxrio-cff-vh) - 168px) !important;
	margin: 0 auto !important;
	padding: 0 !important;
	background: #000 !important;
	overflow: hidden !important;
	line-height: 0 !important;
}

body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper .cff-lightbox-container,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper .cff-lightbox-container {
	position: relative !important;
	box-sizing: border-box !important;
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	background: #000 !important;
	overflow: hidden !important;
}

body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper .cff-lightbox-image,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper .cff-lightbox-image {
	display: block !important;
	box-sizing: border-box !important;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	max-width: calc(100vw - 64px) !important;
	max-width: calc(var(--vfxrio-cff-vw) - 64px) !important;
	max-height: calc(100vh - 168px) !important;
	max-height: calc(var(--vfxrio-cff-vh) - 168px) !important;
	margin: 0 auto !important;
	object-fit: contain !important;
	background: #000 !important;
}

/* After the plugin replaces the poster image with its real iframe/video, fit that player only. */
body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.vfxrio-cff-has-embed .cff-lightbox-outerContainer,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.vfxrio-cff-has-embed .cff-lightbox-outerContainer {
	width: var(--vfxrio-cff-player-w) !important;
	height: var(--vfxrio-cff-player-h) !important;
	max-width: calc(100vw - 64px) !important;
	max-width: calc(var(--vfxrio-cff-vw) - 64px) !important;
	max-height: calc(100vh - 168px) !important;
	max-height: calc(var(--vfxrio-cff-vh) - 168px) !important;
}

body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.vfxrio-cff-has-embed .cff-lightbox-container,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.vfxrio-cff-has-embed .cff-lightbox-video,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.vfxrio-cff-has-embed .cff-lightbox-container,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.vfxrio-cff-has-embed .cff-lightbox-video {
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	background: #000 !important;
	overflow: hidden !important;
}

body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.vfxrio-cff-has-embed iframe,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.vfxrio-cff-has-embed video,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.vfxrio-cff-has-embed .fb-video,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.vfxrio-cff-has-embed iframe,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.vfxrio-cff-has-embed video,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.vfxrio-cff-has-embed .fb-video {
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	box-sizing: border-box !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: #000 !important;
	object-fit: contain !important;
}

body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.vfxrio-cff-has-embed .cff-lightbox-image,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.vfxrio-cff-has-embed .cff-lightbox-image {
	display: none !important;
}

body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper .cff-lightbox-dataContainer,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper .cff-lightbox-dataContainer {
	position: relative !important;
	box-sizing: border-box !important;
	float: none !important;
	clear: both !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: calc(100vw - 64px) !important;
	max-width: calc(var(--vfxrio-cff-vw) - 64px) !important;
	max-height: 132px !important;
	margin: 0 auto !important;
	padding: 12px 16px 14px !important;
	text-align: left !important;
	line-height: 1.35 !important;
	background: #000 !important;
	color: #fff !important;
	overflow: auto !important;
	-webkit-overflow-scrolling: touch !important;
}

body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.vfxrio-cff-has-embed .cff-lightbox-dataContainer,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.vfxrio-cff-has-embed .cff-lightbox-dataContainer {
	width: var(--vfxrio-cff-player-w) !important;
	max-width: var(--vfxrio-cff-player-w) !important;
}

/* Protect native lightbox controls from the site's global button rule. */
body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper button,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper button {
	min-width: 0 !important;
	max-width: none !important;
	font: inherit !important;
	line-height: normal !important;
	text-transform: none !important;
	box-shadow: none !important;
}

body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-close,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-prev,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-next {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #fff !important;
	padding: 0 !important;
	z-index: 2147483100 !important;
}

body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-prev,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-next {
	position: fixed !important;
	top: 50% !important;
	-webkit-transform: translateY(-50%) !important;
	-ms-transform: translateY(-50%) !important;
	transform: translateY(-50%) !important;
}

body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-prev {
	left: 18px !important;
}

body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-next {
	right: 18px !important;
}


/* v12 adaptive native lightbox sizing for every media item.
 * Smash Balloon reuses the same lightbox container; these rules let the JS
 * refresh width/height for each selected image or video instead of inheriting
 * the previous 16:9 player box.
 */
body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.vfxrio-cff-fit-media .cff-lightbox-outerContainer,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.vfxrio-cff-fit-media .cff-lightbox-outerContainer {
	width: var(--vfxrio-cff-player-w) !important;
	height: var(--vfxrio-cff-player-h) !important;
	min-width: 0 !important;
	min-height: 0 !important;
	max-width: calc(100vw - 64px) !important;
	max-width: calc(var(--vfxrio-cff-vw) - 64px) !important;
	max-height: calc(100vh - 168px) !important;
	max-height: calc(var(--vfxrio-cff-vh) - 168px) !important;
	background: #000 !important;
}

body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.vfxrio-cff-fit-media .cff-lightbox-container,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.vfxrio-cff-fit-media .cff-lightbox-container {
	position: relative !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	background: #000 !important;
	overflow: hidden !important;
}

body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.vfxrio-cff-fit-media .cff-lightbox-image,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.vfxrio-cff-fit-media .cff-lightbox-image,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.vfxrio-cff-fit-media .cff-lightbox-container > img,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.vfxrio-cff-fit-media .cff-lightbox-container > img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	margin: 0 auto !important;
	object-fit: contain !important;
	background: #000 !important;
}

body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.vfxrio-cff-fit-media .cff-lightbox-dataContainer,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.vfxrio-cff-fit-media .cff-lightbox-dataContainer {
	width: var(--vfxrio-cff-player-w) !important;
	max-width: var(--vfxrio-cff-player-w) !important;
}

@media (max-width: 767px) {
	body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.vfxrio-cff-fit-media .cff-lightbox-outerContainer,
	body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.vfxrio-cff-fit-media .cff-lightbox-outerContainer {
		max-width: calc(100vw - 24px) !important;
		max-width: calc(var(--vfxrio-cff-vw) - 24px) !important;
		max-height: calc(100vh - 144px) !important;
		max-height: calc(var(--vfxrio-cff-vh) - 144px) !important;
	}

	body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.vfxrio-cff-fit-media .cff-lightbox-dataContainer,
	body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.vfxrio-cff-fit-media .cff-lightbox-dataContainer {
		max-width: calc(100vw - 24px) !important;
		max-width: calc(var(--vfxrio-cff-vw) - 24px) !important;
	}
}

/* Footer brand cleanup: no Eventum logo/text in the visible footer. */
footer img.eventum-logo,
#footer img.eventum-logo,
.footer-wrap img.eventum-logo,
footer img[alt*="Eventum"],
#footer img[alt*="Eventum"],
.footer-wrap img[alt*="Eventum"],
footer img[src*="eventum"],
#footer img[src*="eventum"],
.footer-wrap img[src*="eventum"],
footer img[src*="themeum"],
#footer img[src*="themeum"],
.footer-wrap img[src*="themeum"] {
	display: none !important;
}

.vfxrio-footer-logo,
.footer-logo .vfxrio-footer-logo {
	display: inline-block;
	max-width: 180px;
	height: auto;
}

.vfxrio-footer-logo-fallback,
.footer-logo .vfxrio-footer-logo-fallback {
	display: inline-block;
	color: #d52d9b;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

@media (max-width: 767px) {
	html {
		--vfxrio-cff-lightbox-gutter: 24px;
		--vfxrio-cff-lightbox-caption: 132px;
	}

	body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper,
	body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper {
		max-width: calc(100vw - 24px) !important;
		max-width: calc(var(--vfxrio-cff-vw) - 24px) !important;
		max-height: calc(100vh - 24px) !important;
		max-height: calc(var(--vfxrio-cff-vh) - 24px) !important;
	}

	body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper .cff-lightbox-outerContainer,
	body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper .cff-lightbox-outerContainer,
	body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper .cff-lightbox-image,
	body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper .cff-lightbox-image {
		max-width: calc(100vw - 24px) !important;
		max-width: calc(var(--vfxrio-cff-vw) - 24px) !important;
		max-height: calc(100vh - 144px) !important;
		max-height: calc(var(--vfxrio-cff-vh) - 144px) !important;
	}

	body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.vfxrio-cff-has-embed .cff-lightbox-outerContainer,
	body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.vfxrio-cff-has-embed .cff-lightbox-outerContainer {
		max-width: calc(100vw - 24px) !important;
		max-width: calc(var(--vfxrio-cff-vw) - 24px) !important;
		max-height: calc(100vh - 144px) !important;
		max-height: calc(var(--vfxrio-cff-vh) - 144px) !important;
	}

	body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper .cff-lightbox-dataContainer,
	body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper .cff-lightbox-dataContainer {
		max-width: calc(100vw - 24px) !important;
		max-width: calc(var(--vfxrio-cff-vw) - 24px) !important;
		max-height: 120px !important;
		padding: 10px 12px 12px !important;
	}

	body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-prev {
		left: 4px !important;
	}

	body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-next {
		right: 4px !important;
	}
}


/* v11 final footer branding: never show the inherited Eventum footer logo/name. */
footer .footer-logo,
#footer .footer-logo,
.footer-wrap .footer-logo,
footer .eventum,
#footer .eventum,
.footer-wrap .eventum,
footer [class*="eventum"],
#footer [class*="eventum"],
.footer-wrap [class*="eventum"] {
	display: none !important;
	visibility: hidden !important;
}

/* v11 native lightbox aspect support: the JS sets these classes/variables. */
body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.vfxrio-cff-has-embed.vfxrio-cff-portrait .cff-lightbox-outerContainer,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.vfxrio-cff-has-embed.vfxrio-cff-portrait .cff-lightbox-outerContainer,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.vfxrio-cff-has-embed.vfxrio-cff-square .cff-lightbox-outerContainer,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.vfxrio-cff-has-embed.vfxrio-cff-square .cff-lightbox-outerContainer,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.vfxrio-cff-has-embed.vfxrio-cff-landscape .cff-lightbox-outerContainer,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.vfxrio-cff-has-embed.vfxrio-cff-landscape .cff-lightbox-outerContainer {
	width: var(--vfxrio-cff-player-w) !important;
	height: var(--vfxrio-cff-player-h) !important;
	min-width: 0 !important;
	min-height: 0 !important;
	max-width: calc(100vw - 64px) !important;
	max-width: calc(var(--vfxrio-cff-vw) - 64px) !important;
	max-height: calc(100vh - 168px) !important;
	max-height: calc(var(--vfxrio-cff-vh) - 168px) !important;
}

body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.vfxrio-cff-has-embed.vfxrio-cff-portrait .cff-lightbox-dataContainer,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.vfxrio-cff-has-embed.vfxrio-cff-portrait .cff-lightbox-dataContainer,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.vfxrio-cff-has-embed.vfxrio-cff-square .cff-lightbox-dataContainer,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.vfxrio-cff-has-embed.vfxrio-cff-square .cff-lightbox-dataContainer,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.vfxrio-cff-has-embed.vfxrio-cff-landscape .cff-lightbox-dataContainer,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.vfxrio-cff-has-embed.vfxrio-cff-landscape .cff-lightbox-dataContainer {
	width: var(--vfxrio-cff-player-w) !important;
	max-width: min(var(--vfxrio-cff-player-w), calc(100vw - 64px)) !important;
	max-width: min(var(--vfxrio-cff-player-w), calc(var(--vfxrio-cff-vw) - 64px)) !important;
}

/* Avoid the original plugin 640x360 minimum forcing portrait videos into 16:9. */
body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.cff-has-video .cff-lightbox-outerContainer,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.cff-has-video .cff-lightbox-outerContainer,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.cff-has-iframe .cff-lightbox-outerContainer,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.cff-has-iframe .cff-lightbox-outerContainer {
	min-width: 0 !important;
	min-height: 0 !important;
}

body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.cff-has-video .cff-lightbox-dataContainer,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.cff-has-video .cff-lightbox-dataContainer,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.cff-has-iframe .cff-lightbox-dataContainer,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.cff-has-iframe .cff-lightbox-dataContainer {
	min-width: 0 !important;
}

body.vfxrio-has-cff.vfxrio-cff-lightbox-active .vfxrio-cff-native-close {
	position: fixed !important;
	top: 14px !important;
	right: 14px !important;
	display: -webkit-box !important;
	display: -ms-flexbox !important;
	display: flex !important;
	-webkit-box-align: center !important;
	-ms-flex-align: center !important;
	align-items: center !important;
	-webkit-box-pack: center !important;
	-ms-flex-pack: center !important;
	justify-content: center !important;
	width: 46px !important;
	height: 46px !important;
	min-width: 46px !important;
	min-height: 46px !important;
	margin: 0 !important;
	padding: 0 !important;
	font: 300 38px/1 Arial, Helvetica, sans-serif !important;
	color: #fff !important;
	background: #000 !important;
	background: rgba(0, 0, 0, .78) !important;
	border: 1px solid rgba(255, 255, 255, .42) !important;
	border-radius: 50% !important;
	box-shadow: none !important;
	text-align: center !important;
	text-indent: 0 !important;
	text-transform: none !important;
	cursor: pointer !important;
	opacity: 1 !important;
	visibility: visible !important;
	z-index: 2147483300 !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
}

body.vfxrio-has-cff.vfxrio-cff-lightbox-active .vfxrio-cff-native-close:hover,
body.vfxrio-has-cff.vfxrio-cff-lightbox-active .vfxrio-cff-native-close:focus {
	background: #d52d9b !important;
	border-color: #d52d9b !important;
	outline: none !important;
}

body:not(.vfxrio-cff-lightbox-active) .vfxrio-cff-native-close,
html:not(.vfxrio-cff-lightbox-active) .vfxrio-cff-native-close {
	display: none !important;
}

@media (max-width: 767px) {
	body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.vfxrio-cff-has-embed.vfxrio-cff-portrait .cff-lightbox-outerContainer,
	body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.vfxrio-cff-has-embed.vfxrio-cff-portrait .cff-lightbox-outerContainer,
	body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.vfxrio-cff-has-embed.vfxrio-cff-square .cff-lightbox-outerContainer,
	body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.vfxrio-cff-has-embed.vfxrio-cff-square .cff-lightbox-outerContainer,
	body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.vfxrio-cff-has-embed.vfxrio-cff-landscape .cff-lightbox-outerContainer,
	body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.vfxrio-cff-has-embed.vfxrio-cff-landscape .cff-lightbox-outerContainer {
		max-width: calc(100vw - 24px) !important;
		max-width: calc(var(--vfxrio-cff-vw) - 24px) !important;
		max-height: calc(100vh - 144px) !important;
		max-height: calc(var(--vfxrio-cff-vh) - 144px) !important;
	}

	body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.vfxrio-cff-has-embed.vfxrio-cff-portrait .cff-lightbox-dataContainer,
	body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.vfxrio-cff-has-embed.vfxrio-cff-portrait .cff-lightbox-dataContainer,
	body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.vfxrio-cff-has-embed.vfxrio-cff-square .cff-lightbox-dataContainer,
	body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.vfxrio-cff-has-embed.vfxrio-cff-square .cff-lightbox-dataContainer,
	body.vfxrio-has-cff.vfxrio-cff-lightbox-active #cff-lightbox-wrapper.vfxrio-cff-has-embed.vfxrio-cff-landscape .cff-lightbox-dataContainer,
	body.vfxrio-has-cff.vfxrio-cff-lightbox-active .cff-lightbox-wrapper.vfxrio-cff-has-embed.vfxrio-cff-landscape .cff-lightbox-dataContainer {
		max-width: min(var(--vfxrio-cff-player-w), calc(100vw - 24px)) !important;
		max-width: min(var(--vfxrio-cff-player-w), calc(var(--vfxrio-cff-vw) - 24px)) !important;
	}

	body.vfxrio-has-cff.vfxrio-cff-lightbox-active .vfxrio-cff-native-close {
		top: 8px !important;
		right: 8px !important;
		width: 42px !important;
		height: 42px !important;
		min-width: 42px !important;
		min-height: 42px !important;
		font-size: 34px !important;
	}
}
