/* Subscriber-only badge beside article titles (landings + single). */

.dn-sub-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	vertical-align: middle;
	margin-left: 0.35em;
	padding: 2px 7px 2px 6px;
	border: 1px solid rgba(218, 29, 37, 0.35);
	border-radius: 999px;
	background: #fff5f5;
	color: #da1d25;
	font-family: "Source Sans 3", system-ui, sans-serif;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
	position: relative;
	top: -0.05em;
	max-width: 100%;
	box-sizing: border-box;
}

.dn-sub-badge-icon {
	display: block;
	flex-shrink: 0;
	font-size: 10px;
	line-height: 1;
	width: 0.9em;
	text-align: center;
}

.dn-sub-badge-text {
	display: inline-block;
}

/* Inside title links: no underline, don't steal the click. */
a .dn-sub-badge,
h1 .dn-sub-badge,
h2 .dn-sub-badge {
	text-decoration: none !important;
	pointer-events: none;
	box-shadow: none;
}

/* Story / archive cards (compact titles). */
.mvp-blog-story-text h2 .dn-sub-badge,
.mvp-feat4-sub-text h2 .dn-sub-badge,
.mvp-feat4-sub h2 .dn-sub-badge {
	font-size: 9px;
	padding: 1px 6px 1px 5px;
	top: -0.1em;
}

.mvp-blog-story-text h2 .dn-sub-badge-icon,
.mvp-feat4-sub-text h2 .dn-sub-badge-icon,
.mvp-feat4-sub h2 .dn-sub-badge-icon {
	font-size: 9px;
}

/* Big featured hero title. */
.mvp-feat4-main-text h2 .dn-sub-badge,
.mvp-feat4-main-wrap h2 .dn-sub-badge,
h2.mvp-stand-title .dn-sub-badge {
	font-size: 11px;
	padding: 3px 8px 3px 7px;
	top: -0.12em;
	border-color: rgba(218, 29, 37, 0.45);
}

.mvp-feat4-main-text h2 .dn-sub-badge-icon,
.mvp-feat4-main-wrap h2 .dn-sub-badge-icon,
h2.mvp-stand-title .dn-sub-badge-icon {
	font-size: 11px;
}

/* Single article H1. */
.mvp-post-title .dn-sub-badge,
h1.entry-title .dn-sub-badge {
	font-size: 11px;
	padding: 3px 8px 3px 7px;
	top: -0.12em;
}

/* If a featured hero sits on a dark image overlay, keep the pill readable. */
.mvp-feat4-main-text h2 .dn-sub-badge,
.mvp-feat1-feat-text h2 .dn-sub-badge,
.mvp-feat2-main-text h2 .dn-sub-badge {
	background: rgba(255, 245, 245, 0.96);
}
