/* Case study detail pages — readable narrative, breadcrumbs, PDF CTA.
   Load after inner-page.css; scope with body.case-study-page */

body.case-study-page .breadcrumb {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--k-muted);
}
body.case-study-page .breadcrumb a {
  color: var(--k-muted);
  text-decoration: none;
}
body.case-study-page .breadcrumb a:hover {
  color: var(--k-lime);
}
body.case-study-page .breadcrumb .sep {
  opacity: 0.45;
  user-select: none;
}

.cs-prose {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 24px;
  font-size: 17px;
  line-height: 1.82;
  color: #e8e8e6;
  text-align: left;
}
.cs-prose p {
  margin: 0 0 1.15em;
}
.cs-prose p:last-child {
  margin-bottom: 0;
}

.cs-h3 {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 400;
  color: var(--k-white);
  margin: 2rem 0 0.65rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.cs-prose .cs-h3:first-child {
  margin-top: 0;
}

.cs-checklist {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1.25rem;
}
.cs-checklist li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.65rem;
  line-height: 1.55;
}
.cs-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--k-lime);
}

.cs-subsection {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--k-border2);
}

.cs-pdf-card {
  max-width: 42rem;
  margin: 2.5rem auto 0;
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--k-border2);
  background: rgba(242, 255, 102, 0.045);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cs-pdf-card strong {
  color: var(--k-white);
  font-weight: 500;
}
.cs-pdf-card .cs-pdf-note {
  display: block;
  font-size: 14px;
  color: var(--k-muted);
  margin-top: 4px;
  line-height: 1.45;
}

.cs-quote-inline {
  margin: 1.5rem 0;
  padding: 0.25rem 0 0.25rem 1.15rem;
  border-left: 3px solid var(--k-lime);
  font-size: 1.05rem;
  line-height: 1.65;
  color: #d8d8d4;
  font-style: italic;
}

.cs-use-tags {
  list-style: none;
  margin: 0 auto;
  padding: 0 24px;
  max-width: 720px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.cs-use-tags li {
  margin: 0;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--k-border2);
  background: var(--k-dark2);
  font-size: 15px;
  color: #e8e8e6;
}

.cs-meta-panel {
  max-width: 42rem;
  margin: 2rem auto 0;
  padding: 1.5rem 1.5rem 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--k-border2);
  background: var(--k-dark2);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}
.cs-meta-panel .cs-meta-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--k-muted);
  margin-bottom: 8px;
}
.cs-meta-panel .cs-meta-value {
  font-size: 16px;
  color: var(--k-white);
  font-weight: 500;
  line-height: 1.3;
}

@media (max-width: 560px) {
  .cs-meta-panel {
    grid-template-columns: 1fr;
    text-align: left;
  }
}
