/* Joakim selected works slideshow — clean version */

html,
body {
  background: #000 !important;
  margin: 0;
  padding: 0;
  overflow: hidden !important;
}

main,
.container,
.content,
customhtml {
  background: #000 !important;
  overflow: hidden !important;
  max-width: 100% !important;
}

body {
  font-family: "Trade Gothic", "TradeGothic", Arial, sans-serif !important;
  overscroll-behavior: none;
}

/* Slides */

.jd-slide {
  display: none;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: auto !important;
  height: auto !important;
  padding: 14px;
  overflow: hidden !important;
  background: #000 !important;
  justify-content: center;
  align-items: center;
  cursor: pointer !important;
}

.jd-slide img {
  display: block;
  max-width: 92vw !important;
  max-height: 78vh !important;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: auto;
  border: 0;
  padding: 0;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer !important;
}

/* Text */

.jd-top-left,
.jd-top-right,
.jd-bottom-left {
  position: fixed;
  z-index: 9999;
  font-family: "Trade Gothic", "TradeGothic", Arial, sans-serif !important;
  font-size: 13px;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #fff;
  cursor: text !important;
  user-select: text !important;
  -webkit-user-select: text !important;
}

.jd-top-left {
  top: 14px;
  left: 14px;
  max-width: 44%;
}

.jd-top-right {
  top: 14px;
  right: 14px;
  max-width: 44%;
  text-align: right;
}

.jd-bottom-left {
  left: 14px;
  bottom: 14px;
  max-width: 72%;
}

.jd-top-right a {
  color: #fff !important;
  text-decoration: none !important;
}

/* Non-clickable text zones */

.jd-safe-top,
.jd-safe-bottom {
  position: fixed;
  left: 0;
  width: 100%;
  z-index: 9998;
  cursor: default !important;
}

.jd-safe-top {
  top: 0;
  height: 70px;
}

.jd-safe-bottom {
  bottom: 0;
  height: 70px;
}

/* Mobile */

@media screen and (max-width: 768px) {
  .jd-slide {
    padding: 8px;
  }

  .jd-slide img {
    max-width: 92vw !important;
    max-height: 62vh !important;
  }

  .jd-top-left,
  .jd-top-right,
  .jd-bottom-left {
    font-size: 13px !important;
    line-height: 1.18 !important;
    letter-spacing: 0.03em !important;
  }

  .jd-top-left {
    top: 34px !important;
    left: 26px !important;
    max-width: 42% !important;
  }

  .jd-top-right {
    top: 34px !important;
    right: 26px !important;
    max-width: 38% !important;
  }

  .jd-bottom-left {
    left: 26px !important;
    bottom: 28px !important;
    max-width: 72% !important;
  }

  .jd-safe-top {
    height: 82px !important;
  }

  .jd-safe-bottom {
    height: 82px !important;
  }
}
/* One-off fullscreen slide */

.jd-slide.jd-full img {
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
}
/* Fullscreen DPM slide — edge to edge */

.jd-slide.jd-full {
  padding: 0 !important;
}

.jd-slide.jd-full img {
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  margin: 0 !important;
}
.jd-slide {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}