/* ========================================
   1. 全局重置与变量
   ======================================== */
@font-face {
    font-family: "fontR";
    src: url("../font/OPPOSANS-R.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    font-family: 'fontR';
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --primary-red: #900010;
    --dark-red: #900010;
    --primary-black: #000000;
    --rich-text: #333333;
    --bg-f4f4f4: #F4F4F4;
    --text-dark: #1a1a1a;
    --text-gray: #666;
    --text-light: #999;
    --bg-white: #fff;
    --bg-light: #f5f5f5;
    --border-color: #e5e5e5;
    --footer-bg: #1a1a1a;
    --footer-text: #999;
    --footer-text-light: #fff;
    --transition: all 0.3s ease;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    height: 100%;
}

body {
    font-family: 'fontR', -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
    min-width: 320px;
    height: 100%;
    padding: 0 !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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


/* ========================================
   2. 容器
   ======================================== */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    /*padding: 0 20px;*/
    position: relative;
}


/* ========================================
   3. 面包屑
   ======================================== */
.breadcrumb {
    font-size: 16px !important;
    color: #999;
    margin-bottom: 70px;
    margin-top: 20px;
}

.breadcrumb a {
    color: #999;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #c41230;
}

.breadcrumb span {
    margin: 0 8px;
}

.breadcrumb .active {
    color: var(--dark-red);
    font-weight: normal;
}


/* ========================================
   4. 工具类（Flex）
   ======================================== */
.flex {
    display: flex;
}

.a-c {
    align-items: center;
}

.j-c {
    justify-content: center;
}

.center {
    align-items: center;
    justify-content: center;
}

.wrap {
    flex-wrap: wrap;
}

.s-b {
    justify-content: space-between;
}

.column {
    flex-direction: column;
}

.end {
    justify-content: flex-end;
}

.flex1 {
    flex: 1;
}


/* ========================================
   5. 标题组件
   ======================================== */
.headline {
    font-size: 38px;
    color: #000;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.headline__sub {
    font-size: 18px;
    color: #333333;
    line-height: 1.8;
    /*text-align: center;*/
}


/* ========================================
   6. 响应式设计
   ======================================== */

/* 6.1 小桌面/笔记本（1024px ~ 1439px） */
@media (max-width: 1439px) {
    .container {
        padding: 0 20px;
    }

    .headline {
        font-size: 34px;
    }

    .headline__sub {
        font-size: 16px;
    }
}

/* 6.2 平板（768px ~ 1023px） */
@media (max-width: 1023px) {
    .container {
        padding: 0 20px;
    }

    .headline {
        font-size: 30px;
    }

    .headline__sub {
        font-size: 16px;
    }

    .breadcrumb.breadcrumb {
        font-size: 12px !important;
    }
}

/* 6.3 手机（< 768px） */
@media (max-width: 767px) {
    .container {
        padding: 0 16px;
    }

    .headline {
        font-size: 24px;
        margin-bottom: 14px;
    }

    .headline__sub {
        font-size: 14px;
    }
}

/* 6.4 小手机（< 375px） */
@media (max-width: 374px) {
    .container {
        padding: 0 12px;
    }

    .headline {
        font-size: 20px;
    }

    .headline__sub {
        font-size: 14px;
    }
}