/* 설치 사례 (cases/) 전용 스타일 */
.cs-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.cs-photos { display: grid; gap: 16px; }
.cs-photo {
  width: 100%; height: auto; max-height: 640px; object-fit: contain;
  background: var(--bg-gray); border: 1px solid var(--line); border-radius: var(--radius);
}
.cs-summary h2 { font-size: 1.3rem; font-weight: 800; margin: 0 0 16px; }
.cs-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: .92rem; }
.cs-table th, .cs-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.cs-table th { width: 32%; color: var(--gray); font-weight: 500; background: var(--bg-gray); }
.cs-table td { font-weight: 700; }
.cs-summary .ts-info-box { margin-bottom: 14px; }
.cs-note { border-left: 4px solid var(--blue); }

.cs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.cs-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; color: var(--text); text-decoration: none;
  transition: box-shadow .2s, transform .2s;
}
.cs-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.cs-card img { width: 100%; height: 190px; object-fit: cover; display: block; background: var(--bg-gray); }
.cs-card-body { padding: 14px 16px 16px; display: block; }
.cs-card-body b { display: block; font-size: .95rem; line-height: 1.45; margin-bottom: 4px; }
.cs-card-body small { color: var(--gray); font-size: .8rem; }

.cs-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.cs-tabs a {
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem;
  color: var(--text); text-decoration: none; background: #fff;
}
.cs-tabs a:hover { border-color: var(--blue); color: var(--blue); }
.cs-tabs small { color: var(--gray); margin-left: 2px; }
.cs-group { font-size: 1.35rem; font-weight: 800; margin: 44px 0 18px; scroll-margin-top: 80px; }
.cs-group small { font-size: .9rem; color: var(--gray); font-weight: 500; }
.cs-more { margin-top: 20px; text-align: right; }
.cs-more a { color: var(--blue); font-weight: 700; text-decoration: none; }

@media (max-width: 768px) {
  .cs-detail { grid-template-columns: 1fr; gap: 24px; }
  .cs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cs-card img { height: 140px; }
  .cs-card-body { padding: 10px 12px 12px; }
  .cs-card-body b { font-size: .85rem; }
}
