/* ==========================================================================
   CASE-STUDY.CSS — Individual case study pages (case-studies/*.html)
   ========================================================================== */

/* OVERRIDE page-hero to be left-aligned with smaller heading */
.page-hero {
  /* text-align: left; */
  padding-bottom: 60px;
}

.page-hero h1 {
  font-size: clamp(26px, 4vw, 44px);
  /* max-width: 750px; */
  margin-bottom: 0;
  margin-left: 15rem;
  margin-right: 15rem;
}

/* CASE STUDY BODY */
.cs-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 40px;
}

.cs-section { margin-bottom: 56px; }

.cs-section-label {
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
  display: block;
}

.cs-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.cs-section p {
  font-size: 17px;
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: 1.8;
}

.cs-section ul { list-style: none; padding: 0; }

.cs-section ul li {
  padding: 10px 0 10px 24px;
  position: relative;
  font-size: 17px;
  color: var(--text-body);
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
}

.cs-section ul li:last-child { border-bottom: none; }

.cs-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
}

.cs-section ul li strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* METRICS GRID */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.metric-card {
  background: var(--blue-pale);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 20px;
}

.metric-value {
  font-family: 'Sora', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--blue-dark);
  display: block;
  margin-bottom: 6px;
  line-height: 1;
}

.metric-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* INLINE CTA */
.cs-cta {
  background: var(--blue);
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  margin-top: 56px;
}

.cs-cta h3 {
  font-size: 26px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.cs-cta p {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
}

.cs-cta .btn-white {
  padding: 14px 32px;
  font-size: 15px;
  box-shadow: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .page-hero h1 { margin-left: 0; margin-right: 0; }
  .cs-body { padding: 48px 20px; }
  .metrics-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .cs-body { padding: 40px 16px; }
  .cs-cta { padding: 32px 20px; }
  .metric-value { font-size: 22px; }
}
