@charset "UTF-8";

/* CSS Document */
/*=====================通用样式定义========================*/
body,
th,
td {
    font-size: 12px;
    font-family: 'Microsoft YaHei','Hiragino Sans GB','宋体','sans-serif';
}

body {
    margin: 0;
    padding: 0;
    font-size: 12px;
    background: #fff;
}

form,
ul,
li,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
}

a,
button {
    cursor: pointer;
}

input,
select {
    border: 0 none;
    box-sizing: border-box;
    padding: 0;
    font-size: 14px;
    line-height: 16px;
}

button {
    background: none;
    border: none;
}

table,
td {
    font-size: 12px;
    padding: 0;
    border-collapse: collapse;
}

img {
    border: 0;
    vertical-align: middle;
}

ul,
li {
    list-style-type: none;
}

/* 通用浮动属性 */
.fl {
    float: left;
}

.fr {
    float: right;
}

.clear {
    clear: both;
    line-height: 0;
    height: 0;
    font-size: 0;
    overflow: hidden;
}

.clear1 {
    clear: both;
    line-height: 0;
    height: 0;
}

.clearfix::before,
.clearfix::after {
    content: '';
    display: block;
    visibility: hidden;
    clear: both;
    line-height: 0;
    height: 0;
}

/*文字对齐方式*/
.tc {
    text-align: center;
}

.ind {
    text-indent: 2em;
}

.center {
    width: 1200px;
    height: auto;
    position: relative;
    margin: 0 auto;
}

/*常用方法*/
.b {
    font-weight: bold;
}

.w80 {
    width: 80px;
}

.w165 {
    width: 165px;
}

/* 默认链接颜色 */
a:link,
a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/*清除链接虚框*/
:focus {
    outline: none;
}

/*针对Firfox*/
a,
area {
    blr: expression(this.onFocus=this.blur());
}

/* ============================================================
   移动端适配 @media (max-width: 800px) — rem 方案（首页全局基座）
   基准：375 设计稿，1rem = 100px（由 /web/js/auto.js 动态计算）
   首页各模块专属覆盖见 index_cn.css / index_map.css 末尾同名块
   ============================================================ */
/* 汉堡菜单基础隐藏（勿移入 @media：源顺序需早于 @media 内的 display:block） */
.mobile-menu, .nav-toggle { display: none; }

@media screen and (max-width: 800px) {
    * { -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
    html { font-size: 100px; } /* auto.js 失效兜底 */

    /* 版心（PC 端 .center 1200px / .area 1100px 在 index_cn.css 内覆盖） */
    .center {
        width: 100% !important; max-width: 100%; box-sizing: border-box;
        padding-left: 0.12rem; padding-right: 0.12rem;
    }

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

    /* 汉堡按钮与抽屉菜单（DOM 由 index.js 移动端块生成，定位样式见 index_cn.css） */
    .nav-toggle {
        display: flex; flex-direction: column; justify-content: space-between;
        width: 0.26rem; height: 0.18rem; cursor: pointer; z-index: 1001;
    }
    .nav-toggle span { display: block; width: 100%; height: 2px; background: #fff; margin: 0; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
    .nav-toggle.open span:nth-child(1) { transform: translateY(0.08rem) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-0.08rem) rotate(-45deg); }
    .mobile-menu { display: none; background: #C8A265; z-index: 1000; }
    .mobile-menu li { border-bottom: 1px solid rgba(255, 255, 255, 0.35); }
    .mobile-menu li a { display: block; padding: 0.14rem 0.2rem; color: #fff; font-size: 0.16rem; }
}