/* =========================================================================
   Long Beach Pride — base
   Global behavior that theme.json cannot express.
   (c) HAUS XXIV, LLC · Licensed to Long Beach Pride
   ========================================================================= */

/* Box model: padding and borders count inside width, as in the approved build */

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

/* Rendering ------------------------------------------------------------- */

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	font-feature-settings: "cv11", "ss01", "ss03";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

/* Typesetting: balanced, orphan-free wrapping everywhere ------------------ */

* { text-wrap-style: pretty !important; }

/* Accessibility ---------------------------------------------------------- */

:focus-visible {
	outline: 2px solid var(--wp--preset--color--focus);
	outline-offset: 3px;
	border-radius: 4px;
}

::selection {
	background: #FFED00;
	color: var(--wp--preset--color--ink);
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}
}

/* Content links ---------------------------------------------------------- */

/* Links in written content only; components set their own link styles */
.wp-block-post-content a:where(:not(.wp-element-button)):not([class*="wp-block-lbp-"] a) {
	text-decoration: underline;
	text-underline-offset: .18em;
}

.wp-block-post-content a:where(:not(.wp-element-button)):not([class*="wp-block-lbp-"] a):hover { text-decoration: none; }

/* Utilities -------------------------------------------------------------- */

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


.lbp-rainbow-rule {
	height: 6px;
	background: var(--wp--preset--gradient--rainbow);
}
