/* Load last: service cards follow their own content height. */
.custom-inner-page .custom-hero {
  height: auto;
  min-height: 36.458333vw;
  padding: 15.828125vw 24px 6vw;
  box-sizing: border-box;
}
.custom-inner-page .custom-hero-copy {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: 100%;
  word-wrap: break-word;
}
.custom-inner-page .custom-service-list {
  display: block;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 4.427083vw 12.604166% 4.427083vw 12.135417%;
}
.custom-inner-page .custom-service-card {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  display: flex;
  align-items: stretch;
  width: 100%;
  height: auto;
  min-height: 21.71875vw;
  max-height: none;
}
.custom-inner-page .custom-service-card:nth-child(n) { top: auto; }
.custom-inner-page .custom-service-card + .custom-service-card { margin-top: 3.125vw; }
.custom-inner-page .custom-service-card.is-reversed { flex-direction: row-reverse; }
.custom-inner-page .custom-service-photo,
.custom-inner-page .custom-service-card.is-reversed .custom-service-photo {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  flex: 0 0 47.61%;
  width: 47.61%;
  min-width: 0;
  height: auto;
  min-height: 21.71875vw;
}
.custom-inner-page .custom-service-photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.custom-inner-page .custom-service-copy,
.custom-inner-page .custom-service-card.is-reversed .custom-service-copy {
  position: static;
  display: flex;
  flex-direction: column;
  flex: 1 1 0%;
  width: auto;
  min-width: 0;
  height: auto;
  padding: 3.760417vw 2.65vw 2.6vw 2.864584vw;
  box-sizing: border-box;
  word-wrap: break-word;
}
.custom-inner-page .custom-service-copy h2 {
  height: auto;
  line-height: 1.4;
  white-space: normal;
  word-wrap: break-word;
}
.custom-inner-page .custom-service-description {
  height: auto;
  max-height: none;
  margin-left: 0;
  overflow: visible;
}
.custom-inner-page .custom-service-description p {
  height: auto;
  max-height: none;
  line-height: 1.9;
  word-wrap: break-word;
}
.custom-inner-page .custom-service-description img { max-width: 100%; height: auto; }
.custom-inner-page .custom-service-more {
  position: static;
  align-self: flex-start;
  max-width: 100%;
  height: auto;
  margin-top: 1.8vw;
  line-height: 1.5;
  white-space: normal;
  word-wrap: break-word;
}
.custom-inner-page .custom-service-more > span:last-child { min-width: 0; }
@media (max-width: 1199px) {
  .custom-inner-page .custom-hero { min-height: 360px; padding: 170px 24px 64px; }
  .custom-inner-page .custom-service-list { padding: 40px 24px 56px; }
  .custom-inner-page .custom-service-card { min-height: 340px; }
  .custom-inner-page .custom-service-card + .custom-service-card { margin-top: 32px; }
  .custom-inner-page .custom-service-photo,
  .custom-inner-page .custom-service-card.is-reversed .custom-service-photo { flex-basis: 50%; width: 50%; min-height: 340px; }
  .custom-inner-page .custom-service-copy,
  .custom-inner-page .custom-service-card.is-reversed .custom-service-copy { padding: 28px; }
  .custom-inner-page .custom-service-more { margin-top: 26px; }
}
@media (max-width: 767px) {
  .custom-inner-page .custom-service-list { padding: 32px 20px 40px; }
  .custom-inner-page .custom-service-card { display: block; min-height: 0; }
  .custom-inner-page .custom-service-card + .custom-service-card { margin-top: 24px; }
  .custom-inner-page .custom-service-photo,
  .custom-inner-page .custom-service-card.is-reversed .custom-service-photo {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
  }
  .custom-inner-page .custom-service-photo img { position: static; width: 100%; height: auto; }
  .custom-inner-page .custom-service-copy,
  .custom-inner-page .custom-service-card.is-reversed .custom-service-copy { padding: 24px; }
  .custom-inner-page .custom-service-more { margin-top: 20px; }
}
