.epl-msg-wrap {
	clear: both;
	margin: 16px 20px 16px 0;
}

.epl-msg {
	--epl-msg-navy-deep: #0b1740;
	--epl-msg-navy: #152a66;
	--epl-msg-navy-lift: #1b3479;
	--epl-msg-blue: #2450f5;
	--epl-msg-blue-bright: #4c7bff;
	--epl-msg-stale: #f2994a;
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	color: #fff;
	background: linear-gradient(
		100deg,
		var(--epl-msg-navy-deep) 0%,
		var(--epl-msg-navy) 58%,
		var(--epl-msg-navy-lift) 100%
	);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1),
		0 12px 30px -12px rgba(11, 23, 64, 0.55);
	font-family: "Greycliff CF", "Figtree", "Nunito Sans", -apple-system,
		BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	box-sizing: border-box;
}

.epl-msg *,
.epl-msg *::before,
.epl-msg *::after {
	box-sizing: border-box;
}

.epl-msg h2,
.epl-msg p {
	margin-top: 0;
}

.epl-msg__wire,
.epl-msg__packets {
	position: absolute;
	right: 0;
	left: 0;
	top: 50%;
	height: 2px;
	transform: translateY(-50%);
}

.epl-msg__wire {
	background: rgba(255, 255, 255, 0.07);
}

.epl-msg__packets {
	overflow: hidden;
}

.epl-msg__packet {
	position: absolute;
	top: -2px;
	width: 38px;
	height: 6px;
	border-radius: 3px;
	background: linear-gradient(90deg, transparent, var(--epl-msg-blue-bright));
	opacity: 0.9;
	animation: epl-msg-flow 2.6s linear infinite;
}

.epl-msg__packet:nth-child(2) {
	width: 22px;
	opacity: 0.5;
	animation-delay: 0.65s;
}

.epl-msg__packet:nth-child(3) {
	width: 52px;
	opacity: 0.75;
	animation-delay: 1.3s;
}

.epl-msg__packet:nth-child(4) {
	width: 16px;
	opacity: 0.4;
	animation-delay: 1.95s;
}

@keyframes epl-msg-flow {
	from {
		left: -60px;
	}
	to {
		left: 100%;
	}
}

.epl-msg__detected {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 10px;
	padding: 4px 10px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.09);
	color: #cfddf7;
	font-size: 11px;
	font-weight: 700;
}

.epl-msg__detected > span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--epl-msg-stale);
}

.epl-msg__button {
	display: inline-block;
	padding: 13px 22px;
	border-radius: 6px;
	background: var(--epl-msg-blue);
	box-shadow: 0 8px 22px -6px rgba(36, 80, 245, 0.9);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.4;
	text-decoration: none;
	white-space: nowrap;
	transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
}

.epl-msg__button:hover,
.epl-msg__button:focus {
	background: #3866ff;
	color: #fff;
	transform: translateY(-1px);
}

.epl-msg__button:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

.epl-msg__dismiss {
	position: absolute;
	z-index: 3;
	top: 9px;
	right: 11px;
	color: rgba(255, 255, 255, 0.42);
	font-size: 16px;
	line-height: 1;
	text-decoration: none;
}

.epl-msg__dismiss:hover,
.epl-msg__dismiss:focus {
	color: #fff;
}

/* Flagship creative A. */
.epl-msg--a {
	display: flex;
	align-items: center;
	gap: 26px;
	min-height: 150px;
	padding: 26px 30px;
}

.epl-msg__mark {
	display: flex;
	flex: none;
	align-items: center;
	gap: 10px;
	padding-right: 26px;
	border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.epl-msg__mark strong {
	font-size: 16px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.epl-msg__copy {
	position: relative;
	z-index: 2;
	flex: 1;
	min-width: 0;
}

.epl-msg__copy h2,
.epl-msg__top h2 {
	margin: 2px 0 6px;
	color: #fff;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.03em;
}

.epl-msg__copy p {
	max-width: 600px;
	margin-bottom: 0;
	color: #afc3e6;
	font-size: 13.5px;
}

.epl-msg__cta {
	position: relative;
	z-index: 2;
	display: flex;
	flex: none;
	align-items: flex-end;
	flex-direction: column;
	gap: 8px;
}

.epl-msg__cta > span {
	color: #7e93bf;
	font-size: 11px;
}

/* Which plugin shows the banner. */
.epl-msg__from {
	display: block;
	margin-bottom: 6px;
	color: #7e93bf;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Legacy FeedSync retirement line (shown until the retirement date). */
.epl-msg__deadline {
	display: block;
	margin-top: 8px;
	color: var(--epl-msg-stale);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0;
}

.epl-msg__text .epl-msg__deadline {
	margin-top: 4px;
	font-size: 12px;
}

/* Global strip creative B. */
.epl-msg--b {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 66px;
	padding: 16px 40px 16px 24px;
}

.epl-msg__badge {
	position: relative;
	z-index: 2;
	flex: none;
	padding: 4px 8px;
	border-radius: 4px;
	background: var(--epl-msg-stale);
	color: #04122e;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.epl-msg__text {
	position: relative;
	z-index: 2;
	flex: 1;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.epl-msg--b .epl-msg__button {
	position: relative;
	z-index: 2;
	padding: 9px 16px;
	font-size: 13px;
}

/* WP All Import creative C. */
.epl-msg--c {
	padding: 26px 30px;
}

.epl-msg__top {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	margin-bottom: 22px;
	flex-wrap: wrap;
}

.epl-msg__top > div {
	flex: 1;
}

.epl-msg__top h2 {
	font-size: 24px;
}

.epl-msg__top h2 em {
	color: var(--epl-msg-blue-bright);
	font-style: normal;
}

.epl-msg__top p {
	max-width: 520px;
	margin-bottom: 0;
	color: #afc3e6;
	font-size: 13px;
}

.epl-msg__lanes {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.epl-msg__lane {
	display: flex;
	align-items: center;
	gap: 16px;
}

.epl-msg__who {
	flex: none;
	width: 172px;
	text-align: right;
}

.epl-msg__who strong,
.epl-msg__who span {
	display: block;
}

.epl-msg__who strong {
	font-size: 12.5px;
	font-weight: 800;
}

.epl-msg__who span,
.epl-msg__end {
	color: #7e93bf;
	font-size: 11px;
}

.epl-msg__track {
	position: relative;
	overflow: hidden;
	flex: 1;
	height: 34px;
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.045);
}

.epl-msg__track::after {
	position: absolute;
	right: 0;
	left: 0;
	top: 50%;
	height: 1px;
	background: rgba(255, 255, 255, 0.09);
	content: "";
}

.epl-msg__end {
	flex: none;
	width: 96px;
	font-weight: 700;
}

.epl-msg__batch {
	position: absolute;
	z-index: 1;
	top: 7px;
	width: 64px;
	height: 20px;
	border-radius: 4px;
	background: var(--epl-msg-stale);
	opacity: 0.9;
	animation: epl-msg-batch 5.2s cubic-bezier(0.7, 0, 0.9, 0.3) infinite;
	animation-delay: -4.2s; /* Paused, this frame shows the batch mid-track. */
}

@keyframes epl-msg-batch {
	0%,
	45% {
		left: -70px;
	}
	100% {
		left: 100%;
	}
}

.epl-msg__stream {
	position: absolute;
	z-index: 1;
	top: 14px;
	width: 30px;
	height: 6px;
	border-radius: 3px;
	background: linear-gradient(90deg, transparent, var(--epl-msg-blue-bright));
	animation: epl-msg-flow 1.9s linear infinite;
	animation-delay: -0.2s;
}

.epl-msg__stream:nth-child(2) {
	width: 18px;
	opacity: 0.7;
	animation-delay: -0.58s;
}
.epl-msg__stream:nth-child(3) {
	width: 42px;
	opacity: 0.85;
	animation-delay: -0.96s;
}
.epl-msg__stream:nth-child(4) {
	width: 14px;
	opacity: 0.5;
	animation-delay: -1.34s;
}
.epl-msg__stream:nth-child(5) {
	width: 34px;
	opacity: 0.75;
	animation-delay: -1.72s;
}

@media (max-width: 900px) {
	.epl-msg--a {
		gap: 16px;
		padding: 22px;
		flex-wrap: wrap;
	}

	.epl-msg__mark {
		padding-right: 0;
		border-right: 0;
	}

	.epl-msg__cta {
		align-items: flex-start;
		width: 100%;
	}

	.epl-msg__copy h2 {
		font-size: 21px;
	}
}

@media (max-width: 820px) {
	.epl-msg__lane {
		flex-wrap: wrap;
	}

	.epl-msg__who {
		width: auto;
		text-align: left;
		flex-basis: 100%;
	}

	.epl-msg__end {
		display: none;
	}
}

@media (max-width: 760px) {
	.epl-msg--b {
		flex-wrap: wrap;
	}

	.epl-msg__text {
		flex-basis: 100%;
	}
}

/* Creative C is still until hovered (or focused): negative delays spread the pieces along the tracks. */
.epl-msg--c .epl-msg__batch,
.epl-msg--c .epl-msg__stream {
	animation-play-state: paused;
}

.epl-msg--c:hover .epl-msg__batch,
.epl-msg--c:hover .epl-msg__stream,
.epl-msg--c:focus-within .epl-msg__batch,
.epl-msg--c:focus-within .epl-msg__stream {
	animation-play-state: running;
}

@media (prefers-reduced-motion: reduce) {
	.epl-msg__packet,
	.epl-msg__stream {
		display: none;
		animation: none;
	}

	.epl-msg__batch {
		left: 40%;
		animation: none;
	}
}
