/* ============================================================
   椽仕设计 列表页三件套样式（css/chuanshi-list.css）
   适用：cases/index.php（作品列表）/ blog/index.php（资讯时间线）/ services/index.php（服务范围）
   仅含页面专属样式，通用组件（.cs-banner/.cs-title/.cs-btn 等）见 chuanshi.css
   ============================================================ */

/* ========== 作品列表（作品集式：白底、无蒙层、分类平铺、图下两行） ========== */
/* 顶距 140px = 固定导航 76px + 标题上方留白 64px（对齐参考站呼吸感） */
.cs-cases-section { padding: 140px 0 80px; }
.cs-cases-h1 {
  text-align: center;
  font-size: 28px; font-weight: 400; letter-spacing: 4px;
  color: var(--cs-text);
}

/* 分类：平铺文字标签，选中红字，无边框无底色 */
.cs-cases-tabs {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 0 30px; margin-top: 40px;
}
.cs-cases-tabs a {
  display: inline-block; padding: 6px 0;
  font-size: 14px; letter-spacing: 2px; color: var(--cs-muted);
  transition: color 0.3s;
}
.cs-cases-tabs a:hover, .cs-cases-tabs a.is-active { color: var(--cs-red); }

/* 排序：右上裸文字下拉（无边框无底色 + 小三角） */
.cs-cases-sortrow { display: flex; justify-content: flex-end; margin-top: 14px; }
.cs-cases-sort select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  border: none; border-radius: 0; background-color: transparent;
  padding: 4px 18px 4px 0;
  font-family: inherit; font-size: 13px; letter-spacing: 1px; color: var(--cs-muted);
  cursor: pointer; transition: color 0.3s;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M1 1l3 3 3-3' fill='none' stroke='%23999' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center;
}
.cs-cases-sort select:hover, .cs-cases-sort select:focus { outline: none; color: var(--cs-red); }

/* ========== 作品网格（三列，图 4:3，图下：作品名 + 城市） ========== */
.cs-cases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 56px 40px; padding: 32px 0 10px;
}
.cs-case-card { display: block; }
.cs-case-media { overflow: hidden; background: #e9e6e2; }
.cs-case-thumb {
  width: 100%; aspect-ratio: 4 / 3; height: auto;
  object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.cs-case-thumb--empty { background: #e0dcd7; }
.cs-case-card:hover .cs-case-thumb { transform: scale(1.04); }
.cs-case-name {
  margin-top: 20px; font-size: 15px; font-weight: 400;
  letter-spacing: 1px; line-height: 1.4; color: var(--cs-text);
  transition: color 0.3s;
}
.cs-case-card:hover .cs-case-name { color: var(--cs-red); }
.cs-case-city { margin-top: 6px; font-size: 12px; letter-spacing: 1px; color: var(--cs-light); }

/* ========== 列表分页 ========== */
.cs-pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 10px; padding: 44px 0 10px;
}
.cs-pagination a, .cs-pagination span {
  min-width: 36px; height: 36px; line-height: 34px; padding: 0 12px;
  text-align: center; border: 1px solid var(--cs-border);
  font-size: 13px; color: var(--cs-muted); transition: all 0.3s;
}
.cs-pagination a:hover { border-color: var(--cs-red); color: var(--cs-red); }
.cs-pagination .current { border-color: var(--cs-red); background: var(--cs-red); color: #fff; }
.cs-pagination .disabled { color: #ccc; border-color: var(--cs-border-light); }

/* ========== 资讯分类标签（红描边浅底；仅换文字，交互不变） ========== */
.cs-news-filter {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 12px; padding: 30px 0 6px;
}
.cs-news-tag {
  padding: 6px 18px; border: 1px solid var(--cs-border); border-radius: 16px;
  background: #fff; font-size: 13px; letter-spacing: 1px; color: var(--cs-muted);
  transition: all 0.3s;
}
.cs-news-tag:hover { border-color: var(--cs-red); color: var(--cs-red); }
.cs-news-tag.active { border-color: var(--cs-red); color: var(--cs-red); background: #fdf2f4; }

/* ========== 资讯列表（极简单行条目：左日期 / 右标题；细灰分隔线，无摘要、无标签、无卡片） ========== */
.cs-timeline { padding: 40px 0 10px; }
.cs-timeline-item {
  display: flex; align-items: baseline;
  padding: 34px 0; border-bottom: 1px solid #ececec;
}
.cs-tl-date {
  flex: 0 0 300px;
  font-size: 13px; letter-spacing: 1px; color: var(--cs-muted);
  font-family: var(--cs-font-sans);
  transition: color 0.3s;
}
.cs-tl-body { flex: 1; min-width: 0; }
.cs-tl-title {
  font-size: 17px; font-weight: 400; letter-spacing: 0.5px;
  color: var(--cs-text); line-height: 1.7;
  font-family: var(--cs-font-serif);
  transition: color 0.3s;
}
.cs-tl-top { margin-left: 10px; font-size: 12px; letter-spacing: 1px; color: var(--cs-light); }
.cs-timeline-item:hover .cs-tl-title { color: var(--cs-red); }

/* ========== 服务卡片（竖向单列，无框浅底） ========== */
.cs-svc-stack {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; padding: 30px 0 10px;
}
.cs-svc-card-v {
  background: var(--cs-cream);
  padding: 30px 34px 24px;
  transition: box-shadow 0.4s ease;
}
.cs-svc-card-v:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.cs-svc-head {
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: 10px;
}
.cs-svc-head h3 {
  font-size: 19px; font-weight: 700; letter-spacing: 2px;
  color: var(--cs-text);
  font-family: var(--cs-font-serif);
}
.cs-svc-en {
  font-size: 12px; letter-spacing: 3px;
  color: var(--cs-text); text-transform: uppercase;
}
.cs-svc-desc { font-size: 13px; color: var(--cs-muted); line-height: 1.9; margin-bottom: 14px; }
.cs-svc-list { max-width: 560px; }
.cs-svc-list li {
  position: relative; padding: 7px 0 7px 16px;
  font-size: 13px; color: var(--cs-muted); line-height: 1.7;
  border-bottom: 1px dashed var(--cs-border-light);
}
.cs-svc-list li:last-child { border-bottom: none; }
.cs-svc-list li::before {
  content: ''; position: absolute; left: 1px; top: 14px;
  width: 5px; height: 5px; background: #c9c4be; transform: rotate(45deg);
}

/* ========== 服务页内容居中（仅服务内容区块；设计流程/FAQ 不受影响） ========== */
.cs-svc-section .cs-title-row { justify-content: center; text-align: center; }
.cs-svc-stack { max-width: 1100px; margin: 0 auto; }
.cs-svc-card-v { text-align: center; padding: 30px 40px 24px; }
.cs-svc-head { justify-content: center; }
.cs-svc-list { margin: 0 auto; }
.cs-svc-section .cs-svc-list li { text-align: center; padding: 7px 0; }
.cs-svc-section .cs-svc-list li::before {
  position: static; display: inline-block;
  margin-right: 9px; vertical-align: 2px;
}

/* ========== 设计流程（浅米底五步横向时间轴） ========== */
.cs-process-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 24px; padding: 48px 0 10px;
}
.cs-step { position: relative; text-align: center; padding: 0 6px; }
.cs-step::before {
  content: ''; position: absolute; top: 7px; left: -50%;
  width: 100%; height: 1px; background: var(--cs-gold); opacity: 0.55;
}
.cs-step:first-child::before { display: none; }
.cs-step-dot {
  position: relative; z-index: 1;
  width: 14px; height: 14px; margin: 0 auto 20px;
  border: 2px solid var(--cs-red); border-radius: 50%; background: #fff;
}
.cs-step-num { font-size: 11px; color: var(--cs-gold); letter-spacing: 3px; margin-bottom: 8px; }
.cs-step h3 {
  font-size: 16px; font-weight: 700; letter-spacing: 2px;
  color: var(--cs-text); margin-bottom: 8px;
}
.cs-step p { font-size: 12px; color: var(--cs-muted); line-height: 1.8; }

/* ========== 常见问题手风琴 ========== */
.cs-faq { max-width: 860px; margin: 0 auto; padding: 36px 0 10px; }
.cs-faq-item { border-bottom: 1px solid var(--cs-border); }
.cs-faq-item:first-child { border-top: 1px solid var(--cs-border); }
.cs-faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 4px; font-size: 15px; letter-spacing: 1px; color: var(--cs-text);
  transition: color 0.3s;
}
.cs-faq-item summary::-webkit-details-marker { display: none; }
.cs-faq-item summary::after {
  content: '+'; flex: 0 0 auto; font-size: 20px; font-weight: 300;
  color: var(--cs-light); transition: transform 0.3s, color 0.3s;
}
.cs-faq-item[open] summary::after { transform: rotate(45deg); color: var(--cs-red); }
.cs-faq-item summary:hover { color: var(--cs-red); }
.cs-faq-a { padding: 0 4px 20px; font-size: 13px; color: var(--cs-muted); line-height: 1.9; }
/* 「更多常见问题」入口：指向独立 FAQ 页，供用户与爬虫发现 */
.cs-faq-more { text-align: center; margin-top: 32px; }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .cs-cases-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .cs-svc-grid { grid-template-columns: 1fr; }
  .cs-process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .cs-step:nth-child(odd)::before { display: none; }
}
@media (max-width: 640px) {
  .cs-cases-section { padding: 120px 0 60px; }
  .cs-cases-h1 { font-size: 24px; letter-spacing: 2px; }
  .cs-cases-tabs { gap: 0 20px; margin-top: 30px; }
  .cs-cases-grid { grid-template-columns: 1fr; gap: 34px; }
  .cs-svc-stack { grid-template-columns: 1fr; }
  .cs-timeline-item { flex-wrap: wrap; gap: 6px 0; padding: 22px 0; }
  .cs-tl-date { flex: 1 1 100%; font-size: 12px; }
  .cs-tl-body { flex: 1 1 100%; }
  .cs-tl-title { font-size: 15px; }
  .cs-process-grid { grid-template-columns: 1fr; gap: 30px; }
  .cs-step::before { display: none; }
  .cs-step { display: flex; text-align: left; gap: 16px; align-items: flex-start; }
  .cs-step-dot { margin: 4px 0 0; flex: 0 0 auto; }
  .cs-step-body { flex: 1; }
}

/* ========== 资讯页内容居中（筛选行已居中；时间线列窄化居中） ========== */
.cs-news-section .cs-timeline { max-width: 860px; margin: 0 auto; }
.cs-news-section .cs-empty { max-width: 860px; margin: 0 auto; }

/* ========== 服务页：设计流程区块左右留白（缩进居中，不通栏） ========== */
.cs-flow-section { width: 100%; max-width: 1200px; margin: 0 auto; }

/* CS-PATCH-BEGIN 20260914-navheight */
/* 导航降高后同步顶部留白：140(76+64) -> 128(64+64)，保持呼吸感不变
   窄屏 120 -> 112（导航 64->56 的差额） */
.cs-cases-section { padding: 128px 0 80px; }
@media (max-width: 640px) { .cs-cases-section { padding: 112px 0 60px; } }
/* CS-PATCH-END 20260914-navheight */

/* CS-PATCH-BEGIN 20260914-nored */
/* 设计流程：去掉红色圆点与连接线 */
.cs-step-dot { display: none !important; }
.cs-step::before { display: none !important; }
/* 分页当前页：红块改中性深色 */
.cs-pagination .current { border-color: var(--cs-text) !important; background: var(--cs-text) !important; color: #fff !important; }
/* 资讯分类标签选中：红描边改中性 */
.cs-news-tag.active { border-color: var(--cs-text) !important; color: var(--cs-text) !important; background: #f5f5f5 !important; }
/* 案例分类 Tab 选中：红字改中性深色 */
.cs-cases-tabs a:hover, .cs-cases-tabs a.is-active { color: var(--cs-text) !important; }
/* CS-PATCH-END 20260914-nored */

/* CS-PATCH-BEGIN 20260914-allpagescenter */
/* ===== 服务/作品/资讯/FAQ 列表页：内容浅灰底，与「关于我们」区块一致 ===== */
/* 服务卡片：浅灰底 */
.cs-svc-card-v { background: #f4f3f0; }
/* 设计流程：区块白底留白 + 流程面板浅灰底（原浅米底取消） */
.cs-section--cream.cs-flow-section { background: #fff; }
.cs-process-grid { background: #f4f3f0; padding: 40px 40px 30px; }
/* 常见问题：问题居中（浅灰底与面板内边距已去掉 20260914-nogray5；答案保持左对齐，属正文） */
.cs-faq-item summary { text-align: center; }
/* 作品网格：卡片文字居中（浅灰底与面板内边距已去掉 20260914-nogray5） */
.cs-cases-grid .cs-case-card { text-align: center; }
/* 资讯时间线：面板浅灰底 + 条目内容居中 */
.cs-news-section .cs-timeline { padding: 36px 44px 26px; background: #f4f3f0; }
.cs-news-section .cs-timeline-item { justify-content: center; text-align: center; gap: 18px; }
.cs-news-section .cs-timeline-item .cs-tl-date { flex: 0 0 auto; }
.cs-news-section .cs-timeline-item .cs-tl-body { flex: 0 0 auto; }
@media (max-width: 640px) {
  .cs-process-grid { padding: 26px 20px; }
  .cs-news-section .cs-timeline { padding: 24px 18px 14px; }
}
/* CS-PATCH-END 20260914-allpagescenter */

/* CS-PATCH-BEGIN 20260914-listleft */
/* 资讯列表：条目恢复「左日期 / 右标题」左对齐（覆盖 allpagescenter 对条目的居中） */
.cs-news-section .cs-timeline-item { justify-content: flex-start; text-align: left; gap: 0; }
.cs-news-section .cs-timeline-item .cs-tl-date { flex: 0 0 300px; }
.cs-news-section .cs-timeline-item .cs-tl-body { flex: 1 1 auto; min-width: 0; }
@media (max-width: 640px) {
  .cs-news-section .cs-timeline-item { flex-wrap: wrap; }
  .cs-news-section .cs-timeline-item .cs-tl-date { flex: 1 1 100%; }
  .cs-news-section .cs-timeline-item .cs-tl-body { flex: 1 1 100%; }
}
/* CS-PATCH-END 20260914-listleft */

/* CS-PATCH-BEGIN 20260914-flowline */
/* 设计流程：恢复圆点+连接线（去红，改中性灰，比灰底 #f4f3f0 更深） */
.cs-step-dot { display: block !important; border-color: #999 !important; }
.cs-step::before { display: block !important; background: #999 !important; opacity: 0.7 !important; }
.cs-step:first-child::before { display: none !important; }
@media (max-width: 1024px) {
  .cs-step:nth-child(odd)::before { display: none !important; }
}
@media (max-width: 640px) {
  .cs-step::before { display: none !important; }
}
/* CS-PATCH-END 20260914-flowline */
