/* rsc24 Promo Ribbon */
.rscpr {
	--rscpr-bg: #111827;
	--rscpr-fg: #fff;
	--rscpr-accent: #facc15;
	--rscpr-accent-fg: #111;
	position: relative;
	z-index: 99990;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: .5rem 2.75rem;
	background: var(--rscpr-bg);
	color: var(--rscpr-fg);
	font-size: 15px;
	line-height: 1.4;
	text-align: center;
}
.rscpr[hidden] { display: none !important; }
.rscpr--top_sticky {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
}
@media (max-width: 600px) {
	.admin-bar .rscpr--top_sticky { top: 0; }
}
.rscpr--bottom_fixed {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	box-shadow: 0 -2px 12px rgba(0, 0, 0, .18);
}
html.rscpr-has-bottom body { padding-bottom: var(--rscpr-bottom-space, 0); }

.rscpr__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: .35rem 1rem;
	max-width: 1200px;
	margin: 0 auto;
}
.rscpr__text { margin: 0; padding: 0; color: inherit; font: inherit; }
.rscpr__text a { color: inherit; text-decoration: underline; }
.rscpr__mobile { display: none; }
@media (max-width: 600px) {
	.rscpr { font-size: 13.5px; padding: .45rem 2.25rem .45rem .75rem; }
	.rscpr__full { display: none; }
	.rscpr__mobile { display: inline; }
}

.rscpr-code {
	position: relative;
	display: inline-flex;
	align-items: center;
	margin: 0 .15em;
	padding: .1em .6em;
	border: 1px dashed currentColor;
	border-radius: 4px;
	background: var(--rscpr-accent);
	color: var(--rscpr-accent-fg);
	font: inherit;
	font-weight: 700;
	letter-spacing: .03em;
	line-height: inherit;
	cursor: pointer;
	vertical-align: baseline;
	transition: transform .15s ease;
}
.rscpr-code--static { cursor: auto; }
button.rscpr-code:hover { transform: translateY(-1px); }
button.rscpr-code:focus-visible { outline: 2px solid var(--rscpr-fg, currentColor); outline-offset: 2px; }
button.rscpr-code::after {
	content: "";
	display: inline-block;
	width: .85em;
	height: .85em;
	margin-left: .45em;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 1H4a2 2 0 0 0-2 2v14h2V3h12V1zm3 4H8a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2zm0 16H8V7h11v14z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 1H4a2 2 0 0 0-2 2v14h2V3h12V1zm3 4H8a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2zm0 16H8V7h11v14z'/%3E%3C/svg%3E") center / contain no-repeat;
	opacity: .75;
}
.rscpr-code__ok {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: inherit;
	background: var(--rscpr-accent);
	z-index: 1;
	opacity: 0;
	transition: opacity .15s ease;
	pointer-events: none;
}
.rscpr-code.is-copied .rscpr-code__ok { opacity: 1; }

.rscpr__cta {
	display: inline-block;
	padding: .15em .8em;
	border: 1px solid currentColor;
	border-radius: 999px;
	color: inherit !important;
	font-weight: 600;
	text-decoration: none !important;
	white-space: nowrap;
}
.rscpr__cta:hover { background: var(--rscpr-fg); color: var(--rscpr-bg) !important; }

.rscpr__close {
	position: absolute;
	top: 50%;
	right: .5rem;
	width: 2rem;
	height: 2rem;
	margin: -1rem 0 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	opacity: .75;
}
.rscpr__close:hover, .rscpr__close:focus-visible { opacity: 1; background: rgba(127, 127, 127, .2); }

.rscpr-inline { background: none; }
.rscpr-countdown { font-variant-numeric: tabular-nums; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
	.rscpr-code, .rscpr-code__ok { transition: none; }
}
@media print { .rscpr { display: none !important; } }
