* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- 顶部 Banner 区域 --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 60vh; /* 占据屏幕高度的 60% */
    min-height: 400px;
    /* 模拟图片背景，实际使用时请替换 url() 中的链接 */
   
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
 font-size: 3.5rem;
 margin-bottom: 1.5rem;
 line-height: 1.2;
 animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* --- 导航栏区域 --- */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky; /* 吸顶效果 */
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1490px;
    margin: 0 auto;
    padding: 0 20px;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 左侧菜单 */
.nav-menu {
    display: flex;
    gap: 40px; /* 菜单项间距 */
}

.nav-item {
    font-size: 16px;
    color: #333;
    padding: 24px 0; /* 增加点击区域 */
    position: relative;
    cursor: pointer;
    transition: color 0.3s;
}

    .nav-item:hover {
        color: #ff6600; /* 悬停变色 */
    }

    /* 激活状态（模仿图片中的“产品”） */
    .nav-item.active {
        color: #ff6600;
        font-weight: bold;
    }

        /* 橙色下划线动画 */
        .nav-item.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: #ff6600;
        }

/* 右侧面包屑导航 */
.breadcrumb {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .breadcrumb span {
        color: #999;
    }

/* --- 响应式适配 (Mobile) --- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem; /* 手机端标题变小 */
    }

    .hero-content p {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }

    .nav-container {
        height: auto;
        padding: 15px 20px;
        flex-direction: column; /* 手机端改为纵向排列 */
        gap: 15px;
    }

    .nav-menu {
        gap: 20px;
        width: 100%;
        justify-content: space-between; /* 两端分布 */
        overflow-x: auto; /* 如果屏幕太窄允许横向滚动 */
        padding-bottom: 5px;
    }

    .nav-item {
        font-size: 14px;
        white-space: nowrap; /* 防止文字换行 */
        padding: 10px 0;
    }

    .breadcrumb {
        width: 100%;
        justify-content: flex-start;
        font-size: 12px;
        border-top: 1px solid #eee;
        padding-top: 10px;
    }
}

/* 模拟内容占位 */
.content-placeholder {
    max-width: 1490px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: left;
    color: #999;
}




 .honor-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 2rem;
 }

 .honor-grid-xw {
     display: grid;
      grid-template-columns: repeat(2, 1fr); 
     gap: 2rem;
 }

 /* 荣誉卡片 */
 .qyry-honor-card {
     background: #ffffff;
     border-radius: 12px;
     overflow: hidden;
     box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     border: 1px solid #f1f5f9;
     display: flex;
     text-align:left;
     flex-direction: column;
     cursor:pointer
 }

     .qyry-honor-card:hover {
         transform: translateY(-8px);
         box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
     }

 .qyry-card-image {
     height: 230px;
     background-color: #e2e8f0;
     display: flex;
     align-items: center;
     justify-content: center;
     position: relative;
     overflow: hidden;
 }

     /* 模拟证书图片占位符 */
     .qyry-card-image img {
         width: 100%;
         height: 100%;
         object-fit: cover;
         transition: transform 0.5s;
     }

 .qyry-honor-card:hover .qyry-card-image img {
     transform: scale(1.05);
 }

 .card-badge {
     position: absolute;
     top: 15px;
     right: 15px;
     background: rgba(194, 157, 89, 0.9);
     color: white;
     padding: 4px 12px;
     border-radius: 4px;
     font-size: 0.75rem;
     font-weight: bold;
     backdrop-filter: blur(4px);
 }

 .qyry-card-content {
     padding: 1.5rem;
     flex-grow: 1;
     display: flex;
     flex-direction: column;
 }

 .qyry-card-date {
     font-size: 0.85rem;
     color: var(--accent-color);
     font-weight: 600;
     margin-bottom: 0.5rem;
     display: block;
 }

 .qyry-card-title {
     font-size: 1.25rem;
     color: var(--primary-color);
     margin-bottom: 0.75rem;
     line-height: 1.4;
 }

 .qyry-card-desc {
     font-size: 0.95rem;
     color: var(--text-gray);
     margin-bottom: 1.5rem;
     flex-grow: 1;
 }

 .qyry-card-footer {
     border-top: 1px solid #f1f5f9;
     padding-top: 1rem;
     display: flex;
     align-items: center;
     justify-content: space-between;
 }

 .qyry-issuer {
     font-size: 0.85rem;
     color: #94a3b8;
     display: flex;
     align-items: center;
     gap: 6px;
 }

 /* 统计数据栏 */
 .stats-section {
     background: var(--white);
     padding: 3rem 20px;
     margin-bottom: 3rem;
     border-radius: 12px;
     box-shadow: var(--shadow);
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     gap: 2rem;
     text-align: center;
 }

 .stat-item h3 {
     font-size: 2.5rem;
     color: var(--accent-color);
     margin-bottom: 0.5rem;
 }

 .stat-item p {
     color: var(--text-gray);
     font-size: 0.95rem;
 }

 /* 响应式调整 */
 @media (max-width: 768px) {
     .page-header h1 {
         font-size: 2rem;
     }

     .honor-grid {
         grid-template-columns: 1fr;
     }
     /* 手机端强制单列 */
     .stats-section {
         grid-template-columns: 1fr 1fr;
     }
 }

 @media (max-width: 480px) {
     .stats-section {
         grid-template-columns: 1fr;
     }

     .filter-btn {
         padding: 0.4rem 1rem;
         font-size: 0.85rem;
     }
 }

.load-more-btn {
    background-color:  #ffffff;
    color: #0f172a;
    border: 2px solid #0f172a;
    padding: 1rem 3rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

    .load-more-btn:hover {
        background-color: #0f172a;
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 8px 15px rgba(15, 23, 42, 0.2);
    }

    .load-more-btn:active {
        transform: translateY(0);
    }

    .load-more-btn.hidden {
        display: none;
    }

.load-more-text {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 1rem;
    display: none;
}

        .load-more-container {
            text-align: center;
            margin-top: 4rem;
            min-height: 80px; /* 预留高度防止跳动 */
        }



.xwxwcard-list {
    display: flex;
    flex-direction: column; /* 默认垂直排列，适应手机 */
    gap: 20px; /* 卡片间距 */
}

/* --- 单张卡片 --- */
.xwcard {
    width: 100%; /* 宽度占满容器 */
    height: 196px; /* 固定高度 */
    background-color: white;
    border-radius: 12px; /* 圆角 */
    overflow: hidden; /* 确保内容不溢出 */
    display: flex;
    align-items: center; /* 垂直居中 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* 初始阴影 */
    transition: all 0.3s ease;
    text-decoration: none; /* 去除链接下划线 */
    color: #333; /* 文字颜色 */
}

    /* 鼠标悬停效果 */
    .xwcard:hover {
        transform: translateY(-2px); /* 微微上浮 */
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15); /* 阴影加深 */
    }

/* --- 卡片内容布局 --- */
.xwcard-content {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 20px; /* 内边距 */
}

/* 图片部分 */
.xwcard-image {
    width: 280px; /* 图片宽度 */
    height: 156px; /* 图片高度 */
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0; /* 禁止图片在小屏上缩小 */
    margin-right: 25px; /* 图片与文字的间距 */
}

    .xwcard-image img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* 图片覆盖 */
    }

/* 文字部分 */
.xwcard-text {
    flex: 1; /* 占据剩余空间 */
    min-width: 0; /* 防止文字溢出 */
    text-align:left
}

.xwcard-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 最多显示2行 */
    -webkit-box-orient: vertical;
}

.xwcard-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.xwcard-desc {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 最多显示3行 */
    -webkit-box-orient: vertical;
}

/* --- 响应式设计 (Media Query) --- */
@media (max-width: 768px) {
    .xwcard {
        height: auto; /* 手机端高度自适应 */
        flex-direction: column; /* 手机端图片在上，文字在下 */
        align-items: flex-start; /* 左对齐 */
    }

    .xwcard-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .xwcard-image {
        width: 100%; /* 图片占满全宽 */
        height: 160px; /* 手机端图片高度 */
        margin-right: 0;
        margin-bottom: 15px; /* 图片和文字的间距 */
    }

    .xwcard-text {
        width: 100%;
    }
}




.container_neirong {
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    min-height:600px;
}
.container_neirong_hr {
width:100%;
height:1px;
border:1px solid #e1e1e1;
margin-top:20px
}
/* 响应式布局：左右布局（电脑） -> 上下布局（手机） */
.content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

/* 图片容器 */
.image-container_neirong {
    flex: 1;
    min-width: 0; /* 防止内容溢出 */
}

    .image-container_neirong img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        display: block;
    }

/* 文字内容区域 */
.text-content {
    flex: 1;
    min-width: 0;
}

    .text-content h1 {
        font-size: 28px;
        color: #333;
        margin-bottom: 20px;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
    }

/* 图片内部文字样式（模拟图片上的文字效果） */
.image-text-overlay {
    background: linear-gradient(rgba(51, 26, 43, 0.8), rgba(51, 26, 43, 0.9)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23331a2b"/></svg>');
    color: #d4a7b5;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
}

    .image-text-overlay .steelcase-logo {
        font-size: 32px;
        font-weight: bold;
        margin-bottom: 40px;
        letter-spacing: 2px;
    }

    .image-text-overlay .main-text {
        font-size: 24px;
        line-height: 1.5;
        font-weight: 300;
    }

/* 响应式媒体查询 */
@media (max-width: 768px) {
    .container_neirong {
        padding: 20px;
    }

    .content-wrapper {
        flex-direction: column; /* 手机模式下改为垂直排列 */
    }

    .text-content h1 {
        font-size: 22px;
    }

    .image-text-overlay {
        padding: 20px;
    }

        .image-text-overlay .steelcase-logo {
            font-size: 24px;
        }

        .image-text-overlay .main-text {
            font-size: 18px;
        }
}


.card-container_lxwm {
    max-width: 1000px; /* 电脑端最大宽度 */
    margin: 0 auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column; /* 默认手机竖排 */
}

/* 电脑端：两栏布局 */
@media (min-width: 768px) {
    .card-container_lxwm {
        flex-direction: row; /* 电脑横排 */
    }
}

/* 左侧：联系信息 */
.info-section {
    flex: 1;
    padding: 30px;
    border-right: 1px solid #eee; /* 电脑端分隔线 */
}

@media (max-width: 767px) {
    .info-section {
        border-right: none; /* 手机端无分隔线 */
        border-bottom: 1px solid #eee; /* 手机端底部边框 */
    }
}

.company-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #222;
}

.company-desc {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
}

.contact-icon {
    margin-right: 10px;
    font-size: 20px;
    color: #007bff; /* 蓝色图标 */
}

/* 右侧：百度静态地图 */
.map-section {
    flex: 1;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 响应式：地图在手机端自适应宽度 */
@media (max-width: 767px) {
    .map-section {
        padding: 20px;
    }
}



.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 20px;
    max-width: 1490px;
    margin: 0 auto;
}

/* 单张卡片容器 */
.card {
    width: 340px;
    height: 250px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: #fff; /* 确保图片加载前背景是白的 */
}

    /* 图片样式 */
    .card img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* 图片填满容器，裁剪多余部分 */
        display: block; /* 消除图片底部的微小间隙 */
    }

/* 灰色遮罩层 (初始状态：不可见) */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0); /* 初始透明 */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 1;
}

/* 按钮样式 */
.btn {
    background: none;
    border: 2px solid #fff;
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 20px;
    cursor: pointer;
    opacity: 0; /* 初始不可见 */
    transition: opacity 0.3s ease;
    outline: none;
}

/* 标题样式 */
.card-title {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: #333;
    font-weight: bold;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.8); /* 半透明白底，防止看不清 */
    padding: 2px 8px;
    border-radius: 4px;
    z-index: 2;
}

/* 鼠标悬停效果 */
.card:hover .overlay {
    background: rgba(0, 0, 0, 0.5); /* 半透明灰色 */
}

.card:hover .btn {
    opacity: 1; /* 按钮显现 */
}



 /* --- 弹窗遮罩层 --- */
 #myModal {
     display: none; /* 默认隐藏 */
     position: fixed;
     z-index: 1000;
     left: 0;
     top: 0;
     width: 100%;
     height: 100%;
     background-color: rgba(0,0,0,0.5);
     /* 🚀 动画关键：控制背景变暗的过渡 */
     opacity: 0;
     transition: opacity 0.3s ease-in-out;
 }

 /* --- 弹窗内容容器 --- */
 .modal-content {
     background-color: #fff;
     margin: 10% auto;
     width: 800px;
     height: 360px;
     position: relative;
     border-radius: 8px;
     box-shadow: 0 4px 20px rgba(0,0,0,0.3);
     overflow: hidden;
     /* 🚀 动画关键：控制弹窗的上浮和缩放 */
     transform: scale(0.7) translateY(50px); /* 初始状态：缩小且向下偏移 */
     opacity: 0;
     transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* 使用贝塞尔曲线增加Q弹感 */
 }

 /* --- 激活状态 (JS 会添加这个类) --- */
 #myModal.show {
     opacity: 1; /* 背景变暗 */
 }

     #myModal.show .modal-content {
         transform: scale(1) translateY(0); /* 恢复正常大小和位置 */
         opacity: 1; /* 内容变清晰 */
     }

 /* 关闭按钮 */
 .close {
     color: #aaa;
     float: right;
     font-size: 28px;
     font-weight: bold;
     position: absolute;
     right: 15px;
     top: 0;
     z-index: 1001;
     cursor: pointer;
     line-height: 40px;
     transition: color 0.2s;
 }

     .close:hover {
         color: #000;
     }

 /* iframe */
 iframe {
     width: 100%;
     height: 100%;
     border: none;
     padding-top: 40px;
     box-sizing: border-box;
 }





/* ---- 本地 CMS 迁移适配（自动追加） ---- */
.load-list{max-width:1200px;margin:0 auto;padding:20px}
.load-items{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:24px;align-items:start}
.load-wrap{text-align:center;margin:28px 0}
.load-more,.page-btn{display:inline-block;padding:12px 28px;margin:0 4px;border:0;border-radius:4px;background:#888;color:#fff;cursor:pointer;font-size:15px}
.page-btn.active{background:#333}
.load-end{color:#999;font-size:14px}
.dropdown.nochild .dropdown-menu:empty,.dropdown.nochild .dropdown-toggle::after{display:none}
.dropdown-menu:empty,.submenu:empty{display:none}
li:not(.has-submenu) .submenu:empty,li:not(.has-submenu) .arrow{display:none}
.custom-form .form-row{margin-bottom:16px}
.custom-form label{display:block;margin-bottom:6px}


/* ==== 本地整理补充：空栏目列表友好提示 ==== */
.load-list .load-items:empty {
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a8a8a;
    font-size: 16px;
    letter-spacing: 1px;
}
.load-list .load-items:empty::after { content: "该栏目暂无内容，敬请期待"; }
.load-list .load-items:empty + .load-wrap { display: none; }
