/* 案例列表頁 — 沿用色系頁 hero 與首頁案例卡片樣式 */
.page-hero {
  padding: 120px 7% 60px;
  background: var(--g2);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: 'CASES';
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 180px;
  font-weight: 600;
  color: rgba(200, 160, 96, 0.05);
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.breadcrumb span,
.breadcrumb a {
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(200, 160, 96, 0.5);
  font-family: 'Cormorant Garamond', serif;
  text-decoration: none;
}

.breadcrumb .sep {
  color: rgba(200, 160, 96, 0.25);
}

.breadcrumb .current {
  color: var(--gold);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.eyebrow span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 6px;
  color: var(--gold);
}

.page-title {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 700;
  color: #f0ece2;
  letter-spacing: 4px;
  margin-bottom: 14px;
}

.page-desc {
  font-size: 13.5px;
  line-height: 2;
  color: rgba(240, 235, 220, 0.6);
  font-weight: 300;
  max-width: 620px;
}

.cases-page {
  padding: 52px 7% 90px;
  background: var(--white);
}

.case-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.case-filter-btn {
  padding: 10px 22px;
  border: 1.5px solid rgba(26, 48, 33, 0.15);
  background: var(--white);
  font-size: 12.5px;
  letter-spacing: 2px;
  color: var(--muted);
  cursor: pointer;
  font-family: 'Noto Sans TC', sans-serif;
  transition: all 0.25s;
}

.case-filter-btn:hover,
.case-filter-btn.active {
  background: var(--g2);
  color: var(--gold2);
  border-color: var(--g2);
}

.cases-masonry {
  column-count: 3;
  column-gap: 14px;
}

.cases-masonry .case-card {
  break-inside: avoid;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
}

.cases-masonry .case-img {
  width: 100%;
  min-height: 200px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(200, 160, 96, 0.45);
  background-size: cover;
  background-position: center;
}

.cases-masonry .case-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 20px;
  background: linear-gradient(to top, rgba(15, 31, 22, 0.95), transparent);
}

.cases-masonry .case-label {
  font-size: 9.5px;
  letter-spacing: 3px;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  display: block;
  margin-bottom: 5px;
}

.cases-masonry .case-name {
  font-family: 'Noto Serif TC', serif;
  font-size: 14.5px;
  font-weight: 600;
  color: #f0ece2;
}

.ci1 { background: linear-gradient(135deg, #2a4035, #1a2a22); }
.ci2 { background: linear-gradient(135deg, #3d5c48, #2a4035); }
.ci3 { background: linear-gradient(135deg, #4a6850, #354d3a); }
.ci4 { background: linear-gradient(135deg, #2d4832, #1e3224); }
.ci5 { background: linear-gradient(135deg, #3a5540, #283d2e); }

@media (max-width: 900px) {
  .cases-masonry { column-count: 2; }
}

@media (max-width: 600px) {
  .cases-masonry { column-count: 1; }
}
