/* Case studies share the Site Map masthead, shapes, gutters and display heading. */
.case-study-editorial {
  padding-block: 0 var(--adrecom-interior-space);
  background: var(--adrecom-white);
}

.case-study-editorial .case-study-reader {
  width: 100%;
  max-width: none;
  margin: 0;
}

.case-study-editorial .case-study-shell {
  padding-top: clamp(24px, 2.5vw, 42px);
}

.case-study-editorial .case-study-breadcrumb .breadcrumb {
  flex-wrap: nowrap;
}

.case-study-editorial .case-study-breadcrumb .breadcrumb > :not(:last-child) {
  flex: none;
  white-space: nowrap;
}

.case-study-editorial .case-study-breadcrumb .breadcrumb > :last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-study-editorial .case-study-heading h1 {
  margin: 0;
  font-size: clamp(28px, 2.8vw, 54px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.case-study-editorial .case-study-intro {
  margin-bottom: 20px;
}

.case-study-editorial .case-study-intro p {
  margin-block: 0;
}

.case-study-editorial .case-study-prose {
  display: flow-root;
}

.case-study-editorial .case-study-illustration {
  float: right;
  width: 36%;
  max-width: 620px;
  margin: 0 0 28px clamp(28px, 3vw, 56px);
  padding: 0;
  border: 0;
}

.case-study-editorial .case-study-illustration a,
.case-study-editorial .case-study-illustration img {
  display: block;
}

.case-study-editorial .case-study-illustration img {
  width: 100%;
  height: auto;
}

.case-study-editorial .case-study-illustration a:focus-visible {
  outline: 2px solid var(--adrecom-blue);
  outline-offset: 5px;
}

.case-study-editorial .case-study-body {
  color: var(--adrecom-copy);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.case-study-editorial .case-study-body p {
  margin-block: 0 1em;
  line-height: 1.65;
}

.case-study-editorial .case-study-body :is(h2, h3, h4, h5, h6) {
  color: var(--adrecom-navy);
  font-family: var(--adrecom-font);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.2;
  text-wrap: pretty;
}

.case-study-editorial .case-study-body h2 {
  margin-block: 1.15em .5em;
  font-size: clamp(25px, 2.4vw, 37px);
}

.case-study-editorial .case-study-body h3 {
  margin-block: 1.1em .5em;
  font-size: clamp(21px, 1.8vw, 27px);
}

.case-study-editorial .case-study-body > :first-child {
  margin-top: 0;
}

.case-study-editorial .case-study-body :is(ul, ol) {
  margin-block: 0 1.35em;
  padding-inline-start: 1.5em;
}

.case-study-editorial .case-study-body li {
  padding-inline-start: .2em;
  line-height: 1.6;
}

.case-study-editorial .case-study-body li + li {
  margin-top: .6em;
}

.case-study-editorial .case-study-body li::marker {
  color: var(--adrecom-violet);
}

.case-study-editorial .case-study-body strong {
  color: var(--adrecom-navy);
  font-weight: 600;
}

.case-study-editorial .case-study-body :is(img, video, iframe, table) {
  max-width: 100%;
}

.case-study-editorial .case-study-body img {
  height: auto;
}

.case-study-editorial .case-study-file {
  margin-bottom: 18px;
}

@media (max-width: 767.98px) {
  .case-study-editorial .case-study-heading h1 {
    font-size: clamp(26px, 6.5vw, 34px);
  }

  .case-study-editorial .case-study-illustration {
    float: none;
    width: min(100%, 520px);
    max-width: 100%;
    margin: 0 auto 26px;
  }
}
