/* 模捷作官网主题 - 公共样式 */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', 'Source Han Sans SC', system-ui, sans-serif;
  background-color: #F8F8F8;
  color: #333333;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* 通用卡片阴影 */
.shadow-card {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.shadow-card-hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
}

/* 页面内容区样式 */
.page-content h2,
.prose h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1E1E1E;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.page-content h3,
.prose h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1E1E1E;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.page-content p,
.prose p {
  margin-bottom: 1rem;
  line-height: 1.75;
  color: #333333;
}

.page-content ul,
.prose ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.page-content ol,
.prose ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.page-content li,
.prose li {
  margin-bottom: 0.5rem;
  color: #333333;
}

.page-content a,
.prose a {
  color: #15244F;
  text-decoration: none;
}

.page-content a:hover,
.prose a:hover {
  text-decoration: underline;
}

.prose img {
  border-radius: 0.75rem;
  margin: 1.5rem 0;
}

.prose blockquote {
  border-left: 4px solid #15244F;
  padding-left: 1rem;
  font-style: italic;
  color: #666666;
  margin: 1.5rem 0;
}

/* 行数限制 */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
