html * {
    margin: 0;
    padding: 0;
    font-size: inherit;
    box-sizing: border-box;
}

html h1,
html h2,
html h3,
html h4,
html h5,
html h6,
html .h1,
html .h2,
html .h3,
html .h4,
html .h5,
html .h6 {
    margin: 0;
    padding: 0;
    font-weight: normal;
    color: inherit;
    font-size: inherit;
}

body {
    font-family: "Overpass", sans-serif;
    color: #000;
    background: #F7F7F7;
}

@font-face {
    font-family: 'MyCustomFont';
    src: url('/images/fonts/798-CAI978.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

.my-font {
    font-family: 'MyCustomFont', sans-serif;
}

.icon-hamac {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: .3s;
}

img {
    max-width: 100%;
    border: 0;
}

ul,
li {
    list-style: none;
}

/* 容器 */
.container {
    max-width: 1520px;
    margin: 0 auto;
}

.wrap-1920 {
    margin: 0 0 60px 0;
}

.wrap-container {
    padding: 60px;
    background: #fff;
    max-width: 1520px;
    margin: 0 auto;
}

/* 主题色 */
:root {
    --red: #D62A29;
    --dark: #333;
    --gray: #666;
    --4D: #4D4D4D;
    --000: #000000;
    --999: #999999;
    --fff: #ffffff;
}

/* =================================== */
/* 顶部信息栏 */
/* =================================== */
.top-bar {
    background: #f7f7f7;
    height: 50px;
    display: flex;
    align-items: center;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 1560px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 34px;
}

/* Font class 图标 */
.top-bar-right > a {
    display: inline-flex;
    align-items: center;
    color: #000;
    transition: color 0.3s;
    text-decoration: none;
}

.top-bar-right > a:hover {
    color: var(--red);
}

.top-bar-right > a i {
    font-size: 24px;
}

/* 邮箱/电话项 */
.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
}

.top-bar-item a {
    display: inline-flex;
    align-items: center;
    color: #000;
    transition: color 0.3s;
    text-decoration: none;
}

.top-bar-item a:hover {
    color: var(--red);
}

.top-bar-item a i {
    font-size: 24px;
}

.top-bar-item span {
    color: #000;
}

/* 社交媒体图标（多色用 img） */
.top-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 20px;
    border-left: 1px solid #e9edf2;
}

.top-icon a {
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s, transform 0.3s;
    text-decoration: none;
}

.top-icon a:hover {

}

.top-icon img {
    width: 20px;
    height: 20px;
    display: block;
}

/* ==================== 响应式 ==================== */
@media(max-width:1540px) {
    .container {
        width: 96%;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .top-bar .container {
        justify-content: center;
    }

    .top-bar-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .top-icon {
        padding-left: 12px;
        gap: 8px;
    }

    .top-bar-item span {
        font-size: 12px;
    }

    .wrap-1920 {
        margin: 10px 10px 24px 10px;
    }

    .wrap-container {
        padding: 12px;
    }
}

/* =================================== */
/* 导航 / 悬浮导航 / PC端 */
/* =================================== */
.header {
    background: var(--fff);
    position: sticky;
    z-index: 999;
    border-bottom: 2px solid var(--red);
    top: 0;
}

.nav-wrap {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 44px;
}

/* PC导航 */
.pc-nav {
    height: 100%;
}

.pc-nav ul {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 60px;
}

.pc-nav ul li a {
    display: block;
    /*  height:100px;
  line-height:100px;
  padding:0 30px;*/
    color: #000;
}

.pc-nav ul li a:hover,
.pc-nav ul li a.active {
    color: var(--red);
}

.m-nav {
    transform: translateX(-100%);
    position: fixed;
    top: 0;
    left: 0;
}

.lang {
    background: var(--red);
    color: var(--fff) !important;
    line-height: 34px !important;
    height: 34px !important;
    padding: 0 41px !important;
    transition: background-color 0.3s;
    position: relative;
}

.lang::before {
    content: '\e633';
    font-family: "iconfont" !important;
    position: absolute;
    left: 16px;
    font-size: 20px;
    top: 50%;
    pointer-events: none;
    transform: translateY(-50%);
}

.lang::after {
    content: '\e7f1';
    font-family: "iconfont" !important;
    position: absolute;
    right: 16px;
    font-size: 20px;
    top: 50%;
    pointer-events: none;
    transform: translateY(-50%);
}

/* =================================== */
/* 移动端菜单按钮 */
/* =================================== */
.m-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #D62A29;
    cursor: pointer;
}

/* =================================== */
/* 手机端折叠菜单 */
/* =================================== */
@media (max-width:991px) {
    .pc-nav {
        display: none;
    }

    .logo img {
        height: 33px;
    }

    .m-toggle {
        display: block;
    }

    .m-nav {
        width: 260px;
        height: 100%;
        background: var(--fff);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        padding-top: 20px;
        transform: translateX(-100%);
        transition: 0.3s;
        z-index: 9999;
    }

    .m-nav.show {
        transform: translateX(0);
    }

    .m-nav ul li a {
        display: block;
        padding: 12px 20px;
        font-size: 15px;
        color: #333;
        border-bottom: 1px solid #eee;
    }

    .m-nav ul li a.active {
        color: var(--red);
    }

    .m-close {
        text-align: right;
        padding: 0 20px 10px;
        font-size: 20px;
        cursor: pointer;
    }

    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        z-index: 9998;
    }

    .overlay.show {
        display: block;
    }
}

.banner {
    background-color: #ccc;
    height: 500px;
}

.banner>.text {
    color: var(--fff);
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.banner>.text h2 {
    font-size: 44px;
}

.banner>.text h2::after {
    content: '';
    display: block;
    width: 80%;
    height: 4px;
    background: var(--red);
    margin: 12px 0 12px 10%;
}

.crumb {
    color: var(--999);
    margin: 34px 0;
}

.crumb a:hover {
    color: #D62A29;
}

.crumb span a:last-child {
    color: var(--000);
    margin: 0 6px;
}

/* =================================== */
/* 分页 */
/* =================================== */
.page {
    text-align: center;
    padding: 20px 0;
}

.page a {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #eee;
    margin: 0 2px;
    color: #333;
}

.page a.on {
    background: var(--red);
    color: var(--fff);
    border-color: var(--red);
}

/* =================================== */
/* 通用样式 */
/* =================================== */

.sec-title {
    font-size: 44px;
    font-weight: 700;
    margin: 0 0 40px 0;
    color: #000;
}

/* =================================== */
/* 响应式 */
/* =================================== */

@media (max-width:991px) {
    .news-item {
        flex-wrap: wrap;
    }

    .news-pic {
        width: 100%;
        margin: 10px 0;
    }

    .news-info {
        margin-left: 0;
    }

    .top-bar .container {
        flex-direction: column;
    }

    .nav-wrap {
        height: 60px;
    }

    .crumb {
        margin: 14px 0;
    }

}

@media (max-width:800px) {
    .banner {
        background-size: 120% !important;
        background-position: center bottom;
        height: 32vw !important;
    }

    .container {
        font-size: 14px;
    }

    .sec-title {
        font-size: 24px;
        margin: 0 0 18px 0;
        text-align: center;
    }

    .banner>.text {
        display: none;
    }
}

/* =================================== */
/* 底部 */
/* =================================== */
.footer {
    background: var(--red);
    color: var(--fff);
    padding: 60px 0 40px;
}

.footer .row {
    display: flex;
    justify-content: space-between;
}

.footer .row div {
    width: auto;
    max-width: 460px;
}

.footer .row i {
    margin-right: 6px;
}

.footer h4 {
    color: var(--fff);
    font-size: 24px;
    margin-bottom: 32px;
    font-weight: 700;
}

.footer a {
    display: block;
    margin-bottom: 24px;
}

.footer p {
    margin-bottom: 24px;
    line-height: 1.6;
}

.copyright {
    text-align: center;
    padding-top: 40px;
    margin-top: 60px;
    border-top: 1px solid #fff;
}

.footer-icons {
    display: flex;
    color: #000;
    gap: 24px;
    margin: 32px 0 0 0;
}

.footer-icons>a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    width: 30px;
    background: #fff;
    border-radius: 50%;
    margin: 0;
}

.footer-icons a:nth-child(1) {
    color: #0A66C2;
}

.footer-icons a:nth-child(3) {
    color: #FF0000;
}

.footer-icons a:nth-child(5) {
    color: #3A5999;
}

@media screen and (max-width: 768px) {
    .footer {
        padding: 30px 0 0 0;
    }

    .copyright {
        padding: 20px;
        margin-top: 20px;
    }

    .footer .row {
        display: grid;
        grid-template-columns: 1fr 100px;
        justify-content: stretch;
        gap: 10px;
    }

    .footer .row div:nth-child(3),
    .footer .row div:nth-child(4) {
        display: none;
    }

    .footer h4 {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .footer p,
    .footer a {
        margin-bottom: 10px;
    }

    .footer-icons {
        display: none;
    }
}

/* =================================== */
/* 页码 */
/* =================================== */

.pagination {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #fff;
    cursor: pointer;
    user-select: none;
    font-weight: 500;
}

.pagination a:hover:not(.disabled):not(.active) {
    background: #f0f0f0;
    border-color: #bbb;
}

.pagination a.active {
    background: #D62A29;
    border-color: #D62A29;
    color: #fff;
    cursor: default;
}

.pagination a.disabled {
    color: #ccc;
    cursor: not-allowed;
    pointer-events: none;
    background: #f9f9f9;
}

.pagination .page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    color: #999;
    font-size: 14px;
}

.page-numbers {
    display: flex;
    gap: 6px;
}

/* =================================== */
/* 详情页 */
/* =================================== */

/* 咨询灰色模块 */
.quote-block {
    background: #F7F7F7;
    padding: 34px;
    margin: 34px 0 60px 0;
    color: #000;
}

.quote-block h3 {
    font-size: 24px;
    margin-bottom: 14px;
}

.quote-block .quote-text {
    margin-bottom: 24px;
}

.quote-buttons {
    display: flex;
    gap: 16px;
}

.quote-btn-red,
.quote-btn-black {
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.25s ease;
    text-align: center;
    border: 1px solid #fff;
    height: 44px;
    line-height: 1;
    width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.quote-btn-red {
    background: #D62A29;
    color: #fff;
}

.quote-btn-red:hover {
    background: none;
    color: #D62A29;
    border: 1px solid #D62A29;
}

.quote-btn-black {
    background: #000;
    color: #fff;
}

.quote-btn-black:hover {
    background: none;
    color: #D62A29;
    border: 1px solid #D62A29;

}

.quote-block {
    transition: box-shadow 0.3s ease, background 0.3s ease;
    will-change: box-shadow, background;
}

.quote-block:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    background: #f3f3f3;
    /* 保持原灰色系，极轻微变化 */
}

/* 上下页切换 */
.tabfy-nav {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #4D4D4D;
    padding-top: 24px;
}

.tabfy-nav-item {
    display: inline-block;
    width: 47%;
    padding: 12px 16px;
    background: #f5f5f5;
    /*cursor: pointer;*/
    transition: box-shadow 0.25s ease, background 0.2s ease;
    will-change: box-shadow, background;
}

.tabfy-nav-label {
    color: #000;
    font-weight: 700;
}

.tabfy-nav-item a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    width: 95%;
    margin-top: 6px;
}

.tabfy-nav-item:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    background: #ececec;
}

/* 手机端 */
@media(max-width:768px) {
    .tabfy-nav {
        flex-direction: column;
        gap: 16px;
    }

    .tabfy-nav-item {
        width: 100%;
    }
}