/* ==========================================================================
   BASE / GLOBAL
   Minimal for now — reset, header, footer, dark mode base. Gets built out
   as more screens/modules are added, same as the wiki's custom-style.css.
   ========================================================================== */

* {
	box-sizing: border-box;
}

body {
	background: var(--rsgdxlvjr-color-bg);
	color: var(--rsgdxlvjr-color-text);
	font-family: var(--rsgdxlvjr-font-sans);
	margin: 0;
}

a {
	color: var(--rsgdxlvjr-color-blue-light);
	text-decoration: none;
}

a:hover {
	color: var(--rsgdxlvjr-color-error);
}

.rsgdxlvjr-header {
	background: var(--rsgdxlvjr-color-surface);
	border-bottom: 1px solid var(--rsgdxlvjr-color-border);
}

.rsgdxlvjr-header__inner {
	max-width: var(--rsgdxlvjr-max-width-wide);
	margin: 0 auto;
	height: var(--rsgdxlvjr-header-height);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 var(--rsgdxlvjr-space-6);
}

.rsgdxlvjr-header__site-name {
	font-weight: 700;
	font-size: var(--rsgdxlvjr-text-md);
	color: var(--rsgdxlvjr-color-text);
}

.rsgdxlvjr-header__nav ul {
	display: flex;
	gap: var(--rsgdxlvjr-space-5);
	margin: 0;
	padding: 0;
	list-style: none;
}

.rsgdxlvjr-header__nav a {
	color: var(--rsgdxlvjr-color-text-muted);
	font-size: var(--rsgdxlvjr-text-sm);
}

.rsgdxlvjr-header__nav a:hover {
	color: var(--rsgdxlvjr-color-text);
}

/* --- Footer --- */

.rsgdxlvjr-footer {
	background: var(--rsgdxlvjr-color-surface);
	border-top: 1px solid var(--rsgdxlvjr-color-border);
	padding: var(--rsgdxlvjr-space-6) 0;
	margin-top: var(--rsgdxlvjr-space-10);
}

.rsgdxlvjr-footer__inner {
	max-width: var(--rsgdxlvjr-max-width-wide);
	margin: 0 auto;
	padding: 0 var(--rsgdxlvjr-space-6);
	font-size: var(--rsgdxlvjr-text-xs);
	color: var(--rsgdxlvjr-color-text-subtle);
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--rsgdxlvjr-space-2);
}

.rsgdxlvjr-footer__inner a {
	color: var(--rsgdxlvjr-color-text-muted);
}

.rsgdxlvjr-footer__inner a:hover {
	color: var(--rsgdxlvjr-color-error);
}

.rsgdxlvjr-footer__sep {
	color: var(--rsgdxlvjr-color-border-light);
}

.rsgdxlvjr-footer__viewing-as {
	color: var(--rsgdxlvjr-color-text-subtle);
}