/* ===== ruihuiglobal.com 隔离层 — 抵消迅龙平台默认样式 ===== */

/* 参考站 CSS 变量 */
:root {
    --logo-dark: #d12d1a;
    --logo-dark-rgb: 209,45,26;
    --logo-light: #ffd900;
    --logo-light-rgb: 255,217,0;
    --darkgrey: #ccc;
    --darkgrey-rgb: 204,204,204;
    --lightgrey: #e9ecefff;
    --lightgrey-rgb: 233,236,239;
    --menu-height: 78px;
    --logo-height: 40px;
}
@media screen and (max-width:992px) {
    :root {
        --menu-height: 65px;
        --logo-height: 45px;
    }
}

/* 全局字体 */
body.ref-theme {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500;
    line-height: 1.5;
    color: #202020;
    background: #fff;
    margin: 0;
    padding: 0;
}

/* 清除平台 bootstrap 对 header/footer/main 的干扰 */
body.ref-theme > .lx-header,
body.ref-theme header[class*="lx-"],
body.ref-theme .lx-header-wrapper {
    all: unset;
    display: block;
}

/* 清除平台容器默认 max-width / padding 干扰参考站 .container */
body.ref-theme .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* 清除平台默认 ul/li 样式 */
body.ref-theme header ul,
body.ref-theme footer ul,
body.ref-theme main ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 清除平台默认 a 样式 */
body.ref-theme header a,
body.ref-theme footer a,
body.ref-theme main a {
    text-decoration: none;
    color: inherit;
}

/* 清除平台默认 img 样式 */
body.ref-theme img {
    max-width: 100%;
    height: auto;
}

/* 清除平台默认 h2/h3 样式 */
body.ref-theme main h2 {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 400;
    margin: 0;
}
body.ref-theme main h3 {
    font-size: 18px;
    margin: 0;
}
@media screen and (max-width:992px) {
    body.ref-theme main h2 {
        font-size: 24px;
    }
}

/* main 区域 */
body.ref-theme main {
    --section-padding: 100px;
    --title-size: 40px;
    font-weight: 400;
    display: block;
}
@media screen and (max-width:992px) {
    body.ref-theme main {
        --section-padding: 80px;
        --title-size: 24px;
    }
}

/* 隐藏平台浮动菜单 / 回到顶部等与参考站冲突的元素 */
body.ref-theme .lx-floatMenu,
body.ref-theme #lx-floatMenu,
body.ref-theme .lx-scroll-top,
body.ref-theme .lx-back-top {
    display: none !important;
}

/* swiper 分页 */
body.ref-theme .swiper-pagination-bullet {
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    color: #000;
    opacity: 1;
    background: rgba(0,0,0,.2);
}
body.ref-theme .swiper-pagination-bullet-active {
    background: var(--logo-light);
}

/* 清除平台 footer 默认样式 */
body.ref-theme footer {
    all: unset;
    display: block;
}

/* 清除平台 header 默认样式 */
body.ref-theme > header {
    all: unset;
    display: block;
}
