/* Case results, editorial credit and the long-form account of the transaction. */
.interior .vkcase .vkcase-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(285px, 29%, 400px);
  grid-template-areas: "reading enquiry";
  align-items: start;
  gap: clamp(32px, 5vw, 78px);
  padding-block: clamp(32px, 3.6vw, 56px) clamp(48px, 6vw, 88px);
}
.vkcase .vkcase-reading {
  min-width: 0; max-width: none;
  color: var(--vkb-ink);
  overflow-wrap: anywhere;
}
.vkcase .vkcase-reading :is(.vkcase-result, .vkcase-steps, .vkcase-step) {
  padding: 0; overflow: visible;
}
@media (max-width: 950px) {
  .interior .vkcase .vkcase-story {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "reading" "enquiry";
    gap: 32px; padding-block: 30px 44px;
  }
}
.vkcase :is(.vkcase-result, .vkcase-steps) > h2 {
  margin: 0 0 clamp(18px, 2vw, 28px);
  color: var(--vkb-ink);
  font: 490 clamp(27px, 2.6vw, 42px)/1.12 var(--brand-font);
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
  scroll-margin-top: calc(var(--brand-header, 70px) + 16px);
}

.vkcase .vkcase-result { container: case-result / inline-size; }
.vkcase .vkcase-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0; padding: 0; gap: 0;
  border: 1px solid var(--vkb-edge);
  border-radius: var(--vkb-radius);
  background: var(--vkb-glass);
}
.vkcase .vkcase-ledger > div {
  min-width: 0;
  padding: clamp(18px, 3.3cqi, 32px);
  border: 0; border-radius: 0; background: transparent;
  overflow-wrap: anywhere;
}
.vkcase .vkcase-ledger > div:nth-child(even) { border-inline-start: 1px solid var(--vkb-edge); }
.vkcase .vkcase-ledger > div:nth-child(n+3) { border-block-start: 1px solid var(--vkb-edge); }
.vkcase .vkcase-ledger > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.vkcase .vkcase-ledger dt {
  color: var(--vkb-muted); font-size: .86rem; font-weight: 500; line-height: 1.45;
}
.vkcase .vkcase-ledger dd strong {
  display: block; margin: 9px 0 12px;
  color: var(--vkb-ice);
  font-size: clamp(28px, 5.1cqi, 46px); font-weight: 530; line-height: 1.1;
  letter-spacing: -.045em; font-variant-numeric: lining-nums tabular-nums;
  text-wrap: pretty;
}
.vkcase .vkcase-ledger dd strong.case-value-text {
  font-size: clamp(22px, 3.6cqi, 32px); line-height: 1.18; letter-spacing: -.03em;
}
.vkcase .vkcase-ledger dd span {
  display: block; color: #d7e3e8; font-size: .95rem; line-height: 1.55;
}
@container case-result (max-width: 33rem) {
  .vkcase .vkcase-ledger { grid-template-columns: minmax(0, 1fr); }
  .vkcase .vkcase-ledger > div:nth-child(n+2) { border-inline: 0; border-block-start: 1px solid var(--vkb-edge); }
}

.vkcase .vkcase-steps {
  margin-block-start: clamp(36px, 4vw, 62px);
  font: 400 clamp(1rem, 1.18vw, 1.16rem)/1.72 var(--brand-font);
  color: #dce6eb;
}
.vkcase :is(.vkcase-step, .vkcase-rich) {
  min-width: 0; max-width: 70ch; overflow-wrap: anywhere;
}
.vkcase .vkcase-step + .vkcase-step {
  margin-top: clamp(22px, 2.2vw, 34px);
  padding-top: clamp(22px, 2.2vw, 34px);
  border-block-start: 1px solid var(--vkb-edge);
}
.vkcase .vkcase-step h3, .vkcase .vkcase-rich :is(h2, h3) {
  margin: 0 0 .55em;
  color: var(--vkb-ink);
  font: 530 clamp(21px, 1.65vw, 28px)/1.23 var(--brand-font);
  letter-spacing: -.035em;
  text-wrap: pretty;
}
.vkcase .vkcase-rich :is(h2, h3):not(:first-child) { margin-top: 1.45em; }
.vkcase .vkcase-rich h2 { font-size: clamp(23px, 1.9vw, 32px); }
.vkcase .vkcase-step p, .vkcase .vkcase-rich p {
  margin: 0; color: inherit; font: inherit;
}
.vkcase .vkcase-step p + p, .vkcase .vkcase-rich p + p { margin-top: .85em; }
.vkcase .vkcase-rich :is(ul, ol) { margin: .9em 0; line-height: inherit; }
.vkcase .vkcase-rich li::marker { color: var(--vkb-ice); }
.vkcase .vkcase-rich blockquote {
  background: var(--vkb-panel); color: var(--vkb-ink);
  border-inline-start-color: var(--vkb-ice);
}
.vkcase .vkcase-reading :is(.case-step-photos, .case-object-photos) img,
.vkcase .vkcase-rich img {
  object-fit: contain; max-width: 100%; height: auto;
}
.vkcase .vkcase-reading figcaption, .vkcase .vkcase-rich img + p:has(> em:only-child) {
  margin-top: 8px; color: var(--vkb-muted); font-size: .88rem; line-height: 1.5;
}

.vkcase .vkb-editorial__byline {
  max-width: 70ch; margin: clamp(26px, 3vw, 42px) 0 0;
  padding: 14px 0 0; border: 0; border-top: 1px solid var(--vkb-edge);
  color: var(--vkb-muted); font: 400 .9rem/1.55 var(--brand-font);
}
.vkcase .vkb-editorial__byline p { margin: 0; }
.vkcase .vkb-editorial__byline p + p { margin-top: 4px; }
.vkcase :is(.vkcase-rich, .vkb-editorial__byline) a {
  color: var(--vkb-ice); text-decoration: underline;
  text-decoration-color: #698b99; text-underline-offset: .18em;
}
@media (hover: hover) {
  .vkcase :is(.vkcase-rich, .vkb-editorial__byline) a:hover { text-decoration-color: currentColor; }
}
