﻿/* 面包屑通栏 */
.breadcrumb-wrap { width: 100%; background: #f7f7f7; padding: 12px 0; margin-bottom: 30px; }
.breadcrumb-box { width: 1400px; margin: 0 auto; padding: 0 30px; box-sizing: border-box; font-size: 14px; color: #666; }
.breadcrumb-box a { color: #0066f0; text-decoration: none; }
.breadcrumb-box a:hover { text-decoration: underline; }
.breadcrumb-box i { margin: 0 8px; color: #aaa; }

/* ========== 页面主容器 ========== */
.Ny { width: 1400px; margin: 0 auto 60px; padding: 0 30px; box-sizing: border-box; }

/* 左右栏结构：中间固定30px间距 */
.news_wrap { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; }

/* 左侧侧边栏 */
.ny_left { width: 260px; flex-shrink: 0; }

/* 侧边栏头部蓝色标题块：顶部圆角，去掉直角方块感 */
.ny_left .news_title,
.ny_left .contact_box .con_tit { background: #0F4C99; color: #fff; padding: 22px 18px; font-size: 24px; font-weight: 700; line-height: 1.3; border-radius: 10px 10px 0 0; }
.ny_left .news_title p,
.ny_left .contact_box .con_tit small { font-size: 13px; font-weight: 400; opacity: 0.8; margin-top: 6px; display: block; }

/* 分类菜单：底部圆角，和顶部蓝色块衔接顺滑，消除四方硬边 */
.ny_left .cate_box { border: 1px solid #e8e8e8; border-top: none; background: #fff; border-radius: 0 0 10px 10px; overflow: hidden; }
.ny_left .cate_box a { display: block; padding: 16px 18px; font-size: 15px; color: #333; text-decoration: none; border-left: 3px solid transparent; transition: all 0.2s ease; }
.ny_left .cate_box a:hover { background: #f5f8ff; color: #0066f0; }
.ny_left .cate_box a.active { background: #f5f8ff; color: #0066f0; border-left-color: #0066f0; font-weight: 600; }

/* 联系我们模块：整体全圆角，不再是生硬直角大方块 */
.ny_left .contact_box { margin-top: 30px; border: 1px solid #e8e8e8; background: #fff; border-radius: 10px; overflow: hidden; }
.ny_left .contact_box .con_text { padding: 18px; line-height: 1.8; font-size: 14px; color: #555; }
.ny_left .contact_box .con_text p { margin: 6px 0; }

/* ========== 右侧主区域 ========== */
.ny_right { flex: 1; min-width: 0; }

/* 顶部横向分类按钮栏 */
.case-tab-bar { display: flex; gap: 12px; margin-bottom: 30px; flex-wrap: wrap; }
.case-tab-bar .tab-item { padding: 12px 26px; border: 1px solid #ddd; background: #fff; border-radius: 4px; font-size: 15px; color: #333; text-decoration: none; transition: 0.2s; }
.case-tab-bar .tab-item:hover { border-color: #0F4C99; color: #0F4C99; }
.case-tab-bar .tab-item.active { background: #0F4C99; color: #fff; border-color: #0F4C99; }

/* 案例3列网格布局（核心，匹配截图样式） */
.Ny_dvs { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* 案例卡片容器 替换原来flex横向布局 */
.xwmk { display: block; padding: 0; background: #ffffff; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.04); border: 1px solid #f0f2f5; transition: 0.2s ease; overflow: hidden; }
.xwmk:hover { box-shadow: 0 3px 10px rgba(0,0,0,0.07); transform: translateY(-2px); }
.xwmk.no_img { background: #fcfcfd; }

/* 案例图片区域 100%宽度 */
.xwpt_l { width: 100%; flex-shrink: unset; }
.xwpt_l img { width: 100%; height: 220px; object-fit: cover; background: #f5f5f5; border-radius: 0; }
.xwpt_l.noimg { width: 100%; height: 220px; display: flex; align-items: center; justify-content: center; color: #888; font-size: 14px; background: #f7f8fa; }

/* 案例文字内容区域 内边距 */
.xwnr_r { padding: 20px; }
.xwnr_r h2 { font-size: 18px; color: #111; margin: 0 0 12px; font-weight: 600; line-height: 1.45; }
.xwnr_r h2 a { color: inherit; text-decoration: none; }
.xwnr_r h2 a:hover { color: #0066f0; }
.xwnr_r span { display: block; color: #999; font-size: 14px; margin-bottom: 12px; }
.xwnr_r p { font-size: 15px; color: #666; line-height: 1.7; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* 分页样式 居中 */
.page_list { width: 100%; margin: 45px 0 0; display: flex; align-items: center; justify-content: center; gap: 8px; }
.page_list a { width: 36px; height: 36px; line-height: 36px; display: block; border: 1px solid #d0d9f0; color: #333; text-align: center; border-radius: 6px; transition: all 0.2s; text-decoration: none; }
.page_list a:hover { background: #0066f0; color: #fff; border-color: #0066f0; }
.page_list a.currBtn { background: #0066f0; color: #fff; border-color: #0066f0; }
.page_list a.currBtn:hover { background: #0052d1; }
.page_list .pageInfo { margin: 0 10px; color: #666; font-size: 14px; }
.page_list span { height: 36px; line-height: 36px; font-size: 14px; color: #666; }
