/* Research & Business sections.
   Plain CSS on purpose: main.css is built with Prepros, this file is not. */

/* Shared: text written in the WordPress editor */
.research__intro-text,
.business__inner-content {
  color: #000;
  font-size: 20px;
  line-height: 150%;
  font-weight: 400;
}
.research__intro-text p,
.business__inner-content p,
.business__inner-content ul,
.business__inner-content ol {
  margin-bottom: 20px;
}
.research__intro-text > :last-child,
.business__inner-content > :last-child {
  margin-bottom: 0;
}
.research__intro-text ul,
.business__inner-content ul {
  list-style: disc;
  padding-left: 1.4em;
}
.research__intro-text ol,
.business__inner-content ol {
  list-style: decimal;
  padding-left: 1.4em;
}
.research__intro-text li,
.business__inner-content li {
  list-style: inherit;
}
.research__intro-text a,
.business__inner-content a {
  color: #0f50a8;
  text-decoration: underline;
}
.business__inner-content h2,
.business__inner-content h3,
.business__inner-content h4 {
  color: #0f50a8;
  margin: 40px 0 20px;
}
.business__inner-content h2:first-child,
.business__inner-content h3:first-child,
.business__inner-content h4:first-child {
  margin-top: 0;
}

/* ---------- Research ---------- */

/* .main has overflow:hidden, which turns position:sticky off. clip keeps the
   horizontal clipping without creating a scroll container. */
.main.main--sticky {
  overflow: visible;
  overflow-x: clip;
}

.research__intro {
  position: sticky;
  top: var(--header-h, 100px);
  z-index: 5;
  max-width: 1520px;
  margin: 0 auto 50px;
  padding: 20px 0 30px;
  background-color: #fff;
  border-bottom: 1px solid #e3e3e3;
  max-height: 50vh;
  overflow-y: auto;
  /* Cover the side gutters too, so the list's timeline line and dots are
     hidden while they scroll under the text. */
  box-shadow: -40px 0 0 #fff, 40px 0 0 #fff;
}
.research .updates__inner-title.research__intro-title {
  margin: 0 0 20px;
  max-width: none;
}
.research__intro-text {
  max-width: 1100px;
}
.research .updates__inner-col.research__list {
  padding-bottom: 80px;
}
.research .updatesItem__title h3 {
  color: #000;
}
.research__excerpt {
  margin-top: 12px;
  color: #7d7d7d;
  font-size: 18px;
  line-height: 140%;
}

/* Small or short screens: a fixed block would hide the list, so it scrolls normally. */
@media (max-width: 930px), (max-height: 650px) {
  .research__intro {
    position: static;
    max-height: none;
    overflow: visible;
    margin-bottom: 30px;
  }
}
@media (max-width: 750px) {
  .research__intro-text,
  .business__inner-content {
    font-size: 17px;
  }
  .research__excerpt {
    font-size: 16px;
  }
}

/* ---------- Business ---------- */

.business {
  padding: 30px 0 150px;
}
.business__inner-title {
  color: #0f50a8;
  margin-bottom: 60px;
}
.business__inner-content {
  max-width: 1177px;
  margin-bottom: 80px;
}
.business__inner-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.businessImage {
  overflow: hidden;
}
.businessImage__inner {
  position: relative;
  width: 100%;
  padding-bottom: 75%;
}
.businessImage__inner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}
.businessImage:hover img {
  transform: scale(1.05);
}

@media (max-width: 1180px) {
  .business {
    padding: 30px 0 70px;
  }
  .business__inner-title {
    margin-bottom: 40px;
  }
  .business__inner-content {
    margin-bottom: 50px;
  }
}
@media (max-width: 750px) {
  .business {
    padding: 30px 0 50px;
  }
  .business__inner-title {
    margin-bottom: 30px;
  }
  .business__inner-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}
