/**
 * FangHong Theme Custom CSS — Bootstrap 5
 */

/* Body background */
body {
    background-color: #f3f3f3;
}

/* Custom dark background (header top bar + footer copyright) */
.bg-dark-454545 {
    background-color: #454545 !important;
}

/* WordPress core fixes */
/* 注意:body 自带 `page` class(WordPress 页面类型),这里不能用 overflow:hidden,
   否则会锁死整个页面的纵向滚动。只隐藏水平溢出即可。 */
.page {
    overflow-x: hidden;
}

/* 栏目页 innerbanner 标题+副标语：反白(白字)显示在 banner 图片上 */
.innerbanner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
/* 35% 黑色蒙版，增强可读性 */
.innerbanner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 0;
}
/* 内容容器（标题+副标语），置于蒙版之上 */
.innerbanner .innerbanner-content {
    position: relative;
    z-index: 1;
    padding: 0 1rem;
}
.innerbanner h3 {
    color: #ffffff !important;
    font-size: 2.6rem;
    line-height: 1.3;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
    position: relative;
    z-index: 1;
}
/* 副标语：反白小号 */
.innerbanner .innerbanner-sub {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 0.6px;
    line-height: 1.4;
    margin: 0.7rem 0 0;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}
@media (max-width: 767px) {
    .innerbanner h3 {
        font-size: 1.6rem;
    }
    .innerbanner .innerbanner-sub {
        font-size: 0.85rem;
        margin-top: 0.45rem;
    }
}

/* ============================================
   产品列表页 — 卡片 / 侧边栏 样式优化
   ============================================ */

/* 产品卡片 */
.product-card {
    border: 1px solid #eef0f2;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}
.product-card .card-img-wrap {
    position: relative;
    overflow: hidden;
    background: #fafbfc;
}
.product-card .card-img-top {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.product-card:hover .card-img-top {
    transform: scale(1.06);
}
/* 图片悬停提示 — 品牌蓝半透明遮罩 + 放大镜图标 */
.product-card .img-zoom-hint {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 106, 183, 0.45);
    color: #ffffff;
    font-size: 1.7rem;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.product-card .card-img-wrap:hover .img-zoom-hint {
    opacity: 1;
}
.product-card .card-body {
    padding: 1rem 1.1rem 1.15rem;
}
.product-card .product-cat {
    margin: 0 0 0.5rem;
}
.product-card .product-cat a {
    text-decoration: none;
}
.product-card .product-cat-badge {
    background: #0f6ab7;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.4px;
    line-height: 1.2;
    padding: 0.42em 0.85em;
    transition: background 0.2s ease, transform 0.2s ease;
}
.product-card .product-cat-badge:hover {
    background: #0c5c9e;
    transform: translateY(-1px);
}
.product-card .product-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2e1b27;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card .product-title a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(15, 106, 183, 0.55);
    text-decoration-thickness: 1.5px;
}
.product-card .product-title a:hover {
    color: #0f6ab7;
    text-decoration-color: #0f6ab7;
}

/* 产品分类侧边栏 */
.product-sidebar {
    background: #ffffff;
    border: 1px solid #eef0f2;
    border-radius: 12px;
    padding: 1rem 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.product-sidebar .sidebar-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2e1b27;
}
.product-sidebar ul li {
    margin-bottom: 0.3rem;
}
.product-sidebar ul li a {
    display: block;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #4a4a4a;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}
.product-sidebar ul li a:hover {
    background: #f4f6f8;
    color: #0f6ab7;
    border-left-color: #0f6ab7;
    padding-left: 0.85rem;
}
.product-sidebar ul li.active > a {
    background: #0f6ab7;
    color: #ffffff;
    border-left-color: #0f6ab7;
}
.product-sidebar ul li.active > a:hover {
    color: #ffffff;
    padding-left: 0.65rem;
}

/* 产品分类侧栏 — 子分类用中横线标识层级（替代缩进）：一级 "-"，二级 "--"
   横线与父类首字母左对齐（父类 a padding-left 0.65rem） */
.product-sidebar .sub-cats {
    margin-left: 0;
    padding-left: 0;
    list-style: none;
}
.product-sidebar .sub-cats > li {
    position: relative;
}
.product-sidebar .sub-cats > li::before {
    content: "-";
    position: absolute;
    left: calc(0.65rem + 3px);
    top: 50%;
    transform: translateY(-50%);
    color: #8a9096;
    line-height: 1;
}
.product-sidebar .sub-cats > li > a {
    padding-left: 1.6rem;
}
.product-sidebar .sub-cats > li > a:hover,
.product-sidebar .sub-cats > li.active > a,
.product-sidebar .sub-cats > li.active > a:hover {
    padding-left: 1.6rem;
}
/* 二级子类（--） */
.product-sidebar .sub-cats .sub-cats > li::before {
    content: "--";
    left: calc(0.65rem + 3px);
}
.product-sidebar .sub-cats .sub-cats > li > a {
    padding-left: 2.3rem;
}
.product-sidebar .sub-cats .sub-cats > li > a:hover,
.product-sidebar .sub-cats .sub-cats > li.active > a,
.product-sidebar .sub-cats .sub-cats > li.active > a:hover {
    padding-left: 2.3rem;
}

/* ============================================
   产品详情页 — 样式优化
   ============================================ */
.product-detail-gallery .detailpic img {
    width: 100%;
    border-radius: 12px;
    background: #ffffff;
    padding: 1.2rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}
.product-detail-gallery .detailpic:hover img {
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.14);
}
.product-detail-info h4 {
    font-size: 1.65rem;
    font-weight: 600;
    color: #2e1b27;
    line-height: 1.3;
}
.product-detail-info hr {
    border-color: #e5e8ec;
    opacity: 1;
}
.product-detail-info .product-meta {
    font-size: 1rem;
    color: #5f6369;
    line-height: 1.9;
}
.product-detail-info .product-meta strong {
    color: #2e1b27;
}
.product-detail-info .product-meta .meta-row {
    display: flex;
    gap: 0.4rem;
    padding: 0.35rem 0;
    border-bottom: 1px dashed #e8ebee;
}
.product-detail-info .product-meta .meta-row:last-child {
    border-bottom: none;
}
.product-detail-info .product-meta .meta-label {
    min-width: 92px;
    color: #2e1b27;
    font-weight: 600;
}
.product-detail-info .entry-content {
    margin-top: 1rem;
    font-size: 0.98rem;
    color: #5f6369;
    line-height: 1.7;
}

/* ============================================
   产品详情页 — 布局/按钮/分享/相关产品 优化
   ============================================ */
/* 大图显示区域 — 限制宽度居中，避免过大的正方形占满首屏 */
.product-detail-gallery .detailpic img {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    display: block;
    border-radius: 12px;
    background: #ffffff;
    padding: 1rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}
.product-detail-gallery .detailpic:hover img {
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.14);
}

/* 通用说明提示框 */
.product-notice {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    background: #fff8ec;
    border: 1px solid #f0e3c8;
    border-left: 4px solid #e8a33d;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    margin: 1.1rem 0;
}
.product-notice i {
    color: #e8a33d;
    font-size: 1.15rem;
    margin-top: 0.15rem;
}
.product-notice p {
    margin: 0;
    font-size: 0.9rem;
    color: #6b5a3a;
    line-height: 1.65;
}

/* 联系按钮 + 电话按钮 */
.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1rem 0 1.2rem;
}
.product-actions .btn-contact {
    background: #0f6ab7;
    border-color: #0f6ab7;
    padding: 0.6rem 1.6rem;
    font-weight: 600;
    border-radius: 6px;
    transition: background 0.2s ease, transform 0.2s ease;
}
.product-actions .btn-contact:hover {
    background: #0c5c9e;
    border-color: #0c5c9e;
    transform: translateY(-1px);
}
.product-actions .btn-tel {
    padding: 0.6rem 1.3rem;
    font-weight: 600;
    border-radius: 6px;
    color: #2e1b27;
    border-color: #c8cdd3;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.product-actions .btn-tel:hover {
    border-color: #2e1b27;
    background: #f4f6f8;
    transform: translateY(-1px);
}
.product-actions .btn i {
    margin-right: 0.4rem;
}

/* 社交分享按钮 */
.product-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.4rem;
    padding-top: 1rem;
    border-top: 1px dashed #e8ebee;
}
.product-share .share-label {
    font-weight: 600;
    color: #2e1b27;
    margin-right: 0.2rem;
}
.product-share .share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #a0a0a0;   /* 统一灰色，与页脚 footer-social-btn 一致 */
    color: #ffffff;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.product-share .share-btn:hover,
.product-share .share-btn:focus {
    background-color: #666666;   /* hover 变深灰 */
    transform: translateY(-2px);
    color: #ffffff;
}

/* 你可能喜欢 */
.related-products {
    margin-top: 3rem;
}
.related-products .related-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2e1b27;
    text-align: center;
}

/* Admin bar spacing for sticky navbar */
.admin-bar .navbar.sticky-top {
    top: 32px;
}

/* Images max-width */
img {
    max-width: 100%;
    height: auto;
}

/* WordPress gallery */
.wp-block-gallery {
    margin: 0;
}

/* Search form */
.search-form .search-form_input {
    width: 100%;
}

/* Footer link hover & active — 对齐源站 moto-text_system_10 样式 */
.footer a:hover,
.footer a:focus,
.footer a:active {
    color: #2e1b27 !important;
    font-weight: 700;
}

/* Footer menu links — 对齐源站 moto-text_system_10 样式
   (深灰 #5f6369、无下划线、hover 变深色加粗,而非 Bootstrap 默认蓝色) */
.footer ul li a {
    color: #5f6369;
    text-decoration: none;
    font-weight: 400;
}
.footer ul li a:hover {
    color: #2e1b27;
    font-weight: 700;
    text-decoration: none;
}

/* Product grid spacing */
.product-card .card-body {
    padding: 1rem;
}

/* Category card hover */
.category-card {
    transition: transform 0.3s ease;
}
.category-card:hover {
    transform: translateY(-5px);
}

/* Navigation menu — dynamic spacing */
.header .navbar-nav {
    gap: clamp(0.2rem, 1.6vw, 2rem);
}
.header .navbar-nav .nav-link {
    white-space: nowrap;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-size: 0.95rem;
}

/* ========================================
   Font Recommendations
   ========================================
   Option A — Inter (clean modern UI)
   Option B — Noto Sans (good multilingual)
   Option C — System font stack (fastest)
   Uncomment the one you prefer.
   ======================================== */

/* Option A: Inter (Google Font) — Modern, clean, widely used */
/* 已停用外部 @import：Google Fonts 在国内网络加载慢且 @import 需位于样式表开头，
   会造成渲染阻塞/不生效。统一使用下方系统字体栈，零外部依赖。 */
/* @import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400;14..32,500;14..32,600;14..32,700&display=swap'); */

body, .header .navbar-nav .nav-link, h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    /* 统一非Arial字体：Inter（英文）+ 微软雅黑（中文）*/ 
}

/* 英文和西班牙文链接字体用 Arial */
html:not([lang|="zh"]) a {
    font-family: Arial, Helvetica, sans-serif;
}

/* Option B: Noto Sans (uncomment to use) */
/* @import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wdth,wght@62.5..100,400;62.5..100,500;62.5..100,600;62.5..100,700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap');
body, .header .navbar-nav .nav-link {
    font-family: 'Noto Sans', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
} */

/* Option C: System font stack (uncomment to use, fastest — no external load) */
/* body, .header .navbar-nav .nav-link {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', Roboto, 'Helvetica Neue', Arial, sans-serif;
} */

/* Navigation link hover & active color */
.header .navbar-nav .nav-link:hover,
.header .navbar-nav .nav-link.active,
.header .navbar-nav .nav-link:focus {
    color: #0f6ab7 !important;
}
.header .navbar-nav .nav-link {
    color: #333;
    transition: color 0.2s ease;
}

/* Header icon buttons hover */
.header .btn-link:hover {
    color: #0f6ab7 !important;
}

/* Mobile: navbar adjustments */
@media (max-width: 991.98px) {
    .header .navbar-brand img {
        height: 30px !important;
        width: auto;
    }
    .header .navbar-brand {
        margin-right: 0.5rem !important;
    }
    .header .btn-link {
        font-size: 1rem;
        padding: 0.4rem !important;
    }
    .header .d-flex.align-items-center {
        gap: 0.25rem !important;
    }
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: #cacaca;
    color: #333;
}

/* Footer list styling */
.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 5px;
}

/* Post content styling */
.newsdivcon h1,
.newsdivcon h2,
.newsdivcon h3,
.newsdivcon h4,
.newsdivcon h5,
.newsdivcon h6 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.newsdivcon p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.newsdivcon img {
    max-width: 100%;
    height: auto;
}

/* About page content */
.aboutcontent p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.fpic {
    margin-bottom: 15px;
}

.fpic img {
    max-width: 100%;
    height: auto;
}

.fpic.ycolor {
    /* Yellow border/overlay from original */
}

/* Contact form adjustments */
.formdiv .wpcf7 {
    max-width: 100%;
}

.formdiv .wpcf7 input[type="text"],
.formdiv .wpcf7 input[type="email"],
.formdiv .wpcf7 textarea {
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 14px;
}

.formdiv .wpcf7 input[type="submit"] {
    background: #2e1b27;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.formdiv .wpcf7 input[type="submit"]:hover {
    background: #4a2c3f;
}

/* ============================================
   联系页 — 联系信息卡片
   ============================================ */
.contact-info-card {
    background: #ffffff;
    border: 1px solid #eef0f2;
    border-radius: 14px;
    padding: 1.4rem 1.4rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
}
.contact-info-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2e1b27;
    margin-bottom: 1.1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #0f6ab7;
}
.contact-info-item {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    padding: 0.65rem 0;
    border-bottom: 1px dashed #e8ebee;
}
.contact-info-item:last-child {
    border-bottom: none;
}
.ci-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf2fb;
    color: #0f6ab7;
    border-radius: 10px;
    font-size: 1rem;
}
.ci-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.ci-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #8a9096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.15rem;
}
.ci-value {
    font-size: 0.95rem;
    color: #2e1b27;
    line-height: 1.5;
    word-break: break-word;
}
.ci-value a {
    color: #0f6ab7;
    text-decoration: none;
}
.ci-value a:hover {
    text-decoration: underline;
}

/* ============================================
   在线留言表单（联系页）
   ============================================ */
/* 表单容器与左侧联系信息卡片保持一致的卡片外观 */
.formdiv {
    border: 1px solid #eef0f2;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
}
.fh-form-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #2e1b27;
    margin-bottom: 0.5rem;
}
.fh-form-desc {
    font-size: 0.95rem;
    color: #5f6369;
    margin-bottom: 1.4rem;
    line-height: 1.6;
}
.fh-form-alert {
    border-radius: 8px;
    font-size: 0.95rem;
}
.fh-contact-form .form-group {
    margin-bottom: 1.1rem;
}
/* PC 端：姓名与邮箱并排（移动端自动回退单列） */
.fh-contact-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
    margin-bottom: 1.1rem; /* 保证并排行与下一行（电话）之间保持同款间距 */
}
.fh-contact-form .form-row .form-group {
    flex: 1 1 0;
    min-width: 0;
    margin-bottom: 0;
}
@media (max-width: 767.98px) {
    .fh-contact-form .form-row {
        flex-direction: column;
    }
    .fh-contact-form .form-row .form-group {
        flex: 1 1 auto;
        width: 100%;
        margin-bottom: 0; /* 纵向间距统一由 gap 控制，避免与 margin 叠加 */
    }
}
.fh-contact-form label {
    display: block;
    text-align: left;
    font-size: 0.92rem;
    font-weight: 600;
    color: #2e1b27;
    margin-bottom: 0.35rem;
}
/* 必填星号标红 */
.fh-required {
    color: #e02020;
    font-weight: 700;
    margin-left: 2px;
}
.fh-contact-form .form-control {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border: 1px solid #d5dade;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #333;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fh-contact-form .form-control:focus {
    border-color: #0f6ab7;
    box-shadow: 0 0 0 3px rgba(15, 106, 183, 0.15);
    outline: none;
}
.fh-contact-form .submitbtn {
    margin-top: 0.4rem;
}
.fh-form-submit {
    background: #0f6ab7;
    border-color: #0f6ab7;
    padding: 0.6rem 2rem;
    font-weight: 600;
    border-radius: 6px;
    transition: background 0.2s ease, transform 0.2s ease;
}
.fh-form-submit:hover {
    background: #0c5c9e;
    border-color: #0c5c9e;
    transform: translateY(-1px);
}
.fh-form-submit .fa {
    margin-right: 0.4rem;
}

/* ============================================
   首页 — 核心关键词区块（按产品密度部署）
   ============================================ */
.core-keywords {
    background: #f7f9fb;
    border-top: 1px solid #eef0f2;
    border-bottom: 1px solid #eef0f2;
}
.core-keywords-title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: #2e1b27;
    margin-bottom: 1.1rem;
}
.core-keywords-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
}
.core-keyword-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid #0f6ab7;
    color: #0f6ab7;
    border-radius: 999px;
    padding: 0.55rem 1.3rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.core-keyword-chip:hover {
    background: #0f6ab7;
    color: #ffffff;
    transform: translateY(-2px);
}
.core-keyword-count {
    font-size: 0.78rem;
    font-weight: 700;
    background: #eaf2fb;
    color: #0f6ab7;
    border-radius: 999px;
    padding: 0.12rem 0.55rem;
    line-height: 1.4;
}
.core-keyword-chip:hover .core-keyword-count {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}
@media (max-width: 575.98px) {
    .core-keyword-chip {
        font-size: 0.92rem;
        padding: 0.45rem 1rem;
    }
}

/* ============================================
   新闻列表页 — 卡片 / 分页 / 侧边栏
   ============================================ */
.news-card {
    border: 1px solid #eef0f2;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}
.news-card .card-body {
    padding: 1.1rem 1.2rem 1.25rem;
}
.news-card-thumb {
    display: block;
    overflow: hidden;
}
.news-card-thumb img {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
}
.news-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #2e1b27;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}
.news-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.news-card-title a:hover {
    color: #0f6ab7;
}
.news-card-meta {
    font-size: 0.82rem;
    color: #8a9096;
}
.news-card-meta .fa {
    margin-right: 0.3rem;
}
.news-card-excerpt {
    display: none; /* 按需隐藏列表摘要 */
    font-size: 0.92rem;
    color: #5f6369;
    line-height: 1.65;
    margin-bottom: 0.9rem;
}
.news-card-more {
    color: #0f6ab7;
    border-color: #0f6ab7;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.2s ease;
}
.news-card-more:hover {
    background: #0f6ab7;
    border-color: #0f6ab7;
    color: #fff;
}
.news-card-more .fa {
    margin-left: 0.3rem;
}

/* 新闻分页 */
.news-pagination .page-numbers {
    display: inline-block;
    min-width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    padding: 0 0.6rem;
    margin-right: 0.3rem;
    border: 1px solid #d5dade;
    border-radius: 6px;
    color: #5f6369;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}
.news-pagination .page-numbers.current,
.news-pagination .page-numbers:hover {
    background: #0f6ab7;
    border-color: #0f6ab7;
    color: #ffffff;
}

/* 新闻侧边栏 */
.news-sidebar {
    background: #ffffff;
    border: 1px solid #eef0f2;
    border-radius: 12px;
    padding: 1.1rem 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.news-sidebar-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2e1b27;
    margin-bottom: 1rem;
    padding-bottom: 0.7rem;
    border-bottom: 2px solid #0f6ab7;
}
.news-sidebar-title .fa {
    color: #0f6ab7;
    margin-right: 0.4rem;
}
.news-sidebar-list li {
    margin-bottom: 0.9rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px dashed #e8ebee;
}
.news-sidebar-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.news-sidebar-thumb {
    display: block;
    border-radius: 8px;
    overflow: hidden;
}
.news-sidebar-thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
}
.news-sidebar-post-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 0.3rem;
}
.news-sidebar-post-title a {
    color: #2e1b27;
    transition: color 0.2s ease;
}
.news-sidebar-post-title a:hover {
    color: #0f6ab7;
}
.news-sidebar-date {
    font-size: 0.78rem;
}
.news-sidebar-date .fa {
    margin-right: 0.25rem;
}

/* ============================================
   关于我们 — 现代工业编辑风版式
   ============================================ */
.about-page {
    padding-top: 3.5rem;
    padding-bottom: 4rem;
}
/* 区块标题（统一） */
.about-head {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 2.2rem;
    flex-wrap: wrap;
}
.about-head h3 {
    font-size: 1.9rem;
    font-weight: 800;
    color: #2e1b27;
    margin: 0;
    letter-spacing: -0.5px;
}
.about-index {
    font-size: 0.85rem;
    font-weight: 800;
    color: #0f6ab7;
    letter-spacing: 2px;
    border: 1px solid #0f6ab7;
    border-radius: 20px;
    padding: 0.25rem 0.7rem;
}
.about-head-note {
    margin-left: auto;
    font-size: 0.9rem;
    color: #8a9096;
}

/* 01 · Hero — 编辑杂志式并置 */
.about-hero {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 4.5rem;
}
.hero-eyebrow {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #0f6ab7;
    margin-bottom: 1.2rem;
}
.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #14171c;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin: 0;
}
.hero-divider {
    width: 100%;
    max-width: 520px;
    height: 1px;
    background: #dce3ea;
    margin: 1.8rem 0 1.6rem;
}
.hero-lead strong {
    color: #0f6ab7;
}
.hero-copy p {
    font-size: 0.97rem;
    color: #5f6369;
    line-height: 1.85;
    margin-bottom: 1.1rem;
}
.about-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #14171c;
    color: #fff;
    padding: 0.7rem 1.6rem;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 0;
    transition: background 0.25s ease, gap 0.25s ease;
    text-decoration: none;
    margin-top: 0.6rem;
}
.about-cta:hover {
    background: #0f6ab7;
    gap: 0.9rem;
    color: #fff;
}
.hero-media {
    position: relative;
}
.hero-photo {
    margin: 0;
    position: relative;
}
.hero-photo-link {
    display: block;
    position: relative;
}
.hero-photo-link img {
    width: 100%;
    display: block;
    border-radius: 2px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}
.hero-photo .hero-zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 106, 183, 0.4);
    color: #fff;
    font-size: 1.8rem;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    border-radius: 2px;
}
.hero-photo:hover .hero-zoom {
    opacity: 1;
}
.hero-photo figcaption {
    position: absolute;
    left: -1.2rem;
    bottom: -1.4rem;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.hero-photo-year {
    font-size: 1.9rem;
    font-weight: 800;
    color: #0f6ab7;
    line-height: 1;
}
.hero-photo-caption {
    font-size: 0.82rem;
    font-weight: 600;
    color: #2e1b27;
    max-width: 150px;
    line-height: 1.3;
}

/* 02 · 数据带 — 深色沉浸 */
.stats-band {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    background: #14171c;
    background: #0f6ab7;
    color: #fff;
    margin-bottom: 4.5rem;
    padding: 2.6rem 1rem;
    position: relative;
}
.stat-cell {
    text-align: center;
    padding: 0.3rem 0.6rem;
    position: relative;
}
.stat-cell + .stat-cell::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(255, 255, 255, 0.15);
}
.stat-num {
    font-size: 2.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -1px;
}
.stat-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 0.5rem;
    letter-spacing: 0.5px;
}

/* 03 · 发展历程 — 横向时间轴 */
.about-journey {
    margin-bottom: 4.5rem;
}
.journey-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-top: 1.5rem;
}
.journey-track::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #e2e8ef;
}
.journey-node {
    position: relative;
    padding-top: 1.2rem;
}
.journey-node::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 0;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #0f6ab7;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #0f6ab7;
}
.node-year {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #14171c;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}
.journey-node p {
    font-size: 0.92rem;
    color: #5f6369;
    line-height: 1.7;
    margin: 0;
}

/* 04 · 产品实力 — 深蓝侧栏 + 编号行 */
.about-products {
    display: grid;
    grid-template-columns: 33% 67%;
    gap: 3rem;
    align-items: stretch;
    margin-bottom: 4.5rem;
}
.products-aside {
    background: #0f6ab7;
    color: #fff;
    padding: 2.4rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.products-aside .about-index {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
    align-self: flex-start;
}
.products-aside h3 {
    font-size: 1.9rem;
    font-weight: 800;
    margin: 1rem 0 0.8rem;
}
.products-aside p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.6;
}
.products-aside > i {
    position: absolute;
    right: 1.2rem;
    bottom: 1rem;
    font-size: 4.5rem;
    opacity: 0.18;
}
.products-rows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-content: center;
    column-gap: 2.5rem;
}
.product-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e6ebf0;
}
.row-num {
    font-size: 0.9rem;
    font-weight: 800;
    color: #b7c6d6;
    min-width: 1.6rem;
}
.product-row i {
    font-size: 1.2rem;
    color: #0f6ab7;
    width: 1.3rem;
    text-align: center;
}
.row-name {
    font-size: 1rem;
    font-weight: 600;
    color: #2e1b27;
}
.product-row:hover .row-name {
    color: #0f6ab7;
}

/* 05 · 工厂与设备 — 横向无限循环滚动（通栏） */
.about-gallery {
    margin-bottom: 4.5rem;
}
/* 通栏：突破版心（container-xxl）限制，铺满整屏宽度 */
.gallery-marquee {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    padding: 1.4rem 0;
}
/* 滚动轨道：两组内容无缝循环 */
.gallery-marquee-track {
    display: flex;
    width: max-content;
    animation: gallery-marquee-scroll 90s linear infinite;
    will-change: transform;
}
/* 鼠标悬停时暂停滚动 */
.gallery-marquee:hover .gallery-marquee-track {
    animation-play-state: paused;
}
/* 每组内容：内部间距与组尾间距一致，保证首尾无缝衔接 */
.gallery-marquee-group {
    display: flex;
    align-items: stretch;
    gap: 1.25rem;
    padding-right: 1.25rem;
}
.g-item {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    flex: 0 0 auto;
    width: 380px;
    height: 262px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.g-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}
.g-item a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.g-item a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
/* 悬停缩放响应：图片放大，超出卡片范围被裁剪 */
.g-item a:hover img {
    transform: scale(1.12);
}
.g-item .g-zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 106, 183, 0.4);
    color: #fff;
    font-size: 1.6rem;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.g-item:hover .g-zoom {
    opacity: 1;
}
.g-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.5rem 1rem 0.7rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
}
/* 匀速滚动动画（translateX -50% = 恰好一组内容的宽度） */
@keyframes gallery-marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
/* 无障碍：用户偏好减少动态效果时停止自动滚动，改为可手动横向滑动 */
@media (prefers-reduced-motion: reduce) {
    .gallery-marquee-track {
        animation: none;
    }
    .gallery-marquee {
        overflow-x: auto;
    }
}

/* 06 · 资质认证 — 平铺两行 */
.about-certs {
    margin-bottom: 4.5rem;
}
.certs-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
}
.cert-item {
    display: block;
    text-decoration: none;
    background: #fff;
    padding: 0.8rem 0.8rem 1rem;
    border: 1px solid #e8ecef;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.cert-item:hover {
    transform: translateY(-4px);
    border-color: #0f6ab7;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}
.cert-item img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    background: #fafbfc;
}
.cert-cap {
    display: block;
    margin-top: 0.55rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #2e1b27;
    line-height: 1.35;
    text-align: center;
}

/* 07 · 文化 & 可持续 — 左右大色块 */
.about-culture {
    margin-bottom: 2rem;
}
.culture-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
}
.culture-block {
    padding: 2.4rem 2.2rem;
    color: #fff;
    border-radius: 2px;
}
.culture-block--blue {
    background: #0f6ab7;
}
.culture-block--dark {
    background: #14171c;
}
.culture-icon {
    font-size: 2rem;
    margin-bottom: 1.1rem;
    display: inline-block;
    opacity: 0.9;
}
.culture-block h4 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.culture-block > p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.8;
    margin-bottom: 1.3rem;
}
.culture-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1.2rem;
}
.culture-list li {
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.culture-list li i {
    color: #5fc3ff;
}

/* About 页 — 响应式 */
@media (max-width: 991.98px) {
    .about-hero {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .stats-band {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem 0;
    }
    .about-products {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    .products-aside {
        min-height: 220px;
    }
    .journey-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 2rem;
    }
    .culture-blocks {
        grid-template-columns: 1fr;
    }
    .certs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 767.98px) {
    .about-page {
        padding-top: 2rem;
        padding-bottom: 2.5rem;
    }
    .hero-photo figcaption {
        left: 0.5rem;
        bottom: -1rem;
    }
    .hero-photo-caption {
        max-width: 120px;
    }
    .stats-band {
        grid-template-columns: repeat(2, 1fr);
        padding: 2rem 0.5rem;
    }
    .stat-cell + .stat-cell::before {
        display: none;
    }
    .stat-num {
        font-size: 2.1rem;
    }
    .journey-track {
        grid-template-columns: 1fr;
        padding-top: 0;
    }
    .journey-track::before {
        top: 0;
        bottom: 0;
        left: 6px;
        right: auto;
        width: 2px;
        height: auto;
    }
    .journey-node {
        padding: 0 0 1.6rem 2rem;
    }
    .journey-node::before {
        top: 4px;
        left: 0;
    }
    .products-rows {
        grid-template-columns: 1fr;
    }
    .gallery-marquee {
        padding: 1rem 0;
    }
    .gallery-marquee-group {
        gap: 0.9rem;
        padding-right: 0.9rem;
    }
    .g-item {
        width: 240px;
        height: 180px;
    }
    .certs-grid {
        grid-template-columns: 1fr 1fr;
    }
    .about-head h3 {
        font-size: 1.5rem;
    }
}

/* Back button */
.backbtn {
    display: inline-block;
    padding: 10px 20px;
    background: #2e1b27;
    color: #fff !important;
    text-decoration: none;
    border-radius: 0;
    transition: background 0.3s;
}

.backbtn:hover {
    background: #4a2c3f;
}

/* Sidebar category tree */
.sidebar-category-tree ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-category-tree ul li {
    margin-bottom: 5px;
}

.sidebar-category-tree ul li a {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    background: #f5f5f5;
    border-left: 3px solid transparent;
    transition: all 0.3s;
}

.sidebar-category-tree ul li a:hover,
.sidebar-category-tree ul li.active > a {
    background: #2e1b27;
    color: #fff;
    border-left-color: #dbb879;
}

.sidebar-category-tree ul li.has-sub > a:after {
    content: "\f107";
    font-family: FontAwesome;
    float: right;
}

.sidebar-category-tree ul ul {
    padding-left: 15px;
}

.sidebar-category-tree ul ul li a {
    font-size: 13px;
    padding: 6px 10px;
}

/* Breadcrumbs styling */
.breadcrumbs {
    padding: 5px 0;
    font-size: 13px;
    color: #666;
}

.breadcrumbs a {
    color: #333;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #dbb879;
}

.breadcrumbs .sep {
    margin: 0 5px;
    color: #999;
}

.breadcrumbs .active {
    color: #999;
}

/* Mobile responsive fixes */
@media (max-width: 991px) {
    /* Bootstrap 5 navbar handles mobile collapse natively */
}

/* Sticky navbar (Bootstrap 5 .sticky-top handles this) */

/* Fix for bxSlider in WordPress */
.bxslider {
    margin: 0;
    padding: 0;
}

.bxslider li {
    list-style: none;
}

/* Ensure container fluid works */
.container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* ============================================
   首页产品分类模块 — 对齐源站(mt-0765 模板)样式
   源站结构:moto-text_system_7 下分类名链接
   ============================================ */
#section-content .mar25 h2 {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    color: #2e1b27;
    text-align: center;
}
#section-content .mar25 h2 a {
    color: #2e1b27;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-decoration: underline;
}
#section-content .mar25 h2 a:hover {
    color: #2e1b27;
    text-decoration: none;
}
/* 分类图片:与源站一致,撑满列宽、无额外边框 */
#section-content .mar25 a > img {
    width: 100%;
    max-width: 100%;
    display: inline-block;
}

/* ============================================
   首页 About Us / Contacts 模块 — 标题字号与「热门产品 Popular Products」统一为 40px
   正文 15px / #5f6369 / 行高 1.5;配图约 300px
   ============================================ */
.py-5 > .container-xxl > .row > .col-sm-8 h1.display-6,
.py-5 > .container-xxl > .row > .col-sm-8 h1.display-6 span,
.py-5 > .container-xxl > .row > .col-sm-4 h1.display-6,
.py-5 > .container-xxl > .row > .col-sm-4 h1.display-6 span {
    font-size: 40px;
    font-weight: 300;
    /* 覆盖 Bootstrap .text-secondary 的 !important */
    color: #2e1b27 !important;
    font-family: Arial, Helvetica, sans-serif;
}
.py-5 > .container-xxl > .row > .col-sm-8 p {
    font-size: 15px;
    color: #5f6369;
    line-height: 1.5;
    text-align: left;
}
.py-5 > .container-xxl > .row > .col-sm-8 .col-11 img.img-fluid {
    max-width: 300px;
    height: auto;
}

/* About Us / Contacts 内容容器 — 对齐源站浅蓝灰底(#EEF3F6, padding 0 20px, margin 15px 0) */
.py-5 > .container-xxl > .row > .col-sm-8,
.py-5 > .container-xxl > .row > .col-sm-4 {
    display: flex;
    align-items: stretch;
    /* 用列的内边距替代容器 margin，保证两容器等高且间距一致 */
    padding-top: 15px;
    padding-bottom: 15px;
}
.about-summary-block {
    background-color: #eef3f6;
    padding: 0 20px;
    width: 100%;
}

/* About/Contacts 区块父容器:白色底,衬托浅蓝灰块(页面整体背景为 #F3F3F3) */
.about-contact-section {
    background-color: #ffffff;
}

/* 首页模块标题字号统一（与「热门产品 Popular Products」的 display-6 一致，40px） */
.about-contact-section h1.display-6,
.latest-news-section h1.display-6 {
    font-size: 40px;
}

/* ===== About/Contacts 内部间距 — 对齐源站 www.nbhaihuan.com ===== */
/* 标题顶部:48px(pt-5)→ 21px,与源站标题顶距一致(解决 About 块上方留白过大) */
.about-summary-block > .row.pt-5 {
    padding-top: 21px !important;
}
/* Contacts 标题同水平线:解决 "Contacts 顶头" 问题 */
.py-5 > .container-xxl > .row > .col-sm-4 > .about-summary-block > .pb-4:first-child {
    padding-top: 21px;
}
/* READ MORE 按钮 — 对齐源站绿色胶囊(#62CA71, 圆角 22px, padding 14px 31px, 字距 2px) */
.about-summary-block .btn-primary {
    background-color: #62ca71;
    border: 2px solid transparent;
    border-radius: 22px;
    padding: 14px 31px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 20px;
}
.about-summary-block .btn-primary:hover {
    background-color: #4fb35e;
    color: #fff;
}

/* 页脚订阅按钮 SUBSCRIBE — 品牌绿 #62ca71（同「关于我们 READ MORE」） */
.newsletter-submit {
    background-color: #62ca71;
    border-color: #62ca71;
    color: #fff;
}
.newsletter-submit:hover,
.newsletter-submit:focus {
    background-color: #4fb35e;
    border-color: #4fb35e;
    color: #fff;
}

/* 服务支持页面内容样式 */
.service-content h2 {
    font-size: 1.7rem;
    font-weight: 700;
    color: #2e1b27;
    margin: 1.8rem 0 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #0f6ab7;
}
.service-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0f6ab7;
    margin: 1.4rem 0 0.6rem;
}
.service-content p {
    font-size: 0.98rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 0.8rem;
}
.service-content ul {
    padding-left: 1.4rem;
    margin-bottom: 0.8rem;
}
.service-content ul li {
    font-size: 0.98rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 0.3rem;
}
.service-content a {
    color: #0f6ab7;
}
.service-content strong {
    color: #0f6ab7;
}

/* ============================================
   首页 公司优势 板块 — 深色背景图 + 品牌蓝图标(#0f6ab7, 同 logo) + 反白文本
   ============================================ */
.company-advantages-section {
    position: relative;
    background-image: url('../images/home-future-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #2a2f36; /* 图片加载前/中的兜底深色 */
    padding: 70px 0;
    color: #ffffff;
}

.company-advantages-section .container-xxl {
    position: relative;
    z-index: 1;
}

.company-advantages-title {
    margin: 0 0 8px;
    font-size: 40px;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: 1px;
}

.company-advantages-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.5px;
}

/* 单个优势项 — 无卡片边框，纯图标+文本 */
.company-advantage-item {
    text-align: center;
    padding: 30px 15px;
    height: 100%;
    transition: transform 0.3s ease;
}
.company-advantage-item:hover {
    transform: translateY(-5px);
}

/* 品牌绿图标(#62ca71)，无圆框，醒目突出 */
.company-advantage-icon {
    margin: 0 auto 18px;
    line-height: 1;
}
.company-advantage-icon .fa {
    font-size: 56px;
    color: #62ca71;
}

.company-advantage-title {
    margin: 0 0 10px;
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
}

.company-advantage-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

/* 移动端: 禁用固定背景(避免 iOS 滚动卡顿), 图标缩小 */
@media (max-width: 991.98px) {
    .company-advantages-section {
        background-attachment: scroll;
        padding: 50px 0;
    }
    .company-advantages-title {
        font-size: 28px;
    }
    .company-advantage-icon .fa {
        font-size: 42px;
    }
    .company-advantage-item {
        padding: 22px 10px;
    }
}

/* ============================================
   Contacts 模块 — 地址/电话行排版修复
   要求：icon 固定在每行最左边（左对齐列表式），文本紧跟 icon，
   左内边距合适、不偏不挤；两行 icon 垂直对齐，文本左边界对齐。
   原结构 row > col-3(text-end) + col-9 中 col-3 占 25% 宽，
   把 icon 推到行中偏右位置（距左 80px），且行内容左右不对称。
   ============================================ */
.about-contact-section .col-sm-4 .about-summary-block .row {
    display: flex;
    flex-wrap: nowrap;   /* 关键：防止 col-9 换行到 icon 下方 */
    justify-content: flex-start;
    align-items: flex-start;
    margin-left: 0;
    margin-right: 0;
    padding: 0 30px;     /* 左右内边距 30px */
}
.about-contact-section .col-sm-4 .about-summary-block .row > .col-3 {
    flex: 0 0 auto;
    width: 26px;          /* 固定 icon 列宽：icon(约16px) + 与文本间距(约10px)，对齐原版排版 */
    padding-left: 0;
    padding-right: 0;
    text-align: left !important;  /* 覆盖原 .text-end 的 right 对齐，让 icon 靠左 */
    margin-right: 0;
}
.about-contact-section .col-sm-4 .about-summary-block .row > .col-9 {
    flex: 0 1 auto;       /* 允许收缩：长文本在 icon 右侧自然换行 */
    width: auto;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
}
.about-contact-section .col-sm-4 .about-summary-block .row > .col-9 p {
    margin-bottom: 0;
}
/* icon 与文本首行顶部对齐 */
.about-contact-section .col-sm-4 .about-summary-block .row > .col-3 img {
    padding-top: 4px;
}

/* ============================================
   页脚社交媒体分享按钮 — 二维码下方
   圆形灰色背景 + 白色图标（统一灰色，无品牌色），hover 加深上浮
   ============================================ */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #a0a0a0;   /* 统一灰色 */
    color: #ffffff;
    font-size: 17px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
.footer-social-btn:hover,
.footer-social-btn:focus {
    background-color: #666666;   /* hover 变深灰 */
    transform: translateY(-2px);
    color: #ffffff;
}

/* ============================================
   右下角 向上/向下 浮动导航按钮
   页面超过一屏（可滚动）时显示，否则隐藏
   ============================================ */
.fanghong-scroll-nav {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.fanghong-scroll-nav.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.fanghong-scroll-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background-color: #a0a0a0;   /* 与页脚灰色图标一致 */
    color: #ffffff;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.fanghong-scroll-btn:hover,
.fanghong-scroll-btn:focus {
    background-color: #666666;
    transform: translateY(-2px);
    color: #ffffff;
}
@media (max-width: 640px) {
    .fanghong-scroll-nav {
        right: 14px;
        bottom: 16px;
    }
    .fanghong-scroll-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}


