:root {
	--rsk-font-scale: 1;
}

html {
	font-size: calc(100% * var(--rsk-font-scale));
}

.rsk-accessibility-toolbar {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 99999;
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	align-items: center;
	padding: 0.75rem;
	background: #ffffff;
	border: 2px solid #1f2937;
	border-radius: 0.75rem;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.rsk-a11y-btn {
	min-width: 48px;
	min-height: 48px;
	padding: 0.5rem 0.75rem;
	font-size: 1rem;
	font-weight: 700;
	border: 2px solid #111827;
	border-radius: 0.5rem;
	background: #ffffff;
	color: #111827;
	cursor: pointer;
}

.rsk-a11y-btn:focus-visible {
	outline: 3px solid #2563eb;
	outline-offset: 2px;
}

.rsk-high-contrast,
.rsk-high-contrast body {
	background: #000000 !important;
	color: #ffffff !important;
}

.rsk-high-contrast a,
.rsk-high-contrast .entry-title a {
	color: #ffeb3b !important;
	text-decoration: underline !important;
}

.rsk-high-contrast button,
.rsk-high-contrast input,
.rsk-high-contrast select,
.rsk-high-contrast textarea,
.rsk-high-contrast .menu-item > a {
	background: #111111 !important;
	color: #ffffff !important;
	border-color: #ffffff !important;
}

button,
a,
input[type="button"],
input[type="submit"],
.menu-item > a {
	min-height: 44px;
}

@media (max-width: 768px) {
	.rsk-accessibility-toolbar {
		left: 1rem;
		right: 1rem;
		justify-content: center;
	}
}
