/* ================= 全局重置 ================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* ================= 1. Header (导航栏) ================= */
.site-header {
    background: #fff;
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05); /* 极淡的阴影 */
}

.header-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-box img {
    height: 50px; /* 根据 Logo 实际比例调整 */
    width: auto;
    display: block;
}

.main-nav ul { display: flex; gap: 40px; }
.main-nav a {
    font-size: 20px;
    color: #000; /* 纯黑文字，匹配截图 */
    font-weight: 400;
}
.main-nav a:hover { color: #555; }

/* ================= 2. Hero Banner (核心视觉) ================= */
.hero-banner {
    height: 600px; /* 足够的高度展示背景 */
    width: 100%;
    overflow: hidden;
}

.banner-slide {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.banner-content {
    text-align: center;
    z-index: 2;
    width: 100%;
}

/* 大标题 */
.banner-content h1 {
    font-size: 60px; /* 巨大字体 */
    color: #fff;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 60px; /* 标题和按钮的间距 */
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* 按钮容器 */
.banner-buttons {
    display: flex;
    justify-content: center;
    gap: 80px; /* 两个按钮之间的间距，截图里分得很开 */
}

/* 截图同款按钮样式 */
.btn-hero {
    background-color: rgba(0, 0, 0, 0.5); /* 半透明黑底 */
    color: #fff;
    font-size: 20px;
    padding: 15px 50px; /* 宽大的内边距 */
    border-radius: 6px; /* 圆角 */
    border: none;
    cursor: pointer;
    font-weight: 400;
    display: inline-block;
}

.btn-hero:hover {
    background-color: rgba(0, 0, 0, 0.7); /* 悬停变深 */
}

/* ================= 3. Footer (页脚) ================= */
.site-footer {
    background: #fff;
    padding: 60px 0 30px;
    border-top: 1px solid #eee; /* 顶部淡线 */
}

.footer-logo { margin-bottom: 40px; }

.footer-links {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 50px;
}
.footer-links a {
    color: #000;
    font-size: 16px;
    font-weight: 400;
}

.copyright {
    color: #999;
    font-size: 12px;
    border-top: 1px solid #f5f5f5;
    padding-top: 20px;
    width: 100%;
}

/* ================= 4. 登录弹窗 (Modal) ================= */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6); /* 背景遮罩 */
    backdrop-filter: blur(5px); /* 背景模糊，更高级 */
}

.modal-content {
    background-color: #fff;
    margin: 10vh auto; /* 距离顶部 10% */
    padding: 40px;
    width: 450px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.close-modal {
    position: absolute;
    right: 20px; top: 15px;
    font-size: 30px;
    cursor: pointer;
    color: #999;
}

/* Tab 切换 */
.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}
.tab-btn {
    flex: 1;
    text-align: center;
    padding-bottom: 10px;
    cursor: pointer;
    font-size: 18px;
    color: #999;
    font-weight: 500;
}
.tab-btn.active {
    color: #000;
    border-bottom: 2px solid #28a745; /* 绿色下划线 */
}

/* 表单样式 */
.input-group { margin-bottom: 20px; }
.input-group label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 14px; }
.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}
.input-group input:focus { outline: none; border-color: #28a745; }

.btn-submit {
    width: 100%;
    padding: 12px;
    background: #28a745; /* 绿色按钮，或者改为黑色 #000 */
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 10px;
}
.btn-submit:hover { opacity: 0.9; }

.form-footer { margin-top: 15px; text-align: center; font-size: 14px; }
.form-footer a { color: #666; text-decoration: underline; }

/* 移动端适配 */
.mobile-toggle { display: none; font-size: 24px; cursor: pointer; color: #333; }
@media (max-width: 768px) {
    .banner-content h1 { font-size: 32px; }
    .banner-buttons { gap: 20px; }
    .btn-hero { padding: 10px 30px; font-size: 16px; }
    .main-nav { display: none; } /* 暂略移动端细节 */
    .mobile-toggle { display: block; }
    .footer-links { flex-direction: column; gap: 15px; }
    .modal-content { width: 90%; margin: 20vh auto; }
}

/* ================= ABOUT PAGE STYLES ================= */

/* 1. About Hero Banner */
.about-hero {
    position: relative;
    height: 400px; /* 根据截图调整高度 */
    background: url('../images/about_bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
}

/* 关键：灰度遮罩，复现"覆盖偏灰"的效果 */
.about-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.35); /* 35% 黑色遮罩 */
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: left; /* 强制左对齐 */
}

.hero-text-box {
    color: #fff;
    max-width: 600px;
}

.hero-text-box h1 {
    font-size: 56px;
    font-weight: 400; /* 不加粗，符合截图 */
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-line {
    width: 40px;
    height: 3px;
    background: #fff;
    margin: 10px 0 20px 0; /* 左对齐的短横线 */
}

.hero-text-box p {
    font-size: 20px;
    font-weight: 300;
    opacity: 0.9;
}

/* 2. Our Story Section */
.section-story {
    padding: 80px 0;
    background-color: #f9f9f9; /* 极淡的灰背景 */
}

.story-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    margin-bottom: 60px;
}

.story-text { flex: 1; }
.story-video { flex: 1; }

.story-title {
    font-size: 36px;
    font-weight: 400;
    color: #333;
    margin-bottom: 15px;
}

.text-center { text-align: center; }

.title-underline {
    width: 50px;
    height: 3px;
    background: #333;
    margin-bottom: 30px;
}

.center-line { margin: 0 auto 40px auto; } /* 居中下划线 */

.story-paragraphs p {
    font-family: 'Helvetica Neue', Arial, sans-serif; /* 匹配截图字体 */
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify; /* 两端对齐，显得整齐 */
}

/* 视频容器美化 */
.story-video video {
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #000;
    max-height: 350px;
    object-fit: cover;
}

/* 3. Stats Bar (数据统计条) */
.stats-bar {
    background: #fff;
    padding: 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05); /* 悬浮阴影 */
    border-radius: 4px;
    margin-top: 20px;
}

.stat-item { text-align: center; }

.stat-num {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: #f3a93b; /* 截图中的橙色 */
    line-height: 1;
    margin-bottom: 5px;
}

.stat-num small {
    font-size: 18px;
    color: #999;
    font-weight: 400;
    margin-left: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: #eee;
}

/* 4. Certificate Carousel (证书轮播) */
.section-cert {
    padding: 60px 0 100px;
    background: #fff;
}

.cert-carousel-wrapper {
    overflow: hidden;
    padding: 20px 0;
}

.cert-track {
    display: flex;
    gap: 20px;
    overflow-x: auto; /* 允许横向滚动 */
    scroll-snap-type: x mandatory; /* 滚动吸附 */
    padding-bottom: 20px;
    /* 隐藏滚动条但保留功能 */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.cert-track::-webkit-scrollbar { display: none; }

.cert-item {
    flex: 0 0 32%; /* 无论屏幕多大，显示3个多一点 */
    scroll-snap-align: center;
    border: 10px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* 截图中的边框阴影 */
    transition: transform 0.3s;
}

.cert-item:hover { transform: translateY(-5px); }

.cert-item img {
    width: 100%;
    display: block;
}

.cert-dots {
    text-align: center;
    margin-top: 20px;
}

.dot {
    height: 10px; width: 10px;
    background-color: #ddd;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
}
.dot.active { background-color: #f3a93b; }

/* 移动端适配 */
@media (max-width: 768px) {
    .story-content { flex-direction: column; }
    .stats-bar { flex-direction: column; gap: 30px; }
    .stat-divider { width: 50px; height: 1px; }
    .cert-item { flex: 0 0 85%; } /* 手机上一次显示一张 */
    .hero-text-box h1 { font-size: 36px; }
}

/* ================= 证书轮播样式 (新) ================= */

/* 视口：隐藏溢出的部分 */
.cert-slider-viewport {
    width: 100%;
    overflow: hidden; /* 关键：超出部分隐藏 */
    padding: 10px 0;  /* 给阴影留点空间 */
}

/* 轨道：弹性布局，宽度足够容纳所有卡片 */
.cert-slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out; /* 平滑滚动效果 */
    width: 100%;
}

/* 单个卡片容器：强制宽度为 1/3 */
.cert-slide {
    flex: 0 0 33.333%; /* 桌面端一行显示3个 */
    max-width: 33.333%;
    padding: 0 15px; /* 卡片之间的间距 */
    box-sizing: border-box;
}

/* 卡片内部样式 (白底+边框) */
.cert-card {
    background: #fff;
    padding: 10px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.cert-card:hover {
    transform: translateY(-5px); /* 悬停上浮 */
}

/* 修改前：height: auto; 导致高度不一 */
/* 修改后：强制高度 + 裁剪填充 */

.cert-card img {
    width: 100%;
    height: 420px;          /* 1. 强制统一高度 (您可以根据需要调整这个数字，比如 400px 或 450px) */
    object-fit: cover;      /* 2. 关键属性：让图片填满容器，多余部分自动裁剪，保证不拉伸变形 */
    object-position: top;   /* 3. 对齐方式：优先显示图片顶部（证书标题通常在上面） */
    display: block;
}

/* 指示点容器 */
.cert-dots-container {
    text-align: center;
    margin-top: 30px;
}

/* 指示点样式 */
.cert-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #e0e0e0; /* 默认灰色 */
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* 激活状态的指示点 (橙色) */
.cert-dot.active {
    background-color: #f3a93b;
}

/* 移动端适配：手机上一行显示1个 */
@media (max-width: 768px) {
    .cert-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }
    /* 手机端 JS 逻辑需要调整，或者允许原生滑动 */
    .cert-slider-track {
        overflow-x: auto;
    }
}

/* ================= PRODUCT PAGE STYLES ================= */

/* 1. Sidebar (左侧分类栏) */
.sidebar {
    width: 260px; /* 固定宽度，匹配截图 */
    background: #fff;
    flex-shrink: 0; /* 防止被压缩 */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 4px;
    overflow: hidden;
}

.sidebar-header {
    background-color: #005a31; /* 截图中的深绿色 */
    color: #fff;
    padding: 15px 20px;
    font-size: 20px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-list {
    padding: 0;
    margin: 0;
}

.category-list li {
    border-bottom: 1px solid #eee;
}

.category-list li a {
    display: block;
    padding: 12px 20px;
    color: #f3a93b; /* 截图中的橙色文字 */
    font-size: 15px;
    transition: 0.2s;
}

.category-list li a:hover {
    background-color: #f9f9f9;
    padding-left: 25px; /* 悬停微动效果 */
}

/* 2. Content Area & Grid (右侧产品网格) */
.content-area {
    flex: 1; /* 占据剩余宽度 */
}

.prod-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3列 */
    gap: 30px; /* 间距 */
    margin-bottom: 50px;
}

.prod-card {
    text-align: center;
    background: transparent; /* 背景透明 */
}

.prod-img {
    background: #fff;
    padding: 10px; /* 图片留白 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    margin-bottom: 10px;
}

.prod-img img {
    width: 100%;
    aspect-ratio: 1/1; /* 强制正方形显示 */
    object-fit: contain; /* 保持图片比例 */
    display: block;
}

.prod-desc {
    font-size: 12px;
    color: #333;
    margin-bottom: 5px;
    font-weight: bold;
    /* 限制显示一行，超出省略 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ================= 更新后的产品名称样式 ================= */

/* 产品卡片容器 */
.prod-card {
    text-align: center; /* 让图片和文字都居中 */
    background: transparent;
}

/* 图片区域 */
.prod-img {
    background: #fff;
    padding: 10px;
    /* 只有图片区域有阴影，文字区域没有 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    margin-bottom: 0; /* 图片容器底部不留太多空白，由文字的 margin-top 控制 */
}

.prod-img img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    display: block;
}

/* 产品名字/编号 (位于图片下方) */
.prod-name {
    font-size: 16px;
    color: #000;       /* 黑色文字 */
    font-weight: 500;  /* 稍微加粗，清晰可见 */
    margin-top: 15px;  /* 图片和文字之间的距离 */
    font-family: 'Helvetica Neue', Arial, sans-serif;
}
/* 3. Pagination (分页栏) */
.pagination-bar {
    display: flex;
    justify-content: center; /* 居中 */
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
}

.page-link, .page-num {
    color: #333;
    text-decoration: none;
    padding: 0 5px;
}

.page-num.active {
    color: #e60012; /* 截图中的红色当前页 */
    font-weight: bold;
}

.page-jump {
    margin-left: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.page-jump input {
    width: 40px;
    padding: 2px 5px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 10px; /* 圆角输入框 */
    font-size: 12px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container[style*="flex"] {
        flex-direction: column;
    }
    .sidebar { width: 100%; }
    .prod-grid-3col { grid-template-columns: repeat(2, 1fr); }
}
/* ================= 修改后的 Sidebar 交互样式 ================= */

/* 1. 列表项的基础样式 */
.category-list li {
    border-bottom: 1px solid #e5e5e5; /* 浅灰分割线 */
}

/* 2. 链接默认状态：白底 + 橙字 */
.category-list li a {
    display: block;
    padding: 14px 25px;
    color: #f29b38;         /* 【默认】橙色文字 */
    background-color: #fff; /* 【默认】白色背景 */
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;   /* 添加平滑过渡动画 */
}

/* 3. 鼠标悬停状态 (Hover)：橙底 + 白字 */
.category-list li a:hover {
    background-color: #f29b38; /* 【悬停】背景变橙 */
    color: #fff;               /* 【悬停】文字变白 */
    padding-left: 30px;        /* (可选) 稍微右移一点，增加交互感 */
}

/* 4. 选中状态 (Active)：保持橙底 + 白字 (防止鼠标移开后不知道选了哪个) */
.category-list li.active a {
    background-color: #f29b38;
    color: #fff;
}

/* ================= SHOWROOM PAGE STYLES ================= */

/* 通用标题样式 */
.section-head-title {
    text-align: center;
    font-size: 36px;
    font-weight: 400;
    color: #333;
    margin-bottom: 15px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.section-head-line {
    width: 60px;
    height: 3px;
    background: #005a31; /* 品牌绿 */
    margin: 0 auto 20px;
}

.section-head-desc {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* VR/Video 容器样式 */
.vr-container {
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.vr-placeholder {
    position: relative;
    width: 100%;
    /* 保持 16:9 比例 */
    padding-bottom: 56.25%;
    background: #000;
    cursor: pointer;
}

.vr-placeholder img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: 0.3s;
}

.vr-placeholder:hover img {
    opacity: 0.6;
}

/* 播放按钮 */
.play-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80px; height: 80px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #005a31;
    font-size: 30px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.vr-placeholder:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    background: #fff;
}

/* 画廊网格 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* 悬停覆盖层 */
.gallery-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    opacity: 0;
    transition: 0.3s;
    display: flex;
    align-items: flex-end;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .page-banner h1 { font-size: 40px; }
}
/* ================= SHOWROOM 2列布局 ================= */

.showroom-grid {
    display: grid;
    /* 关键：强制 2 列 */
    grid-template-columns: repeat(2, 1fr);
    /* 间距 30px，符合大气展示 */
    gap: 30px;
}

.showroom-card {
    position: relative;
    /* 设置一个固定的高度，保证图片整齐，比如 400px */
    height: 400px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    cursor: pointer;
}

.showroom-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 裁剪填充，保证铺满 */
    transition: transform 0.6s ease;
}

/* 鼠标悬停图片放大 */
.showroom-card:hover img {
    transform: scale(1.08);
}

/* 底部黑色遮罩文字 */
.showroom-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    /* 黑色半透明渐变背景 */
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px 20px 20px 20px;
    color: #fff;
    /* 默认一直显示，还是悬停显示？这里设置为悬停时文字稍微上浮 */
    transition: 0.3s;
}

.showroom-overlay h3 {
    font-size: 24px;
    font-weight: 400;
    margin: 0;
    text-transform: capitalize;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* 移动端适配：手机上改为单列 */
@media (max-width: 768px) {
    .showroom-grid {
        grid-template-columns: 1fr;
    }
    .showroom-card {
        height: 250px; /* 手机上矮一点 */
    }
}
/* ================= NEWS PAGE STYLES ================= */

/* 新闻列表容器 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 40px; /* 每条新闻之间的间距 */
}

/* 单条新闻卡片 */
.news-item {
    display: flex;
    gap: 30px; /* 图片和文字的间距 */
    border-bottom: 1px solid #eee; /* 底部淡灰分割线 */
    padding-bottom: 40px;
    align-items: flex-start;
}

.news-item:last-child {
    border-bottom: none; /* 最后一项不要分割线 */
}

/* 左侧图片盒子 */
.news-img-box {
    flex: 0 0 320px; /* 固定图片宽度 */
    height: 220px;   /* 固定图片高度 */
    overflow: hidden;
    border-radius: 4px;
    /* 边框阴影 */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.news-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 裁剪填满 */
    transition: transform 0.5s ease;
}

/* 悬停时图片放大 */
.news-img-box:hover img {
    transform: scale(1.08);
}

/* 右侧内容盒子 */
.news-content-box {
    flex: 1; /* 占据剩余空间 */
    display: flex;
    flex-direction: column;
}

/* 新闻标题 */
.news-title {
    font-size: 22px;
    font-weight: 500;
    margin: 0 0 10px 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.4;
}

.news-title a {
    color: #333;
    text-decoration: none;
    transition: 0.3s;
}

.news-title a:hover {
    color: #005a31; /* 悬停变为品牌绿 */
}

/* 元数据 (日期/分类) */
.news-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
    display: flex;
    gap: 20px;
}

.news-meta i {
    margin-right: 5px;
}

/* 简介文字 */
.news-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    /* 限制显示3行，超出省略 (Webkit内核) */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Read More 按钮 */
.news-read-more {
    display: inline-block;
    color: #f3a93b; /* 品牌橙色 */
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
}

.news-read-more:hover {
    color: #005a31; /* 悬停变绿 */
    text-decoration: underline;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column; /* 手机上图片在下，文字在上，或者反过来 */
    }
    .news-img-box {
        flex: none;
        width: 100%; /* 图片全宽 */
        height: 200px;
    }
}
/* ================= NEWS GRID STYLES (复刻截图) ================= */

/* 1. 网格容器：一行两列 */
.news-grid-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 强制2列 */
    gap: 40px; /* 卡片之间的间距 */
}

/* 2. 卡片链接包装 */
.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* 3. 卡片盒子 */
.news-card-box {
    background: #fff;
    /* 截图看起来很干净，没有明显的边框阴影，这里给一个极淡的阴影 */
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s;
}

.news-card-box:hover {
    transform: translateY(-5px); /* 悬停轻微上浮 */
}

/* 4. 图片区域 */
.news-thumb {
    position: relative; /* 为日期遮罩做定位基准 */
    width: 100%;
    height: 350px; /* 固定高度，确保对齐 */
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card-box:hover .news-thumb img {
    transform: scale(1.05);
}

/* 5. 【重点】日期遮罩 (左下角) */
.news-date-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.6); /* 黑色半透明背景 */
    color: #fff;
    padding: 5px 15px;
    font-size: 14px;
    font-family: Arial, sans-serif;
    z-index: 2;
}

/* 6. 文字区域 */
.news-info {
    padding: 25px 10px; /* 上下留白 */
    text-align: left;
}

.news-info h3 {
    font-size: 18px;
    font-weight: 500;
    color: #000;
    margin: 0;
    line-height: 1.5;
    text-transform: uppercase; /* 强制大写，复刻截图风格 */
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .news-grid-cards {
        grid-template-columns: 1fr; /* 手机上一列 */
    }
    .news-thumb {
        height: 250px;
    }
}

/* ================= CONTACT PAGE STYLES (像素级克隆) ================= */

/* 全局背景设为浅灰 (符合截图) */
body {
    background-color: #f5f5f5;
}

/* Banner 样式 (复用其他页面，确保统一) */
.page-banner {
    position: relative;
    height: 350px;
    width: 100%;
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: center;
}
.banner-gradient {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}
.banner-wrapper {
    position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; text-align: left;
}
.banner-text h1 { color: #fff; font-size: 60px; font-weight: 400; margin-bottom: 10px; font-family: 'Helvetica Neue', Arial, sans-serif; }
.banner-line { display: block; width: 50px; height: 4px; background: #fff; margin-bottom: 20px; }
.banner-text p { color: #fff; font-size: 20px; font-weight: 300; opacity: 0.9; }


/* 主容器上下内边距 */
.section-contact-grid {
    padding: 60px 0;
}

/* 布局行：Flexbox 两列 */
.contact-row {
    display: flex;
    gap: 30px; /* 卡片间距 */
}

/* 通用白色卡片 */
.contact-card {
    background: #fff;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02); /* 极淡阴影 */
}

/* 宽度分配 */
.form-card { flex: 2; } /* 表单宽 */
.info-card { flex: 1; } /* 信息窄 */
.map-card  { flex: 1.8; height: 440px;padding: 0; overflow: hidden; } /* 地图宽且无内边距 */
.social-card { flex: 1; padding: 0; } /* 社交窄且无内边距 */


/* --- 表单样式 --- */
.form-group-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

/* 灰色背景输入框 */
.grey-input {
    width: 100%;
    background-color: #f7f7f7; /* 浅灰背景 */
    border: 1px solid #e5e5e5;
    padding: 15px;
    font-size: 16px;
    border-radius: 2px;
    outline: none;
    font-family: inherit;
    color: #333;
    transition: 0.3s;
}
.grey-input:focus {
    background-color: #fff;
    border-color: #f3a93b; /* 聚焦变橙 */
}
.grey-textarea {
    height: 200px;
    resize: none;
    margin-bottom: 20px;
    vertical-align: top;
}

/* 按钮居右 */
.form-btn-wrapper {
    text-align: right;
}
.submit-btn {
    background-color: #f3a93b; /* 橙色 */
    color: #fff;
    border: none;
    padding: 12px 45px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}
.submit-btn:hover {
    background-color: #d68528;
}


/* --- 联系信息样式 --- */
.info-title {
    text-align: center;
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 30px;
    color: #000;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}
.info-list {
    list-style: none; padding: 0; margin: 0;
}
.info-list li {
    display: flex;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}
.info-list li:last-child { border-bottom: none; }
.info-list li i {
    color: #f3a93b;
    margin-right: 15px;
    margin-top: 4px;
    width: 20px;
    text-align: center;
    font-size: 16px;
}


/* --- 社交卡片 Tab 样式 --- */
.social-tabs {
    display: flex;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #eee;
}
.s-tab, .s-tab-text {
    cursor: pointer;
    transition: all 0.3s;
    user-select: none;
}
/* 激活状态 */
.s-tab {
    background-color: #f3a93b;
    color: #fff;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 400;
}
/* 普通状态 */
.s-tab-text {
    background-color: #fff;
    padding: 15px 30px;
    color: #000;
    font-size: 18px;
    font-weight: 400;
}
.s-tab-text:hover { color: #f3a93b; }

.social-content {
    padding: 40px 20px;
    text-align: center;
}
.social-content h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
}
.qr-img {
    max-width: 200px;
    border: 1px solid #eee;
    padding: 5px;
}
.qr-desc {
    margin-top: 15px;
    color: #999;
    font-size: 14px;
}


/* 移动端适配 */
@media (max-width: 768px) {
    .contact-row { flex-direction: column; }
    .form-group-row { flex-direction: column; }
    .map-card { height: 250px; }
}