/* Case history detail pages */
.ch-main {
  padding-bottom: 0;
}

.ch-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 88px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: #575758;
}

.ch-crumb a {
  color: #575758;
  text-decoration: none;
}

.ch-crumb a:hover {
  color: #000;
}

.ch-head {
  padding: 40px 0 0;
  max-width: none;
}

.ch-eyebrow {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #000;
  font-weight: 600;
}

.ch-h1 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 72px);
  line-height: 1.06;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.ch-hero {
  margin: 56px 0 0;
  padding: 0;
}

.ch-hero-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .ch-hero-wrap {
    aspect-ratio: auto;
  }
}

.ch-hero-img {
  width: 100%;
  height: auto;
}

.ch-hero-img--mobile {
  display: block;
}

.ch-hero-img--desktop {
  display: none;
}

@media (min-width: 768px) {
  .ch-hero-img--mobile {
    display: none;
  }

  .ch-hero-img--desktop {
    display: block;
  }
}

.ch-hero-img--cover {
  object-fit: cover;
}

.ch-hero-img--contain {
  object-fit: contain;
}

.ch-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  mix-blend-mode: overlay;
  background-repeat: repeat;
  background-size: 80px 80px;
  background-image: url(/assets/img/noise.webp);
}

.ch-hero-logo {
  position: absolute;
  top: 12px;
  left: 12px;
  width: min(52%, 220px);
  height: 26px;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}

.ch-hero-logo--multiply {
  mix-blend-mode: multiply;
}

@media (min-width: 768px) {
  .ch-hero-logo {
    top: 28px;
    left: 28px;
  }
}

.ch-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin: 56px 0 0;
}

.ch-kpi {
  padding: 40px 32px;
  border-radius: 16px;
  background: #f9f9fa;
  text-align: left;
}

.ch-kpi-v {
  margin: 0;
  font-size: clamp(32px, 3.2vw, 52px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.ch-kpi-l {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.45;
  color: #575758;
}

.ch-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 0 0;
}

.ch-section + .ch-section,
.ch-intro-fig + .ch-section,
.ch-section + .ch-intro-fig {
  margin-top: 72px;
}

.ch-h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ch-p {
  margin: 24px 0 0;
  font-size: 19px;
  line-height: 1.65;
  color: #575758;
  text-wrap: pretty;
}

.ch-p + .ch-p {
  margin-top: 20px;
}

.ch-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ch-list-item {
  padding: 20px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 19px;
  line-height: 1.65;
  color: #575758;
}

.ch-list-item:first-child {
  border-top: none;
  padding-top: 0;
}

.ch-intro-fig {
  margin: 56px 0 0;
}

.ch-intro-img {
  position: relative;
  width: 100%;
  aspect-ratio: 2.432;
  border-radius: 16px;
  overflow: hidden;
  background: #f4f4f5 no-repeat center / cover;
}

.ch-intro-img--telepass {
  background-image: url(/uploads/cases/telepass-intro.webp);
}

.ch-intro-img--bcc {
  background-image: url(/uploads/cases/bcc-intro.webp);
}

.ch-intro-img--gualapack {
  background-image: url(/uploads/cases/gualapack-intro.webp);
}

.ch-intro-img--prograd {
  background-image: url(/uploads/cases/prograd-intro.webp);
}

.ch-suggested {
  padding: 136px 0 0;
}

.ch-suggested-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 36px);
  margin-top: 48px;
}

.ch-sug {
  display: block;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
}

.ch-sug:focus-visible {
  outline: 2px solid rgba(234, 88, 88, 0.55);
  outline-offset: 4px;
}

.ch-sug-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1.09;
  border-radius: 16px;
  overflow: hidden;
  background: #f4f4f5;
}

.ch-sug-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ch-sug-logo {
  position: absolute;
  top: 28px;
  left: 28px;
  width: 52%;
  height: 26px;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}

.ch-sug-logo--multiply {
  mix-blend-mode: multiply;
}

.ch-sug-cap {
  margin: 20px 0 0;
  font-size: 19px;
  line-height: 1.45;
  min-height: calc(2 * 1.45em);
  font-weight: 400;
  color: #000;
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .ch-kpis,
  .ch-suggested-grid {
    grid-template-columns: 1fr;
  }

  .ch-article {
    padding-top: 80px;
  }

  .ch-p,
  .ch-list-item {
    font-size: 16px;
  }
}
