/* Weekly AI-news related links. Separate file name intentionally busts stale browser caches. */
body.dm-ai-weekly-post .dm-news__view {
	max-width: none;
	margin: 18px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
}

body.dm-ai-weekly-post .dm-news__view::before {
	content: "RELATED LINKS";
	display: block;
	margin: 0 0 6px;
	color: var(--dm-news-blue);
	font-family: monospace;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .16em;
}

body.dm-ai-weekly-post .dm-news__links {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--dm-news-line);
	list-style: none;
}

body.dm-ai-weekly-post .dm-news__links li {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--dm-news-line);
}

body.dm-ai-weekly-post .dm-news__links a {
	display: flex;
	min-height: 44px;
	gap: 9px;
	align-items: center;
	box-sizing: border-box;
	padding: 9px 12px;
	color: var(--dm-news-ink);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.55;
	text-decoration: none;
	transition: background-color .16s ease, color .16s ease;
}

body.dm-ai-weekly-post .dm-news__links a::before {
	content: "📝";
	flex: 0 0 auto;
}

body.dm-ai-weekly-post .dm-news__links a::after {
	content: "→";
	flex: 0 0 auto;
	margin-left: auto;
	color: var(--dm-news-blue);
	font-family: monospace;
	font-weight: 700;
}

body.dm-ai-weekly-post .dm-news__links a[target="_blank"]::before { content: "🌐"; }
body.dm-ai-weekly-post .dm-news__links a[target="_blank"]::after { content: "↗"; }

body.dm-ai-weekly-post .dm-news__links a:hover,
body.dm-ai-weekly-post .dm-news__links a:focus-visible {
	background: var(--dm-news-blue-bg);
	color: var(--dm-news-blue);
	text-decoration: none;
}

body.dm-ai-weekly-post .dm-news__links a:focus-visible {
	outline: 2px solid var(--dm-news-blue);
	outline-offset: -2px;
}

@media (max-width: 600px) {
	body.dm-ai-weekly-post .dm-news__view { padding: 0; }
}
