.jl-slider {
  --jl-ivory: #f7f3e9;
  --jl-ink: #111;
  width: 100%;
}
.jl-slider__stage { width: 100%; }
.jl-slider__slide { margin: 0; }
.jl-slider__slide[hidden] { display: none !important; }

/* The frame stays full-width so the left/right arrows remain where the
   approved homepage concept placed them. */
.jl-slider__image-frame {
  position: relative;
  width: 100%;
  background: var(--jl-ink);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jl-slider__image {
  display: block;
  height: auto;
}

/* Slide 1 is the deliberately panoramic introductory image. */
.jl-slider__slide--intro .jl-slider__image {
  width: 100%;
  max-width: none;
}

/* Real artworks are never cropped. A 1448 × 1086 image is shown complete,
   centred inside the wide hero with dark breathing room at the sides. */
.jl-slider__slide--artwork .jl-slider__image {
  width: min(100%, 820px);
  max-height: 620px;
  object-fit: contain;
  object-position: center;
}

.jl-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 76px;
  border: 0;
  background: rgba(0,0,0,.18);
  color: #fff;
  font: 400 58px/1 Georgia, serif;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0 0 7px;
  z-index: 2;
}
.jl-slider__arrow:hover,
.jl-slider__arrow:focus-visible { background: rgba(0,0,0,.44); }
.jl-slider__arrow:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.jl-slider__arrow--prev { left: 14px; }
.jl-slider__arrow--next { right: 14px; }

.jl-slider__caption {
  text-align: center;
  border: 1px solid rgba(17,17,17,.18);
  border-top: 0;
  padding: 12px 24px 14px;
  background: var(--jl-ivory);
}
.jl-slider__title {
  margin: 0;
  font: 400 1.05rem/1.2 Georgia, 'Times New Roman', serif;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.jl-slider__caption p {
  margin: 7px 0 0;
  font: italic 1rem/1.5 Georgia, 'Times New Roman', serif;
  color: #5d574e;
}
.jl-slider-empty {
  border: 1px dashed rgba(17,17,17,.35);
  padding: 20px;
  background: #f7f3e9;
}

@media (max-width: 900px) {
  .jl-slider__slide--artwork .jl-slider__image {
    width: min(100%, 720px);
    max-height: none;
  }
}

@media (max-width: 700px) {
  .jl-slider__slide--artwork .jl-slider__image { width: 100%; }
  .jl-slider__arrow { width: 44px; height: 58px; font-size: 46px; }
  .jl-slider__arrow--prev { left: 6px; }
  .jl-slider__arrow--next { right: 6px; }
  .jl-slider__caption { padding: 11px 16px 13px; }
  .jl-slider__caption p { font-size: .94rem; }
}
