/* ======================================================
   HEADER SPACER
   Desktop uses global site-wrapper offset
   Mobile needs extra protection
====================================================== */

.header-spacer {
  display: none;
}

@media (max-width: 768px) {
  .header-spacer {
    display: block;
    height: 96px; /* mobile header height */
  }
}

/* ======================================================
   CASE STUDY – HERO
====================================================== */

.page-case-study .case-study-hero {
  margin: 0;
  padding: 0;
}

.page-case-study .case-study-hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* ======================================================
   CONTENT WRAPPER
====================================================== */

.case-study-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 16px;
}

@media (max-width: 768px) {
  .case-study-wrapper {
    padding: 28px 14px;
  }
}

/* ======================================================
   TITLE
====================================================== */

.case-study-wrapper h1 {
  font-size: 2.2rem;
  color: #001e60;
  line-height: 1.25;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 14px;
}

.case-study-wrapper h1::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background-color: #ff7a00;
  margin-top: 12px;
}

@media (max-width: 768px) {
  .case-study-wrapper h1 {
    font-size: 1.85rem;
  }
}

/* ======================================================
   BEST FOR CHIPS
====================================================== */

.case-study-chips {
  list-style: none;
  padding: 0;
  margin: 12px 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case-study-chips li {
  background: #f1f3f6;
  color: #1f2937;
  padding: 6px 14px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

/* ======================================================
   SUMMARY
====================================================== */

.case-study-summary {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #555;
  max-width: 720px;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .case-study-summary {
    font-size: 1.02rem;
  }
}

/* ======================================================
   STATS
====================================================== */

.case-study-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.case-study-stats .stat {
  background: #f9f8f6;
  padding: 20px 16px;
  border-radius: 8px;
  text-align: center;
}

.case-study-stats strong {
  font-size: 1.6rem;
  color: #001e60;
  display: block;
}

.case-study-stats span {
  font-size: 0.95rem;
  color: #555;
}

@media (max-width: 768px) {
  .case-study-stats {
    grid-template-columns: 1fr;
  }
}

/* ======================================================
   SECTIONS
====================================================== */

.case-study-section {
  margin-bottom: 36px;
}

.case-study-section h2 {
  font-size: 1.55rem;
  color: #001e60;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .case-study-section h2 {
    font-size: 1.35rem;
  }
}

.case-study-section p,
.case-study-section li {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #222;
}

@media (max-width: 768px) {
  .case-study-section p,
  .case-study-section li {
    font-size: 1.02rem;
  }
}

/* Bullets */
.case-study-section ul {
  list-style: disc;
  padding-left: 22px;
  margin: 12px 0 16px;
}

.case-study-section li {
  margin-bottom: 6px;
}

/* ======================================================
   CTA
====================================================== */

.case-study-cta {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ======================================================
   BREADCRUMB
====================================================== */

.case-study-breadcrumb {
  max-width: 960px;
  margin: 12px auto 4px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.case-study-breadcrumb ol {
  list-style: none;
  display: flex;
  gap: 6px;
  padding: 0;
  margin: 0;
  color: #666;
}

.case-study-breadcrumb li::after {
  content: "›";
  margin-left: 6px;
  color: #999;
}

.case-study-breadcrumb li:last-child::after {
  content: "";
}

.case-study-breadcrumb a {
  color: #001e60;
  text-decoration: none;
}

.case-study-breadcrumb a:hover {
  text-decoration: underline;
}
.related-case-studies {
  margin-top: 64px;
}

.related-case-studies h2 {
  margin-bottom: 24px;
}

.related-case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-case-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 12px;
}

.related-case-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.related-case-card p {
  font-size: 0.95rem;
  color: #444;
}

@media (max-width: 768px) {
  .related-case-studies-grid {
    grid-template-columns: 1fr;
  }
}
