/*
 * Pro badge (paywalled posts). Shapes follow the "Pro Article Cards" design,
 * styles A–H. Each preset sets the --pb-* variables (Pro_Badge::presets_css());
 * a block's Pro badge section overrides --pb-fs and --pb-inset.
 */
.ne-pro {
	--pb-bg: #f5b700;
	--pb-fg: #111418;
	--pb-ic: currentColor;
	--pb-bd: transparent;
	--pb-rad: 4px;
	--pb-fs: 11px;
	--pb-inset: 12px;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.45em 0.8em;
	border: 1.5px solid var(--pb-bd);
	border-radius: var(--pb-rad);
	background: var(--pb-bg);
	color: var(--pb-fg);
	/* Its own sans-serif: on images the badge sits outside any text and would
	   otherwise get the browser's default serif. */
	font-family: var(--pb-font, Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
	font-size: var(--pb-fs);
	font-style: normal;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	vertical-align: middle;
	pointer-events: none;
}
.ne-pro svg {
	flex: none;
	width: 1.15em;
	height: 1.15em;
	color: var(--pb-ic);
}

/* Shapes */
.ne-pro.is-outline {
	background: transparent;
}
.ne-pro.is-icon {
	width: 2.5em;
	height: 2.5em;
	padding: 0;
	justify-content: center;
	border-radius: 50%;
}
.ne-pro.is-icon.is-img {
	box-shadow: 0 0 0 3px #fff, 0 2px 8px rgba(17, 20, 24, 0.2);
}
.ne-pro.is-icon svg {
	width: 1.2em;
	height: 1.2em;
}
.ne-pro.is-text {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}
.ne-pro.is-text.is-img {
	padding: 0.35em 0.6em;
	border-radius: var(--pb-rad);
	background: #fff;
}
.ne-pro__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* On the image: the card's image box (.ft-thumbwrap) is positioned. */
.ne-pro.is-img {
	position: absolute;
	z-index: 3;
	top: var(--pb-inset);
	right: var(--pb-inset);
}
.ne-pro.is-img.is-tl {
	right: auto;
	left: var(--pb-inset);
}
.ne-pro.is-ribbon {
	top: 1.4em;
	right: -3.3em;
	width: 12em;
	justify-content: center;
	padding: 0.45em 0;
	border: 0;
	border-radius: 0;
	transform: rotate(45deg);
	box-shadow: 0 2px 6px rgba(17, 20, 24, 0.2);
	letter-spacing: 0.14em;
}
.ne-pro.is-ribbon.is-tl {
	right: auto;
	left: -3.3em;
	transform: rotate(-45deg);
}
.ne-pro.is-strip {
	top: auto;
	right: 0;
	bottom: 0;
	left: 0;
	justify-content: space-between;
	padding: 0.8em 1em;
	border: 0;
	border-radius: 0;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}
.ne-pro.is-strip.is-tl {
	left: 0;
}
.ne-pro__tag {
	margin-right: 0.5em;
	color: var(--pb-ic);
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* Inline: before the title, or as a meta field. */
.ne-pro.is-title {
	margin-right: 0.5em;
	vertical-align: 0.2em;
}
.ne-pro.is-meta {
	margin-right: 0.35em;
}
