/* MedLegal Updates Feed — header pill button */
.mluf-hbtn {
	--mluf-hbtn-bg: #D7B243;
	--mluf-hbtn-fg: #8B1E2B;
	--mluf-hbtn-badge: #8B1E2B;
	--mluf-hbtn-h: 44px;

	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	height: var(--mluf-hbtn-h);
	padding: 0 20px 0 14px;
	border: 0;
	border-radius: 999px;
	background: var(--mluf-hbtn-bg);
	color: var(--mluf-hbtn-fg) !important;
	font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .01em;
	white-space: nowrap;
	text-decoration: none !important;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 6px 16px -8px color-mix(in srgb, var(--mluf-hbtn-bg) 80%, #000);
	transition: transform .2s cubic-bezier(.2, .7, .2, 1), box-shadow .2s, filter .2s;
	-webkit-tap-highlight-color: transparent;
	box-sizing: border-box;
	vertical-align: middle;
}
.mluf-hbtn:hover,
.mluf-hbtn:focus-visible {
	transform: translateY(-1px);
	filter: brightness(1.05);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 10px 22px -10px color-mix(in srgb, var(--mluf-hbtn-bg) 85%, #000);
	color: var(--mluf-hbtn-fg) !important;
}
.mluf-hbtn:focus-visible { outline: 3px solid color-mix(in srgb, var(--mluf-hbtn-bg) 45%, transparent); outline-offset: 3px; }
.mluf-hbtn:active { transform: translateY(0); }

.mluf-hbtn__icon {
	position: relative;
	display: grid;
	place-items: center;
	flex: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .32);
}
.mluf-hbtn__icon svg { display: block; width: 17px; height: 17px; }
.mluf-hbtn.has-new .mluf-hbtn__icon svg { animation: mluf-ring 2.8s ease-in-out 1s infinite; transform-origin: 50% 15%; }
@keyframes mluf-ring {
	0%, 60%, 100% { transform: rotate(0); }
	64% { transform: rotate(14deg); }
	70% { transform: rotate(-12deg); }
	76% { transform: rotate(8deg); }
	82% { transform: rotate(-5deg); }
	88% { transform: rotate(2deg); }
}

.mluf-hbtn__badge {
	position: absolute;
	top: -7px;
	right: -9px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--mluf-hbtn-badge);
	color: #fff;
	border: 2px solid #fff;
	font-size: 11px;
	font-weight: 800;
	line-height: 16px;
	text-align: center;
	font-variant-numeric: tabular-nums;
	box-sizing: border-box;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}
.mluf-hbtn__badge[hidden] { display: none; }
.mluf-hbtn__badge--inline { position: static; order: 2; border-color: transparent; }
.mluf-hbtn__badge.is-pop { animation: mluf-badge-pop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes mluf-badge-pop { from { transform: scale(0); } to { transform: scale(1); } }

.mluf-hbtn--sm { --mluf-hbtn-h: 36px; font-size: 13px; padding: 0 16px 0 10px; gap: 7px; }
.mluf-hbtn--sm .mluf-hbtn__icon { width: 24px; height: 24px; }
.mluf-hbtn--sm .mluf-hbtn__icon svg { width: 15px; height: 15px; }
.mluf-hbtn--lg { --mluf-hbtn-h: 52px; font-size: 16px; padding: 0 24px 0 16px; }
.mluf-hbtn--icon-only { width: var(--mluf-hbtn-h); padding: 0; }
.mluf-hbtn--icon-only .mluf-hbtn__icon { background: transparent; }

.mluf-hbtn .screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
	.mluf-hbtn, .mluf-hbtn__badge, .mluf-hbtn__icon svg { animation: none !important; transition: none !important; }
}
