@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&family=Poiret+One&display=swap');

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

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

body {
  font-family: 'Didact Gothic', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: #fafafa;
  color: #000;
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: #000;
  text-decoration: none;
}

a:hover {
  color: #ff5252;
}

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

/* ===== 色彩变量 ===== */
:root {
  --blue: #3bb1ff;
  --red: #ff5252;
  --black: #000;
  --white: #fff;
  --yellow: #ffe066;
  --mint: #b8f5e6;
  --shadow: 5px 5px 0 #000;
  --shadow-sm: 3px 3px 0 #000;
  --border: 3px solid #000;
  --radius: 0px;
  --card-radius: 28px;
}

/* ===== 公告条 ===== */
.site-announce {
  background: var(--yellow);
  border-bottom: var(--border);
  text-align: center;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* ===== 导航 ===== */
.site-nav {
  background: var(--white);
  border-bottom: var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 64px;
  cursor: pointer;
  list-style: none;
  gap: 16px;
}

.nav-summary::-webkit-details-marker { display: none; }

.nav-brand-center {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poiret One', serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav-brand-text {
  font-family: 'Poiret One', serif;
  font-weight: 700;
}

.nav-logo {
  height: 36px;
  width: auto;
}

.nav-logo-inline {
  height: 24px;
  width: auto;
}

.nav-hamburger {
  font-size: 1.4rem;
  display: none;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--blue);
  padding: 4px 10px;
}

.nav-menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 24px;
  border-top: var(--border);
  background: var(--white);
  flex-wrap: wrap;
}

.nav-menu li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.88rem;
  border: 2px solid transparent;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.nav-menu li a:hover,
.nav-menu li a[aria-current="page"] {
  background: var(--blue);
  border: 2px solid var(--black);
  box-shadow: var(--shadow-sm);
}

.nav-brand-li a {
  font-family: 'Poiret One', serif;
  font-size: 1rem;
  font-weight: 700;
  background: var(--red) !important;
  border: var(--border) !important;
  box-shadow: var(--shadow) !important;
  color: #fff;
  padding: 8px 18px;
}

.nav-brand-home {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== 面包屑 ===== */
.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.breadcrumb a {
  color: #000;
  font-weight: 700;
  border-bottom: 2px solid var(--blue);
}

.breadcrumb a:hover {
  color: var(--red);
  border-color: var(--red);
}

/* ===== 按钮 ===== */
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border: var(--border);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: box-shadow 0.12s, transform 0.12s;
  min-height: 48px;
  text-align: center;
}

.btn-primary:hover {
  box-shadow: 7px 7px 0 #000;
  transform: translate(-2px, -2px);
  color: #fff;
}

.btn-secondary {
  display: inline-block;
  background: var(--blue);
  color: #000;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border: var(--border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: box-shadow 0.12s, transform 0.12s;
  min-height: 44px;
}

.btn-secondary:hover {
  box-shadow: 5px 5px 0 #000;
  transform: translate(-2px, -2px);
  color: #000;
}

/* ===== MAIN 通用 ===== */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 首页 Hero ===== */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 70vh;
  border: var(--border);
  box-shadow: var(--shadow);
  margin: 40px 0;
  background: var(--white);
  overflow: hidden;
  position: relative;
}

.hero-text {
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  background: var(--white);
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--blue);
  color: #000;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border: var(--border);
  box-shadow: var(--shadow-sm);
  width: fit-content;
}

.hero-text h1 {
  font-family: 'Poiret One', serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.hero-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 420px;
  color: #222;
}

.hero-figure {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  border-left: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 300px;
  background: var(--blue);
}

.hero-placeholder span {
  font-size: 6rem;
  color: #000;
  opacity: 0.3;
  font-family: 'Poiret One', serif;
}

.hero-stripe {
  position: absolute;
  top: 0;
  left: -30px;
  width: 60px;
  height: 100%;
  background: var(--yellow);
  transform: skewX(-8deg);
  border-left: var(--border);
  border-right: var(--border);
}

/* ===== 分类导航块 ===== */
.section-nav-block {
  margin: 48px 0;
}

.section-nav-block h2,
.content-block h2,
.stories-block h2,
.children-section h2,
.story-footer-section h2,
.tag-list-section h2,
.about-content-section h2,
.default-content-section h2 {
  font-family: 'Poiret One', serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-nav-block h2 > span,
.content-block h2 > span,
.stories-block h2 > span,
.children-section h2 > span,
.story-footer-section h2 > span,
.tag-list-section h2 > span,
.about-content-section h2 > span,
.default-content-section h2 > span {
  display: inline-block;
  background: var(--yellow);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  padding: 4px 16px;
}

.section-nav-aside {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 20px;
}

.section-cards-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  list-style: none;
}

.section-card {
  border: var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.12s, transform 0.12s;
}

.section-card:hover {
  box-shadow: 7px 7px 0 #000;
  transform: translate(-2px, -2px);
}

.section-card a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 20px;
  height: 100%;
}

.section-card a::before {
  content: '';
  display: block;
  height: 6px;
  background: var(--card-accent, var(--blue));
  border-bottom: var(--border);
  margin: -24px -20px 10px;
}

.section-card strong {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.section-card small {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.5;
}

/* ===== 内容块（带侧边栏）===== */
.content-block,
.content-with-aside,
.story-body-section,
.about-content-section,
.privacy-content-section,
.tag-content-section,
.default-content-section {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  margin: 48px 0;
  align-items: start;
}

.content-aside,
.story-aside,
.about-aside,
.privacy-aside,
.tag-aside {
  border: var(--border);
  box-shadow: var(--shadow);
  background: var(--white);
  padding: 24px 20px;
  position: sticky;
  top: 80px;
}

.content-aside h3,
.story-aside h3,
.about-aside h3,
.privacy-aside h3,
.tag-aside h3 {
  font-family: 'Poiret One', serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--blue);
}

.content-aside h3 > span,
.story-aside h3 > span,
.about-aside h3 > span,
.privacy-aside h3 > span,
.tag-aside h3 > span {
  display: inline;
}

.content-aside ul,
.story-aside ul,
.about-aside ul,
.privacy-aside ul,
.tag-aside ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.content-aside ul li a,
.story-aside ul li a,
.about-aside ul li a,
.privacy-aside ul li a,
.tag-aside ul li a {
  display: block;
  padding: 8px 12px;
  border: 2px solid transparent;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.12s, border-color 0.12s;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.content-aside ul li a:hover,
.story-aside ul li a:hover,
.about-aside ul li a:hover,
.privacy-aside ul li a:hover,
.tag-aside ul li a:hover {
  background: var(--blue);
  border-color: var(--black);
}

.aside-nav-links {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aside-nav-links a {
  display: block;
  padding: 8px 12px;
  background: var(--yellow);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aside-nav-links a:hover {
  background: var(--red);
  color: #fff;
}

/* ===== 装饰块 ===== */
.deco-block {
  width: 100%;
  height: 8px;
  background: var(--black);
  margin: 8px 0;
}

.deco-block.blue {
  background: var(--blue);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  height: 40px;
  transform: rotate(-1deg);
}

.deco-block.red {
  background: var(--red);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  height: 40px;
  transform: rotate(1deg);
}

.section-deco-fig,
.story-deco,
.stories-deco,
.tag-deco-fig,
.about-content-fig,
.privacy-fig,
.default-fig {
  margin: 0;
  padding: 0;
}

.section-deco-box,
.about-deco-block,
.about-deco-block-2 {
  width: 100%;
  height: 40px;
  background: var(--blue);
  border: var(--border);
  box-shadow: var(--shadow-sm);
}

.about-deco-block-2 {
  background: var(--red);
  margin-top: 12px;
  transform: rotate(-1.5deg);
}

/* ===== 正文内容 ===== */
.page-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #111;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4 {
  font-family: 'Poiret One', serif;
  font-weight: 700;
  margin: 1.5em 0 0.6em;
  line-height: 1.3;
}

.page-content h2 {
  font-size: 1.4rem;
  border-left: 5px solid var(--blue);
  padding-left: 12px;
}

.page-content h3 {
  font-size: 1.15rem;
  border-left: 4px solid var(--red);
  padding-left: 10px;
}

.page-content p {
  margin: 0 0 1.1em;
}

.page-content ul,
.page-content ol {
  margin: 0 0 1.1em 1.4em;
  list-style: revert;
}

.page-content li {
  margin-bottom: 0.5em;
}

.page-content a {
  color: #000;
  border-bottom: 2px solid var(--blue);
  font-weight: 700;
}

.page-content a:hover {
  color: var(--red);
  border-color: var(--red);
}

.page-content blockquote {
  border-left: 5px solid var(--yellow);
  background: #fffde7;
  padding: 16px 20px;
  margin: 1.2em 0;
  font-style: italic;
  border: var(--border);
  box-shadow: var(--shadow-sm);
}

.page-content strong {
  font-weight: 700;
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  border: var(--border);
  box-shadow: var(--shadow);
}

.page-content th,
.page-content td {
  padding: 10px 14px;
  border: 2px solid #000;
  text-align: left;
}

.page-content th {
  background: var(--blue);
  font-weight: 700;
}

/* ===== 故事列表 ===== */
.stories-block {
  margin: 48px 0;
}

.story-cards-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  list-style: none;
}

.story-card {
  border: var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--card-radius);
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 0.12s, transform 0.12s;
}

.story-card:hover {
  box-shadow: 7px 7px 0 #000;
  transform: translate(-2px, -2px);
}

.story-card a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 20px;
  height: 100%;
}

.story-label {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border: 2px solid #000;
  width: fit-content;
}

.story-card strong {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.story-card .story-desc {
  font-size: 0.85rem;
  color: #555;
  flex: 1;
}

.story-card time {
  font-size: 0.8rem;
  color: #777;
  font-weight: 700;
}

/* ===== 栏目子页列表 ===== */
.children-section {
  margin: 48px 0;
}

.children-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}

.child-item {
  border: var(--border);
  box-shadow: var(--shadow);
  background: var(--white);
  transition: box-shadow 0.12s, transform 0.12s;
}

.child-item:hover {
  box-shadow: 7px 7px 0 #000;
  transform: translate(-2px, -2px);
}

.child-item a {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
}

.child-thumb-wrap {
  flex-shrink: 0;
  width: 100px;
  height: 70px;
  overflow: hidden;
  border: var(--border);
}

.child-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.child-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.child-info strong {
  font-size: 1.05rem;
  font-weight: 700;
}

.child-info small {
  font-size: 0.85rem;
  color: #555;
}

.child-info time {
  font-size: 0.8rem;
  color: #777;
  font-weight: 700;
}

/* ===== 首页 page-header-section ===== */
.page-header-section {
  margin: 40px 0 24px;
  padding: 32px 36px;
  border: var(--border);
  box-shadow: var(--shadow);
  background: var(--blue);
}

.page-header-section h1 {
  font-family: 'Poiret One', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  margin: 12px 0 10px;
}

.page-lead {
  font-size: 1rem;
  color: #222;
  line-height: 1.7;
  margin-top: 8px;
}

/* ===== Story 页面 ===== */
.story-header-section {
  margin: 40px 0 24px;
  padding: 32px 36px;
  border: var(--border);
  box-shadow: var(--shadow);
  background: var(--yellow);
}

.story-header-section h1 {
  font-family: 'Poiret One', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin: 12px 0 10px;
  line-height: 1.3;
}

.story-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.story-date,
.story-date-mod {
  font-size: 0.85rem;
  font-weight: 700;
  color: #333;
}

.story-body-section {
  margin: 40px 0;
}

.story-hero-fig {
  margin: 0;
}

.story-hero-img {
  width: 100%;
  border: var(--border);
  box-shadow: var(--shadow);
}

.story-hero-placeholder {
  height: 6px;
  background: var(--red);
  border: var(--border);
}

.story-content {
  margin-top: 8px;
}

.story-footer-section {
  margin: 48px 0;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}

.continue-aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}

.related-list li {
  border: var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--white);
  transition: box-shadow 0.12s, transform 0.12s;
}

.related-list li:hover {
  box-shadow: var(--shadow);
  transform: translate(-2px, -2px);
}

.related-list li a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px;
}

.related-list li a strong {
  font-size: 0.95rem;
  font-weight: 700;
}

.related-list li a small {
  font-size: 0.82rem;
  color: #555;
}

.related-list li a time {
  font-size: 0.78rem;
  color: #777;
  font-weight: 700;
}

/* ===== About 页 ===== */
.about-header-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin: 40px 0;
  padding: 40px 36px;
  border: var(--border);
  box-shadow: var(--shadow);
  background: var(--mint);
  align-items: center;
}

.about-header-text h1 {
  font-family: 'Poiret One', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin: 12px 0 10px;
}

.about-eyebrow {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 4px 12px;
  border: var(--border);
  box-shadow: var(--shadow-sm);
}

.about-header-text time {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #333;
  margin: 8px 0;
}

.about-deco-fig {
  padding: 16px;
}

/* ===== Privacy 页 ===== */
.privacy-header-section {
  margin: 40px 0 24px;
  padding: 32px 36px;
  border: var(--border);
  box-shadow: var(--shadow);
  background: var(--white);
}

.privacy-header-section h1 {
  font-family: 'Poiret One', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.privacy-header-section time {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #555;
  margin-bottom: 10px;
}

/* ===== Tag 页 ===== */
.tag-header-section {
  margin: 40px 0 24px;
  padding: 32px 36px;
  border: var(--border);
  box-shadow: var(--shadow);
  background: var(--blue);
}

.tag-header-section h1 {
  font-family: 'Poiret One', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin: 12px 0 10px;
}

.tag-list-section {
  margin: 48px 0;
}

.tag-items-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}

.tag-item {
  border: var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--white);
  counter-increment: tag-counter;
  transition: box-shadow 0.12s, transform 0.12s;
}

.tag-item:hover {
  box-shadow: var(--shadow);
  transform: translate(-2px, -2px);
}

.tag-item a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
}

.tag-item a::before {
  content: counter(tag-counter, decimal-leading-zero);
  font-family: 'Poiret One', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue);
  min-width: 32px;
  text-align: center;
  border: var(--border);
  padding: 2px 6px;
  background: var(--yellow);
}

.tag-items-list {
  counter-reset: tag-counter;
}

.tag-item a strong {
  font-size: 0.95rem;
  font-weight: 700;
}

.tag-item a small {
  font-size: 0.82rem;
  color: #555;
  display: block;
}

.tag-item a time {
  font-size: 0.78rem;
  font-weight: 700;
  color: #777;
  white-space: nowrap;
}

/* ===== 页脚 ===== */
footer {
  margin-top: 80px;
  border-top: var(--border);
  background: var(--black);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}

footer > article {
  padding: 48px 36px;
  border-right: 3px solid #222;
}

footer > article:last-child {
  border-right: none;
}

.footer-brand-section {
  background: var(--black);
}

.footer-brand-big {
  font-family: 'Poiret One', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue);
  margin-bottom: 12px;
  line-height: 1.2;
}

.footer-brand-section p:last-child {
  font-size: 0.85rem;
  color: #aaa;
  line-height: 1.6;
}

.footer-links-section h3,
.footer-legal-section h3 {
  font-family: 'Poiret One', serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--yellow);
}

.footer-links-section h3 > span,
.footer-legal-section h3 > span {
  display: inline;
}

.footer-links-section ul,
.footer-legal-section ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}

.footer-links-section ul li a,
.footer-legal-section ul li a {
  display: block;
  color: #ccc;
  font-size: 0.88rem;
  padding: 6px 0;
  border-bottom: 1px solid #333;
  transition: color 0.12s;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.footer-links-section ul li a:hover,
.footer-legal-section ul li a:hover {
  color: var(--blue);
}

.footer-copy {
  margin-top: 20px;
  font-size: 0.8rem;
  color: #777;
}

/* ===== 默认页 ===== */
.default-header-section {
  margin: 40px 0 24px;
  padding: 32px 36px;
  border: var(--border);
  box-shadow: var(--shadow);
  background: var(--white);
}

.default-header-section h1 {
  font-family: 'Poiret One', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 12px;
}

/* ===== Scroll Reveal 动效 ===== */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

  .hero-figure {
    border-left: none;
    border-top: var(--border);
    min-height: 240px;
  }

  .hero-text {
    padding: 40px 32px;
  }

  footer {
    grid-template-columns: 1fr;
  }

  footer > article {
    border-right: none;
    border-bottom: 3px solid #222;
    padding: 32px 24px;
  }

  .content-block,
  .content-with-aside,
  .story-body-section,
  .about-content-section,
  .privacy-content-section,
  .tag-content-section,
  .default-content-section,
  .story-footer-section {
    grid-template-columns: 1fr;
  }

  .content-aside,
  .story-aside,
  .about-aside,
  .privacy-aside,
  .tag-aside {
    position: static;
  }

  .about-header-section {
    grid-template-columns: 1fr;
  }
}

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

  main {
    padding: 0 16px;
  }

  .nav-summary {
    padding: 0 16px;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-menu {
    padding: 16px;
    gap: 8px;
  }

  .nav-menu li a {
    font-size: 0.82rem;
    padding: 10px 12px;
  }

  .hero-text {
    padding: 28px 20px;
  }

  .page-header-section,
  .story-header-section,
  .tag-header-section,
  .privacy-header-section,
  .about-header-section {
    padding: 24px 20px;
  }

  .story-cards-list,
  .section-cards-list {
    grid-template-columns: 1fr;
  }

  .tag-item a {
    grid-template-columns: auto 1fr;
  }

  .tag-item a time {
    grid-column: 2;
  }

  footer > article {
    padding: 28px 16px;
  }

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

  .child-item a {
    flex-direction: column;
  }

  .child-thumb-wrap {
    width: 100%;
    height: 160px;
  }
}

@media (max-width: 375px) {
  .nav-brand-text {
    font-size: 0.9rem;
  }

  .hero-text h1 {
    font-size: 1.4rem;
  }
}
