@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,600;0,700;0,800;1,400&display=swap');

/* ===== CSS 自定义属性 ===== */
:root {
  --pink: #eb879c;
  --pink-light: #ffb6c1;
  --dark: #26171a;
  --dark-90: rgba(38,23,26,0.9);
  --dark-60: rgba(38,23,26,0.6);
  --dark-20: rgba(38,23,26,0.2);
  --dark-08: rgba(38,23,26,0.08);
  --white: #fff;
  --off-white: #fff5f7;
  --surface: #fff0f3;
  --surface-2: #ffe4ea;
  --text: #26171a;
  --text-muted: #6b3a44;
  --radius: 0px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 4px rgba(38,23,26,0.10), 0 1px 2px rgba(235,135,156,0.08);
  --shadow-md: 0 4px 12px rgba(38,23,26,0.12), 0 2px 6px rgba(235,135,156,0.10);
  --shadow-lg: 0 8px 24px rgba(38,23,26,0.14), 0 4px 10px rgba(235,135,156,0.12);
  --transition: 220ms cubic-bezier(0.4,0,0.2,1);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --nav-h: 110px;
}

/* ===== 重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--off-white);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); text-decoration: none; }
a:hover { color: var(--dark); }
ul { list-style: none; }

/* ===== 焦点可见 ===== */
:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== 公告条 ===== */
.announce-bar {
  background: var(--dark);
  color: var(--pink-light);
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  position: sticky;
  top: 0;
  z-index: 200;
}

/* ===== 导航 aside > nav > ul > li > a ===== */
.site-aside-nav {
  position: sticky;
  top: 37px;
  z-index: 150;
  background: var(--dark);
  padding: 0 20px;
  box-shadow: var(--shadow-md);
}
.site-aside-nav .brand-row {
  display: flex;
  align-items: center;
  padding: 14px 0 8px;
  border-bottom: 1px solid rgba(235,135,156,0.18);
}
.brand-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--pink);
  letter-spacing: -0.01em;
  transition: color var(--transition);
}
.brand-text:hover { color: var(--pink-light); }
.logo-img { height: 36px; width: auto; }

.site-aside-nav nav { padding: 8px 0 10px; }
.site-aside-nav nav > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.site-aside-nav nav > ul > li { display: flex; }

.nav-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,182,193,0.85);
  background: rgba(235,135,156,0.08);
  border: 1px solid rgba(235,135,156,0.18);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  min-height: 40px;
  white-space: nowrap;
}
.nav-pill:hover, .nav-pill:focus-visible {
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 0 0 3px rgba(235,135,156,0.3);
}
.nav-pill.active {
  background: var(--pink);
  color: var(--white);
  border-color: var(--pink);
}

/* ===== 面包屑 ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 20px 0 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--pink); font-weight: 600; }
.breadcrumb a:hover { color: var(--dark); }
.breadcrumb span[aria-hidden] { color: var(--dark-20); }

/* ===== 通用 div 装饰 ===== */
.section-deco {
  position: absolute;
  top: 0;
  right: 0;
  pointer-events: none;
  user-select: none;
}
.deco-num {
  font-size: clamp(5rem, 14vw, 11rem);
  font-weight: 800;
  color: rgba(235,135,156,0.07);
  letter-spacing: -0.04em;
  line-height: 1;
  display: block;
}

.section-header { margin-bottom: 36px; }
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 10px;
}
.subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 56ch;
}

/* ===== content-section 通用 ===== */
.content-section {
  position: relative;
  padding: 64px 0;
  overflow: hidden;
}
.content-section + .content-section {
  border-top: 1px solid var(--dark-08);
}

/* ===== 容器 ===== */
.inner-main,
.home-main,
.entry-main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ===== HERO（首页） ===== */
.page-home .hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--dark);
  overflow: hidden;
  padding: 120px 24px 80px;
  margin: 0 -24px;
}
.hero-bg-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(4rem, 20vw, 18rem);
  font-weight: 800;
  color: rgba(235,135,156,0.05);
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  line-height: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink);
  background: rgba(235,135,156,0.12);
  border: 1px solid rgba(235,135,156,0.3);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  margin-bottom: 28px;
}
.page-home .hero-section h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,182,193,0.8);
  max-width: 52ch;
  margin: 0 auto 40px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: var(--pink);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  min-height: 48px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: #d96e87;
  color: var(--white);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 13px 32px;
  border: 2px solid var(--pink);
  color: var(--pink);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  min-height: 48px;
}
.btn-outline:hover {
  background: var(--pink);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== 子页块（child-block） a > strong ===== */
.child-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.child-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 20px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border-bottom: 3px solid var(--pink);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-decoration: none;
}
.child-block:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #d96e87;
  color: var(--dark);
}
.child-block > strong {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  display: block;
}
.child-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}
.child-date {
  font-size: 0.8125rem;
  color: var(--pink);
  font-weight: 600;
}

/* ===== entry-card ===== */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.entry-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 20px 20px;
  background: var(--surface);
  border-radius: var(--radius);
  border-bottom: 3px solid var(--pink-light);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-decoration: none;
}
.entry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--pink);
  color: var(--dark);
}
.entry-card > strong {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
}
.entry-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}
.entry-date {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ===== 内页 hero ===== */
.page-hero-section,
.about-hero-section,
.privacy-hero-section,
.entry-header-section,
.default-hero-section {
  position: relative;
  padding: 56px 0 40px;
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 40px;
  align-items: start;
}
.page-hero-inner,
.about-hero-inner,
.privacy-hero-inner,
.about-hero-inner {
  min-width: 0;
}
.page-hero-section h1,
.about-hero-section h1,
.privacy-hero-section h1,
.entry-header-section h1,
.default-hero-section h1 {
  font-size: clamp(1.875rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.hero-eyebrow {
  margin-bottom: 16px;
}
.page-lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 58ch;
  margin-bottom: 16px;
}
.page-date {
  font-size: 0.875rem;
  color: var(--pink);
  font-weight: 600;
  margin-bottom: 12px;
}
.entry-dates {
  display: flex;
  gap: 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.entry-dates time { color: var(--pink); font-weight: 600; }

/* ===== hero-aside (aside 在右侧) ===== */
.hero-aside,
.entry-sibling-aside {
  background: var(--white);
  border-radius: var(--radius);
  border-left: 3px solid var(--pink);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}
.hero-aside h3,
.entry-sibling-aside h3 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pink);
  margin-bottom: 14px;
}
.hero-aside ul li,
.entry-sibling-aside ul li { margin-bottom: 8px; }
.hero-aside ul li a,
.entry-sibling-aside ul li a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-weight: 600;
  transition: color var(--transition);
  display: block;
  padding: 4px 0;
  min-height: 32px;
}
.hero-aside ul li a:hover,
.entry-sibling-aside ul li a:hover { color: var(--pink); }

/* ===== section-aside (首页侧边) ===== */
.section-aside {
  margin-top: 32px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px 18px;
  border-left: 3px solid var(--pink-light);
  box-shadow: var(--shadow-sm);
}
.section-aside h3 {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--pink);
  margin-bottom: 12px;
}
.section-aside ul li { margin-bottom: 6px; }
.section-aside ul li a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-weight: 600;
  transition: color var(--transition);
  min-height: 40px;
  display: flex;
  align-items: center;
}
.section-aside ul li a:hover { color: var(--pink); }

/* ===== entry hero figure ===== */
.entry-header-section {
  grid-template-columns: auto 1fr 240px;
  gap: 32px;
}
.entry-hero-fig {
  width: 200px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow-sm);
}
.hero-img {
  width: 200px;
  height: 140px;
  object-fit: cover;
}
.entry-hero-placeholder {
  width: 200px;
  height: 140px;
  background: linear-gradient(135deg, var(--pink-light) 0%, var(--pink) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.entry-hero-placeholder span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  padding: 8px;
  word-break: break-all;
  opacity: 0.8;
}

/* ===== prose content ===== */
.prose-content {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
  max-width: 72ch;
}
.prose-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.01em;
}
.prose-content h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--dark);
  margin: 1.5rem 0 0.5rem;
}
.prose-content p { margin-bottom: 1.25rem; }
.prose-content ul, .prose-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.prose-content li { margin-bottom: 0.4rem; }
.prose-content a {
  color: var(--pink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose-content a:hover { color: var(--dark); }
.prose-content strong { color: var(--dark); font-weight: 700; }
.prose-content blockquote {
  border-left: 3px solid var(--pink);
  padding: 12px 20px;
  background: var(--surface);
  color: var(--text-muted);
  margin: 1.5rem 0;
  font-style: italic;
}
.entry-prose { max-width: none; }

/* ===== related aside ===== */
.related-aside {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  border-bottom: 3px solid var(--pink);
  box-shadow: var(--shadow-sm);
}
.related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.related-list li a {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--white);
  border: 1px solid var(--dark-20);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  min-height: 40px;
}
.related-list li a:hover {
  background: var(--pink);
  color: var(--white);
  border-color: var(--pink);
}

/* ===== stats aside ===== */
.stats-aside {
  padding: 8px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 20px;
}
.stat-item {
  background: var(--white);
  border-radius: var(--radius);
  border-bottom: 3px solid var(--pink);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--pink);
  display: block;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ===== footer ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255,182,193,0.75);
  padding: 48px 24px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px 60px;
  max-width: 100%;
}
.footer-brand { max-width: 320px; }
.footer-brand-text {
  font-size: 1.1875rem;
  font-weight: 800;
  color: var(--pink);
  display: block;
  margin-bottom: 12px;
  transition: color var(--transition);
}
.footer-brand-text:hover { color: var(--pink-light); }
.footer-logo-img { height: 32px; width: auto; margin-bottom: 12px; }
.footer-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255,182,193,0.55);
}
.site-footer nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-footer nav ul li a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255,182,193,0.7);
  transition: color var(--transition);
  display: inline-block;
  min-height: 40px;
  line-height: 40px;
}
.site-footer nav ul li a:hover { color: var(--pink); }
.footer-copy {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(235,135,156,0.14);
  padding: 18px 0;
  font-size: 0.8125rem;
  color: rgba(255,182,193,0.4);
  text-align: center;
}

/* ===== tag hero ===== */
.tag-hero .page-hero-inner { max-width: 600px; }

/* ===== 空提示 ===== */
.empty-tip {
  color: var(--text-muted);
  font-size: 0.9375rem;
  padding: 24px 0;
}

/* ===== scroll reveal ===== */
@media (prefers-reduced-motion: no-preference) {
  .child-block,
  .entry-card,
  .stat-item {
    opacity: 0;
    transform: translateY(20px);
    animation: revealUp 300ms ease forwards;
  }
  .child-block:nth-child(1), .entry-card:nth-child(1) { animation-delay: 0ms; }
  .child-block:nth-child(2), .entry-card:nth-child(2) { animation-delay: 60ms; }
  .child-block:nth-child(3), .entry-card:nth-child(3) { animation-delay: 120ms; }
  .child-block:nth-child(4), .entry-card:nth-child(4) { animation-delay: 180ms; }
  .child-block:nth-child(5), .entry-card:nth-child(5) { animation-delay: 240ms; }
  .child-block:nth-child(6), .entry-card:nth-child(6) { animation-delay: 300ms; }
  @keyframes revealUp {
    to { opacity: 1; transform: translateY(0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .child-block, .entry-card, .stat-item {
    animation: none;
    opacity: 1;
    transform: none;
  }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .page-hero-section,
  .about-hero-section,
  .privacy-hero-section,
  .default-hero-section {
    grid-template-columns: 1fr;
  }
  .hero-aside { position: static; }
  .entry-header-section {
    grid-template-columns: 1fr;
  }
  .entry-hero-fig { width: 100%; }
  .hero-img { width: 100%; height: 200px; }
  .entry-hero-placeholder { width: 100%; height: 160px; }
  .entry-sibling-aside { position: static; }
  .site-footer {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .site-footer nav ul { flex-direction: row; flex-wrap: wrap; gap: 4px 16px; }
}

@media (max-width: 640px) {
  :root { --nav-h: 120px; }
  .site-aside-nav { padding: 0 14px; }
  .site-aside-nav nav > ul { gap: 6px; }
  .nav-pill { padding: 8px 13px; font-size: 0.8125rem; }
  .child-blocks { grid-template-columns: 1fr; }
  .entry-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .inner-main, .home-main, .entry-main { padding: 0 14px 60px; }
  .page-home .hero-section { padding: 100px 14px 60px; margin: 0 -14px; }
  .hero-bg-text { font-size: clamp(3rem, 22vw, 8rem); }
  .hero-actions { gap: 12px; }
  .btn-primary, .btn-outline { padding: 12px 22px; font-size: 0.9375rem; }
  .content-section { padding: 44px 0; }
  .section-header { margin-bottom: 24px; }
  .site-footer { padding: 36px 14px 0; }
  .announce-bar { font-size: 0.75rem; padding: 6px 12px; }
  .breadcrumb { padding: 14px 0 0; }
}

@media (max-width: 375px) {
  .nav-pill { padding: 8px 10px; font-size: 0.75rem; }
  .site-footer nav ul { flex-direction: column; }
}
