:root {
    --primary-color: #e60012;
    --secondary-color: #333333;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
}

/* 字体 */
/* Thin */
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/Barlow/Barlow-Light.ttf') format('truetype');
    font-display: swap;
}

/* Regular */
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/Barlow/Barlow-Medium.ttf') format('truetype');
    font-display: swap;
}

/* Regular */
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/Barlow/Barlow-SemiBold.ttf') format('truetype');
    font-display: swap;
}


/* Bold (示例，如需可启用) */
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/Barlow/Barlow-Bold.ttf') format('truetype');
    font-display: swap;
}


/* 基础 */
a {
    color: #000;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: #d9232a;
}

ul,
ol,
li {
    padding: 0 !important;
    margin: 0;
    list-style: none;
    padding-left: 0 !important;
}

body {
    font-family: '微软雅黑', 'Barlow', 'Arial', 'sans-serif';
    font-weight: 100;
    color: #333;
}

.container-xxl {
    max-width: 1669px !important;
}

.bg-dark-gray {
    background-color: var(--dark-gray) !important;
}

.bg-light-gray {
    background-color: var(--light-gray) !important;
}

.bder-1 {
    border: 1px #555 solid;
}

.text-red {
    color: var(--primary-color) !important;
}

.strong {
    font-weight: 700;
}

.text-dx {
    text-transform: uppercase;
}

/* 通用间距 */
.pt-30 {
    padding-top: 30px;
}

.pt-50 {
    padding-top: 50px;
}

.pt-80 {
    padding-top: 80px;
}

section {
    padding: 80px 0 30px;
}

.section-title-2 {
    padding: 30px 0;
}

/* 导航 */
.navbar {
    background-color: rgba(51, 51, 51, 1);
    transition: background-color 0.3s ease;
}

.navbar-brand img {
    height: 40px;
}

.navbar-nav .nav-link {
    color: #fff;
    margin-right: 15px;
    text-transform: uppercase !important;
    font-size: 1.3em;
    font-weight: 100;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    border: 1px rgba(255, 255, 255, 0.35) solid;
    border-radius: 10px;
}

.dropdown-menu {
    background-color: #000;
    border: none;
    border-radius: 0;
}

.multi-column-dropdown {
    width: 700px;
}

.dropdown-column {
    padding: 15px 25px;
}

.dropdown-column h6 {
    color: #fff;
}

.dropdown-item {
    color: #fff;
    font-weight: 100;
    padding: 8px 15px;
    display: block;
}

.dropdown-item:hover {
    text-decoration: none;
    background-color: var(--primary-color);
    color: #fff;
}

/* Hero */
.hero-section {
    position: relative;
    color: #fff;
    background-color: #000;
    overflow: hidden;
    padding: 180px 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    z-index: 1;
}

/* 标题 */
h1 {
    font-size: 4.2rem;
    text-transform: uppercase;
    line-height: 1.1;
    font-weight: 700;
}

h2 {
    font-size: 2.6rem;
    text-transform: uppercase;
    line-height: 1.1;
    font-weight: 400;
}

h3 {
    font-size: 1.3rem;
    font-weight: 400;
}

h4 {
    font-size: 1.5rem;
    font-weight: 400;
}

h5 {
    font-size: 1.3rem;
    font-weight: 400;
}

h5 {
    font-size: 1.3rem;
    font-weight: 400;
}

.font20 {
    font-size: 20px !important;
}

.font25 {
    font-size: 25px !important;
}

.font30 {
    font-size: 30px !important;
}

.section-title {
    text-align: center;
    margin-bottom: 15px;
    padding: 20px 0;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

.title {
    font-weight: 400;
    margin-bottom: 15px;
    padding-bottom: 20px;
    position: relative;
    line-height: 1.1;
}

.cat-title {
    margin: 0 0 18px;
    letter-spacing: 4px;
}

.cat-intro {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 1100px;
}

@media (max-width: 1200px) {
    .cat-title {
        font-size: 64px;
    }
}

@media (max-width: 768px) {
    .cat-title {
        font-size: 36px;
    }

    .cat-hero-content {
        padding: 36px 0;
    }

    .cat-intro {
        font-size: 14px;
    }
}

/* 公司的统计/新闻/案例等模块 */
.stats-section {
    background-color: #fff;
    color: #333;
    padding: 80px 0;
}

/* 来自页面内联样式：统计卡片布局（优先级较高，用于覆盖通用样式） */
.stats-section .col-lg-7 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    align-items: stretch;
}

@media (max-width: 992px) {
    .stats-section .col-lg-7 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-section .col-lg-7 {
        grid-template-columns: 1fr;
    }
}

/* 统计项（页面样式覆盖） */
.stat-item {
    border: 1px solid #e6e6e6;
    padding: 26px 22px;
    border-radius: 6px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: box-shadow 200ms ease, transform 200ms ease;
    min-height: 120px;
}

.stat-item:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.stat-item p {
    margin: 0;
    color: #666;
    transition: color 180ms ease;
    font-size: 14px;
}

.stat-number {
    font-size: 48px;
    /* 页面内联样式优先 */
    font-weight: 700;
    color: #111;
    line-height: 1;
    margin-bottom: 8px;
    transition: color 180ms ease;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.stat-item:hover .stat-number,
.stat-item:hover p {
    color: #d9534f;
}


/* 交互特效 */
.img-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    display: block;
    background: #f5f5f5;
}

.img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-zoom {
    transition: transform 0.3s ease;
}

.img-zoom:hover {
    transform: scale(1.1);
}

/* 新闻卡片（页面内联样式覆盖/补充） */
.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}




/* 公司简介（保留变量颜色为默认，但页面内联样式覆盖一些尺寸与色值） */
.company-intro-section {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 80px 0;
}

/* 页面更具体的覆盖（使用 index.html 中的数值） */
.company-intro-section {
    background: #2f2f2f;
    color: #d8d8d8;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.company-intro-section .since-badge {
    display: inline-block;
    background: #d6332a;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.company-intro-section .intro-title {
    font-size: 48px;
    color: #fff;
    font-weight: 700;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
}

.company-intro-section .intro-subtitle {
    color: #e94b3c;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.company-intro-section p {
    color: #cfcfcf;
    line-height: 1.8;
}

.company-intro-section .company-image-card {
    overflow: hidden;
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.company-intro-section .company-image-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

@media (max-width: 992px) {
    .company-intro-section .intro-title {
        font-size: 36px;
    }
}

/* 公司简介/联系我们合并区域 */
.contact-cooperation-section {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 80px 0;
}

/* 页面覆盖：更具体的 padding & bg */
.contact-cooperation-section {
    background: #333;
    padding: 56px 0;
    color: #fff;
}

.contact-cooperation-section .row {
    align-items: stretch;
}

/* Win-win 区块（页面内联规则优先） */
.win-win-section {
    background-color: var(--primary-color);
    color: #fff;
    padding: 50px 30px;
    border-radius: 5px;
}

/* 页面具体样式覆盖 */
.win-win-section {
    background: #d9232a;
    color: #fff;
    padding: 56px 48px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    justify-content: center;
    height: 100%;
}

.win-win-section h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.win-win-section p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
}

.win-join-btn {
    margin-top: 22px;
    display: inline-block;
    padding: 10px 26px;
    min-width: 150px;
    border-radius: 6px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    border: 1px solid transparent;
    background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), linear-gradient(90deg, #666 0%, #666 100%);
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
    transition: background-image 300ms ease, color 240ms ease, transform 180ms ease, box-shadow 180ms ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.win-join-btn:hover {
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), linear-gradient(90deg, #ff4b4b 0%, #d9232a 50%, #ff4b4b 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.win-join-btn:focus,
.win-join-btn:active {
    outline: none;
    transform: translateY(-2px);
}

@media (max-width:767px) {
    .win-win-section {
        text-align: center;
    }

    .win-win-section .win-join-btn {
        margin-left: auto;
        margin-right: auto;
        display: inline-block;
    }
}

.contact-panel {
    background: #2f2f2f;
    padding: 48px;
    border-radius: 10px;
    color: #e6e6e6;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.contact-panel h2 {
    color: #fff;
    font-size: 42px;
    margin-bottom: 12px;
}

.contact-panel p {
    color: #cfcfcf;
    margin-bottom: 24px;
}

.contact-panel .form-control {
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    color: #ddd;
    box-shadow: none;
    padding-left: 0;
    padding-right: 0;
    height: 48px;
}

.contact-panel .form-control::placeholder {
    color: rgba(255, 255, 255, 0.46);
}

.contact-panel textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

.contact-panel .btn-primary {
    background: #d9232a;
    border-color: #d9232a;
    padding: 14px 22px;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: none;
}

@media (min-width:992px) {
    .contact-cooperation-section .col-lg-6 {
        display: flex;
    }

    .contact-cooperation-section .col-lg-6>.win-win-section,
    .contact-cooperation-section .col-lg-6>.contact-panel {
        flex: 1;
    }
}

/* 页脚（使用页面内联值覆盖默认） */
.footer {
    background: #111;
    color: #cfcfcf;
    padding: 48px 0 32px;
}

.footer .footer-logo img {
    max-width: 160px;
    height: auto;
    display: block;
}

.footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    margin-right: 8px;
    text-decoration: none;
}

.footer .footer-nav {
    display: flex;
    gap: 150px;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 80px;
}

.footer .nav-column h5 {
    color: #fff;
    margin-bottom: 12px;
    font-weight: 700;
}

.footer .footer-links li a {
    color: #cfcfcf;
    text-decoration: none;
    line-height: 200%;
    display: block;
}

.footer .footer-links li a:hover {
    color: #FE0000;
    text-decoration: none;
}

.footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 18px;
    margin-top: 22px;
    color: #9b9b9b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width:991px) {
    .footer .footer-nav {
        gap: 24px;
    }

    .footer {
        padding: 36px 0;
    }
}

/* 其他通用组件 */
.news-card {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #333;
    color: #fff;
    text-align: center;
    line-height: 36px;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
}

.industry-tag {
    background-color: #f1f1f1;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.industry-tag:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Tags module used on product pages */
.tags-section {
    padding: 24px 0;
}

.tags-section .tags-title {
    color: #333;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.tag-pill {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 4px;
    background: #f5f5f5;
    color: #666;
    text-decoration: none;
    border: 1px solid #e6e6e6;
    font-size: 0.9rem;
    transition: all 180ms ease;
}

.tag-pill:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* case */
.case-item {
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.case-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-item:hover img {
    transform: scale(1.05);
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.case-item:hover .case-overlay {
    transform: translateY(0);
}

/* 搜索 */
.search-container-xxl {
    position: relative;
}

.search-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    margin-top: 10px;
}

.search-input {
    position: absolute;
    right: 0;
    top: 100%;
    width: 200px;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: none;
}

.search-input.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.search-container-xxl .search-input {
    display: none;
}

.search-container-xxl.search-open .search-input {
    display: inline-block !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 小工具类 */
.text-center {
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* 公司优势马赛克模块 */
.advantage-mosaic-section {
    padding: 40px 0;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.adv-item {
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.adv-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.adv-item.stat {
    color: #fff;
    text-align: center;
    padding: 30px 20px;
}

.adv-item.stat .stat-number {
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

.adv-item.stat .stat-label {
    margin-top: 12px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
}

.adv-item.stat.red {
    background: var(--primary-color);
}

.adv-item.stat.dark {
    background: var(--secondary-color);
}

/* 可选拼图样式（在右下角显示多图合成感） */
.adv-item.img.collage {
    display: flex;
    align-items: center;
    justify-content: center;
}

.adv-item.img.collage img {
    object-fit: cover;
}

@media (max-width: 1200px) {
    .advantage-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .adv-item.stat .stat-number {
        font-size: 56px;
    }
}

@media (max-width: 576px) {
    .advantage-grid {
        grid-template-columns: 1fr;
    }

    .adv-item {
        min-height: 160px;
    }

    .adv-item.stat .stat-number {
        font-size: 42px;
    }
}

/* WHY 模块样式 */
.why-section {
    padding: 60px 0;
}

.why-title {
    font-size: 48px;
    margin: 0 0 18px;
    letter-spacing: 1px;
}

.why-intro {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.why-features {
    margin-top: 10px;
}

.why-feat {
    padding: 24px 0;
    border-top: 1px solid transparent;
}

.why-feat h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #222;
}

.why-feat p {
    color: #777;
    margin: 0;
}

/* 右侧竖线分隔（桌面） */
.why-right {
    padding-left: 40px;
    border-left: 1px solid #eee;
}

@media (max-width: 992px) {
    .why-title {
        font-size: 36px;
    }

    .why-right {
        border-left: none;
        padding-left: 0;
        margin-top: 24px;
    }
}

@media (max-width: 576px) {
    .why-title {
        font-size: 28px;
    }

    .why-feat {
        padding: 18px 0;
    }
}

/* ===== 公司简介（按照设计图） ===== */
.company-intro-section {
    background: #2f2f2f;
    color: #d8d8d8;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.company-intro-section .company-lead {
    font-size: 14px;
    color: #999;
    margin-bottom: 6px;
}

.company-intro-section .company-main {
    color: #fff;
    font-size: 30px;
    line-height: 1.15;
    margin: 0 0 12px;
    font-weight: 700;
}

.company-intro-section .company-side {
    color: #d8d8d8;
    font-weight: 600;
    font-size: 14px;
    margin-top: 8px;
}

.company-intro-section .company-desc {
    color: #cfcfcf;
    margin-top: 12px;
}

/* 统计卡 3x2 网格（白色卡片） */
.company-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.company-stats-grid .stat-item {
    background: #fff;
    color: #222;
    padding: 22px;
    border-radius: 8px;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 120px;
}

.company-stats-grid .stat-item p {
    margin: 0;
    color: #666;
    font-size: 13px;
}

.company-stats-grid .stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #111;
    line-height: 1;
    margin-bottom: 6px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.company-stats-grid .stat-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

@media (max-width: 992px) {
    .company-intro-section .company-main {
        font-size: 26px;
    }

    .company-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .company-stats-grid {
        grid-template-columns: 1fr;
    }

    .company-intro-section .company-main {
        font-size: 20px;
    }

    .company-intro-section .company-side {
        display: none;
    }
}

/* 保证按钮在深色背景下的可见性（如有） */
.company-intro-section .btn-primary {
    background: #d9232a;
    border-color: #d9232a;
}

/* 小屏时卡片间距更紧凑 */
@media (max-width: 420px) {
    .company-stats-grid {
        gap: 12px;
    }

    .company-stats-grid .stat-number {
        font-size: 36px;
    }
}

/* 画廊样式 */
.gallery-section {
    background: #333;
}

.gallery-row {
    overflow: hidden;
}

.gallery-card {
    width: 25%;
    flex: 0 0 auto;
    margin-right: 18px;
    text-align: center;
}

.gallery-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.gallery-card p {
    color: #cfcfcf;
    font-size: 13px;
    margin-top: 8px;
}

.carousel-item {
    transition: transform 3s ease;
}


/* 隐藏水平滚动条，但保留可滚动性 */
.gallery-row .carousel-inner {
    overflow: hidden;
}

.gallery-row .d-flex {
    gap: 18px;
}

@media (max-width: 992px) {
    .gallery-card {
        width: 180px;
    }

    .gallery-card img {
        height: 120px;
    }
}

@media (max-width: 576px) {
    .gallery-card {
        width: 140px;
    }

    .gallery-card img {
        height: 90px;
    }
}

/* 案例列表样式 */
.case-item {
    margin-bottom: 40px;
}

.case-media {
    overflow: hidden;
}

.case-thumb {
    transition: transform 360ms cubic-bezier(.2, .9, .2, 1);
    display: block;
}

.case-media:hover .case-thumb {
    transform: scale(1.06);
}

.case-excerpt {
    color: #666;
    margin-bottom: 10px;
}

.order-md-1 {
    float: left;
}

.order-md-2 {
    float: right;
}

/* 分页自定义 */
.pagination-custom .page-item {
    margin: 0 2px;
}

.pagination-custom .page-link {
    border-radius: 4px;
    border: 1px solid #eee;
    color: #333;
    padding: 6px 16px;
}

.pagination-custom .page-item.active .page-link {
    background: #d9232a;
    border-color: #d9232a;
    color: #fff;
}

.pagination-custom .page-item.disabled .page-link {
    color: #bfbfbf;
}

@media (max-width: 767px) {
    .case-item .case-body {
        margin-top: 12px;
    }
}

/* 量身定制模块 */
.tailored-section {
    background: #f1f1f1;
}

.tailored-inner {
    background: transparent;
}

.tailored-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 18px;
}

.tailored-lead {
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}

.tailored-desc {
    color: #666;
    line-height: 1.8;
}

.btn-join {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 700;
}

.btn-join:hover {
    background: #c21b1f;
    border-color: #c21b1f;
}

.industry-grid {
    gap: 12px;
}

.industry-pill {
    background: transparent;
    /* 默认无背景 */
    border: 1px solid #333;
    /* 默认边线颜色 #333 */
    padding: 18px 22px;
    border-radius: 8px;
    width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 6px;
    text-align: center;
    box-shadow: none;
    transition: background-color 260ms ease, border-color 260ms ease, transform 200ms ease;
}

.industry-pill i {
    font-size: 20px;
    color: #333;
    margin-bottom: 8px;
    transition: color 260ms ease;
}

.pill-label {
    font-size: 14px;
    color: #333;
    transition: color 260ms ease;
}

.industry-pill:hover {
    background: #fff;
    /* 悬停背景变为白 */
    border-color: #fff;
    /* 悬停边线变为白 */
    transform: translateY(-6px);
}

.industry-pill:hover i,
.industry-pill:hover .pill-label {
    color: var(--primary-color);
}

@media (max-width: 991px) {
    .tailored-title {
        font-size: 28px;
    }

    .industry-pill {
        width: 120px;
        padding: 14px 10px;
    }
}

@media (max-width: 576px) {
    .tailored-section {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .industry-pill {
        width: 48%;
        margin: 6px 1%;
    }
}

/* Partner / Agents section */
.partner-section {
    background: #2f2f2f;
    color: #fff;
}

.partner-title {
    color: #fff;
    font-weight: 700;
    letter-spacing: 2px;
}

.partner-lead {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
}

.partner-desc {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.partner-section .btn-danger {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.partner-section .btn-danger:hover {
    background: #c21b1f;
    border-color: #c21b1f;
}

.partner-img {
    object-fit: cover;
    height: 420px;
    width: 100%;
    display: block;
}

.carousel-inner {
    border-radius: 8px;
    overflow: hidden;
}

/* carousel controls subtle visibility */
.partner-section .carousel-control-prev-icon,
.partner-section .carousel-control-next-icon {
    filter: invert(1);
}

.partner-section .carousel-control-prev,
.partner-section .carousel-control-next {
    opacity: 0.6;
}

.partner-section .carousel-control-prev:hover,
.partner-section .carousel-control-next:hover {
    opacity: 1;
}

@media (max-width: 991px) {
    .partner-img {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .partner-img {
        height: 220px;
    }

    .partner-title {
        font-size: 28px;
    }
}

/* Agency Advantage (代理商优势) */
.agency-advantages {
    background: #2b2b2b;
    padding: 56px 0;
}

.agency-advantages .agency-title {
    color: #fff;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 38px;
    margin-bottom: 22px;
}

.agency-advantages .adv-card {
    background: #fff;
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.agency-advantages .adv-icon {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 14px;
}

.agency-advantages .adv-title {
    font-size: 18px;
    margin-bottom: 12px;
    color: #333;
    font-weight: 700;
}

.agency-advantages .adv-text {
    color: #666;
    line-height: 1.7;
    font-size: 13.5px;
    flex: 1;
}

/* Use CSS Grid for predictable multi-column layout (force 3 cols on large screens) */
.agency-advantages .adv-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Ensure grid items stretch to same height so adv-item flex children can fill */
.agency-advantages .adv-row {
    align-items: stretch;
}

.agency-advantages .adv-row>.adv-item {
    height: 100%;
    box-sizing: border-box;
}

/* 方案标准（三列，桌面中间竖线分隔） */
.standards-section {
    background: #fff;
}

.standards-col {
    padding: 24px 18px;
}

.standards-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #222;
    text-transform: none;
}

.standards-desc {
    color: #666;
    line-height: 1.8;
}

/* 在较宽屏幕上展示中间列的分隔线 */
@media (min-width: 768px) {
    .standards-col.with-divider {
        position: relative;
    }

    .standards-col.with-divider::before {
        content: '';
        position: absolute;
        left: -18px;
        /* 与 padding 相抵消 */
        top: 8px;
        bottom: 8px;
        width: 1px;
        background: #e6e6e6;
    }
}

@media (max-width: 767px) {
    .standards-col {
        padding-left: 12px;
        padding-right: 12px;
    }

    .standards-col.with-divider::before {
        display: none;
    }
}

/* 方案案例展示 */
.case-showcase {
    background: #fff;
}

.case-col {
    padding: 12px 18px;
}

.case-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.case-desc {
    color: #666;
    line-height: 1.8;
}

@media (min-width: 768px) {
    .case-col.with-divider {
        position: relative;
    }

    .case-col.with-divider::before {
        content: '';
        position: absolute;
        left: -18px;
        top: 0;
        bottom: 0;
        width: 1px;
        background: #eee;
    }
}

@media (max-width: 767px) {
    .case-col {
        padding-left: 12px;
        padding-right: 12px;
    }

    .case-col.with-divider::before {
        display: none;
    }
}

/* 项目案例分享（左大图，右侧背景与 section 一致） */
.project-share {
    background: var(--dark-gray);
}

.project-share .share-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 右侧内容与 section 背景一致（透明），保留内边距与文字颜色 */
.project-share .share-content {
    background: transparent;
    color: #e6e6e6;
    padding: 28px;
    border-radius: 6px;
}

.project-share .share-title {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
}

.project-share .share-content p {
    color: #d0d0d0;
    line-height: 1.8;
    margin-bottom: 18px;
}

.project-share .share-content hr {
    border-color: rgba(255, 255, 255, 0.06);
    margin: 18px 0;
}

@media (max-width: 767px) {
    .project-share .share-content {
        padding: 18px;
        border-radius: 4px;
    }
}

/* 为什么选择我们（使用与 project-share 相同的深色背景） */
.why-choose-section {
    background: var(--dark-gray);
    color: #e6e6e6;
}

.why-choose-title {
    color: #fff;
    font-size: 34px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.why-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 20px;
    border-radius: 8px;
}

.why-card h5 {
    color: #fff;
    margin-bottom: 8px;
    font-weight: 700;
}

.why-card p {
    color: #cfcfcf;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 1200px) {
    .why-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-choose-title {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-card {
        padding: 16px;
    }

    .why-choose-title {
        font-size: 22px;
    }
}

/* 项目案例展示2（左大图 + 右侧缩略图网格） */
.case-gallery2 {
    background: #f3f3f3;
}

.featured-media {
    position: relative;
}

.featured-media img {
    width: 100%;
    height: auto;
    display: block;
}

.play-overlay-large {
    position: absolute;
    right: 18px;
    top: 18px;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
}

.featured-caption {
    color: #333;
    font-size: 16px;
}

.thumb-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.thumb-item img {
    width: 100%;
    height: auto;
    display: block;
}

.thumb-caption {
    color: #333;
    font-size: 13px;
    margin-top: 8px;
}

@media (max-width: 992px) {

    .case-gallery2 .col-lg-7,
    .case-gallery2 .col-lg-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .thumb-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .thumb-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .play-overlay-large {
        width: 48px;
        height: 48px;
        font-size: 18px;
        right: 12px;
        top: 12px;
    }
}

/* 解决方案流程 - 顶级样式，确保桌面也能生效 */
.solution-process {
    background: #fff;
    padding: 60px 0;
}

.process-title {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.process-lead {
    color: #666;
    margin-bottom: 24px;
    max-width: 980px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
}

.process-item {
    padding: 10px 12px;
    text-align: center;
}

.process-icon {
    font-size: 34px;
    color: #333;
    margin-bottom: 14px;
}

.process-item h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.process-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 992px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-title {
        font-size: 28px;
    }
}

/* make each grid item stretch to same height */
.agency-advantages .adv-item {
    display: flex;
}

@media (max-width: 1200px) {
    .agency-advantages .agency-title {
        font-size: 34px;
    }
}

@media (max-width: 992px) {
    .agency-advantages .adv-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .agency-advantages .adv-card {
        min-height: 200px;
    }
}

@media (max-width: 576px) {
    .agency-advantages {
        padding: 32px 0;
    }

    .agency-advantages .agency-title {
        font-size: 26px;
        text-align: center;
    }

    .agency-advantages .adv-card {
        padding: 18px;
    }
}

/* Ensure adv-item / adv-card are equal-height without fixed height */
.agency-advantages .adv-row>.adv-item {
    display: flex;
    /* make grid child a flex container */
}

.agency-advantages .adv-row>.adv-item .adv-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    /* allow adv-card to grow and fill the column */
    min-height: 0;
    /* allow proper flex shrinking */
}

.agency-advantages .adv-row>.adv-item .adv-text {
    flex: 1 0 auto;
    /* let text block take remaining space so cards align */
}

@media (max-width: 992px) {

    /* When stacking, revert to block layout to avoid overflow behavior */
    .agency-advantages .adv-row>.adv-item {
        display: block;
    }

    .agency-advantages .adv-row>.adv-item .adv-card {
        display: block;
    }
}

/* Brand intro / three-card module (about-story) */
.brand-intro-section {
    background: #2b2b2b;
}

.brand-cards {
    margin-top: 12px;
}

.brand-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 28px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
}

.brand-card-number {
    font-size: 72px;
    color: rgba(255, 255, 255, 0.06);
    font-weight: 800;
    line-height: 1;
}

.brand-card-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px;
}

.brand-card-text {
    color: rgba(255, 255, 255, 0.8);
    flex: 1 1 auto;
}

@media (max-width: 992px) {
    .brand-card {
        min-height: 220px;
        padding: 20px;
    }

    .brand-card-number {
        font-size: 56px;
    }
}

@media (max-width: 576px) {
    .brand-card {
        min-height: auto;
    }
}

/* 产品系列模块 (about-story) */
.product-series-section {
    background: #2b2b2b;
}

/* 产品卡片 */
.product-card {
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    height: 100%;
    transition: transform 0.3s ease;
}

.product-imgbox {
    margin-bottom: 15px;
    width: 100%;
    aspect-ratio: 16/16;
    overflow: hidden;
    display: block;
    background: #f5f5f5;
}

.product-imgbox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-card h3 {
    font-size: 1.3rem;
    font-weight: 100;
}


.product-card-image {
    flex: 1 1 auto;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1f1f1f;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-card-caption {
    text-align: center;
    padding: 18px 14px;
    color: #e6e6e6;
    font-weight: 600;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    background: rgba(0, 0, 0, 0.15);
}

/* Ensure equal-height columns when used with Bootstrap grid */
.product-series-section .row>[class*="col-"] {
    display: flex;
}

.product-series-section .row>[class*="col-"] .product-card {
    flex: 1 1 auto;
}

@media (max-width: 768px) {
    .product-card-image {
        min-height: 160px;
    }
}

/* 服务介绍模块（about-service） */
.service-intro {
    background: #ffffff;
    color: #333;
}

.service-hero-frame {
    border: 6px solid rgba(0, 0, 0, 0.65);
    border-radius: 6px;
    overflow: hidden;
}

.service-hero-img {
    display: block;
    width: 100%;
    height: auto;
}

.service-intro .lead {
    font-size: 18px;
    color: #333;
    margin-top: 12px;
}

.btn-quote {
    background: #d63333;
    border-color: #d63333;
    color: #fff;
    padding: 10px 18px;
    font-weight: 600;
    border-radius: 6px;
}


.service-cards {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.service-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02);
}

.service-card h5 {
    margin-bottom: 8px;
    font-weight: 600;
}

.service-card p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Sticky behavior for wide screens */
@media (min-width: 992px) {
    .recommended {
        position: sticky;
        top: 120px;
    }
}

@media (max-width: 991px) {
    .recommended {
        position: static;
    }
}

/* Product detail gallery */
.product-detail {
    background: #2b2b2b;
    color: #e6e6e6;
}

.gallery-wrap {
    background: #fff;
    padding: 18px;
    border-radius: 6px;
}

.gallery-main {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

.gallery-thumbs .thumb {
    background: transparent;
    border: none;
    padding: 0;
}

.gallery-thumbs .thumb img {
    width: 86px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    opacity: 0.9;
    border: 2px solid rgba(0, 0, 0, 0.05);
}

.gallery-thumbs .thumb.active img {
    outline: 3px solid #fff;
    opacity: 1;
}

.product-info .product-title {
    color: #fff;
    font-size: 22px;
    margin-bottom: 12px;
}

.product-desc {
    background: rgba(0, 0, 0, 0.18);
    border-radius: 6px;
    color: #ddd;
}

/* 产品规格列表：桌面两列，移动端单列 */
.spec-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
}

.spec-list li {
    padding: 8px 0;
    border-bottom: none;
    color: #ccc;
    display: flex;
}

.spec-list li strong {
    width: 140px;
    display: inline-block;
    color: #ccc;
}

.spec-list li::after {
    content: '';
    flex: 1 1 auto;
}

@media (max-width: 768px) {
    .spec-list {
        grid-template-columns: 1fr;
    }

    .spec-list li {
        padding: 6px 0;
    }

    .spec-list li strong {
        width: 120px;
    }
}

.service-highlights .highlight {
    color: #dcdcdc;
}

/* Make gallery main image responsive on smaller screens */
@media (max-width: 1200px) {
    .gallery-main {
        height: 480px;
    }
}

@media (max-width: 992px) {
    .gallery-main {
        height: 360px;
    }
}

@media (max-width: 576px) {
    .gallery-main {
        height: 260px;
    }

    .gallery-thumbs .thumb img {
        width: 60px;
        height: 44px;
    }
}

/* Product advantages section */
.product-advantages {
    background: #ffffff;
    color: #222;
}

.advantages-content {
    padding: 10px 20px;
}

.badge-num {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.badge-num .num {
    display: inline-block;
    background: #e83e3e;
    color: #fff;
    padding: 6px 8px;
    border-radius: 6px;
    font-weight: 700;
}

.badge-num .badge-text {
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 6px 10px;
    border-radius: 6px;
    color: #333;
}

.adv-title {
    font-size: 40px;
    font-weight: 700;
    margin: 12px 0 18px;
    letter-spacing: 1px;
}

.adv-lead {
    color: #444;
    margin-bottom: 18px;
}

.adv-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

@media (max-width: 992px) {
    .adv-title {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .product-advantages .row {
        flex-direction: column-reverse;
    }

    .adv-title {
        font-size: 24px;
    }
}

/* FAQ accordion styling */
.faq-section {
    padding: 48px 0;
}

.accordion .accordion-button {
    background: transparent;
    color: #111;
    font-weight: 600;
    padding: 18px 1rem;
    border: none;
    box-shadow: none;
}

.accordion .accordion-button:not(.collapsed) {
    color: #111;
}

.accordion .accordion-button::after {
    /* hide default caret */
    display: none;
}

.accordion .accordion-item {
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.accordion .accordion-body {
    padding: 14px 1rem 24px;
    color: #555;
    font-size: 14px;
}

/* Custom +/- icons on the right */
.accordion .accordion-header {
    position: relative;
}

.accordion .accordion-header .accordion-button {
    font-size: 0.6em;
    font-weight: 100;
}

.accordion .accordion-header .accordion-button::before {
    content: '+';
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    line-height: 1;
    color: #111;
}

.accordion .accordion-button:not(.collapsed)::before {
    content: '-';
}

@media (max-width: 767px) {
    .accordion .accordion-button::before {
        right: 1rem;
    }
}




/* Pre-sales section */
.pre-sales-section {
    background: #f3f3f3;
}

.pre-sales-content {
    padding: 10px 20px;
}

.pre-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.pre-subtitle {
    color: #d33;
    margin-bottom: 28px;
    font-weight: 500;
}

.pre-number {
    font-size: 96px;
    color: rgba(0, 0, 0, 0.08);
    font-weight: 800;
    margin-bottom: 14px;
}

.pre-heading {
    font-size: 22px;
    margin-bottom: 12px;
}

.content-body p {
    color: #555;
    line-height: 1.8;
}

@media (max-width: 992px) {
    .pre-title {
        font-size: 34px;
    }

    .pre-number {
        font-size: 72px;
    }
}

@media (max-width: 576px) {
    .pre-title {
        font-size: 26px;
    }

    .pre-number {
        font-size: 56px;
    }
}





/* Agent Support module (使用Bootstrap col-类优化布局) */
.agent-support {
    padding: 60px 0;
}

.agent-support .agent-title {
    text-align: center;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.agent-support .agent-sub {
    text-align: center;
    color: #666;
    margin-bottom: 28px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

/* 移除旧的grid布局样式，改用Bootstrap的row和col-类 */
.agent-support .agent-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 36px 28px;
    position: relative;
    min-height: 180px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.agent-support .agent-number {
    position: absolute;
    left: 28px;
    top: 22px;
    font-size: 72px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.06);
    line-height: 1;
}

.agent-support .agent-card-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 10px;
    font-size: 16px;
}

.agent-support .agent-card-text {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
}

@media (max-width: 992px) {
    /* 中屏幕下不需要额外设置，Bootstrap的col-md-6已自动处理 */
}

@media (max-width: 576px) {
    .agent-support {
        padding: 36px 0;
    }

    .agent-support .agent-number {
        font-size: 56px;
        left: 18px;
        top: 16px;
    }

    .agent-support .agent-card {
        padding: 20px;
    }
}

/* 公司历程样式 */
.history-section {
    background: #f1f1f1;
    padding: 60px 0;
}

.history-title {
    font-size: 48px;
    margin-bottom: 12px;
    font-weight: 700;
}

.history-lead {
    color: #666;
    line-height: 1.8;
}

.btn-history {
    background: #d9232a;
    border-color: #d9232a;
    color: #fff;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 700;
}

/* 原始网格的兼容样式（保留，仅当 JS 未启用或替换时使用） */
.history-grid {
    margin-top: 32px;
}

.history-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 22px;
    height: 100%;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.history-year {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
}

.history-body p {
    color: #333;
    margin-bottom: 8px;
}

.history-body ul {
    margin: 0;
    padding-left: 18px;
    color: #555;
}

/* History slider styles (现代浏览器支持) */
.history-slider {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.history-track-wrapper {
    flex: 1 1 auto;
    overflow: hidden;
}

.history-track {
    display: flex;
    gap: 20px;
    scroll-behavior: smooth;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}

.history-track::-webkit-scrollbar {
    display: none;
}

.history-slide {
    flex: 0 0 320px;
}

.history-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    min-height: 160px;
    border: 1px solid #eee;
}

.history-year {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: .5rem;
}

.btn-history-control {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.btn-history-control:disabled {
    opacity: .45;
    cursor: default;
}

/* 当 JS 不可用时，回退为原有网格（隐藏滑块控制） */
.no-js .history-slider {
    display: none;
}

.no-js .history-grid {
    display: block;
}

@media (max-width: 991px) {
    .history-slide {
        flex: 0 0 72%;
    }

    .history-card {
        min-height: 140px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .history-slide {
        flex: 0 0 45%;
    }
}

@media (min-width: 1200px) {
    .history-slide {
        flex: 0 0 30%;
    }
}

@media (max-width: 992px) {
    .history-title {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .history-title {
        font-size: 28px;
    }

    .history-card {
        padding: 16px;
    }
}

/* ---------------- 产品列表（Discover more） ---------------- */
.product-list-section {
    background: #fff;
}

.product-list-section .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.product-list-section .product-card {
    padding: 10px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: visible;
    position: relative;
    padding-bottom: 18px;
}

.product-list-section .card-media {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: #f4f4f4;
}

.product-list-section .card-media img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 360ms cubic-bezier(.2, .9, .2, 1);
}

.product-list-section .card-body {
    padding: 14px 16px;
}

.product-list-section .card-title {
    font-size: 16px;
    margin: 0 0 8px;
    color: #222;
}

.product-list-section .card-desc {
    color: #777;
    font-size: 13px;
    margin: 0;
}

/* hover 放大但不改变颜色（使用 transform 仅放大） */
.product-list-section .product-card.is-hover .card-media img,
.product-list-section .product-card:hover .card-media img {
    transform: scale(1.06);
}

/* 顶部/底部边线效果：使用伪元素在 .product-card 上覆盖 1px 的颜色条，以保持边框宽度不变 */
.product-list-section .product-card {
    position: relative;
}

.product-list-section .product-card::before,
.product-list-section .product-card::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 0%, transparent 0%);
}

.product-list-section .product-card::before {
    top: 0;
}

.product-list-section .product-card::after {
    bottom: 0;
}

/* 顶部左->右擦除动画（只覆盖视觉上的颜色，不改变实际 border 宽度） */
.product-list-section .product-card.top-anim::before {
    background: linear-gradient(90deg, #d9232a 0%, #d9232a 100%);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    animation: top-wipe 0.6s forwards ease;
}

@keyframes top-wipe {
    from {
        background-size: 0% 100%;
    }

    to {
        background-size: 100% 100%;
    }
}

/* 底部保持变色（由 .bottom-active 控制），也是从左到右填充，视觉为红色边线，但原始边框宽度仍为 1px */
.product-list-section .product-card::after {
    background-size: 0% 100%;
    transition: background-size 300ms ease;
}

.product-list-section .product-card.bottom-active::after {
    background: linear-gradient(90deg, #d9232a 0%, #d9232a 100%);
    background-size: 100% 100%;
}

/* 小屏网格 */
@media (max-width: 1199px) {
    .product-list-section .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-list-section .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-list-section .card-media img {
        height: 180px;
    }
}

@media (max-width: 420px) {
    .product-list-section .product-grid {
        grid-template-columns: 1fr;
    }

    .product-list-section .card-media img {
        height: 160px;
    }
}

/* 微调播放 overlay */
.product-list-section .play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.product-list-section .play-overlay i {
    background: rgba(255, 255, 255, 0.95);
    color: #222;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Contact panel - design variant (do not change base .contact-panel) */
.contact-panel--design {
    background: linear-gradient(180deg, #2b2b2b 0%, #2f2f2f 100%);
    padding: 48px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: none;
    color: #ddd;
}

.contact-panel--design h2 {
    color: #fff;
    font-size: 44px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.contact-panel--design p {
    color: rgba(255, 255, 255, 0.75);
}

/* 右侧推荐侧边栏（悬停/粘性效果） */
.recommended {
    /* 让侧边栏在到达视口顶部时固定（悬停） */
    position: sticky;
    top: 90px;
    /* 与导航栏下方对齐，可根据需要微调 */
    align-self: start;
    /* 在使用 flex/grid 容器中保证从顶部开始 */
    transition: box-shadow 220ms ease, transform 220ms ease;
    z-index: 5;
    max-width: 100%;
}

.recommended.stuck {
    /* 当处于粘性状态时的视觉强化（阴影/轻微上移） */
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

@media (max-width: 991px) {

    /* 小屏幕取消粘性，保持正常流式布局 */
    .recommended {
        position: static;
        top: auto;
        transform: none;
        box-shadow: none;
    }
}

/* 博客列表上方的导航条（Info + 右侧过滤 pills） */
.blog-nav-bar {
    padding: 8px 12px;
    border: 1px solid #ececec;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.blog-nav-bar .d-flex {
    gap: 12px;
}

.blog-info-pill {
    background: #fff;
    border: 1px solid #f0f0f0;
    padding: 8px 16px;
    border-radius: 20px;
    color: #4b4b4b;
    font-weight: 600;
    min-width: 90px;
    text-align: center;
}

.blog-filter {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-filter .nav-link {
    border-radius: 18px;
    color: #666;
    padding: 6px 12px;
    margin-left: 0;
    border: 1px solid transparent;
    font-size: 13px;
    background: #fff;
}

.blog-filter .nav-link.active {
    background: #FE0000;
    border-color: #e9e9e9;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.blog-filter .nav-link:hover {
    color: var(--primary-color);
}

@media (max-width: 767px) {
    .blog-nav-bar {
        padding: 8px;
    }

    .blog-filter {
        gap: 8px;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .blog-filter .nav-item {
        display: inline-flex;
    }

    .blog-info-pill {
        display: inline-block;
        margin-right: 12px;
    }
}

.contact-panel--design .form-control {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    color: #e6e6e6;
    padding-left: 0;
    padding-right: 0;
    height: 48px;
    box-shadow: none;
}

.contact-panel--design .form-control::placeholder {
    color: rgba(255, 255, 255, 0.46);
}

.contact-panel--design textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

.contact-panel--design .btn-primary {
    background: #d9232a;
    border-color: #d9232a;
    padding: 14px 22px;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: none;
}

.contact-panel--design .btn-primary:hover {
    background: #ff4b4b;
}

/* blog-list 博客列表 */


/* article-section 文章详情页 */
.article-section {
    padding: 60px 0;
    background: #f9f9f9;
}

.article-section .article-title {
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 24px;
}

.article-section .article-meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 16px;
}

.article-section .article-content {
    line-height: 1.6;
    color: #333;
}

.article-section .article-content h2,
.article-section .article-content h3 {
    margin-top: 32px;
    margin-bottom: 16px;
    font-weight: 600;
}

.article-section .article-content p {
    margin-bottom: 16px;
}

.article-section .article-content img {
    max-width: 100% !important;
    height: auto;
    margin: 16px 0;
}

.article-section .article-content a {
    color: var(--primary-color);
}

.article-section .article-content a:hover {
    color: var(--primary-color);
}

.article-section .article-content blockquote {
    margin: 24px 0;
    padding: 12px 24px;
    border-left: 4px solid var(--primary-color);
    background: #f9f9f9;
    color: #555;
}

/* tighten form spacing on small screens */
@media (max-width: 768px) {
    .contact-panel--design {
        padding: 28px;
    }

    .contact-panel--design h2 {
        font-size: 32px;
    }
}

/* Category hero (product list header) */
.cat-hero-section {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    display: flex;
    align-items: center;
}

.cat-hero-section .cat-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.cat-hero-section .cat-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 30, 30, 0.3);
    z-index: 2;
}

.cat-hero-content {
    position: relative;
    z-index: 3;
    padding: 60px 0;
    color: #fff;
}

.breadcrumb-custom {
    margin-bottom: 18px;
}

.breadcrumb-custom ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.breadcrumb-custom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-custom li::after {
    content: '›';
    margin-left: 12px;
    margin-right: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.breadcrumb-custom li:last-child::after {
    content: '';
}




/* Category tree (left sidebar) */
.cattree-card {
    background: transparent;
    padding: 12px 8px;
}

.cattree-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: #111;
}

.cattree {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #e9e9e9;
}

.cattree-item {
    border-bottom: 1px solid #e9e9e9;
}

.cattree-item a,
.cattree-item .cattree-toggle {
    display: block;
    padding: 12px 8px;
    color: #222;
    text-decoration: none;
    background: #fff;
    width: 100%;
    text-align: left;
    border: 0;
    font-size: 14px;
}

.cattree-item a:hover,
.cattree-item .cattree-toggle:hover {
    background: #fafafa;
}

.cattree-item.has-children .cattree-toggle {
    cursor: pointer;
    position: relative;
}

.cattree-item.has-children .cattree-toggle::after {
    content: '+';
    position: absolute;
    right: 12px;
    top: 12px;
    color: #999;
}

.cattree-item.has-children.open .cattree-toggle::after {
    content: '−';
}

.cattree-sub {
    overflow: hidden;
    transition: max-height 260ms ease;
    background: #fff;
}

.cattree-sub li {
    border-bottom: 1px solid #f1f1f1;
}

.cattree-sub li a {
    padding-left: 18px;
}

@media (max-width: 992px) {
    .cattree {
        border-top: none;
    }

    .cattree-item a,
    .cattree-item .cattree-toggle {
        padding: 10px 6px;
    }
}

/* Contact info section styles */
.contact-info-section {
    padding: 60px 0;
    background: #333;
}

.contact-info-box {
    padding: 36px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #ddd;
}

.contact-card {
    background: transparent;
    padding: 12px 18px;
}

.contact-icon {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.contact-card h4 {
    color: #fff;
    font-size: 1.4vw;
    line-height: 1.2;
    margin-bottom: 18px;
}

.contact-card .muted {
    color: rgba(255, 255, 255, 0.8);
}

.contact-card .contact-list {
    margin-top: 12px;
    line-height: 1.6;
    color: #e6e6e6;
}

.distributor-section {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.distributor-icon {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.distributor-section h3 {
    color: #fff;
    font-size: 24px;
}

.distributor-section p {
    color: rgba(255, 255, 255, 0.78);
    max-width: 900px;
}

@media (max-width: 768px) {
    .contact-info-box {
        padding: 20px;
    }

    .contact-card {
        padding: 8px 10px;
    }
}

/* News section styles */
.news-section {
    padding: 60px 0;
}

.news-grid {
    display: grid;
    gap: 18px;
}

.news-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 14px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.news-item .news-date {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}

.news-item .news-title {
    font-size: 18px;
    margin-bottom: 8px;
    color: #222;
}

.news-media {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    margin-bottom: 10px;
}

.news-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-excerpt {
    color: #666;
    font-size: 14px;
}

/* 列数量 */
.news-grid.lie-2 {
    grid-template-columns: repeat(2, 1fr);
}

.news-grid.lie-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* hover border wipe: add 1px top/bottom overlays that animate on hover */
.news-item::before,
.news-item::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, transparent 0%);
    pointer-events: none;
}

.news-item::before {
    top: 0;
}

.news-item::after {
    bottom: 0;
}

.news-item.hover-top::before {
    background: linear-gradient(90deg, #d9232a 0%, #d9232a 100%);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    animation: top-wipe 0.5s forwards ease;
}

.news-item.hover-bottom::after {
    background: linear-gradient(90deg, #d9232a 0%, #d9232a 100%);
    background-size: 100% 100%;
}

/* JS will add hover-top then hover-bottom; also fallback for :hover to give immediate feedback */
.news-item:hover::before {
    background: linear-gradient(90deg, #f1f1f1 0%, #f1f1f1 100%);
    background-size: 100% 100%;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-media {
        height: 200px;
    }
}


/* FAQ Section */
.faq-section {
    padding: 6rem 0;
}

.faq-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111;
}

.faq-intro {
    color: #6b6b6b;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.faq-more {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #111;
    text-decoration: none;
    font-weight: 500;
    margin-top: .75rem;
}

.faq-more i {
    transition: transform .18s ease;
}

.faq-more:hover i {
    transform: translateX(4px);
}

.faq-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.faq-card {
    padding: 2.25rem 2rem;
    border-left: 1px solid #eee;
    background: #fff;
    transition: background .18s ease;
}

.faq-card:first-child {
    border-left: none;
}

.faq-card:hover {
    background: #fafafa;
}

.faq-question {
    font-size: 20px;
    margin-bottom: .75rem;
    font-weight: 600;
    color: #222;
}

.faq-excerpt {
    color: #777;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 991.98px) {
    .faq-section {
        padding: 3.5rem 0;
    }

    .faq-title {
        font-size: 36px;
    }

    .faq-cards {
        grid-template-columns: 1fr;
    }

    .faq-card {
        border-left: none;
        border-top: 1px solid #eee;
    }

    .faq-card:first-child {
        border-top: none;
    }
}

@media (max-width: 575.98px) {
    .faq-title {
        font-size: 30px;
    }

    .faq-intro {
        font-size: 14px;
    }
}

/* Agent hero (06) — styles moved from inline into stylesheet to match design */
.agent-hero {
    background: #f7f7f7;
    border: 1px solid #ececec;
    border-radius: 6px;
    padding: 30px;
    margin-bottom: 18px;
}

.agent-hero-inner {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.agent-hero-number {
    font-size: 96px;
    color: rgba(0, 0, 0, 0.06);
    font-weight: 800;
    line-height: 1;
    flex: 0 0 auto;
}

.agent-hero-content {
    flex: 1 1 auto;
}

.agent-hero-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 6px;
    margin-bottom: 12px;
    font-size: 20px;
}

.agent-hero-desc {
    color: #666;
    margin-bottom: 18px;
    max-width: 980px;
}

.agent-cta {
    margin-top: 6px;
}

/* Three cards row spacing to match screenshot */
.agent-hero-cards {
    margin-top: 18px;
}

.agent-hero-cards .news-card {
    padding: 24px;
    border-radius: 8px;
}

.agent-card-heading {
    font-weight: 700;
    margin-bottom: 12px;
    color: #111;
}

.agent-card-text {
    color: #666;
    margin: 0;
}

@media (max-width: 768px) {
    .agent-hero-inner {
        flex-direction: column;
    }

    .agent-hero-number {
        font-size: 64px;
        text-align: left;
    }

    .agent-hero {
        padding: 20px;
    }
}

/* Make news-card items equal-height without fixed height using flexbox
   Columns become flex containers and each .news-card stretches to fill height
*/
.agent-hero-cards>.col-lg-4,
.agent-hero-cards>.col-md-6 {
    display: flex;
    /* make the column a flex container */
}

.agent-hero-cards .news-card {
    flex: 1 1 auto;
    /* allow card to grow and shrink */
    display: flex;
    flex-direction: column;
    min-height: 0;
    /* allow flex children to shrink properly */
}

.agent-hero-cards .agent-card-heading {
    /* ensure heading doesn't stretch */
    margin-bottom: 12px;
}

.agent-hero-cards .agent-card-text {
    flex: 1 0 auto;
    /* take remaining space so cards align height */
}

@media (max-width: 576px) {

    /* small screens: columns stack, flex behavior remains but natural height is preserved */
    .agent-hero-cards>.col-lg-4,
    .agent-hero-cards>.col-md-6 {
        display: block;
    }

    .agent-hero-cards .news-card {
        display: block;
    }
}

/* Agency Conditions / Join The Process section styles */
.agency-conditions-section {
    padding: 56px 0;
}

.agency-card {
    background: #fff;
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    /* allow the card to grow to fill column */
    min-height: 0;
    /* allow proper flex child shrinking */
}

.agency-card+.agency-card {
    margin-top: 18px;
}

.agency-card .card-title {
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.agency-card .card-title .icon {
    color: var(--primary-color);
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.agency-card .card-sub {
    color: #666;
    margin-bottom: 18px;
}

.agency-item {
    border-top: 1px solid #f1e9e9;
    padding-top: 18px;
    margin-top: 18px;
}

.agency-item h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.agency-item p {
    color: #666;
    margin: 0;
    line-height: 1.7;
}

@media (max-width: 992px) {
    .agency-conditions-section {
        padding: 36px 0;
    }
}

@media (max-width: 576px) {
    .agency-card {
        padding: 18px;
    }

    .agency-card .card-title {
        font-size: 18px;
    }
}

/* Make the two columns equal-height without fixed height by turning cols into flex containers */
.agency-conditions-section .row>[class*="col-"] {
    display: flex;
}

.agency-conditions-section .row>[class*="col-"]>.agency-card {
    /* ensure agency-card fills the column height */
    flex: 1 1 auto;
}

@media (max-width: 992px) {

    /* stack columns on medium/smaller screens */
    .agency-conditions-section .row>[class*="col-"] {
        display: block;
    }

    .agency-conditions-section .agency-card {
        display: block;
    }
}

/* Slider styles for 集成项目案例 */
.case-slider-wrapper {
    position: relative;
    padding: 1rem 0
}

.case-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding-bottom: 6px
}

.case-slider::-webkit-scrollbar {
    height: 8px
}

.case-slider::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px
}

.case-slider {
    scrollbar-width: thin
}

.case-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
    position: relative
}

.case-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px
}

.case-overlay {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 12px;
    border-radius: 6px;
    transform: translateY(10px);
    opacity: 0;
    transition: all .28s ease
}

.case-item:hover .case-overlay,
.case-item:focus-within .case-overlay {
    transform: translateY(0);
    opacity: 1
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: #fff;
    border: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    cursor: pointer
}

.slider-btn:disabled {
    opacity: .35;
    cursor: not-allowed
}

.slider-prev {
    left: 8px
}

.slider-next {
    right: 8px
}

@media(min-width:768px) {
    .case-item {
        flex: 0 0 60%
    }
}

@media(min-width:992px) {
    .case-item {
        flex: 0 0 calc((100% - 3rem)/3)
    }
}

/* ========== 折叠组件编辑模式样式 ========== */
/* 在编辑模式下，所有折叠内容始终显示 */
#canvas .accordion-collapse.editor-always-show {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
}

/* 禁用编辑模式下的折叠动画 */
#canvas .accordion-collapse.editor-always-show.collapsing {
    transition: none !important;
}

/* 编辑模式下按钮不可点击（防止误操作） */
#canvas .accordion-button {
    pointer-events: none;
    cursor: default;
}

/* 编辑模式下按钮文字可编辑 */
#canvas .accordion-button.editable-text {
    pointer-events: auto;
    cursor: text;
}

/* ========== ѡ�����༭ģʽ��ʽ ========== */
/* �ڱ༭ģʽ�£�����ѡ�����ʼ����ʾ */
#canvas .tab-pane.editor-always-show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* �༭ģʽ��ѡ�����֮�����ӱ߿򣬱������� */
#canvas .tab-pane.editor-always-show {
    border: 1px dashed #dee2e6;
    margin-bottom: 10px;
}

/* �༭ģʽ�µ�һ��ѡ����ݲ���Ҫ�ϱ߿� */
#canvas .tab-pane.editor-always-show:first-child {
    border-top: none;
}

/* ���ñ༭ģʽ�µĵ��뵭������ */
#canvas .tab-pane.editor-always-show.fade {
    transition: none !important;
}

/* �༭ģʽ��ѡ���ť���ɵ������ֹ������� */
#canvas .nav-tabs .nav-link {
    pointer-events: none;
    cursor: default;
}

/* �༭ģʽ�°�ť���ֿɱ༭ */
#canvas .nav-tabs .nav-link.editable-text {
    pointer-events: auto;
    cursor: text;
}

/* Scrollspy Component - Edit Mode */
#canvas .scrollspy-example {
    height: 300px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    padding: 1rem;
}

#canvas .list-group-item-action {
    pointer-events: none;
    cursor: default;
}

#canvas .list-group-item-action.editable-text {
    pointer-events: auto;
    cursor: text;
}

/* Carousel Component - Edit Mode */
#canvas .carousel-item.editor-always-show {
    display: block !important;
    opacity: 1 !important;
}

#canvas .carousel-item.editor-always-show {
    border: 1px dashed #dee2e6;
    margin-bottom: 10px;
}

#canvas .carousel-control-prev,
#canvas .carousel-control-next {
    pointer-events: none;
    opacity: 0.3;
}

#canvas .carousel.slide {
    animation: none !important;
}