@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Josefin+Sans:wght@300;400;500;600;700&display=swap');

/* ===== 基础重置 ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

article[id] {
  scroll-margin-top: 80px;
}

body {
  background-color: #1f1726;
  color: #e8d8f0;
  font-family: 'Josefin Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

body.home-page {
  background-color: #1f1726;
}

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

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

ul, ol, dl {
  list-style: none;
}

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

/* ===== 整体布局 ===== */
.page-wrapper {
  display: flex;
  min-height: 100vh;
  position: relative;
  max-width: 100%;
  overflow-x: hidden;
}

/* ===== 左侧固定导航 ===== */
.sidebar-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 100vh;
  background: linear-gradient(180deg, #2a1a3e 0%, #1f1726 60%, #2d1508 100%);
  border-right: 1px solid rgba(86, 34, 139, 0.35);
  display: flex;
  flex-direction: column;
  padding: 2rem 1rem 1.5rem;
  z-index: 100;
  overflow: hidden;
}

.sidebar-brand {
  margin-bottom: 2rem;
}

.brand-link {
  display: block;
  transition: opacity 0.25s ease;
}

.brand-link:hover {
  opacity: 0.82;
}

.brand-text {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #c89ee0;
  letter-spacing: 0.04em;
  line-height: 1.3;
  display: block;
  word-break: break-all;
}

.site-logo-img {
  max-width: 130px;
  max-height: 56px;
  border-radius: 10px;
}

/* 导航菜单 */
.sidebar-menu {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar-menu::-webkit-scrollbar {
  width: 3px;
}
.sidebar-menu::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar-menu::-webkit-scrollbar-thumb {
  background: rgba(86, 34, 139, 0.4);
  border-radius: 2px;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.nav-item {
  display: block;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.75rem;
  border-radius: 16px;
  color: #c4aad8;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.22s ease, color 0.22s ease, transform 0.18s ease;
  min-height: 44px;
  word-break: break-all;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(86, 34, 139, 0.32);
  color: #e8d0f8;
  transform: translateX(4px);
  outline: none;
}

.nav-dot {
  width: 6px;
  height: 6px;
  background: #56228b;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.22s ease, transform 0.18s ease;
}

.nav-link:hover .nav-dot {
  background: #c060f0;
  transform: scale(1.4);
}

.nav-text {
  flex: 1;
  min-width: 0;
}

/* CTA 按钮 */
.nav-cta-wrap {
  margin-top: 1rem;
  display: block;
}

.nav-cta {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #56228b, #8b4513);
  color: #f5e8ff;
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.7rem 0.75rem;
  border-radius: 18px;
  min-height: 44px;
  line-height: 1.4;
  transition: opacity 0.22s ease, transform 0.18s ease, box-shadow 0.22s ease;
  box-shadow: 0 4px 18px rgba(86, 34, 139, 0.4);
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(86, 34, 139, 0.55);
}

/* 侧边装饰SVG */
.sidebar-deco {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  opacity: 0.6;
}

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

/* ===== 右侧主内容区 ===== */
.main-wrap {
  margin-left: 220px;
  flex: 1;
  min-width: 0;
  max-width: calc(100% - 220px);
  display: flex;
  flex-direction: column;
}

/* ===== Hero 区块 ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1f1726 0%, #2d1540 50%, #3a1a08 100%);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 4rem 3rem 4rem 3rem;
  width: 100%;
  max-width: 100%;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1;
  min-width: 0;
  max-width: 480px;
}

.hero-eyebrow {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #8b4513;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: #8b4513;
  border-radius: 2px;
  flex-shrink: 0;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 3.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.25;
  color: #f0e0ff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
  word-break: break-word;
}

.hero-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: #c4aad8;
  margin-bottom: 2rem;
  max-width: 420px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #56228b 0%, #8b4513 100%);
  color: #f8f0ff;
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  min-height: 48px;
  box-shadow: 0 6px 24px rgba(86, 34, 139, 0.45);
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.2s ease;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(86, 34, 139, 0.6);
  opacity: 0.92;
}

.hero-btn::after {
  content: '→';
  transition: transform 0.2s ease;
}

.hero-btn:hover::after {
  transform: translateX(4px);
}

.hero-media {
  flex: 0 0 360px;
  max-width: 360px;
  will-change: transform;
}

.hero-figure {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(86, 34, 139, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-figure:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(86, 34, 139, 0.5);
}

.hero-figure--placeholder {
  background: rgba(86, 34, 139, 0.1);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

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

/* 色带斜切分割 */
.hero-slash {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: #1f1726;
  clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 3;
}

/* 樱花飘落装饰 */
.hero-petals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.petal {
  position: absolute;
  width: 10px;
  height: 10px;
  background: radial-gradient(ellipse at 40% 40%, #e0b0f0, #a060c0 70%, transparent);
  border-radius: 50% 0 50% 0;
  opacity: 0.35;
  animation: petalFall 8s linear infinite;
}

.petal-1 { left: 15%; animation-delay: 0s; animation-duration: 9s; width: 8px; height: 8px; }
.petal-2 { left: 45%; animation-delay: 2.5s; animation-duration: 7s; width: 12px; height: 12px; opacity: 0.25; }
.petal-3 { left: 70%; animation-delay: 5s; animation-duration: 10s; width: 7px; height: 7px; }
.petal-4 { left: 85%; animation-delay: 1.5s; animation-duration: 8.5s; width: 9px; height: 9px; opacity: 0.3; }

@keyframes petalFall {
  0% { transform: translateY(-40px) rotate(0deg); opacity: 0; }
  10% { opacity: 0.35; }
  90% { opacity: 0.2; }
  100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

/* ===== 主内容区 ===== */
.content-main {
  flex: 1;
  padding: 4rem 3rem 4rem;
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

.content-section {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 2.5rem;
  position: relative;
  max-width: 100%;
}

.content-deco-figure {
  position: absolute;
  top: -60px;
  right: 290px;
  width: 100px;
  height: 100px;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}

.blob-sm {
  width: 100%;
  height: 100%;
}

.content-body {
  grid-column: 1;
  grid-row: 1 / -1;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  z-index: 1;
}

/* ===== 正文 HTML 样式（page.content 注入） ===== */
.content-body h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: #e0c8f8;
  margin: 3rem 0 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(86, 34, 139, 0.35);
  letter-spacing: 0.02em;
  line-height: 1.35;
  word-break: break-word;
}

.content-body h2 span {
  color: #c060f0;
}

.content-body h3 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  font-weight: 600;
  color: #d4b8f0;
  margin: 2rem 0 0.9rem;
  letter-spacing: 0.02em;
  word-break: break-word;
}

.content-body h3 span {
  color: #a87040;
}

.content-body h4 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #c4aad8;
  margin: 1.5rem 0 0.6rem;
  letter-spacing: 0.04em;
}

.content-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: #c8b4d8;
  margin-bottom: 1.1rem;
  word-break: break-word;
}

.content-body a {
  color: #a060e0;
  text-decoration: underline;
  text-decoration-color: rgba(160, 96, 224, 0.4);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
  word-break: break-all;
}

.content-body a:hover {
  color: #c080f8;
  text-decoration-color: rgba(192, 128, 248, 0.7);
}

.content-body ul,
.content-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.1rem;
}

.content-body ul {
  list-style: none;
  padding-left: 0;
}

.content-body ul li {
  padding-left: 1.3rem;
  position: relative;
  margin-bottom: 0.55rem;
  color: #c8b4d8;
  line-height: 1.7;
  word-break: break-word;
}

.content-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: #56228b;
  border-radius: 50%;
}

.content-body ol {
  list-style: decimal;
}

.content-body ol li {
  margin-bottom: 0.55rem;
  color: #c8b4d8;
  line-height: 1.7;
  word-break: break-word;
}

.content-body strong {
  color: #e0c8f8;
  font-weight: 600;
}

.content-body em {
  color: #c8a070;
  font-style: normal;
}

.content-body blockquote {
  border-left: 3px solid #56228b;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: rgba(86, 34, 139, 0.1);
  border-radius: 0 16px 16px 0;
  color: #c4aad8;
}

.content-body article {
  margin-bottom: 3rem;
  padding: 1.75rem;
  background: rgba(86, 34, 139, 0.07);
  border-radius: 20px;
  border: 1px solid rgba(86, 34, 139, 0.2);
  transition: border-color 0.25s ease;
  overflow-x: hidden;
}

.content-body article:hover {
  border-color: rgba(86, 34, 139, 0.4);
}

.content-body figure {
  margin: 1.5rem 0;
  border-radius: 18px;
  overflow: hidden;
  max-width: 100%;
}

.content-body figure img {
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  max-width: 100%;
}

.content-body figcaption {
  font-size: 0.82rem;
  color: #9080a8;
  text-align: center;
  margin-top: 0.5rem;
}

.content-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.content-body th {
  background: rgba(86, 34, 139, 0.3);
  color: #e0c8f8;
  padding: 0.7rem 0.9rem;
  text-align: left;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.content-body td {
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid rgba(86, 34, 139, 0.2);
  color: #c8b4d8;
  white-space: nowrap;
}

.content-body tr:hover td {
  background: rgba(86, 34, 139, 0.08);
}

/* ===== 侧边栏（Aside） ===== */
.content-aside {
  grid-column: 2;
  grid-row: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 2rem;
  align-self: start;
  z-index: 1;
  min-width: 0;
}

.aside-card {
  background: rgba(86, 34, 139, 0.13);
  border: 1px solid rgba(86, 34, 139, 0.28);
  border-radius: 20px;
  padding: 1.25rem 1.1rem;
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.aside-card:hover {
  border-color: rgba(86, 34, 139, 0.5);
  transform: translateY(-3px);
}

.aside-card--accent {
  background: rgba(139, 69, 19, 0.12);
  border-color: rgba(139, 69, 19, 0.28);
}

.aside-card--accent:hover {
  border-color: rgba(139, 69, 19, 0.5);
}

.aside-title {
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #c080f0;
  letter-spacing: 0.05em;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.aside-title::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  flex-shrink: 0;
}

.aside-title span {
  flex: 1;
  min-width: 0;
}

.aside-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.aside-nav-list li {
  display: block;
}

.aside-nav-link {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  color: #b09ec8;
  padding: 0.38rem 0.55rem;
  border-radius: 10px;
  transition: background 0.18s ease, color 0.18s ease;
  min-height: 32px;
  line-height: 1.5;
  word-break: break-all;
}

.aside-nav-link:hover {
  background: rgba(86, 34, 139, 0.25);
  color: #e0c8f8;
}

.aside-text {
  font-size: 0.82rem;
  line-height: 1.65;
  color: #b09890;
  word-break: break-word;
}

/* ===== 页脚 ===== */
.site-footer {
  background: linear-gradient(180deg, #1a1022 0%, #120c1a 100%);
  border-top: 1px solid rgba(86, 34, 139, 0.3);
  padding: 4rem 3rem 2rem;
  overflow-x: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: start;
}

.footer-brand-block {
  max-width: 280px;
}

.footer-brand-huge {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.4rem, 2.5vw, 2.4rem);
  font-weight: 700;
  color: #56228b;
  line-height: 1.18;
  letter-spacing: 0.02em;
  margin-bottom: 0.8rem;
  word-break: break-all;
}

.footer-tagline {
  font-size: 0.85rem;
  color: #7a6090;
  line-height: 1.6;
  word-break: break-word;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  min-width: 0;
}

.footer-col-title {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #8b4513;
  letter-spacing: 0.09em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-col-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(139, 69, 19, 0.35);
}

.footer-col-title span {
  flex-shrink: 0;
}

.footer-nav-dl {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-nav-dl dt {
  display: block;
}

.footer-nav-link {
  display: flex;
  align-items: center;
  font-size: 0.82rem;
  color: #8070a0;
  padding: 0.28rem 0;
  transition: color 0.2s ease, padding-left 0.18s ease;
  min-height: 32px;
  line-height: 1.6;
  word-break: break-all;
}

.footer-nav-link:hover {
  color: #c4aad8;
  padding-left: 6px;
}

.footer-address {
  font-style: normal;
}

.footer-contact-item {
  font-size: 0.82rem;
  color: #8070a0;
  margin-bottom: 0.75rem;
  line-height: 1.6;
  word-break: break-word;
}

.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-link-list li {
  display: block;
}

.footer-link {
  font-size: 0.82rem;
  color: #8070a0;
  transition: color 0.2s ease;
  padding: 0.22rem 0;
  min-height: 32px;
  display: flex;
  align-items: center;
}

.footer-link:hover {
  color: #c4aad8;
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: #6a5878;
  line-height: 1.65;
  word-break: break-word;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(86, 34, 139, 0.2);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: #5a4870;
}

.footer-links-right {
  display: flex;
  gap: 1.25rem;
}

.footer-bottom-link {
  font-size: 0.78rem;
  color: #7060a0;
  transition: color 0.2s ease;
  padding: 0.25rem 0;
  min-height: 32px;
  display: flex;
  align-items: center;
}

.footer-bottom-link:hover {
  color: #c4aad8;
}

/* ===== 动效：prefers-reduced-motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .petal { display: none; }
}

/* ===== 响应式断点 ===== */

/* 大屏 1400px+ */
@media (min-width: 1400px) {
  .hero-content {
    padding: 5rem 5rem 5rem 4rem;
  }
  .hero-media {
    flex: 0 0 440px;
    max-width: 440px;
  }
  .content-main {
    padding: 5rem 4.5rem 5rem;
  }
}

/* 中屏 1024px - 1279px */
@media (max-width: 1279px) {
  .sidebar-nav {
    width: 190px;
  }
  .main-wrap {
    margin-left: 190px;
    max-width: calc(100% - 190px);
  }
  .hero-media {
    flex: 0 0 300px;
    max-width: 300px;
  }
  .hero-content {
    padding: 3.5rem 2.5rem;
    gap: 2rem;
  }
  .content-section {
    grid-template-columns: 1fr 230px;
  }
  .content-main {
    padding: 3.5rem 2.5rem;
  }
  .footer-top {
    gap: 2rem;
  }
  .site-footer {
    padding: 3.5rem 2.5rem 1.75rem;
  }
}

/* 平板 768px - 1023px */
@media (max-width: 1023px) {
  .sidebar-nav {
    position: sticky;
    width: 100%;
    height: auto;
    flex-direction: row;
    align-items: center;
    padding: 0.6rem 1.25rem;
    border-right: none;
    border-bottom: 1px solid rgba(86, 34, 139, 0.3);
    background: linear-gradient(90deg, #2a1a3e, #1f1726);
    top: 0;
    z-index: 100;
    overflow: visible;
  }

  article[id] {
    scroll-margin-top: 70px;
  }

  .sidebar-brand {
    margin-bottom: 0;
    margin-right: 1.25rem;
    flex-shrink: 0;
  }

  .sidebar-menu {
    flex: 1;
    overflow-x: auto;
    overflow-y: visible;
    min-width: 0;
  }

  .nav-list {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.2rem;
    align-items: center;
  }

  .nav-item {
    flex-shrink: 0;
  }

  .nav-cta-wrap {
    margin-top: 0;
    flex-shrink: 0;
  }

  .nav-cta {
    white-space: nowrap;
    padding: 0.5rem 0.8rem;
  }

  .nav-link {
    padding: 0.5rem 0.65rem;
    min-height: 40px;
    white-space: nowrap;
  }

  .sidebar-deco {
    display: none;
  }

  .main-wrap {
    margin-left: 0;
    max-width: 100%;
  }

  .hero-content {
    padding: 3rem 2rem;
    gap: 1.75rem;
  }

  .hero-media {
    flex: 0 0 260px;
    max-width: 260px;
  }

  .content-main {
    padding: 3rem 2rem;
  }

  .content-section {
    grid-template-columns: 1fr 210px;
    gap: 1.75rem;
  }

  .content-aside {
    position: static;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-brand-block {
    max-width: none;
  }

  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
  }

  .site-footer {
    padding: 3rem 2rem 1.5rem;
  }
}

/* 移动端 max 767px */
@media (max-width: 767px) {
  .sidebar-nav {
    flex-wrap: wrap;
    padding: 0.55rem 0.875rem;
  }

  .sidebar-brand {
    width: 100%;
    margin-right: 0;
    margin-bottom: 0.4rem;
  }

  .nav-list {
    gap: 0.12rem;
  }

  .nav-link {
    font-size: 0.76rem;
    padding: 0.42rem 0.5rem;
    min-height: 40px;
    gap: 0;
  }

  .nav-dot {
    display: none;
  }

  .nav-cta {
    font-size: 0.72rem;
    padding: 0.45rem 0.65rem;
    min-height: 40px;
  }

  .hero-section {
    min-height: 100svh;
  }

  .hero-content {
    flex-direction: column-reverse;
    padding: 2rem 1rem 3rem;
    gap: 1.5rem;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-media {
    flex: none;
    width: 75%;
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-title {
    font-size: 1.55rem;
    word-break: break-word;
  }

  .hero-desc {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .hero-btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .content-main {
    padding: 2rem 1rem 2rem;
  }

  .content-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .content-deco-figure {
    display: none;
  }

  .content-aside {
    grid-column: 1;
    grid-row: auto;
    position: static;
  }

  .content-body {
    grid-column: 1;
    grid-row: auto;
  }

  .content-body article {
    padding: 1.1rem;
    margin-bottom: 1.75rem;
  }

  .content-body h2 {
    font-size: 1.2rem;
  }

  .content-body h3 {
    font-size: 1.05rem;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .site-footer {
    padding: 2rem 1rem 1.1rem;
  }

  .footer-top {
    margin-bottom: 1.75rem;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .footer-brand-huge {
    font-size: 1.35rem;
    word-break: break-word;
  }
}

/* 超小屏 375px 专项保障 */
@media (max-width: 400px) {
  .nav-text {
    font-size: 0.7rem;
  }
  .nav-link {
    padding: 0.38rem 0.4rem;
  }
  .hero-content {
    padding: 1.75rem 0.875rem 2.5rem;
  }
  .hero-title {
    font-size: 1.35rem;
  }
  .hero-media {
    width: 90%;
    max-width: 260px;
  }
  .content-main {
    padding: 1.75rem 0.875rem;
  }
  .content-body p,
  .content-body li {
    font-size: 0.95rem;
  }
  .site-footer {
    padding: 1.75rem 0.875rem 1rem;
  }
}

button[aria-expanded]{min-width:44px;min-height:44px}
