@import url('https://fonts.googleapis.com/css2?family=Calistoga:ital@0;1&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

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

:root {
  --bg: #fafaf8;
  --ink: #4a4a4a;
  --dark: #1a1a1a;
  --mid: #6b6b6b;
  --light: #e8e8e4;
  --accent: #3a3a3a;
  --paper: #f4f3ef;
  --card-bg: rgba(250,250,248,0.7);
  --nav-w: 260px;
  --aside-w: 220px;
  --radius: 28px;
  --font-head: 'Calistoga', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

/* 纸张质感底纹 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 31px,
      rgba(74,74,74,0.04) 31px,
      rgba(74,74,74,0.04) 32px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 47px,
      rgba(74,74,74,0.03) 47px,
      rgba(74,74,74,0.03) 48px
    );
  pointer-events: none;
  z-index: 0;
}

/* ===== 整体布局 ===== */
.page-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* ===== 侧边导航 ===== */
.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--nav-w);
  height: 100vh;
  background: var(--dark);
  color: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  z-index: 100;
  overflow-y: auto;
  border-right: 3px solid var(--dark);
}

/* 手绘感竖线装饰 */
.side-nav::after {
  content: '';
  position: absolute;
  top: 10%;
  right: -2px;
  width: 4px;
  height: 80%;
  background: var(--ink);
  opacity: 0.3;
  transform: rotate(0.5deg);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid rgba(250,250,248,0.2);
}

.nav-logo {
  border-radius: 6px;
  transform: rotate(-2deg);
}

.nav-brand-name {
  font-family: var(--font-head);
  font-size: 1rem;
  line-height: 1.3;
  color: var(--bg);
  transform: rotate(-0.5deg);
  display: block;
}

/* 导航结构：nav > ol > li > a */
.side-nav ol {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  counter-reset: nav-counter;
}

.side-nav ol li {
  counter-increment: nav-counter;
  position: relative;
}

.side-nav ol li a {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  color: rgba(250,250,248,0.8);
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.4;
  border-radius: 6px;
  min-height: 40px;
  transition: none;
  position: relative;
}

.side-nav ol li a::before {
  content: counter(nav-counter, cjk-decimal);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(250,250,248,0.35);
  flex-shrink: 0;
  margin-top: 2px;
}

.side-nav ol li a:hover {
  background: rgba(250,250,248,0.12);
  color: var(--bg);
  transform: translateX(3px) rotate(0.3deg);
}

.side-nav ol li a[href="/"] {
  font-weight: 600;
  color: var(--bg);
}

.nav-contact {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(250,250,248,0.2);
}

.nav-contact-link {
  display: block;
  padding: 0.75rem;
  color: rgba(250,250,248,0.6);
  text-decoration: none;
  font-size: 0.825rem;
  min-height: 40px;
  line-height: 1.5;
  border: 1px solid rgba(250,250,248,0.2);
  border-radius: 6px;
  text-align: center;
}

.nav-contact-link:hover {
  background: rgba(250,250,248,0.1);
  color: var(--bg);
}

/* ===== 主内容区 ===== */
.main-wrap {
  margin-left: var(--nav-w);
  display: flex;
  flex: 1;
  min-height: 100vh;
}

main {
  flex: 1;
  min-width: 0;
  padding: 2.5rem 2rem;
}

/* ===== 侧边栏 aside ===== */
.side-aside {
  width: var(--aside-w);
  flex-shrink: 0;
  padding: 2.5rem 1.25rem 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.aside-block {
  background: var(--card-bg);
  border: 1.5px solid var(--light);
  border-radius: 12px;
  padding: 1.25rem;
  backdrop-filter: blur(4px);
  transform: rotate(0.3deg);
  position: relative;
}

.aside-block:nth-child(even) {
  transform: rotate(-0.4deg);
}

.aside-block h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.aside-block hr {
  border: none;
  border-top: 1.5px dashed var(--light);
  margin-bottom: 0.75rem;
}

.aside-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.aside-block ul li a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.875rem;
  display: block;
  padding: 0.2rem 0;
  border-bottom: 1px dotted transparent;
}

.aside-block ul li a:hover {
  color: var(--dark);
  border-bottom-color: var(--ink);
}

.aside-block p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--mid);
}

.sketch-box {
  background: var(--paper);
  border-style: dashed;
}

/* ===== 页脚（极简：仅 p + small）===== */
footer {
  margin-left: var(--nav-w);
  padding: 3rem 2rem 2rem;
  border-top: 2px solid var(--dark);
  background: var(--dark);
  color: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
}

.footer-brand {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--bg);
  line-height: 1.1;
  letter-spacing: -0.02em;
  transform: rotate(-0.5deg);
  display: block;
}

footer small {
  font-size: 0.8rem;
  color: rgba(250,250,248,0.5);
  display: block;
}

footer small a {
  color: rgba(250,250,248,0.7);
  text-decoration: none;
}

footer small a:hover {
  color: var(--bg);
  text-decoration: underline;
}

/* ===== 面包屑 ===== */
.breadcrumb {
  font-size: 0.825rem;
  color: var(--mid);
  margin-bottom: 0.75rem;
}

.breadcrumb a {
  color: var(--mid);
  text-decoration: none;
}

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

.breadcrumb span {
  margin: 0 0.35rem;
  opacity: 0.5;
}

/* ===== H1/H2/H3 标题 ===== */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--dark);
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  margin-bottom: 0.5rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.125rem;
  margin-bottom: 0.4rem;
}

hr {
  border: none;
  border-top: 2px solid var(--dark);
  margin-bottom: 1.25rem;
  transform: rotate(0.2deg);
}

/* h2 后紧跟 hr 的样式 */
h2 + hr {
  border-top-style: solid;
  border-top-width: 2px;
  margin-top: 0.4rem;
}

h3 + hr {
  border-top-style: dashed;
  margin-top: 0.35rem;
}

/* ===== 首页 Hero ===== */
.hero-section {
  display: flex;
  align-items: center;
  min-height: 100vh;
  gap: 3rem;
  margin: -2.5rem -2rem 0;
  padding: 2.5rem 2rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

/* 点阵底纹 */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(26,26,26,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-media {
  flex: 0 0 50%;
  max-width: 50%;
  position: relative;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  transform: rotate(-1.5deg);
  box-shadow: 6px 6px 0 var(--dark);
  filter: contrast(1.05);
}

.hero-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--paper);
  border: 2px dashed var(--light);
  border-radius: 8px;
  transform: rotate(-1.5deg);
}

.hero-text {
  flex: 1;
  text-align: right;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--mid);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1rem;
  color: var(--mid);
  margin-bottom: 1.75rem;
  max-width: 400px;
  margin-left: auto;
  line-height: 1.7;
}

.cta-btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: var(--dark);
  color: var(--bg);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  border: 2px solid var(--dark);
  transform: rotate(-0.5deg);
  box-shadow: 4px 4px 0 var(--ink);
  min-height: 40px;
}

.cta-btn:hover {
  background: var(--bg);
  color: var(--dark);
  transform: rotate(0.3deg) translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

/* ===== 内容区段 ===== */
.content-section {
  padding: 2rem 0;
}

.content-body {
  max-width: 72ch;
  line-height: 1.75;
}

.prose p {
  margin-bottom: 1.25rem;
}

.prose ul, .prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose a {
  color: var(--dark);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

.prose a:hover {
  text-decoration-style: solid;
}

.prose h2, .prose h3 {
  margin-top: 2rem;
}

.prose blockquote {
  border-left: 3px solid var(--dark);
  padding-left: 1rem;
  color: var(--mid);
  font-style: italic;
  margin: 1.5rem 0;
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--paper);
  padding: 0.1em 0.4em;
  border-radius: 3px;
}

/* ===== 玻璃卡片 ===== */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(74,74,74,0.15);
  border-radius: var(--radius);
  overflow: hidden;
  transition: none;
  position: relative;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 60%);
  pointer-events: none;
}

.glass-card:hover {
  transform: rotate(-0.5deg) translateY(-3px);
  box-shadow: 5px 5px 0 rgba(26,26,26,0.15);
}

/* ===== 首页卡片网格 ===== */
.children-section,
.cat-section {
  padding: 2rem 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.card-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.card-body h3 a {
  color: var(--dark);
  text-decoration: none;
}

.card-body h3 a:hover {
  text-decoration: underline dotted;
}

.card-date {
  font-size: 0.78rem;
  color: var(--mid);
  font-family: var(--font-mono);
  margin-bottom: 0.5rem;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-link {
  font-size: 0.825rem;
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1.5px solid var(--dark);
  padding-bottom: 1px;
}

.card-link:hover {
  opacity: 0.6;
}

/* ===== 栏目页 ===== */
.cat-hero-section {
  padding: 3rem 0 2rem;
  border-bottom: 2px solid var(--dark);
  margin-bottom: 2rem;
  position: relative;
}

.cat-hero-section::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 60%;
  border-bottom: 1.5px solid var(--ink);
  opacity: 0.3;
  transform: rotate(0.3deg);
}

.cat-desc {
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 60ch;
  line-height: 1.7;
  margin-top: 0.5rem;
}

/* 栏目子页列表 - article > section×n */
.children-list-section {
  padding: 1rem 0 2rem;
}

.list-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
}

.list-thumb-wrap {
  flex: 0 0 120px;
}

.list-thumb {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transform: rotate(-1deg);
}

.list-body {
  flex: 1;
  min-width: 0;
}

.list-body h3 {
  margin-bottom: 0.3rem;
}

.list-body h3 a {
  color: var(--dark);
  text-decoration: none;
}

.list-body h3 a:hover {
  text-decoration: underline dotted;
}

.list-date {
  font-size: 0.78rem;
  color: var(--mid);
  font-family: var(--font-mono);
  margin-bottom: 0.5rem;
}

.list-desc {
  font-size: 0.875rem;
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-link {
  font-size: 0.825rem;
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 1px;
}

.read-link:hover {
  opacity: 0.6;
}

/* ===== 文章页 ===== */
.article-header-section {
  padding: 2rem 0 1.5rem;
  border-bottom: 2px solid var(--dark);
  margin-bottom: 1.5rem;
}

.article-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.pub-date, .mod-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--mid);
  background: var(--paper);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px dashed var(--light);
}

.article-hero-wrap {
  margin-top: 1.25rem;
  border-radius: 12px;
  overflow: hidden;
}

.article-hero-img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 420px;
  object-fit: cover;
  transform: rotate(-0.5deg);
  filter: contrast(1.03);
}

.article-body-section {
  padding: 1.5rem 0;
}

.article-footer-section {
  padding: 1.5rem 0 2rem;
  border-top: 1.5px dashed var(--light);
  margin-top: 1rem;
}

.related-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.related-list li a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-block;
  border-bottom: 1px dotted var(--light);
  padding-bottom: 2px;
}

.related-list li a:hover {
  color: var(--dark);
  border-bottom-color: var(--ink);
}

/* ===== 关于页 ===== */
.about-intro-section {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2.5rem 0 2rem;
  border-bottom: 2px solid var(--dark);
  margin-bottom: 2rem;
}

.about-intro-text {
  flex: 1;
}

.about-tagline {
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 55ch;
  margin-top: 0.5rem;
  line-height: 1.7;
}

.about-intro-img {
  flex: 0 0 280px;
}

.about-hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  transform: rotate(1.5deg);
  box-shadow: 5px 5px 0 var(--light);
}

.about-content-section {
  padding: 1.5rem 0;
}

.about-links-section {
  padding: 1.5rem 0 2rem;
}

.about-sitemap {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.about-sitemap li a {
  display: block;
  padding: 0.75rem 1rem;
  background: var(--paper);
  border: 1.5px solid var(--light);
  border-radius: 8px;
  color: var(--dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transform: rotate(-0.3deg);
  min-height: 40px;
  line-height: 1.5;
}

.about-sitemap li a:hover {
  background: var(--dark);
  color: var(--bg);
  transform: rotate(0.5deg);
}

/* ===== 隐私政策页 ===== */
.privacy-header-section {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 2px solid var(--dark);
  margin-bottom: 2rem;
}

.privacy-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--mid);
  margin-top: 0.5rem;
}

.privacy-body-section {
  padding: 1.5rem 0;
}

.privacy-nav-section {
  padding: 1.5rem 0 2rem;
  border-top: 1.5px dashed var(--light);
  margin-top: 1rem;
}

.privacy-nav-section ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.privacy-nav-section ul li a {
  display: block;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  color: var(--dark);
  text-decoration: none;
  font-size: 0.875rem;
  min-height: 40px;
  line-height: 1.5;
}

.privacy-nav-section ul li a:hover {
  background: var(--dark);
  color: var(--bg);
}

/* ===== 栏目列表 ===== */
.cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.cat-list li a {
  display: block;
  padding: 0.75rem 1rem;
  background: var(--paper);
  border-left: 3px solid var(--dark);
  color: var(--dark);
  text-decoration: none;
  font-size: 0.95rem;
  min-height: 40px;
  line-height: 1.5;
  transform: rotate(-0.2deg);
}

.cat-list li a:hover {
  background: var(--dark);
  color: var(--bg);
  transform: rotate(0.2deg) translateX(4px);
}

/* ===== 标签页 ===== */
.tag-header-section {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 2px solid var(--dark);
  margin-bottom: 2rem;
}

.tag-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--mid);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.tag-desc-head {
  font-size: 1rem;
  color: var(--mid);
  margin-top: 0.5rem;
  max-width: 55ch;
  line-height: 1.7;
}

.tag-content-section {
  padding: 1rem 0;
}

.tag-list-section {
  padding: 0.5rem 0 2rem;
}

.tag-item {
  display: flex;
  margin-bottom: 1rem;
  border-radius: 16px;
}

.tag-item-body {
  padding: 1.25rem 1.5rem;
  flex: 1;
}

.tag-item-body h3 {
  margin-bottom: 0.35rem;
}

.tag-item-body h3 a {
  color: var(--dark);
  text-decoration: none;
}

.tag-item-body h3 a:hover {
  text-decoration: underline dotted;
}

.tag-date {
  font-size: 0.78rem;
  color: var(--mid);
  font-family: var(--font-mono);
  margin-bottom: 0.5rem;
}

.tag-desc {
  font-size: 0.875rem;
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Scroll Reveal ===== */
@media (prefers-reduced-motion: no-preference) {
  .glass-card,
  .list-item,
  .tag-item {
    opacity: 0;
    transform: translateY(16px) rotate(0.3deg);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .glass-card.revealed,
  .list-item.revealed,
  .tag-item.revealed {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }

  .cta-btn {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .glass-card,
  .list-item,
  .tag-item {
    opacity: 1;
    transform: none;
  }
}

/* ===== 响应式断点 ===== */
@media (max-width: 1100px) {
  :root {
    --nav-w: 220px;
    --aside-w: 190px;
  }
}

@media (max-width: 900px) {
  :root {
    --nav-w: 0px;
    --aside-w: 100%;
  }

  .side-nav {
    position: static;
    width: 100%;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 1rem 1.25rem;
    gap: 0.75rem;
  }

  .side-nav::after { display: none; }

  .nav-brand {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    flex: 0 0 auto;
  }

  .side-nav ol {
    flex-direction: row;
    flex-wrap: wrap;
    flex: 1;
    gap: 0.25rem;
  }

  .side-nav ol li a {
    padding: 0.5rem 0.75rem;
    min-height: 40px;
  }

  .nav-contact {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }

  .main-wrap {
    margin-left: 0;
    flex-direction: column;
  }

  main {
    padding: 1.5rem 1.25rem;
  }

  .side-aside {
    width: 100%;
    padding: 0 1.25rem 1.5rem;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .aside-block {
    flex: 1 1 200px;
    transform: none;
  }

  footer {
    margin-left: 0;
    padding: 2rem 1.25rem 1.5rem;
  }

  .hero-section {
    flex-direction: column;
    min-height: auto;
    padding: 2rem 1.25rem;
    margin: -1.5rem -1.25rem 0;
    gap: 1.5rem;
  }

  .hero-media {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .hero-text {
    text-align: left;
  }

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

  .about-intro-section {
    flex-direction: column;
  }

  .about-intro-img {
    flex: none;
    width: 100%;
  }
}

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

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

  .list-item {
    flex-direction: column;
  }

  .list-thumb-wrap {
    flex: none;
  }

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

  h1 {
    font-size: 1.6rem;
  }

  .footer-brand {
    font-size: 1.75rem;
  }

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

/* ===== 工具 ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0,0,0,0);
  overflow: hidden;
  white-space: nowrap;
}
