/* ===== 清除浏览器默认样式，避免干扰 rem 布局 ===== */
/* 重置所有元素的盒模型为 border-box，推荐全局设置 */
* {
  box-sizing: border-box;
}

/* 重置 html 和 body 的 margin/padding */
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: "Urbanist", sans-serif;
}

/* 清除常见元素的默认 margin，比如 p、h1~h6 */
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-block: 0; /* 清除上下默认 margin（避免 1em 干扰） */
}

/* 清除列表默认样式：padding-left 40px 和 margin */
ul,
ol {
  margin-block: 0;
  padding-inline-start: 0; /* 清除 ul 默认的 40px 左边距 */
  list-style: none; /* 可选：去掉列表符号 */
}

body {
  background-color: #ffffff;
  font-size: 14px;
}
:root {
  --primary-color: #2777fc;
  --dark-text-color: #1c83d6;
  --dark-bg-gb: #1e2937;
  --secondary-color: #fff;
  --accent-color: #252525;
  --text-primary: #000;
  --text-secondary: #666;
  --text-light: #999;
  --bg-primary: #fff;
  --bg-secondary: #f8f9fa;
  --border-color: #e1e5e9;
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.15);
  --gradient-primary: #2196f3;
  --bg-cover-theme: rgb(33 150 243 / 18%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}
textarea::placeholder {
  font-weight: 500;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-title {
  font-size: 2.5rem;
  text-align: center;
  font-weight: 500;
  margin-bottom: 20px;
}
.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.page-btn {
  display: inline-block;
  background: linear-gradient(135deg, #000 0%, #333 100%);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* 单行文本溢出隐藏显示省略号 */
.ellipsis-single {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%; /* 或者设置具体的宽度值 */
}

.ellipsis-multi {
  display: -webkit-box;
  -webkit-line-clamp: 4; /* 控制显示行数 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* ie */
.ellipsis-compatible {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%; /* 确保容器有宽度限制 */
}
@media (max-width: 768px) {
  .section-title {
    font-size: 2.1rem;
  }
}
