.lp-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}

.lp-slideshow.is-dragging {
  cursor: grabbing;
}

.lp-slides {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
  will-change: transform;
  /* transition is applied inline by slideshow.js so it can be toggled
     off for the seamless loop wrap-around */
}

.lp-pr-card {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.lp-pr-card-link {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  color: var(--off-white);
  text-decoration: none;
  pointer-events: none;
}

.lp-pr-body {
  pointer-events: auto;
}

.lp-pr-image-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: grab;
  user-select: none;
}

.lp-slideshow.is-dragging .lp-pr-image-wrapper {
  cursor: grabbing;
}

.lp-pr-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.lp-pr-body {
  align-self: stretch;
  box-sizing: border-box;
  width: 100%;
  margin-top: auto;
  padding: clamp(96px, 18vh, 220px) max(var(--spacer), (100% - var(--page-width)) / 2) clamp(24px, 5vh, 72px);
  background: linear-gradient(to bottom, transparent 0%, color-mix(in srgb, var(--black-grey) 78%, transparent) 55%, var(--black-grey) 100%);
}

.lp-pr-title,
.lp-pr-subtitle,
.lp-pr-info {
  margin: 0;
}

.lp-pr-title {
  font-size: clamp(1.6rem, 3vw, 3.2rem);
  font-weight: 500;
}

.lp-pr-title:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent-red);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.12em;
}

.lp-pr-subtitle {
  margin-top: 4px;
  font-size: clamp(1rem, 1.5vw, 1.4rem);
}

.lp-pr-info {
  margin-top: 8px;
  font-size: 0.95rem;
}

.lp-slideshow-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.lp-slideshow-controls {
  position: absolute;
  left: 50%;
  width: min(var(--page-width), 100%);
  top: 45%;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
  transform: translate(-50%, -50%);
}

.lp-slideshow-button {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  color: var(--off-white);
  background: transparent;
  font-size: 2rem;
  text-shadow: 0 1px 4px color-mix(in srgb, var(--black-grey) 75%, transparent);
  line-height: 1;
  cursor: pointer;
  transition: opacity 180ms ease, color 180ms ease;
  transform: rotate(-135deg);
  opacity: 0.3;
}

.lp-slideshow-button--previous span {
  transform: rotate(180deg);
}

.lp-slideshow-button:hover,
.lp-slideshow-button:focus-visible {
  color: var(--off-white);
  opacity: 1;
}

.lp-slideshow-button:focus-visible {
  outline: 3px solid var(--off-white);
  outline-offset: 3px;
}

.lp-slideshow-button:disabled {
  cursor: default;
  opacity: 0.5;
}

@media (prefers-reduced-motion: reduce) {
  .lp-slides {
    transition: none !important;
  }
}