/*
A simple little SCSS mixin for creating scrim gradients
Inspired by Andreas Larson - https://github.com/larsenwork
https://css-tricks.com/easing-linear-gradients/
*/
/* HIGHTLIGHT GRID STYLE - reusable - for FacetWp */
/* ------------------------------------ *\
  #PHOTOGALLERY
\* ------------------------------------ */
/* GALLERY SECTION */
.opd-photogallery-section {
  --_photogallery-section-bg: var(--photogallery-section-bg, hsl(213deg, 16%, 13%));
  --_photogallery-section-text-color: var(--photogallery-section-text-color, #ffffff);
  --accessible-hidden-text-focusable-bg: hsl(213deg, 16%, 13%);
  --accessible-hidden-text-focusable-color: var(--_photogallery-section-text-color);
  background-color: var(--_photogallery-section-bg);
}

/* Overriding and customizations of LightBox Gallery */
.opd-photogallery {
  --_photogallery-v-padding: var(--photogallery-v-padding, clamp(35px, 5vw, 55px));
  --_photogallery-bg: var(--photogallery-bg, var(--_photogallery-section-bg));
  --_photogallery-text-color: var(--photogallery-text-color, var(--_photogallery-section-text-color));
  --_photogallery-padding-bottom: var(--photogallery-padding-bottom, 100%);
  --_photogallery-thumb-wrapper-float: var(--photogallery-thumb-wrapper-float, unset);
  --_photogallery-thumb-size: var(--photogallery-thumb-size, clamp(55px,9.5vw,90px));
  --_photogallery-thumb-border-radius: var(--photogallery-thumb-border-radius, " ");
  --_photogallery-button-size: var(--photogallery-button-size, 45px);
  --_photogallery-button-font-size: var(--photogallery-button-font-size, 32px);
  --_photogallery-button-bg-hover: var(--photogallery-button-bg-hover, hsla(0, 0%, 100%, 0.2));
  width: 100%;
  height: 0;
  padding-bottom: var(--_photogallery-padding-bottom);
  color: var(--_photogallery-text-color);
  /* Buttons */
  /* HAS SINGLE IMAGE */
  /* hide arrows */
}
.opd-photogallery__caption {
  white-space: normal;
}
.opd-photogallery__caption .opd-photogallery__caption-title {
  font-family: "Nib Pro", serif;
}
.opd-photogallery__caption .opd-photogallery__caption-description {
  font-family: "Lora", serif;
  font-size: clamp(0.75rem, 1rem + 1.5vw, 0.875rem);
}
.opd-photogallery__item {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(100%);
          clip-path: inset(100%);
  white-space: nowrap;
  opacity: 0;
}
.opd-photogallery[style*="position: relative;"] .opd-photogallery__item {
  /* HIDE GALLERY BASE FOR INLINE GALLERY - even for  */
  display: none;
}
.opd-photogallery .lg-backdrop {
  background-color: var(--_photogallery-bg) !important;
}
.opd-photogallery .lg-img-wrap {
  padding-top: var(--_photogallery-v-padding);
  padding-bottom: var(--_photogallery-v-padding);
}
.opd-photogallery .lg-thumb-outer {
  margin-top: 2em;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  background-color: transparent;
}
.opd-photogallery .lg-thumb-item {
  width: var(--_photogallery-thumb-size) !important;
  height: var(--_photogallery-thumb-size) !important;
  border-radius: var(--_photogallery-thumb-border-radius);
  border-color: transparent;
}
.opd-photogallery .lg-thumb-item.active, .opd-photogallery .lg-thumb-item:hover {
  border-color: currentColor;
}
.opd-photogallery .lg-thumb-item:focus-visible {
  border-color: var(--_photogallery-bg);
  outline: 2px solid var(--outline-color);
}
.opd-photogallery .lg-icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: var(--_photogallery-button-size);
  height: var(--_photogallery-button-size);
  border-radius: 50%;
  float: unset;
}
.opd-photogallery .lg-icon:focus-visible {
  outline: 2px solid currentColor;
  border-radius: 50%; /* override lg style */
}
.opd-photogallery .lg-toolbar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.opd-photogallery .lg-toolbar .lg-icon {
  margin-right: 0.9375rem;
  border: 1px solid;
}
.opd-photogallery .lg-counter {
  -webkit-box-ordinal-group: 0;
      -ms-flex-order: -1;
          order: -1;
  margin-right: auto;
  font-family: "Nib Pro", serif;
}
.opd-photogallery .lg-counter,
.opd-photogallery .lg-prev,
.opd-photogallery .lg-next,
.opd-photogallery .lg-icon {
  /* set color for graphic element, same as general section color */
  color: inherit;
}
.opd-photogallery .lg-prev,
.opd-photogallery .lg-next {
  width: var(--_photogallery-button-size);
  height: var(--_photogallery-button-size);
  background-color: var(--_photogallery-bg);
  font-size: var(--_photogallery-button-font-size);
}
.opd-photogallery .lg-prev::after {
  content: "\f053";
  font-family: "Font Awesome 6 Pro" !important;
  speak: none;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.opd-photogallery .lg-next::before {
  content: "\f054";
  font-family: "Font Awesome 6 Pro" !important;
  speak: none;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.opd-photogallery .lg-prev,
.opd-photogallery .lg-next,
.opd-photogallery .lg-icon {
  -webkit-backdrop-filter: blur(100px);
          backdrop-filter: blur(100px);
}
.opd-photogallery .lg-prev:hover, .opd-photogallery .lg-prev:focus,
.opd-photogallery .lg-next:hover,
.opd-photogallery .lg-next:focus,
.opd-photogallery .lg-icon:hover,
.opd-photogallery .lg-icon:focus {
  background-color: var(--_photogallery-button-bg-hover);
}
.opd-photogallery .lg-sub-html {
  text-align: left;
}
.opd-photogallery .lg-inline .lg-sub-html {
  padding-left: 0;
}
.opd-photogallery.has-single-image .lg-next,
.opd-photogallery.has-single-image .lg-prev {
  display: none !important;
}

/* ------------------------------------ *\
  #MEDIA-QUERIES
\* ------------------------------------ */
@media all and (min-width: 768px) {
  .opd-photogallery {
    --photogallery-padding-bottom: 60%;
    --photogallery-thumb-border-radius: " ";
  }
  .opd-photogallery .lg-sub-html {
    max-width: 70ch;
  }
}