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

/* =============================================
   CSS 变量 & 基础重置
   ============================================= */
:root {
  --ice: #c8e0f4;
  --pink: #f5e0e8;
  --dark: #171f26;
  --ice-light: #dceefa;
  --ice-dark: #a8c4e0;
  --pink-light: #faedf2;
  --pink-dark: #e0b8cc;
  --dark-mid: #1e2c3a;
  --dark-light: #253545;
  --text-main: #c8e0f4;
  --text-muted: #7fa8c8;
  --text-dark: #171f26;
  --font-display: 'Russo One', 'Chakra Petch', sans-serif;
  --font-body: 'Chakra Petch', 'Segoe UI', system-ui, sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-out: -5px -5px 15px rgba(255,255,255,0.04), 5px 5px 15px rgba(0,0,0,0.45);
  --shadow-in: inset -3px -3px 8px rgba(255,255,255,0.04), inset 3px 3px 8px rgba(0,0,0,0.45);
  --shadow-card: -4px -4px 12px rgba(200,224,244,0.06), 6px 6px 18px rgba(0,0,0,0.5);
  --transition: 150ms ease;
  --header-h: 64px;
  --topbar-h: 36px;
  --max-w: 1200px;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--text-main);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--ice); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--pink); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }
input { font-family: var(--font-body); }

/* =============================================
   Neumorphic 基础工具类
   ============================================= */
.neu-raised {
  background: linear-gradient(145deg, var(--dark-light), var(--dark-mid));
  box-shadow: var(--shadow-out);
  border-radius: var(--radius);
}
.neu-inset {
  background: linear-gradient(145deg, var(--dark-mid), var(--dark-light));
  box-shadow: var(--shadow-in);
  border-radius: var(--radius);
}

/* =============================================
   顶部公告条
   ============================================= */
.topbar {
  width: 100%;
  height: var(--topbar-h);
  background: linear-gradient(90deg, var(--dark-mid), var(--dark-light));
  border-bottom: 1px solid rgba(200,224,244,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 200;
}
.topbar-text {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-align: center;
  padding: 0 1rem;
}

/* =============================================
   站头
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  height: var(--header-h);
  background: linear-gradient(145deg, var(--dark-mid), var(--dark));
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
  border-bottom: 1px solid rgba(200,224,244,0.08);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand-logo { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ice);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* 汉堡按钮 */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 10px;
  background: linear-gradient(145deg, var(--dark-light), var(--dark-mid));
  box-shadow: var(--shadow-out);
  border: none;
  border-radius: var(--radius-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.nav-toggle:hover {
  box-shadow: var(--shadow-in);
  transform: scale(0.97);
}
.nav-toggle:active { box-shadow: var(--shadow-in); transform: scale(0.95); }
.burger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ice);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] .burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   全屏遮罩菜单
   ============================================= */
.fullscreen-menu {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(23,31,38,0.97);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
}
.fullscreen-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.menu-close {
  position: absolute;
  top: calc(var(--topbar-h) + 12px);
  right: 1.5rem;
  width: 48px;
  height: 48px;
  background: linear-gradient(145deg, var(--dark-light), var(--dark-mid));
  box-shadow: var(--shadow-out);
  border: none;
  border-radius: 50%;
  color: var(--ice);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.menu-close:hover { box-shadow: var(--shadow-in); transform: scale(0.95); }

.fs-nav dl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
}
.fs-nav-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.fs-nav dd a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  color: var(--text-main);
  padding: 0.55rem 2rem;
  min-height: 48px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.03em;
  transition: color var(--transition), background var(--transition);
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fs-nav dd a:hover {
  color: var(--pink);
  background: rgba(245,224,232,0.06);
}

/* =============================================
   Hero（首页）
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: 6rem;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(23,31,38,0.92) 0%,
    rgba(23,31,38,0.7) 50%,
    rgba(23,31,38,0.3) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--pink);
  text-transform: uppercase;
}
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.8rem);
  line-height: 1.15;
  color: #fff;
  max-width: 18ch;
}
.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 46ch;
  line-height: 1.7;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 2rem;
  background: linear-gradient(145deg, var(--ice-light), var(--ice-dark));
  color: var(--dark);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
  box-shadow: -3px -3px 10px rgba(200,224,244,0.15), 4px 4px 12px rgba(0,0,0,0.5);
  transition: box-shadow var(--transition), transform var(--transition);
}
.hero-cta:hover {
  box-shadow: var(--shadow-in);
  transform: scale(0.97);
  color: var(--dark);
}
.hero-arc {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--dark);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 3;
}

/* =============================================
   文章英雄区
   ============================================= */
.article-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: linear-gradient(145deg, var(--dark-mid), var(--dark));
}
.article-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.article-hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  background: linear-gradient(to top, rgba(23,31,38,0.97) 0%, rgba(23,31,38,0.4) 100%);
  padding: 3rem 0 2.5rem;
}
.article-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.article-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--pink);
  text-transform: uppercase;
}
.article-h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  line-height: 1.2;
  color: #fff;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.article-date {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.article-mod { font-size: 0.8rem; color: var(--text-muted); }

/* =============================================
   页面 Banner（about/privacy）
   ============================================= */
.page-banner {
  background: linear-gradient(145deg, var(--dark-mid), var(--dark));
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(200,224,244,0.08);
}
.page-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.page-banner-h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: #fff;
  line-height: 1.2;
}

/* =============================================
   主体布局（content-layout）
   ============================================= */
.site-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}
.content-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: start;
}

/* 左侧 aside */
.content-aside {
  position: sticky;
  top: calc(var(--header-h) + var(--topbar-h) + 1rem);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.aside-card {
  background: linear-gradient(145deg, var(--dark-light), var(--dark-mid));
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  padding: 1.2rem 1rem;
}
.aside-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--pink);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.aside-card hr,
.inline-aside hr {
  border: none;
  border-top: 1px solid rgba(200,224,244,0.12);
  margin: 0.6rem 0 0.8rem;
}
.aside-links { display: flex; flex-direction: column; gap: 0.25rem; }
.aside-links li a {
  display: block;
  padding: 0.45rem 0.6rem;
  min-height: 40px;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  line-height: 1.4;
  display: flex;
  align-items: center;
  transition: background var(--transition), color var(--transition);
}
.aside-links li a:hover {
  background: rgba(200,224,244,0.07);
  color: var(--ice);
}

/* 正文主容器 */
.content-main { min-width: 0; }
.prose-section {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

/* =============================================
   Figure 区块
   ============================================= */
.section-fig,
.article-figure,
.about-figure,
.privacy-figure {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, var(--dark-light), var(--dark-mid));
  box-shadow: var(--shadow-card);
}
.article-figure img,
.section-fig img { width: 100%; height: auto; display: block; }
.article-figure figcaption {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  text-align: center;
}
.fig-placeholder {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fig-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: var(--ice-dark);
  text-align: center;
  padding: 2rem;
}
.about-fig-inner {
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.about-brand-mark {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ice);
  letter-spacing: 0.06em;
}
.about-brand-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.privacy-figure figcaption {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  text-align: center;
}

/* =============================================
   内联 aside（正文内）
   ============================================= */
.inline-aside {
  background: linear-gradient(145deg, var(--dark-light), var(--dark-mid));
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1rem;
  border-left: 3px solid var(--pink-dark);
}
.inline-aside .aside-title { color: var(--pink); margin-bottom: 0.4rem; }
.privacy-note { border-left-color: var(--ice-dark); }
.privacy-note .aside-title { color: var(--ice); }
.privacy-note p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* =============================================
   正文 prose 样式
   ============================================= */
.prose-body {
  background: linear-gradient(145deg, var(--dark-light), var(--dark-mid));
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  padding: 2rem 2rem 2.5rem;
  line-height: 1.8;
  font-size: 1rem;
  color: var(--text-main);
}
.prose-body h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ice);
  margin: 2rem 0 0.4rem;
  letter-spacing: 0.03em;
}
.prose-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--pink-light);
  margin: 1.5rem 0 0.4rem;
}
.prose-body h2 + hr,
.prose-body h3 + hr {
  border: none;
  border-top: 1px solid rgba(200,224,244,0.15);
  margin: 0.4rem 0 1rem;
}
.prose-body hr {
  border: none;
  border-top: 1px solid rgba(200,224,244,0.12);
  margin: 1.5rem 0;
}
.prose-body p { margin: 0.9rem 0; }
.prose-body ul, .prose-body ol { padding-left: 1.4rem; margin: 0.8rem 0; }
.prose-body li { margin: 0.35rem 0; }
.prose-body strong { color: var(--ice); font-weight: 600; }
.prose-body em { color: var(--pink-light); }
.prose-body a { color: var(--ice); border-bottom: 1px solid rgba(200,224,244,0.3); }
.prose-body a:hover { color: var(--pink); border-bottom-color: rgba(245,224,232,0.4); }
.prose-body blockquote {
  border-left: 3px solid var(--ice-dark);
  padding: 0.6rem 1.2rem;
  margin: 1rem 0;
  background: rgba(200,224,244,0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted);
}
.prose-body code {
  background: rgba(200,224,244,0.1);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  font-size: 0.88em;
  color: var(--pink-light);
}
.prose-body pre {
  background: var(--dark);
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin: 1rem 0;
}
.prose-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0;
  font-size: 0.92rem;
}
.prose-body th, .prose-body td {
  padding: 0.6rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid rgba(200,224,244,0.1);
}
.prose-body th {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* =============================================
   文章卡片（首页）— table 布局
   ============================================= */
.articles-section {
  margin-top: 3rem;
}
.section-heading {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ice);
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}
.articles-section > hr {
  border: none;
  border-top: 1px solid rgba(200,224,244,0.15);
  margin-bottom: 1.8rem;
}
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
}
.cards-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 1rem;
}
.card-row {
  background: linear-gradient(145deg, var(--dark-light), var(--dark-mid));
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card-row:hover {
  transform: translateY(-2px);
  box-shadow: -6px -6px 20px rgba(200,224,244,0.07), 8px 8px 24px rgba(0,0,0,0.6);
}
.card-thumb-cell {
  width: 120px;
  padding: 1rem 0.6rem 1rem 1rem;
  vertical-align: middle;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.card-thumb-cell .card-thumb {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}
.card-body-cell {
  padding: 1rem 1.2rem 1rem 0.6rem;
  vertical-align: middle;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.card-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.3;
  margin-bottom: 0.3rem;
}
.card-title a { color: var(--ice); }
.card-title a:hover { color: var(--pink); }
.card-date {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}
.card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--pink);
}
.card-link:hover { color: var(--ice); }

/* 交错动效 */
.stagger-item {
  animation: staggerFadeUp 400ms ease both;
  animation-delay: calc(var(--i, 0) * 60ms);
}
@keyframes staggerFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .stagger-item { animation: none; }
}

/* =============================================
   页脚
   ============================================= */
.site-footer {
  background: linear-gradient(145deg, var(--dark-mid), var(--dark));
  border-top: 1px solid rgba(200,224,244,0.08);
  padding: 0;
  margin-top: 4rem;
}
.footer-form-block {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(200,224,244,0.08);
}
.footer-form-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  white-space: nowrap;
}
.footer-form {
  display: flex;
  gap: 0.6rem;
  flex: 1;
  min-width: 200px;
}
.footer-input {
  flex: 1;
  min-height: 40px;
  padding: 0 1rem;
  background: linear-gradient(145deg, var(--dark), var(--dark-mid));
  box-shadow: var(--shadow-in);
  border: 1px solid rgba(200,224,244,0.1);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.88rem;
  outline: none;
}
.footer-input::placeholder { color: var(--text-muted); }
.footer-input:focus { border-color: rgba(200,224,244,0.3); }
.footer-btn {
  min-height: 40px;
  padding: 0 1.4rem;
  background: linear-gradient(145deg, var(--ice-light), var(--ice-dark));
  color: var(--dark);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: -2px -2px 8px rgba(200,224,244,0.12), 3px 3px 10px rgba(0,0,0,0.5);
  transition: box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
}
.footer-btn:hover { box-shadow: var(--shadow-in); transform: scale(0.97); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-address a { color: var(--text-muted); }
.footer-address a:hover { color: var(--ice); }

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-end;
}
.site-footer nav > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.2rem;
  justify-content: flex-end;
}
.site-footer nav > ul li a {
  font-size: 0.82rem;
  color: var(--text-muted);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.2rem;
  transition: color var(--transition);
}
.site-footer nav > ul li a:hover { color: var(--ice); }

.footer-dl {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1rem;
  justify-content: flex-end;
  align-items: center;
}
.footer-dl dt {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--pink-dark);
  text-transform: uppercase;
  width: 100%;
  text-align: right;
  margin-bottom: 0.2rem;
}
.footer-dl dd a {
  font-size: 0.78rem;
  color: var(--text-muted);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.2rem;
  transition: color var(--transition);
}
.footer-dl dd a:hover { color: var(--pink); }

/* =============================================
   HR 装饰（标题后）
   ============================================= */
h2 + hr, h3 + hr {
  border: none;
  border-top: 1px solid rgba(200,224,244,0.15);
  margin: 0.4rem 0 1.2rem;
}

/* =============================================
   响应式
   ============================================= */
@media (max-width: 900px) {
  .content-layout {
    grid-template-columns: 1fr;
  }
  .content-aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  html { font-size: 16px; }

  .content-aside {
    grid-template-columns: 1fr;
  }

  .hero-content { padding: 0 1.2rem; }
  .hero-h1 { font-size: clamp(1.6rem, 8vw, 2.4rem); }

  .site-main { padding: 1.5rem 1rem 3rem; }

  .card-thumb-cell { display: none; }
  .card-body-cell { border-radius: var(--radius-sm); }

  .footer-form-block { flex-direction: column; align-items: flex-start; }
  .footer-form { width: 100%; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-footer nav { align-items: flex-start; }
  .site-footer nav > ul { justify-content: flex-start; }
  .footer-dl { justify-content: flex-start; }
  .footer-dl dt { text-align: left; }

  .fs-nav dd a { font-size: 1.1rem; padding: 0.5rem 1rem; }

  .article-hero { min-height: 30vh; }
  .page-banner { padding: 2.5rem 0 2rem; }
}

@media (max-width: 400px) {
  .brand-name { font-size: 0.95rem; }
  .prose-body { padding: 1.2rem 1rem 1.5rem; }
}
