/**
 * Newsroom single article — styles from article-detail.html mockup.
 */

html {
	scroll-behavior: smooth;
}

.ontarioai-newsroom-single .article-body h2 {
	font-family: 'Geist', sans-serif;
	font-size: 1.9375rem;
	font-weight: 700;
	color: #0f1629;
	margin-top: 3rem;
	margin-bottom: 1rem;
	line-height: 1.3;
}

.ontarioai-newsroom-single .article-body h3 {
	font-family: 'Geist', sans-serif;
	font-size: 1.3125rem;
	font-weight: 600;
	color: #0f1629;
	margin-top: 2rem;
	margin-bottom: 0.75rem;
	line-height: 1.4;
}

.ontarioai-newsroom-single .article-body p {
	color: #4a4a5a;
	font-size: 1.0625rem;
	line-height: 1.8;
	margin-bottom: 1.5rem;
}

.ontarioai-newsroom-single .article-body ul {
	margin-bottom: 1.5rem;
	padding-left: 1.5rem;
	list-style: none;
}

.ontarioai-newsroom-single .article-body ul li {
	position: relative;
	padding-left: 1.25rem;
	color: #4a4a5a;
	font-size: 1.0625rem;
	line-height: 1.8;
	margin-bottom: 0.6rem;
}

.ontarioai-newsroom-single .article-body ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.65rem;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #6b46ff;
}

.ontarioai-newsroom-single .article-body ol {
	margin-bottom: 1.5rem;
	padding-left: 0;
	list-style: none;
	counter-reset: ol-counter;
}

.ontarioai-newsroom-single .article-body ol li {
	position: relative;
	padding-left: 2rem;
	color: #4a4a5a;
	font-size: 1.0625rem;
	line-height: 1.8;
	margin-bottom: 0.6rem;
	counter-increment: ol-counter;
}

.ontarioai-newsroom-single .article-body ol li::before {
	content: counter(ol-counter);
	position: absolute;
	left: 0;
	top: 0;
	width: 1.4rem;
	height: 1.4rem;
	border-radius: 50%;
	background: #6b46ff;
	color: #fff;
	font-size: 0.75rem;
	font-family: 'DM Mono', monospace;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 500;
	line-height: 1;
}

.ontarioai-newsroom-single .article-body blockquote,
.ontarioai-newsroom-single .article-body .wp-block-quote {
	border-left: 3px solid #6b46ff;
	padding: 1.25rem 1.5rem;
	background: #f4f3f0;
	border-radius: 0 12px 12px 0;
	margin: 2rem 0;
	font-size: 1.1875rem;
	font-weight: 500;
	color: #0f1629;
	line-height: 1.6;
}

.ontarioai-newsroom-single .article-body strong {
	color: #0f1629;
	font-weight: 600;
}

.ontarioai-newsroom-single .article-body a {
	color: #6b46ff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ontarioai-newsroom-single .article-body hr,
.ontarioai-newsroom-single .article-body .wp-block-separator {
	border: none;
	border-top: 1px solid #d0cec8;
	margin: 2.5rem 0;
}

.ontarioai-newsroom-single .author-card p {
	margin-bottom: 0;
}

.ontarioai-newsroom-single .stat-callout,
.ontarioai-newsroom-single .wp-block-group.stat-callout,
.ontarioai-newsroom-single .is-style-ontarioai-stat-callout {
	background: linear-gradient(135deg, rgba(107, 70, 255, 0.06) 0%, rgba(107, 70, 255, 0.02) 100%);
	border: 1px solid rgba(107, 70, 255, 0.2);
	border-radius: 16px;
	padding: 2rem;
	margin: 2.5rem 0;
}

.ontarioai-newsroom-single #readingBar {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	background: #6b46ff;
	z-index: 9999;
	transition: width 0.1s linear;
	width: 0%;
}

.ontarioai-newsroom-single .toc-link {
	transition: color 0.2s, border-color 0.2s;
}

.ontarioai-newsroom-single .toc-link.active {
	color: #6b46ff;
	border-left-color: #6b46ff;
}

.ontarioai-newsroom-single .text-body\/50 {
	color: rgba(74, 74, 90, 0.5) !important;
}

.ontarioai-newsroom-single .text-body\/40 {
	color: rgba(74, 74, 90, 0.4) !important;
}

.ontarioai-newsroom-single .bg-violet\/15 {
	background-color: rgba(107, 70, 255, 0.15) !important;
}

.ontarioai-newsroom-single .share-btn {
	transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}

.ontarioai-newsroom-single .author-share .share-btn {
	border-color: rgba(107, 70, 255, 0.35);
	background: rgba(107, 70, 255, 0.08);
	color: #6b46ff;
}

.ontarioai-newsroom-single .author-share .share-btn:hover {
	border-color: #6b46ff;
	background: rgba(107, 70, 255, 0.15);
	color: #5535cc;
}

.ontarioai-newsroom-single .author-share .share-label {
	color: #6b46ff;
}

.ontarioai-newsroom-single .author-share .share-download {
	border-color: rgba(107, 70, 255, 0.35);
	background: rgba(107, 70, 255, 0.08);
	color: #6b46ff;
	text-decoration: none;
}

.ontarioai-newsroom-single .author-share .share-download:hover {
	border-color: #6b46ff;
	background: #6b46ff;
	color: #fff;
}

.ontarioai-newsroom-single .rel-card {
	transition: border-color 0.3s, box-shadow 0.3s;
}

.ontarioai-newsroom-single .rel-card:hover {
	border-color: #6b46ff;
	box-shadow: 0 0 0 1px rgba(107, 70, 255, 0.3), 0 12px 40px rgba(107, 70, 255, 0.1);
}

.ontarioai-newsroom-single .article-body .wp-block-image.is-style-ontarioai-inline-diagram,
.ontarioai-newsroom-single .article-body .wp-block-image:not(.is-style-rounded) {
	margin: 2.5rem 0;
	border-radius: 1rem;
	overflow: hidden;
	border: 1px solid #d0cec8;
}

.ontarioai-newsroom-single .article-body .wp-block-image img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

.ontarioai-newsroom-single .article-body .wp-block-image figcaption {
	color: rgba(74, 74, 90, 0.4);
	font-size: 0.8125rem;
	font-family: 'DM Mono', monospace;
	padding: 0.75rem 1.25rem;
	background: #f4f3f0;
	margin: 0;
}

.ontarioai-newsroom-single .oai-copy-toast {
	position: fixed;
	bottom: 1.5rem;
	left: 50%;
	transform: translateX(-50%) translateY(120%);
	background: #0f1629;
	color: #fff;
	font-family: 'DM Mono', monospace;
	font-size: 0.8125rem;
	padding: 0.65rem 1.25rem;
	border-radius: 9999px;
	z-index: 10000;
	opacity: 0;
	transition: transform 0.25s ease, opacity 0.25s ease;
	pointer-events: none;
}

.ontarioai-newsroom-single .oai-copy-toast.is-visible {
	transform: translateX(-50%) translateY(0);
	opacity: 1;
}

.ontarioai-newsroom-single .article-hero-image {
	box-shadow: 0 8px 60px rgba(0, 0, 0, 0.1);
}
