/* R9U - homepage-only, non-destructive restyling of CMS carousel controls. */
.nmr-hero[data-nmr-carousel] {
  position: relative;
  --nmr-r9u-purple: #7137a5;
  --nmr-r9u-dark: #28203e;
}
.nmr-hero[data-nmr-carousel] [data-nmr-slide][hidden],
.nmr-hero[data-nmr-carousel] [data-nmr-controls][hidden] { display: none !important; }
.nmr-hero[data-nmr-carousel] .nmr-slider-controls {
  position: static;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 62px;
  padding: 6px 100px 8px;
  gap: 15px;
}
.nmr-hero[data-nmr-carousel] .nmr-slide-pickers {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}
.nmr-hero[data-nmr-carousel] .nmr-slide-pickers [data-nmr-slide-to] {
  display: grid;
  place-items: center;
  width: 34px;
  min-width: 34px;
  height: 40px;
  min-height: 40px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  font-size: 0;
  color: transparent;
  cursor: pointer;
}
.nmr-hero[data-nmr-carousel] .nmr-slide-pickers [data-nmr-slide-to] span {
  display: block;
  width: 11px;
  height: 11px;
  border: 2px solid #baaaca;
  background: #fff;
  border-radius: 50%;
  font-size: 0;
  line-height: 0;
  box-shadow: none;
  transition: background-color .18s ease, transform .18s ease, border-color .18s ease;
}
.nmr-hero[data-nmr-carousel] .nmr-slide-pickers [data-nmr-slide-to][aria-pressed="true"] {
  background: transparent;
  border: 0;
  color: transparent;
}
.nmr-hero[data-nmr-carousel] .nmr-slide-pickers [data-nmr-slide-to][aria-pressed="true"] span {
  transform: scale(1.18);
  background: var(--nmr-r9u-purple);
  border-color: var(--nmr-r9u-purple);
}
.nmr-hero[data-nmr-carousel] .nmr-slide-pickers [data-nmr-slide-to]:hover span {
  border-color: var(--nmr-r9u-purple);
}
.nmr-hero[data-nmr-carousel] .nmr-slide-arrows [data-nmr-prev],
.nmr-hero[data-nmr-carousel] .nmr-slide-arrows [data-nmr-next] {
  position: absolute;
  z-index: 8;
  top: calc(50% - 32px);
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  transform: translateY(-50%);
  border-radius: 999px;
  border: 1px solid rgba(113, 55, 165, .18);
  background: rgba(255, 255, 255, .94);
  color: var(--nmr-r9u-dark);
  box-shadow: 0 6px 22px rgba(36, 27, 58, .13);
  font-size: 24px;
  cursor: pointer;
}
.nmr-hero[data-nmr-carousel] .nmr-slide-arrows [data-nmr-prev] { left: -16px; }
.nmr-hero[data-nmr-carousel] .nmr-slide-arrows [data-nmr-next] { right: -16px; }
.nmr-hero[data-nmr-carousel] .nmr-slide-arrows [data-nmr-prev]:hover,
.nmr-hero[data-nmr-carousel] .nmr-slide-arrows [data-nmr-next]:hover {
  color: var(--nmr-r9u-purple);
  background: #fff;
  border-color: var(--nmr-r9u-purple);
}
.nmr-hero[data-nmr-carousel] .nmr-slide-arrows [data-nmr-play] {
  position: absolute;
  right: 0;
  bottom: 9px;
  z-index: 9;
  width: auto;
  min-width: 102px;
  height: 40px;
  min-height: 40px;
  border: 1px solid #ded2e9;
  border-radius: 22px;
  background: #fff;
  color: #49256e;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
  padding: 8px 14px;
  box-shadow: none;
  cursor: pointer;
}
.nmr-hero[data-nmr-carousel] .nmr-slide-arrows [data-nmr-play]:hover { background: #f5effb; border-color: #7e45ae; }
.nmr-hero[data-nmr-carousel] .nmr-slider-controls button:focus-visible {
  outline: 3px solid #7e45ae;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .nmr-hero[data-nmr-carousel] .nmr-slide-arrows [data-nmr-prev],
  .nmr-hero[data-nmr-carousel] .nmr-slide-arrows [data-nmr-next] {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    top: calc(50% - 35px);
    font-size: 22px;
    box-shadow: 0 4px 14px rgba(36, 27, 58, .14);
  }
  .nmr-hero[data-nmr-carousel] .nmr-slide-arrows [data-nmr-prev] { left: -8px; }
  .nmr-hero[data-nmr-carousel] .nmr-slide-arrows [data-nmr-next] { right: -8px; }
  .nmr-hero[data-nmr-carousel] .nmr-slider-controls {
    min-height: 62px;
    padding: 6px 0 8px;
    justify-content: center;
  }
  .nmr-hero[data-nmr-carousel] .nmr-slide-pickers { margin-left: 0; margin-right: 0; }
  .nmr-hero[data-nmr-carousel] .nmr-slide-arrows [data-nmr-play] { right: 3px; bottom: 9px; min-width: 92px; padding-inline: 8px; }
}
@media (max-width: 370px) {
  .nmr-hero[data-nmr-carousel] .nmr-slide-arrows [data-nmr-prev],
  .nmr-hero[data-nmr-carousel] .nmr-slide-arrows [data-nmr-next] { width: 36px; min-width: 36px; height: 36px; min-height: 36px; }
  .nmr-hero[data-nmr-carousel] .nmr-slider-controls { padding-right: 0; }
  .nmr-hero[data-nmr-carousel] .nmr-slide-arrows [data-nmr-play] { min-width: 87px; }
}
@media (prefers-reduced-motion: reduce) {
  .nmr-hero[data-nmr-carousel] .nmr-slide-pickers [data-nmr-slide-to] span { transition: none; }
}
