/* Shared content chrome for public course/news pages and Decap CMS preview. */

.personal-study-kicker {
	font-size: 0.875rem;
	letter-spacing: 0.01em;
	margin: 0 0 0.75rem;
	opacity: 0.85;
}

.content-chrome {
	margin: 0;
}

.content-chrome .code-badge {
	display: inline-block;
	font-family: ui-monospace, monospace;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	margin: 0 0.5rem 0.5rem 0;
	padding: 0.2rem 0.55rem;
	border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
	border-radius: 0.25rem;
}

.content-chrome .area-chip {
	display: inline-block;
	font-size: 0.8125rem;
	margin: 0 0 0.75rem;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	background: color-mix(in srgb, currentColor 12%, transparent);
}

.content-chrome h1 {
	font-size: 2rem;
	line-height: 1.2;
	margin: 0 0 1rem;
}

.content-chrome .summary-band {
	margin: 0 0 1.25rem;
	padding: 0.85rem 1rem;
	border-left: 3px solid color-mix(in srgb, currentColor 45%, transparent);
	background: color-mix(in srgb, currentColor 8%, transparent);
	font-size: 1.05rem;
	line-height: 1.45;
}

.content-chrome .news-date,
.content-chrome .content-updated {
	font-size: 0.9375rem;
	margin: 0 0 0.75rem;
	opacity: 0.9;
}

.content-chrome .content-prose {
	max-width: 40rem;
}

.content-chrome .content-prose h2 {
	font-size: 1.25rem;
	line-height: 1.3;
	margin: 1.5rem 0 0.5rem;
}

.content-chrome .content-prose p,
.content-chrome .content-prose ul {
	margin: 0 0 1rem;
}

.content-chrome .content-prose ul {
	padding-left: 1.25rem;
}

.content-chrome .content-prose code {
	font-family: ui-monospace, monospace;
	font-size: 0.95em;
}

.content-chrome .content-back-link {
	margin: 2rem 0 0;
	font-size: 0.9375rem;
}
