.cases-hero {
  border-bottom: 3px solid #111;
  background: #ffd43b;
}
.cases-hero-inner {
  padding-top: 82px;
  padding-bottom: 78px;
}
.cases-hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 1;
}
.cases-hero p:last-child {
  max-width: 720px;
  margin: 24px 0 0;
  color: #38332a;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  line-height: 1.65;
}
.cases-list {
  padding: 72px 0 82px;
  background: #fff;
}
.cases-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, .72fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 32px;
}
.cases-section-heading h2 {
  max-width: 700px;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 46px;
  line-height: 1.1;
}
.cases-section-heading > p {
  margin: 0 0 4px;
  color: #55525a;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.65;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.case-study-card {
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(0, 1.2fr);
  border: 3px solid #111;
  background: #f4f1ec;
  box-shadow: 6px 6px 0 #111;
}
.case-study-image-link {
  display: block;
  overflow: hidden;
  background: #171515;
}
.case-study-image-link img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  transition: transform .25s ease;
}
.case-study-image-link:hover img,
.case-study-image-link:focus-visible img {
  transform: scale(1.03);
}
.case-study-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 24px 24px;
}
.case-study-body h2 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 34px;
  line-height: 1.1;
}
.case-study-body h2 a {
  color: #111;
  text-decoration: none;
}
.case-study-body h2 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}
.case-study-body > p:not(.serial-kicker):not(.case-study-stat) {
  margin: 15px 0 22px;
  color: #4c4a50;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 16px;
  line-height: 1.65;
}
.case-study-stat {
  margin: 12px 0 0;
  color: #a70f32;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.45;
}
.case-study-body .serial-button {
  margin-top: auto;
}
.cases-next {
  padding: 66px 0;
  border-top: 3px solid #111;
  background: #a70f32;
  color: #fff;
}
.cases-next-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}
.cases-next h2 {
  max-width: 680px;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 44px;
  line-height: 1.1;
}
.cases-next p:last-child {
  max-width: 650px;
  margin: 17px 0 0;
  color: #f8e8e9;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 16px;
  line-height: 1.7;
}
.cases-next .serial-kicker {
  color: #ffe070;
}
.cases-next .serial-button {
  flex: 0 0 auto;
}
@media (max-width: 900px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .cases-hero-inner {
    padding-top: 52px;
    padding-bottom: 54px;
  }
  .cases-hero p:last-child {
    font-size: 17px;
  }
  .cases-list {
    padding: 48px 0 58px;
  }
  .cases-section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 24px;
  }
  .cases-section-heading h2 {
    font-size: 36px;
  }
  .case-study-card {
    grid-template-columns: 112px minmax(0, 1fr);
    box-shadow: 4px 4px 0 #111;
  }
  .case-study-image-link img {
    min-height: 280px;
  }
  .case-study-body {
    padding: 20px 16px 16px;
  }
  .case-study-body h2 {
    font-size: 27px;
  }
  .case-study-body > p:not(.serial-kicker):not(.case-study-stat) {
    font-size: 14px;
  }
  .cases-next {
    padding: 48px 0;
  }
  .cases-next-inner {
    display: grid;
    gap: 24px;
  }
  .cases-next h2 {
    font-size: 36px;
  }
  .cases-next .serial-button {
    width: 100%;
    text-align: center;
  }
}
