/* Original supplied photograph; alignment and fading are CSS only. */
.cover.ap-home-cover {
  position: relative;
  overflow: hidden;
  background: #cedfee;
}
.ap-home-cover .ap-home-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 52%;
  max-width: 960px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.16) 10%, rgba(0,0,0,.7) 26%, #000 42%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.16) 10%, rgba(0,0,0,.7) 26%, #000 42%);
}
.ap-home-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 25%;
}
.ap-home-cover .ap-home-copy {
  width: 56%;
}
.ap-home-cover .ap-home-copy h1:first-child {
  color: #195073;
  font-size: clamp(32px, 3.35vw, 48px);
  line-height: 1.18;
}
.ap-home-cover .ap-home-copy h1.lead-20,
.ap-home-cover .ap-home-copy p {
  color: #3e5c71 !important;
}
@media (min-width: 768px) and (max-width: 1199px) {
  .ap-home-cover .ap-home-photo {
    width: 44%;
    -webkit-mask-image: linear-gradient(to right, transparent, rgba(0,0,0,.65) 65px, #000 135px);
    mask-image: linear-gradient(to right, transparent, rgba(0,0,0,.65) 65px, #000 135px);
  }
  .ap-home-photo img {
    object-position: 65% 35%;
  }
}
@media (max-width: 767px) {
  .ap-home-cover .ap-home-photo {
    position: relative;
    width: 100%;
    max-width: none;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .ap-home-photo img {
    height: auto;
  }
  .ap-home-photo::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 70px;
    background: linear-gradient(to bottom, rgba(206,223,238,0), #cedfee);
    pointer-events: none;
  }
  .ap-home-cover > .pi-texture {
    display: none;
  }
  .ap-home-cover > .pi-section {
    padding-top: 32px !important;
    padding-bottom: 36px !important;
  }
  .ap-home-cover .ap-home-copy {
    width: 100%;
  }
  .ap-home-cover .ap-home-copy h1:first-child {
    font-size: 32px;
  }
  .ap-home-cover .ap-home-copy h1.lead-20 {
    margin-top: 0 !important;
    font-size: 17px;
  }
  .ap-home-cover + .pi-section-w .section-relative {
    margin-top: 0;
  }
}
