/* DiviPerfect lightbox (assets/lightbox/lightbox.js). Lower specificity than Divi's own rules (:where). */
html.dp-lb-lock { overflow: hidden; padding-right: var(--dp-scroll-bar, 0px); }
:where(.dp-lb) {
  position: fixed; inset: 0; z-index: 999999;
  display: flex; align-items: center; justify-content: center;
  font-family: inherit; color: #f1f1f0;
}
:where(.dp-lb)[hidden] { display: none; }
:where(.dp-lb) .dp-lb-shade {
  position: absolute; inset: 0;
  background: var(--dp-lb-bg, rgba(6, 6, 6, .92));
  opacity: 0; transition: opacity .3s ease;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
:where(.dp-lb.dp-lb-open) .dp-lb-shade { opacity: 1; }
:where(.dp-lb) .dp-lb-stage {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 64px 72px; box-sizing: border-box;
  touch-action: none; user-select: none; -webkit-user-select: none;
}
:where(.dp-lb) .dp-lb-figure {
  margin: 0; max-width: 100%; max-height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
:where(.dp-lb) .dp-lb-img {
  display: block; max-width: 100%; max-height: calc(100vh - 160px); width: auto; height: auto;
  object-fit: contain; border-radius: 10px; box-shadow: var(--dp-sh, 0 30px 80px rgba(0, 0, 0, .45));
  transform-origin: center; will-change: transform;
}
:where(.dp-lb) .dp-lb-cap {
  max-width: 720px; text-align: center; font-size: 15px; line-height: 1.5; color: rgba(241, 241, 240, .86);
}
:where(.dp-lb) .dp-lb-count {
  position: absolute; z-index: 2; top: 22px; left: 24px;
  font-size: 13px; letter-spacing: .04em; color: rgba(241, 241, 240, .72); font-variant-numeric: tabular-nums;
}
:where(.dp-lb) .dp-lb-btn {
  position: absolute; z-index: 2; width: 46px; height: 46px; padding: 0; margin: 0;
  display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(241, 241, 240, .18); border-radius: 50%;
  background: rgba(12, 12, 14, .55); color: #f1f1f0;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
:where(.dp-lb) .dp-lb-btn[hidden] { display: none; }
:where(.dp-lb) .dp-lb-btn:hover { background: var(--dp-g-accent, #2c59fa); border-color: transparent; }
:where(.dp-lb) .dp-lb-btn:focus-visible { outline: 2px solid var(--dp-g-accent, #2c59fa); outline-offset: 3px; }
:where(.dp-lb) .dp-lb-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:where(.dp-lb) .dp-lb-close { top: 14px; right: 16px; }
:where(.dp-lb) .dp-lb-prev { left: 16px; top: 50%; margin-top: -23px; }
:where(.dp-lb) .dp-lb-next { right: 16px; top: 50%; margin-top: -23px; }
:where(.dp-lb) .dp-lb-in-r { animation: dp-lb-in-r .38s cubic-bezier(.2, .8, .2, 1); }
:where(.dp-lb) .dp-lb-in-l { animation: dp-lb-in-l .38s cubic-bezier(.2, .8, .2, 1); }
@keyframes dp-lb-in-r { from { opacity: 0; transform: translateX(48px); } to { opacity: 1; transform: none; } }
@keyframes dp-lb-in-l { from { opacity: 0; transform: translateX(-48px); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) {
  :where(.dp-lb) .dp-lb-stage { padding: 56px 12px 72px; }
  :where(.dp-lb) .dp-lb-prev, :where(.dp-lb) .dp-lb-next { top: auto; bottom: 14px; margin-top: 0; }
  :where(.dp-lb) .dp-lb-prev { left: calc(50% - 56px); }
  :where(.dp-lb) .dp-lb-next { right: calc(50% - 56px); }
}
@media (prefers-reduced-motion: reduce) {
  :where(.dp-lb) .dp-lb-shade, :where(.dp-lb) .dp-lb-figure { transition: none; }
}

/* Built-In Shadows off (the module's dp-noshadow class): the blurred shadows above use these. */
.dp-noshadow { --dp-sh: none; --dp-sh-o: 0 0 #0000; }
