/* Breadcrumb */
.breadcrumb {
  background: #f8f6f4;
  padding: 20px 0;
  margin-top: 80px;
  border-bottom: 1px solid #e0e0e0;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: '›';
  margin: 0 12px;
  color: #999;
  font-size: 16px;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: #2c1810;
}

.breadcrumb li:last-child span {
  color: #2c1810;
  font-weight: 500;
}

/* Case Detail */
.case-detail {
  padding: 80px 0;
  background: #f8f6f4;
}

.case-detail-header {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
}

.case-detail-meta {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.case-number {
  background: #f0ebe6;
  color: #2c1810;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 20px;
  letter-spacing: -0.3px;
}

.case-category {
  background: #2c1810;
  color: white;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 20px;
}

.case-detail-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
  line-height: 1.3;
  letter-spacing: -1.5px;
}

.case-detail-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Case Detail Body */
.case-detail-body {
  max-width: 900px;
  margin: 0 auto;
}

.case-section {
  background: white;
  border-left: 4px solid #2c1810;
  padding: 48px;
  margin-bottom: 32px;
  position: relative;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.case-section h2 {
  font-size: 24px;
  font-weight: 600;
  color: #2c1810;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f0ebe6;
}

.case-section h3 {
  font-size: 22px;
  font-weight: 600;
  color: #2c1810;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.case-content p {
  font-size: 17px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 20px;
  white-space: pre-line;
}

.case-content p:last-child {
  margin-bottom: 0;
}

.case-section.insight {
  background: #f8f6f4;
  border-left: 4px solid #2c1810;
  padding: 40px 48px;
  text-align: left;
}

.case-section.insight h3 {
  color: #2c1810;
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e0e0e0;
}

.case-section.insight blockquote {
  font-size: 17px;
  line-height: 1.9;
  font-style: normal;
  margin: 0;
  color: #444;
  font-weight: 400;
  padding-left: 20px;
  border-left: 3px solid #2c1810;
}

/* Related Cases */
.related-cases {
  max-width: 1200px;
  margin: 80px auto 60px;
  padding: 0 20px;
}

.related-cases h2 {
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 48px;
  color: #1a1a1a;
  letter-spacing: -0.5px;
}

.related-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.related-case-card {
  background: #f8f6f4;
  border-radius: 12px;
  padding: 32px;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.related-case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #2c1810;
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.related-case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(44, 24, 16, 0.15);
}

.related-case-card:hover::before {
  transform: scaleY(1);
}

.related-case-category {
  display: inline-block;
  background: #2c1810;
  color: white;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 16px;
  margin-bottom: 16px;
}

.related-case-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.4;
  letter-spacing: -0.5px;
}

.related-case-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more-link {
  color: #2c1810;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.3px;
}

.btn-view-all {
  display: inline-block;
  background: transparent;
  color: #2c1810;
  border: 1.5px solid #2c1810;
  padding: 14px 32px;
  font-size: 15px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
  margin: 0 auto;
  display: block;
  width: fit-content;
}

.btn-view-all:hover {
  background: #2c1810;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(44, 24, 16, 0.2);
}

/* Case CTA */
.case-cta {
  background: linear-gradient(135deg, #2c1810 0%, #4a2818 100%);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  margin: 60px 0 0;
}

.case-cta-content h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 600;
  color: white;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.case-cta-content p {
  font-size: 18px;
  color: white;
  opacity: 0.95;
  margin-bottom: 32px;
  line-height: 1.7;
}

.case-cta .btn-primary {
  background: white;
  color: #2c1810;
  display: inline-block;
}

.case-cta .btn-primary:hover {
  background: #f8f6f4;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
  .case-section {
    padding: 32px 24px;
  }

  .case-detail-title {
    font-size: 28px;
  }

  .case-section h2 {
    font-size: 24px;
  }

  .case-content p {
    font-size: 16px;
  }

  .related-cases-grid {
    grid-template-columns: 1fr;
  }

  .breadcrumb {
    padding: 16px 0;
  }

  .breadcrumb ol {
    font-size: 13px;
  }

  .case-cta {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .case-section {
    padding: 24px 20px;
  }

  .case-detail-title {
    font-size: 24px;
  }

  .related-case-card {
    padding: 24px;
  }
}
