@charset "utf-8";
/* 安徽冰虫科技官网 - 补充样式（覆盖/新增，不改动原站样式文件） */

/* ---------- 顶部电话与入口图标 ---------- */
.header-new .tel-new {
  float: right; height: 100px; line-height: 100px;
  font-size: 26px; color: #d9251d; font-weight: bold;
  margin-right: 20px; letter-spacing: 1px;
}
.header-new .tel-new i {
  display: inline-block; width: 26px; height: 26px; margin-right: 8px;
  vertical-align: -4px; border-radius: 50%; border: 2px solid #d9251d;
}
.header-new .head-ico { float: right; height: 100px; padding-top: 34px; }
.header-new .head-ico a {
  display: inline-block; width: 52px; height: 32px; line-height: 32px;
  margin-left: 10px; text-align: center; font-size: 13px; color: #555;
  border: 1px solid #ddd; border-radius: 3px;
}
.header-new .head-ico a:hover { color: #d9251d; border-color: #d9251d; }

/* ---------- 右侧悬浮工具条 ---------- */
.side-bar {
  position: fixed; right: 0; top: 34%; z-index: 999;
  background: #fff; box-shadow: 0 0 10px rgba(0,0,0,.12); border-radius: 4px;
}
.side-bar ul li { border-bottom: 1px solid #f0f0f0; }
.side-bar ul li:last-child { border-bottom: 0; }
.side-bar ul li a {
  display: block; width: 46px; padding: 10px 6px; text-align: center;
  font-size: 12px; line-height: 1.3; color: #666; word-break: break-all;
}
.side-bar ul li a:hover { background: #d9251d; color: #fff; }

/* ---------- 左侧上门预约圆标 ---------- */
.yuyue-circle {
  position: fixed; left: 18px; bottom: 16%; z-index: 999;
  width: 96px; height: 96px; border-radius: 50%;
  background: #8fd66f; color: #d9251d; font-weight: bold;
  font-size: 13px; line-height: 1.5; text-align: center;
  padding-top: 18px; box-sizing: border-box;
  box-shadow: 0 3px 12px rgba(0,0,0,.2);
}
.yuyue-circle:hover { background: #7cc95c; }

/* 案例/荣誉图墙（在 862px 正文区内每行 3 个） */
.honor-list ul li {
  float: left; width: 32%; margin: 0 2% 20px 0; text-align: center;
}
.honor-list ul li:nth-child(3n) { margin-right: 0; }
.honor-list ul li a { display: block; }
.honor-list ul li img {
  width: 100%; height: 195px; object-fit: cover;
  border: 1px solid #eee; box-sizing: border-box; background: #fafafa;
}
.honor-list ul li p {
  height: 38px; line-height: 38px; font-size: 14px; color: #555;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.honor-list ul li a:hover p { color: #d9251d; }
.honor-list ul li a:hover img { border-color: #d9251d; }

/* ---------- 科普文章列表 ---------- */
.art-list li {
  padding: 16px 4px; border-bottom: 1px dashed #e6e6e6; overflow: hidden;
}
.art-list li a { float: left; font-size: 15px; color: #444; max-width: 84%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.art-list li a:hover { color: #d9251d; }
.art-list li span { float: right; color: #aaa; font-size: 13px; }

/* ---------- 分页 ---------- */
.pagination { padding: 26px 0; text-align: center; }
.pagination a {
  display: inline-block; min-width: 34px; height: 32px; line-height: 32px;
  padding: 0 10px; margin: 0 4px; font-size: 14px; color: #666;
  border: 1px solid #ddd; border-radius: 3px;
}
.pagination a:hover, .pagination a.active {
  background: #d9251d; border-color: #d9251d; color: #fff;
}

/* ---------- 首页资讯区：去掉视频预览图后收掉卡片底部空白 ---------- */
/* 原站 box 固定 524px 是给视频预览图预留的高度，纯文字列表会空出一大截 */
.index .index-news .news-new .box {
  height: auto !important;   /* 覆盖原站固定 524px，改为随内容 */
  min-height: 0;
}
.index .index-news .news-new .box .box-new {
  padding-bottom: 24px;      /* 列表末条与卡片底边留白 */
}
.index .index-news .news-new .box .box-new ul li:last-child {
  border-bottom: 0;          /* 末条不画虚线，收口干净 */
}

/* ---------- 占位符高亮（便于替换时肉眼定位，上线前可删本段） ---------- */
.ph { background: #fff3cd; color: #8a6d3b; padding: 0 3px; border-radius: 2px; }

/* ---------- 内页容器 ---------- */
/* 采用原站两栏结构 .overall(.w1100) = .ll 侧栏(221px) + .z-main 正文(862px)。
   原站 .z-main 是 float:right，必须有 .overall 父容器包住浮动，否则会脱流到页头上方 */
.overall {
  padding-bottom: 42px;
  overflow: hidden;          /* 包住左右浮动，防止 z-main 脱流 */
}
/* 只让最外层的侧栏列左浮动，不影响正文内部的 .ll/.rr */
.overall > .ll { float: left; }

/* 正文区（862px）内的通用排版：原站正文按 1100px 设计，需在此约束 */
.overall .z-main .big-box { padding: 0 22px 26px; }
.overall .z-main .big-box img {
  max-width: 100%;           /* 图片不超出正文宽度 */
  height: auto;
}
/* 正文里的表格化排版（发展历程等）随宽度自适应 */
.overall .z-main .big-box table {
  max-width: 100%;
  table-layout: fixed;
  word-break: break-word;
}

/* 「联系我们」两张 382px 图并排（.fll 原站未定义，需自行声明） */
.overall .z-main .service .box,
.overall .z-main .service2 .box { overflow: hidden; }
.overall .z-main .service .box .fll,
.overall .z-main .service2 .box .fll {
  float: left;
  width: 48.5%;
  margin-right: 3%;
}
.overall .z-main .service .box .fll.rr,
.overall .z-main .service2 .box .fll.rr {
  float: left;               /* 覆盖原站 .rr 的 float:right，避免被挤下行 */
  margin-right: 0;
}
.overall .z-main .service .box .fll img,
.overall .z-main .service2 .box .fll img {
  width: 100%;               /* 覆盖固定 382px，随栏宽缩放 */
  height: auto;
}

/* 侧栏样式完全沿用原站 style.css（.overall .c-nav / .c-list / .ce-nav），
   仅补两条：栏目名过长时截断、长地址换行 */
.overall .c-list li a {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.overall .ce-nav .c-table ul li .te.sp {
  line-height: 19px; color: #888; font-size: 13px; word-break: break-all;
}

/* 服务页等通栏长图页：原站无面包屑与标题栏，图片满宽居中 */
.page-wide {
  width: 100%;
  text-align: center;
  padding-top: 103px;      /* 绝对定位页头占位，避免首张服务图被导航遮挡 */
  padding-bottom: 10px;
}
.page-wide img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;    /* 消除长图之间的基线缝隙 */
  display: inline-block;
}
.page-wide div { line-height: 0; }   /* 长图逐张堆叠，不留行高间隙 */

.bread { padding: 14px 0; font-size: 13px; color: #888; }
.bread a { color: #888; margin: 0 4px; }
.bread a:hover { color: #d9251d; }
.big-box { min-height: 380px; padding-bottom: 20px; }
.sec-tit { font-size: 22px; color: #333; padding: 8px 0 18px; }
.sec-tit em { font-size: 13px; color: #bbb; margin-left: 10px;
  font-style: normal; text-transform: uppercase; }

/* ========================================================================== 
   2026 全站体验增强：保留原文案和媒体，仅重构表现层与交互状态
   ========================================================================== */
:root {
  --bc-red: #df061d;
  --bc-red-dark: #b90418;
  --bc-ink: #182033;
  --bc-muted: #697386;
  --bc-line: #e6e9ef;
  --bc-surface: #ffffff;
  --bc-surface-soft: #f6f8fb;
  --bc-shadow: 0 14px 40px rgba(18, 28, 50, 0.09);
  --bc-radius: 12px;
}

html { scroll-behavior: smooth; }
body {
  color: var(--bc-ink);
  background: var(--bc-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a,
button,
input,
select,
textarea { -webkit-tap-highlight-color: transparent; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(223, 6, 29, 0.42);
  outline-offset: 3px;
}

.header {
  background: rgba(0, 0, 0, 0.7);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.header .header-new .nav > ul > li > .tits.on {
  background: #4a4a4a;
}

.header .header-new .nav ul li:focus-within > dl { display: block; }
.header .header-new .nav ul li dl {
  max-height: min(70vh, 640px);
  overflow-y: auto;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.header .header-new .header-right .tel { cursor: pointer; }
.bc-nav-toggle,
.bc-submenu-toggle { display: none; }

/* 首页焦点图按源图比例缩放，避免中等桌面只显示首屏横幅。 */
.index-banner {
  height: auto;
  aspect-ratio: 1920 / 729;
  overflow: hidden;
  background: #4d5de3;
}
.index-banner ul,
.index-banner ul li { height: 100%; }
.index-banner img {
  width: 100%;
  height: 100%;
  left: 0;
  margin-left: 0;
  object-fit: cover;
}

/* 案例筛选由超长侧栏改成可扫描的筛选标签。 */
.index-case .case-new .content .con-left {
  width: 100%;
  float: none;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 20px 22px;
  box-sizing: border-box;
  border: 1px solid var(--bc-line);
  border-radius: var(--bc-radius);
  box-shadow: 0 8px 24px rgba(18, 28, 50, 0.05);
}
.index-case .case-new .content .con-left .tits {
  flex: 0 0 170px;
  margin: 4px 0 0;
  padding-bottom: 0;
}
.index-case .case-new .content .con-left ul {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.index-case .case-new .content .con-left ul li {
  float: none;
  width: auto;
  height: 38px;
  border: 0;
}
.index-case .case-new .content .con-left ul li a {
  width: auto;
  min-width: 72px;
  height: 38px;
  padding: 0 15px;
  box-sizing: border-box;
  border: 1px solid var(--bc-line);
  border-radius: 20px;
  background: var(--bc-surface-soft);
  line-height: 36px;
  text-align: center;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.index-case .case-new .content .con-left ul li:hover a,
.index-case .case-new .content .con-left ul li.on a,
.index-case .case-new .content .con-left ul li a:focus-visible {
  color: #fff;
  border-color: var(--bc-red);
  background: var(--bc-red);
}
.index-case .case-new .content .con-left ul li span { display: none !important; }
.index-case .case-new .content .list {
  width: 100%;
  float: none;
  margin-top: 24px;
  overflow: visible;
}
.index-case .case-new .content .list ul {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.index-case .case-new .content .list ul li {
  float: none;
  width: 100%;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #dfe4ec;
  box-shadow: 0 8px 24px rgba(18, 28, 50, 0.08);
}
.index-case .case-new .content .list ul li a .pic {
  height: auto;
  aspect-ratio: 4 / 3;
}
.index-case .case-new .content .list ul li a .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.index-case .case-new .content .list ul li a .bg {
  width: 100%;
  height: 58%;
  top: auto;
  bottom: 0;
  opacity: 1;
  background: linear-gradient(to top, rgba(6, 12, 30, 0.88), rgba(6, 12, 30, 0));
}
.index-case .case-new .content .list ul li a .bg i { display: none; }
.index-case .case-new .content .list ul li a .bg .tits {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding-top: 0;
  font-size: 15px;
  line-height: 22px;
  text-align: left;
}
.index-case .case-new .content .list ul li:hover a .bg {
  top: auto;
  bottom: 0;
  background: linear-gradient(to top, rgba(185, 4, 24, 0.94), rgba(185, 4, 24, 0));
}

/* 收敛嵌套正文的重复 padding，并提高通用内容稳健性。 */
.overall .z-main .big-box { padding: 0; }
.overall > .z-main > .big-box { padding: 0 22px 30px; }
.overall .z-main iframe,
.overall .z-main video { max-width: 100%; }
.overall .z-main .honor-info .time,
.overall .z-main .honor-info .text,
.overall .z-main .honor-info .text.video-info,
.overall .z-main .product-info.sp .top { max-width: 100%; }

/* 产品分类保持单行轨道；桌面箭头与触屏滑动共享同一结构。 */
.product-info .mid .bd {
  overflow: hidden;
}
.product-info .mid .bd ul {
  display: flex;
  width: max-content;
  height: 40px;
}
.product-info .mid .bd li {
  float: none;
  flex: 0 0 178.5px;
  width: 178.5px;
  box-sizing: border-box;
}
.product-info .mid .bd li[aria-disabled='true'] { cursor: default; }

/* 页脚不再裁掉末尾信息，并修正深色背景上的文本对比度。 */
.footer .foot .foott .nav dl dd a,
.footer .foot .foott .ewm p,
.footer .foot .tit,
.footer .foot .tit p,
.footer .foot .foottt p,
.footer .foot .foottt p a { color: #b8bec9; }
.footer .foot .foottt {
  width: 100%;
  height: auto;
  min-height: 55px;
  overflow: visible;
}
.footer .foot .foottt p {
  float: none;
  margin: 15px 0;
  line-height: 24px;
}
.fix:focus-within { right: 0; }



@media (min-width: 1265px) and (max-width: 1366px) {
  .prom-service { display: none !important; }
}

@media (min-width: 1367px) {
  .prom-service {
    left: max(0px, calc((100vw - 1200px) / 2 - 90px));
  }
}



@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .prom-service.animated { transform: none; }
}

/* BEGIN CASE LAYOUT ADDITIONS */
/* 案例页首屏必须从 103px 绝对定位页头之后开始。 */
.page-cases .limit-about {
  padding-top: 103px !important;
}

/*
 * 顶部第 5 个导航项为“客户案例”。
 * 基础样式在 hover 时写入 display:block；本文件后加载，改用 3 列网格。
 */
.header .header-new .nav > ul > li:nth-child(5) > dl {
  display: none;
  left: 50%;
  width: 330px;
  max-height: none;
  padding: 8px 9px;
  overflow: visible;
  box-sizing: border-box;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row;
  gap: 0;
  transform: translateX(-50%);
}

.header .header-new .nav > ul > li:nth-child(5):hover > dl,
.header .header-new .nav > ul > li:nth-child(5):focus-within > dl {
  display: grid;
}

.header .header-new .nav > ul > li:nth-child(5) > dl > dd {
  width: 100%;
  height: 39px;
  margin: 0;
  border-bottom: 1px solid #5c5c5e;
  box-sizing: border-box;
  line-height: 39px;
}

.header .header-new .nav > ul > li:nth-child(5) > dl > dd:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.header .header-new .nav > ul > li:nth-child(5) > dl > dd > a {
  width: 100%;
  padding: 0 5px;
  overflow: hidden;
  box-sizing: border-box;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/*
 * 案例图墙沿用“荣誉资质”的页面级固定尺寸约束：
 * 774px 正文轨道内每行四张 176px 卡片，避免百分比宫格越出边框。
 */
.page-cases .overall > .z-main > .big-box {
  padding: 0 44px 54px;
}

.page-cases .honor-list > ul.f-cb {
  width: 110%;
  padding: 27px 0 31px;
}

.page-cases .honor-list > ul.f-cb > li,
.page-cases .honor-list > ul.f-cb > li:nth-child(3n) {
  float: left;
  width: 176px;
  margin: 0 23px 18px 0;
  text-align: center;
}

.page-cases .honor-list > ul.f-cb > li .case-card img {
  display: block;
  width: 174px;
  height: 165px;
  margin: 0 0 5px;
  object-fit: cover;
  box-sizing: content-box;
}

.page-cases .honor-list > ul.f-cb > li .case-card p {
  height: 26px;
  line-height: 26px;
}

/* 后台生成的新案例卡片使用非链接容器，保持与现有图墙一致的静态排版。 */
.page-cases .honor-list .case-card {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
  cursor: default;
}

/* 兼容尚未被生成器替换的旧 a 标签：取消点击与指针暗示。 */
.page-cases .honor-list ul li > a {
  color: inherit;
  text-decoration: none;
  cursor: default !important;
  pointer-events: none;
}

/*
 * 案例图墙保持完全静态；作用域限定在 .page-cases，
 * 不覆盖荣誉资质页沿用的 .honor-list 交互样式。
 */
.page-cases .honor-list ul li,
.page-cases .honor-list ul li:hover,
.page-cases .honor-list ul li > a,
.page-cases .honor-list ul li > a:hover,
.page-cases .honor-list .case-card,
.page-cases .honor-list .case-card:hover {
  transform: none !important;
  filter: none !important;
  cursor: default !important;
}

.page-cases .honor-list ul li img,
.page-cases .honor-list ul li:hover img,
.page-cases .honor-list ul li > a:hover img,
.page-cases .honor-list .case-card:hover img {
  border-color: #eee !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}

.page-cases .honor-list ul li p,
.page-cases .honor-list ul li:hover p,
.page-cases .honor-list ul li > a:hover p,
.page-cases .honor-list .case-card:hover p {
  color: #555 !important;
  background: #eaeaea !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}
/* END CASE LAYOUT ADDITIONS */
