/* =========================================================================
   Case Study — shared styling for all case study pages
   (Zizzo Group, Teambuilding.com, …)
   ========================================================================= */

/* Full-width tinted backdrop so the white content cards stand out */
body {
  overflow-x: hidden;
}

.cs-page {
  position: relative;
}

.cs-page:before {
  content: '';
  position: absolute;
  top: -40px;
  bottom: -40px;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #eef1f8;
  z-index: -1;
}

/* Stronger definition for the content cards */
.content-page .box-content-page.cs-section {
  border: 1px solid #dbe4f4;
  box-shadow: 0 12px 34px rgba(37, 55, 110, 0.08);
  margin: 40px 0;
}

.content-page .box-content-page.cs-section:first-of-type {
  margin-top: 48px;
}

/* Section headings aligned left for readability on a long case study */
.content-page .box-content-page.cs-section h2 {
  text-align: left;
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.cs-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 56px 24px;
  text-align: center;
  background: linear-gradient(135deg, #7789a0 0%, #5c7085 100%);
  border-radius: 16px;
}

/* Per-brand hero gradients */
.cs-hero--zizzo {
  background: linear-gradient(135deg, #7789a0 0%, #5c7085 100%);
}

.cs-hero--teambuilding {
  background: linear-gradient(135deg, #ff5f6d 0%, #ff9145 100%);
}

.cs-hero__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 108px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(35, 35, 35, 0.18);
  overflow: hidden;
  flex-shrink: 0;
}

.cs-hero__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Wide variant for wordmark-style logos */
.cs-hero__logo--wide {
  width: auto;
  height: auto;
  max-width: 90%;
  padding: 22px 34px;
  border-radius: 16px;
}

.cs-hero__logo--wide img {
  width: auto;
  height: auto;
  max-width: 320px;
  max-height: 56px;
  object-fit: contain;
}

.cs-hero__brand {
  margin: 0;
  color: #ffffff;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
}

.cs-hero__tagline {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 18px !important;
  line-height: 1.5 !important;
  letter-spacing: 0.2px;
}

.cs-hero__eyebrow {
  display: inline-block;
  padding: 6px 16px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

/* Page title override for a longer headline */
.cs-page-title {
  max-width: 860px;
  margin-left: auto !important;
  margin-right: auto !important;
  line-height: 1.25 !important;
}

/* -------------------------------------------------------------------------
   Table of contents
   ------------------------------------------------------------------------- */
.cs-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cs-toc li {
  font-size: 16px !important;
  line-height: 1 !important;
  text-indent: 0 !important;
  margin: 0 !important;
}

.cs-toc li:before {
  display: none !important;
}

.cs-toc a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  color: #3f51b5 !important;
  font-weight: 600;
  text-decoration: none !important;
  background: #f2f5ff;
  border: 1px solid #e1eefd;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.cs-toc a:hover {
  background: #3f51b5;
  color: #ffffff !important;
}

.cs-toc__num {
  font-size: 13px;
  font-weight: 700;
  opacity: 0.6;
}

/* -------------------------------------------------------------------------
   Section eyebrow label
   ------------------------------------------------------------------------- */
.cs-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #3f51b5;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

/* -------------------------------------------------------------------------
   Results checklist
   ------------------------------------------------------------------------- */
.cs-results-list {
  margin: 0 0 35px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.cs-results-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 19px !important;
  line-height: 30px !important;
  text-indent: 0 !important;
  margin: 0 !important;
  padding: 16px 20px;
  color: #000929;
  background: #f7f9ff;
  border: 1px solid #e1eefd;
  border-radius: 12px;
}

.cs-results-list li:before {
  display: none !important;
}

.cs-results-list__check {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  color: #ffffff;
  background: #3f51b5;
  border-radius: 50%;
}

/* -------------------------------------------------------------------------
   Stats highlight row
   ------------------------------------------------------------------------- */
.cs-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 0 0 35px 0;
}

.cs-stats__item {
  padding: 24px 20px;
  text-align: center;
  background: #f7f9ff;
  border: 1px solid #e1eefd;
  border-radius: 12px;
}

.cs-stats__value {
  display: block;
  color: #3f51b5;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
}

.cs-stats__label {
  display: block;
  margin-top: 8px;
  color: #5c6784;
  font-size: 15px;
  line-height: 1.4;
}

/* -------------------------------------------------------------------------
   Pull quote / testimonial
   ------------------------------------------------------------------------- */
.cs-quote {
  position: relative;
  margin: 40px 0;
  padding: 40px 44px;
  width: auto;
  background: linear-gradient(135deg, #f7f9ff 0%, #eef2ff 100%);
  border: 1px solid #e1eefd;
  border-left: 5px solid #3f51b5;
  border-radius: 16px;
}

.cs-quote__mark {
  display: block;
  color: #3f51b5;
  font-size: 64px;
  font-weight: 800;
  line-height: 0.6;
  opacity: 0.25;
}

.cs-quote blockquote {
  margin: 0;
  padding: 0;
  border: 0;
}

.cs-quote p {
  margin: 16px 0 0 0 !important;
  font-size: 23px !important;
  line-height: 38px !important;
  font-style: italic;
  color: #1a1f36;
}

.cs-quote .cs-quote__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.cs-quote__author-name {
  font-size: 18px;
  font-weight: 700;
  color: #000929;
}

.cs-quote__author-role {
  font-size: 16px;
  color: #5c7085;
}

/* -------------------------------------------------------------------------
   Closing note
   ------------------------------------------------------------------------- */
.cs-note {
  padding: 28px 32px;
  background: #f7f9ff;
  border: 1px dashed #c7d4f5;
  border-radius: 14px;
}

.cs-note p:last-child {
  margin-bottom: 0 !important;
}

@media (max-width: 767px) {
  .cs-hero {
    padding: 40px 18px;
  }

  .cs-hero__brand {
    font-size: 28px;
  }

  .cs-quote {
    padding: 28px 22px;
  }

  .cs-quote p {
    font-size: 20px !important;
    line-height: 32px !important;
  }
}
