/* Code example page(s), e.g. python_style_example.html. */

.code-card {
	max-width: 1150px;
	margin: 1.5rem auto;
}

.code-card-header {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 10px;
}

.code-card-header a {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 0.85rem;
	color: #1d4ed8;
	text-decoration: none;
}

.code-card-header a:hover {
	text-decoration: underline;
}

pre.code-block {
	background: #0f172a;
	color: #e2e8f0;
	border-radius: 12px;
	padding: 20px 24px;
	overflow-x: auto;
	font-family: "Lucida Console", "Courier New", monospace;
	font-size: 0.85rem;
	line-height: 1.6;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.06);
}

/* Overrides SEdepartment.css's global `code { color; background; border; }`
   rule, which otherwise tiles a highlight box behind every line. */
pre.code-block code {
	font-family: inherit;
	display: block;
	background: transparent;
	color: inherit;
	border: none;
	padding: 0;
	font-size: inherit;
}
