:root {
  --navy: #464FB8;
  --navy-dark: #240E70;
  --ink: #33356b;
  --coral: #ee6a4f;
  --panel-bg: #EDE8EF;
  --border-soft: #E2E8F0;
  --page-bg: #ffffff;
}

body {
  background: var(--page-bg);
  color: var(--ink);
}

.container-1280 {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 36px;
  padding-left: 24px;
  padding-right: 24px;
}

/* ---------- Section pill headers ---------- */
.pill {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ---------- Sidebar ---------- */
.sidebar-panel {
  border: 1px solid var(--border-soft);
  border-left-width: 4px;
  border-radius: 18px;
  padding: 24px;
}

.sidebar-title {
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 22px;
}

.snapshot-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.snapshot-item:last-child {
  margin-bottom: 0;
}

.snapshot-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.snapshot-label {
  color: var(--navy);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.snapshot-value {
  color: var(--navy-dark);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.35;
}

.snapshot-photo {
  overflow: hidden;
  margin: 40px 0 0 0;
}

.snapshot-photo img {
  width: 100%;
  height: 394px;
  object-fit: cover;
  display: block;
}

.quote-panel {
  border: 1px solid var(--border-soft);
  border-left-width: 4px;
  border-radius: 16px;
  padding: 24px;
  margin-top: 20px;
}

.quote-panel p {
  color: var(--navy-dark);
  font-style: italic;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 14px;
}

.quote-panel cite {
  display: block;
  color: var(--navy);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-style: normal;
}

/* ---------- Customer story ---------- */
.customer-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: start;
}

.customer-story-text .pill {
  margin-bottom: 20px;
}

.customer-story-image {
  margin-top: 54px;
}

.customer-story-image img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 340px;
  object-fit: cover;
  display: block;
}

/* ---------- Story copy ---------- */
.story-copy {
  max-width: 675px;
}

.story-copy p {
  color: var(--navy-dark);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.story-copy p:last-child {
  margin-bottom: 0;
}

.section-heading {
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 8px 0 16px;
}

/* ---------- Problem / Solution plain lists ---------- */
.plain-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
  max-width: 500px;
}

.plain-list li {
  color: var(--navy-dark);
  font-size: 16px;
  line-height: 1.6;
  /* padding: 5px 0; */
}

/* ---------- Campaign Results ---------- */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 8px;
}

.result-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E1E0E0;
}

.result-card-label {
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 10px 16px;
  line-height: 1.3;
}

.result-card-value {
  background: #fff;
  color: var(--coral);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  text-align: center;
  line-height: 1.15;
  padding: 18px 16px;
}

@media (max-width: 767.98px) {
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Table ---------- */
.tech-table {
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  margin-top: 4px;
  overflow: hidden;
}

.tech-table table {
  width: 100%;
  margin: 0;
}

.tech-table thead th {
  background: var(--panel-bg);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 24px;
  border: none;
}

.tech-table tbody td {
  padding: 14px 24px;
  color: var(--navy-dark);
  font-size: 14px;
  border-top: 1px solid var(--border-soft);
}

.tech-table tbody td:last-child {
  font-weight: 600;
}

section {
  padding-top: 44px;
}

.case-study-reviews {
  & .ap_reviews.card {
    border: 1px solid #6460FF;
    background: #25228E;
    box-shadow: 0 0 40px 0 #030159;
  }
}

.single-case-study {
  & .banner_meta {
    display: block;
    margin-bottom: 20px;
  }

  & .btn_wrap_banner {
    display: inline-block !important;
    margin-top: 20px;

    @media (max-width: 767.98px) {
      display: inline-flex !important;
      margin-top: 10px;
    }
  }
}

@media (max-width: 991.98px) {
  .customer-story-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .customer-story-image {
    margin-top: 0;
  }

  .customer-story-image img {
    max-height: none;
    min-height: 220px;
  }
}

@media (max-width: 767.98px) {
  .section-heading {
    font-size: 1.5rem;
  }

  .customer-story-section {
    padding: 32px 0 40px;
  }
}
