/* ==========================================================
   PLUGIN OVERRIDES
========================================================== */

/* Fancybox */
.fancybox-container .fancybox-slide {
  padding-left: 16px;
  padding-right: 16px;
}


/* ==========================================================
   LAYOUT / CONTAINERS
========================================================== */

@media (min-width: 1024px) {
  .shell.shell--alt {
    max-width: 1380px;
  }

  .ss-video-section .shell {
    max-width: 1316px;
  }
}


/* ==========================================================
   UTILITIES
========================================================== */

.ss-stretched-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ss-align-center {
  text-align: center;
}

.ss-bg-sec {
  background-color: var(--body-background-secondary);
}

.ss-sec-margin {
  margin-block: 40px;
}

.ss-sec-padding {
  padding-block: 40px;
}

.ss-btn-wrapper {
  margin-top: 24px;
}


/* Responsive Utilities */

@media (min-width: 768px) {
  .ss-sec-margin {
    margin-block: 56px;
  }

  .ss-sec-padding {
    padding-block: 56px;
  }

  .ss-work-section .ss-btn-wrapper {
    margin-top: 40px;
  }
}

@media (min-width: 1024px) {
  .ss-sec-margin {
    margin-block: 80px;
  }

  .ss-sec-padding {
    padding-block: 80px;
  }

  .ss-work-section .ss-btn-wrapper {
    margin-top: 56px;
  }
}


/* ==========================================================
   BLOCK TITLE / TYPOGRAPHY
========================================================== */

.ss-block-title {
  max-width: 800px;
  margin: 0 auto 24px;
}

.ss-block-title.ss-block-title--center {
  text-align: center;
}

.ss-block-title :is(h1, h2) {
  line-height: 1.25;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0;
  color: #fff;
}

.ss-block-title :is(h1, h2) > span {
  color: var(--primary);
}

.ss-block-title h1 {
  font-size: clamp(2rem, 3vw + 1rem, 3.5rem);
}

.ss-block-title h2 {
  font-size: clamp(1.5rem, 3vw + 1rem, 2.625rem);
}

@media (min-width: 768px) {
  .ss-block-title {
    margin-bottom: 32px;
  }
}

@media (min-width: 1024px) {
  .ss-block-title {
    margin-bottom: 48px;
  }
}


/* ==========================================================
   BUTTONS
========================================================== */

.ss-btn {
  display: inline-block;
  text-align: center;
  min-width: 160px;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  background-color: var(--primary);
  color: var(--body-background-secondary);
  border: 1px solid var(--primary);
  border-radius: 4px;
  padding: 11px 26px;
  transition: all .3s ease-in-out;
}

.ss-btn:hover {
  color: #fff;
  background-color: transparent;
}

@media (min-width: 768px) {
  .ss-btn {
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  .ss-btn {
    font-size: 18px;
  }
}


/* ==========================================================
   PLAY BUTTON
========================================================== */

.ss-play-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  font-size: 16px;
  background-color: var(--primary);
  color: var(--body-background-primary);
  border-radius: 50%;
  box-shadow:
    rgba(224, 177, 21, 0.8) 0 0 0 4px,
    rgba(224, 177, 21, 0.5) 0 0 0 8px;
  margin: 8px;
}

@media (min-width: 768px) {
  .ss-play-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
    box-shadow:
      rgba(224, 177, 21, 0.8) 0 0 0 5px,
      rgba(224, 177, 21, 0.5) 0 0 0 10px;
    margin: 10px;
  }
}

@media (min-width: 1024px) {
  .ss-play-btn {
    width: 45px;
    height: 45px;
    font-size: 20px;
    box-shadow:
      rgba(224, 177, 21, 0.8) 0 0 0 6px,
      rgba(224, 177, 21, 0.5) 0 0 0 12px;
    margin: 12px;
  }
}


/* ==========================================================
   SLICK SLIDER
========================================================== */

.ss-hide-dots .slick-dots {
  display: none !important;
}

.ss-hide-arrow .slick-arrow {
  display: none !important;
}

/* Slick Arrows */

.ss-slick-arrow .slick-arrow {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition: all .2s;
}

.ss-slick-arrow .slick-arrow:hover {
  border-color: var(--primary);
}

.ss-slick-arrow .slick-arrow::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.4);
}

.ss-slick-arrow .slick-arrow:hover::before {
  color: var(--primary);
}

.ss-slick-arrow .slick-prev::before {
  content: "\f053";
}

.ss-slick-arrow .slick-next::before {
  content: "\f054";
}

.ss-slick-arrow .slick-prev {
  left: 0;
}

.ss-slick-arrow .slick-next {
  right: 0;
}

/* Slick Dots */

.ss-slick-dots .slick-dots {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  column-gap: 8px;
  row-gap: 4px;
  justify-content: center;
  margin: 0;
}

.ss-slick-dots.slick-slider {
  margin-bottom: 0;
}

.ss-slick-dots .slick-dots button {
  background-color: var(--body-background-secondary);
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 1px;
  text-indent: -9999px;
}

.ss-slick-dots .slick-dots li:not(:only-child) {
  margin-top: 48px;
}

.ss-slick-dots .slick-dots .slick-active button {
  background-color: var(--primary);
}

/* CLS Fix */
.ss-gallery-slider-for,
.ss-gallery-slider-nav,
.s-team-slider{
  @apply
  flex
  invisible
  ;
}

.ss-gallery-slider-for.slick-slider,
.ss-gallery-slider-nav.slick-slider,
.s-team-slider.slick-slider{	
  @apply
  block
  visible
  ;
}

@media (min-width: 768px) {
  .ss-slick-dots .slick-dots {
    column-gap: 12px;
  }
}

@media (min-width: 1024px) {
  .ss-slick-dots .slick-dots {
    column-gap: 24px;
  }
}


/* ==========================================================
   VIDEO SECTION
========================================================== */

.ss-video-section .slick-list {
  margin: 0 -10px;
}

.ss-video-section .slick-slide {
  padding: 0 10px;
}

.ss-video-main-wrapper {
  position: relative;
}

.ss-video-main-wrapper img {
  width: 100%;
  object-fit: cover;
  height: clamp(350px, 56.25vw, 545px);
}

.ss-gallery-slider-for {
  max-width: 1080px;
  margin: 0 auto;
}

.ss-gallery-slider-nav {
  padding: 0 40px;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .ss-gallery-slider-nav {
    padding: 0 56px;
  }

  .ss-video-main-wrapper .ss-video-info {
    padding: 20px;
  }
}

@media (min-width: 1024px) {
  .ss-gallery-slider-nav {
    padding: 0 74px;
  }

  .ss-video-main-wrapper .ss-video-info {
    padding: 30px;
  }
}

.ss-video-main-wrapper figure {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.ss-video-main-wrapper figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.36) 0.03%,
    rgba(0, 0, 0, 0.90) 75.57%,
    rgba(0, 0, 0, 0.90) 99.96%
  );
}

.ss-video-main-wrapper .ss-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ss-video-main-wrapper .ss-video-info {
  padding: 16px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 16px;
  align-items: flex-end;
}

.ss-video-main-wrapper .ss-video-info__text {
  flex: 1 1 0;
}

.ss-video-main-wrapper .ss-video-info__label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

.ss-video-main-wrapper .ss-video-info__title {
  font-size: 26px;
}

.ss-video-main-wrapper .ss-video-info__time {
  flex: 0 0 auto;
  display: inline-block;
  font-size: 14px;
  background-color: var(--body-background-secondary);
  padding: 2px 14px;
  border-radius: 100px;
  font-weight: 400;
}


/* Video Thumbnails */

.ss-video-thumb-wrapper {
  position: relative;
}

.ss-video-thumb-wrapper .ss-play-btn {
  box-shadow: none;
  margin: 0;
  position: absolute;
  width: 24px;
  height: 24px;
  left: 14px;
  bottom: 14px;
  font-size: 10px;
  opacity: 0;
  visibility: hidden;
  transition: all .2s ease-in-out;
}

.ss-video-thumb-wrapper figure {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.ss-video-thumb-wrapper figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--body-background-secondary);
  opacity: 0.8;
  transition: all .2s;
}

.ss-video-thumb-wrapper img {
  width: 100%;
  aspect-ratio: 1.3;
  object-fit: cover;
  transition: all .3s ease-in-out;
}

.ss-gallery-slider-nav .slick-current .ss-video-thumb-wrapper .ss-play-btn {
  opacity: 1;
  visibility: visible;
}

.ss-gallery-slider-nav .slick-current .ss-video-thumb-wrapper figure::after {
  opacity: 0;
}


/* ==========================================================
   TEAM SECTION
========================================================== */

.ss-team-slider .slick-list {
  margin: 0 -12px;
}

.ss-team-slider .slick-slide {
  padding: 0 12px;
}

.ss-team-card {
  position: relative;
  z-index: 1;
  min-height: 362px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  border-radius: 8px;
  overflow: hidden;
}

.ss-team-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.00) 0%,
    rgba(0, 0, 0, 0.36) 66%,
    #000 100%
  );
  z-index: -1;
}

.ss-team-card .ss-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.ss-team-card__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.ss-team-card__label {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: var(--primary);
}

.ss-team-card__title {
  font-size: 24px;
}


/* ==========================================================
   GALLERY GRID
========================================================== */

.ss-gallery-wrapper {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 355px;
  grid-auto-flow: dense;
}

.ss-gallery-wrapper.ss-gallery-wrapper--sm {
  grid-auto-rows: 253px;
}

.ss-gallery-wrapper--alt .ss-gallery-item:not(.ss-gallery-item--video)::after {
  opacity: 0;
}

.ss-gallery-item {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ss-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.00) -0.38%,
    rgba(0, 0, 0, 0.36) 65.87%,
    #000 100%
  );
  z-index: -1;
}

.ss-gallery-item figure {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.ss-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ss-gallery-item.ss-gallery-item--tall {
  grid-row: span 2;
}

.ss-gallery-item.ss-gallery-item--wide {
  grid-column: span 2;
}

.ss-gallery-item.ss-gallery-item--big {
  grid-column: span 2;
  grid-row: span 2;
}

.ss-gallery-item:not(.ss-gallery-item--video) .ss-play-btn {
  opacity: 0;
}


/* Responsive Gallery */

@media (max-width: 992px) {
  .ss-gallery-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .ss-gallery-wrapper {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .ss-gallery-item.ss-gallery-item--wide,
  .ss-gallery-item.ss-gallery-item--tall,
  .ss-gallery-item.ss-gallery-item--big {
    grid-column: span 1;
    grid-row: span 1;
  }
}


/* ==========================================================
   CATEGORY BUTTONS
========================================================== */

.ss-category-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.ss-work-section .ss-category-btns {
  margin-bottom: 40px;
}

@media (max-width: 575px) {
  .ss-category-btns {
    flex-direction: column;
  }
}

@media (min-width: 768px) {
  .ss-category-btns {
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .ss-category-btns {
    gap: 24px;
  }
}

.ss-category-btns .ss-category-item {
  display: inline-block;
  min-width: 120px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 4px;
  background-color: transparent;
  padding: 11px 20px;
  transition: all .3s ease-in-out;
}

@media (min-width: 768px) {
  .ss-category-btns .ss-category-item {
    min-width: 157px;
    padding: 11px 26px;
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  .ss-category-btns .ss-category-item {
    font-size: 18px;
  }
}

.ss-category-btns .ss-category-item.active,
.ss-category-btns .ss-category-item:hover {
  background-color: var(--primary);
  color: var(--body-background-secondary);
  border-color: var(--primary);
}
.ss-loading-sign{
  grid-column: 1 / -1;
  text-align: center;
}
.ss-loading-text{
  font-size: 20px;
  color: #fff;
}

.ss-loading-text {
  position: relative;
  padding-right: 40px;
}

.ss-loading-text::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 24px;
  border: 4px solid #ccc;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.btn-loading{
  opacity: 0.8;
  pointer-events: none;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}