.cases-section {
  background: linear-gradient(180deg, #DFE2E8 0%, #D6DAE2 100%);
  padding: 25px 0 60px;
}

.cases-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.cases-header {
  text-align: center;
  margin-bottom: 48px;
}

.cases-label {
  color: #7C8494;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.cases-title {
  color: #0B0F1A;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -1px;
}

/* 카드 그리드 */
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* 개별 카드 */
.case-card {
  background: #ffffff;
  border: 2px solid #C9A96E;
  border-radius: 10px;
  padding: 40px 32px 32px;
  position: relative;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(201, 169, 110, 0.18);
  border-color: #E2C992;
}

/* 옛 style.min.css 의 ::before 상단 라인 제거 (부업 잔재) */
.case-card::before {
  content: none !important;
  display: none !important;
}

/* hero-search 모서리 둥글게 (카드와 통일감) */
.hero-search {
  border-radius: 10px !important;
  overflow: hidden;
}

/* NEW 뱃지 — 우상단 코너 리본 (대각선 워터마크) */
.case-badge {
  position: absolute;
  top: 16px;
  right: -42px;
  width: 140px;
  background: linear-gradient(135deg, #C9A96E 0%, #E2C992 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 0;
  text-align: center;
  letter-spacing: 2px;
  transform: rotate(45deg);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  border-radius: 0;
  z-index: 2;
}

/* 업체명 */
.case-name {
  color: #0B0F1A;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  margin-top: 4px;
}

/* 카테고리 */
.case-category {
  color: #4B5563;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

/* 설명 */
.case-note {
  color: #5E6577;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* 경고 문구 */
.case-alert {
  color: #6B7280;
  font-size: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #F0F0F0;
}

/* 상태 */
.case-status {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.case-status-badge {
  display: inline-block;
  color: #7A5F1F;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: none;
  padding: 0;
  background: none;
  border-radius: 0;
}

.case-phone {
  color: #7C8494;
  font-size: 13px;
}

/* 카드 버튼 래퍼 */
.case-buttons {
  display: flex;
  gap: 10px;
}

/* 카드 버튼 통일 */
.case-btn {
  display: block;
  flex: 1 1 0;
  min-width: 0;
  padding: 10px 4px;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  text-align: center;
  border: 1.5px solid #CBD5E1;
  border-radius: 0;
  transition: all 0.25s;
  background: transparent;
}

.case-btn:hover {
  color: #ffffff;
  background: #475569;
  border-color: #475569;
}

.case-btn-consult {
  background: linear-gradient(135deg, #C9A96E 0%, #E2C992 100%);
  color: #ffffff;
  border-color: #C9A96E;
}

.case-btn-consult:hover {
  background: linear-gradient(135deg, #B8985D 0%, #D4BB80 100%);
  border-color: #B8985D;
  color: #ffffff;
}

/* 페이지네이션 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.page-btn {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #7C8494;
  background: rgba(255,255,255,0.5);
  transition: all 0.2s;
}

.page-btn:hover {
  background: #ffffff;
  color: #0B0F1A;
}

.page-btn.active {
  background: #0B0F1A;
  color: #ffffff;
}

.page-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.page-nav {
  font-size: 13px;
  padding: 10px 14px;
  color: #7C8494;
}
