@import url('https://cdn.bootcdn.net/ajax/libs/misans-webfont/4.3.1/misans-style.css');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Inter:wght@400;600;700&display=swap');

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --radius: 0.625rem;
  --background: oklch(1 0 0);
  --foreground: oklch(0.145 0 0);
  --foreground-normal: oklch(36.386% 0.00004 271.152); /* Nuxt --foreground-normal / foreground-3e */
  --primary: oklch(65.5% 0.248 349.8);
  --primary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.97 0 0);
  --muted-foreground: oklch(0.556 0 0);
  --accent: oklch(0.97 0 0);           /* matches Nuxt --accent (light grey) */
  --border: oklch(0.922 0 0);
  --footer-background: oklch(24.354% 0.00003 271.152);
  --accent-color: var(--primary);      /* theme-wide accent (buttons, links…) */
}

.dark {
  --background: oklch(0.145 0 0);
  --foreground: oklch(0.985 0 0);
  --muted: oklch(0.205 0 0);
  --muted-foreground: oklch(0.708 0 0);
  --accent: oklch(0.269 0 0);          /* dark mode accent */
  --border: oklch(0.26 0 0);
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', 'MiSans', system-ui, sans-serif;
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul, ol { margin: 0; padding: 0; }

/* ============================================================
   Page Loader  (port of PageLoader.vue)
   ============================================================ */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  pointer-events: none;
}

.page-loader-primary,
.page-loader-white {
  position: fixed;
  inset: 0;
  /* Default: fully visible (full cover) */
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  transition: clip-path 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.page-loader-primary { background: var(--primary); }

.page-loader-white {
  background: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-loader-text {
  font-size: 1.875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted-foreground);
  opacity: 0.5;
}

/* Hidden state — slid up off screen (leave-to) */
#page-loader.is-hidden .page-loader-primary,
#page-loader.is-hidden .page-loader-white {
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
}

/* Entering state — thin line at bottom, no transition (enter-from snap) */
#page-loader.is-entering .page-loader-primary,
#page-loader.is-entering .page-loader-white {
  clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
  transition: none;
}

/* ============================================================
   Container
   ============================================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* ============================================================
   Typography
   ============================================================ */
.headline {
  font-family: 'Poppins', 'MiSans', sans-serif;
  font-size: 2.25rem;      /* text-4xl = 36px, mobile */
  line-height: 2.5rem;
  font-weight: 400;
  margin: 0;
}
@media (min-width: 768px) {
  .headline { font-size: 3rem; line-height: 1; }      /* text-5xl = 48px, md */
}
@media (min-width: 1024px) {
  .headline { font-size: 3.5rem; line-height: 4rem; } /* text-headline = 56px/64px, lg */
}

.tagline {
  font-family: 'Poppins', 'MiSans', sans-serif;
  font-size: 1.125rem;     /* text-lg = 18px, mobile */
  line-height: 1.75rem;
  text-transform: uppercase;
  color: var(--muted-foreground);
  font-weight: 400;
  margin: 0;
}
@media (min-width: 768px) {
  .tagline { font-size: 1.25rem; }                    /* text-xl = 20px, md */
}
@media (min-width: 1024px) {
  .tagline { font-size: 1.5rem; line-height: 2.1rem; } /* text-tagline = 24px/33.6px, lg */
}

/* ============================================================
   Navigation Bar
   ============================================================ */
.site-header {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 60;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header.is-homepage {
  position: fixed;
  background: transparent;
}

.site-header.is-inner {
  position: sticky;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}

.site-header.scrolled,
.site-header.is-homepage.menu-is-open {
  background: var(--background) !important;
  border-bottom: 1px solid var(--border) !important;
}

/* Header inner: 3-col layout on mobile (spacer + logo + nav-right) */
.header-inner {
  display: flex;
  align-items: center;
  height: 4.5rem;
}

.is-homepage .header-inner { height: 6rem; }

@media (min-width: 1024px) {
  .is-homepage .header-inner {
    height: 10.5rem;
    padding-top: 3.5rem;
    align-items: flex-start;
  }
  .is-inner .header-inner { height: 5rem; }
}

/* Left spacer: pushes logo to center on mobile, hidden on desktop */
.nav-spacer {
  flex: 1;
}

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

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo .logo-img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

/* Homepage desktop: larger logo */
@media (min-width: 1024px) {
  .is-homepage .site-logo .logo-img { width: 3.5rem; height: 3.5rem; }
  .is-inner    .site-logo .logo-img { width: 2.25rem; height: 2.25rem; }
}

.logo-img.logo-dark { display: none; }
.dark .logo-img.logo-light { display: none; }
.dark .logo-img.logo-dark { display: block; }

/* Fallback SVG logos have hardcoded dark fill — invert to white on dark backgrounds */
.logo-svg-fallback { filter: brightness(0) invert(1); }
.footer-logo-invert { filter: brightness(0) invert(1); }

.logo-text {
  font-family: 'MiSans Demibold', 'MiSans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

/* Right group: dark-mode toggle + desktop nav + hamburger */
.nav-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .nav-right { gap: 1.25rem; }
}

/* Desktop Nav — hidden on mobile */
.desktop-nav { display: none; }

@media (min-width: 1024px) {
  .desktop-nav { display: flex; align-items: flex-start; }
}

/* Desktop menu: 2-col grid on homepage, flex row on inner pages */
.desktop-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Homepage: 2-col column-major grid (items flow down first column, then second) */
.desktop-menu.is-homepage {
  display: grid;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  column-gap: 3rem;
  row-gap: 0.5rem;
}

/* Inner pages: flex row h-9 gap-12 justify-end */
.desktop-menu.is-inner {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  height: 2.25rem;
  justify-content: flex-end;
  align-items: center;
}

/* Shared li */
.desktop-menu li { position: relative; }
.desktop-menu li.has-children { position: relative; }

/* Button trigger for parent items with children */
.menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: 'MiSans Demibold', 'MiSans', sans-serif;
  font-size: 1rem;        /* text-nav = 16px */
  font-weight: 400;       /* weight comes from the Demibold font face, not CSS weight */
  color: var(--foreground);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
  white-space: nowrap;
}

.menu-trigger:hover { color: var(--accent-color); }

.menu-trigger .arrow-icon {
  transition: transform 0.2s;
  flex-shrink: 0;
}

.menu-trigger[aria-expanded="true"] .arrow-icon {
  transform: rotate(90deg);
}

/* Regular menu link (top-level without children) */
.menu-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: 'MiSans Demibold', 'MiSans', sans-serif;
  font-size: 1rem;        /* text-nav = 16px */
  font-weight: 400;       /* weight comes from the Demibold font face */
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.menu-link:hover { color: var(--accent-color); }

.menu-link .arrow-icon {
  opacity: 1;
  transform: translateX(0) translateY(0);
  transition: transform 0.2s;
}

.menu-link:hover .arrow-icon {
  transform: translateX(2px) translateY(-2px);
}

/* Sub-menu link */
.sub-menu-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: 'MiSans Demibold', 'MiSans', sans-serif;
  font-size: 1rem;        /* text-nav = 16px, same as top-level */
  font-weight: 400;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
  padding: 0.25rem 0;
}

.sub-menu-link:hover { color: var(--foreground); }

.sub-menu-link .arrow-icon {
  opacity: 0;
  transform: translateX(-2px) translateY(2px);
  transition: opacity 0.15s, transform 0.15s;
}

.sub-menu-link:hover .arrow-icon {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* Dropdown sub-menu */
.desktop-menu .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 180px;
  background: var(--background);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border);
  list-style: none;
  margin: 0;
  z-index: 10;
}

.desktop-menu li.has-children:hover .sub-menu,
.desktop-menu li.has-children:focus-within .sub-menu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* ============================================================
   Language Switcher
   ============================================================ */
.lang-switcher {
  position: relative;
  display: none;           /* hidden on mobile — shown on desktop */
  align-items: center;
}

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

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: 'MiSans Demibold', 'MiSans', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--foreground);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0.375rem;
  border-radius: var(--radius);
  transition: color 0.2s;
  white-space: nowrap;
}

.lang-trigger:hover { color: var(--accent-color); }

.lang-label { line-height: 1; }

.lang-chevron {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.lang-trigger[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 7rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.375rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  z-index: 100;
  flex-direction: column;
  gap: 0.125rem;
}

.lang-dropdown.open { display: flex; }

.lang-option {
  display: block;
  padding: 0.4rem 0.75rem;
  font-size: 0.9375rem;
  color: var(--foreground);
  text-decoration: none;
  border-radius: calc(var(--radius) - 2px);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.lang-option:hover { background: var(--muted); }

.lang-option.active {
  color: var(--accent-color);
  font-weight: 600;
}

/* Mobile language switcher (inside fullscreen menu) */
.mobile-lang-section { margin-top: 0.5rem; }

.mobile-lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
}

.mobile-lang-option {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-lang-option.active,
.mobile-lang-option:hover { color: var(--foreground); }

.mobile-lang-sep { color: var(--muted-foreground); }

/* Mobile Toggle */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
  padding: 0;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle { display: none; }
}

/* Mobile Fullscreen Menu — visibility/opacity for CSS transition */
.mobile-menu {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--background);
  padding-top: 4.625rem;
  overflow-y: auto;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.open {
  visibility: visible;
  opacity: 1;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 74px);
  padding: 3rem 1.5rem;
  gap: 2.5rem;
  width: 100%;
}

/* Stagger animation — delay set via inline style from PHP */
.mobile-menu-section {
  opacity: 0;
  text-align: center;
}

.mobile-menu.open .mobile-menu-section {
  animation: navFadeUp 0.3s ease forwards;
}

@keyframes navFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mobile-menu-section-title {
  font-family: 'MiSans Heavy', 'MiSans', sans-serif;
  font-size: 1.5rem;      /* text-2xl */
  font-weight: 400;       /* weight baked into MiSans Heavy font face */
  color: var(--foreground);
  margin: 0;
}

.mobile-menu-section-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  list-style: none;
  padding: 0;
}

.mobile-menu-section-links a {
  font-size: 1.25rem;     /* text-xl */
  color: var(--foreground-normal);  /* Nuxt text-foreground-3e = --foreground-normal */
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-menu-section-links a:hover { color: var(--foreground); }

/* Standalone top-level link (no children) in mobile menu */
.mobile-menu-standalone {
  font-family: 'MiSans Heavy', 'MiSans', sans-serif;
  font-size: 1.5rem;      /* text-2xl, same as section titles */
  font-weight: 400;       /* weight from font face */
  color: var(--foreground-normal);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-menu-standalone:hover { color: var(--accent-color); }

/* Dark mode toggle button */
.dark-mode-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  color: var(--foreground);
  transition: border-color 0.2s;
}

.dark-mode-toggle:hover { border-color: var(--accent-color); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--footer-background); }

.footer-bg-image {
  width: 100%;
  display: none;
  aspect-ratio: 1920 / 424;
  background: url('../images/footer-background.png') center / 100% no-repeat;
  /* 初始状态：从右侧完全遮住，等待触发 */
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s cubic-bezier(0.76, 0, 0.24, 1);
}

@media (min-width: 768px) {
  .footer-bg-image { display: block; }
}

/* 进入视口后从左向右展开 */
.footer-bg-image.is-revealed {
  clip-path: inset(0 0% 0 0);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    padding: 5rem 0;
  }
}

/* Footer Nav */
.footer-nav {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem 3.5rem;     /* gap-y-10 gap-x-14 mobile */
}

@media (min-width: 768px) {
  .footer-nav { gap: 3rem 4rem; }   /* gap-y-12 gap-x-16 md */
}

@media (min-width: 1280px) {
  .footer-nav { gap: 3.5rem 5rem; } /* gap-y-14 gap-x-20 xl */
}

.footer-nav ul { list-style: none; padding: 0; margin: 0; }

.footer-nav-group-title {
  font-size: 1.125rem;    /* text-lg mobile */
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem; /* mb-3 mobile */
  display: block;
}

@media (min-width: 768px) {
  .footer-nav-group-title {
    font-size: 1.25rem;   /* text-xl md */
    margin-bottom: 1rem;  /* mb-4 md */
  }
}

.footer-nav a {
  font-size: 0.875rem;    /* text-sm mobile */
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  display: block;
  padding: 0.2rem 0;
}

@media (min-width: 768px) {
  .footer-nav a { font-size: 1rem; } /* text-base md */
}

.footer-nav a:hover { text-decoration: underline; color: rgba(255,255,255,0.8); }

/* Footer Brand */
.footer-brand {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .footer-brand {
    align-items: flex-end;
    margin-top: 0;
  }
}

.footer-logo { width: 4rem; height: auto; object-fit: contain; }   /* w-16 */

@media (min-width: 1280px) {
  .footer-logo { width: 5.25rem; } /* xl:w-21 */
}

.footer-copyright { margin-top: 1rem; }

.footer-copyright h3 {
  color: #fff;
  font-size: 1.125rem;    /* text-lg mobile */
  margin: 0;
  font-weight: 400;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 0.25rem;         /* space-x-1 */
}

@media (min-width: 768px) {
  .footer-copyright h3 { font-size: 1.25rem; } /* text-xl md */
}

.footer-company { font-weight: 700; } /* font-bold on company name span */

.footer-records {
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;     /* space-y-1.5 via gap */
  display: flex;
  flex-direction: column;
  gap: 0.375rem;          /* space-y-1.5 */
  text-align: left;
}

@media (min-width: 768px) {
  .footer-records { text-align: right; }
}

.footer-records li {
  display: flex;
  align-items: center;
  gap: 0.25rem;           /* mr-1 equivalent */
  justify-content: flex-start;
}

@media (min-width: 768px) {
  .footer-records li { justify-content: flex-end; }
}

.footer-records a {
  font-size: 0.875rem;    /* text-sm */
  color: rgba(255, 255, 255, 0.5);
}

.footer-records a:hover { text-decoration: underline; }

.record-icon {
  width: 1rem;            /* 16px — matches Record.vue width="16" */
  height: 1rem;
  flex-shrink: 0;
  display: inline-block;
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  position: relative;
}

.hero-section.image-center {
  justify-content: center;
  text-align: center;
}

.hero-section.image-left .hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-section.image-left .hero-inner {
    grid-template-columns: 1fr;
  }
}

.hero-content { display: flex; flex-direction: column; gap: 1.5rem; }
.hero-image img { width: 100%; height: auto; border-radius: var(--radius); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-color);
  color: var(--primary-foreground);
}

.btn-primary:hover { opacity: 0.85; }

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

/* ============================================================
   Post Cards (home.php grid)
   ============================================================ */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

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

.post-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s;
}

.post-card:hover { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); }

.post-card-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }

.post-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--foreground);
  margin: 0;
}

.post-card-excerpt {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  flex: 1;
}

.post-card-meta {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

/* ============================================================
   Pagination
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  color: var(--foreground);
  transition: all 0.2s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--primary-foreground);
}

.pagination .page-numbers.dots {
  border: none;
  background: none;
}

/* ============================================================
   Single Post
   ============================================================ */
.single-featured-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.single-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
}

.single-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 3rem 0;
}

@media (min-width: 1024px) {
  .single-layout {
    grid-template-columns: minmax(0, 2fr) 400px;
  }
}

/* Post content styles */
.entry-content {
  font-size: 1.0625rem;
  line-height: 1.8;
}

.entry-content h2 { font-size: 1.75rem; margin: 2rem 0 1rem; }
.entry-content h3 { font-size: 1.375rem; margin: 1.75rem 0 0.75rem; }
.entry-content p  { margin: 0 0 1.25rem; }
.entry-content ul,
.entry-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.entry-content blockquote {
  border-left: 4px solid var(--accent-color);
  margin: 1.5rem 0;
  padding: 0.75rem 1.25rem;
  background: var(--muted);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted-foreground);
  font-style: italic;
}
.entry-content pre {
  background: var(--muted);
  padding: 1.25rem;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 0.9rem;
}
.entry-content img {
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

/* Sidebar */
.single-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.author-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.author-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
}

.author-name { font-weight: 700; font-size: 1rem; margin: 0; }
.author-bio  { font-size: 0.875rem; color: var(--muted-foreground); margin: 0; }

.related-posts-widget { display: flex; flex-direction: column; gap: 1rem; }
.widget-title { font-size: 1.125rem; font-weight: 700; margin: 0 0 1rem; }

.related-post-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.related-post-item:last-child { border-bottom: none; padding-bottom: 0; }

.related-post-thumb {
  width: 4rem;
  height: 4rem;
  object-fit: cover;
  border-radius: 0.375rem;
  flex-shrink: 0;
}

.related-post-title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--foreground);
}

.related-post-title:hover { color: var(--accent-color); }

/* ============================================================
   Page Content
   ============================================================ */
.page-header {
  padding: 4rem 0 2rem;
  border-bottom: 1px solid var(--border);
}

.page-title {
  font-family: 'Poppins', 'MiSans', sans-serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  margin: 0;
}

.page-content { padding: 3rem 0; }

/* ============================================================
   Blog Archive / Home
   ============================================================ */
.blog-header {
  padding: 6rem 0 3rem;
  text-align: center;
}

.blog-header .tagline { margin-bottom: 0.5rem; }

/* ============================================================
   Archive
   ============================================================ */
.archive-header {
  padding: 4rem 0 2rem;
  border-bottom: 1px solid var(--border);
}

.archive-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  margin: 0;
}

.archive-description {
  color: var(--muted-foreground);
  margin: 0.75rem 0 0;
}

/* ============================================================
   Search
   ============================================================ */
.search-header { padding: 4rem 0 2rem; }
.search-header h1 { font-size: 2rem; font-weight: 700; margin: 0; }
.search-results-count { color: var(--muted-foreground); margin: 0.5rem 0 0; }

/* ============================================================
   404 Page
   ============================================================ */
.error-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.error-404-inner { max-width: 480px; }
.error-404-code  { font-size: 8rem; font-weight: 900; color: var(--accent-color); line-height: 1; margin: 0; }
.error-404-msg   { font-size: 1.5rem; font-weight: 700; margin: 1rem 0 0.5rem; }
.error-404-desc  { color: var(--muted-foreground); margin: 0 0 2rem; }

/* ============================================================
   Front Page Sections
   ============================================================ */
.section { padding: 5rem 0; }
.section-alt { background: var(--muted); }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-title  { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; margin: 0 0 0.75rem; }
.section-desc   { color: var(--muted-foreground); max-width: 600px; margin: 0 auto; }

/* Productions grid */
.productions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.production-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.production-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.production-card-image { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.production-card-body  { padding: 1.25rem; }
.production-card-title { font-weight: 700; font-size: 1rem; margin: 0 0 0.5rem; }
.production-card-desc  { font-size: 0.875rem; color: var(--muted-foreground); margin: 0; }

/* ============================================================
   Utility
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.text-accent { color: var(--accent-color); }
.text-muted  { color: var(--muted-foreground); }
.mt-1  { margin-top: 0.25rem; }
.mt-2  { margin-top: 0.5rem; }
.mt-4  { margin-top: 1rem; }
.mb-4  { margin-bottom: 1rem; }
.py-2  { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-2 { gap: 0.5rem; }

/* ============================================================
   Jue Hero Section (front-page.php)
   Mirrors JueHero.vue + PixelBlast background (Three.js → Canvas)
   ============================================================ */

/* Outer: shows dark footer color as side strip on desktop */
.jue-hero { width: 100%; }

.jue-hero-outer {
  background: var(--background);
}

@media (min-width: 768px) {
  .jue-hero-outer {
    padding-right: 1.25rem;  /* exposes dark strip on the right */
    background: var(--footer-background);
  }
}

/* Inner white panel with large bottom-right radius on desktop */
.jue-hero-inner {
  position: relative;
  width: 100%;
  background: var(--background);
  overflow: hidden;
}

@media (min-width: 768px) {
  .jue-hero-inner {
    border-bottom-right-radius: 160px;
  }
}

/* Content area */
.jue-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 5rem;    /* pt-20 */
  padding-bottom: 5rem; /* pb-20 */
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .jue-hero-content {
    padding-top: 13rem;   /* pt-52 */
    padding-bottom: 9rem; /* pb-36 */
  }
}

/* Flex row: column on mobile, row on desktop */
.jue-hero-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

@media (min-width: 1024px) {
  .jue-hero-row {
    flex-direction: row;
    gap: 1.5rem; /* gap-6 */
  }
}

/* SVG title */
.jue-hero-svg {
  width: 100%;
  max-width: 742px; /* max-w-185.5 × 4px */
  display: flex;
  align-items: center;
  justify-content: center;
}

.jue-hero-svg svg {
  width: 100%;
  height: auto;
}

/* SVG colors: use foreground in both light and dark modes */
.jue-title-svg .svg-dark-fill   { fill: var(--foreground); }
.jue-title-svg .svg-dark-stroke { fill: none; stroke: var(--foreground); }

/* Image wrapper */
.jue-hero-image-wrap {
  padding: 0 2rem;     /* px-8 */
}

@media (min-width: 768px) {
  .jue-hero-image-wrap {
    padding: 0 3.5rem 3rem; /* px-14 pb-12 */
  }
}

.jue-hero-image-inner {
  position: relative;
  width: 100%;
  max-width: 700px;    /* max-w-175 */
  aspect-ratio: 700 / 420;
}

/* Decorative pink oval (bg-accent aspect-700/280 rounded-full) */
.jue-hero-oval {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 700 / 280;
  background: var(--accent);           /* matches Nuxt bg-accent = oklch(0.97 0 0) */
  border-radius: 9999px;
  transition: background-color 0.3s ease;
}

/* ::after border ring */
.jue-hero-oval::after {
  content: '';
  position: absolute;
  inset: -0.75rem;       /* -inset-3 */
  border: 5px solid var(--primary);
  border-radius: 9999px;
}

/* Hover: oval turns pink */
.jue-hero-image-inner:hover .jue-hero-oval {
  background: #F8D4DF;
}

/* Image overflow container */
.jue-hero-img-overflow {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Image translate wrapper — starts slightly low, rises on hover */
.jue-hero-img-mover {
  position: relative;
  width: 100%;
  aspect-ratio: 700 / 440;
  transform: translateY(1.25rem); /* translate-y-5 */
  transition: transform 0.3s ease;
}

.jue-hero-image-inner:hover .jue-hero-img-mover {
  transform: translateY(0);
}

.jue-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   Productions Archive  (port of Productions.vue)
   ============================================================ */

/* Heading (ProductionsHeading.vue) */
.productions-heading {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 1.5rem 0 2rem;
}
@media (min-width: 1024px) {
  .productions-heading { padding: 2.625rem 0 3.75rem; }
}
.productions-title {
  color: var(--foreground-normal);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 2.5rem;
  margin: 0;
}
@media (min-width: 1024px) {
  .productions-title { font-size: 3rem; line-height: 3.5rem; }
}
.productions-subtitle {
  display: inline-block;
  background: #3E3E3E;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0 0.25rem;
  line-height: 1.625rem;
}
@media (min-width: 1024px) {
  .productions-subtitle { font-size: 1.25rem; padding: 0 0.375rem; line-height: 1.875rem; }
}

/* Outer wrapper — vertical column rule lines on md+ */
.productions-outer {
  border-right: 1px solid var(--border);
}
@media (min-width: 768px) {
  .productions-outer {
    background-image: linear-gradient(to right, var(--border) 1px, transparent 1px);
    background-repeat: repeat-x;
    background-size: 25% 100%;
  }
}
@media (min-width: 1280px) {
  .productions-outer { background-size: 20% 100%; }
}

/* Layout grid: 1 col mobile, sidebar + products on md+ */
.productions-layout {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .productions-layout { grid-template-columns: 1fr 3fr; }
}
@media (min-width: 1280px) {
  .productions-layout { grid-template-columns: 1fr 4fr; }
}

/* ---- Desktop Sidebar ---- */
.productions-sidebar {
  display: none;
  flex-direction: column;
  padding-right: 1rem;
}
@media (min-width: 768px) {
  .productions-sidebar { display: flex; }
}
.productions-sidebar-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground-normal);
  margin-bottom: 1rem;
}
.productions-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.productions-sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  transition: color 0.2s;
  height: 1.5rem;
  color: rgba(62, 62, 62, 0.75);
}
.productions-sidebar-item:hover { color: var(--foreground-normal); }
.productions-sidebar-item.is-active { color: var(--foreground-normal); }

.prod-sidebar-arrow-wrap {
  width: 1.5rem;
  height: 1.5rem;
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: -0.125rem;
}
.productions-sidebar-item.is-active .prod-sidebar-arrow-wrap { display: flex; }

.prod-sidebar-arrow { width: 1.5rem; height: 1.5rem; }

.prod-sidebar-name {
  font-size: 1rem;
  font-weight: 700;
  transition: color 0.2s;
}

/* ---- Right column ---- */
.productions-right {
  padding-bottom: 3rem;
}
@media (min-width: 1024px) { .productions-right { padding-bottom: 5rem; } }

/* ---- Mobile tabs (hidden on md+) ---- */
.productions-mobile-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) { .productions-mobile-tabs { display: none; } }

.productions-mobile-tabs-scroll {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  overflow-x: auto;
  flex: 1;
  scrollbar-width: none;
}
.productions-mobile-tabs-scroll::-webkit-scrollbar { display: none; }

.prod-mobile-tab {
  height: 2rem;
  padding: 0 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 3px solid transparent;
  background: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--foreground-normal);
  opacity: 0.75;
  transition: opacity 0.2s, border-color 0.2s;
}
.prod-mobile-tab.is-active {
  border-color: var(--foreground-normal);
  opacity: 1;
}

/* ---- Desktop checkbox (hidden on mobile) ---- */
.productions-desktop-checkbox {
  display: none;
  height: 2rem;
  align-items: center;
  padding: 0 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .productions-desktop-checkbox { display: flex; } }

/* ---- Shared checkbox button ---- */
.prod-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  color: var(--foreground-normal);
}
.prod-checkbox-box {
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--foreground-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.prod-check-icon { display: none; width: 1rem; height: 1rem; color: var(--foreground-normal); }
.prod-checkbox.is-checked .prod-check-icon { display: block; }
.prod-checkbox-label {
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ---- Products grid ---- */
.productions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background-image: linear-gradient(to right, var(--border) 1px, transparent 1px);
  background-repeat: repeat-x;
  background-size: 50% 100%;
}
@media (min-width: 768px) {
  .productions-grid {
    grid-template-columns: repeat(3, 1fr);
    background-image: none;
    border-right: none;
    border-style: dashed;
  }
}
@media (min-width: 1280px) {
  .productions-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Product card (ProductionsProductCard.vue) ---- */
.production-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-bottom: 1px dashed var(--border);
  padding: 1rem;
  transition: background 0.2s;
}
@media (min-width: 768px) { .production-card { gap: 1rem; padding: 1.25rem; } }
.production-card:hover { background: color-mix(in oklch, var(--muted) 50%, transparent); }

.prod-card-img-wrap {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  background: var(--muted);
  display: block;
  width: 100%;
}
.prod-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.production-card:hover .prod-card-img { transform: scale(1.05); }
.prod-card-img.is-sold-out-img { opacity: 0.2; }

.prod-card-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prod-card-no-img span { font-size: 0.875rem; color: var(--muted-foreground); opacity: 0.5; }

.prod-sold-out-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.prod-sold-out-badge {
  width: 8rem;
  height: 3rem;
  border: 3px solid var(--foreground);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-12deg);
  font-size: 1.5rem;
  font-family: 'MiSans Medium', 'MiSans', sans-serif;
  color: var(--foreground);
}
@media (min-width: 1280px) {
  .prod-sold-out-badge { width: 10rem; height: 4rem; border-width: 4px; font-size: 1.875rem; }
}

.prod-card-details { display: flex; flex-direction: column; gap: 0.25rem; }
.prod-card-title-wrap { height: 2.75rem; overflow: hidden; }
@media (min-width: 768px) { .prod-card-title-wrap { height: 3rem; } }

.prod-card-title-link { display: block; }
.prod-card-title-link:hover .prod-card-title { text-decoration: underline; }
.prod-card-title {
  font-size: 0.875rem;
  font-family: 'MiSans Demibold', 'MiSans', sans-serif;
  color: var(--foreground);
  line-height: 1.375rem;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 768px) { .prod-card-title { font-size: 1rem; line-height: 1.5rem; } }

.prod-card-category {
  display: inline-flex;
  align-items: center;
  height: 1.375rem;
  padding: 0 0.375rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-family: 'MiSans Demibold', 'MiSans', sans-serif;
  width: fit-content;
}

.prod-card-price { display: flex; align-items: baseline; color: var(--foreground-normal); }
.prod-price-symbol { font-size: 0.75rem; font-weight: 700; margin-top: 0.375rem; }
@media (min-width: 768px) { .prod-price-symbol { font-size: 0.875rem; } }
.prod-price-value { font-size: 1.25rem; font-weight: 700; margin-left: 1px; }
@media (min-width: 768px) { .prod-price-value { font-size: 1.5rem; } }

.productions-empty,
.productions-cat-empty {
  text-align: center;
  color: var(--muted-foreground);
  padding: 8rem 1rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--muted);
  grid-column: 1 / -1;
}

/* ================================================================
 * 产品性能徽章（桃红色长框）
 * ================================================================ */
.prod-performance-badge {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  background: #ff6b8a;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1.6;
}

/* Badge 在卡片图片右下角 */
.prod-card-img-wrap {
  position: relative;
}
.prod-card-img-wrap .prod-performance-badge {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  z-index: 2;
}

/* ================================================================
 * 产品详情页 (single-production.php)
 * ================================================================ */
.prod-detail-page {
  padding: 2rem 0 4rem;
}

.prod-detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}
.prod-detail-breadcrumb a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}
.prod-detail-breadcrumb a:hover {
  color: var(--foreground);
}

/* Two-column layout: info (sticky) + gallery (scroll) */
.prod-detail-wrap {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .prod-detail-wrap {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }
  .prod-detail-info {
    flex: 0 0 280px;
    position: sticky;
    top: 6rem;
  }
  .prod-detail-gallery {
    flex: 1;
    min-width: 0;
  }
}

/* Info panel */
.prod-detail-info-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* 左侧封面图 */
.prod-detail-cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  object-fit: cover;
}

.prod-detail-cat {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.prod-detail-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--foreground);
  margin: 0;
}

/* Performance badge on detail page (block style) */
.prod-detail-perf {
  align-self: flex-start;
  font-size: 0.875rem;
  padding: 0.3rem 1rem;
}

/* Price on detail page */
.prod-detail-price {
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
  margin-top: 0.25rem;
}
.prod-detail-price .prod-price-symbol {
  font-size: 1.125rem;
  color: var(--foreground);
  font-weight: 700;
}
.prod-detail-price .prod-price-value {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--foreground);
}

/* Sold out label */
.prod-detail-sold-out {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.5rem;
  border: 2px solid var(--border);
  color: var(--muted-foreground);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
}

/* Buy button */
.prod-detail-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: opacity 0.2s;
  cursor: pointer;
  border: none;
  width: fit-content;
}
.prod-detail-buy-btn:hover {
  opacity: 0.85;
}
.prod-detail-buy-btn--disabled {
  background: var(--muted);
  color: var(--muted-foreground);
  cursor: not-allowed;
}

/* Back link */
.prod-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
  margin-top: 0.5rem;
}
.prod-detail-back:hover {
  color: var(--foreground);
}

/* Gallery: stacked long images */
.prod-detail-gallery {
  display: flex;
  flex-direction: column;
}
.prod-detail-img {
  display: block;
  width: 100%;
  height: auto;
}

/* 产品正文内容区域 */
.prod-detail-content {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--foreground);
}
.prod-detail-content h1,
.prod-detail-content h2,
.prod-detail-content h3,
.prod-detail-content h4 {
  font-weight: 700;
  margin: 1.5em 0 0.5em;
  line-height: 1.3;
}
.prod-detail-content p {
  margin: 0 0 1em;
}
.prod-detail-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0;
}
.prod-detail-content a {
  color: var(--accent);
  text-decoration: underline;
}
.prod-detail-content ul,
.prod-detail-content ol {
  padding-left: 1.5em;
  margin: 0 0 1em;
}
.prod-detail-content li {
  margin-bottom: 0.4em;
}
.prod-detail-content .wp-block-image {
  margin: 0;
}
body .is-layout-flex {
  display: inline-block;
}

/* ================================================================
 * 关于我们页面 (page-about.php)
 * ================================================================ */

/* ── Shared section header ── */
.about-section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.about-section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 900;
  margin: 0.25rem 0 0;
  color: var(--foreground);
}
.about-placeholder {
  color: var(--muted-foreground);
  font-style: italic;
  text-align: center;
  padding: 2rem 0;
}

/* ── ① Brand Introduction ── */
.about-brand {
  padding: 5rem 0 4rem;
}
.about-brand-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .about-brand-inner {
    flex-direction: row;
    align-items: center;
    gap: 5rem;
  }
  .about-brand-text { flex: 1; }
  .about-brand-image { flex: 0 0 44%; }
}
.about-brand-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--foreground);
  margin: 0.5rem 0 1.25rem;
}
.about-brand-content {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--muted-foreground);
}
.about-brand-content p { margin: 0 0 1rem; }
.about-brand-img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) * 2);
  display: block;
}

/* ── ② Stats ── */
.about-stats {
  background: oklch(14% 0 0);
  padding: 4rem 0;
}
.dark .about-stats {
  background: oklch(10% 0 0);
}
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
}
@media (min-width: 640px) {
  .about-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.about-stat-item {
  text-align: center;
}
.about-stat-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  font-family: 'Poppins', 'MiSans', sans-serif;
}
.about-stat-label {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}

/* ── ③ Team ── */
.about-team {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}
.about-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
}
@media (min-width: 640px) {
  .about-team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .about-team-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem 2rem;
  }
}
.about-team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}
.about-team-photo {
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--muted);
}
.about-team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-team-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  color: var(--muted-foreground);
  background: var(--muted);
}
.about-team-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.about-team-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0;
}
.about-team-role {
  font-size: 0.8125rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.about-team-bio {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0.25rem 0 0;
}

/* ── ④ Contact ── */
.about-contact {
  padding: 5rem 0 6rem;
  border-top: 1px solid var(--border);
  background: var(--muted);
}
.dark .about-contact {
  background: oklch(12% 0 0);
}
.about-contact-wrap {
  max-width: 640px;
  margin: 0 auto;
}
.about-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 540px) {
  .contact-row {
    grid-template-columns: 1fr 1fr;
  }
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.contact-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}
.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 0.65rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  color: var(--foreground);
  font-size: 0.9375rem;
  font-family: 'MiSans', 'Poppins', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px oklch(67.498% 0.22291 5.46 / 0.15);
}
.contact-field textarea {
  resize: vertical;
  min-height: 130px;
}
.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
  align-self: flex-start;
}
.contact-submit-btn:hover {
  opacity: 0.85;
}
.about-contact-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  background: oklch(70% 0.18 145 / 0.12);
  border: 1px solid oklch(70% 0.18 145 / 0.4);
  border-radius: var(--radius);
  color: oklch(50% 0.18 145);
  font-weight: 600;
}

/* ================================================================
 * 驱动下载页 (page-driver.php) — 白色背景浅色主题
 * ================================================================ */

/* ── 页面容器：使用站点默认背景（白/暗跟随用户偏好）── */
.driver-page {
  background: var(--background);
  color: var(--foreground);
}

/* ── Hero：顶部浅灰渐变 ── */
.driver-hero {
  padding: 5rem 1.5rem 3.5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}
.driver-hero-inner {
  position: relative;
  display: inline-block;
}
.driver-version-badge {
  position: absolute;
  top: -0.6rem;
  right: -4rem;
  background: var(--accent-color);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.65rem;
  border-radius: 0.35rem 0 0.35rem 0;
}
.driver-hero-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.03em;
  margin: 0 0 1.25rem;
  font-family: 'Poppins', 'MiSans', sans-serif;
  color: var(--foreground);
}
/* 渐变文字：品牌粉 */
.driver-hero-gradient {
  display: block;
  background: linear-gradient(90deg, #fe4583 0%, #ff6eb3 55%, #ffb6d9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.driver-hero-sub {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin: 0;
  letter-spacing: 0.02em;
}

/* ── Tab 切换 ── */
.driver-tabs-section {
  display: flex;
  justify-content: center;
  padding: 2.5rem 1.5rem 2.75rem;
}
.driver-tabs {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.3rem;
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  padding: 0.3rem;
  background: var(--muted);
}
.driver-tab {
  padding: 0.6rem 1.5rem;
  border-radius: 0.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  color: var(--muted-foreground);
  border: none;
  white-space: nowrap;
}
.driver-tab:hover {
  color: var(--foreground);
  background: var(--background);
}
.driver-tab.is-active {
  background: var(--accent-color);
  color: #fff;
}

/* ── 下载卡片区 ── */
.driver-tab-content {
  padding: 0 1.5rem 5rem;
}
.driver-panel-hidden {
  display: none !important;
}
.driver-cards {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .driver-cards { grid-template-columns: 1fr 1fr; }
}
.driver-card {
  border-radius: 1.25rem;
  padding: 2.25rem 1.75rem 1.75rem;
  position: relative;
  overflow: hidden;
}
/* 网页驱动：浅粉底 */
.driver-card-web {
  background: linear-gradient(135deg, #fff0f6 0%, #ffecf3 100%);
  border: 1px solid rgba(254, 69, 131, 0.2);
}
/* 客户端驱动：浅灰底 */
.driver-card-desktop {
  background: var(--muted);
  border: 1px solid var(--border);
}
.driver-card-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.driver-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 1.1rem;
  color: var(--foreground);
}
.driver-card-header-row .driver-card-title { margin-bottom: 0; }
/* 标题渐变：品牌粉 */
.driver-card-highlight {
  background: linear-gradient(90deg, #fe4583, #ff9eca);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.driver-card-dl-icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  color: var(--muted-foreground);
}
.driver-card-platforms {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}
.driver-platform-icon {
  width: 1.375rem;
  height: 1.375rem;
  color: var(--muted-foreground);
}
.driver-card-update {
  font-size: 0.78rem;
  color: var(--muted-foreground);
  margin: 0 0 0.4rem;
}
.driver-card-desc {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  line-height: 1.65;
  margin: 0 0 1.5rem;
}
.driver-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  text-decoration: none;
}
.driver-card-btn svg { width: 0.95rem; height: 0.95rem; flex-shrink: 0; }
.driver-card-btn:not(.driver-card-btn-soon):hover {
  opacity: 0.82;
  transform: translateY(-1px);
}
/* 网页驱动按钮：品牌粉 */
.driver-card-web .driver-card-btn {
  background: linear-gradient(90deg, #fe4583, #ff6eb3);
  color: #fff;
}
/* 客户端按钮：深色 */
.driver-card-desktop .driver-card-btn {
  background: var(--foreground);
  color: var(--background);
}
.driver-card-btn-soon {
  color: var(--muted-foreground);
  background: var(--background);
  border: 1px solid var(--border);
  cursor: default;
}

/* ── 空状态面板 ── */
.driver-empty-panel {
  max-width: 360px;
  margin: 0 auto;
  text-align: center;
  padding: 4rem 2rem;
}
.driver-empty-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.25rem;
  color: var(--border);
}
.driver-empty-icon svg { width: 100%; height: 100%; }
.driver-empty-panel p {
  color: var(--muted-foreground);
  font-size: 0.975rem;
  margin: 0 0 1rem;
}
.driver-feedback-link {
  color: var(--accent-color);
  font-size: 0.875rem;
  text-decoration: underline;
  transition: opacity 0.2s;
}
.driver-feedback-link:hover { opacity: 0.75; }

/* ── 功能特性区：浅灰底 ── */
.driver-features {
  padding: 4rem 1.5rem 5rem;
  background: var(--muted);
}
.driver-feature {
  max-width: 940px;
  margin: 0 auto 6rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.driver-feature:last-child { margin-bottom: 0; }
@media (min-width: 768px) {
  .driver-feature { grid-template-columns: 1fr 1fr; }
  .driver-feature-flip { direction: rtl; }
  .driver-feature-flip > * { direction: ltr; }
}
.driver-feature-text {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.driver-feature-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin: 0;
}
.driver-feature-title {
  font-size: clamp(1.375rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  color: var(--foreground);
  font-family: 'Poppins', 'MiSans', sans-serif;
}
.driver-feature-desc {
  color: var(--muted-foreground);
  line-height: 1.75;
  margin: 0;
  font-size: 0.925rem;
}

/* ── Mockup UI（浅色）── */
.driver-mockup {
  border-radius: 0.875rem;
  background: var(--background);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.driver-mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.875rem;
  background: var(--muted);
  border-bottom: 1px solid var(--border);
}
.driver-mockup-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--border);
  display: inline-block;
}
.driver-mockup-title {
  font-size: 0.7rem;
  color: var(--muted-foreground);
  margin-left: 0.4rem;
}
.driver-mockup-body { padding: 1.25rem; }

/* DPI 列表 */
.driver-dpi-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.driver-dpi-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.8rem;
  border-radius: 0.45rem;
  background: var(--muted);
  border: 1px solid var(--border);
}
/* 激活项：品牌粉浅色 */
.driver-dpi-item.is-active {
  background: #fff0f6;
  border-color: rgba(254, 69, 131, 0.35);
}
.dark .driver-dpi-item.is-active { background: rgba(254, 69, 131, 0.1); }
.driver-dpi-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}
.driver-dpi-item.is-active .driver-dpi-dot { background: var(--accent-color); }
.driver-dpi-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted-foreground);
  font-family: 'Poppins', monospace;
  flex: 1;
}
.driver-dpi-item.is-active .driver-dpi-val { color: var(--foreground); }
.driver-dpi-unit { font-size: 0.7rem; color: var(--border); }
.driver-dpi-item.is-active .driver-dpi-unit { color: var(--accent-color); opacity: 0.75; }

/* RGB 调色盘 */
.driver-rgb-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.3rem;
  margin-bottom: 0.875rem;
}
.driver-rgb-swatch {
  aspect-ratio: 1;
  border-radius: 0.3rem;
  transition: transform 0.15s;
  cursor: pointer;
}
.driver-rgb-swatch:hover { transform: scale(1.12); }
.driver-rgb-effects {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}
.driver-rgb-eff {
  padding: 0.2rem 0.55rem;
  border-radius: 0.3rem;
  font-size: 0.7rem;
  background: var(--muted);
  color: var(--muted-foreground);
  border: 1px solid var(--border);
}

/* 云同步 mockup */
.driver-cloud-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.75rem 1.25rem;
}
.driver-cloud-svg { width: 4.5rem; height: auto; }
.driver-cloud-label {
  font-size: 0.78rem;
  color: var(--accent-color);
  margin: 0;
}

/* ── CTA ── */
.driver-cta {
  padding: 6rem 1.5rem 8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--background);
  border-top: 1px solid var(--border);
}
.driver-cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 40% at 50% 50%, rgba(254, 69, 131, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.driver-cta-title {
  font-size: clamp(1.75rem, 4vw, 2.875rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  margin: 0 0 3rem;
  font-family: 'Poppins', 'MiSans', sans-serif;
  color: var(--foreground);
  position: relative;
}
.driver-cta-actions {
  display: flex;
  gap: 3rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}
.driver-cta-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  color: var(--foreground);
}
.driver-cta-btn:hover { opacity: 0.6; transform: translateY(-4px); }
.driver-cta-btn svg { width: 2.75rem; height: 2.75rem; }
.driver-cta-btn span { font-size: 0.9rem; font-weight: 600; }
.driver-cta-soon { color: var(--muted-foreground); font-size: 1rem; }


/* ================================================================
 * 常见问题页 (page-faq.php)
 * ================================================================ */

.faq-page { background: var(--background); }

.faq-hero {
  padding: 5rem 0 3.5rem;
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
  text-align: center;
}
.faq-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin: 0.5rem 0 1rem;
  font-family: 'Poppins', 'MiSans', sans-serif;
  color: var(--foreground);
}
.faq-hero-sub {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin: 0;
}

.faq-body { padding: 4rem 0 6rem; }

.faq-container { max-width: 780px; }

.faq-group { margin-bottom: 3.5rem; }
.faq-group:last-child { margin-bottom: 0; }

.faq-group-title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}

.faq-list {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.125rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--foreground);
  font-family: 'MiSans', 'Inter', sans-serif;
  gap: 1rem;
  transition: background-color 0.15s;
}
.faq-q:hover,
.faq-item.is-open .faq-q { background: var(--muted); }

.faq-chevron {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  color: var(--muted-foreground);
  transition: transform 0.3s ease;
}
.faq-item.is-open .faq-chevron { transform: rotate(180deg); }

/* grid-template-rows 动画：无需知道内容高度 */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

.faq-a-inner {
  overflow: hidden;
  padding: 0 1.5rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.8;
  transition: padding-bottom 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.is-open .faq-a-inner { padding-bottom: 1.5rem; }

.faq-a-inner ol,
.faq-a-inner ul {
  padding-left: 1.5rem;
  margin: 0.75rem 0 0;
}
.faq-a-inner li { margin-bottom: 0.35rem; }


/* ================================================================
 * 售后服务页 (page-support.php)
 * ================================================================ */

.support-page { background: var(--background); }

.support-hero {
  padding: 5rem 0 3.5rem;
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
  text-align: center;
}
.support-hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  margin: 0.5rem 0 1rem;
  font-family: 'Poppins', 'MiSans', sans-serif;
  color: var(--foreground);
}
.support-hero-sub {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin: 0;
}

.support-body { padding: 4rem 0 5rem; }

.support-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .support-cards { grid-template-columns: 1fr 1fr; }
}

.support-card {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2rem;
}

.support-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.support-card-icon {
  width: 1.625rem;
  height: 1.625rem;
  color: var(--primary);
  flex-shrink: 0;
}
.support-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0;
}
.support-card-text {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  margin: 0 0 0.75rem;
  line-height: 1.7;
}

.support-steps {
  padding-left: 1.35rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.support-steps li {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}

.support-policy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.support-policy-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}
.support-policy-tag {
  display: inline-block;
  flex-shrink: 0;
  padding: 0.15rem 0.55rem;
  border-radius: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: 0.1rem;
}
.support-policy-tag--yes {
  background: oklch(70% 0.18 145 / 0.12);
  color: oklch(48% 0.18 145);
  border: 1px solid oklch(70% 0.18 145 / 0.35);
}
.support-policy-tag--no {
  background: oklch(65% 0.2 25 / 0.1);
  color: oklch(50% 0.2 25);
  border: 1px solid oklch(65% 0.2 25 / 0.3);
}

/* 联系区块 */
.support-contact {
  padding: 4rem 0 5.5rem;
  background: var(--muted);
  border-top: 1px solid var(--border);
}
.dark .support-contact { background: oklch(12% 0 0); }

.support-contact-inner {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}
.support-contact-title {
  font-size: 1.625rem;
  font-weight: 800;
  margin: 0.75rem 0 0.5rem;
  color: var(--foreground);
  font-family: 'Poppins', 'MiSans', sans-serif;
}
.support-contact-desc {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  margin: 0 0 2rem;
  line-height: 1.7;
}
.support-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.825rem 2rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.support-email-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}
.support-email-btn svg {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}


/* ================================================================
 * 商务合作页 (page-business.php)
 * ================================================================ */

.business-page { background: var(--background); }

.business-hero {
  padding: 5rem 0 3.5rem;
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
  text-align: center;
}
.business-hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  margin: 0.5rem 0 1rem;
  font-family: 'Poppins', 'MiSans', sans-serif;
  color: var(--foreground);
}
.business-hero-sub {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin: 0 auto;
  max-width: 500px;
  line-height: 1.7;
}

.business-body {
  padding: 4rem 0 6rem;
}
.business-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 680px;
  margin: 0 auto;
}
@media (min-width: 560px) {
  .business-cards { grid-template-columns: 1fr 1fr; }
}

.business-card {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.business-card:hover {
  border-color: oklch(65.5% 0.248 349.8 / 0.45);
  box-shadow: 0 4px 20px oklch(65.5% 0.248 349.8 / 0.06);
}

/* 合并后的单卡片：宽度收窄居中 */
.business-card--single {
  max-width: 520px;
  margin: 0 auto;
}

.business-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0;
}
.business-card-type {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0;
  font-family: 'Poppins', 'MiSans', sans-serif;
}
.business-card-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin: 0.25rem 0 0.5rem;
  flex: 1;
}
.business-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
  margin-top: auto;
  word-break: break-all;
}
.business-email-link:hover { opacity: 0.7; }
.business-email-link svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* 合并卡片里两个邮箱竖排 */
.business-email-group {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 0.5rem;
}

