/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 37.5px; /* 基准字体大小，会被flexible.js动态调整 */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: PingFang SC, PingFang SC;
    line-height: 1.5;
    color: #333333;
    min-width: 320px; /* 最小宽度限制 */
    overflow-x: auto;
}

/* 通用容器样式 */
.container {
    margin: auto 5.6rem;
}

/* 通用section标题样式 */
.section-header {
    text-align: left;
    margin-bottom: 0.533rem;
}

.section-header h2 {
    height: 1.573rem;
    font-family: PingFang SC, PingFang SC;
    font-weight: 500;
    font-size: 1.12rem;
    color: #333333;
    line-height: 1.12rem;
}

.section-subtitle {
    height: 1.12rem;
    font-family: PingFang SC, PingFang SC;
    font-weight: 400;
    font-size: 0.8rem;
    color: #999999;
    line-height: 1.12rem;
}

/* 通用图片样式 */
img {
    max-width: 100%;
    height: auto;
}

/* 通用链接样式 */
a {
    text-decoration: none;
    color: inherit;
}

/* 通用列表样式 */
ul,
ol {
    list-style: none;
}

/* 通用flex布局 */
.flex {
    display: flex;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.justify-center {
    justify-content: center;
}

.align-center {
    align-items: center;
}

.space-between {
    justify-content: space-between;
}

/* 通用间距类 */
.mt-20 {
    margin-top: 0.533rem;
}

.mb-20 {
    margin-bottom: 0.533rem;
}

.ml-20 {
    margin-left: 0.533rem;
}

.mr-20 {
    margin-right: 0.533rem;
}

.pt-20 {
    padding-top: 0.533rem;
}

.pb-20 {
    padding-bottom: 0.533rem;
}

.pl-20 {
    padding-left: 0.533rem;
}

.pr-20 {
    padding-right: 0.533rem;
}

/* 通用文本样式 */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* 通用颜色 */
.text-primary {
    color: #333333;
}

.text-secondary {
    color: #999999;
}

.text-white {
    color: #FFFFFF;
}

/* 通用背景色 */
.bg-white {
    background-color: #FFFFFF;
}

.bg-gray {
    background-color: #FAFAFC;
}

/* 通用阴影 */
.shadow {
    box-shadow: 0rem 0rem 0.533rem 0.027rem rgba(0, 0, 0, 0.07);
}

/* 通用圆角 */
.rounded {
    border-radius: 0.133rem;
}

/* 通用过渡效果 */
.transition {
    transition: all 0.3s ease;
}

/* 通用鼠标样式 */
.pointer {
    cursor: pointer;
}

/* 文本溢出省略 */
.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipsis-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

