/* House Nest article promo box: "Get your release featured". Colours: #181818, white, mint #00ff9a. */

html body .hn-promo {
	position: relative;
	display: block;
	clear: both;
	margin: 36px 0 12px;
	padding: 28px 28px 26px;
	background: #181818;
	color: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	font-family: 'Montserrat', sans-serif;
	text-align: left;
}
html body .hn-promo::before { /* thin mint line along the top */
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 3px;
	background: #00ff9a;
}
html body .hn-promo .hn-promo-eyebrow {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	line-height: 1.4;
	text-transform: uppercase;
	color: #00ff9a;
}
html body .hn-promo .hn-promo-title {
	margin: 0 0 14px;
	font-size: 26px;
	font-weight: 900;
	line-height: 1.15;
	color: #ffffff;
}
html body .hn-promo .hn-promo-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 22px;
}
html body .hn-promo .hn-promo-facts span {
	padding: 6px 12px;
	border-radius: 999px;
	background: #242424;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
}
html body .hn-promo .hn-promo-facts b { color: #00ff9a; font-weight: 900; }
html body .hn-promo .hn-promo-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Buttons. The repeated .hn-promo makes these rules stronger than the article link style (no underline, own colours). */
html body .hn-promo.hn-promo.hn-promo.hn-promo.hn-promo.hn-promo a.hn-promo-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 22px !important;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: 'Montserrat', sans-serif;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: .05em;
	line-height: 1 !important;
	text-transform: uppercase;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
html body .hn-promo.hn-promo.hn-promo.hn-promo.hn-promo.hn-promo a.hn-promo-main { background: #00ff9a !important; border-color: #00ff9a !important; color: #000000 !important; }
html body .hn-promo.hn-promo.hn-promo.hn-promo.hn-promo.hn-promo a.hn-promo-main:hover { background: #ffffff !important; border-color: #ffffff !important; color: #000000 !important; }
html body .hn-promo.hn-promo.hn-promo.hn-promo.hn-promo.hn-promo a.hn-promo-line { background: transparent !important; border-color: #ffffff !important; color: #ffffff !important; }
html body .hn-promo.hn-promo.hn-promo.hn-promo.hn-promo.hn-promo a.hn-promo-line:hover { background: #ffffff !important; color: #000000 !important; }
html body .hn-promo.hn-promo.hn-promo.hn-promo.hn-promo.hn-promo a.hn-promo-btn:focus-visible { outline: 3px solid #00ff9a; outline-offset: 3px; }

/* Slim one-line version for the middle of an article */
html body .hn-promo.hn-promo-slim {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 28px 0;
	padding: 18px 20px 16px;
}
html body .hn-promo.hn-promo.hn-promo .hn-promo-slim-text { font-size: 15px; font-weight: 500; line-height: 1.4; color: #ffffff !important; }
html body .hn-promo.hn-promo.hn-promo .hn-promo-slim-text strong { display: block; font-weight: 900; font-size: 17px; color: #ffffff !important; } /* beats the article's black bold text */
html body .hn-promo-slim a.hn-promo-btn { flex: 0 0 auto; min-height: 42px; }

/* Phones */
@media (max-width: 600px) {
	html body .hn-promo { padding: 24px 20px 22px; }
	html body .hn-promo .hn-promo-title { font-size: 22px; }
	html body .hn-promo.hn-promo.hn-promo.hn-promo.hn-promo.hn-promo a.hn-promo-btn { width: 100%; }
	html body .hn-promo.hn-promo-slim { flex-direction: column; align-items: stretch; }
}

/* ===== Latest stories block in articles ([hn_latest]) ===== */
html body .hn-latest {
	display: block;
	clear: both;
	margin: 32px 0;
	padding-top: 18px;
	border-top: 6px solid #000000;
	font-family: 'Montserrat', sans-serif;
}
html body .hn-latest .hn-latest-head { margin: 0 0 18px; line-height: 1; }
html body .hn-latest .hn-latest-head span {
	display: inline-block;
	padding: 0;
	font-size: 14px;
	font-weight: 900;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: #000000;
	text-decoration: underline;
	text-decoration-color: #00ff9a;
	text-decoration-thickness: 3px;
	text-underline-offset: 6px; /* mint underline under the word */
}
html body .hn-latest .hn-latest-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}
/* Repeated class = stronger than the article link style (no underline, no bold override) */
html body .hn-latest.hn-latest.hn-latest.hn-latest.hn-latest.hn-latest a.hn-latest-item {
	display: block;
	color: #000000 !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	box-shadow: none !important;
}
html body .hn-latest .hn-latest-img {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 11;
	background: #000000;
}
html body .hn-latest .hn-latest-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0;
	transition: transform .35s ease;
}
html body .hn-latest a.hn-latest-item:hover .hn-latest-img img { transform: scale(1.04); }
html body .hn-latest .hn-latest-title {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-top: 12px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	color: #000000;
	transition: color .15s ease;
}
html body .hn-latest.hn-latest.hn-latest.hn-latest.hn-latest.hn-latest a.hn-latest-item:hover .hn-latest-title { color: #003ffa !important; }

/* Phones: compact rows, small image left, title right */
@media (max-width: 767px) {
	html body .hn-latest .hn-latest-list { grid-template-columns: 1fr; gap: 0; }
	html body .hn-latest.hn-latest.hn-latest.hn-latest.hn-latest.hn-latest a.hn-latest-item {
		display: grid;
		grid-template-columns: 120px minmax(0, 1fr);
		gap: 14px;
		align-items: center;
		padding: 14px 0;
		border-bottom: 1px solid #000000;
	}
	html body .hn-latest .hn-latest-item:first-child { padding-top: 0; }
	html body .hn-latest .hn-latest-item:last-child { border-bottom: 0; padding-bottom: 0; }
	html body .hn-latest .hn-latest-img { aspect-ratio: 4 / 3; }
	html body .hn-latest .hn-latest-title { margin-top: 0; font-size: 15px; -webkit-line-clamp: 4; }
}
