/* theta42 docs site — shares the in-app dark navbar/footer + card look
   (Bootstrap 5 + Font Awesome, same as the running apps) rather than a
   generic Jekyll theme. */

body {
	background-color: #f4f5f6;
}

.navbar-brand img {
	filter: drop-shadow(0 0 2px rgba(0, 0, 0, .4));
}

.navbar-nav .nav-link.active {
	color: #fff;
	font-weight: 600;
}

/* Markdown content typography, scoped to the card body so it doesn't leak
   into the nav/footer. */
.site-content h1:first-child {
	margin-top: 0;
}

.site-content h1,
.site-content h2,
.site-content h3 {
	font-weight: 700;
}

.site-content h2 {
	margin-top: 2.5rem;
	padding-bottom: .4rem;
	border-bottom: 1px solid #e9ecef;
}

.site-content h3 {
	margin-top: 1.75rem;
}

.site-content a {
	color: #a3671f;
	text-decoration-color: rgba(163, 103, 31, .35);
}

.site-content a:hover {
	color: #8a5a16;
}

.site-content pre {
	background-color: #212529;
	color: #f8f9fa;
	padding: 1rem 1.25rem;
	border-radius: .375rem;
	overflow-x: auto;
}

.site-content code {
	color: #a3671f;
	background-color: #f4f0e8;
	padding: .15em .4em;
	border-radius: .25rem;
	font-size: .875em;
}

.site-content pre code {
	color: inherit;
	background: none;
	padding: 0;
}

.site-content table {
	display: block;
	overflow-x: auto;
	width: 100%;
	border-collapse: collapse;
	margin: 1.25rem 0;
}

.site-content table th,
.site-content table td {
	border: 1px solid #dee2e6;
	padding: .5rem .75rem;
	text-align: left;
}

.site-content table th {
	background-color: #f8f9fa;
}

.site-content blockquote {
	border-left: 4px solid #C59341;
	padding: .5rem 1rem;
	margin: 1.25rem 0;
	background-color: #f8f6f1;
	color: #495057;
}

.site-content img {
	max-width: 100%;
	height: auto;
}

/* Screenshot grids in the markdown use width="49%" inline attrs for a
   two-up desktop layout -- stack them on narrow screens instead of
   squeezing to illegibility. */
@media (max-width: 576px) {
	.site-content img[width] {
		width: 100% !important;
		margin-bottom: .75rem;
	}
}

.site-content hr {
	margin: 2rem 0;
	border-top: 1px solid #e9ecef;
}
