/*!
Theme Name: EasyTranslate
Theme URI: https://example.com/easytranslate
Author: EasyTranslate Team
Author URI: https://example.com
Description: A modern international business WordPress theme for "EasyTranslate" global language service platform, providing efficient and convenient language conversion solutions for cross-border e-commerce, overseas enterprises and international users. International business minimalist style with primary color #1677FF.
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: easytranslate
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, one-column, block-styles, 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.

EasyTranslate 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 (CSS Variables)
# Generic (Normalize, Box sizing)
# Base (Typography, Elements, Links, Forms)
# Layouts
# Components (Header, Hero, Sections, Cards, CTA, Footer)
# Utilities
# Responsive
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Design Tokens
--------------------------------------------------------------*/
:root {
	/* Brand Colors */
	--color-primary: #1677FF;
	--color-primary-hover: #4096FF;
	--color-primary-active: #0958D9;
	--color-primary-soft: #E6F4FF;
	--color-secondary: #111827;
	--color-accent: #00B96B;
	--color-accent-soft: #E6FFEB;

	/* Neutral / Surface */
	--color-bg: #F8FAFC;
	--color-surface: #FFFFFF;
	--color-surface-alt: #F1F5F9;
	--color-border: #E2E8F0;
	--color-border-strong: #CBD5E1;

	/* Text */
	--color-text: #111827;
	--color-text-secondary: #334155;
	--color-muted: #64748B;
	--color-muted-soft: #94A3B8;
	--color-on-primary: #FFFFFF;
	--color-on-secondary: #FFFFFF;

	/* Typography */
	--font-sans: "Inter", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
	--font-display: "Inter", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;

	--fw-regular: 400;
	--fw-medium: 500;
	--fw-semibold: 600;
	--fw-bold: 700;
	--fw-extrabold: 800;

	--fs-xs: 0.8125rem;     /* 13px */
	--fs-sm: 0.875rem;      /* 14px */
	--fs-base: 1rem;        /* 16px */
	--fs-md: 1.125rem;      /* 18px */
	--fs-lg: 1.25rem;       /* 20px */
	--fs-xl: 1.5rem;        /* 24px */
	--fs-2xl: 1.875rem;     /* 30px */
	--fs-3xl: 2.25rem;      /* 36px */
	--fs-4xl: 3rem;         /* 48px */
	--fs-5xl: 3.75rem;      /* 60px */

	--lh-tight: 1.2;
	--lh-snug: 1.35;
	--lh-normal: 1.5;
	--lh-relaxed: 1.7;

	/* Spacing (8px rhythm) */
	--sp-1: 8px;
	--sp-2: 16px;
	--sp-3: 24px;
	--sp-4: 32px;
	--sp-5: 48px;
	--sp-6: 64px;
	--sp-7: 96px;
	--sp-8: 128px;

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

	/* Soft shadows */
	--shadow-xs: 0 1px 2px rgba(17, 24, 39, 0.04);
	--shadow-sm: 0 2px 8px rgba(17, 24, 39, 0.06);
	--shadow-md: 0 8px 24px rgba(17, 24, 39, 0.08);
	--shadow-lg: 0 16px 40px rgba(17, 24, 39, 0.10);
	--shadow-xl: 0 24px 60px rgba(17, 24, 39, 0.12);
	--shadow-primary: 0 8px 24px rgba(22, 119, 255, 0.24);

	/* Layout */
	--container-max: 1240px;
	--container-narrow: 880px;
	--container-pad: clamp(20px, 4vw, 32px);

	/* Motion */
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
	--dur-fast: 150ms;
	--dur-base: 200ms;
	--dur-slow: 300ms;
}

/*--------------------------------------------------------------
# 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; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }

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

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: var(--color-text);
	font-family: var(--font-sans);
	font-size: var(--fs-base);
	font-weight: var(--fw-regular);
	line-height: var(--lh-normal);
	background-color: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	line-height: var(--lh-tight);
	color: var(--color-text);
	margin: 0 0 var(--sp-2);
	letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.5vw, var(--fs-5xl)); font-weight: var(--fw-extrabold); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.625rem, 3.5vw, var(--fs-3xl)); letter-spacing: -0.015em; }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
h5 { font-size: var(--fs-md); }
h6 { font-size: var(--fs-base); }

p { margin: 0 0 var(--sp-2); line-height: var(--lh-relaxed); color: var(--color-text-secondary); }

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

/* Elements
--------------------------------------------- */
html, body { overflow-x: hidden; }
body { min-height: 100vh; }

embed, iframe, object { max-width: 100%; }
img, svg { height: auto; max-width: 100%; display: block; }
figure { margin: 0; }
table { margin: 0 0 var(--sp-2); width: 100%; border-collapse: collapse; }

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

/* Links
--------------------------------------------- */
a {
	color: var(--color-primary);
	text-decoration: none;
	transition: color var(--dur-fast) var(--ease-out);
}

a:hover { color: var(--color-primary-hover); }
a:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; border-radius: 2px; }
a:active { color: var(--color-primary-active); }

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	font-family: inherit;
	font-size: var(--fs-base);
	font-weight: var(--fw-semibold);
	line-height: 1;
	padding: 14px 28px;
	border-radius: var(--radius-pill);
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}

.wm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	font-size: var(--fs-base);
	font-weight: var(--fw-semibold);
	line-height: 1;
	border-radius: var(--radius-pill);
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
	white-space: nowrap;
}
.wm-btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }
.wm-btn:active { transform: translateY(1px); }

.wm-btn--primary {
	background: var(--color-primary);
	color: var(--color-on-primary);
	box-shadow: var(--shadow-primary);
}
.wm-btn--primary:hover { background: var(--color-primary-hover); color: var(--color-on-primary); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(22,119,255,0.32); }

.wm-btn--secondary {
	background: var(--color-surface);
	color: var(--color-secondary);
	border-color: var(--color-border);
}
.wm-btn--secondary:hover { border-color: var(--color-primary); color: var(--color-primary); }

.wm-btn--ghost {
	background: transparent;
	color: var(--color-secondary);
	padding: 10px 18px;
}
.wm-btn--ghost:hover { background: var(--color-primary-soft); color: var(--color-primary); }

.wm-btn--lg { padding: 18px 36px; font-size: var(--fs-md); }

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 {
	color: var(--color-text);
	font-family: inherit;
	font-size: var(--fs-base);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: 12px 16px;
	width: 100%;
	transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
textarea:focus, select:focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 4px rgba(22,119,255,0.15);
}

textarea { width: 100%; resize: vertical; min-height: 120px; }

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
.wm-container {
	width: 100%;
	max-width: var(--container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--container-pad);
	padding-right: var(--container-pad);
}

.wm-container--narrow { max-width: var(--container-narrow); }

.wm-section {
	padding-top: clamp(64px, 10vw, 128px);
	padding-bottom: clamp(64px, 10vw, 128px);
}

.wm-section--tight { padding-top: var(--sp-5); padding-bottom: var(--sp-5); }

.wm-section__head {
	text-align: center;
	max-width: 760px;
	margin: 0 auto var(--sp-5);
}

.wm-section__eyebrow {
	display: inline-block;
	font-size: var(--fs-sm);
	font-weight: var(--fw-semibold);
	color: var(--color-primary);
	background: var(--color-primary-soft);
	padding: 6px 14px;
	border-radius: var(--radius-pill);
	margin-bottom: var(--sp-2);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.wm-section__title { margin-bottom: var(--sp-2); }

.wm-section__desc {
	font-size: var(--fs-md);
	color: var(--color-muted);
	line-height: var(--lh-relaxed);
}

.wm-grid { display: grid; gap: var(--sp-3); }
.wm-grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.wm-grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.wm-grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

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

/* Skip link
--------------------------------------------- */
.skip-link.screen-reader-text {
	position: absolute;
	left: -9999px;
}

/* Header / Navigation
--------------------------------------------- */
.wm-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(248, 250, 252, 0.85);
	backdrop-filter: saturate(180%) blur(16px);
	-webkit-backdrop-filter: saturate(180%) blur(16px);
	border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.wm-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-3);
	min-height: 72px;
}

.wm-header__brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: var(--fw-bold);
	color: var(--color-secondary);
	font-size: var(--fs-lg);
	text-decoration: none;
}

.wm-header__brand .custom-logo { max-height: 36px; width: auto; }

.wm-header__logo-icon {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-active) 100%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--color-on-primary);
}

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

.wm-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 4px;
}

.wm-nav__link {
	display: inline-block;
	padding: 10px 16px;
	color: var(--color-text-secondary);
	font-weight: var(--fw-medium);
	font-size: var(--fs-base);
	border-radius: var(--radius-md);
	text-decoration: none;
	transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}

.wm-nav__link:hover, .wm-nav__link:focus-visible { color: var(--color-primary); background: var(--color-primary-soft); }

.wm-nav__actions { display: inline-flex; align-items: center; gap: 10px; }

.wm-nav__toggle {
	display: none;
	background: transparent;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}

.wm-nav__toggle-bar, .wm-nav__toggle-bar::before, .wm-nav__toggle-bar::after {
	content: "";
	display: block;
	width: 20px;
	height: 2px;
	background: var(--color-secondary);
	border-radius: 2px;
	transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}
.wm-nav__toggle-bar { position: relative; }
.wm-nav__toggle-bar::before { position: absolute; top: -6px; left: 0; }
.wm-nav__toggle-bar::after { position: absolute; top: 6px; left: 0; }

.is-menu-open .wm-nav__toggle-bar { background: transparent; }
.is-menu-open .wm-nav__toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.is-menu-open .wm-nav__toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero
--------------------------------------------- */
.wm-hero {
	position: relative;
	padding: clamp(80px, 12vw, 140px) 0 var(--sp-7);
	overflow: hidden;
	background:
		radial-gradient(1200px 600px at 80% -10%, rgba(22,119,255,0.10), transparent 60%),
		radial-gradient(1000px 500px at -10% 10%, rgba(0,185,107,0.08), transparent 60%),
		linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
}

.wm-hero__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--sp-5);
	align-items: center;
}

.wm-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--color-primary-soft);
	color: var(--color-primary-active);
	padding: 8px 16px;
	border-radius: var(--radius-pill);
	font-size: var(--fs-sm);
	font-weight: var(--fw-semibold);
	margin-bottom: var(--sp-3);
}

.wm-hero__eyebrow-dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--color-primary);
	box-shadow: 0 0 0 4px rgba(22,119,255,0.18);
}

.wm-hero__title {
	font-size: clamp(2.25rem, 6vw, 4rem);
	font-weight: var(--fw-extrabold);
	line-height: 1.05;
	letter-spacing: -0.03em;
	color: var(--color-secondary);
	margin-bottom: var(--sp-3);
}

.wm-hero__title-accent {
	background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-primary-active) 60%, #6E5BFF 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.wm-hero__desc {
	font-size: clamp(1rem, 1.4vw, var(--fs-md));
	color: var(--color-muted);
	max-width: 560px;
	line-height: var(--lh-relaxed);
	margin-bottom: var(--sp-4);
}

.wm-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: var(--sp-5); }

.wm-hero__stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: var(--sp-3);
	max-width: 560px;
}

.wm-hero__stat-num {
	font-size: clamp(1.5rem, 3vw, var(--fs-2xl));
	font-weight: var(--fw-bold);
	color: var(--color-secondary);
	line-height: 1;
}
.wm-hero__stat-label {
	font-size: var(--fs-sm);
	color: var(--color-muted);
	margin-top: 6px;
}

.wm-hero__visual {
	position: relative;
	border-radius: var(--radius-xl);
	background: linear-gradient(160deg, #ffffff 0%, #F0F7FF 100%);
	box-shadow: var(--shadow-xl);
	padding: var(--sp-4);
	overflow: hidden;
	min-height: 360px;
}

.wm-hero__map {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wm-globe {
	width: 100%;
	max-width: 460px;
	height: auto;
}

.wm-hero__chip {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--color-surface);
	box-shadow: var(--shadow-md);
	padding: 10px 14px;
	border-radius: var(--radius-pill);
	font-size: var(--fs-sm);
	font-weight: var(--fw-semibold);
	color: var(--color-secondary);
}
.wm-hero__chip--tl { top: 16px; left: 16px; }
.wm-hero__chip--tr { top: 24px; right: 16px; }
.wm-hero__chip--bl { bottom: 24px; left: 16px; }
.wm-hero__chip--br { bottom: 16px; right: 16px; }

.wm-hero__chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 4px rgba(0,185,107,0.18); }
.wm-hero__chip-dot--primary { background: var(--color-primary); box-shadow: 0 0 0 4px rgba(22,119,255,0.18); }

/* Features / Services
--------------------------------------------- */
.wm-feature-card {
	background: var(--color-surface);
	border-radius: var(--radius-lg);
	padding: var(--sp-4);
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--color-border);
	transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
	height: 100%;
}
.wm-feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(22,119,255,0.25); }

.wm-feature-card__icon {
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: var(--color-primary-soft);
	color: var(--color-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: var(--sp-3);
}

.wm-feature-card--accent .wm-feature-card__icon { background: var(--color-accent-soft); color: var(--color-accent); }

.wm-feature-card__title { font-size: var(--fs-lg); margin-bottom: 10px; }
.wm-feature-card__desc { font-size: var(--fs-base); color: var(--color-muted); margin-bottom: 0; }

/* Industry Solutions
--------------------------------------------- */
.wm-industry { background: var(--color-surface); border-radius: var(--radius-xl); padding: var(--sp-4); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); }
.wm-industry__list { list-style: none; margin: 0; padding: 0; }
.wm-industry__list li { padding: 14px 0; border-bottom: 1px solid var(--color-border); display: flex; gap: 10px; align-items: center; }
.wm-industry__list li:last-child { border-bottom: 0; }
.wm-industry__list strong { color: var(--color-text); font-weight: var(--fw-semibold); }
.wm-industry__check { color: var(--color-primary); flex-shrink: 0; }

/* Industries / Use cases section background variation
--------------------------------------------- */
.wm-section--soft { background: linear-gradient(180deg, var(--color-bg) 0%, #EEF4FB 100%); }

.wm-use-case-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: var(--sp-3);
}
.wm-use-case {
	position: relative;
	padding: var(--sp-4);
	border-radius: var(--radius-lg);
	background: var(--color-surface);
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--color-border);
	overflow: hidden;
}
.wm-use-case__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--color-primary-soft); color: var(--color-primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--sp-2); }
.wm-use-case h3 { font-size: var(--fs-lg); margin-bottom: 8px; }

/* Case studies / Showcase
--------------------------------------------- */
.wm-case {
	background: var(--color-surface);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--color-border);
	padding: var(--sp-4);
	display: flex;
	flex-direction: column;
	gap: 12px;
	height: 100%;
	transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.wm-case:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.wm-case__thumb { background: linear-gradient(135deg, var(--color-primary) 0%, #6E5BFF 100%); border-radius: var(--radius-md); aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; color: var(--color-on-primary); }
.wm-case__tag { font-size: var(--fs-sm); color: var(--color-primary); font-weight: var(--fw-semibold); }
.wm-case h3 { font-size: var(--fs-lg); margin-bottom: 0; }
.wm-case__quote { color: var(--color-text-secondary); font-size: var(--fs-base); margin-bottom: 0; }
.wm-case__meta { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: var(--sp-2); border-top: 1px solid var(--color-border); }
.wm-case__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--color-primary-soft); color: var(--color-primary); display: inline-flex; align-items: center; justify-content: center; font-weight: var(--fw-semibold); font-size: var(--fs-sm); }
.wm-case__author { font-size: var(--fs-sm); color: var(--color-text-secondary); }
.wm-case__author small { display: block; color: var(--color-muted); font-size: var(--fs-xs); }

/* CTA Banner
--------------------------------------------- */
.wm-cta {
	background:
		radial-gradient(800px 400px at 20% 0%, rgba(255,255,255,0.18), transparent 60%),
		linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-active) 100%);
	border-radius: var(--radius-xl);
	padding: clamp(40px, 6vw, 72px);
	text-align: center;
	color: var(--color-on-primary);
	box-shadow: var(--shadow-primary);
	position: relative;
	overflow: hidden;
}

.wm-cta__title {
	color: var(--color-on-primary);
	font-size: clamp(1.75rem, 3.5vw, var(--fs-3xl));
	margin-bottom: 12px;
}
.wm-cta__desc {
	color: rgba(255,255,255,0.86);
	max-width: 560px;
	margin: 0 auto var(--sp-4);
	font-size: var(--fs-md);
}

.wm-cta__actions {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.wm-btn--invert {
	background: var(--color-surface);
	color: var(--color-primary-active);
}
.wm-btn--invert:hover { color: var(--color-primary-active); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.wm-btn--outline-light {
	background: transparent;
	color: var(--color-on-primary);
	border-color: rgba(255,255,255,0.5);
}
.wm-btn--outline-light:hover { background: rgba(255,255,255,0.12); color: var(--color-on-primary); border-color: rgba(255,255,255,0.9); }

/* Footer
--------------------------------------------- */
.wm-footer {
	background: var(--color-secondary);
	color: rgba(255,255,255,0.86);
	padding: var(--sp-6) 0 var(--sp-4);
	margin-top: var(--sp-5);
}

.wm-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--sp-4);
	margin-bottom: var(--sp-5);
}

.wm-footer h4 {
	color: #fff;
	font-size: var(--fs-base);
	font-weight: var(--fw-semibold);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: var(--sp-2);
}

.wm-footer__desc { color: rgba(255,255,255,0.7); font-size: var(--fs-sm); max-width: 320px; }

.wm-footer__list { list-style: none; padding: 0; margin: 0; }
.wm-footer__list li { margin-bottom: 10px; }
.wm-footer__list a {
	color: rgba(255,255,255,0.7);
	text-decoration: none;
	font-size: var(--fs-sm);
	transition: color var(--dur-fast) var(--ease-out);
}
.wm-footer__list a:hover { color: #fff; }

.wm-footer__bottom {
	padding-top: var(--sp-3);
	border-top: 1px solid rgba(255,255,255,0.1);
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: space-between;
	font-size: var(--fs-sm);
	color: rgba(255,255,255,0.55);
}

.wm-footer__bottom a { color: inherit; }
.wm-footer__bottom a:hover { color: #fff; }

/* Page content (posts & pages inside theme)
--------------------------------------------- */
.wm-page { padding-top: var(--sp-5); }
.wm-page__inner { max-width: 760px; margin: 0 auto; background: var(--color-surface); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); }

.page-content, .entry-content, .entry-summary { margin-top: var(--sp-2); }
.page-links { clear: both; margin: var(--sp-2) 0; }

.post, .page, .entry { margin: 0; }

.entry-title { font-size: var(--fs-2xl); margin-bottom: var(--sp-1); }
.entry-meta { color: var(--color-muted); font-size: var(--fs-sm); margin-bottom: var(--sp-2); }

/* Comments
--------------------------------------------- */
.comments-area { background: var(--color-surface); border-radius: var(--radius-lg); padding: var(--sp-4); margin-top: var(--sp-4); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); }
.comment-content a { word-wrap: break-word; }
.bypostauthor { display: block; }

/* 404
--------------------------------------------- */
.wm-404 {
	text-align: center;
	padding: var(--sp-7) var(--sp-3);
	background: var(--color-surface);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--color-border);
}
.wm-404__code { font-size: clamp(4rem, 12vw, 7rem); font-weight: var(--fw-extrabold); color: var(--color-primary); line-height: 1; margin-bottom: var(--sp-2); }

/* Widgets
--------------------------------------------- */
.widget { margin: 0 0 var(--sp-3); padding: var(--sp-3); background: var(--color-surface); border-radius: var(--radius-md); border: 1px solid var(--color-border); }
.widget select { max-width: 100%; }

/* 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 & Galleries
--------------------------------------------- */
.wp-caption { margin-bottom: var(--sp-2); max-width: 100%; }
.wp-caption-text { text-align: center; }
.gallery { margin-bottom: var(--sp-2); display: grid; gap: var(--sp-2); grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.gallery-item { display: inline-block; text-align: center; }
.gallery-caption { 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: var(--radius-sm);
	box-shadow: 0 0 2px 2px rgba(22,119,255,0.5);
	clip: auto !important;
	clip-path: none;
	color: var(--color-primary);
	display: block;
	font-size: var(--fs-sm);
	font-weight: var(--fw-bold);
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

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

/* Alignments
--------------------------------------------- */
.alignleft { float: left; margin-right: var(--sp-2); margin-bottom: var(--sp-2); }
.alignright { float: right; margin-left: var(--sp-2); margin-bottom: var(--sp-2); }
.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; margin-bottom: var(--sp-2); }
.alignwide { max-width: 1200px; 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;
		transition-duration: 0.001ms !important;
	}
	.wm-feature-card:hover, .wm-case:hover, .wm-btn:hover { transform: none; }
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (min-width: 768px) {
	.wm-hero__inner {
		grid-template-columns: 1.1fr 0.9fr;
		gap: var(--sp-5);
	}
	.wm-hero__stats { max-width: none; }
}

@media (min-width: 1024px) {
	.wm-section__head { margin-bottom: var(--sp-6); }
}

@media (max-width: 1023px) {
	.wm-nav__toggle { display: inline-flex; }
	.wm-nav__panel {
		position: absolute;
		top: 72px;
		left: 16px;
		right: 16px;
		background: var(--color-surface);
		border-radius: var(--radius-lg);
		box-shadow: var(--shadow-lg);
		padding: var(--sp-3);
		display: none;
		flex-direction: column;
		gap: var(--sp-2);
		border: 1px solid var(--color-border);
	}
	.wm-nav__panel.is-open { display: flex; }
	.wm-nav__list { flex-direction: column; gap: 4px; }
	.wm-nav__link { padding: 12px 16px; border-radius: var(--radius-md); display: block; }
	.wm-nav__actions { display: none; }
	.wm-nav__actions.is-open { display: inline-flex; flex-wrap: wrap; }
}

@media (max-width: 767px) {
	.wm-hero { padding: 64px 0 var(--sp-5); }
	.wm-hero__chip { font-size: var(--fs-xs); padding: 8px 12px; }
	.wm-hero__chip--tl, .wm-hero__chip--tr, .wm-hero__chip--bl, .wm-hero__chip--br { display: none; }
	.wm-cta__actions { flex-direction: column; width: 100%; }
	.wm-cta__actions .wm-btn { width: 100%; }
	.wm-section { padding-top: var(--sp-6); padding-bottom: var(--sp-6); }
	.wm-header__brand { font-size: var(--fs-md); }
}

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