/* Lumen Meter — responsive

/* Fluid rem scale tweaks at breakpoints */
@media only screen and (max-width: 1200px) {

}

@media only screen and (max-width: 991.98px) {

}

@media only screen and (max-width: 767.98px) {
	html.lumen-meter {
		font-size: 0.062086vw;
	}
}

/* Page loader — keep % text readable on narrow portrait */
@media screen and (max-width: 1024px) {
	.page-loader__text {
		white-space: normal;
		max-width: 85vw;
    font-size: 12px;
	}
}

@media screen and (max-width: 480px) {
	.page-loader__progress {
		height: 12px;
	}
}

/* ---------- Portrait rotate banner  ---------- */
html.lumen-meter {
	--turn-offset: 0rem;
}

#turn {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 99999;
	display: none;
	pointer-events: none;
}

#turn .turn-msg-box {
	display: none;
}

/* Show banner: portrait + tablet/phone widths  */
@media screen and (orientation: portrait) and (max-width: 1024px) {
	html.lumen-meter:not(.turn-msg-dismissed) #turn {
		display: block;
		pointer-events: auto;
	}

	html.lumen-meter:not(.turn-msg-dismissed) {
		--turn-offset: 50rem;
	}

	html.lumen-meter:not(.turn-msg-dismissed) #turn .turn-msg-box {
		display: flex;
		align-items: center;
		justify-content: flex-start;
		gap: 12rem;
		margin: 0;
		min-height: 50px;
		padding: 12px 15px 12px 15px;
		font-family: var(--lumen-font-sans);
		font-size: 16px;
		font-weight: 500;
		line-height: 1.35;
		text-align: left;
		color: #ffffff;
		background: #0f3133;
		box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
		box-sizing: border-box;
		position: relative;
	}

	html.lumen-meter:not(.turn-msg-dismissed) .stage-header {
		top: var(--turn-offset);
	}

	html.lumen-meter.industry-page:not(.turn-msg-dismissed) .stage-header {
		top: var(--turn-offset);
	}

	html.lumen-meter:not(.turn-msg-dismissed) .stage-rail-nav__shell {
		top: calc(50% + var(--turn-offset) * 0.5);
	}
}

@media only screen and (orientation: landscape) {
	#turn {
		display: none !important;
	}
}

.turn-msg-box .mobile-rotation-icon {
	width: 35px;
	height: auto;
	flex-shrink: 0;
	display: block;
  margin-right: 10px;
}

.turn-close {
	margin-left: auto;
	cursor: pointer;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4rem;
	border: none;
	background: transparent;
}

.turn-close img,
.turn-close svg {
	width: 18px;
	height: 18px;
	display: block;
	opacity: 0.85;
	transition: opacity 0.2s ease;
}

.turn-close:hover img,
.turn-close:hover svg {
	opacity: 1;
}

@media only screen and (max-width: 767px) {
	html.lumen-meter:not(.turn-msg-dismissed) #turn .turn-msg-box {
		font-size: 14px;
		padding-right: 15px;
	}
}

@media only screen and (max-width: 480px) {
	html.lumen-meter:not(.turn-msg-dismissed) #turn .turn-msg-box {
		font-size: 12px;
	}
}

@media only screen and (max-width: 360px) {
	html.lumen-meter:not(.turn-msg-dismissed) #turn .turn-msg-box {
		font-size: 11px;
	}
}
