/* 石灰石专题 · 案例/新闻列表页共用样式
   依赖：common.css（全站基础层 + 顶栏/留言板/页脚），列表页不再加载 limestone-v4.css（首页板块样式）。 */

.list-page .page-hero{
  position:relative;
  overflow:hidden;
  color:#fff;
  padding:58px 0 60px;
  background-color:var(--brand-dark);
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}
.cases-page .page-hero{
  background-image:
    linear-gradient(90deg,rgba(14,29,47,.95) 0%,rgba(24,49,76,.86) 48%,rgba(46,80,119,.58) 100%),
    url("../images/limestone/line-panorama.jpg");
}
.news-page .page-hero{
  background-image:
    linear-gradient(90deg,rgba(14,29,47,.95) 0%,rgba(24,49,76,.86) 48%,rgba(46,80,119,.58) 100%),
    url("../images/limestone/news-gcc.jpg");
}
.list-page .page-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);
  background-size:46px 46px;
  pointer-events:none;
}
.list-page .page-hero::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:3px;
  background:linear-gradient(90deg,var(--brand),rgba(255,255,255,.45));
  pointer-events:none;
}
.list-page .page-hero .shell{position:relative;z-index:1}
.list-page .page-hero .kicker{color:rgba(255,255,255,.82)}
.list-page .page-hero .kicker::before{background:rgba(255,255,255,.7)}
.list-page .page-hero h1{
  color:#fff;
  margin-top:16px;
  letter-spacing:-.02em;font-size:clamp(1.9rem,3.6vw,2.8rem);line-height:1.18}
.list-page .page-hero .hero-lead{
  margin-top:16px;
  color:rgba(255,255,255,.82);
  font-size:1.02rem;line-height:1.72}
.list-page .breadcrumb{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  font-size:.82rem;
  color:rgba(255,255,255,.66);
  margin-bottom:16px;
}
.list-page .breadcrumb a{color:rgba(255,255,255,.72);transition:color .2s}
.list-page .breadcrumb a:hover{color:#fff}
.list-page .breadcrumb span[aria-current]{color:#fff;font-weight:600}
/* 列表主体 */
.list-section{background:var(--paper-2);padding:52px 0 76px}
.list-heading{margin-bottom:24px}
.list-heading h2{font-size:clamp(1.35rem,2.6vw,1.9rem)}
.list-heading p{margin-top:8px;color:var(--ink-2);font-size:.92rem;max-width:74ch}
.list-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start}
.list-main{min-width:0}
.list-page.news-page .list-layout{grid-template-columns:1fr}

/* 卡片 */
.list-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.list-page.news-page .list-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.list-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.list-card[hidden]{display:none!important}
.list-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 40px rgba(31,35,41,.09);
  border-color:rgba(46,80,119,.28);
}
.card-media{position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--paper-2)}
.card-media img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.list-card:hover .card-media img{transform:scale(1.045)}
.card-badge{
  position:absolute;
  left:14px;
  top:14px;
  background:rgba(255,255,255,.94);
  color:var(--brand);
  border-radius:999px;
  padding:5px 11px;
  font-size:.72rem;
  font-weight:700;
  box-shadow:0 2px 10px rgba(31,35,41,.08);
}
.card-body{padding:20px 20px 22px;display:flex;flex-direction:column;flex:1}
.card-meta{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:.77rem;
  color:var(--ink-3);
}
.card-meta span{display:inline-flex;align-items:center;gap:5px}
.card-meta .mini{width:13px;height:13px;flex-basis:13px;margin:0;stroke:var(--ink-3)}
.card-title{margin:10px 0 9px;}
.card-title a{color:var(--ink);transition:color .2s}
.card-title a:hover{color:var(--brand)}
.card-desc{font-size:.87rem;color:var(--ink-2);line-height:1.68}
.spec-row{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin-top:16px;
  padding-top:14px;
  border-top:1px dashed var(--line);}
.spec-row div{min-width:0}
.spec-row .k{display:block;color:var(--ink-3);font-size:.66rem;letter-spacing:.02em;white-space:normal}
.spec-row .v{display:block;margin-top:3px;font-weight:700;color:var(--ink);overflow:hidden;text-overflow:ellipsis;}
.card-foot{
  margin-top:auto;
  padding-top:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.tag{
  display:inline-block;
  padding:4px 10px;
  border-radius:6px;
  background:var(--brand-wash);
  color:var(--brand);
  font-size:.72rem;
  font-weight:700;
  white-space:nowrap;
}
.text-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:.82rem;
  font-weight:700;
  color:var(--brand);
  white-space:nowrap;
}
.text-link span{transition:transform .2s}
.text-link:hover span{transform:translateX(3px)}

/* 案例卡片整块可点击（a.list-card 限定，不影响新闻页 article 卡片） */
a.list-card{color:var(--ink);text-decoration:none}
a.list-card:hover{color:var(--ink)}
a.list-card .card-title{color:var(--ink);transition:color .2s}
a.list-card:hover .card-title{color:var(--brand)}
a.list-card:hover .text-link span{transform:translateX(3px)}

/* 新闻卡片差异 */
.news-page .card-title{font-size:1.06rem}
.news-page .card-foot{padding-top:16px}
.news-page .card-foot .card-date{display:inline-flex;align-items:center;gap:6px;font-size:.77rem;color:var(--ink-3)}
.news-page .card-foot .card-date .mini{width:13px;height:13px;flex:0 0 13px;margin:0;fill:none;stroke:var(--ink-3);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.news-page .card-title:first-child{margin-top:0}
.news-page .read-time{font-size:.76rem;color:var(--ink-3)}
.news-page .list-card.is-featured{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:1.05fr 1fr;
}
.news-page .list-card.is-featured .card-media{aspect-ratio:auto;height:100%;min-height:260px}
.news-page .list-card.is-featured .card-body{padding:32px}
.news-page .list-card.is-featured .card-title{font-size:1.32rem}
.news-page .list-card.is-featured .card-desc{font-size:.92rem}

/* 案例页侧栏 */
.cases-page .list-sidebar{
  position:sticky;
  top:88px;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.side-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:20px;
}
.side-kicker{
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--brand);
}
.side-kicker::before{content:"";width:16px;height:2px;background:var(--brand)}
.side-card h3{font-size:1rem;margin:9px 0 16px;line-height:1.4}
.mini-case{
  display:grid;
  grid-template-columns:66px minmax(0,1fr) 14px;
  gap:10px;
  align-items:center;
  padding:10px 0;
  border-top:1px solid var(--line-2);
  color:var(--ink-2);
  transition:color .2s;
}
.mini-case:first-of-type{border-top:0;padding-top:0}
.mini-case:hover{color:var(--brand)}
.mini-case-thumb{
  display:block;
  width:66px;
  height:52px;
  border-radius:8px;
  overflow:hidden;
  background:var(--paper-2);
}
.mini-case-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.mini-case:hover .mini-case-thumb img{transform:scale(1.08)}
.mini-case-body{min-width:0}
.mini-case-body b{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:.84rem;
  color:var(--ink);
  line-height:1.4;
}
.mini-case-body small{
  display:block;
  margin-top:4px;
  font-size:.72rem;
  color:var(--ink-3);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.mini-case svg,.equip-row svg,.mini-news svg{
  width:14px;
  height:14px;
  stroke:var(--brand);
  fill:none;
  stroke-width:2;
  flex:0 0 14px;
}
.equip-row{
  display:grid;
  grid-template-columns:48px minmax(0,1fr) 14px;
  align-items:center;
  gap:11px;
  padding:10px 0;
  border-top:1px solid var(--line-2);
  color:var(--ink-2);
  transition:color .2s;
}
.equip-row:first-of-type{border-top:0;padding-top:0}
.equip-row:hover{color:var(--brand)}
.equip-thumb{
  display:block;
  width:48px;
  height:44px;
  border-radius:8px;
  padding:3px;
  background:var(--brand-wash);
  overflow:hidden;
}
.equip-thumb img{width:100%;height:100%;object-fit:contain;transition:transform .35s}
.equip-row:hover .equip-thumb img{transform:scale(1.08)}
.equip-info{min-width:0}
.equip-info b{display:block;font-size:.86rem;color:var(--ink)}
.equip-row:hover .equip-info b{color:var(--brand)}
.equip-info small{display:block;margin-top:3px;font-size:.72rem;color:var(--ink-3)}

/* 侧栏最新新闻 */
.mini-news{
  display:grid;
  grid-template-columns:34px minmax(0,1fr) 14px;
  gap:10px;
  align-items:center;
  padding:11px 0;
  border-top:1px solid var(--line-2);
  color:var(--ink-2);
  transition:color .2s;
}
.mini-news:first-of-type{border-top:0;padding-top:0}
.mini-news:hover{color:var(--brand)}
.mini-news-date{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:34px;
  height:40px;
  border-radius:8px;
  background:var(--brand-wash);
  color:var(--brand);
  line-height:1;
}
.mini-news-date b{font-family:'IBM Plex Mono',Consolas,monospace;font-size:.98rem;font-weight:700}
.mini-news-date small{margin-top:3px;font-size:.6rem;letter-spacing:.04em;opacity:.75}
.mini-news-body{min-width:0}
.mini-news-body b{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:.83rem;
  font-weight:600;
  line-height:1.45;
  color:var(--ink);
}
.mini-news:hover .mini-news-body b{color:var(--brand)}
.mini-news-body small{display:block;margin-top:4px;font-size:.7rem;color:var(--ink-3)}
.side-more{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  margin-top:14px;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:9px;
  font-size:.8rem;
  font-weight:600;
  color:var(--ink-2);
  transition:.2s;
}
.side-more span{color:var(--brand);font-size:1rem;line-height:1}
.side-more:hover{border-color:var(--brand);background:var(--brand-wash);color:var(--brand)}

.side-contact{
  background:var(--brand);
  border-color:var(--brand);
  color:rgba(255,255,255,.78);
  padding:22px;
}
.side-contact .side-kicker{color:rgba(255,255,255,.72)}
.side-contact .side-kicker::before{background:rgba(255,255,255,.72)}
.side-contact h3{color:#fff;margin-bottom:10px}
.side-contact p{font-size:.83rem;line-height:1.8}
.side-phone{
  display:block;
  margin:16px 0 4px;
  font-size:1.32rem;
  font-weight:800;
  color:#fff;
  letter-spacing:.01em;
}
.side-phone small{
  display:block;
  font-size:.68rem;
  font-weight:500;
  color:rgba(255,255,255,.62);
  letter-spacing:.08em;
}
.side-mail{display:block;margin-top:12px;font-size:.78rem;color:rgba(255,255,255,.7)}
.btn-light{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  margin-top:16px;
  padding:11px 16px;
  border-radius:9px;
  background:#fff;
  color:var(--brand);
  font-size:.86rem;
  font-weight:700;
  transition:.2s;
}
.btn-light:hover{background:var(--brand-wash)}

/* 分页 */
.pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-top:36px;
  flex-wrap:wrap;
}
.page-numbers{display: flex;gap: 8px;}
.page-num{
  min-width:42px;
  height:42px;
  padding:0 14px;
  border:1px solid var(--line);
  border-radius:9px;
  background:#fff;
  color:var(--ink-2);
  font-size:.88rem;
  font-weight:600;
  transition:.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-num-current{background: var(--brand); color:#fff;}
.page-btn:hover:not(:disabled){border-color:var(--brand);color:var(--brand)}
.page-btn:disabled{opacity:.45;cursor:not-allowed}
.page-step{background:var(--brand-wash);border-color:rgba(46,80,119,.22);color:var(--brand)}
.page-step:hover:not(:disabled){background:var(--brand);color:#fff;border-color:var(--brand)}
.page-btn[aria-current="page"]{background:var(--brand);border-color:var(--brand);color:#fff}


/* 底部转化条 */
.cta-strip{
  margin-top:60px;
  background:var(--brand-wash);
  border:1px solid rgba(46,80,119,.16);
  border-radius:16px;
  padding:30px 34px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.cta-strip h2{font-size:1.35rem;margin-top:10px}
.cta-strip p{margin-top:8px;color:var(--ink-2);font-size:.9rem;max-width:68ch}
.cta-strip .btn{flex:0 0 auto}

/* 新闻页底部：推荐案例 / 推荐设备 / 留言板 */
.rec-section{padding:64px 0}
.rec-section.rec-cases{background:var(--paper-2);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.rec-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:34px}
.rec-grid.rec-equip{grid-template-columns:repeat(4,minmax(0,1fr))}
.rec-card{
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  transition:transform .25s,border-color .25s,box-shadow .25s;
}
.rec-card:hover{border-color:rgba(46,80,119,.35);transform:translateY(-3px);box-shadow:0 12px 28px rgba(31,35,41,.07)}
.rec-media{display:block;aspect-ratio:3/2;overflow:hidden;background:var(--brand-wash)}
.rec-media img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.rec-card:hover .rec-media img{transform:scale(1.05)}
.rec-body{display:flex;flex-direction:column;gap:8px;padding:18px 20px 20px}
.rec-tag{
  align-self:flex-start;
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.04em;
  color:var(--brand);
  background:var(--brand-wash);
  border-radius:999px;
  padding:4px 10px;
}
.rec-body b{color:var(--ink);
  font-size:.9rem;
  line-height:1.45;
  overflow-wrap:anywhere;}
.rec-card:hover .rec-body b{color:var(--brand)}
.rec-meta{font-size:.78rem;color:var(--ink-3);line-height:1.6}
.rec-equip .rec-media{
  aspect-ratio:1/1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
}
.rec-equip .rec-media img{width:100%;height:100%;object-fit:contain}
.rec-equip .rec-media img:hover{transform:none}
.news-page .board,.cases-page .board{padding:64px 0}
/* 列表页底部板块不使用章节编号 */
.news-page .sec-head::before,.cases-page .sec-head::before{content:none}
/* 轮播内复用简洁案例卡：初始宽度由 JS 接管 */
.case-track .rec-card{flex:0 0 calc((100% - 44px)/3)}
/* 相关新闻轮播：卡片带日期与栏目副信息 */
.rec-news .rec-media{aspect-ratio:16/9}
.rec-news .rec-news-date{display:flex;align-items:center;gap:6px;font-size:.72rem;color:var(--ink-3)}
.rec-news .rec-news-date svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:1.8}
.rec-news .rec-body b{font-size:.92rem}

@media (max-width:1080px){
  .list-layout{grid-template-columns:1fr}
  .cases-page .list-sidebar{position:static;display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
  .list-page.news-page .list-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rec-grid,.rec-grid.rec-equip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .case-track .rec-card{flex:0 0 calc((100% - 22px)/2)}
}

@media (max-width:560px){
  .case-track .rec-card{flex:0 0 100%}
}

@media (max-width:760px){
  .list-page .page-hero{padding:44px 0 50px}
  .list-section{padding:40px 0 60px}
  .list-grid,.list-page.news-page .list-grid{grid-template-columns:1fr}
  .news-page .list-card.is-featured{grid-template-columns:1fr}
  .news-page .list-card.is-featured .card-media{min-height:220px}
  .news-page .list-card.is-featured .card-body{padding:22px}
  .cases-page .list-sidebar{grid-template-columns:1fr}
  .page-status{width:100%;text-align:center;margin-left:0}
  .cta-strip{flex-direction:column;align-items:flex-start;padding:26px 22px}
  .cta-strip .btn{width:100%;justify-content:center}
  .rec-section{padding:44px 0}
  .rec-grid,.rec-grid.rec-equip{grid-template-columns:1fr}
  .news-page .board{padding:44px 0}
  .board-grid{grid-template-columns:1fr}
  .board-list{border-right:0;border-bottom:1px solid rgba(255,255,255,.16)}
}

@media (max-width:480px){
  .spec-row{grid-template-columns:1fr 1fr 1fr;gap:6px}
  .spec-row .v{font-size:.76rem}
  .card-body{padding:17px}
}

.card-title{
  font-size:1.02rem;
  line-height:1.42;
  overflow-wrap:anywhere;
}
.spec-row{gap:6px}
.spec-row .v{
  font-size:.76rem;
  line-height:1.35;
  white-space:normal;
  overflow-wrap:anywhere;
}
.rec-body b,
.rel-equip-card .rec-body b{
  font-size:.9rem;
  line-height:1.45;
  overflow-wrap:anywhere;
}
.rec-body p,
.rel-equip-card .rec-meta{line-height:1.6}
.page-status,
.pagination a,
.pagination span{
  white-space:nowrap;
}
.side-contact .v,
.cta-contact .v{
  overflow-wrap:anywhere;
  font-size:.96rem;
}
@media (max-width:1080px){
  .case-aside,
  .post-aside,
  .cases-page .list-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .card-title{font-size:.98rem;line-height:1.4}
}
@media (max-width:560px){
  .spec-row .v{font-size:.74rem}
}
