.sc-article-engagement {
	position: relative;
	z-index: 6;
	isolation: isolate;
	box-sizing: border-box;
	width: calc(100% + 36px);
	max-width: none;
	margin: clamp(28px, 4vw, 42px) -18px 10px;
	border: 1px solid rgba(5, 30, 114, .14);
	border-top: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.sc-article-engagement .sc-article-actions {
	margin: 0;
	padding: 14px 16px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

body.single-post .entry-content .sc-article-engagement > .sc-article-subscription {
	display: grid !important;
	grid-template-columns: minmax(240px, .7fr) minmax(420px, 1.25fr) minmax(225px, .55fr);
	grid-template-areas:
		"heading form source"
		"copy form source";
	align-items: center;
	column-gap: clamp(20px, 2.5vw, 34px);
	row-gap: 7px;
	width: 100%;
	max-width: none;
	margin: 0 !important;
	padding: 24px 30px !important;
	border: 0 !important;
	border-top: 1px solid rgba(5, 30, 114, .12) !important;
	border-radius: 0;
	background: transparent;
}

body.single-post .entry-content .sc-article-subscription > hr {
	display: none;
}

body.single-post .entry-content .sc-article-subscription > h3 {
	grid-area: heading;
	align-self: end;
	max-width: none;
	margin: 0 !important;
	color: #051e72;
	font-size: clamp(18px, 1.5vw, 22px);
	font-weight: 850;
	line-height: 1.25;
	text-align: left !important;
}

body.single-post .entry-content .sc-article-subscription > p {
	grid-area: copy;
	align-self: start;
	max-width: none;
	margin: 0 !important;
	color: #52617e;
	font-size: 14px !important;
	line-height: 1.5;
	text-align: left !important;
}

body.single-post .entry-content .sc-article-subscription > .wp-block-group {
	grid-area: form;
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.single-post .entry-content .sc-google-preferred-source {
	grid-area: source;
	align-self: center;
	justify-self: start;
	display: grid;
	align-items: center;
	justify-items: center;
	gap: 6px;
	width: fit-content;
	max-width: 100%;
	min-width: 0;
	margin-top: 0;
}

body.single-post .entry-content .sc-google-preferred-source__label {
	color: #26395f;
	font-size: 12px;
	font-weight: 850;
	letter-spacing: .015em;
	line-height: 1.25;
	text-align: center;
}

body.single-post .entry-content .sc-google-preferred-source.is-google-ready .sc-google-preferred-source__fallback {
	display: none !important;
}

body.single-post .entry-content .sc-google-preferred-source__widget,
body.single-post .entry-content .sc-google-preferred-source__widget > * {
	max-width: 100%;
}

body.single-post .entry-content a.sc-google-preferred-source__fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 40px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid rgba(5, 30, 114, .18);
	border-radius: 4px;
	color: #051e72 !important;
	background: #fff;
	box-shadow: 0 3px 10px rgba(5, 30, 114, .08);
	font-size: 12px;
	font-weight: 850;
	line-height: 1;
	text-decoration: none !important;
	transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

body.single-post .entry-content a.sc-google-preferred-source__fallback:hover {
	border-color: rgba(5, 30, 114, .38);
	box-shadow: 0 6px 14px rgba(5, 30, 114, .12);
	transform: translateY(-1px);
}

body.single-post .entry-content a.sc-google-preferred-source__fallback:focus-visible {
	outline: 3px solid rgba(242, 194, 0, .75);
	outline-offset: 2px;
}

body.single-post .entry-content .sc-article-engagement .wp-block-jetpack-subscriptions,
body.single-post .entry-content .sc-article-engagement .wp-block-jetpack-subscriptions__container {
	width: 100%;
	max-width: none;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

body.single-post .entry-content .sc-article-engagement .wp-block-jetpack-subscriptions form,
body.single-post .entry-content .sc-article-engagement .wp-block-jetpack-subscriptions__form-elements {
	width: 100%;
	max-width: none;
	margin: 0 !important;
}

body.single-post .entry-content .sc-article-engagement .wp-block-jetpack-subscriptions__form-elements {
	display: flex !important;
	align-items: stretch;
	gap: 0;
	padding: 6px;
	border: 1px solid rgba(5, 30, 114, .13);
	border-radius: 999px;
	background: #edf2ff;
	box-shadow: 0 5px 16px rgba(5, 30, 114, .07);
}

body.single-post .entry-content .sc-article-engagement #subscribe-email {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0 !important;
}

body.single-post .entry-content .sc-article-engagement #subscribe-submit {
	flex: 0 0 auto;
	margin: 0 !important;
}

body.single-post .entry-content .sc-article-engagement #subscribe-field {
	box-sizing: border-box;
	width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 0 18px !important;
	border: 0 !important;
	border-radius: 999px 0 0 999px !important;
	color: #26395f;
	background: #fff;
	box-shadow: none !important;
	font-size: 14px !important;
	line-height: 1;
}

body.single-post .entry-content .sc-article-engagement #subscribe-field:disabled {
	opacity: 1;
	color: #6c7891;
	background: #f8f9fc;
}

body.single-post .entry-content .sc-article-engagement button.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 46px;
	margin: 0 !important;
	padding: 0 24px !important;
	border: 0 !important;
	border-radius: 999px !important;
	color: #fff !important;
	background: #051e72 !important;
	box-shadow: 0 5px 12px rgba(5, 30, 114, .18);
	font-size: 13px !important;
	font-weight: 900;
	letter-spacing: .04em;
	line-height: 1;
	text-transform: uppercase;
	transition: background 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

body.single-post .entry-content .sc-article-engagement button.wp-block-button__link:hover {
	background: #a60304 !important;
	box-shadow: 0 7px 16px rgba(166, 3, 4, .2);
	transform: translateY(-1px);
}

body.single-post .entry-content .sc-article-engagement button.wp-block-button__link:focus-visible {
	outline: 3px solid rgba(242, 194, 0, .75);
	outline-offset: 2px;
}

.single-post ul.meta.ospm-stylish > li.meta-author.sc-meta-author-enhanced {
	min-height: 38px;
	padding: 4px 11px 4px 5px;
	gap: 0;
}

.single-post ul.meta.ospm-stylish .sc-article-author-byline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	color: #fff !important;
	line-height: 1;
	text-align: left;
	text-decoration: none !important;
}

.single-post ul.meta.ospm-stylish .sc-article-author-avatar {
	display: block;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	max-width: none;
	margin: 0;
	border: 1px solid rgba(255, 255, 255, .72);
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
	object-fit: cover;
	transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.single-post ul.meta.ospm-stylish .sc-article-author-copy {
	display: grid;
	gap: 2px;
	min-width: 0;
	line-height: 1;
}

.single-post ul.meta.ospm-stylish .sc-article-author-label {
	color: rgba(255, 255, 255, .72);
	font-size: 8px;
	font-weight: 850;
	letter-spacing: .09em;
	line-height: 1;
	text-transform: uppercase;
}

.single-post ul.meta.ospm-stylish .sc-article-author-name {
	max-width: 18ch;
	overflow: hidden;
	color: #fff;
	font-size: 12px;
	font-weight: 900;
	line-height: 1.05;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.single-post ul.meta.ospm-stylish a.sc-article-author-byline:hover .sc-article-author-avatar {
	border-color: #feeb4a;
	box-shadow: 0 0 0 2px rgba(254, 235, 74, .22), 0 3px 10px rgba(0, 0, 0, .24);
	transform: translateY(-1px);
}

.single-post ul.meta.ospm-stylish a.sc-article-author-byline:hover .sc-article-author-name {
	color: #feeb4a;
}

.single-post ul.meta.ospm-stylish a.sc-article-author-byline:focus-visible {
	border-radius: 4px;
	outline: 2px solid #feeb4a;
	outline-offset: 3px;
}

.sc-article-actions {
	position: relative;
	z-index: 6;
	isolation: isolate;
	margin: clamp(24px, 4vw, 38px) 0 8px;
	padding: 10px 12px;
	border: 1px solid rgba(5, 30, 114, .13);
	border-radius: 16px;
	background:
		radial-gradient(circle at 15% 0%, rgba(45, 106, 255, .09), transparent 42%),
		linear-gradient(180deg, #fbfcff 0%, #f3f6ff 100%);
	box-shadow: 0 10px 28px rgba(5, 30, 114, .08);
}

.sc-article-actions__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 0;
}

.sc-article-action-group {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	flex: 0 0 auto;
	min-width: 0;
}

.sc-article-action,
.sc-article-repost-control > summary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	flex: 0 0 auto;
	box-sizing: border-box;
	width: auto;
	height: auto;
	min-width: 0;
	min-height: 40px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid rgba(5, 30, 114, .14);
	border-radius: 999px;
	color: #051e72 !important;
	background: #fff;
	box-shadow: 0 4px 12px rgba(5, 30, 114, .07);
	font: inherit;
	font-size: 12px;
	font-weight: 850;
	line-height: 1;
	text-align: center;
	text-decoration: none !important;
	text-transform: none;
	white-space: nowrap;
	appearance: none;
	cursor: pointer;
	transition: color 140ms ease, background 140ms ease, border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.sc-article-action:hover,
.sc-article-repost-control > summary:hover {
	color: #071d79 !important;
	background: #fff8cf;
	border-color: rgba(242, 194, 0, .7);
	box-shadow: 0 7px 17px rgba(5, 30, 114, .12);
	transform: translateY(-1px);
}

.sc-article-action:focus-visible,
.sc-article-repost-control > summary:focus-visible,
.sc-article-repost-menu button:focus-visible,
.sc-article-repost-menu a:focus-visible,
.sc-article-reaction-chip:focus-visible {
	outline: 3px solid rgba(242, 194, 0, .72);
	outline-offset: 2px;
}

.sc-article-action:disabled,
.sc-article-actions.is-pending .sc-article-action,
.sc-article-actions.is-pending .sc-article-repost-control > summary {
	opacity: .58;
	cursor: wait;
	transform: none;
}

.sc-article-action svg,
.sc-article-repost-control > summary svg {
	display: block;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
	pointer-events: none;
}

.sc-article-action.is-repost svg {
	width: 21px;
	height: 18px;
	stroke-width: 1.75;
}

.sc-article-action-label {
	display: inline-block;
	line-height: 1;
	pointer-events: none;
}

.sc-article-action-count {
	position: static;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border: 0;
	border-radius: 999px;
	color: #52658f;
	background: #edf2ff;
	font-size: 10px;
	font-weight: 900;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	pointer-events: none;
}

.sc-article-action.is-bookmark.is-active,
.sc-article-repost-control.is-active > summary {
	color: #051e72 !important;
	background: linear-gradient(180deg, #feeb4a 0%, #f8c900 100%);
	border-color: rgba(166, 3, 4, .2);
}

.sc-article-action.is-bookmark.is-active svg {
	fill: currentColor;
}

.sc-article-repost-control.is-active .sc-article-action-count {
	color: #051e72;
	background: rgba(255, 255, 255, .62);
}

.sc-article-action.is-share.is-copied {
	color: #fff !important;
	background: #08783e;
	border-color: #08783e;
}

.sc-article-repost-control {
	position: relative;
	flex: 0 0 auto;
	margin: 0;
}

.sc-article-repost-control > summary {
	list-style: none;
}

.sc-article-repost-control > summary::-webkit-details-marker {
	display: none;
}

.sc-article-repost-menu {
	position: absolute;
	left: 0;
	bottom: calc(100% + 9px);
	z-index: 20;
	display: grid;
	gap: 4px;
	width: max-content;
	min-width: 148px;
	padding: 7px;
	border: 1px solid rgba(5, 30, 114, .15);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 16px 38px rgba(5, 18, 72, .18);
}

.sc-article-repost-control:not([open]) .sc-article-repost-menu {
	display: none;
}

.single-post .entry-content .sc-article-repost-menu button,
.single-post .entry-content .sc-article-repost-menu a {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 36px;
	margin: 0;
	padding: 8px 10px;
	border: 0;
	border-radius: 7px;
	color: #051e72 !important;
	background: transparent;
	font: inherit;
	font-size: 12px;
	font-weight: 850;
	line-height: 1.2;
	text-align: left;
	text-decoration: none !important;
	cursor: pointer;
}

.single-post .entry-content .sc-article-repost-menu button:hover,
.single-post .entry-content .sc-article-repost-menu a:hover {
	background: #edf2ff;
}

.sc-article-reactions.sc-reaction-bar {
	display: flex;
	flex: 0 1 auto;
	justify-content: center;
	min-width: 0;
	max-width: 100%;
	margin: 0;
	padding: 0 12px;
	border-right: 1px solid rgba(5, 30, 114, .12);
	border-left: 1px solid rgba(5, 30, 114, .12);
}

.sc-article-reactions .sc-article-reaction-chip {
	min-height: 40px;
	padding: 8px 11px;
	background: #fff;
	white-space: nowrap;
}

.sc-article-reactions .sc-article-reaction-chip.is-active {
	background: linear-gradient(180deg, #feeb4a 0%, #f8c900 100%);
}

@media (max-width: 1100px) {
	body.single-post .entry-content .sc-article-engagement > .sc-article-subscription {
		grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
		grid-template-areas:
			"heading form"
			"copy form"
			". source";
		column-gap: 22px;
		padding-inline: 22px !important;
	}

	body.single-post .entry-content .sc-google-preferred-source {
		align-self: start;
		justify-self: stretch;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: flex-end;
		gap: 8px 12px;
		width: auto;
		margin-top: 3px;
	}
}

@media (max-width: 900px) {
	body.single-post .entry-content .sc-article-engagement > .sc-article-subscription {
		grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
	}

	.sc-article-actions__row {
		gap: 8px;
	}

	.sc-article-action,
	.sc-article-repost-control > summary {
		padding-inline: 10px;
	}

	.sc-article-reactions.sc-reaction-bar {
		padding-inline: 8px;
	}
}

@media (max-width: 720px) {
	body.single-post .entry-content .sc-article-engagement > .sc-article-subscription {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"heading"
			"copy"
			"form"
			"source";
		row-gap: 8px;
		padding: 22px 18px !important;
	}

	body.single-post .entry-content .sc-article-subscription > h3,
	body.single-post .entry-content .sc-article-subscription > p {
		text-align: center !important;
	}

	body.single-post .entry-content .sc-article-subscription > .wp-block-group {
		margin-top: 8px !important;
	}

	body.single-post .entry-content .sc-google-preferred-source {
		justify-content: center;
		margin-top: 10px;
		text-align: center;
	}

	.sc-article-actions {
		margin-top: 26px;
		padding: 10px;
	}

	.sc-article-actions__row {
		gap: 10px 12px;
	}

	.sc-article-reactions.sc-reaction-bar {
		order: -1;
		flex: 0 0 100%;
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 5px;
		padding: 0 0 10px;
		border: 0;
		border-bottom: 1px solid rgba(5, 30, 114, .12);
	}

	.sc-article-reactions .sc-article-reaction-chip {
		width: 100%;
		min-width: 0;
		padding-inline: 7px;
	}

	.sc-article-repost-menu {
		left: 50%;
		transform: translateX(-50%);
	}
}

@media (max-width: 480px) {
	.single-post ul.meta.ospm-stylish > li.meta-author.sc-meta-author-enhanced {
		min-height: 36px;
		padding-right: 9px;
	}

	.single-post ul.meta.ospm-stylish .sc-article-author-avatar {
		flex-basis: 26px;
		width: 26px;
		height: 26px;
	}

	.sc-article-engagement {
		border-radius: 0;
	}

	.sc-article-engagement .sc-article-actions {
		border-radius: 0;
	}

	body.single-post .entry-content .sc-article-engagement > .sc-article-subscription {
		padding: 20px 14px !important;
		border-radius: 0;
	}

	body.single-post .entry-content .sc-article-engagement .wp-block-jetpack-subscriptions__form-elements {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}

	body.single-post .entry-content .sc-article-engagement #subscribe-field,
	body.single-post .entry-content .sc-article-engagement button.wp-block-button__link {
		width: 100%;
		border-radius: 999px !important;
	}

	body.single-post .entry-content .sc-article-engagement #subscribe-field {
		border: 1px solid rgba(5, 30, 114, .14) !important;
	}

	.sc-article-actions {
		padding: 8px;
	}

	.sc-article-action-group {
		flex: 1 1 100%;
	}

	.sc-article-action-group > .sc-article-action,
	.sc-article-action-group > .sc-article-repost-control {
		flex: 1 1 0;
		max-width: 150px;
	}

	.sc-article-action-group > .sc-article-repost-control > summary {
		width: 100%;
	}
}

/* Mobile Sonic News header metadata.
   Keep categories readable as individual chips instead of one wrapped box. */
@media (max-width: 767px) {
	body.single-post .page-header ul.meta.ospm-stylish > li.meta-cat {
		display: flex !important;
		flex: 0 0 100% !important;
		align-items: center;
		width: 100% !important;
		max-width: 100% !important;
		min-height: 0;
		gap: 8px;
		overflow-x: auto;
		overflow-y: hidden;
		padding: 0 0 5px !important;
		border: 0 !important;
		border-radius: 0 !important;
		background: transparent !important;
		white-space: nowrap !important;
		line-height: 1;
		scrollbar-width: none;
		overscroll-behavior-inline: contain;
		scroll-snap-type: inline proximity;
		-webkit-overflow-scrolling: touch;
	}

	body.single-post .page-header ul.meta.ospm-stylish > li.meta-cat::-webkit-scrollbar {
		display: none;
	}

	body.single-post .page-header ul.meta.ospm-stylish > li.meta-cat > i,
	body.single-post .page-header ul.meta.ospm-stylish > li.meta-cat > a {
		display: inline-flex !important;
		flex: 0 0 auto !important;
		align-items: center;
		min-height: 34px;
		margin: 0 !important;
		padding: 6px 12px !important;
		border: 1px solid rgba(255, 255, 255, .14) !important;
		border-radius: 8px !important;
		background: rgba(255, 255, 255, .10) !important;
		white-space: nowrap !important;
		scroll-snap-align: start;
	}

	body.single-post .page-header ul.meta.ospm-stylish > li.meta-cat > i {
		justify-content: center;
		width: 34px;
		padding: 0 !important;
	}

	body.single-post .page-header ul.meta.ospm-stylish .meta-cat .owp-sep,
	body.single-post .page-header ul.meta.ospm-stylish > li.sc-meta-break {
		display: none !important;
	}
}

@media (max-width: 360px) {
	.sc-article-reactions .sc-article-reaction-label {
		display: none;
	}

	.sc-article-reactions .sc-article-reaction-chip {
		gap: 4px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sc-article-action,
	.sc-article-repost-control > summary,
	.sc-article-reaction-chip {
		transition: none;
	}

	body.single-post .entry-content a.sc-google-preferred-source__fallback {
		transition: none;
	}
}
