
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.container {
    width: 90%;
    margin: 0 auto;
}

header {
    background-color: #800000;
    padding: 20px 0;
    color: white;
    
}

header .logo img {
    width: 200px;
}

/* 让 hero 有明确高度并建立定位上下文 */
#hero {
  position: relative;
  min-height: 60vh;            /* 可按需改为 70vh/80vh 或固定像素高度 */
  padding: 100px 0;            /* 你的内边距可按设计调整 */
  display: grid;
  place-items: center;
  overflow: hidden;            /* 避免绝对定位图片溢出 */
}

/* 背景图填满整个 section */
#hero .hero-bg {
  position: absolute;
  inset: 0;                    /* 等价于 top/right/bottom/left: 0 */
  width: 100%;
  height: 100%;
  object-fit: cover;           /* 关键：保持比例并裁切以铺满容器 */
  z-index: 0;
  pointer-events: none;        /* 防止挡住按钮点击 */
}

/* 内容在图上方显示 */
#hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;                 /* 视图上通常需要白字 */
}

/* 可选：按钮样式示例 */
#hero .cta-button {
  background-color: #800000;
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 6px;
  font-size: 1.1rem;
}

nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-size: 16px;
}

.auth-links a {
    color: white;
    background-color: #444;
    padding: 10px 20px;
    margin: 0 10px;
    text-decoration: none;
    border-radius: 5px;
}

#hero {
    background-color: #e0e0e0;
    padding: 40px 0;
    text-align: center;
}



#hero .cta-button {
    background-color: #800000;
    padding: 15px 30px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

#quick-search {
    background-color: white;
    padding: 40px 0;
    text-align: center;
}

#quick-search form {
    display: inline-block;
    background-color: #fafafa;
    padding: 20px;
    border-radius: 5px;
}

#quick-search button {
    background-color: #800000;
    padding: 10px 20px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

footer {
    background-color: #800000;
    color: white;
    padding: 20px 0;
    text-align: center;
}

/* 展示板块基础样式 */
#member-showcase {
  padding: 56px 0;
  background: #fff;
}

#member-showcase .section-title {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 28px;
}

/* 资料卡网格 */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

/* 单个资料卡 */
.profile-card {
  background: #fafafa;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
}

/* 头像样式：正方形并裁切 */
.profile-card .avatar {
  width: 100%;
  aspect-ratio: 1 / 1;   /* 关键：强制正方形 */
  object-fit: cover;     /* 填满并保持比例 */
  border-radius: 12px;
  display: block;
  margin-bottom: 12px;
}

/* 文本信息 */
.profile-card .name {
  font-size: 1.05rem;
  margin: 6px 0 4px;
}

.profile-card .meta {
  color: #555;
  font-size: .95rem;
}

/* 响应式：缩小到 3/2 列 */
@media (max-width: 1024px) {
  .profiles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .profiles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .profiles-grid { grid-template-columns: 1fr; }
}

/* About 区域 */
#about {
  padding: 64px 0;
  background: #ffffff;
}

#about .section-title {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 28px;
}

/* 两栏布局：左侧文本，右侧数据卡 */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  align-items: start;
}

/* 文本与要点 */
.about-text p {
  margin: 0 0 14px;
  line-height: 1.7;
}

.about-bullets {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.about-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed #e6e6e6;
}

.about-bullets li:last-child {
  border-bottom: 0;
}

.about-bullets .tick {
  display: inline-block;
  min-width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  border-radius: 999px;
  background: #800000;
  color: #fff;
  font-size: 0.85rem;
  translate: 0 2px;
}

/* 右侧数据卡 */
.about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.stat {
  background: #fafafa;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  text-align: center;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #800000;
  letter-spacing: .5px;
}

.stat-label {
  margin-top: 6px;
  color: #555;
}

/* 说明文字 */
.about-note {
  margin-top: 14px;
  font-size: .9rem;
  color: #777;
  text-align: center;
}

/* 响应式：窄屏改为单列堆叠 */
@media (max-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .about-stats {
    grid-template-columns: 1fr;
  }
}
/* Blog 区域 */
#blog {
  padding: 64px 0;
  background: #fff;
}

#blog .section-title {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 28px;
}

/* 网格布局 */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* 卡片 */
.post-card {
  background: #fafafa;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
}

/* 封面图：16:9 并裁切铺满 */
.post-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* 文本区 */
.post-body {
  padding: 16px 16px 18px;
  display: grid;
  gap: 10px;
}

.post-tag {
  align-self: start;
  font-size: .8rem;
  background: #800000;
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  text-decoration: none;
}

.post-title {
  font-size: 1.05rem;
  line-height: 1.4;
  margin: 0;
}

.post-title a {
  color: #111;
  text-decoration: none;
}

.post-title a:hover {
  text-decoration: underline;
}

.post-excerpt {
  color: #555;
  margin: 0;
}

.post-meta {
  display: flex;
  justify-content: flex-end;
}

.read-more {
  color: #800000;
  text-decoration: none;
  font-weight: 600;
}

.read-more:hover {
  text-decoration: underline;
}

/* 底部 CTA */
.blog-cta {
  text-align: center;
  margin-top: 24px;
}

.cta-button.secondary {
  background: transparent;
  color: #800000;
  border: 2px solid #800000;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
}

/* 响应式 */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* Stories 区域 */
#stories {
  padding: 64px 0;
  background: #fff;
}

#stories .section-title {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 28px;
}

/* 网格布局：两列 */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

/* 单个故事卡片 */
.story-card {
  background: #fafafa;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  display: grid;
  gap: 12px;
}

.story-title {
  margin: 0;
  font-size: 1.1rem;
  color: #111;
}

/* 引文文本，带引号装饰 */
.story-text {
  position: relative;
  margin: 0;
  color: #333;
  line-height: 1.7;
  padding-left: 28px;
}

.story-text::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -6px;
  font-size: 2rem;
  color: #800000;
  line-height: 1;
}

/* 作者与地点 */
.story-meta {
  margin: 0;
  color: #555;
  font-size: .95rem;
}

/* 响应式：窄屏单列 */
@media (max-width: 720px) {
  .stories-grid { grid-template-columns: 1fr; }
}

/* CTA 区域 */
#cta {
  padding: 64px 0;
  background: linear-gradient(180deg, #800000 0%, #a33 100%);
  color: #fff;
  text-align: center;
}

#cta .section-title {
  color: #fff;
  margin-bottom: 10px;
}

#cta .cta-subtitle {
  margin: 0 auto 18px;
  max-width: 680px;
  line-height: 1.7;
  opacity: .95;
}

/* 动作按钮 */
#cta .cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* 复用全站按钮类并在 CTA 内覆盖样式 */
#cta .cta-button {
  background: #fff;          /* 覆盖为白底 */
  color: #800000;
  border: 2px solid #fff;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

#cta .cta-button:hover {
  filter: brightness(0.95);
}

#cta .cta-button.secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

/* 细则 */
#cta .cta-fineprint {
  margin-top: 14px;
  font-size: .9rem;
  opacity: .85;
}

#cta .cta-fineprint a {
  color: #fff;
  text-decoration: underline;
}

/* 响应式 */
@media (max-width: 560px) {
  #cta { padding: 52px 0; }
}

/* 基础：铺满+定位 */
#hero {
  position: relative;
  min-height: 70vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 100px 0;
}

/* 背景图铺满 section */
#hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* 深色叠层，提升文字对比度 */
#hero .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  
}

/* 文本内容在最上层 */
#hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 900px;
  padding: 0 16px;
}

/* 标题/正文：白字+柔和阴影 */
#hero h1 {
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.1;
  margin: 0 0 16px;
  text-shadow: 0 6px 24px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.35);
}
#hero p {
  font-size: clamp(16px, 2.2vw, 20px);
  margin: 0 0 24px;
  text-shadow: 0 3px 12px rgba(0,0,0,.4);
}

/* CTA 按钮更突出 */
#hero .cta-button {
  background-color: #800000;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,.9);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
#hero .cta-button:hover {
  filter: brightness(0.95);
}
.cta-fineprint a{
    color: white;
}
/* 标题徽章与副标题 */
#member-showcase .title-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 10px;
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  background: #0a7c2e;           /* 深绿色 = 安全/可信 */
  border-radius: 999px;
  vertical-align: middle;
}

#member-showcase .section-subtitle {
  text-align: center;
  color: #444;
  margin: -6px auto 18px;
  max-width: 720px;
}

/* 资料卡“Verified”徽章 */
.profile-card {
  position: relative;             /* 让徽章可绝对定位到卡片内 */
}

.verified-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
  background: #0a7c2e;            /* 与标题徽章同色 */
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}

/* 小对勾图标（纯 CSS） */
.verified-badge::before {
  content: "✓";
  font-weight: 900;
  line-height: 1;
}

/* ===== GFE scoped patch (append to end of css/style.css) ===== */
.gfe-page .page-header{padding-top:2rem;}
.gfe-page .hero-figure{margin:.75rem 0 1.25rem;border-radius:16px;overflow:hidden;box-shadow:0 12px 40px rgba(0,0,0,.35);}
.gfe-page .hero-figure img{aspect-ratio:15/8;object-fit:cover;width:100%;}
.gfe-page .section{padding-top:.5rem;border-top:1px solid rgba(255,255,255,.06);margin-top:1rem;}
.gfe-page .checklist li{position:relative;padding-left:1.4rem;}
.gfe-page .checklist li::before{content:"✓";position:absolute;left:0;top:.1rem;color:#2fd5c3;font-weight:700;}
.gfe-page .bullets li{list-style:disc;}
.gfe-page .cta{background:linear-gradient(180deg,rgba(34,182,168,.08),rgba(34,182,168,.02));border:1px solid rgba(47,213,195,.15);border-radius:16px;padding:1.25rem;}
.gfe-page .cta-button{display:inline-block;padding:.75rem 1.1rem;background:#22b6a8;color:#07211f;font-weight:700;text-decoration:none;border-radius:999px;box-shadow:0 6px 18px rgba(34,182,168,.35);transition:transform .1s ease,box-shadow .2s ease;}
.gfe-page .cta-button:hover{transform:translateY(-1px);box-shadow:0 10px 26px rgba(34,182,168,.45);}
.gfe-page .note-legal{color:#8fb4bd;font-size:.9rem;margin-top:.5rem;}
.gfe-page .page-meta{color:#cfe2e8;border-top:1px solid rgba(255,255,255,.06);margin-top:2rem;padding-bottom:2.5rem;}
.gfe-page .sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
/* ===== GFE scoped patch (append to end of css/style.css) ===== */

/* 版心与阅读留白 */
.gfe-page .content{
  width: min(980px, 92vw);
  margin: 0 auto;
  padding: 1rem 0 2rem;
  text-align: left;
}

/* H 标题层级与间距（不影响全站其他页面） */
.gfe-page h1, .gfe-page h2, .gfe-page h3 { line-height: 1.25; margin: 0 0 .7em; }
.gfe-page h1 { font-size: clamp(1.9rem, 2.4vw + 1.2rem, 2.4rem); }
.gfe-page h2 { font-size: clamp(1.3rem, 1.4vw + 1rem, 1.7rem); margin-top: 1.1rem; }
.gfe-page h3 { font-size: clamp(1.05rem, 1vw + .9rem, 1.25rem); margin-top: .9rem; }

/* 段落间距 */
.gfe-page p { margin: 0 0 1rem; }

/* H1 下插图样式 */
.gfe-page .hero-figure{
  margin: .75rem 0 1.25rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.gfe-page .hero-figure img{
  aspect-ratio: 15 / 8;
  object-fit: cover;
  width: 100%;
}

/* 列表：checklist + bullets */
.gfe-page .checklist li{ position: relative; padding-left: 1.4rem; margin: .25rem 0; }
.gfe-page .checklist li::before{
  content: "✓"; position: absolute; left: 0; top: .1rem;
  color: #2fd5c3; font-weight: 700;
}
.gfe-page .bullets li{ list-style: disc; margin: .25rem 0; }

/* CTA */
.gfe-page .cta-button{
  display: inline-block; padding: .72rem 1.05rem;
  background: #22b6a8; color: #07211f; font-weight: 700;
  text-decoration: none; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(34,182,168,.35);
  transition: transform .1s ease, box-shadow .2s ease;
}
.gfe-page .cta-button:hover{ transform: translateY(-1px); box-shadow: 0 10px 26px rgba(34,182,168,.45); }
.gfe-page .note-legal{ color: #8fb4bd; font-size: .92rem; margin-top: .5rem; }

/* 无障碍隐藏 */
.gfe-page .sr-only{
  position: absolute !important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip: rect(0,0,0,0); white-space:nowrap; border:0;
}
.blog-page .content{
  width: min(980px, 92vw);
  margin: 0 auto;
  padding: 1rem 0 2rem;
  text-align: left;
}
.blog-page .hero-figure{
  margin: .75rem 0 1.25rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.blog-page .hero-figure img{
  aspect-ratio: 15 / 8;
  object-fit: cover;
  width: 100%;
}
.blog-page .bullets li{ list-style: disc; margin: .25rem 0; }
.blog-page .checklist li{ position: relative; padding-left: 1.4rem; margin: .25rem 0; }
.blog-page .checklist li::before{ content: "✓"; position: absolute; left: 0; top: .1rem; color: #2fd5c3; font-weight: 700; }
.link-list{ margin: .5rem 0 1.25rem 1.1rem; }
.link-list li{ margin: .35rem 0; }
.link-list a{ text-decoration: none; }
.link-list a:hover{ text-decoration: underline; }
.related-posts{ margin-top: 1.25rem; padding-top: .5rem; border-top: 1px solid rgba(255,255,255,.08); }
.blog-page .post-meta{margin:.5rem 0 1.1rem;font-size:.95rem;color:#9fb3bd}
.blog-page .post-meta a{color:inherit;text-decoration:none;border-bottom:1px dotted rgba(255,255,255,.35)}
.blog-page .post-meta a:hover{text-decoration:underline;border-bottom:0}
/* ========= 通用排版优化（仅作用于 blog 文章区） ========= */

.blog-article {
  max-width: 760px;
  margin: 40px auto 60px;
  font-size: 1.05rem;          /* 稍微比默认大一点 */
  line-height: 1.8;
  color: #1f2933;
}

.blog-article .section-title {
  font-size: 2.1rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.blog-article p,
.blog-article ul,
.blog-article ol {
  margin-bottom: 0.9rem;
}

.blog-article li {
  margin-bottom: 0.4rem;
}

/* 首段引言稍微大一点，更容易带入阅读 */
.blog-article .intro {
  font-size: 1.12rem;
  line-height: 1.9;
  margin-top: 0.8rem;
  margin-bottom: 1.8rem;
  color: #111827;
}

/* 小标题层级更清晰 */
.blog-article h2 {
  font-size: 1.5rem;
  margin-top: 2.2rem;
  margin-bottom: 0.6rem;
  padding-left: 0.6rem;
  border-left: 3px solid #3b82f6; /* 细蓝线强调标题 */
}

.blog-article h3 {
  font-size: 1.15rem;
  margin-top: 1.6rem;
  margin-bottom: 0.4rem;
}

/* 示例文字块（.example 段落）高亮成浅色框 */
.blog-article .example {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: #f3f4ff;
  border: 1px solid #e0e7ff;
  font-style: italic;
  margin-bottom: 1rem;
}

/* ========= 作者信息块（post-meta）美化 ========= */

.blog-article .post-meta {
  margin: 0 0 1.8rem;
  padding: 0.85rem 1.1rem;
  background: #f5f7fa;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-size: 0.9rem;
  color: #4b5563;
}

.blog-article .post-meta .byline,
.blog-article .post-meta .byline-links {
  margin: 0;
}

.blog-article .post-meta .byline {
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.blog-article .post-meta .byline time {
  color: #6b7280;
}

.blog-article .post-meta a {
  color: #2563eb;
  text-decoration: none;
}

.blog-article .post-meta a:hover {
  text-decoration: underline;
}

/* 桌面端：作者行与社交链接左右排布 */
@media (min-width: 768px) {
  .blog-article .post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .blog-article .post-meta .byline {
    margin-bottom: 0;
  }
}

/* ========= CTA 区域（文章底部「更多指南」卡片） ========= */

.blog-article .article-cta {
  margin-top: 2rem;
  padding: 1.4rem 1.6rem;
  background: #f4f9ff;
  border-radius: 12px;
  border: 1px solid #dbeafe;
}

.blog-article .article-cta p {
  margin-bottom: 0.6rem;
}

.blog-article .article-cta .cta-button {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.95rem;
  padding: 0.6rem 1.2rem;
}

/* ========= 下一篇推荐 article-nav 美化 ========= */

.article-nav {
  margin-top: 2.5rem;
  padding: 1rem 1.3rem;
  border-radius: 999px;               /* 胶囊形条 */
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.article-nav p {
  margin: 0;
  font-size: 0.95rem;
  color: #4b5563;
}

.article-nav p::before {
  content: "⇢";
  margin-right: 0.4rem;
  color: #9ca3af;
}

.article-nav a {
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.article-nav a:hover {
  border-bottom-color: #2563eb;
}

/* 手机端：下一篇推荐块改为上下堆叠，避免被挤压 */
@media (max-width: 640px) {
  .article-nav {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 12px;
  }
}
