/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: auto !important;
    /* line-height: 1.5; */
    /* font-size: 16px; */
    color: var(--text-color);
    background-color: var(--bg-color);
    /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell; */
    /* letter-spacing: 0.02em; */
}

ul,
ol {
    list-style: none;
    margin-bottom: 0 !important;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a:hover {
    color: var(--primary-color) !important;
    transition: all 0.3s ease;
}

button,
input {
    border: none;
    outline: none;
    background: none;
    font-size: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 清除浮动 */
.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* 防止文本溢出 */
.text-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}