/* =====================================================
   千木云集 - 案例效果详情页样式
   ===================================================== */

/* ---------- Hero ---------- */
.cd-hero {
  position: relative;
  height: 80vh;
  min-height: 560px;
  background: linear-gradient(rgba(8,8,8,.3), rgba(8,8,8,.5)),
    url('') center / cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cd-hero h1 {
  color: var(--green-light);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: 8px;
  text-shadow: 0 3px 16px rgba(0,0,0,.55);
}
.cd-en {
  color: #fff;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 7px;
  margin-top: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
}
.cd-brand { position: absolute; bottom: 7%; left: 0; right: 0; }
.cd-brand b {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 6px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cd-brand b svg { width: 24px; height: 24px; fill: var(--green-light); }
.cd-brand p { margin-top: 10px; color: rgba(255,255,255,.8); font-size: 13px; letter-spacing: 4px; }

/* ---------- 筛选区 ---------- */
.filter-sec { padding: 70px 0 90px; }
.f-row {
  display: flex;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}
.f-row:last-of-type { border-bottom: none; }
.f-label {
  width: 66px;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  line-height: 30px;
}
.f-opts { flex: 1; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.chip {
  padding: 4px 15px;
  font-size: 13px;
  color: #555;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  line-height: 22px;
  transition: all .25s;
  user-select: none;
}
.chip:hover { color: var(--green); }
.chip.active { background: var(--green); color: #fff; }
.chip.more { border-color: var(--green); color: var(--green); }
.swatch {
  width: 24px; height: 24px;
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,.1);
  cursor: pointer;
  margin-top: 3px;
  transition: all .2s;
}
.swatch.active { outline: 2px solid var(--green); outline-offset: 2px; }

/* 排序tab + 搜索 */
.f-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.ftab {
  padding: 7px 30px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 13px;
  color: #555;
  cursor: pointer;
  background: #fff;
  transition: all .25s;
}
.ftab:hover { color: var(--green); border-color: var(--green); }
.ftab.active { background: var(--green); border-color: var(--green); color: #fff; }
.f-search { margin-left: auto; display: flex; }
.f-search input {
  width: 280px;
  height: 36px;
  border: 1px solid #ddd;
  border-right: none;
  padding: 0 14px;
  font-size: 13px;
  outline: none;
}
.f-search input:focus { border-color: var(--green); }
.f-search button {
  height: 36px;
  padding: 0 26px;
  background: var(--green);
  color: #fff;
  border: none;
  font-size: 13px;
  letter-spacing: 2px;
}

/* ---------- 案例卡片网格 ---------- */
.cd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 42px;
}
.cd-card {
  border: 1px solid #ececec;
  background: #fff;
  transition: all .3s;
  cursor: pointer;
}
.cd-card:hover { box-shadow: 0 16px 36px rgba(0,0,0,.12); transform: translateY(-5px); }
.cd-card > img { width: 100%; height: 300px; object-fit: cover; display: block; }
.cd-body { padding: 20px 18px 24px; text-align: center; }
.cd-body h4 { font-size: 16px; letter-spacing: 2px; font-weight: 700; }
.cd-body hr { border: none; border-top: 1px solid #eee; margin: 14px 18px; }
.cd-meta {
  display: flex;
  justify-content: center;
  gap: 22px;
  font-size: 12px;
  color: #888;
}
.cd-body .btn-outline { margin-top: 16px; padding: 6px 20px; }

@media (max-width: 1200px) {
  .cd-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .cd-card > img { height: 260px; }
}
@media (max-width: 992px) {
  .cd-hero { height: auto; min-height: 460px; padding: 90px 0 70px; }
  .cd-hero h1 { font-size: 30px; letter-spacing: 5px; }
  .cd-en { font-size: 16px; letter-spacing: 4px; }
  .cd-brand b { font-size: 22px; letter-spacing: 4px; }
  .cd-brand p { font-size: 12px; letter-spacing: 3px; }
  .cd-grid { grid-template-columns: repeat(2, 1fr); }
  .cd-card > img { height: 240px; }
  .cd-body { padding: 16px 14px 20px; }
  .cd-body h4 { font-size: 14px; letter-spacing: 1px; }
  .cd-meta { gap: 14px; font-size: 11px; }
  .f-row { padding: 12px 0; }
  .f-label { width: 50px; font-size: 13px; }
  .chip { padding: 4px 12px; font-size: 12px; }
  .f-search { margin-left: 0; width: 100%; margin-top: 12px; }
  .f-search input { width: 100%; flex: 1; }
  .f-search { display: flex; }
  .f-toolbar { gap: 10px; }
  .ftab { padding: 6px 22px; font-size: 12px; }
}
@media (max-width: 576px) {
  .cd-hero { min-height: 360px; padding: 70px 0 50px; }
  .cd-hero h1 { font-size: 21px; letter-spacing: 3px; }
  .cd-en { font-size: 13px; letter-spacing: 3px; margin-top: 10px; }
  .cd-brand b { font-size: 17px; letter-spacing: 3px; }
  .cd-brand b svg { width: 18px; height: 18px; }
  .cd-brand p { font-size: 10px; letter-spacing: 2px; }
  .filter-sec { padding: 50px 0 70px; }
  .f-row { padding: 10px 0; flex-direction: column; gap: 8px; }
  .f-label { width: 100%; line-height: 1.6; }
  .f-opts { gap: 6px 8px; }
  .chip { padding: 3px 10px; font-size: 11px; line-height: 20px; }
  .ftab { padding: 5px 16px; font-size: 11px; }
  .f-search input { height: 32px; font-size: 12px; padding: 0 10px; }
  .f-search button { height: 32px; padding: 0 18px; font-size: 12px; }
  .cd-grid { grid-template-columns: 1fr; gap: 18px; }
  .cd-card > img { height: 200px; }
  .cd-body { padding: 12px 12px 16px; }
  .cd-body h4 { font-size: 13px; }
  .cd-meta { gap: 10px; font-size: 10px; }
  .cd-body .btn-outline { padding: 5px 16px; font-size: 11px; }
}

/* =====================================================
   详情区（顶部信息卡 + 案例品鉴）
   ===================================================== */
.cd-detail {
      padding: 90px 0 50px;
    position: relative; background:#fff;
}
.cd-detail-info
{
    background:#fff;
    }
/* ---------- 顶部信息卡 ---------- */
.cd-info-card {
  display: flex;
  background: #fff;
  border: 1px solid #e4e4e4;
  padding: 10px;
  gap: 50px;
  /*box-shadow: 0 4px 24px rgba(0,0,0,.05);*/
}
.cd-info-img {
  flex: 0 0 38%;
  min-width: 0;
}
.cd-info-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cd-info-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 6px 0;
}
/* 标题 + 下载按钮 */
.cd-info-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}
.cd-info-title h2 {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin: 0;
  letter-spacing: 1px;
  text-align: center;
}
.cd-info-title {
  text-align: center;
  flex: 1;
}
.cd-info-underline {
  display: block;
  width: 44px;
  height: 2px;
  background: #aaa;
  margin: 10px auto 0;
}
.cd-info-download {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--green);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1px;
  transition: opacity .2s;
}
.cd-info-download:hover { opacity: .75; }
.cd-info-download svg { width: 24px; height: 24px; fill: var(--green); }
.cd-info-download img{width: 24px; height: 24px; }
/* meta 5 项 */
.cd-info-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 0px solid #e8e8e8;
  padding-top: 16px;
  font-size: 13px;
  color: #333;
  flex-wrap: wrap;
}
.cd-info-meta span {
  flex: 1;
  min-width: 90px;
  text-align: center;
  line-height: 1.6;
}
.cd-info-meta b {
  font-weight: 400;
  color: #999;
}
/* 分割线 */
.cd-info-divider {
  border-top: 1px solid #e8e8e8;
  margin: 18px 0;
}
/* 设计理念 */
.cd-info-concept {
  margin: 0;
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  text-align:center;
}

/* ---------- 案例品鉴 Section Title ---------- */
.cd-gallery {
  margin-top: 60px;
}
.cd-sec-title {
  text-align: center;
  margin-bottom: 42px;
}
.cd-sec-en {
  display: block;
  font-size: 12px;
  color: #aaa;
  letter-spacing: 4px;
  font-weight: 500;
  margin-bottom: 8px;
}
.cd-sec-title h3 {
  font-size: 24px;
  font-weight: 700;
  color: #222;
  margin: 0;
  letter-spacing: 2px;
}
.cd-sec-underline {
  display: block;
  width: 36px;
  height: 2px;
  background: var(--green);
  margin: 12px auto 0;
}

/* ---------- Masonry 图片墙 ---------- */
.cd-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.m-item {
  margin: 0;
  overflow: hidden;
  background: #f5f5f5;
}
.m-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.m-item:hover img { transform: scale(1.03); }

/* 各尺寸占位 */
.m-wide {
  grid-column: 1 / -1;  /* 全宽 */
  grid-row: span 1;
  aspect-ratio: 16 / 7;
}
.m-tall {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 4 / 5;
}
.m-col {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.m-square {
  flex: 0 0 auto;
  aspect-ratio: 4 / 3;
  width: 100%;
}
.m-text {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding-top: 8px;
}
.m-text p {
  margin: 0;
  font-size: 13px;
  color: #666;
  line-height: 1.9;
  text-align: center;
  padding: 0 12px;
}
.m-small {
  grid-column: span 2;
  aspect-ratio: 4 / 3;
}
.m-large {
  grid-column: span 2;
  aspect-ratio: 4 / 3;
}

/* 底部英文描述 */
.cd-gallery-en {
  text-align: center;
  font-size: 12px;
  color: #c5c5c5;
  letter-spacing: 2px;
  line-height: 2;
  margin: 40px 0 0;
}
.about_text_content{ font-size:14px; padding-bottom:50px;}
.about_text_content img{ display:block; max-width:100%; margin:0 auto;}

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
  .cd-detail { max-width: 960px; }
  .cd-masonry { gap: 18px; }
  .m-wide { aspect-ratio: 16 / 8; }
}
@media (max-width: 992px) {
  .cd-info-card { flex-direction: column; gap: 20px; padding: 22px; }
  .cd-info-img { flex: 0 0 auto; }
  .cd-info-title h2 { font-size: 18px; }
  .cd-info-meta { font-size: 12px; gap: 10px; }
  .cd-sec-title { margin-bottom: 30px; }
  .cd-sec-title h3 { font-size: 20px; }
  .cd-sec-en { font-size: 11px; letter-spacing: 3px; }
  .cd-masonry {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .m-wide { aspect-ratio: 16 / 7; }
  .m-tall { grid-row: span 1; aspect-ratio: 4 / 3; }
  .m-col { grid-row: span 1; }
}
@media (max-width: 576px) {
  .cd-detail { padding: 0 14px 60px; margin-top: -40px; }
  .cd-info-card { padding: 16px; gap: 14px; }
  .cd-info-title h2 { font-size: 16px; }
  .cd-info-meta {
    font-size: 11px;
    gap: 6px;
  }
  .cd-info-meta span { min-width: 80px; }
  .cd-info-concept { font-size: 12px; }
  .cd-gallery { margin-top: 40px; }
  .cd-sec-title h3 { font-size: 17px; letter-spacing: 1px; }
  .cd-masonry {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .m-wide, .m-tall, .m-col, .m-small, .m-large {
    grid-column: 1 / -1;
    grid-row: span 1;
  }
  .m-wide { aspect-ratio: 16 / 10; }
  .m-tall { aspect-ratio: 4 / 3; }
  .m-text p { padding: 0; }
  .cd-gallery-en { font-size: 11px; letter-spacing: 1px; }
}
