/*
Theme Name: WIZSP - Hermit WordPress Theme
Theme URI: https://wizsp.com
Author: WIZSP
Author URI: https://wizsp.com
Description: Blank-canvas theme for internal WordPress installs. Per-page control of width, header, footer, raw HTML, CSS and JS. Zero typography or colour opinions. Ships nothing you did not ask for.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wizsp-hermit
Tags: blank, minimal, custom-menu, full-width-template
*/
/* ─────────────────────────────────────────────────────────────
   RULE FOR THIS FILE: no typography, no colour, no decoration.
   Anything you add here leaks into every pasted artifact.
   Put site styling in Customizer → Canvas → Global CSS instead.
   ───────────────────────────────────────────────────────────── */

/* --- Reset (the minimum that stops surprises) --- */

html {
	box-sizing: border-box;
	-webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body {
	margin: 0;
	padding: 0;
}

img,
svg,
video,
canvas,
iframe,
embed,
object {
	max-width: 100%;
}

img,
video {
	height: auto;
}

/* --- Container ---
   Width comes from --hermit-content-width, printed by the Customizer setting
   and overridable per page. Pages flagged "Full width" never get .hermit-container
   in the first place, so there is nothing to override. */

.hermit-container {
	width: 100%;
	max-width: var( --hermit-content-width, 1200px );
	margin-inline: auto;
	padding-inline: var( --hermit-gutter, 20px );
}

/* --- Menus ---
   Structural only: kills the bullets and the default list indent.
   Colour, spacing and type belong in Global CSS. */

.hermit-menu {
	display: flex;
	flex-wrap: wrap;
	gap: var( --hermit-menu-gap, 1.5rem );
	margin: 0;
	padding: 0;
	list-style: none;
}

.hermit-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* --- Accessibility --- */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect( 0 0 0 0 );
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	position: fixed !important;
	top: 0;
	left: 0;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	clip: auto;
	background: #fff;
	color: #000;
	white-space: normal;
}
