/* Keep the original design, fit complete titles within their content column. */
.study-hero-copy {
  min-width: 0;
  container-type: inline-size;
}
main > .cms-custom:first-of-type {
  padding-top: 110px;
}
.study-hero h1 {
  max-width: 100%;
  font-size: min(
    clamp(42px, 7.1vw, 110px),
    calc(100cqi / var(--title-cols, 6))
  );
}
.study-hero h1 .headline-line {
  max-width: 100%;
}
.study-background #study-background {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 980px;
  color: #3f473f;
  font-size: 21px;
  line-height: 1.95;
}
.study-background #study-background p {
  grid-column: auto;
  grid-row: auto;
}
.hero h1 > span[data-text-key] {
  display: contents;
  color: var(--ink);
  -webkit-text-stroke: 0;
}
.hero h1 > span[data-text-key]:last-child {
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 1px #d8ded4;
}
@media (min-width: 981px) {
  .study-theme-langur .study-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  }
}
@media (max-width: 680px) {
  .study-hero h1,
  .study-theme-memorial .study-hero h1 {
    font-size: min(17vw, calc(100cqi / var(--title-cols, 6)));
  }
}
@media (max-width: 980px) {
  .study-background #study-background {
    grid-column: 1;
    grid-row: auto;
  }
}
