.logged-in .menu-login {
	display: none;
}

.logged-out .menu-logout {
	display: none;
}

/* Hide logout for guests */
.logged-out .menu-logout {
	display: none;
}

/* Hide login for logged-in users */
.logged-in .menu-login {
	display: none;
}

/* Fix Video issue on Cover Blocks zd-11061435 */
.wp-block-cover .vjs-videopress,
.wp-block-cover .vjs-videopress video {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	position: absolute !important;
	top: 0;
	left: 0;
}

/*
 * Fix: VideoPress / Video.js FOUC (Flash of Unstyled Content)
 * Prevents video player controls from flashing on screen
 * while preserving the poster/cover image.
 * zd-11061435
 */
/* 1. Force-hide all control text (screen-reader-only text) immediately */
.vjs-control-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* 2. Hide the big play button on cover videos */
.wp-block-cover .vjs-big-play-button {
	display: none !important;
}

/* 3. Hide the entire control bar on cover block videos */
.wp-block-cover .vjs-control-bar {
	display: none !important;
}

/* 4. Hide all modal dialogs, error screens, and settings panels */
.wp-block-cover .vjs-modal-dialog,
.wp-block-cover .vjs-text-track-settings,
.wp-block-cover .vjs-error-display {
	display: none !important;
}

/* 5. Ensure the poster/cover image remains visible */
.wp-block-cover .vjs-poster {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.news-ticker-container {
	position: relative;
	width: 100%;
/* use % instead of vw */
	max-width: 100vw;
/* still allow full stretch */
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	background: #333;
	color: #fff;
	display: flex;
	overflow: hidden;
	font-family: sans-serif;
	height: 80px;
	line-height: 80px;
	font-size: 22px;
	font-weight: bold;
	z-index: 999;
}

.news-ticker-label {
	background: #ba06ef;
	padding: 0 15px;
	min-width: 140px;
	text-align: center;
	font-size: inherit;
	font-weight: inherit;
	z-index: 2;
}

.news-ticker-content {
	white-space: nowrap;
	padding-left: 100%;
	animation: ticker-scroll 12s linear infinite;
	font-size: inherit;
	font-weight: inherit;
}

.news-ticker-content:hover {
	animation-play-state: paused;
}

@keyframes ticker-scroll {
	0% {
		transform: translateX(0);
	}
	
	100% {
		transform: translateX(-100%);
	}
}