@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,300&display=swap');

/* =====================
   CSS 自定义属性
   ===================== */
:root {
  --c-primary: #eb879c;
  --c-secondary: #ffb6c1;
  --c-dark: #26171a;
  --c-dark-80: rgba(38,23,26,0.8);
  --c-dark-10: rgba(38,23,26,0.08);
  --c-white: #fff;
  --c-bg: #fff8f9;
  --c-bg2: #fff0f3;
  --c-text: #2a1419;
  --c-text-muted: #7a5060;
  --c-border: rgba(235,135,156,0.25);
  --c-card-bg: #ffffff;

  --r-card: 18px;
  --r-btn: 999px;
  --r-sm: 8px;
  --r-md: 12px;

  --shadow-sm: 0 2px 6px rgba(38,23,26,0.08), 0 1px 2px rgba(235,135,156,0.12);
  --shadow-md: 0 4px 16px rgba(38,23,26,0.10), 0 2px 6px rgba(235,135,156,0.15);
  --shadow-lg: 0 8px 32px rgba(38,23,26,0.13), 0 4px 12px rgba(235,135,156,0.18);

  --font-heading: 'Playfair Display', 'Source Serif 4', Georgia, serif;
  --font-body: 'Source Serif 4', Georgia, 'Noto Serif SC', serif;
  --font-mono: 'JetBrains Mono', monospace;

  --nav-h: 72px;
  --anim: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color var(--anim), opacity var(--anim);
}

a:hover { color: var(--c-dark); }

a:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 3px;
  border-radius: 3px;
}

ol, ul { list-style: none; }

/* =====================
   站点容器
   ===================== */
.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =====================
   顶部导航
   ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,248,249,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 4px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-list > li > a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-text);
  background: var(--c-bg2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-btn);
  white-space: nowrap;
  transition: background var(--anim), color var(--anim), box-shadow var(--anim), transform var(--anim);
}

.nav-list > li > a:hover {
  background: var(--c-primary);
  color: var(--c-white);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.nav-list > li > a[aria-current="page"] {
  background: var(--c-dark);
  color: var(--c-white);
}

.nav-brand-center {
  order: -1;
  flex-shrink: 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 12px;
  color: var(--c-dark);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  border-radius: var(--r-btn);
  transition: opacity var(--anim);
}

.brand-link:hover { opacity: 0.8; color: var(--c-dark); }

.brand-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

/* =====================
   Hero — 首页斜切大图
   ===================== */
.hero-section {
  position: relative;
  min-height: 70vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
  background: var(--c-dark);
}

.hero-figure {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

.hero-figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--c-dark) 0%, transparent 60%);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-aside {
  position: relative;
  z-index: 2;
  padding: 60px 48px 60px 60px;
  text-align: right;
  color: var(--c-white);
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-secondary);
  margin-bottom: 16px;
}

.hero-h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--c-white);
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,182,193,0.85);
  margin-bottom: 32px;
  max-width: 380px;
  margin-left: auto;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 28px;
  background: var(--c-primary);
  color: var(--c-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--r-btn);
  box-shadow: var(--shadow-md);
  transition: background var(--anim), transform var(--anim), box-shadow var(--anim);
}

.hero-cta:hover {
  background: var(--c-dark);
  color: var(--c-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hero-bg-text {
  position: absolute;
  bottom: -10px;
  right: -10px;
  font-family: var(--font-heading);
  font-size: clamp(80px, 18vw, 200px);
  font-weight: 900;
  line-height: 1;
  color: rgba(235,135,156,0.12);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* =====================
   栏目页 Hero
   ===================== */
.cat-hero-section {
  position: relative;
  min-height: 50vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
  background: var(--c-dark);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 94% 100%, 0 100%);
  margin-bottom: 40px;
}

.cat-hero-figure {
  position: relative;
  height: 50vh;
  overflow: hidden;
}

.cat-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-hero-aside {
  padding: 48px 40px;
  color: var(--c-white);
  text-align: right;
}

.cat-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--c-secondary);
  margin-bottom: 12px;
}

.cat-hero-aside h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--c-white);
}

.cat-hero-aside p {
  color: rgba(255,182,193,0.8);
  font-size: 0.9375rem;
}

/* =====================
   入口页 Hero
   ===================== */
.entry-hero-section {
  position: relative;
  min-height: 60vh;
  display: grid;
  grid-template-columns: 3fr 2fr;
  align-items: center;
  overflow: hidden;
  background: var(--c-dark);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 88% 100%, 0 100%);
  margin-bottom: 48px;
}

.entry-hero-figure {
  position: relative;
  height: 60vh;
  overflow: hidden;
}

.entry-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.entry-hero-meta {
  padding: 48px 40px 48px 32px;
  color: var(--c-white);
  text-align: right;
}

.entry-cat-badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  background: var(--c-primary);
  color: var(--c-white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--r-btn);
  margin-bottom: 16px;
}

.entry-hero-meta h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--c-white);
}

.entry-dates {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 12px;
}

.entry-dates time {
  font-size: 0.8125rem;
  color: rgba(255,182,193,0.75);
  font-family: var(--font-mono);
}

.entry-intro {
  color: rgba(255,182,193,0.8);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* =====================
   标签页 Hero
   ===================== */
.tag-header-section {
  position: relative;
  min-height: 30vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: linear-gradient(135deg, var(--c-dark) 0%, #4a1f2a 100%);
  overflow: hidden;
  margin-bottom: 40px;
  border-radius: 0 0 var(--r-card) var(--r-card);
}

.tag-aside-top {
  padding: 48px 40px;
  color: var(--c-white);
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  background: var(--c-primary);
  color: var(--c-white);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  border-radius: var(--r-btn);
  margin-bottom: 12px;
}

.tag-aside-top h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--c-white);
  margin-bottom: 12px;
}

.tag-header-figure {
  position: relative;
  height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =====================
   关于/隐私页 Hero
   ===================== */
.about-intro-section,
.privacy-header-section {
  position: relative;
  min-height: 35vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: linear-gradient(150deg, var(--c-dark) 0%, #3d1824 100%);
  overflow: hidden;
  margin-bottom: 48px;
  border-radius: 0 0 var(--r-card) var(--r-card);
}

.about-intro-aside,
.privacy-header-aside {
  padding: 48px 40px 48px 60px;
  color: var(--c-white);
}

.about-eyebrow,
.privacy-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--c-secondary);
  margin-bottom: 12px;
}

.about-intro-aside h1,
.privacy-header-aside h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--c-white);
  margin-bottom: 12px;
}

.about-intro-aside p {
  color: rgba(255,182,193,0.8);
  font-size: 0.9375rem;
  margin-bottom: 16px;
}

.about-intro-aside time,
.privacy-dates time {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: rgba(255,182,193,0.65);
}

.privacy-dates {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
}

.about-intro-figure,
.privacy-header-figure {
  position: relative;
  height: 35vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =====================
   面包屑
   ===================== */
.breadcrumb {
  background: var(--c-bg2);
  border-bottom: 1px solid var(--c-border);
}

.breadcrumb-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 0.8125rem;
  justify-content: flex-start;
}

.breadcrumb-list li { color: var(--c-text-muted); }
.breadcrumb-list li + li::before { content: '›'; margin-right: 8px; }
.breadcrumb-list a { color: var(--c-primary); }

/* =====================
   内容区布局（含侧边栏）
   ===================== */
.home-content-section,
.cat-content-section,
.entry-body-section,
.tag-content-section,
.about-body-section,
.privacy-body-section {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 64px;
  width: 100%;
  align-items: start;
}

/* =====================
   侧边栏 aside
   ===================== */
.home-aside,
.cat-aside,
.entry-aside,
.tag-aside,
.about-aside,
.privacy-aside {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  background: var(--c-card-bg);
  border-radius: var(--r-card);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
}

.home-aside h2,
.cat-aside h2,
.entry-aside h2,
.tag-aside h2,
.about-aside h2,
.privacy-aside h2 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--c-primary);
}

.home-aside h3,
.cat-aside h3,
.entry-aside h3,
.tag-aside h3,
.about-aside h3,
.privacy-aside h3 {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--c-dark);
  margin: 16px 0 10px;
}

.side-nav-list { display: flex; flex-direction: column; gap: 4px; }
.side-nav-list li a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 10px;
  font-size: 0.875rem;
  color: var(--c-text);
  border-radius: var(--r-sm);
  transition: background var(--anim), color var(--anim);
}
.side-nav-list li a:hover {
  background: var(--c-bg2);
  color: var(--c-primary);
}

.aside-tags,
.aside-more,
.aside-contact-block,
.about-contact-block {
  margin-top: 16px;
}

.aside-tags a,
.aside-more a,
.tag-list-aside a,
.about-contact-block a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 12px;
  margin: 4px 4px 0 0;
  font-size: 0.8125rem;
  background: var(--c-bg2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-btn);
  color: var(--c-text-muted);
  transition: background var(--anim), color var(--anim);
}
.aside-tags a:hover,
.aside-more a:hover,
.tag-list-aside a:hover,
.about-contact-block a:hover {
  background: var(--c-primary);
  color: var(--c-white);
  border-color: var(--c-primary);
}

/* =====================
   正文区
   ===================== */
.home-main-content,
.cat-main-content,
.entry-main-content,
.tag-main-content,
.about-main-content,
.privacy-main-content {
  min-width: 0;
}

.content-body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-text);
  margin-bottom: 40px;
}

.content-body h2 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--c-dark);
  margin: 32px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--c-primary);
}

.content-body h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--c-dark);
  margin: 24px 0 10px;
}

.content-body p {
  margin-bottom: 16px;
  max-width: 68ch;
}

.content-body a {
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-body ul, .content-body ol {
  padding-left: 20px;
  margin-bottom: 16px;
  list-style: disc;
}

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

.prose h2,
.prose h3,
.prose p,
.prose li { max-width: 68ch; }

/* =====================
   区块标题
   ===================== */
.section-block { margin-bottom: 48px; }

.section-title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--c-dark);
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--c-primary);
  position: relative;
}

.section-title span { display: inline; }

/* =====================
   分类卡片（首页）
   ===================== */
.cat-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--c-card-bg);
  border-radius: var(--r-card);
  padding: 20px 18px 18px;
  border: 1px solid var(--c-border);
  border-bottom: 3px solid var(--c-primary);
  box-shadow: var(--shadow-sm);
  color: var(--c-text);
  transition: transform var(--anim), box-shadow var(--anim);
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: var(--c-text);
}

.cat-card strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-dark);
  display: block;
  line-height: 1.3;
}

.cat-card-desc {
  font-size: 0.8125rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}

.cat-card-img {
  border-radius: var(--r-sm);
  width: 100%;
  height: 120px;
  object-fit: cover;
  margin-top: 6px;
}

/* =====================
   最新条目卡片（首页）
   ===================== */
.entry-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.entry-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--c-card-bg);
  border-radius: var(--r-card);
  padding: 18px 16px;
  border: 1px solid var(--c-border);
  border-bottom: 3px solid var(--c-secondary);
  box-shadow: var(--shadow-sm);
  color: var(--c-text);
  transition: transform var(--anim), box-shadow var(--anim);
}

.entry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--c-text);
}

.entry-card strong {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--c-dark);
  display: block;
  line-height: 1.35;
}

.entry-meta time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--c-text-muted);
}

.entry-card-desc {
  font-size: 0.8125rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}

.entry-thumb {
  border-radius: var(--r-sm);
  width: 100%;
  height: 110px;
  object-fit: cover;
  margin-top: 4px;
}

/* =====================
   栏目子页卡片
   ===================== */
.child-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.child-card {
  display: flex;
  flex-direction: column;
  background: var(--c-card-bg);
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--c-border);
  border-bottom: 3px solid var(--c-primary);
  box-shadow: var(--shadow-sm);
  color: var(--c-text);
  transition: transform var(--anim), box-shadow var(--anim);
}

.child-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: var(--c-text);
}

.child-card-figure {
  height: 160px;
  overflow: hidden;
  margin: 0;
}

.child-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.child-card:hover .child-card-img {
  transform: scale(1.04);
}

.child-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.child-card-body strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-dark);
  line-height: 1.3;
  display: block;
}

.child-card-desc {
  font-size: 0.8125rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}

.child-card-meta time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--c-text-muted);
}

/* =====================
   相关套图（入口页侧栏）
   ===================== */
.sib-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sib-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  background: var(--c-bg);
  border-radius: var(--r-sm);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  font-size: 0.8125rem;
  transition: background var(--anim);
}

.sib-card:hover {
  background: var(--c-bg2);
  color: var(--c-text);
}

.sib-card strong {
  font-weight: 600;
  color: var(--c-dark);
  display: block;
  font-size: 0.875rem;
}

.sib-thumb {
  border-radius: 6px;
  width: 100%;
  height: 64px;
  object-fit: cover;
  margin-top: 4px;
}

/* =====================
   标签页条目卡片
   ===================== */
.tag-entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.tag-entry-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--c-card-bg);
  border-radius: var(--r-card);
  padding: 16px;
  border: 1px solid var(--c-border);
  border-bottom: 3px solid var(--c-primary);
  box-shadow: var(--shadow-sm);
  color: var(--c-text);
  transition: transform var(--anim), box-shadow var(--anim);
}

.tag-entry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--c-text);
}

.tag-entry-card strong {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--c-dark);
  display: block;
  line-height: 1.35;
}

.tag-entry-desc { font-size: 0.8125rem; color: var(--c-text-muted); }
.tag-entry-meta time { font-family: var(--font-mono); font-size: 0.75rem; color: var(--c-text-muted); }
.tag-entry-thumb { width: 100%; height: 100px; object-fit: cover; border-radius: var(--r-sm); }

/* =====================
   图片画廊
   ===================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.gallery-item {
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin: 0;
  aspect-ratio: 3/4;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

/* =====================
   页脚
   ===================== */
.site-footer {
  background: var(--c-dark);
  color: rgba(255,255,255,0.75);
  margin-top: auto;
}

.site-footer > div {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-footer > div:last-child { border-bottom: none; }

.footer-brand {
  padding: 48px 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.footer-brand-big {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 900;
  color: rgba(235,135,156,0.18);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  pointer-events: none;
  user-select: none;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,182,193,0.65);
  max-width: 480px;
}

.footer-links {
  padding: 36px 60px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.footer-links h3 {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--c-secondary);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.footer-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.footer-nav-list li a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-btn);
  transition: background var(--anim), color var(--anim);
}

.footer-nav-list li a:hover {
  background: var(--c-primary);
  color: var(--c-white);
  border-color: var(--c-primary);
}

.footer-bottom {
  padding: 20px 60px;
}

.copyright {
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-mono);
}

/* =====================
   h2/h3 span 装饰
   ===================== */
h2 > span,
h3 > span {
  display: inline;
  background: linear-gradient(180deg, transparent 60%, rgba(235,135,156,0.3) 60%);
}

/* =====================
   动效 — 列表 stagger
   ===================== */
@media (prefers-reduced-motion: no-preference) {
  .cat-cards-grid > .cat-card,
  .entry-cards-grid > .entry-card,
  .child-cards-grid > .child-card,
  .tag-entry-grid > .tag-entry-card {
    opacity: 0;
    transform: translateY(20px);
    animation: card-in 280ms ease forwards;
  }

  .cat-cards-grid > .cat-card:nth-child(1),
  .entry-cards-grid > .entry-card:nth-child(1),
  .child-cards-grid > .child-card:nth-child(1),
  .tag-entry-grid > .tag-entry-card:nth-child(1) { animation-delay: 60ms; }

  .cat-cards-grid > .cat-card:nth-child(2),
  .entry-cards-grid > .entry-card:nth-child(2),
  .child-cards-grid > .child-card:nth-child(2),
  .tag-entry-grid > .tag-entry-card:nth-child(2) { animation-delay: 120ms; }

  .cat-cards-grid > .cat-card:nth-child(3),
  .entry-cards-grid > .entry-card:nth-child(3),
  .child-cards-grid > .child-card:nth-child(3),
  .tag-entry-grid > .tag-entry-card:nth-child(3) { animation-delay: 180ms; }

  .cat-cards-grid > .cat-card:nth-child(4),
  .entry-cards-grid > .entry-card:nth-child(4),
  .child-cards-grid > .child-card:nth-child(4),
  .tag-entry-grid > .tag-entry-card:nth-child(4) { animation-delay: 240ms; }

  .cat-cards-grid > .cat-card:nth-child(n+5),
  .entry-cards-grid > .entry-card:nth-child(n+5),
  .child-cards-grid > .child-card:nth-child(n+5),
  .tag-entry-grid > .tag-entry-card:nth-child(n+5) { animation-delay: 300ms; }

  @keyframes card-in {
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* =====================
   响应式断点
   ===================== */
@media (max-width: 900px) {
  .hero-section {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: auto;
  }

  .hero-figure {
    height: 40vh;
    order: -1;
  }

  .hero-aside {
    padding: 36px 28px;
    text-align: left;
  }

  .hero-desc { margin-left: 0; }

  .cat-hero-section,
  .entry-hero-section {
    grid-template-columns: 1fr;
    clip-path: none;
    border-radius: 0;
  }

  .cat-hero-figure,
  .entry-hero-figure {
    height: 35vh;
    order: -1;
  }

  .cat-hero-aside,
  .entry-hero-meta {
    text-align: left;
    padding: 28px 24px;
  }

  .entry-dates { align-items: flex-start; }

  .about-intro-section,
  .privacy-header-section,
  .tag-header-section {
    grid-template-columns: 1fr;
  }

  .about-intro-figure,
  .privacy-header-figure,
  .tag-header-figure { display: none; }

  .about-intro-aside,
  .privacy-header-aside,
  .tag-aside-top {
    padding: 32px 24px;
  }

  .home-content-section,
  .cat-content-section,
  .entry-body-section,
  .tag-content-section,
  .about-body-section,
  .privacy-body-section {
    grid-template-columns: 1fr;
  }

  .home-aside,
  .cat-aside,
  .entry-aside,
  .tag-aside,
  .about-aside,
  .privacy-aside {
    position: static;
  }

  .footer-brand,
  .footer-links,
  .footer-bottom { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 600px) {
  :root { --nav-h: 60px; }

  .nav-list {
    gap: 4px;
    padding: 0 12px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav-list::-webkit-scrollbar { display: none; }

  .nav-list > li > a {
    padding: 0 12px;
    font-size: 0.8125rem;
    height: 40px;
  }

  .brand-name { font-size: 0.9rem; }

  .cat-cards-grid,
  .entry-cards-grid,
  .tag-entry-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .child-cards-grid { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }

  .home-content-section,
  .cat-content-section,
  .entry-body-section,
  .tag-content-section,
  .about-body-section,
  .privacy-body-section {
    padding: 0 16px 48px;
  }

  .hero-aside { padding: 28px 16px; }
  .hero-h1 { font-size: 1.75rem; }

  .footer-brand-big { font-size: 2.5rem; }
}

@media (max-width: 375px) {
  .cat-cards-grid,
  .entry-cards-grid,
  .tag-entry-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid { grid-template-columns: 1fr; }

  body { font-size: 1rem; }
}
