.elementor-kit-522{--e-global-color-primary:#FFFFFF;--e-global-color-secondary:#000000;--e-global-color-text:#FFFFFF;--e-global-color-accent:#AF8F5D;--e-global-color-a0e7071:#B38BF5;--e-global-color-960240b:#121212;--e-global-color-dde62bc:#BEB8CC;--e-global-typography-primary-font-family:"Inter";--e-global-typography-primary-font-weight:400;--e-global-typography-primary-line-height:2em;--e-global-typography-secondary-font-family:"Inter";--e-global-typography-secondary-font-weight:400;--e-global-typography-secondary-line-height:1.4em;--e-global-typography-text-font-family:"Inter";--e-global-typography-text-font-weight:300;--e-global-typography-text-line-height:1.4em;--e-global-typography-accent-font-family:"Inter";--e-global-typography-accent-font-weight:500;--e-global-typography-accent-line-height:1.4em;background-color:var( --e-global-color-secondary );color:var( --e-global-color-primary );--e-page-transition-entrance-animation:e-page-transition-fade-out;--e-page-transition-animation-duration:500ms;}.elementor-kit-522 button,.elementor-kit-522 input[type="button"],.elementor-kit-522 input[type="submit"],.elementor-kit-522 .elementor-button{background-color:var( --e-global-color-accent );color:var( --e-global-color-primary );}.elementor-kit-522 button:hover,.elementor-kit-522 button:focus,.elementor-kit-522 input[type="button"]:hover,.elementor-kit-522 input[type="button"]:focus,.elementor-kit-522 input[type="submit"]:hover,.elementor-kit-522 input[type="submit"]:focus,.elementor-kit-522 .elementor-button:hover,.elementor-kit-522 .elementor-button:focus{background-color:var( --e-global-color-text );color:var( --e-global-color-secondary );}.elementor-kit-522 e-page-transition{background-color:var( --e-global-color-secondary );}.elementor-kit-522 p{margin-block-end:5px;}.elementor-kit-522 a{font-weight:500;}.elementor-kit-522 h1{color:var( --e-global-color-accent );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );line-height:var( --e-global-typography-primary-line-height );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-kit-522 h1{line-height:var( --e-global-typography-primary-line-height );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:650px;}.e-con{--container-max-width:650px;}}@media(max-width:767px){.elementor-kit-522{--e-global-typography-text-font-size:14px;--e-global-typography-text-line-height:1.5em;}.elementor-kit-522 h1{line-height:var( --e-global-typography-primary-line-height );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* ==
   MAIN PREVIEW (VIDEO + HOVER IMAGE)
  == */

.main-preview-wrap {
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

/* Hover image layer */
#main-display {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.12s ease;
}

#main-display.is-active {
  opacity: 1;
  visibility: visible;
}

#main-display img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}


/* ==
   THUMB SLIDER (ARROWS + TRACK)
   == */

.thumb-slider {
  display: flex;
  align-items: center;
  gap: 12px;
}


/* ==
   THUMB TRACK (SCROLL AREA) == */

.thumb-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;

    flex: 1 1 auto;
  min-width: 0;

  /* Optional padding so items don't sit hard against arrows */
  padding: 0 6px;
}

/* Optional: hide scrollbar */
.thumb-track::-webkit-scrollbar {
  height: 0;
}
.thumb-track {
  scrollbar-width: none;
}


/* ==
   THUMB ITEMS (EACH THUMB CONTAINER)
   == */

.thumb-item {
  position: relative;

  /* Fixed-width items*/
  flex: 0 0 130px;
  width: 130px; /* keep for clarity */
}


/* Thumbnail image */
.thumb-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.12s ease, transform 0.12s ease, box-shadow 0.12s ease;
}
/* Hover (non-active) */
.thumb-item:hover img {
   box-shadow: 0 0 0 15px #B38BF5;
}

/* Active thumb */
.thumb-item.is-active img {
  transform: scale(1.02);
  opacity: 1;
}

/* Dim non-active thumbnails */
.thumb-item:not(.is-active) img {
  opacity: 1;
}
.thumb-item {
  flex: 0 0 130px;
}

@media (max-width: 767px) {
  .thumb-item {
    flex: 0 0 110px;
  }
}

.thumb-track {
  gap: 6px;
}

/* Alternative Project Page Layout Grid settings */
/* Hover (non-active) */
.gallery-thumb:hover img {
   box-shadow: 0 0 0 15px #B38BF5;
}

/* Active thumb */
.gallery-thumb.is-active img {
  transform: scale(1.02);
  opacity: 1;
}


/* ==
   VIEW OVERLAY
   == */

.view-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #B38BF5;
  color: #fff;

  font-weight: 600;
  letter-spacing: 0.08em;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
}

.thumb-item.is-active .view-label {
  opacity: 1;
}

/* HARD OVERRIDE Elementor flex-grow on thumbnail items */
.thumb-track > .e-con {
  flex: 0 0 130px !important;
  width: 130px !important;
  max-width: 130px !important;
}
@media (max-width: 767px) {
  .thumb-track > .e-con {
    flex: 0 0 110px !important;
    width: 110px !important;
    max-width: 110px !important;
  }
}/* End custom CSS */