/* ==========================================================================
   Front-end-only base reset. Deliberately kept OUT of style.css and out of
   add_editor_style() — these bare-tag rules (body/p/h1-h4/img/a/box-sizing)
   would otherwise leak onto ACF's own block-editing form fields (labels,
   inputs, buttons) inside the editor iframe and break their default look.
   ========================================================================== */

* { box-sizing: border-box; }
/* Matches .amr-site-footer's own background (style.css) — the footer is
   always the last element on the page, so a fast fling-scroll past it on
   iOS/Android (rubber-band overscroll) reveals html's own background
   instead of body's. Without this it defaults to white, flashing a bright
   gap below the dark footer; this makes that overscroll area seamless. */
html { background: #1c1815; }
body {
	margin: 0;
	font-family: var(--amr-font);
	color: var(--amr-text);
	background: var(--amr-bg);
	font-size: 16px;
	line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.2; }
p { margin: 0 0 1em; }

/* <button> defaults to cursor:default in some browsers (Safari) unlike <a>,
   which is always pointer natively — this normalizes every real button and
   ARIA-button-role element site-wide instead of relying on each component's
   own scattered `cursor: pointer` rule. */
a[href], button, input[type="submit"], input[type="button"], input[type="reset"], [role="button"] {
	cursor: pointer;
}

/* Standard WP core screen-reader-text utility — visually hidden but present
   for assistive tech / crawlers (skip-link, and SEO-required section h2s that
   the visual design doesn't show). */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: 700;
	height: auto;
	line-height: normal;
	margin: 0;
	outline: 4px solid transparent;
	padding: 15px 23px 14px;
	right: 5px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}
