.case-page {
  --case-ink: #10273d;
  --case-blue: #176f9f;
  --case-light: #edf6fa;
  --case-green: #a7ca31;
  --case-yellow: #f3c63f;
}

.case-page h1,
.case-page h2,
.case-page h3,
.case-page p,
.case-page a,
.case-page dt,
.case-page dd,
.case-page span,
.case-page strong {
  overflow-wrap: anywhere;
}

.case-hero-grid > *,
.case-card-grid > *,
.case-method-grid > *,
.case-route-list > *,
.case-related > * {
  min-width: 0;
}

.case-hero {
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--case-light);
}

.case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(440px, 1.06fr);
  gap: 48px;
  align-items: center;
  padding-top: 68px;
  padding-bottom: 62px;
}

.case-hero-copy {
  position: relative;
  z-index: 1;
}

.case-hero h1 {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--case-ink);
  font-size: 62px;
  line-height: 1.05;
  letter-spacing: 0;
}

.case-hero-copy > p {
  max-width: 690px;
  margin: 0 0 30px;
  color: #385269;
  font-size: 20px;
  line-height: 1.7;
}

.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.case-actions .pl-btn-secondary {
  border-color: #8aa3b4;
  background: #fff;
}

.case-hero-media {
  min-height: 470px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-hero-media img {
  width: min(760px, 116%);
  max-width: none;
  height: auto;
  display: block;
  transform: translateX(4%);
}

.case-disclosure {
  border-bottom: 1px solid var(--pl-line);
  background: #fff;
}

.case-disclosure-inner {
  display: grid;
  grid-template-columns: minmax(220px, .5fr) minmax(0, 1.5fr);
  gap: 42px;
  align-items: start;
  padding-top: 34px;
  padding-bottom: 34px;
}

.case-disclosure strong {
  color: var(--case-blue);
  font-size: 17px;
}

.case-disclosure p {
  margin: 0;
  color: var(--pl-muted);
  line-height: 1.7;
}

#case-paths,
.case-route {
  scroll-margin-top: 145px;
}

.case-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.case-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--pl-line);
  border-radius: 4px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.case-card:hover,
.case-card:focus-within {
  border-color: #9db8c8;
  box-shadow: 0 14px 28px rgba(16, 39, 61, .11);
  transform: translateY(-3px);
}

.case-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--pl-line);
  background: #f7fafb;
}

.case-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.case-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.case-card-body > span {
  margin-bottom: 12px;
  color: var(--case-blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.case-card h3 {
  margin: 0 0 12px;
  color: var(--case-ink);
  font-size: 24px;
  line-height: 1.28;
  letter-spacing: 0;
}

.case-card p {
  margin: 0;
  color: var(--pl-muted);
  line-height: 1.7;
}

.case-card dl {
  margin: 22px 0 24px;
  border-top: 1px solid var(--pl-line);
}

.case-card dl > div {
  padding: 13px 0;
  border-bottom: 1px solid var(--pl-line);
}

.case-card dt {
  margin-bottom: 3px;
  color: var(--case-ink);
  font-size: 13px;
  font-weight: 700;
}

.case-card dd {
  margin: 0;
  color: var(--pl-muted);
  font-size: 14px;
  line-height: 1.5;
}

.case-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--case-blue);
  font-weight: 700;
  text-decoration: none;
}

.case-card-link i,
.case-route a i,
.case-related i {
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
