/* Match villegenius dark theme exactly */

* {
	box-sizing: border-box;
}

body {
	background: #01074b;
	color: #fefefe;
	font-size: 16px;
	margin: 0;
	font-family: arial, helvetica, sans-serif;
	box-shadow: none;
	line-height: 1.5;
}

/* Nav - hidden on all pages (dark theme) */
nav {
	display: none;
}

/* Wrapper */
.wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100dvh;
}

.wrapper > * {
	width: 100%;
}

main {
	flex: 1 1 auto;
	padding: 0;
}

/* Container */
.container {
	max-width: 100%;
	margin: 1px 0;
	padding: 16px;
	background: #01074b;
	box-shadow: unset;
}

.container.page {
	max-width: 660px;
	margin: 0 auto;
}

/* Typography */
h1 {
	font-size: 1.4rem;
	margin-top: 0;
	margin-bottom: 16px;
	line-height: 1.3;
}

h2 {
	font-size: 1.1rem;
	margin-top: 24px;
	margin-bottom: 12px;
}

h3 {
	font-size: 1rem;
	margin-top: 16px;
	margin-bottom: 8px;
}

p {
	margin-bottom: 12px;
}

ul, ol {
	margin-left: 20px;
	margin-bottom: 12px;
}

li {
	margin-bottom: 6px;
}

a {
	color: #fefefe;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/* RSOC container */
#relatedsearches1,
#relatedsearches2 {
	margin: 16px 0;
}

/* AFS container */
.afs-container {
	margin: 16px 0;
}

/* Web results (search page) */
.webresults {
	margin-top: 16px;
	color: #9e9e9e;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.webresults > div:first-child {
	font-size: 14px;
	color: #9e9e9e;
}

.webresults a {
	color: #9e9e9e;
	font-size: 18px;
	text-decoration: none;
}

.webresults a:hover {
	text-decoration: underline;
}

.ws-domain,
.wr-domain {
	font-size: 14px;
	color: #9e9e9e;
}

.wr-snippet {
	font-size: 14px;
	color: #9e9e9e;
	margin-top: 2px;
}

/* Footer */
footer {
	text-align: center;
	padding: 16px;
}

footer a {
	color: #fefefe;
	cursor: pointer;
	white-space: nowrap;
	text-decoration: none;
}

footer .copyright {
	color: #fefefe;
}

/* Mobile */
@media (max-width: 576px) {
	.container {
		padding: 12px;
	}
}