.m404-favorites-open {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font: inherit;
	color: inherit;
	background: transparent;
	border: 0;
	padding: 5px 8px;
	cursor: pointer;
	white-space: nowrap;
	line-height: 1.25;
	vertical-align: middle;
}

.m404-favorites-open::before,
.m404-favorite-toolbar button::before {
	content: '♡';
	font: 30px/1 Arial, sans-serif;
	color: #c8202b;
	position: relative;
	top: 1px;
}

.preview-tools .m404-favorites-open { margin: 0; padding: 1px 0; min-height: 0; color: #fff; font: bold 14px/1.4 Arial, sans-serif; }
.preview-tools .m404-favorites-open::before { color: #fff; }
.preview-tools .m404-favorites-open::before { font-size: 16px; }
.drawer-secondary .m404-favorites-open { text-align: left; justify-content: flex-start; padding: 12px 0; }

.m404-favorites {
	width: min(620px, calc(100% - 28px));
	max-height: 85dvh;
	margin: auto;
	padding: 24px;
	background: #f5f4ef;
	color: #202123;
	border: 1px solid #ddd;
	border-radius: 12px;
	overflow: auto;
}
.m404-favorites::backdrop { background: #0009; }
.m404-favorites-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.m404-favorites-heading h2 { font: 30px/1.3 Georgia, serif; margin: 0; }
.m404-favorites button,
.m404-favorite-toolbar button {
	padding: 10px 14px;
	border: 1px solid #c8202b;
	background: transparent;
	color: inherit;
	border-radius: 6px;
	cursor: pointer;
	font: inherit;
	min-height: 44px;
}
.m404-favorites-heading button { font-size: 24px; }
.m404-favorite-item { padding: 16px 0; border-top: 1px solid #ddd; }
.m404-favorite-item > a { display: flex; gap: 16px; align-items: center; color: inherit; text-decoration: none; }
.m404-favorite-item img { width: 80px; height: 70px; object-fit: cover; border-radius: 4px; }
.m404-favorite-item h3 { font: 20px/1.3 Georgia, serif; margin: 0; }
.m404-favorite-actions { display: flex; gap: 12px; margin-top: 12px; }

/* Keep both article actions on one row and give them the same control height. */
.single-post .share { display: flex; align-items: stretch; flex-flow: row nowrap; gap: 12px; }
.single-post .share > #copy-link,
.single-post .share > .m404-favorite-toolbar { height: 52px; min-height: 52px; box-sizing: border-box; margin: 0; }
.single-post .share > #copy-link { flex: 1 1 auto; width: auto; display: inline-flex; align-items: center; justify-content: center; }
.single-post .share > .m404-favorite-toolbar { display: flex; flex: 0 0 52px; width: 52px; align-items: stretch; }
.m404-favorite-toolbar button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 19px;
	line-height: 1.3;
	min-height: 0;
	padding: 0;
}
.single-post .share > .m404-favorite-toolbar button { position: relative; display: grid; place-items: center; width: 52px; height: 52px; box-sizing: border-box; padding: 0; gap: 0; font-size: 0; line-height: 1; }
.single-post .share > .m404-favorite-toolbar button::before { position: absolute; top: calc(50% + 1px); left: 50%; transform: translate(-50%, -50%); margin: 0; font-size: 30px; line-height: 1; }
.m404-favorite-toolbar button::before { flex: 0 0 auto; }
.m404-favorite-toolbar button[aria-pressed="true"]::before { content: '♥'; }
.m404-favorite-toolbar button[aria-pressed="true"] { background: #c8202b; color: #fff; }
.single-post .article-body { padding-bottom: 18px; }
.single-post .section { padding-top: 0; }
.single-post .editorial-article-figure .image-credit { display: none; }

/* A single, easy-to-tap heart sits over each story image. */
.m404-card-shell { position: relative; display: block; width: 100%; min-width: 0; }
.m404-card-favorite {
	position: absolute !important;
	top: 10px !important;
	right: 10px !important;
	left: auto !important;
	z-index: 5 !important;
	width: 46px !important;
	height: 46px !important;
	min-height: 46px !important;
	padding: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #fff !important;
	box-shadow: 0 2px 10px #0004 !important;
	color: #c8202b !important;
	font: 32px/1 Arial, sans-serif !important;
	cursor: pointer !important;
}
.m404-card-favorite::before { content: '♡'; position: relative; top: 1px; }
.m404-card-favorite[aria-pressed="true"]::before { content: '♥'; }
.m404-card-favorite[aria-pressed="true"] { background: #c8202b !important; color: #fff !important; }
.m404-card-favorite:focus-visible { outline: 3px solid #1769d1 !important; outline-offset: 2px !important; }
.m404-card-shell--heart-below { border-bottom: 1px solid #d7d6cf; box-sizing: content-box; }
.m404-card-shell--heart-below > .card { border-bottom: 0 !important; }

@media (max-width: 620px) {
	body > .preview { height: auto; min-height: 34px; flex-wrap: wrap; gap: 4px; padding-top: 5px; padding-bottom: 5px; }
	.preview .preview-tools { flex-wrap: wrap; }
	.preview .m404-favorites-open { font-size: 11px; min-height: 0; padding: 1px 0; }
	.preview .m404-favorites-open::before { font-size: 13px; }
	.m404-favorites { padding: 18px; }
	.single-post .article-body { padding-bottom: 14px; }
	.single-post .section { padding-top: 0; }
	.single-post .share { gap: 8px !important; }
	.single-post .share > #copy-link { flex: 1 1 0; width: auto !important; min-width: 0; height: 46px !important; min-height: 46px !important; padding: 0 8px !important; white-space: nowrap; font-size: clamp(11px, 3.5vw, 14px) !important; }
	.single-post .share > .m404-favorite-toolbar { flex: 0 0 46px; width: 46px; height: 46px !important; min-height: 46px !important; }
	.single-post .share > .m404-favorite-toolbar button { width: 46px !important; height: 46px !important; min-height: 46px !important; }
	.single-post .share > .m404-favorite-toolbar button::before { font-size: 28px; }
	.m404-card-favorite { width: 40px !important; height: 40px !important; min-height: 40px !important; }
}

@media (min-width: 701px) {
	body.home .news-spotlight-image > .m404-card-shell { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; }
}
