/*
Theme Name: EasyMate
Theme URI: https://easymatecn.com
Author: EasyMate
Author URI: https://easymatecn.com
Description: A friendly China travel information hub theme for international visitors, with guide pages, AI-style Q&A, community sections, human help, WooCommerce compatibility, Fanyi2 language switcher styling, and ZC Inquiry support.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: easymate
Tags: travel, blog, custom-logo, custom-menu, featured-images, translation-ready, woocommerce
*/

:root {
  --em-navy: #061b2f;
  --em-navy-2: #0d2842;
  --em-blue: #0e5aa7;
  --em-gold: #d7a85a;
  --em-gold-2: #f4c86f;
  --em-green: #4fba78;
  --em-red: #d84d4d;
  --em-bg: #f6f8fb;
  --em-surface: #ffffff;
  --em-surface-soft: #f3f6fa;
  --em-border: #dfe6ef;
  --em-text: #0a1730;
  --em-muted: #53627a;
  --em-link: #064ba3;
  --em-link-hover: #d1973e;
  --em-radius: 10px;
  --em-radius-sm: 8px;
  --em-shadow: 0 16px 40px rgba(10, 23, 48, 0.11);
  --em-shadow-soft: 0 8px 24px rgba(10, 23, 48, 0.08);
  --em-container: 1380px;
  --em-font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --em-font-heading: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --em-base-size: 16px;
  --em-line-height: 1.62;
  --em-hero-image: url("https://images.unsplash.com/photo-1508804185872-d7badad00f7d?auto=format&fit=crop&w=2200&q=82");
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--em-bg);
  color: var(--em-text);
  font-family: var(--em-font-body);
  font-size: var(--em-base-size);
  line-height: var(--em-line-height);
  letter-spacing: 0;
}

body.easymate-menu-open,
body.easymate-search-open {
  overflow: hidden;
}

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

a {
  color: var(--em-link);
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

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

button {
  cursor: pointer;
}

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

.em-container {
  width: min(var(--em-container), calc(100% - 40px));
  margin-inline: auto;
}

.em-section {
  padding: 58px 0;
}

.em-section--tight {
  padding: 34px 0;
}

.em-section--white {
  background: var(--em-surface);
}

.em-section--soft {
  background: #f4f7fb;
}

.em-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.em-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 15px;
  background: rgba(13, 40, 66, 0.9);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.em-mini-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  color: var(--em-gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.em-heading,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--em-text);
  font-family: var(--em-font-heading);
  line-height: 1.14;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.em-button,
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--em-radius-sm);
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--em-gold-2), var(--em-gold));
  color: var(--em-text);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(215, 168, 90, 0.28);
}

.em-button:hover,
.em-button:focus,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.wp-block-button__link:hover {
  color: var(--em-text);
  transform: translateY(-1px);
  box-shadow: 0 13px 28px rgba(215, 168, 90, 0.34);
}

.em-button--dark {
  background: var(--em-navy);
  color: #fff;
  box-shadow: 0 12px 24px rgba(6, 27, 47, 0.22);
}

.em-button--dark:hover,
.em-button--dark:focus {
  color: #fff;
}

.em-button--outline {
  border-color: rgba(255, 255, 255, 0.88);
  background: rgba(6, 27, 47, 0.12);
  color: #fff;
  box-shadow: none;
}

.em-button--outline:hover,
.em-button--outline:focus {
  border-color: var(--em-gold-2);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.em-button--ghost {
  background: transparent;
  border-color: var(--em-border);
  color: var(--em-text);
  box-shadow: none;
}

.em-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--em-radius-sm);
  background: transparent;
  color: #fff;
}

.em-icon-button:hover,
.em-icon-button:focus {
  background: rgba(255, 255, 255, 0.08);
  color: var(--em-gold-2);
}

.em-card {
  border: 1px solid rgba(223, 230, 239, 0.9);
  border-radius: var(--em-radius-sm);
  background: var(--em-surface);
  box-shadow: var(--em-shadow-soft);
}

.em-card-link {
  color: inherit;
}

.em-card-link:hover {
  color: inherit;
  transform: translateY(-2px);
}

.em-site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--em-navy);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.em-site-header:not(.is-sticky) {
  position: relative;
}

.admin-bar .em-site-header {
  top: 32px;
}

.em-header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 68px;
}

.em-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: #fff;
}

.em-brand:hover,
.em-brand:focus {
  color: #fff;
}

.em-brand img {
  display: block;
  width: auto;
  height: var(--em-logo-height, 38px);
  border-radius: 0;
}

.em-brand-text {
  display: grid;
  gap: 0;
}

.em-brand-name {
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.em-brand-name span {
  color: var(--em-gold-2);
}

.em-brand-tagline {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
}

.em-primary-nav {
  justify-self: center;
}

.em-menu,
.em-menu ul {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.em-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 68px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.em-menu a:hover,
.em-menu a:focus,
.em-menu .current-menu-item > a,
.em-menu .current_page_item > a {
  color: var(--em-gold-2);
}

.em-menu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 15px;
  height: 3px;
  border-radius: 999px;
  background: var(--em-gold-2);
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 180ms ease, transform 180ms ease;
}

.em-menu > li.current-menu-item > a::after,
.em-menu > li.current_page_item > a::after,
.em-menu > li > a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.em-menu .sub-menu {
  position: absolute;
  display: grid;
  min-width: 210px;
  gap: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--em-radius-sm);
  background: rgba(6, 27, 47, 0.98);
  box-shadow: var(--em-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.em-menu li {
  position: relative;
}

.em-menu li:hover > .sub-menu,
.em-menu li:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.em-menu .sub-menu a {
  min-height: auto;
  padding: 10px 12px;
}

.em-header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.em-header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--em-radius-sm);
  padding: 10px 18px;
  color: #fff;
  font-weight: 800;
}

.em-header-link:hover,
.em-header-link:focus {
  color: #fff;
  border-color: var(--em-gold-2);
}

.em-header-link--gold {
  border-color: transparent;
  background: linear-gradient(135deg, var(--em-gold-2), var(--em-gold));
  color: var(--em-text);
}

.em-header-link--gold:hover,
.em-header-link--gold:focus {
  color: var(--em-text);
}

.em-language {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-weight: 800;
}

.em-language .fanyi2-language-switcher {
  position: static !important;
  margin: 0;
  box-shadow: none;
}

.em-language .fanyi2-switcher-select {
  min-height: 36px;
  max-width: 190px;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: var(--em-radius-sm);
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  padding: 6px 10px;
  font-weight: 800;
  appearance: none;
}

.em-language .fanyi2-switcher-select option {
  color: var(--em-text);
}

.em-language-select {
  max-width: 126px;
  min-height: 36px;
  border: 0;
  border-radius: var(--em-radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 6px 10px;
  font-size: 14px;
  font-weight: 800;
}

.em-language-select option {
  color: var(--em-text);
}

.em-language-fallback {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 14px;
}

.em-menu-toggle {
  display: none;
}

.em-mobile-panel {
  display: none;
}

.em-promo {
  background: var(--em-gold);
  color: var(--em-text);
  font-size: 14px;
  font-weight: 800;
}

.em-promo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 42px;
}

.em-promo a {
  color: var(--em-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.em-promo-close {
  border: 0;
  background: transparent;
  color: var(--em-text);
  font-weight: 900;
}

.em-hero {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(6, 27, 47, 0.96) 0%, rgba(6, 27, 47, 0.82) 34%, rgba(6, 27, 47, 0.28) 72%, rgba(6, 27, 47, 0.05) 100%),
    var(--em-hero-image);
  background-size: cover;
  background-position: center;
  color: #fff;
}

.em-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.8fr);
  align-items: center;
  gap: 56px;
  min-height: 330px;
  padding: 44px 0;
}

.em-hero h1 {
  max-width: 820px;
  margin: 18px 0 12px;
  color: #fff;
  font-size: clamp(46px, 4vw, 58px);
  font-weight: 900;
}

.em-hero-subtitle {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(18px, 1.55vw, 22px);
  font-weight: 600;
  line-height: 1.42;
}

.em-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
}

.em-ask-panel {
  width: min(100%, 396px);
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 14px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--em-text);
  box-shadow: 0 24px 70px rgba(6, 27, 47, 0.26);
  backdrop-filter: blur(14px);
}

.em-ask-panel-head {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 13px;
  align-items: center;
  margin-bottom: 14px;
}

.em-ask-icon,
.em-feature-icon,
.em-tip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e9f2ff;
  color: var(--em-blue);
  font-size: 28px;
}

.em-ask-icon {
  background: var(--em-navy);
  color: #fff;
}

.em-ask-panel h2 {
  margin: 0 0 4px;
  font-size: 23px;
}

.em-ask-panel p {
  margin: 0;
  color: var(--em-muted);
  font-size: 14px;
}

.em-ask-form {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius-sm);
  padding: 8px;
  background: #fff;
}

.em-ask-form input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 0;
  outline: 0;
  color: var(--em-text);
  padding: 0 8px;
}

.em-ask-form button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--em-navy);
  color: #fff;
}

.em-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.em-pill {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  border-radius: 999px;
  padding: 7px 13px;
  background: #edf3fb;
  color: #284566;
  font-size: 12px;
  font-weight: 700;
}

.em-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 0;
  position: relative;
  z-index: 3;
}

.em-feature-card {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 112px;
  padding: 13px 18px;
}

.em-feature-card h3 {
  margin: 0 0 5px;
  font-size: 17px;
}

.em-feature-card p {
  margin: 0 0 7px;
  color: var(--em-muted);
  font-size: 12px;
  line-height: 1.3;
}

.em-feature-card:nth-child(2) .em-feature-icon {
  background: #def5e7;
  color: #16854f;
}

.em-feature-card:nth-child(3) .em-feature-icon {
  background: #fff1c9;
  color: #8f650c;
}

.em-feature-card:nth-child(4) .em-feature-icon {
  background: #eee4ff;
  color: #4534a5;
}

.em-card-cta {
  color: var(--em-link);
  font-size: 14px;
  font-weight: 900;
}

.em-home-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: start;
}

.em-home-guides-section {
  padding-top: 28px;
  padding-bottom: 18px;
}

.em-situation-section {
  padding: 18px 0 4px;
}

.em-situation-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  align-items: stretch;
  border: 1px solid rgba(223, 230, 239, 0.9);
  border-radius: var(--em-radius-sm);
  padding: 18px;
  background: linear-gradient(135deg, #ffffff, #f7f9fc);
  box-shadow: var(--em-shadow-soft);
}

.em-situation-head {
  align-self: center;
}

.em-situation-head h2 {
  margin: 0;
  font-size: 24px;
}

.em-situation-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.em-situation-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: start;
  min-height: 82px;
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius-sm);
  padding: 12px;
  background: #fff;
  color: inherit;
}

.em-situation-card strong,
.em-situation-card small {
  display: block;
}

.em-situation-card strong {
  color: var(--em-text);
  font-size: 13px;
  line-height: 1.25;
}

.em-situation-card small {
  margin-top: 4px;
  color: var(--em-muted);
  font-size: 11px;
  line-height: 1.3;
}

.em-situation-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e9f2ff;
  color: var(--em-blue);
}

.em-guide-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.em-guide-card img,
.em-community-item img,
.em-post-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.44 / 1;
  object-fit: cover;
  border-radius: var(--em-radius-sm);
}

.em-guide-card h3 {
  margin: 12px 0 4px;
  font-size: 16px;
}

.em-guide-card p {
  margin: 0;
  color: var(--em-muted);
  font-size: 13px;
  line-height: 1.38;
}

.em-community-list {
  display: grid;
  gap: 12px;
}

.em-community-item {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 14px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--em-border);
  color: inherit;
}

.em-community-item:last-child {
  border-bottom: 0;
}

.em-community-item img {
  aspect-ratio: 1 / 0.86;
}

.em-community-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.32;
}

.em-community-meta {
  margin: 0;
  color: var(--em-muted);
  font-size: 12px;
}

.em-tip-band {
  display: grid;
  grid-template-columns: 62px 1fr auto auto;
  gap: 18px;
  align-items: center;
  margin: 28px auto 0;
  padding: 14px 24px;
  border-radius: var(--em-radius-sm);
  background: linear-gradient(135deg, #fbf6ec, #f4ead7);
}

.em-tip-band h2 {
  margin: 0 0 4px;
  font-size: 17px;
}

.em-tip-band p {
  margin: 0;
  color: var(--em-text);
  font-size: 14px;
  line-height: 1.38;
}

.em-launch-section,
.em-toolkit-section,
.em-support-products-section {
  padding-top: 48px;
  padding-bottom: 52px;
}

.em-step-grid,
.em-toolkit-grid,
.em-product-grid,
.em-trust-grid,
.em-service-grid,
.em-readiness-grid {
  display: grid;
  gap: 18px;
}

.em-step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.em-step-card,
.em-tool-card,
.em-trust-card,
.em-service-card {
  border: 1px solid rgba(223, 230, 239, 0.92);
  border-radius: var(--em-radius-sm);
  background: #fff;
  box-shadow: var(--em-shadow-soft);
}

.em-step-card {
  padding: 22px;
}

.em-step-icon,
.em-tool-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #e9f2ff;
  color: var(--em-blue);
}

.em-step-card:nth-child(2) .em-step-icon,
.em-tool-card:nth-child(2) .em-tool-icon {
  background: #def5e7;
  color: #16854f;
}

.em-step-card:nth-child(3) .em-step-icon,
.em-tool-card:nth-child(3) .em-tool-icon {
  background: #fff1c9;
  color: #8f650c;
}

.em-step-card:nth-child(4) .em-step-icon,
.em-tool-card:nth-child(4) .em-tool-icon {
  background: #eee4ff;
  color: #4534a5;
}

.em-step-card h3,
.em-tool-card h3,
.em-trust-card h3,
.em-service-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.em-step-card p,
.em-tool-card p,
.em-trust-card p,
.em-service-card p {
  margin: 0;
  color: var(--em-muted);
  font-size: 14px;
  line-height: 1.48;
}

.em-toolkit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.em-tool-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  color: inherit;
}

.em-tool-card .em-tool-icon {
  margin-bottom: 0;
}

.em-support-products-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 38px;
  align-items: start;
  margin-bottom: 22px;
}

.em-support-products-shell h2 {
  max-width: 660px;
  margin-bottom: 12px;
  font-size: clamp(30px, 3.4vw, 44px);
}

.em-support-products-shell p {
  max-width: 720px;
  color: var(--em-muted);
  font-size: 16px;
}

.em-trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.em-trust-card {
  padding: 18px;
}

.em-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.em-product-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(223, 230, 239, 0.92);
  border-radius: var(--em-radius-sm);
  background: #fff;
  color: inherit;
  box-shadow: var(--em-shadow-soft);
}

.em-product-card__media {
  display: block;
  background: #e9eef5;
}

.em-product-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
}

.em-product-card__body {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.em-product-card__eyebrow {
  color: var(--em-gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.em-product-card__title {
  color: var(--em-text);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.24;
}

.em-product-card__text {
  color: var(--em-muted);
  font-size: 14px;
  line-height: 1.45;
}

.em-product-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.em-product-card__price {
  color: var(--em-navy);
  font-weight: 900;
}

.em-readiness-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
  align-items: stretch;
}

.em-city-matrix {
  display: grid;
  gap: 8px;
}

.em-city-row {
  display: grid;
  grid-template-columns: 100px 1fr 82px;
  gap: 12px;
  align-items: center;
  min-height: 42px;
  border-bottom: 1px solid var(--em-border);
  color: var(--em-muted);
  font-size: 14px;
}

.em-city-row:last-child {
  border-bottom: 0;
}

.em-city-row strong {
  color: var(--em-text);
}

.em-city-row em {
  color: var(--em-gold);
  font-style: normal;
  font-weight: 900;
  text-align: right;
}

.em-business-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  border-radius: var(--em-radius-sm);
  padding: 28px;
  background: linear-gradient(135deg, var(--em-navy), var(--em-navy-2));
  color: rgba(255, 255, 255, 0.86);
}

.em-business-band h2 {
  margin-bottom: 10px;
  color: #fff;
}

.em-business-band p {
  max-width: 860px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.em-service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.em-service-card {
  padding: 22px;
}

.em-widget-actions {
  display: grid;
  gap: 9px;
}

.em-page-hero {
  background:
    linear-gradient(120deg, rgba(6, 27, 47, 0.96), rgba(13, 40, 66, 0.82)),
    var(--em-hero-image);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 78px 0 70px;
}

.em-page-hero h1 {
  max-width: 820px;
  margin: 18px 0 12px;
  color: #fff;
  font-size: clamp(42px, 5vw, 64px);
}

.em-page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
}

.em-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 42px;
  align-items: start;
}

.em-legal-stack {
  display: grid;
  gap: 22px;
}

.em-note-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.em-note-band h2 {
  margin-bottom: 8px;
}

.em-note-band p {
  margin-bottom: 0;
}

.em-rich-content,
.entry-content {
  color: var(--em-text);
}

.em-rich-content p,
.entry-content p {
  color: var(--em-muted);
}

.em-grid-2,
.em-grid-3,
.em-grid-4 {
  display: grid;
  gap: 20px;
}

.em-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.em-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.em-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.em-info-card {
  padding: 24px;
}

.em-info-card h2,
.em-info-card h3 {
  margin: 0 0 10px;
}

.em-info-card p,
.em-info-card li {
  color: var(--em-muted);
}

.em-info-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.em-check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.em-check-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
}

.em-check-list .dashicons {
  color: var(--em-green);
}

.em-check-list--warning .dashicons {
  color: var(--em-gold);
}

.em-help-scope-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 18px;
}

.em-qa-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.em-qa-box {
  padding: 28px;
}

.em-qa-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.em-qa-input input,
.em-form input,
.em-form textarea,
.em-form select,
.search-field,
.comment-form input,
.comment-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius-sm);
  background: #fff;
  color: var(--em-text);
  padding: 12px 14px;
  outline: 0;
}

.em-qa-input input:focus,
.em-form input:focus,
.em-form textarea:focus,
.em-form select:focus,
.search-field:focus,
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--em-blue);
  box-shadow: 0 0 0 4px rgba(14, 90, 167, 0.12);
}

.em-answer {
  min-height: 92px;
  margin-top: 18px;
  border-radius: var(--em-radius-sm);
  padding: 18px;
  background: #f2f7fc;
  color: var(--em-muted);
}

.em-question-category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.em-question-category {
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius-sm);
  padding: 16px;
  background: #fff;
}

.em-question-category h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.em-question-chip-list {
  display: grid;
  gap: 8px;
}

.em-question-chip {
  width: 100%;
  border: 1px solid #dbe5f1;
  border-radius: 999px;
  background: #f3f7fc;
  color: #284566;
  padding: 8px 10px;
  text-align: left;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.em-question-chip:hover,
.em-question-chip:focus {
  border-color: var(--em-gold);
  background: #fff8ea;
  color: var(--em-text);
}

.em-faq-list {
  display: grid;
  gap: 10px;
}

.em-faq-item {
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius-sm);
  background: #fff;
  overflow: hidden;
}

.em-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  border: 0;
  background: #fff;
  color: var(--em-text);
  padding: 15px 16px;
  text-align: left;
  font-weight: 900;
}

.em-faq-answer {
  display: none;
  padding: 0 16px 16px;
  color: var(--em-muted);
}

.em-faq-item.is-open .em-faq-answer {
  display: block;
}

.em-form {
  display: grid;
  gap: 14px;
}

.em-form textarea {
  min-height: 130px;
  resize: vertical;
}

.em-form-note {
  color: var(--em-muted);
  font-size: 13px;
}

.em-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.em-post-card {
  display: grid;
  overflow: hidden;
}

.em-post-card-body {
  padding: 20px;
}

.em-post-card h2,
.em-post-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.em-post-meta,
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--em-muted);
  font-size: 13px;
}

.em-entry-shell {
  padding: 52px 0;
}

.em-entry-card {
  max-width: 920px;
  margin-inline: auto;
  padding: 36px;
}

.em-entry-card h1 {
  font-size: clamp(36px, 5vw, 58px);
}

.em-sidebar {
  display: grid;
  gap: 18px;
}

.em-widget {
  padding: 22px;
}

.em-widget h2,
.em-widget h3 {
  margin: 0 0 12px;
  font-size: 19px;
}

.em-widget ul {
  margin: 0;
  padding-left: 18px;
}

.em-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: start;
  justify-content: center;
  padding: 100px 20px;
  background: rgba(6, 27, 47, 0.72);
  backdrop-filter: blur(7px);
}

.easymate-search-open .em-search-overlay {
  display: flex;
}

.em-search-dialog {
  width: min(680px, 100%);
  border-radius: var(--em-radius);
  background: #fff;
  padding: 22px;
  box-shadow: var(--em-shadow);
}

.em-search-dialog form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.em-search-close {
  float: right;
  border: 0;
  background: transparent;
  color: var(--em-text);
  font-size: 22px;
}

.em-site-footer {
  background: var(--em-navy);
  color: rgba(255, 255, 255, 0.82);
}

.em-footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.7fr 0.7fr 1fr 0.9fr;
  gap: 40px;
  padding: 36px 0;
}

.em-footer-grid h2,
.em-footer-grid h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 16px;
}

.em-footer-grid p,
.em-footer-grid a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.em-footer-grid a:hover,
.em-footer-grid a:focus {
  color: var(--em-gold-2);
}

.em-footer-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.em-newsletter {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 8px;
  margin-top: 14px;
}

.em-newsletter input {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--em-radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  padding: 10px 12px;
}

.em-newsletter button {
  border: 0;
  border-radius: var(--em-radius-sm);
  background: var(--em-gold);
  color: var(--em-text);
}

.em-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.em-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.em-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.em-floating-social {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 850;
  display: grid;
  gap: 10px;
}

.em-floating-social.is-left {
  right: auto;
  left: 18px;
}

.em-floating-social a,
.em-floating-social button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--em-navy);
  color: #fff;
  box-shadow: var(--em-shadow-soft);
}

.em-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(6, 27, 47, 0.68);
}

.em-qr-modal.is-open {
  display: flex;
}

.em-qr-box {
  width: min(340px, calc(100% - 32px));
  border-radius: var(--em-radius);
  background: #fff;
  padding: 22px;
  text-align: center;
}

.em-qr-box img {
  max-width: 220px;
}

.em-disclaimer {
  border-left: 4px solid var(--em-gold);
  background: #fff9ee;
  padding: 16px 18px;
  color: #6e5632;
}

.has-easymate-header-language > #fanyi2-language-switcher.fanyi2-pos-bottom-right,
.has-easymate-header-language > #fanyi2-language-switcher.fanyi2-pos-bottom-left,
.has-easymate-header-language > #fanyi2-language-switcher.fanyi2-pos-top-right,
.has-easymate-header-language > #fanyi2-language-switcher.fanyi2-pos-top-left {
  display: none !important;
}

.fanyi2-switcher-current,
.fanyi2-switcher-dropdown,
.fanyi2-switcher-select {
  font-family: var(--em-font-body) !important;
}

.zc-inquiry-block {
  border-color: var(--em-border) !important;
  border-radius: var(--em-radius-sm) !important;
  box-shadow: var(--em-shadow-soft);
}

.zc-inquiry-block__intro h2 {
  color: var(--em-text);
  font-family: var(--em-font-heading);
}

.zc-inquiry-field input,
.zc-inquiry-field textarea {
  border-color: var(--em-border) !important;
  border-radius: var(--em-radius-sm) !important;
}

.zc-btn,
.zc-btn-primary,
.zc-inquiry-form button[type="submit"] {
  border: 0 !important;
  border-radius: var(--em-radius-sm) !important;
  background: var(--em-navy) !important;
  color: #fff !important;
  font-weight: 800;
}

@media (max-width: 1200px) {
  .em-header-inner {
    grid-template-columns: auto auto;
  }

  .em-primary-nav {
    display: none;
  }

  .em-menu-toggle {
    display: inline-flex;
  }

  .em-header-actions {
    justify-self: end;
  }

  .em-mobile-panel {
    position: fixed;
    inset: 68px 0 auto 0;
    z-index: 1000;
    display: none;
    background: var(--em-navy);
    padding: 18px 20px 24px;
    box-shadow: var(--em-shadow);
  }

  .easymate-menu-open .em-mobile-panel {
    display: block;
  }

  .em-mobile-panel .em-menu {
    display: grid;
    gap: 4px;
  }

  .em-mobile-panel .em-menu a {
    min-height: 44px;
  }

  .em-feature-grid,
  .em-guide-grid,
  .em-situation-grid,
  .em-question-category-grid,
  .em-step-grid,
  .em-toolkit-grid,
  .em-product-grid,
  .em-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .em-home-main,
  .em-content-layout,
  .em-qa-shell,
  .em-situation-shell,
  .em-help-scope-grid,
  .em-support-products-shell {
    grid-template-columns: 1fr;
  }

  .em-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .em-hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .em-ask-panel {
    justify-self: start;
  }

  .em-post-grid,
  .em-readiness-grid,
  .em-question-category-grid,
  .em-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .em-trust-grid {
    grid-template-columns: 1fr;
  }

  .em-business-band {
    grid-template-columns: 1fr;
  }

  .em-note-band {
    grid-template-columns: 1fr;
  }

  .em-tip-band {
    grid-template-columns: 60px 1fr;
  }
}

@media (max-width: 768px) {
  .admin-bar .em-site-header {
    top: 46px;
  }

  .em-container {
    width: min(100% - 28px, var(--em-container));
  }

  .em-header-inner {
    gap: 14px;
    min-height: 64px;
  }

  .em-brand img {
    height: 34px;
  }

  .em-header-actions .em-header-link,
  .em-language {
    display: none;
  }

  .em-hero {
    min-height: auto;
  }

  .em-hero-inner {
    min-height: auto;
    gap: 18px;
    padding: 30px 0 26px;
  }

  .em-hero h1 {
    margin: 12px 0 8px;
    font-size: 34px;
    line-height: 1.06;
  }

  .em-hero-subtitle {
    font-size: 16px;
    line-height: 1.42;
  }

  .em-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 17px;
  }

  .em-button {
    width: 100%;
    min-height: 44px;
    padding: 11px 16px;
  }

  .em-ask-panel {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
  }

  .em-ask-panel-head {
    grid-template-columns: 42px 1fr;
    gap: 10px;
    margin-bottom: 10px;
  }

  .em-ask-icon,
  .em-feature-icon,
  .em-tip-icon {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .em-ask-panel h2 {
    font-size: 22px;
  }

  .em-ask-panel p {
    font-size: 13px;
    line-height: 1.35;
  }

  .em-ask-form {
    grid-template-columns: 1fr 40px;
    padding: 6px;
  }

  .em-ask-form input {
    min-height: 40px;
    font-size: 14px;
  }

  .em-ask-form button {
    width: 38px;
    height: 38px;
  }

  .em-ask-panel .em-pill-list {
    gap: 7px;
    margin-top: 10px;
  }

  .em-ask-panel .em-pill-list .em-pill:nth-child(n+3) {
    display: none !important;
  }

  .em-feature-grid {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .em-feature-card {
    grid-template-columns: 54px 1fr;
    min-height: 98px;
    padding: 12px 14px;
  }

  .em-feature-card h3 {
    font-size: 16px;
  }

  .em-feature-card p {
    font-size: 12px;
  }

  .em-guide-grid,
  .em-situation-grid,
  .em-question-category-grid,
  .em-step-grid,
  .em-toolkit-grid,
  .em-product-grid,
  .em-service-grid,
  .em-readiness-grid,
  .em-post-grid,
  .em-grid-2,
  .em-grid-3,
  .em-grid-4 {
    grid-template-columns: 1fr;
  }

  .em-section-head {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
  }

  .em-tool-card {
    grid-template-columns: 48px 1fr;
  }

  .em-city-row {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 10px 0;
  }

  .em-city-row em {
    text-align: left;
  }

  .em-qa-input,
  .em-search-dialog form {
    grid-template-columns: 1fr;
  }

  .em-entry-card {
    padding: 24px;
  }

  .em-section {
    padding: 40px 0;
  }

  .em-section--tight {
    padding: 24px 0;
  }

  .em-page-hero {
    padding: 46px 0 38px;
  }

  .em-page-hero h1 {
    margin: 12px 0 8px;
    font-size: 34px;
    line-height: 1.08;
  }

  .em-page-hero p {
    font-size: 16px;
    line-height: 1.48;
  }

  .em-info-card,
  .em-widget,
  .em-qa-box,
  .em-service-card,
  .em-step-card {
    padding: 18px;
  }

  .em-situation-section {
    padding: 14px 0 2px;
  }

  .em-situation-shell {
    gap: 14px;
    padding: 15px;
  }

  .em-situation-head h2 {
    font-size: 21px;
  }

  .em-situation-grid,
  .em-question-category-grid,
  .em-product-grid {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    max-width: 100%;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .em-situation-card {
    min-width: 244px;
    min-height: 78px;
    scroll-snap-align: start;
  }

  .em-question-category {
    min-width: 250px;
    scroll-snap-align: start;
  }

  .em-product-card {
    min-width: 264px;
    scroll-snap-align: start;
  }

  .em-product-card__img {
    aspect-ratio: 1.72 / 1;
  }

  .em-product-card__body {
    gap: 7px;
    padding: 14px;
  }

  .em-product-card__title {
    font-size: 16px;
  }

  .em-product-card__text {
    font-size: 13px;
  }

  .em-home-guides-section {
    padding-top: 22px;
  }

  .em-home-main > *,
  .em-content-layout > *,
  .em-qa-shell > *,
  .em-support-products-shell > *,
  .em-readiness-grid > *,
  .em-help-scope-grid > * {
    min-width: 0;
  }

  .em-situation-grid,
  .em-question-category-grid,
  .em-product-grid {
    width: 100%;
    min-width: 0;
  }

  .em-launch-section,
  .em-toolkit-section,
  .em-support-products-section {
    padding-top: 38px;
    padding-bottom: 40px;
  }

  .em-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .em-tip-band {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .em-hero h1,
  .em-page-hero h1 {
    font-size: 32px;
  }

  .em-hero-subtitle,
  .em-page-hero p {
    font-size: 16px;
  }

  .em-community-item {
    grid-template-columns: 56px 1fr;
  }

  .em-community-item .dashicons {
    display: none;
  }
}
