/* ==========================================================================
   每日大赛mrds社区 - 全站样式表
   视觉方向：自然科普风，白底，自然肌理配色，分类色块清晰
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Base - 基础样式
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2d3436;
  background-color: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #2d6a4f;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #1d3557;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  color: #2d3436;
}

/* 统一容器宽度 */
.header-inner,
.hero-content,
.section-block,
.footer-inner,
.breadcrumb,
.page-header,
.layout-shell,
.page-layout,
.help-inner,
.help-content,
.help-banner > p,
.related-links,
.feedback-help {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* 内页正文宽度控制 */
.inner-main .page-header,
.inner-main .breadcrumb,
.inner-main .intro-block,
.inner-main .intro-section,
.inner-main .steps-section,
.inner-main .scope-section,
.inner-main .faq-section,
.inner-main .rules-list-section,
.inner-main .violations-section,
.inner-main .report-section,
.inner-main .feedback-faq,
.inner-main .feedback-process,
.inner-main .feedback-scope,
.inner-main .chigua-intro,
.inner-main .topic-group,
.inner-main .post-guidance,
.inner-main .help-section,
.inner-main .help-banner {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* 页面标题区 */
.page-header {
  padding-top: 48px;
  padding-bottom: 24px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 12px;
}

.page-description {
  font-size: 16px;
  color: #636e72;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   2. Layout - 布局骨架
   -------------------------------------------------------------------------- */

/* 页头 */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e9ecef;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #2d6a4f;
  letter-spacing: 0.02em;
}

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #2d3436;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  color: #2d3436;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list li a:hover {
  background-color: #f0f7f4;
  color: #2d6a4f;
}

.nav-list li a.is-current {
  background-color: #2d6a4f;
  color: #ffffff;
}

/* 面包屑 */
.breadcrumb {
  padding-top: 20px;
  padding-bottom: 4px;
  font-size: 14px;
  color: #636e72;
}

.breadcrumb a {
  color: #2d6a4f;
}

.breadcrumb a:hover {
  color: #1d3557;
  text-decoration: underline;
}

.breadcrumb-sep {
  margin: 0 8px;
  color: #b2bec3;
}

.breadcrumb-current {
  color: #636e72;
}

/* 主内容区 */
.site-main {
  min-height: 60vh;
}

.inner-main {
  padding-bottom: 64px;
}

/* 页脚 */
.site-footer {
  background-color: #2d3436;
  color: #dfe6e9;
  padding: 48px 0 24px;
  margin-top: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .footer-name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 14px;
  color: #b2bec3;
  line-height: 1.6;
}

.footer-title {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-nav ul li {
  margin-bottom: 8px;
}

.footer-nav ul li a {
  color: #b2bec3;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-nav ul li a:hover {
  color: #ffffff;
}

.footer-info {
  grid-column: 1 / -1;
  border-top: 1px solid #4a5568;
  padding-top: 16px;
  margin-top: 16px;
  font-size: 13px;
  color: #b2bec3;
}

.footer-info .copyright {
  margin-top: 4px;
}

/* 内页双栏布局 */
.layout-shell {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
  padding-top: 24px;
}

.main-content {
  min-width: 0;
}

.suggestion-aside {
  position: sticky;
  top: 88px;
}

.page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
  padding-top: 24px;
}

.content-area {
  min-width: 0;
}

.boundary-aside {
  position: sticky;
  top: 88px;
}

/* --------------------------------------------------------------------------
   3. Components - 通用组件
   -------------------------------------------------------------------------- */

/* 区块标题 */
.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 15px;
  color: #636e72;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
}

.btn-primary {
  background-color: #2d6a4f;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #1d3557;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.2);
}

.btn-secondary {
  background-color: #ffffff;
  color: #2d6a4f;
  border: 1px solid #2d6a4f;
}

.btn-secondary:hover {
  background-color: #f0f7f4;
  color: #1d3557;
}

.btn-outline {
  background-color: transparent;
  color: #2d6a4f;
  border: 1px solid #2d6a4f;
}

.btn-outline:hover {
  background-color: #f0f7f4;
  color: #1d3557;
}

.btn-light {
  background-color: #ffffff;
  color: #2d6a4f;
}

.btn-light:hover {
  background-color: #f0f7f4;
  color: #1d3557;
}

/* 话题标签 */
.topic-tag {
  display: inline-block;
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  flex-shrink: 0;
}

.tag-green {
  background-color: #e8f5e9;
  color: #2d6a4f;
}

.tag-orange {
  background-color: #fff3e0;
  color: #e76f51;
}

.tag-red {
  background-color: #fdecea;
  color: #c0392b;
}

.tag-blue {
  background-color: #e3f2fd;
  color: #1d3557;
}

.tag-purple {
  background-color: #f0e6f6;
  color: #6d597a;
}

/* 话题列表 */
.topic-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.topic-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background-color: #fafafa;
  border-radius: 6px;
  border-left: 3px solid #2d6a4f;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.topic-item:hover {
  background-color: #f0f7f4;
  box-shadow: 0 2px 8px rgba(45, 106, 79, 0.08);
}

.topic-item a {
  font-size: 15px;
  color: #2d3436;
  flex: 1;
}

.topic-item a:hover {
  color: #2d6a4f;
}

/* FAQ 折叠 */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: #fafafa;
  border-radius: 6px;
  border: 1px solid #e9ecef;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #2d3436;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: #2d6a4f;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  background-color: #f0f7f4;
}

.faq-item p {
  padding: 0 20px 16px;
  font-size: 14px;
  color: #636e72;
  line-height: 1.7;
}

/* 帮助横幅 */
.help-banner {
  background-color: #f0f7f4;
  border-radius: 8px;
  padding: 32px 24px;
  margin-top: 48px;
  text-align: center;
}

.help-banner h2 {
  font-size: 20px;
  color: #2d3436;
  margin-bottom: 8px;
}

.help-banner p {
  font-size: 15px;
  color: #636e72;
  margin-bottom: 16px;
}

.help-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.help-links a {
  display: inline-block;
  padding: 8px 20px;
  background-color: #ffffff;
  border: 1px solid #2d6a4f;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #2d6a4f;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.help-links a:hover {
  background-color: #2d6a4f;
  color: #ffffff;
}

/* 侧栏卡片 */
.aside-card {
  background-color: #fafafa;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid #e9ecef;
}

.aside-title {
  font-size: 18px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 12px;
}

.aside-card p,
.aside-desc {
  font-size: 14px;
  color: #636e72;
  line-height: 1.7;
}

/* 图片容器 */
figure {
  margin: 0;
}

figcaption {
  font-size: 13px;
  color: #b2bec3;
  text-align: center;
  padding: 8px 0 0;
}

/* --------------------------------------------------------------------------
   4. Pages - 页面专属样式
   -------------------------------------------------------------------------- */

/* ===== 首页 ===== */
.home-main {
  padding-bottom: 0;
}

/* Hero 区 */
.hero-section {
  background-color: #f8fdf9;
  border-bottom: 1px solid #e9ecef;
  padding: 64px 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-text h1 {
  font-size: 36px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 16px;
  line-height: 1.3;
}

.hero-lead {
  font-size: 17px;
  color: #636e72;
  line-height: 1.7;
  margin-bottom: 24px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-visual {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid #e9ecef;
}

.hero-visual img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 6px;
}

.source-note {
  font-size: 13px;
  color: #b2bec3;
  text-align: right;
  padding-top: 8px;
}

/* 今日话题 */
.section-block {
  padding: 48px 0;
}

.section-header {
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 8px;
}

/* 版块速览 */
.board-grid {
  background-color: #fafafa;
}

.board-grid-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.board-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid #e9ecef;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.board-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.board-name {
  font-size: 18px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 8px;
}

.board-desc {
  font-size: 14px;
  color: #636e72;
  line-height: 1.6;
  margin-bottom: 16px;
}

.board-link {
  font-size: 14px;
  font-weight: 600;
  color: #2d6a4f;
}

.board-link:hover {
  color: #1d3557;
  text-decoration: underline;
}

/* 双栏精选 */
.dual-feature {
  background-color: #ffffff;
}

.dual-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.feature-col {
  background-color: #fafafa;
  border-radius: 8px;
  padding: 24px;
}

.campus-col {
  border-top: 3px solid #f4a261;
}

.chigua-col {
  border-top: 3px solid #e76f51;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 16px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.feature-list li a {
  display: block;
  padding: 10px 12px;
  background-color: #ffffff;
  border-radius: 6px;
  font-size: 14px;
  color: #2d3436;
  border: 1px solid #e9ecef;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.feature-list li a:hover {
  border-color: #2d6a4f;
  color: #2d6a4f;
}

.more-link {
  font-size: 14px;
  font-weight: 600;
  color: #2d6a4f;
}

.more-link:hover {
  color: #1d3557;
  text-decoration: underline;
}

.dual-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}

/* 参与方式 */
.participation {
  background-color: #fafafa;
}

.participate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.participate-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 32px;
  border: 1px solid #e9ecef;
}

.participate-title {
  font-size: 20px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 12px;
}

.participate-text {
  font-size: 15px;
  color: #636e72;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* 帮助横幅（首页） */
.help-banner .help-content {
  text-align: center;
}

.help-content h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.help-content p {
  font-size: 15px;
  color: #636e72;
  margin-bottom: 16px;
}

/* ===== 版块导航页 ===== */
.intro-block {
  padding-top: 24px;
}

.intro-block p {
  font-size: 15px;
  color: #636e72;
  line-height: 1.7;
  margin-bottom: 12px;
}

.board-list-section {
  padding: 32px 0;
}

.section-heading-wrap {
  margin-bottom: 24px;
}

.board-group {
  margin-bottom: 32px;
}

.group-title {
  font-size: 18px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e9ecef;
}

.board-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.board-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background-color: #fafafa;
  border-radius: 6px;
  border: 1px solid #e9ecef;
  transition: box-shadow 0.2s ease;
}

.board-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.board-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
}

.board-tag-daily {
  background-color: #e8f5e9;
  color: #2d6a4f;
}

.board-tag-chigua {
  background-color: #fdecea;
  color: #e76f51;
}

.board-tag-campus {
  background-color: #fff3e0;
  color: #f4a261;
}

.board-tag-subject {
  background-color: #e3f2fd;
  color: #1d3557;
}

.board-tag-sports {
  background-color: #e8f5e9;
  color: #2d6a4f;
}

.board-tag-club {
  background-color: #f0e6f6;
  color: #6d597a;
}

.board-tag-match {
  background-color: #fdecea;
  color: #c0392b;
}

.board-tag-news {
  background-color: #e3f2fd;
  color: #1d3557;
}

.board-tag-fun {
  background-color: #fff3e0;
  color: #e76f51;
}

.board-tag-backstage {
  background-color: #f0e6f6;
  color: #6d597a;
}

.board-tag-guide {
  background-color: #e8f5e9;
  color: #2d6a4f;
}

.board-tag-rules {
  background-color: #fdecea;
  color: #c0392b;
}

.board-tag-feedback {
  background-color: #e3f2fd;
  color: #1d3557;
}

.board-tag-inter {
  background-color: #fff3e0;
  color: #f4a261;
}

.board-info {
  min-width: 0;
}

.board-info .board-name {
  font-size: 16px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 4px;
}

.board-info .board-desc {
  font-size: 14px;
  color: #636e72;
  line-height: 1.6;
}

.board-figure {
  margin-top: 32px;
}

.board-figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
}

/* 版块选择建议 */
.suggestion-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.suggestion-list li {
  padding: 16px;
  background-color: #fafafa;
  border-radius: 6px;
  border-left: 3px solid #2d6a4f;
}

.suggestion-list strong {
  display: block;
  font-size: 15px;
  color: #2d3436;
  margin-bottom: 4px;
}

.suggestion-list li p {
  font-size: 14px;
  color: #636e72;
  line-height: 1.6;
}

/* 帮助块 */
.help-block {
  background-color: #f0f7f4;
  border-radius: 8px;
  padding: 32px 24px;
  margin-top: 48px;
}

.help-inner {
  text-align: center;
}

.help-title {
  font-size: 20px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 16px;
}

/* ===== 吃瓜爆料页 ===== */
.chigua-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 40px;
}

.intro-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

.intro-text h2 {
  font-size: 22px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 12px;
}

.intro-text p {
  font-size: 15px;
  color: #636e72;
  line-height: 1.7;
  margin-bottom: 12px;
}

.topic-group {
  margin-bottom: 40px;
}

.topic-group h2 {
  font-size: 22px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 8px;
}

.topic-category {
  margin-bottom: 24px;
}

.topic-category h3 {
  font-size: 17px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid #e9ecef;
}

.topic-category .topic-list .topic-item {
  border-left-color: #e76f51;
}

.topic-category .topic-desc {
  font-size: 14px;
  color: #636e72;
  line-height: 1.6;
  margin-top: 4px;
}

/* 吃瓜边界侧栏 */
.boundary-aside {
  background-color: #fafafa;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid #e9ecef;
}

.boundary-aside h2 {
  font-size: 18px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 12px;
}

.boundary-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.boundary-item {
  padding: 12px;
  background-color: #ffffff;
  border-radius: 6px;
  border-left: 3px solid #e76f51;
  font-size: 14px;
  color: #636e72;
  line-height: 1.6;
}

.aside-note {
  font-size: 14px;
  color: #636e72;
  line-height: 1.6;
}

.aside-note a {
  color: #2d6a4f;
  font-weight: 600;
}

/* 帮助区 */
.help-section {
  background-color: #f0f7f4;
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
}

.help-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 12px;
}

.help-section p {
  font-size: 15px;
  color: #636e72;
  margin-bottom: 12px;
}

.help-section a {
  display: inline-block;
  padding: 8px 20px;
  background-color: #ffffff;
  border: 1px solid #2d6a4f;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #2d6a4f;
  margin: 0 6px;
}

.help-section a:hover {
  background-color: #2d6a4f;
  color: #ffffff;
}

/* ===== 校园大赛页 ===== */
.category-grid {
  padding: 32px 0;
}

.category-grid-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  background-color: #fafafa;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid #e9ecef;
  border-top: 3px solid #f4a261;
  transition: box-shadow 0.2s ease;
}

.category-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.category-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 8px;
}

.category-card p {
  font-size: 14px;
  color: #636e72;
  line-height: 1.6;
  margin-bottom: 12px;
}

.category-card a {
  font-size: 14px;
  font-weight: 600;
  color: #2d6a4f;
}

.category-card a:hover {
  color: #1d3557;
  text-decoration: underline;
}

.topic-list-block {
  padding: 32px 0;
}

.topic-list-header {
  margin-bottom: 24px;
}

.topic-list-block .topic-list .topic-item {
  border-left-color: #f4a261;
}

.campus-figure {
  margin-top: 32px;
}

.campus-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
}

/* 校园标签颜色 */
.tag-discipline {
  background-color: #e3f2fd;
  color: #1d3557;
}

.tag-sports {
  background-color: #e8f5e9;
  color: #2d6a4f;
}

.tag-club {
  background-color: #f0e6f6;
  color: #6d597a;
}

.tag-intercollege {
  background-color: #fff3e0;
  color: #f4a261;
}

/* 发帖说明 */
.post-guidance {
  background-color: #fafafa;
  border-radius: 8px;
  padding: 32px 24px;
  margin-top: 32px;
}

.guidance-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.guidance-card {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 20px;
  border: 1px solid #e9ecef;
}

.guidance-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 8px;
}

.guidance-card p {
  font-size: 14px;
  color: #636e72;
  line-height: 1.6;
}

/* 校园页帮助横幅 */
.help-banner p {
  font-size: 15px;
  color: #636e72;
}

.help-banner a {
  display: inline-block;
  padding: 8px 20px;
  background-color: #ffffff;
  border: 1px solid #2d6a4f;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #2d6a4f;
  margin: 0 6px;
  margin-top: 8px;
}

.help-banner a:hover {
  background-color: #2d6a4f;
  color: #ffffff;
}

/* ===== 发帖指南页 ===== */
.intro-section {
  padding-top: 24px;
}

.intro-section p {
  font-size: 15px;
  color: #636e72;
  line-height: 1.7;
  margin-bottom: 12px;
}

.steps-section {
  padding: 32px 0;
}

.section-intro {
  font-size: 15px;
  color: #636e72;
  margin-bottom: 24px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background-color: #fafafa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #2d6a4f;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 14px;
  color: #636e72;
  line-height: 1.7;
}

.step-item p a {
  color: #2d6a4f;
  font-weight: 600;
}

/* 内容范围 */
.scope-section {
  padding: 32px 0;
}

.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.scope-col {
  background-color: #fafafa;
  border-radius: 8px;
  padding: 24px;
}

.scope-allowed {
  border-top: 3px solid #2d6a4f;
}

.scope-blocked {
  border-top: 3px solid #e76f51;
}

.scope-col h3 {
  font-size: 17px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 16px;
}

.scope-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scope-col ul li {
  padding: 10px 12px;
  background-color: #ffffff;
  border-radius: 6px;
  font-size: 14px;
  color: #636e72;
  line-height: 1.6;
  border: 1px solid #e9ecef;
}

.scope-tip {
  margin-top: 16px;
  font-size: 14px;
  color: #636e72;
}

.scope-tip a {
  color: #2d6a4f;
  font-weight: 600;
}

/* 指南配图 */
.guide-media {
  margin: 32px 0;
}

.guide-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
}

/* FAQ 区 */
.faq-section {
  padding: 32px 0;
}

.faq-section .section-intro a {
  color: #2d6a4f;
  font-weight: 600;
}

/* 指南页帮助横幅 */
.help-banner {
  margin-top: 32px;
}

/* ===== 社区规则页 ===== */
.intro-content {
  font-size: 15px;
  color: #636e72;
  line-height: 1.7;
}

.intro-content p {
  margin-bottom: 12px;
}

.intro-media {
  margin-top: 24px;
}

.intro-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.rules-list-section {
  padding: 32px 0;
}

.rules-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rule-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background-color: #fafafa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.rule-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #6d597a;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.rule-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 6px;
}

.rule-body p {
  font-size: 14px;
  color: #636e72;
  line-height: 1.7;
}

.violations-section {
  padding: 32px 0;
}

.violations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.violation-card {
  background-color: #fafafa;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid #e9ecef;
}

.violation-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 12px;
}

.violation-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.violation-card ul li {
  padding: 8px 12px;
  background-color: #ffffff;
  border-radius: 4px;
  font-size: 14px;
  color: #636e72;
  border-left: 3px solid #e76f51;
}

.violations-note {
  margin-top: 16px;
  font-size: 14px;
  color: #636e72;
}

.report-section {
  padding: 32px 0;
}

.report-section p {
  font-size: 15px;
  color: #636e72;
  line-height: 1.7;
  margin-bottom: 12px;
}

.report-tips {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.report-tips li {
  padding: 10px 16px;
  background-color: #fafafa;
  border-radius: 6px;
  font-size: 14px;
  color: #636e72;
  border-left: 3px solid #2d6a4f;
}

/* 规则页帮助横幅 */
.help-banner {
  margin-top: 32px;
}

/* 相关链接 */
.related-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 24px;
  padding-bottom: 24px;
}

.related-links-label {
  font-size: 14px;
  font-weight: 600;
  color: #2d3436;
}

.related-links-item {
  font-size: 14px;
  color: #2d6a4f;
  padding: 6px 14px;
  background-color: #fafafa;
  border-radius: 4px;
  border: 1px solid #e9ecef;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.related-links-item:hover {
  background-color: #f0f7f4;
  color: #1d3557;
}

/* ===== 问题反馈页 ===== */
.feedback-hero-media {
  margin: 24px 0 32px;
}

.feedback-hero-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

.feedback-faq {
  padding: 32px 0;
}

.feedback-faq h2 {
  font-size: 22px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 8px;
}

.feedback-process {
  padding: 32px 0;
}

.feedback-process h2 {
  font-size: 22px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 8px;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.process-step {
  display: flex;
  gap: 16px;
  padding: 20px;
  background-color: #fafafa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #1d3557;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.process-step h3 {
  font-size: 16px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 6px;
}

.process-step p {
  font-size: 14px;
  color: #636e72;
  line-height: 1.7;
}

.feedback-scope {
  padding: 32px 0;
}

.feedback-scope h2 {
  font-size: 22px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 8px;
}

.scope-card {
  background-color: #fafafa;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid #e9ecef;
  border-top: 3px solid #2d6a4f;
}

.scope-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 8px;
}

.scope-card p {
  font-size: 14px;
  color: #636e72;
  line-height: 1.7;
}

.feedback-help {
  padding-top: 32px;
}

.feedback-help .help-links {
  justify-content: flex-start;
}

.help-link {
  display: inline-block;
  padding: 8px 20px;
  background-color: #fafafa;
  border: 1px solid #2d6a4f;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #2d6a4f;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.help-link:hover {
  background-color: #2d6a4f;
  color: #ffffff;
}

/* ===== 404 页 ===== */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 48px 24px;
}

.error-content {
  text-align: center;
  max-width: 560px;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: #2d6a4f;
  line-height: 1;
  margin-bottom: 16px;
}

.error-content h1 {
  font-size: 24px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 16px;
  color: #636e72;
  line-height: 1.7;
  margin-bottom: 24px;
}

.error-link {
  display: inline-block;
  padding: 10px 24px;
  background-color: #2d6a4f;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  min-height: 44px;
  line-height: 44px;
  transition: background-color 0.2s ease;
}

.error-link:hover {
  background-color: #1d3557;
  color: #ffffff;
}

.error-help {
  margin-top: 16px;
  font-size: 14px;
  color: #b2bec3;
}

/* --------------------------------------------------------------------------
   5. Responsive - 响应式
   -------------------------------------------------------------------------- */

/* 平板 */
@media (max-width: 1024px) {
  .board-grid-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .layout-shell,
  .page-layout {
    grid-template-columns: 1fr 280px;
    gap: 24px;
  }
}

/* 手机 */
@media (max-width: 768px) {
  .header-inner {
    height: 56px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
    padding: 8px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list li a {
    padding: 12px 16px;
    font-size: 16px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .site-nav {
    position: relative;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-visual img {
    height: 200px;
  }

  .board-grid-list {
    grid-template-columns: 1fr;
  }

  .dual-columns {
    grid-template-columns: 1fr;
  }

  .dual-images {
    grid-template-columns: 1fr;
  }

  .participate-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-info {
    grid-column: 1;
    margin-top: 8px;
  }

  .layout-shell,
  .page-layout {
    grid-template-columns: 1fr;
  }

  .suggestion-aside,
  .boundary-aside {
    position: static;
    margin-top: 24px;
  }

  .board-list {
    grid-template-columns: 1fr;
  }

  .board-figure img {
    height: 200px;
  }

  .chigua-intro {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .intro-media img {
    height: 180px;
  }

  .category-grid-inner {
    grid-template-columns: 1fr;
  }

  .guidance-cards {
    grid-template-columns: 1fr;
  }

  .scope-grid {
    grid-template-columns: 1fr;
  }

  .violations-grid {
    grid-template-columns: 1fr;
  }

  .step-item {
    flex-direction: column;
    gap: 12px;
  }

  .step-number {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .process-step {
    flex-direction: column;
    gap: 12px;
  }

  .step-num {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  .page-title {
    font-size: 26px;
  }

  .section-title {
    font-size: 20px;
  }

  .help-links {
    flex-direction: column;
    align-items: stretch;
  }

  .help-links a {
    text-align: center;
    margin: 4px 0;
  }

  .rule-item {
    flex-direction: column;
    gap: 8px;
  }

  .related-links {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* 小屏手机 */
@media (max-width: 390px) {
  .header-inner,
  .hero-content,
  .section-block,
  .footer-inner,
  .breadcrumb,
  .page-header,
  .layout-shell,
  .page-layout,
  .help-inner,
  .help-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-text h1 {
    font-size: 24px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .btn {
    padding: 10px 16px;
    font-size: 14px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .board-card {
    padding: 20px;
  }

  .feature-col {
    padding: 20px;
  }

  .participate-card {
    padding: 24px 20px;
  }

  .topic-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .topic-item a {
    font-size: 14px;
  }

  .page-title {
    font-size: 24px;
  }

  .page-description {
    font-size: 15px;
  }

  .section-title {
    font-size: 19px;
  }

  .board-item {
    flex-direction: column;
    gap: 8px;
  }

  .board-tag {
    margin-top: 0;
  }

  .category-card {
    padding: 20px;
  }

  .guidance-card {
    padding: 16px;
  }

  .scope-col {
    padding: 20px;
  }

  .violation-card {
    padding: 20px;
  }

  .process-step {
    padding: 16px;
  }

  .step-item {
    padding: 16px;
  }

  .error-code {
    font-size: 56px;
  }
}

/* 动画减弱偏好 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
