/* Homepage three-panel slideshow approved for Design 1. */
:root {
  --slideshow-header: 113px;
}
.header-inner {
  min-height: 112px;
}
.brand {
  width: min(570px, 46vw);
  flex-shrink: 0;
}
.utility .wrap {
  font-size: 11px;
}
.care-slideshow {
  overflow: hidden;
}
.slideshow-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.slideshow-images {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #183d50;
}
.slideshow-images .care-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1200ms ease-in-out;
  will-change: opacity, transform;
}
.slideshow-images .care-slide.is-active {
  z-index: 2;
  opacity: 1;
}
.slideshow-images .care-slide.is-leaving {
  z-index: 1;
  opacity: 0;
}
.slideshow-images .care-slide:nth-child(1).is-active,
.slideshow-images .care-slide:nth-child(1).is-leaving {
  animation: ken-burns-left 8s linear both;
}
.slideshow-images .care-slide:nth-child(2).is-active,
.slideshow-images .care-slide:nth-child(2).is-leaving {
  animation: ken-burns-center 8s linear both;
}
.slideshow-images .care-slide:nth-child(3).is-active,
.slideshow-images .care-slide:nth-child(3).is-leaving {
  animation: ken-burns-right 8s linear both;
}
@keyframes ken-burns-left {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.11) translate3d(-2%, -1%, 0);
  }
}
@keyframes ken-burns-center {
  from {
    transform: scale(1.09) translate3d(-2%, 0, 0);
  }
  to {
    transform: scale(1.03) translate3d(1.5%, -1%, 0);
  }
}
@keyframes ken-burns-right {
  from {
    transform: scale(1.03) translate3d(1.5%, 1%, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}
.care-slideshow .hero-plate::after {
  background: linear-gradient(
    90deg,
    rgba(10, 34, 44, 0.82) 0%,
    rgba(10, 34, 44, 0.58) 34%,
    rgba(10, 34, 44, 0.08) 70%,
    transparent 90%
  );
}
.care-slideshow .hero-copy {
  z-index: 2;
  color: #fff;
  text-shadow: 0 2px 24px rgb(0 0 0 / 24%);
}
.care-slideshow .hero-copy h1,
.care-slideshow .hero-copy .eyebrow,
.care-slideshow .hero-copy .lead,
.care-slideshow .hero-actions .text-link {
  color: #fff;
}
.care-slideshow .hero-actions .button {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
  text-shadow: none;
}
.care-slideshow .hero-foot {
  z-index: 3;
  color: #fff;
}
.care-slideshow .hero-caption {
  color: #fff;
  text-shadow: 0 1px 8px rgb(0 0 0 / 40%);
}
.slideshow-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.slide-dot {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  position: relative;
}
.slide-dot::after {
  content: "";
  position: absolute;
  inset: 18px 7px;
  background: rgb(255 255 255 / 55%);
  transition:
    background 180ms ease,
    transform 180ms ease;
}
.slide-dot.is-active::after {
  background: #fff;
  transform: scaleY(2);
}
.slide-pause {
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid rgb(255 255 255 / 72%);
  background: rgb(10 34 44 / 72%);
  color: #fff;
  font: inherit;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.slide-dot:focus-visible,
.slide-pause:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .header-inner {
    min-height: 112px;
    padding-block: 10px 4px;
    gap: 0;
  }
  .brand {
    width: 100%;
    min-height: 48px;
    flex-shrink: 1;
  }
  .brand img {
    width: min(570px, 100%);
    margin-inline: auto;
  }

  .utility .wrap {
    font-size: 10px;
    gap: 12px;
  }
  .care-slideshow {
    display: flex;
    flex-direction: column;
  }
  .care-slideshow .hero-copy {
    color: var(--ink);
    text-shadow: none;
  }
  .care-slideshow .hero-copy h1,
  .care-slideshow .hero-copy .eyebrow,
  .care-slideshow .hero-copy .lead,
  .care-slideshow .hero-actions .text-link {
    color: var(--ink);
  }
  .care-slideshow .hero-foot {
    background: #183d50;
    padding: 10px var(--gutter);
  }
  .slideshow-images .care-slide {
    object-position: center;
  }
}
@media print {
  .slideshow-controls {
    display: none;
  }
  .slideshow-images .care-slide:not(.is-active) {
    display: none;
  }
}

/* Studioality minimum text size. */
.utility .wrap,
.slide-pause {
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .slideshow-images .care-slide,
  .slideshow-images .care-slide.is-active,
  .slideshow-images .care-slide.is-leaving {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
