/* House Nest "Don't miss" ticker: [hn_dontmiss] and under the homepage banner.
   Dark bar, mint pill, newest headlines scrolling past. Montserrat, black / white / mint only. */
html body .hn-dm {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0;
	width: 100%;
	margin: 0;
	padding: 14px 0;
	background: #181818;
	border-top: 1px solid rgba(255, 255, 255, .08);
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	overflow: hidden;
	font-family: 'Montserrat', sans-serif;
	color: #ffffff;
}
html body .hn-dm-pill {
	position: relative;
	z-index: 2;
	flex: none;
	margin: 0 0 0 20px;
	padding: 11px 20px 10px;
	border-radius: 999px;
	background: #00ff9a;
	color: #000000;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .14em;
	text-transform: uppercase;
	line-height: 1;
	white-space: nowrap;
	box-shadow: 14px 0 18px 6px #181818; /* headlines fade in behind the pill */
}
html body .hn-dm-track {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 40px), transparent 100%);
	        mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 40px), transparent 100%);
}
html body .hn-dm-list {
	display: flex;
	width: max-content;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	animation: hn-dm-scroll var(--hn-dm-time, 48s) linear infinite;
}
html body .hn-dm:hover .hn-dm-list,
html body .hn-dm:focus-within .hn-dm-list { animation-play-state: paused; }
html body .hn-dm-list li {
	display: flex;
	align-items: center;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
html body .hn-dm-list li::after { /* mint dot between headlines */
	content: "";
	flex: none;
	width: 7px;
	height: 7px;
	margin: 0 26px;
	border-radius: 50%;
	background: #00ff9a;
}
html body .hn-dm.hn-dm.hn-dm.hn-dm .hn-dm-list a {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #ffffff !important;
	font-size: 15px;
	font-weight: 700 !important;
	line-height: 1.2;
	text-decoration: none !important;
	white-space: nowrap;
	box-shadow: none !important;
}
html body .hn-dm.hn-dm.hn-dm.hn-dm .hn-dm-list a:hover span,
html body .hn-dm.hn-dm.hn-dm.hn-dm .hn-dm-list a:focus-visible span {
	text-decoration: underline !important;
	text-decoration-color: #00ff9a !important;
	text-decoration-thickness: 2px !important;
	text-underline-offset: 4px !important;
}
html body .hn-dm-list img {
	flex: none;
	width: 44px !important;
	height: 44px !important;
	margin: 0 !important;
	border-radius: 8px;
	object-fit: cover;
}
@keyframes hn-dm-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}
@media (max-width: 767px) {
	html body .hn-dm { padding: 12px 0; }
	html body .hn-dm-pill { margin-left: 16px; padding: 9px 14px 8px; font-size: 11px; }
	html body .hn-dm.hn-dm.hn-dm.hn-dm .hn-dm-list a { font-size: 14px; }
	html body .hn-dm-list img { width: 36px !important; height: 36px !important; }
	html body .hn-dm-list li::after { margin: 0 18px; }
}
/* No movement for people who switched animations off: the headlines can be swiped instead */
@media (prefers-reduced-motion: reduce) {
	html body .hn-dm-list { animation: none; }
	html body .hn-dm-track { overflow-x: auto; scrollbar-width: none; }
	html body .hn-dm-list li[aria-hidden="true"] { display: none; }
}
