/*
Theme Name: Mumega Motion
Description: Mumega theme with React/Motion-powered interactive components. Progressive-enhancement animations on top of real, server-rendered content — shares WordPress core's own React instance instead of bundling a duplicate.
Version: 0.2.1
Author: Mumega
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: mumega-motion
Update URI: https://github.com/Mumega-com/mumega-motion-theme
*/

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

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}
}

body {
	background: var(--figma-color-surface, #fff);
	color: var(--figma-color-text, #151515);
	font-family: var(--figma-typography-body-font-family, system-ui, sans-serif);
	line-height: 1.6;
	margin: 0;
}

a {
	color: inherit;
	text-underline-offset: 0.18em;
}

img {
	height: auto;
	max-width: 100%;
}

button,
input,
select,
textarea {
	font: inherit;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: #fff;
	clip: auto !important;
	clip-path: none;
	color: #151515;
	display: block;
	height: auto;
	left: 1rem;
	padding: 0.75rem 1rem;
	top: 1rem;
	width: auto;
	z-index: 100000;
}

.site-header,
.site-footer {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2rem;
	justify-content: space-between;
	margin-inline: auto;
	max-width: 80rem;
	padding: 1.25rem;
}

.site-title,
.site-footer__title {
	font-weight: 700;
	text-decoration: none;
}

.site-tagline,
.site-footer__tagline,
.site-footer__copyright {
	margin: 0;
}

.primary-navigation__list,
.mobile-navigation__list,
.footer-navigation__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-navigation {
	display: none;
}

@media (max-width: 48rem) {

	.primary-navigation {
		display: none;
	}

	.mobile-navigation {
		display: block;
	}

	.mobile-navigation__list {
		display: grid;
		padding-block: 0.75rem;
	}
}
