/* Sticky announcement ticker. Site-wide. */

.jl-ticker {
	position: sticky;
	top: 0;
	z-index: 10050;
	overflow: hidden;
	height: 36px;
	background: #4a1428;
	color: #fff;
	white-space: nowrap;
}

.admin-bar .jl-ticker {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .jl-ticker {
		top: 46px;
	}
}

.jl-ticker__track {
	display: flex;
	align-items: center;
	width: max-content;
	height: 100%;
	animation: jl-ticker-scroll 28s linear infinite;
}

.jl-ticker__item {
	display: inline-flex;
	align-items: center;
	padding: 0 2.4em;
	font-family: Poppins, "Sofia Pro", sans-serif;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.jl-ticker__item::after {
	content: "·";
	margin-left: 2.4em;
	color: #d4b36a;
}

body.header-sticky #masthead.sticky {
	top: 36px;
}

body.admin-bar.header-sticky #masthead.sticky {
	top: 68px;
}

@media (max-width: 782px) {
	body.admin-bar.header-sticky #masthead.sticky {
		top: 82px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jl-ticker__track {
		animation: none;
	}
}

@keyframes jl-ticker-scroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}
