/*
@charset "UTF-8";
/*---------------------------
 CSS Index  
****************************
1.top header
2.dropdown menu
3.toggle button
4.footer

---------------------------- */


/* ===========top header=========== */

.top-head-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

ul.top-nav-ul {
    display: flex;
    flex-shrink: 0;
}

ul.top-nav-ul li {
    padding: 0 10px;
}

ul.top-nav-ul li a span {
    white-space: nowrap;
}

.top-header {
    background: #ffffff;
    padding: 10px 0px 30px 0px;
}

.nav-link:focus {
    color: var(--main-color);
}

.main-navigation {
    position: absolute;
    width: 100%;
    /* 高于腾讯地图控件，避免地图罗盘/缩放钮盖住导航 */
    z-index: 1200;
}

ul.top-nav-ul li a {
    color: #0057a6;
    transition: .3s;
}

nav.navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px 0;
    box-shadow: 0px 15px 17px 0px #00000008;
    margin-top: -20px;
    z-index: 2;
    background: #0057a6;
    transition: .3s;
    width: 100%;
}

/* 导航菜单与顶部 header 容器左右对齐 */
.container.nav-w-fiexd {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

@media screen and (min-width: 1200px) {
    .container.nav-w-fiexd {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.menu {
    display: flex;
    align-items: center;
    width: 100%;
}

ul.menu-ul {
    display: flex;
    align-items: center;
    margin-right: 0;
    width: 100%;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 30px;
    font-weight: 700;
    color: var(--title-color);
    font-family: var(--title-font);
    transition: .3s;
}

.logo:hover {
    color: var(--title-color);
}

.logo img {
    max-height: 40px;
    width: auto;
}


.company-name {
    font-size: 30px;
    font-weight: 700;
    color: #0057a6;
    font-family: var(--title-font);
    white-space: nowrap;
}
.nav-link {
    font-size: var(--sm-font);
    color: var(--white-color);
    padding: 0 10px;
    transition: .3s;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
}

@media screen and (min-width: 1200px) {
    .nav-link {
        padding: 0 14px;
    }
}

@media screen and (min-width: 993px) {
    ul.menu-ul li.nav-list:first-child .nav-link {
        padding-left: 0;
    }

    ul.menu-ul li.nav-list:last-child .nav-link {
        padding-right: 0;
    }
}

.s-custom-btn {
    color: var(--white-color);
    background: var(--main-color);
    padding: 5px 20px;
    font-family: var(--title-font);
    font-weight: 600;
    transition: .3s;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
}

.s-custom-btn:hover {
    background: var(--title-color);
    color: var(--white-color);
}

a.nav-link:hover {
    color: #d4e7ff;
}

ul.top-nav-ul li a:hover {
    color: var(--title-color);
}


/* ===========dropdown menu ======= */

.dp-menu {
    position: absolute;
    width: 250px;
    background: var(--white-color);
    padding: 10px 0;
    box-shadow: 0px 9px 70px 1px #8686863b;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
}

a.dp-link {
    padding: 5px 15px;
    display: block;
    color: var(--text-color);
    transition: .3s;
}

a.dp-link:hover {
    color: var(--white-color);
    background: var(--main-color);
}

li.nav-list:hover .dp-menu {
    opacity: 1;
    visibility: visible;
}


/* ===========toggle button========= */

button.toggle {
    border: none;
    background: none;
    font-size: 23px;
    color: var(--white-color);
    display: none;
}

/* ======mobile header: back button + page title====== */

.mobile-back-btn,
.mobile-page-title {
    display: none;
}

button.menu-close {
    border: none;
    background: none;
    font-size: 20px;
    width: 50px;
    height: 44px;
    position: absolute;
    right: 0;
    top: 0;
    display: none;
}

@media screen and (max-width:992px) {
    button.toggle {
        display: block;
        color: #0057a6;
        font-size: 24px;
    }
    .menu {
        display: block;
        position: fixed;
        width: 300px;
        right: -125%;
        background: var(--white-color);
        height: 100vh;
        box-shadow: 0px 0 20px 1px #0000002b;
        top: 0;
        bottom: 0;
        padding: 56px 25px 25px;
        transition: .3s;
        z-index: 1100;
    }

    .menu.active {
        right: 0;
    }

    ul.menu-ul {
        display: block;
        margin-right: 0;
        margin-bottom: 15px;
        width: auto;
        justify-content: flex-start;
    }
    .nav-link {
        font-size: 15px;
        color: var(--text-color);
        padding: 7px 0px;
        transition: .3s;
        -webkit-transition: .3s;
        -moz-transition: .3s;
        -ms-transition: .3s;
        -o-transition: .3s;
    }
    button.menu-close {
        display: none;
    }

    .menu-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        right: 300px;
        bottom: 0;
        z-index: 1090;
        background: rgba(0, 0, 0, 0.45);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .3s, visibility .3s;
    }

    .menu-backdrop.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body.menu-open {
        overflow: hidden;
    }

    body.menu-open header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
    }

    /* 侧栏打开时顶栏按钮负责关闭 */
    .top-header .toggle {
        position: relative;
        z-index: 1110;
    }

    .nav-w-fiexd {
        padding: 0;
    }
    .dp-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
        padding: 0 0 0 15px;
    }
    li.nav-list:hover .dp-menu {
        opacity: 1;
        visibility: visible;
    }

    /* Sticky header；打开侧栏时改为 fixed 避免 sticky 影响抽屉定位 */
    header {
        position: sticky;
        top: 0;
        z-index: 1110;
    }

    /* Mobile header: back button / page title / toggle */
    .logo-div {
        display: none;
    }

    .mobile-back-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border: none;
        background: none;
        font-size: 24px;
        color: #0057a6;
        flex-shrink: 0;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-back-btn:active {
        opacity: .6;
    }

    .mobile-page-title {
        display: block;
        flex: 1;
        text-align: center;
        font-family: var(--title-font);
        font-size: 17px;
        font-weight: 600;
        color: #0057a6;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 0 6px;
    }

    /* Homepage: keep original logo header on mobile */
    header.is-home .logo-div {
        display: block;
        flex: 1;
        min-width: 0;
        overflow: hidden;
        margin-right: 8px;
    }

    header.is-home .logo {
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
    }

    header.is-home .logo img {
        flex-shrink: 0;
    }

    /* 公司名过长时省略，避免盖住右侧汉堡菜单 */
    header.is-home .company-name {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    header.is-home .mobile-back-btn,
    header.is-home .mobile-page-title {
        display: none;
    }

    /* Hide contact list (phone/email) on mobile */
    .contact-list {
        display: none;
    }

    /* White background for top header */
    .top-header {
        background: #ffffff !important;
        padding: 10px 0 !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    }

    /* Blue text colors matching .company-name */
    .top-header .logo,
    .top-header .company-name {
        color: #0057a6 !important;
    }
    .top-header ul.top-nav-ul li a,
    .top-header ul.top-nav-ul li a i.ico-top {
        color: #0057a6 !important;
    }

    /* Make main-navigation invisible but keep .menu drawer functional */
    .main-navigation {
        position: static;
        height: 0;
        overflow: visible;
        z-index: auto;
    }
    nav.navigation {
        background: transparent !important;
        box-shadow: none !important;
        margin-top: 0 !important;
        padding: 0 !important;
        height: 0;
        overflow: visible;
    }

    /* Override navbar-fixed behavior on mobile */
    .main-navigation.navbar-fixed {
        position: static;
    }
    nav.navigation.navigation-fixed {
        margin-top: 0;
    }
}

.main-navigation.navbar-fixed {
    position: fixed;
    top: 0;
    margin-top: 0;
    width: 100%;
}

nav.navigation.navigation-fixed {
    margin-top: 0;
}

/* Raise text-hiding breakpoint to 767px so all phone widths show icons only.
   Between 650px–767px the company name (nowrap, 30px) left no room for contact
   text, causing the phone number to wrap at hyphens across multiple lines. */
@media screen and (max-width:767px) {
    ul.top-nav-ul li a span {
        display: none;
    }
    ul.top-nav-ul li a i.ico-top {
        font-size: 20px;
    }
    /* Reduce company name size to fit mobile header with toggle button */
    .company-name {
        font-size: 20px;
    }
    .logo img {
        max-height: 34px;
    }
    /* Ensure toggle button doesn't shrink / stay clickable above truncated name */
    button.toggle {
        flex-shrink: 0;
        position: relative;
        z-index: 2;
    }
}

@media screen and (max-width:650px) {
    .ml-none {
        display: none;
    }
    nav.navigation {
        padding: 15px 15px;
    }
}

@media screen and (max-width:350px) {
    .menu {
        width: 100%;
    }
}


/* ===========mobile tabbar=========== */

.mobile-tabbar {
    display: none;
}

@media screen and (max-width:992px) {
    .mobile-tabbar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 56px;
        background: #0057a6;
        z-index: 999;
        justify-content: space-around;
        align-items: center;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
    }

    .tabbar-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #fff;
        text-decoration: none;
        font-size: 14px;
        gap: 3px;
        padding: 5px 0;
        -webkit-tap-highlight-color: transparent;
    }

    .tabbar-item:link,
    .tabbar-item:visited,
    .tabbar-item:hover,
    .tabbar-item:active,
    .tabbar-item:focus {
        color: #fff !important;
        background: transparent !important;
        outline: none;
    }

    .tabbar-item i {
        font-size: 20px;
        line-height: 1;
    }

    .tabbar-item span {
        line-height: 1;
    }

    /* Prevent content from being hidden behind tabbar */
    body {
        padding-bottom: 56px;
    }

    /* Raise scroll-to-top button above tabbar */
    .scroll__top {
        bottom: 70px !important;
    }
}

/* ===========category filter (shared: home + product page)=========== */

.product-filter-area {
    display: flex;
    justify-content: center;
}

.product-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* 产品/文章分类筛选：置于卡片盒子中展示 */
#productFilter,
#articleFilter {
    padding: 24px 28px;
    background: var(--white-color);
    border: 1px solid #eef0f3;
    border-radius: 6px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
}

/* 分类按钮等宽均分、文字居中，避免长短不一的名称显得凌乱 */
#productFilter .filter-btn,
#articleFilter .filter-btn {
    flex: 1 1 0;
    min-width: 130px;
    padding-left: 18px;
    padding-right: 18px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 文章列表卡片：标题最多2行、简介最多3行，超出省略 */
#articleGrid .post-card .post-details > a.post-link {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#articleGrid .post-card .post-details > p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 博客列表页手机/平板：不展示封面图，卡片高度随内容（对齐首页 .top-news 修复） */
@media screen and (max-width: 992px) {
    #articleGrid .post-img {
        display: none;
    }

    #articleGrid .post-card {
        height: auto;
    }

    #articleGrid .post-card .post-details {
        height: auto;
        flex: 1;
    }
}

/* ========== CMS 富文本正文统一样式（公司介绍 / 研发实力 / 文章详情等）========== */
.rich-content,
.about-content-inner,
#researchContent,
#articleContent,
.post-des,
.product-rich-content,
.cert-detail-content,
.equip-detail-desc {
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.9;
    word-break: break-all;
    overflow-wrap: anywhere;
    max-width: 100%;
    overflow-x: auto;
}

.rich-content img,
.about-content-inner img,
#researchContent img,
#articleContent img,
.post-des img,
.product-rich-content img,
.cert-detail-content img,
.equip-detail-desc img {
    display: block;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    margin: 16px auto;
    border-radius: 6px;
}

.rich-content video,
.rich-content iframe,
.rich-content embed,
.about-content-inner video,
.about-content-inner iframe,
#articleContent video,
#articleContent iframe,
.post-des video,
.post-des iframe,
.cert-detail-content video,
.cert-detail-content iframe,
.equip-detail-desc video,
.equip-detail-desc iframe {
    max-width: 100%;
}

.rich-content p,
.about-content-inner p,
#researchContent p,
#articleContent p,
.post-des p,
.product-rich-content p,
.cert-detail-content p,
.equip-detail-desc p {
    margin-bottom: 1rem;
    line-height: 1.9;
    word-break: break-all;
    overflow-wrap: anywhere;
}

.rich-content h1,
.rich-content h2,
.rich-content h3,
.rich-content h4,
.about-content-inner h1,
.about-content-inner h2,
.about-content-inner h3,
.about-content-inner h4,
#researchContent h1,
#researchContent h2,
#researchContent h3,
#researchContent h4,
#articleContent h1,
#articleContent h2,
#articleContent h3,
#articleContent h4,
.product-rich-content h1,
.product-rich-content h2,
.product-rich-content h3,
.product-rich-content h4,
.cert-detail-content h1,
.cert-detail-content h2,
.cert-detail-content h3,
.cert-detail-content h4,
.equip-detail-desc h1,
.equip-detail-desc h2,
.equip-detail-desc h3,
.equip-detail-desc h4 {
    font-family: var(--title-font);
    color: var(--title-color);
    margin: 1.2rem 0 0.6rem;
    line-height: 1.4;
}

.rich-content h2,
.about-content-inner h2,
#researchContent h2,
#articleContent h2,
.product-rich-content h2,
.cert-detail-content h2,
.equip-detail-desc h2 {
    font-size: 1.5rem;
}

.rich-content h3,
.about-content-inner h3,
#researchContent h3,
#articleContent h3,
.product-rich-content h3,
.cert-detail-content h3,
.equip-detail-desc h3 {
    font-size: 1.25rem;
}

.rich-content h4,
.about-content-inner h4,
#researchContent h4,
#articleContent h4,
.product-rich-content h4,
.cert-detail-content h4,
.equip-detail-desc h4 {
    font-size: 1.1rem;
}

.rich-content ul,
.rich-content ol,
.about-content-inner ul,
.about-content-inner ol,
#researchContent ul,
#researchContent ol,
#articleContent ul,
#articleContent ol,
.product-rich-content ul,
.product-rich-content ol,
.cert-detail-content ul,
.cert-detail-content ol,
.equip-detail-desc ul,
.equip-detail-desc ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.rich-content li,
.about-content-inner li,
#researchContent li,
#articleContent li,
.post-des li,
.product-rich-content li,
.cert-detail-content li,
.equip-detail-desc li {
    margin-bottom: 0.35rem;
    line-height: 1.9;
    word-break: break-all;
    overflow-wrap: anywhere;
}

.rich-content table,
.about-content-inner table,
#researchContent table,
#articleContent table,
.product-rich-content table,
.cert-detail-content table,
.equip-detail-desc table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    display: block;
    overflow-x: auto;
}

.rich-content td,
.rich-content th,
.about-content-inner td,
.about-content-inner th,
#researchContent td,
#researchContent th,
#articleContent td,
#articleContent th,
.post-des td,
.post-des th,
.product-rich-content td,
.product-rich-content th,
.cert-detail-content td,
.cert-detail-content th,
.equip-detail-desc td,
.equip-detail-desc th {
    border: 1px solid #e5e5e5;
    padding: 8px 12px;
    font-size: 14px;
    word-break: break-all;
    overflow-wrap: anywhere;
}

/* 短文案段落（错误提示、型号说明等） */
.service-des {
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.9;
    word-break: break-all;
    overflow-wrap: anywhere;
    max-width: 100%;
}

/* 研发实力单页：全宽正文，不需要图文分栏的左侧留白 */
#researchSection .about-content {
    padding-left: 0;
}

.filter-btn {
    padding: 10px 28px;
    border: 1px solid #e0e0e0;
    background: var(--white-color);
    color: var(--text-color);
    font-family: var(--title-font);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: var(--main-color);
    color: var(--main-color);
}

.filter-btn.active {
    background: var(--main-color);
    border-color: var(--main-color);
    color: var(--white-color);
}

@media screen and (max-width:768px) {
    .product-filter {
        gap: 8px;
    }

    /* 小屏时缩小筛选盒子内边距 */
    #productFilter,
    #articleFilter {
        padding: 16px;
    }

    .filter-btn {
        padding: 8px 18px;
        font-size: 14px;
    }
}


/* ===========product pagination (PC分页组件) + mobile scroll-load tip=========== */

.product-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 45px;
}

/* JS按视图模式渲染内容，空容器不占位 */
.product-pagination:empty {
    display: none;
}

.pg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #e0e0e0;
    background: var(--white-color);
    color: var(--text-color);
    font-family: var(--title-font);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.pg-btn:hover:not([disabled]) {
    border-color: var(--main-color);
    color: var(--main-color);
}

.pg-btn.active {
    background: var(--main-color);
    border-color: var(--main-color);
    color: var(--white-color);
}

.pg-btn[disabled] {
    opacity: .45;
    cursor: not-allowed;
}

.pg-btn i {
    font-size: 16px;
}

.pg-ellipsis {
    color: var(--text-color);
    padding: 0 4px;
}

/* 手机端滚动加载提示 */
.scroll-load-tip {
    display: none;
    text-align: center;
    color: var(--text-color);
    font-size: 14px;
    padding: 18px 0 6px;
}

/* 列表页：手机端统一滚动加载，隐藏 PC 分页按钮 */
@media screen and (max-width: 992px) {
    .product-pagination {
        display: none !important;
    }

    .scroll-load-tip:not(:empty) {
        display: block;
    }
}


/* ===========mobile quick nav (below banner)=========== */

.mobile-quick-nav {
    display: none;
    background: #0057a6;
    padding: 14px 0;
}

.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.quick-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px 4px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    font-family: var(--title-font);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: .3s;
}

.quick-nav-item:link,
.quick-nav-item:visited,
.quick-nav-item:hover,
.quick-nav-item:active,
.quick-nav-item:focus {
    color: #fff !important;
    background: transparent !important;
    outline: none;
}

.quick-nav-item:active {
    background: rgba(255, 255, 255, 0.15) !important;
}

@media screen and (max-width:992px) {
    .mobile-quick-nav {
        display: block;
    }
}


/* ===========mobile contact brief (首页底部，仅手机端)=========== */

.mobile-contact-brief {
    display: none;
}

.contact-brief-section {
    background: #f7f7f7;
}

.contact-brief-info {
    text-align: center;
}

.mcb-name {
    font-family: var(--title-font);
    font-size: 18px;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 18px;
}

.mcb-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    color: var(--text-color);
    line-height: 28px;
    margin-bottom: 8px;
}

.mcb-item i {
    color: var(--main-color);
    font-size: 20px;
}

.mcb-item a {
    color: var(--text-color);
    text-decoration: none;
}

.mcb-item a:active {
    color: var(--main-color);
}

.mcb-item-addr {
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 12px;
    box-sizing: border-box;
}

.mcb-item-addr i {
    margin-top: 4px;
    flex-shrink: 0;
}

.mcb-item-addr .mcb-addr {
    display: inline-block;
    text-align: center;
    line-height: 1.65;
    white-space: normal;
}

/* default.css 在 ≤992px 全局隐藏了 br，地址换行需单独放开 */
.mcb-item-addr .mcb-addr br {
    display: inline !important;
}

@media screen and (max-width:992px) {
    .mobile-contact-brief {
        display: block;
    }

    /* 手机端footer只保留copyright（导航由tabbar/quick-nav承担，联系方式由联系区承担） */
    footer .footer-bg > .cpt-6 {
        display: none;
    }
}


/* =================footer =============== */

.footer-bg {
    /* 背景图由 banner.js / page-ban.js 设为轮播第一张；无数据则不展示图片 */
    background-image: none;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #102039;
    position: relative;
}

/* 深色遮罩层：与 .page-ban 一致，保证浅色图片下文字仍清晰可读 */
.footer-bg::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.footer-bg > * {
    position: relative;
    z-index: 1;
}

/* 主内容与版权区分离后，避免 cmb-* 外边距露出页面底色 */
.footer-bg > .cpt-6 {
    margin-bottom: 0;
}

.footer-sc {
    color: #dcdcdc;
}

ul.footer-ul li {
    display: flex;
    align-items: center;
}

ul.footer-ul li i {
    font-size: 35px;
}

ul.footer-ul li p {
    padding-left: 15px;
}

ul.footer-ul li {
    padding: 5px 0;
}

.footer-content {
    padding-top: 20px;
}

a.foot-link {
    color: var(--white-color);
    transition: .3s;
}

a.foot-link:hover {
    color: var(--main-color);
}

.latest-news img {
    width: 100px;
}

.latest-news {
    display: flex;
    align-items: center;
}

.latest-news-no-img .news-details {
    padding-left: 0;
}

.news-details {
    padding-left: 10px;
}

a.news-title {
    color: var(--white-color);
    font-size: var(--m-title);
    font-family: var(--title-font);
    font-weight: 600;
    line-height: 25px;
    transition: .3s;
    display: block;
}

.news-details p {
    padding: 5px 0 0 0 !important;
}

a.news-title:hover {
    color: var(--main-color);
}

.instra-feed {
    display: grid;
    grid-template-columns: auto auto auto;
}

.instra {
    margin: 5px;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
}

.instra-link {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--main-color);
    background: #2f2f2fb3;
    transition: .3s;
    opacity: 0;
    visibility: hidden;
}

.instra:hover .instra-link {
    opacity: 1;
    visibility: visible;
}

a.instra-link:hover {
    color: var(--main-color);
}

.bar-title h3 {
    font-weight: 600;
    color: var(--white-color);
}

.bar-title::after {
    width: 60px;
    content: "";
    display: block;
    background: var(--white-color);
    height: 2px;
}

.copyright {
    padding: 20px 0;
    border-top: 1px solid #7e7e7e;
    color: var(--white-color);
    background-color: #102039;
    font-size: 14px;
}

.copyright .copyright-line,
.copyright .copyright-line span,
.copyright .copyright-line a {
    font-size: 14px;
}

/* 版权信息横向排列（copyright 与 ICP 备案号由 JS 渲染为两个 p，PC 端单行展示） */
.copyright .text-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.copyright p {
    margin: 0;
}

.copyright p + p {
    margin-left: 8px;
}

@media screen and (min-width: 993px) {
    .copyright .text-center {
        flex-wrap: nowrap;
    }

    .copyright p {
        white-space: nowrap;
    }
}

.copyright p a {
    color: var(--white-color);
    transition: .3s;
    font-weight: 600;
}
.copyright p a:hover {
    color: var(--main-color);
}

/* 营业执照查询：有接口地址时可点击，无地址时保持普通文字样式 */
.copyright .copy-license {
    color: inherit;
    text-decoration: none;
    cursor: default;
    font-weight: inherit;
}
.copyright .copy-license.is-link {
    cursor: pointer;
    font-weight: 600;
}
.copyright .copy-license.is-link:hover {
    color: var(--main-color);
}

.instra img {
    width: 100%;
}

@media screen and (max-width:1200px) {
    .latest-news img {
        width: 85px;
    }
    a.news-title {
        font-size: 18px;
    }
}

/* ======mobile footer centering====== */
@media screen and (max-width:768px) {
    /* Center all footer sections */
    .footer-sc {
        text-align: center;
    }
    ul.footer-ul li {
        justify-content: center;
    }
    .bar-title::after {
        margin-left: auto;
        margin-right: auto;
    }
    /* Keep 最新动态 (last column) left-aligned as-is */
    .footer-bg .row > div:last-child .footer-sc {
        text-align: left;
    }
    .footer-bg .row > div:last-child ul.footer-ul li {
        justify-content: flex-start;
    }
    .footer-bg .row > div:last-child .bar-title::after {
        margin-left: 0;
        margin-right: 0;
    }
    /* 版权区手机端两行展示：第一行版权所有 © 公司，第二行备案号 + 营业执照查询（整体同行） */
    .copyright .copy-icp {
        display: inline-block;
        white-space: nowrap;
    }
}