/*!
Theme Name: _s
Theme URI: https://underscores.me/
Author: Automattic
Author URI: https://automattic.com/
Description: Hi. I'm a starter theme called <code>_s</code>, or <em>underscores</em>, if you like. I'm a theme meant for hacking so don't use me as a <em>Parent Theme</em>. Instead try turning me into the next, most awesome, WordPress theme out there. That's what I'm here for.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: _s
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

_s is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Design Tokens
# Generic
# Base
# Layouts
# Components
# Plugins
# Utilities
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Design Tokens
--------------------------------------------------------------*/
:root {
	--color-primary: #FF7A00;
	--color-secondary: #0F172A;
	--color-accent: #FACC15;
	--color-bg: #0B1220;
	--color-surface: rgba(255, 255, 255, 0.04);
	--color-surface-strong: rgba(255, 255, 255, 0.08);
	--color-border: rgba(255, 255, 255, 0.10);
	--color-text: #E5E7EB;
	--color-text-soft: #94A3B8;
	--color-muted: #64748B;
	--color-on-primary: #0B1220;
	--color-on-secondary: #F8FAFC;
	--color-danger: #EF4444;
	--color-success: #22C55E;

	--font-sans: "Inter", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-display: "Inter", "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;
	--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

	--fs-xs: 0.75rem;
	--fs-sm: 0.875rem;
	--fs-base: 1rem;
	--fs-md: 1.125rem;
	--fs-lg: 1.25rem;
	--fs-xl: 1.5rem;
	--fs-2xl: 2rem;
	--fs-3xl: 2.5rem;
	--fs-4xl: 3rem;
	--fs-5xl: 3.75rem;

	--space-1: 8px;
	--space-2: 16px;
	--space-3: 24px;
	--space-4: 32px;
	--space-5: 48px;
	--space-6: 64px;
	--space-7: 96px;

	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 20px;
	--radius-xl: 28px;
	--radius-pill: 999px;

	--shadow-glow: 0 0 0 1px rgba(255, 122, 0, 0.35), 0 10px 30px rgba(255, 122, 0, 0.25);
	--shadow-card: 0 10px 30px rgba(2, 6, 23, 0.45);
	--shadow-soft: 0 6px 18px rgba(2, 6, 23, 0.35);

	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--dur: 220ms;

	--container-max: 1240px;
}

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
}

main {
	display: block;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

a {
	background-color: transparent;
}

abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

b,
strong {
	font-weight: bolder;
}

code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

img {
	border-style: none;
}

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

button,
input {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

progress {
	vertical-align: baseline;
}

textarea {
	overflow: auto;
}

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

details {
	display: block;
}

summary {
	display: list-item;
}

template {
	display: none;
}

[hidden] {
	display: none;
}

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

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
html {
	scroll-behavior: smooth;
}

body {
	background:
		radial-gradient(1200px 600px at 80% -10%, rgba(255, 122, 0, 0.18), transparent 60%),
		radial-gradient(900px 500px at -10% 10%, rgba(250, 204, 21, 0.10), transparent 60%),
		linear-gradient(180deg, #0B1220 0%, #0F172A 100%);
	color: var(--color-text);
	font-family: var(--font-sans);
	font-size: var(--fs-base);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	min-height: 100vh;
	overflow-x: hidden;
}

body,
button,
input,
select,
optgroup,
textarea {
	color: var(--color-text);
	font-family: var(--font-sans);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	color: var(--color-on-secondary);
	line-height: 1.2;
	margin: 0 0 var(--space-2);
	letter-spacing: -0.01em;
	clear: both;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, var(--fs-5xl)); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.5vw + 0.5rem, var(--fs-3xl)); font-weight: 700; }
h3 { font-size: var(--fs-2xl); font-weight: 700; }
h4 { font-size: var(--fs-xl); font-weight: 600; }
h5 { font-size: var(--fs-lg); font-weight: 600; }
h6 { font-size: var(--fs-md); font-weight: 600; }

p {
	margin: 0 0 var(--space-2);
	color: var(--color-text-soft);
}

a {
	color: var(--color-primary);
	text-decoration: none;
	transition: color var(--dur) var(--ease);
}

a:hover,
a:focus {
	color: var(--color-accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 2px;
	border-radius: 4px;
}

ul, ol {
	margin: 0 0 var(--space-2) 1.5em;
	color: var(--color-text-soft);
}

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

embed, iframe, object {
	max-width: 100%;
}

hr {
	background-color: var(--color-border);
	border: 0;
	height: 1px;
	margin: var(--space-3) 0;
}

blockquote {
	margin: var(--space-2) 0;
	padding-left: var(--space-2);
	border-left: 3px solid var(--color-primary);
	color: var(--color-text-soft);
}

code, kbd, tt, var {
	font-family: var(--font-mono);
	background: var(--color-surface);
	padding: 2px 6px;
	border-radius: 6px;
	font-size: 0.9em;
}

pre {
	background: var(--color-surface);
	padding: var(--space-2);
	border-radius: var(--radius-md);
	overflow: auto;
}

::selection {
	background: var(--color-primary);
	color: var(--color-on-primary);
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	font: inherit;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea,
select {
	background: var(--color-surface);
	color: var(--color-text);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: 10px 14px;
	transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

input:focus, textarea:focus, select:focus {
	border-color: var(--color-primary);
	background: var(--color-surface-strong);
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
.wm-site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.wm-container {
	width: 100%;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--space-2);
}

@media (min-width: 768px) {
	.wm-container { padding: 0 var(--space-3); }
}

.wm-main {
	flex: 1 0 auto;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Site Header */
.wm-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(11, 18, 32, 0.72);
	backdrop-filter: blur(14px) saturate(140%);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	border-bottom: 1px solid var(--color-border);
}

.wm-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2);
	padding: 14px 0;
}

.wm-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	letter-spacing: 0.02em;
	color: var(--color-on-secondary);
	font-size: var(--fs-lg);
}

.wm-brand__logo {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--color-on-primary);
	box-shadow: var(--shadow-glow);
}

.wm-brand__logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
}

.wm-brand img.custom-logo {
	max-height: 40px;
	width: auto;
}

.wm-nav {
	display: flex;
	align-items: center;
	gap: var(--space-2);
}

.wm-nav__list {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: var(--space-1);
}

.wm-nav__list a {
	display: inline-block;
	padding: 8px 12px;
	border-radius: var(--radius-sm);
	color: var(--color-text);
	font-weight: 500;
	font-size: var(--fs-sm);
}

.wm-nav__list a:hover,
.wm-nav__list .current-menu-item a {
	color: var(--color-on-secondary);
	background: var(--color-surface);
}

@media (min-width: 1024px) {
	.wm-nav__list {
		display: flex;
	}
}

.wm-nav__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: var(--radius-sm);
	background: var(--color-surface);
	color: var(--color-on-secondary);
}

@media (min-width: 1024px) {
	.wm-nav__toggle { display: none; }
}

.wm-nav__panel {
	display: none;
	padding: var(--space-2) 0;
	border-top: 1px solid var(--color-border);
}

.wm-nav__panel.is-open { display: block; }

@media (min-width: 1024px) {
	.wm-nav__panel { display: none !important; }
}

.wm-nav__panel ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 4px;
}

.wm-nav__panel a {
	display: block;
	padding: 12px 14px;
	border-radius: var(--radius-sm);
	color: var(--color-text);
	background: var(--color-surface);
}

/* Buttons */
.wm-btn {
	--btn-bg: var(--color-primary);
	--btn-fg: var(--color-on-primary);
	--btn-border: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 20px;
	border-radius: var(--radius-lg);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-weight: 700;
	font-size: var(--fs-sm);
	letter-spacing: 0.02em;
	border: 1px solid var(--btn-border);
	box-shadow: var(--shadow-glow);
	transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
	text-decoration: none;
	position: relative;
	isolation: isolate;
}

.wm-btn:hover {
	transform: translateY(-1px);
	color: var(--btn-fg);
	box-shadow: 0 0 0 1px rgba(255,122,0,0.5), 0 14px 36px rgba(255,122,0,0.35);
}

.wm-btn:active { transform: translateY(0); }

.wm-btn--ghost {
	--btn-bg: transparent;
	--btn-fg: var(--color-on-secondary);
	--btn-border: var(--color-border);
	box-shadow: none;
	backdrop-filter: blur(6px);
}

.wm-btn--ghost:hover {
	--btn-bg: var(--color-surface);
	box-shadow: none;
}

.wm-btn--accent {
	--btn-bg: var(--color-accent);
	--btn-fg: #1F2937;
}

.wm-btn--lg {
	padding: 16px 28px;
	font-size: var(--fs-base);
	border-radius: var(--radius-xl);
}

.wm-btn--block { width: 100%; }

/* Hero */
.wm-hero {
	position: relative;
	padding: var(--space-6) 0 var(--space-5);
	overflow: hidden;
}

.wm-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(600px 300px at 80% 20%, rgba(255,122,0,0.25), transparent 60%),
		radial-gradient(500px 280px at 10% 60%, rgba(250,204,21,0.12), transparent 60%);
	pointer-events: none;
	z-index: 0;
}

.wm-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	gap: var(--space-4);
	align-items: center;
}

@media (min-width: 1024px) {
	.wm-hero__inner {
		grid-template-columns: 1.05fr 0.95fr;
		gap: var(--space-5);
	}
}

.wm-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: var(--radius-pill);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	font-size: var(--fs-xs);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-text-soft);
	width: max-content;
}

.wm-hero__eyebrow .dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--color-success);
	box-shadow: 0 0 12px var(--color-success);
}

.wm-hero__title {
	font-size: clamp(2.25rem, 4.5vw + 1rem, 4rem);
	line-height: 1.05;
	font-weight: 800;
	margin: var(--space-2) 0 var(--space-2);
	background: linear-gradient(180deg, #FFFFFF 0%, #CBD5E1 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.wm-hero__title em {
	font-style: normal;
	color: var(--color-primary);
	-webkit-text-fill-color: var(--color-primary);
}

.wm-hero__subtitle {
	font-size: var(--fs-md);
	color: var(--color-text-soft);
	max-width: 56ch;
}

.wm-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-1);
	margin-top: var(--space-3);
}

.wm-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	margin-top: var(--space-3);
	color: var(--color-text-soft);
	font-size: var(--fs-sm);
}

.wm-hero__meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* Hero Visual (SVG device) */
.wm-hero__visual {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-lg);
	background: linear-gradient(160deg, rgba(255,122,0,0.12), rgba(15,23,42,0.6));
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-card);
	overflow: hidden;
	display: grid;
	place-items: center;
}

.wm-hero__visual::after {
	content: "";
	position: absolute;
	inset: -2px;
	background:
		radial-gradient(closest-side, rgba(255,122,0,0.35), transparent) 30% 30% / 60% 60% no-repeat,
		radial-gradient(closest-side, rgba(250,204,21,0.25), transparent) 80% 70% / 50% 50% no-repeat;
	mix-blend-mode: screen;
	pointer-events: none;
	animation: wm-float 6s ease-in-out infinite alternate;
}

@keyframes wm-float {
	to { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
	.wm-hero__visual::after { animation: none; }
	*, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* Section */
.wm-section {
	padding: var(--space-5) 0;
}

@media (min-width: 1024px) {
	.wm-section { padding: var(--space-6) 0; }
}

.wm-section__head {
	display: flex;
	flex-direction: column;
	gap: var(--space-1);
	margin-bottom: var(--space-4);
	max-width: 720px;
}

.wm-section__title {
	font-size: clamp(1.5rem, 2.5vw + 0.5rem, var(--fs-3xl));
	margin: 0;
}

.wm-section__lede {
	color: var(--color-text-soft);
	margin: 0;
}

/* Glass Card */
.wm-card {
	position: relative;
	background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: var(--space-3);
	box-shadow: var(--shadow-card);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.wm-card:hover {
	transform: translateY(-3px);
	border-color: rgba(255, 122, 0, 0.45);
	box-shadow: 0 0 0 1px rgba(255,122,0,0.25), var(--shadow-card);
}

.wm-card__icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(255,122,0,0.18), rgba(250,204,21,0.18));
	color: var(--color-primary);
	margin-bottom: var(--space-2);
	border: 1px solid var(--color-border);
}

.wm-card__title {
	font-size: var(--fs-lg);
	margin: 0 0 8px;
}

.wm-card__text {
	color: var(--color-text-soft);
	margin: 0;
}

/* Feature grid */
.wm-grid {
	display: grid;
	gap: var(--space-2);
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.wm-grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (min-width: 1024px) {
	.wm-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
	.wm-grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

/* Stats */
.wm-stats {
	display: grid;
	gap: var(--space-2);
	grid-template-columns: repeat(2, minmax(0,1fr));
}

@media (min-width: 768px) {
	.wm-stats { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

.wm-stat {
	text-align: center;
	padding: var(--space-2);
	border-radius: var(--radius-md);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
}

.wm-stat__value {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: var(--fs-2xl);
	color: var(--color-primary);
}

.wm-stat__label {
	color: var(--color-text-soft);
	font-size: var(--fs-sm);
}

/* Game Cards */
.wm-game {
	display: flex;
	flex-direction: column;
	gap: var(--space-1);
	overflow: hidden;
	padding: 0;
}

.wm-game__media {
	position: relative;
	aspect-ratio: 4 / 3;
	background:
		linear-gradient(135deg, rgba(255,122,0,0.4), rgba(15,23,42,0.6)),
		linear-gradient(45deg, #1F2937, #0F172A);
	display: grid;
	place-items: center;
	color: rgba(255,255,255,0.7);
	font-weight: 700;
	letter-spacing: 0.08em;
}

.wm-game__tag {
	position: absolute;
	top: 10px;
	left: 10px;
	font-size: var(--fs-xs);
	padding: 4px 10px;
	border-radius: var(--radius-pill);
	background: rgba(11,18,32,0.7);
	border: 1px solid var(--color-border);
	color: var(--color-accent);
}

.wm-game__body {
	padding: var(--space-2);
}

.wm-game__title {
	margin: 0 0 4px;
	font-size: var(--fs-md);
}

.wm-game__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: var(--fs-xs);
	color: var(--color-text-soft);
}

.wm-game__meta strong { color: var(--color-accent); }

/* Banner */
.wm-banner {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	padding: var(--space-4);
	border: 1px solid var(--color-border);
	background:
		linear-gradient(135deg, rgba(255,122,0,0.18), rgba(15,23,42,0.6));
	box-shadow: var(--shadow-card);
}

.wm-banner__title {
	font-size: clamp(1.5rem, 2.5vw + 0.5rem, var(--fs-2xl));
	margin: 0 0 var(--space-1);
}

.wm-banner__text {
	color: var(--color-text-soft);
	margin: 0 0 var(--space-2);
	max-width: 60ch;
}

.wm-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-1);
}

/* Download */
.wm-download {
	display: grid;
	gap: var(--space-3);
	grid-template-columns: 1fr;
	align-items: center;
}

@media (min-width: 1024px) {
	.wm-download { grid-template-columns: 1.1fr 0.9fr; }
}

.wm-download__list {
	display: grid;
	gap: var(--space-1);
}

.wm-download__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2);
	padding: var(--space-2);
	border-radius: var(--radius-md);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
}

.wm-download__item strong {
	display: block;
	color: var(--color-on-secondary);
}

.wm-download__item small {
	color: var(--color-text-soft);
}

.wm-qr {
	aspect-ratio: 1 / 1;
	max-width: 220px;
	border-radius: var(--radius-md);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	display: grid;
	place-items: center;
	color: var(--color-text-soft);
	margin-inline: auto;
}

/* Footer */
.wm-footer {
	margin-top: var(--space-5);
	padding: var(--space-4) 0 var(--space-3);
	border-top: 1px solid var(--color-border);
	background: rgba(11, 18, 32, 0.6);
}

.wm-footer__cols {
	display: grid;
	gap: var(--space-3);
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.wm-footer__cols { grid-template-columns: 1.4fr repeat(3, 1fr); }
}

.wm-footer h4 {
	font-size: var(--fs-sm);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--color-text-soft);
	margin-bottom: var(--space-1);
}

.wm-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.wm-footer a {
	color: var(--color-text);
	font-size: var(--fs-sm);
}

.wm-footer__bar {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	align-items: center;
	justify-content: space-between;
	margin-top: var(--space-3);
	padding-top: var(--space-2);
	border-top: 1px solid var(--color-border);
	color: var(--color-text-soft);
	font-size: var(--fs-xs);
}

/* Accessibility helpers */
.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: var(--color-surface);
	border-radius: 4px;
	box-shadow: 0 0 2px 2px rgba(255, 122, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: var(--color-on-secondary);
	display: block;
	font-size: var(--fs-sm);
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 12px 18px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

#primary[tabindex="-1"]:focus { outline: 0; }

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/
.wm-flex { display: flex; }
.wm-grid-block { display: grid; }
.wm-text-center { text-align: center; }
.wm-mt-2 { margin-top: var(--space-2); }
.wm-mt-3 { margin-top: var(--space-3); }
.wm-mt-4 { margin-top: var(--space-4); }
.wm-mb-2 { margin-bottom: var(--space-2); }
.wm-mb-3 { margin-bottom: var(--space-3); }
.wm-mb-4 { margin-bottom: var(--space-4); }
.wm-gap-1 { gap: var(--space-1); }
.wm-gap-2 { gap: var(--space-2); }
.wm-gap-3 { gap: var(--space-3); }
.wm-hidden { display: none; }

@media (min-width: 768px) {
	.wm-md\:grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

.alignleft { float: left; margin-right: var(--space-2); margin-bottom: var(--space-2); }
.alignright { float: right; margin-left: var(--space-2); margin-bottom: var(--space-2); }
.aligncenter { display: block; margin-left: auto; margin-right: auto; margin-bottom: var(--space-2); }
