/**
 * Story cluster / related coverage (frontend + editor preview).
 * Complementary content — not main article body.
 *
 * Contrast: accent links use #0a4b78 on #f8f9fa (≥ WCAG AA 4.5:1).
 */

/* Legacy class from older editor inserts */
.newsroom-os-story-cluster {
	margin: 1.5rem 0;
	padding: 1.25rem;
	background: #f8f9fa;
	border: 1px solid #c3c4c7;
	border-radius: 8px;
	box-sizing: border-box;
	clear: both;
	color: #1d2327;
}

.newsroom-os-story-cluster ul {
	margin: 0;
	padding-left: 1.25rem;
}

.newsai-story-cluster,
aside.newsai-story-cluster,
div.newsai-story-cluster {
	margin: 1.5rem 0;
	padding: 1.25rem 1.25rem 1rem;
	background: #f8f9fa;
	border: 1px solid #c3c4c7;
	border-radius: 8px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	box-sizing: border-box;
	clear: both;
	color: #1d2327;
}

aside.newsai-story-cluster .newsai-story-cluster__heading,
.newsai-story-cluster__heading {
	margin: 0 0 1rem;
	padding-bottom: 0.65rem;
	border-bottom: 2px solid #0a4b78;
	font-size: 1rem;
	line-height: 1.35;
	color: #1d2327;
}

aside.newsai-story-cluster .newsai-story-cluster__topic-link,
.newsai-story-cluster__topic-link {
	color: #0a4b78;
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

aside.newsai-story-cluster .newsai-story-cluster__topic-link:hover,
aside.newsai-story-cluster .newsai-story-cluster__topic-link:focus,
.newsai-story-cluster__topic-link:hover,
.newsai-story-cluster__topic-link:focus {
	color: #062a44;
	text-decoration: underline;
}

.newsai-story-cluster__timeline {
	list-style: none;
	margin: 0;
	padding: 0 0 0 0.5rem;
	border-left: 2px solid #c3c4c7;
}

.newsai-story-cluster__item {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin: 0 0 1.25rem;
	padding-left: 0.75rem;
}

.newsai-story-cluster__item::before {
	content: "";
	position: absolute;
	left: -0.35rem;
	top: 0.4rem;
	width: 10px;
	height: 10px;
	background: #0a4b78;
	border-radius: 50%;
	border: 2px solid #f8f9fa;
	box-sizing: border-box;
}

.newsai-story-cluster__thumb {
	flex-shrink: 0;
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 4px;
	border: 1px solid #c3c4c7;
	margin-top: 2px;
}

.newsai-story-cluster__body {
	min-width: 0;
	flex: 1;
}

aside.newsai-story-cluster .newsai-story-cluster__date,
.newsai-story-cluster__date {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	color: #0a4b78;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 0.25rem;
}

aside.newsai-story-cluster .newsai-story-cluster__link,
.newsai-story-cluster__link {
	font-weight: 600;
	color: #1d2327;
	text-decoration: none;
	line-height: 1.4;
	font-size: 0.9375rem;
	display: block;
}

aside.newsai-story-cluster .newsai-story-cluster__link:hover,
aside.newsai-story-cluster .newsai-story-cluster__link:focus,
.newsai-story-cluster__link:hover,
.newsai-story-cluster__link:focus {
	color: #0a4b78;
	text-decoration: underline;
}

.newsai-story-cluster__footer {
	margin: 0.5rem 0 0;
	padding-left: 1.25rem;
	text-align: left;
}

aside.newsai-story-cluster .newsai-story-cluster__more,
.newsai-story-cluster__more {
	font-size: 0.8125rem;
	font-weight: 700;
	color: #0a4b78;
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

aside.newsai-story-cluster .newsai-story-cluster__more:hover,
aside.newsai-story-cluster .newsai-story-cluster__more:focus,
.newsai-story-cluster__more:hover,
.newsai-story-cluster__more:focus {
	color: #062a44;
	text-decoration: underline;
}

/* Editor-inserted simple link list (Smart Links) */
.newsai-story-cluster--links .newsai-story-cluster__list {
	margin: 0;
	padding-left: 1.25rem;
}

.newsai-story-cluster--links .newsai-story-cluster__list li {
	margin-bottom: 0.35rem;
	line-height: 1.45;
}

aside.newsai-story-cluster.newsai-story-cluster--links .newsai-story-cluster__list a,
.newsai-story-cluster--links .newsai-story-cluster__list a {
	color: #0a4b78;
	text-decoration: underline;
	text-underline-offset: 0.12em;
	font-weight: 600;
}

aside.newsai-story-cluster.newsai-story-cluster--links .newsai-story-cluster__list a:hover,
aside.newsai-story-cluster.newsai-story-cluster--links .newsai-story-cluster__list a:focus,
.newsai-story-cluster--links .newsai-story-cluster__list a:hover,
.newsai-story-cluster--links .newsai-story-cluster__list a:focus {
	color: #062a44;
	text-decoration: underline;
}
