@charset "utf-8";
/* ============================================================
 * reset.css —— 全局重置 / rem 基准 / 容器 / 通用工具
 * 设计稿 1920px，100px = 100px
 * ============================================================ */

* {
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    font-size: 100px;              /* 固定 px 版：rem 兜底 = 100px */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #0B2B45;
    background-color: #EDF0F4;
    text-align: left;
    overflow-x: hidden;
}

li { list-style: none; }

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    border: 0;
    vertical-align: middle;
}

input, button, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: 0;
    outline: none;
    background: none;
}

button { cursor: pointer; }

h1, h2, h3, h4, h5, h6 { font-weight: normal; }

em, i { font-style: normal; }

table { border-collapse: collapse; border-spacing: 0; }

/* ---------- 容器 ---------- */
.wp {
    width: 1400px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
    position: relative;
}

/* ---------- 端切换 ---------- */
.wap { display: none !important; }

/* ---------- 图片容器：按比例占位，图片铺满裁切 ---------- */
.pic {
    position: relative;
    display: block;
    overflow: hidden;
    padding-top: 75%;
}

.pic > img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

/* ---------- 多行省略 ---------- */
.line1, .line2, .line3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.line1 { -webkit-line-clamp: 1; }
.line2 { -webkit-line-clamp: 2; }
.line3 { -webkit-line-clamp: 3; }

/* ---------- 通用工具 ---------- */
.flex { display: -webkit-box; display: -ms-flexbox; display: flex; }
.flex-jcsb {
    display: -webkit-box; display: -ms-flexbox; display: flex;
    -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between;
}
.flex-alct {
    display: -webkit-box; display: -ms-flexbox; display: flex;
    -webkit-box-align: center; -ms-flex-align: center; align-items: center;
}
.clear { clear: both; height: 0; overflow: hidden; }

.hide { display: none !important; }

.nowrap { white-space: nowrap; }

/* 视觉隐藏（给读屏用） */
.sr {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---------- 滚动条（PC） ---------- */
@media screen and (min-width: 1025px) {
    ::-webkit-scrollbar { width: 6px; height: 9px; }
    ::-webkit-scrollbar-track { background: rgba(0, 0, 0, .25); }
    ::-webkit-scrollbar-thumb {
        background-color: #B08C46;
        border-radius: 2em;
        min-height: 28px;
    }
    ::-webkit-scrollbar-thumb:hover { background-color: #8f6f34; }
}

/* ============================================================
 * 移动端：根字号锁死，容器塌陷
 * ============================================================ */
@media screen and (max-width: 1024px) {
    html { font-size: 85px; }

    .wp {
        width: auto;
        max-width: none;
        padding-left: .24rem;
        padding-right: .24rem;
    }

    .pc { display: none !important; }
    .wap { display: block !important; }
}
