/*!
Theme Name: 爱翻译 (iTranslate)
Theme URI: https://aitranslate.example.com
Author: iTranslate Team
Author URI: https://aitranslate.example.com
Description: A modern minimalist AI-tech WordPress theme for iTranslate – an AI translation platform serving individuals, enterprises, and cross-language communication. Built with a design token system, mobile-first responsive layout, soft shadows, 12px radius cards and Customizer integration (primary color, logo, language list, download URLs, promo entries).
Version: 1.0.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wm-itranslate
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, one-column, wide-blocks

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

_i 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.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Design Tokens (CSS Variables)
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
# Layouts
# Components
	- Site header / nav
	- Buttons
	- Cards
	- Hero
	- Translation demo
	- Voice / Image modules
	- Language grid
	- Feature / advantage
	- Download CTA
	- Promo banner
	- Site footer
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# Plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments
	- Reduced motion

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Design Tokens (overridden in <head> via theme_mod())
--------------------------------------------------------------*/
:root {
	--color-primary:   #2563EB;
	--color-secondary: #1E293B;
	--color-accent:    #38BDF8;
	--color-bg:        #F8FAFC;
	--color-surface:   #FFFFFF;
	--color-text:      #0F172A;
	--color-muted:     #64748B;
	--color-border:    #E2E8F0;
	--color-primary-soft: #DBEAFE;

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

	--fs-base: 16px;
	--lh-base: 1.6;
	--fs-h1: clamp(2rem, 1.4rem + 2.5vw, 3rem);
	--fs-h2: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
	--fs-h3: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);

	--space-1: 8px;
	--space-2: 16px;
	--space-3: 24px;
	--space-4: 32px;
	--space-6: 48px;
	--space-8: 64px;
	--space-10: 80px;

	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 16px;

	--shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
	--shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
	--shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08), 0 4px 8px rgba(15, 23, 42, 0.04);

	--container-max: 1200px;
	--transition: 200ms ease;
}

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

/* Normalize
--------------------------------------------- */

/*! 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; }

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

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
html { font-size: var(--fs-base); }
body,
button,
input,
select,
optgroup,
textarea {
	color: var(--color-text);
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: var(--lh-base);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	color: var(--color-secondary);
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 var(--space-2);
	letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; }

p { margin: 0 0 1.25em; }
dfn, cite, em, i { font-style: italic; }
blockquote { margin: 0 var(--space-3); padding: var(--space-2) var(--space-3); border-left: 3px solid var(--color-primary); color: var(--color-muted); }
address { margin: 0 0 1.5em; }
pre {
	background: var(--color-secondary);
	color: #E2E8F0;
	font-family: var(--font-mono);
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.25em;
	border-radius: var(--radius-sm);
}
code, kbd, tt, var { font-family: var(--font-mono); font-size: 0.95em; }
abbr, acronym { border-bottom: 1px dotted var(--color-muted); cursor: help; }
mark, ins { background: var(--color-primary-soft); color: var(--color-secondary); text-decoration: none; padding: 0 4px; border-radius: 4px; }
big { font-size: 125%; }

/* Elements
--------------------------------------------- */
hr { background-color: var(--color-border); border: 0; height: 1px; margin-bottom: var(--space-3); }
ul, ol { margin: 0 0 1.25em 1.5em; padding: 0; }
ul { list-style: disc; }
ol { list-style: decimal; }
li > ul, li > ol { margin-bottom: 0; margin-left: 1.25em; }
dt { font-weight: 700; }
dd { margin: 0 1.5em 1.5em; }
embed, iframe, object { max-width: 100%; }
img { height: auto; max-width: 100%; }
figure { margin: 1em 0; }
table { margin: 0 0 1.5em; width: 100%; border-collapse: collapse; }

/* Links
--------------------------------------------- */
a {
	color: var(--color-primary);
	text-decoration: none;
	transition: color var(--transition);
}
a:hover, a:focus, a:active { color: var(--color-secondary); }
a:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; border-radius: 4px; }

/* Forms
--------------------------------------------- */
button, input[type="button"], input[type="reset"], input[type="submit"], .wm-button {
	border: 1px solid transparent;
	border-radius: var(--radius-md);
	background: var(--color-primary);
	color: #fff;
	line-height: 1;
	padding: 0.75em 1.4em;
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
	transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
button:hover, .wm-button:hover {
	background: #1D4ED8;
	box-shadow: var(--shadow-md);
	transform: translateY(-1px);
	color: #fff;
}
button:active, .wm-button:active { transform: translateY(0); }
button:focus-visible, .wm-button:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }

.wm-button--secondary {
	background: transparent;
	color: var(--color-primary);
	border-color: var(--color-primary);
}
.wm-button--secondary:hover { background: var(--color-primary-soft); color: var(--color-primary); }
.wm-button--ghost { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.wm-button--ghost:hover { background: var(--color-bg); color: var(--color-secondary); }

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"],
select, textarea {
	color: var(--color-text);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	padding: 0.65em 0.9em;
	font-size: 1rem;
	line-height: 1.4;
	transition: border-color var(--transition), box-shadow var(--transition);
	width: 100%;
}
input:focus, select:focus, textarea:focus {
	color: var(--color-text);
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px var(--color-primary-soft);
	outline: none;
}
textarea { width: 100%; resize: vertical; }

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
.wm-container {
	width: 100%;
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--space-2);
}
@media (min-width: 768px) { .wm-container { padding-inline: var(--space-3); } }

.wm-page {
	min-height: 60vh;
	padding-block: var(--space-6);
}

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

/* Site header / nav
--------------------------------------------- */
.wm-header {
	background: var(--color-surface);
	border-bottom: 1px solid var(--color-border);
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: saturate(180%) blur(8px);
}
.wm-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2);
	padding-block: var(--space-2);
}
.wm-header__brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 1.15rem;
	color: var(--color-secondary);
}
.wm-header__brand img { max-height: 36px; width: auto; }
.wm-header__brand-mark {
	width: 32px; height: 32px;
	border-radius: 8px;
	background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}

.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-3);
	align-items: center;
}
.wm-nav__list a {
	color: var(--color-text);
	font-weight: 500;
	padding: 8px 4px;
	border-radius: 6px;
}
.wm-nav__list a:hover, .wm-nav__list .current-menu-item a { color: var(--color-primary); }
.wm-nav__cta { display: none; }

.wm-nav__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px; height: 40px;
	background: transparent;
	color: var(--color-secondary);
	border: 1px solid var(--color-border);
	border-radius: 10px;
	padding: 0;
}
.wm-nav__toggle:hover { background: var(--color-bg); }

@media (min-width: 1024px) {
	.wm-nav__list { display: flex; }
	.wm-nav__cta { display: inline-flex; }
	.wm-nav__toggle { display: none; }
	.wm-nav__drawer { display: none !important; }
}

.wm-nav__drawer {
	background: var(--color-surface);
	border-top: 1px solid var(--color-border);
	padding: var(--space-2);
}
.wm-nav__drawer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.wm-nav__drawer a {
	display: block;
	padding: 12px 8px;
	border-radius: 8px;
	color: var(--color-text);
	font-weight: 500;
}
.wm-nav__drawer a:hover { background: var(--color-bg); color: var(--color-primary); }
.wm-nav__drawer-cta { margin-top: var(--space-2); display: flex; }

/* Buttons
--------------------------------------------- */
.wm-btn-row { display: flex; flex-wrap: wrap; gap: var(--space-1); }

/* Cards
--------------------------------------------- */
.wm-card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: var(--space-3);
	box-shadow: var(--shadow-sm);
	transition: box-shadow var(--transition), transform var(--transition);
}
.wm-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.wm-card__icon {
	width: 44px; height: 44px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--color-primary-soft);
	color: var(--color-primary);
	margin-bottom: var(--space-2);
}
.wm-card__title { margin: 0 0 8px; font-size: 1.125rem; }
.wm-card__text { color: var(--color-muted); margin: 0; }

/* Hero
--------------------------------------------- */
.wm-hero {
	padding-block: var(--space-8);
	background:
		radial-gradient(circle at 15% 20%, var(--color-primary-soft) 0%, transparent 45%),
		radial-gradient(circle at 85% 75%, rgba(56, 189, 248, 0.18) 0%, transparent 50%),
		var(--color-bg);
	overflow: hidden;
}
.wm-hero__inner { display: grid; gap: var(--space-4); align-items: center; }
.wm-hero__eyebrow {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 12px;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	font-size: 0.825rem;
	color: var(--color-muted);
	box-shadow: var(--shadow-sm);
}
.wm-hero__eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--color-primary); border-radius: 50%; display: inline-block; }
.wm-hero__title { margin: var(--space-2) 0; font-size: var(--fs-h1); }
.wm-hero__title em { font-style: normal; color: var(--color-primary); }
.wm-hero__lead { color: var(--color-muted); font-size: 1.0625rem; max-width: 56ch; }
.wm-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-top: var(--space-3); }
.wm-hero__visual {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: var(--space-3);
	box-shadow: var(--shadow-lg);
	position: relative;
}
@media (min-width: 1024px) {
	.wm-hero__inner { grid-template-columns: 1.1fr 1fr; gap: var(--space-6); }
}

/* Translation demo
--------------------------------------------- */
.wm-translator { display: grid; gap: var(--space-2); }
.wm-translator__pane {
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: var(--space-2);
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.wm-translator__head {
	display: flex; align-items: center; justify-content: space-between; gap: 8px;
	font-size: 0.85rem;
	color: var(--color-muted);
}
.wm-translator__select {
	background: transparent;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	padding: 4px 10px;
	font-weight: 600;
	color: var(--color-secondary);
	width: auto;
	min-width: 110px;
}
.wm-translator__swap {
	align-self: center;
	width: 40px; height: 40px;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 50%;
	color: var(--color-primary);
	justify-content: center;
	padding: 0;
	margin: -4px auto;
	z-index: 1;
}
.wm-translator__area {
	min-height: 110px;
	border: none;
	background: transparent;
	padding: 8px 4px;
	color: var(--color-text);
	resize: none;
}
.wm-translator__area:focus { box-shadow: none; border: none; }
.wm-translator__meta { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--color-muted); }

@media (min-width: 768px) {
	.wm-translator { grid-template-columns: 1fr auto 1fr; align-items: stretch; }
	.wm-translator__swap { margin: 0; }
}

/* Voice / Image modules
--------------------------------------------- */
.wm-media { display: grid; gap: var(--space-2); }
.wm-media__card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: var(--space-3);
	display: flex; flex-direction: column; gap: var(--space-1);
	box-shadow: var(--shadow-sm);
}
.wm-media__btn {
	width: 56px; height: 56px;
	border-radius: 50%;
	background: var(--color-primary);
	color: #fff;
	justify-content: center;
	padding: 0;
	margin: var(--space-1) 0;
	box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}
.wm-media__btn:hover { transform: translateY(-2px) scale(1.03); }
.wm-media__wave { display: flex; align-items: flex-end; gap: 3px; height: 36px; }
.wm-media__wave span {
	width: 3px; background: var(--color-primary); border-radius: 2px;
	animation: wm-wave 1.2s ease-in-out infinite;
}
.wm-media__wave span:nth-child(2) { animation-delay: 0.15s; height: 60%; }
.wm-media__wave span:nth-child(3) { animation-delay: 0.3s; height: 90%; }
.wm-media__wave span:nth-child(4) { animation-delay: 0.45s; height: 50%; }
.wm-media__wave span:nth-child(5) { animation-delay: 0.6s; height: 75%; }
@keyframes wm-wave { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }

.wm-dropzone {
	border: 2px dashed var(--color-border);
	border-radius: var(--radius-md);
	padding: var(--space-4);
	text-align: center;
	color: var(--color-muted);
	background: var(--color-bg);
	transition: border-color var(--transition), background var(--transition);
}
.wm-dropzone:hover { border-color: var(--color-primary); background: var(--color-primary-soft); color: var(--color-primary); }

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

/* Language grid
--------------------------------------------- */
.wm-langs {
	display: grid;
	gap: var(--space-1);
	grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 480px) { .wm-langs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .wm-langs { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .wm-langs { grid-template-columns: repeat(6, 1fr); } }
.wm-lang {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	font-size: 0.9rem;
	color: var(--color-text);
	transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.wm-lang:hover { border-color: var(--color-primary); color: var(--color-primary); background: var(--color-primary-soft); }
.wm-lang__flag { font-size: 1rem; line-height: 1; }

/* Feature / advantage
--------------------------------------------- */
.wm-feature {
	display: grid;
	gap: var(--space-2);
}
@media (min-width: 768px) {
	.wm-feature { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	.wm-feature { grid-template-columns: repeat(3, 1fr); }
}

.wm-stat {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: var(--space-3);
	background: linear-gradient(135deg, var(--color-primary) 0%, #1D4ED8 100%);
	color: #fff;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
}
.wm-stat__num { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
.wm-stat__label { font-size: 0.875rem; opacity: 0.9; }

/* Download CTA
--------------------------------------------- */
.wm-download {
	background: var(--color-secondary);
	color: #fff;
	border-radius: var(--radius-lg);
	padding: var(--space-6);
	display: grid;
	gap: var(--space-3);
	align-items: center;
	position: relative;
	overflow: hidden;
}
.wm-download::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.25), transparent 50%);
	pointer-events: none;
}
.wm-download__title { color: #fff; margin: 0; }
.wm-download__text { color: rgba(255,255,255,0.8); margin: 0; }
.wm-download__buttons { display: flex; flex-wrap: wrap; gap: var(--space-1); position: relative; }
.wm-download__buttons .wm-button { background: #fff; color: var(--color-secondary); }
.wm-download__buttons .wm-button:hover { background: var(--color-primary-soft); color: var(--color-secondary); }
.wm-download__buttons .wm-button--secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.wm-download__buttons .wm-button--secondary:hover { background: rgba(255,255,255,0.08); color: #fff; }
@media (min-width: 1024px) {
	.wm-download { grid-template-columns: 1.4fr 1fr; padding: var(--space-8); }
}

/* Promo banner
--------------------------------------------- */
.wm-promo {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2);
	padding: var(--space-2) var(--space-3);
	background: var(--color-primary-soft);
	border-radius: var(--radius-md);
	color: var(--color-secondary);
	font-size: 0.9rem;
	margin-bottom: var(--space-3);
}
.wm-promo a { font-weight: 600; }
.wm-promo__close { background: transparent; color: var(--color-muted); padding: 4px 8px; border: none; font-size: 1.25rem; }

/* Site footer
--------------------------------------------- */
.wm-footer {
	background: var(--color-secondary);
	color: rgba(255,255,255,0.78);
	padding-block: var(--space-6) var(--space-3);
	margin-top: var(--space-8);
}
.wm-footer__inner {
	display: grid;
	gap: var(--space-3);
}
@media (min-width: 768px) {
	.wm-footer__inner { grid-template-columns: 1.4fr repeat(3, 1fr); }
}
.wm-footer h4 { color: #fff; margin-bottom: var(--space-1); font-size: 0.95rem; }
.wm-footer__brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.wm-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.wm-footer a { color: rgba(255,255,255,0.78); }
.wm-footer a:hover { color: #fff; }
.wm-footer__bottom {
	margin-top: var(--space-4);
	padding-top: var(--space-2);
	border-top: 1px solid rgba(255,255,255,0.1);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
	font-size: 0.825rem;
	color: rgba(255,255,255,0.6);
}

/* Section spacing
--------------------------------------------- */
.wm-section { padding-block: var(--space-8); }
.wm-section--tight { padding-block: var(--space-6); }
.wm-section__head { text-align: center; max-width: 720px; margin: 0 auto var(--space-4); }
.wm-section__head p { color: var(--color-muted); }
.wm-section__eyebrow {
	display: inline-block;
	font-size: 0.825rem;
	font-weight: 600;
	color: var(--color-primary);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin-bottom: 8px;
}

/* Posts and pages
--------------------------------------------- */
.sticky { display: block; }
.post, .page { margin: 0 0 var(--space-3); }
.updated:not(.published) { display: none; }
.page-content, .entry-content, .entry-summary { margin: 1.5em 0 0; }
.page-links { clear: both; margin: 0 0 1.5em; }

/* Comments
--------------------------------------------- */
.comment-content a { word-wrap: break-word; }
.bypostauthor { display: block; }

/* Widgets
--------------------------------------------- */
.widget { margin: 0 0 1.5em; padding: var(--space-2); background: var(--color-surface); border-radius: var(--radius-md); border: 1px solid var(--color-border); }
.widget select { max-width: 100%; }
.widget-title { font-size: 1rem; margin-top: 0; }

/* Media
--------------------------------------------- */
.page-content .wp-smiley, .entry-content .wp-smiley, .comment-content .wp-smiley { border: none; margin: 0; padding: 0; }
.custom-logo-link { display: inline-block; }

/* Captions
--------------------------------------------- */
.wp-caption { margin-bottom: 1.5em; max-width: 100%; }
.wp-caption img[class*="wp-image-"] { display: block; margin-left: auto; margin-right: auto; }
.wp-caption .wp-caption-text { margin: 0.8075em 0; color: var(--color-muted); }
.wp-caption-text { text-align: center; }

/* Galleries
--------------------------------------------- */
.gallery { margin-bottom: 1.5em; display: grid; grid-gap: 1em; }
.gallery-item { display: inline-block; text-align: center; width: 100%; }
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-columns-6 { grid-template-columns: repeat(6, 1fr); }
.gallery-columns-7 { grid-template-columns: repeat(7, 1fr); }
.gallery-columns-8 { grid-template-columns: repeat(8, 1fr); }
.gallery-columns-9 { grid-template-columns: repeat(9, 1fr); }
.gallery-caption { display: block; }

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

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

/* Accessibility
--------------------------------------------- */
.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: 6px;
	box-shadow: 0 0 0 3px var(--color-primary);
	clip: auto !important;
	clip-path: none;
	color: var(--color-primary);
	display: inline-block;
	font-size: 0.875rem;
	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; }
.skip-link {
	background: var(--color-primary);
	color: #fff;
	padding: 8px 14px;
	border-radius: 8px;
}

/* Alignments
--------------------------------------------- */
.alignleft { float: left; margin-right: 1.5em; margin-bottom: 1.5em; }
.alignright { float: right; margin-left: 1.5em; margin-bottom: 1.5em; }
.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; margin-bottom: 1.5em; }
.alignwide { max-width: 1080px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100%; width: 100%; }

/* Reduced motion
--------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
	.wm-media__wave span { animation: none; }
}
