/* Hero  */

.page-template-factory .archive-application:before {
  position: absolute;
  content: "";
  background-image: url("/wp-content/uploads/2022/07/logomark.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  left: 50%;
  transform: translateX(-50%);
  top: 10vh;
  width: 100%;
  height: 77vh;
  filter: brightness(0) invert(100%) sepia(100%) saturate(0%) hue-rotate(62deg)
    brightness(106%) contrast(103%) blur(10px);
  opacity: 0.23;
}
.page-template-factory .archive-application .top-section:after {
  top: calc(var(--supLineHeight) + 9vw);
}
@media only screen and (max-width: 767px) {
  .page-template-factory .archive-application .top-section:after {
    top: calc(var(--supLineHeight) + 30vw);
  }
}
@media only screen and (max-width: 767px) {
  .page-template-factory .archive-application .top-section.full-height {
    padding: 20vh 0 0vh;
  }
}
.page-template-factory
  .archive-application
  .top-section.circle-animation-line.animate-down-line:after {
  height: calc(var(--supLineHeight) - 18vw);
}
@media only screen and (max-width: 767px) {
  .page-template-factory
    .archive-application
    .top-section.circle-animation-line.animate-down-line:after {
    height: calc(var(--supLineHeight) - 60vw);
  }
}

.page-template-factory .title-wrapper img {
  margin: 0 auto;
  width: 35vw;
  max-width: 350px;
  aspect-ratio: 1;
  /* height: 18vw; */
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 10 !important;
}
@media only screen and (max-width: 767px) {
  .page-template-factory .title-wrapper img {
    width: 60vw;
    height: 60vw;
  }
}

.page-template-factory .title-wrapper {
  position: relative;
}

.page-template-factory .title-wrapper .top-section-category-name {
  display: inline-block;
  width: 50%;
  text-align: right;
  right: 0;
  top: -20%;
  z-index: 7;
  position: absolute;
  font-size: 22px;
  line-height: 1.3214285714em;
}

.page-template-factory .line {
  clip-path: polygon(0 25%, 100% 25%, 100% 100%, 0% 100%);
}
/* Repeater Items  */

/* .page-template-factory .twoColsBox__images {
  z-index: 10;
} */

.works-section img {
  max-width: 60%;
  height: 100%;
  object-fit: cover;
  margin-left: auto;
}

@media only screen and (max-width: 991px) {
  .works-section img {
    max-width: revert;
    height: 100%;
    object-fit: cover;
    margin-left: revert;
  }
}

.factory-subheading {
  font-size: 22px !important;
  text-align: center;
}

.twoColsBox-wrapper .twoColsBox-wrapper-inner .twoColsBox__container {
  /* grid-template-columns: 1fr 1fr !important; */
  grid-template-rows: revert !important;
  min-height: 400px;
  margin-bottom: 300px;
}

@media only screen and (max-width: 991px) {
  .twoColsBox-wrapper .twoColsBox-wrapper-inner .twoColsBox__container {
    grid-template-rows: 160px 1fr !important;
  }
}

.twoColsBox-wrapper picture {
  transform: translateY(0%) !important;
}

.twoColsBox-wrapper picture img {
  aspect-ratio: 16/9;
  object-fit: cover !important;
  min-height: 400px;
}

@media only screen and (max-width: 991px) {
  .twoColsBox-wrapper picture img {
    min-height: revert;
  }
}

.twoColsBox__info-container {
  background-color: white;
  width: 75%;
}

.twoColsBox__info {
  display: grid;
  grid-template-rows: auto 1fr auto;
  row-gap: 40px;
  width: 40%;
  height: revert !important;
  padding: 8% 6% 8% 4%;
  background-color: white;
}

@media only screen and (max-width: 991px) {
  .twoColsBox__info {
    width: 100%;
  }
}

.twoColsBox__link_text {
  width: fit-content;
  cursor: pointer;
  z-index: 100;
}

.slick-slider {
  position: revert !important;
}

.twoColsBox-wrapper .slick-list {
  z-index: 2;
}

.twoColsBox-wrapper .slick-dots {
  position: absolute;
  z-index: 1;
  left: 0 !important;
  height: revert !important;
  padding-bottom: 40px;
  width: 75% !important;
  transform: translateY(95%);
}

@media only screen and (max-width: 991px) {
  .twoColsBox-wrapper .slick-dots {
    bottom: 0 !important;
    padding-block: 20px !important;
    background-color: white !important;
    max-height: revert !important;
    width: 100% !important;
    transform: translateY(100%) !important;
  }
}

.page-template-factory
  .twoColsBox-wrapper--factory.twoColsBox__right
  .slick-dots {
  right: 0 !important;
}

/* Carousel  */

/* Initial state for all slides */
.slick-slide {
  transition: transform ease 600ms !important;
  z-index: 1 !important; /* Default z-index */
}

.slick-slide img {
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  transition: all ease 600ms !important;
}

/* State for the active slide */
.slick-active {
  z-index: 2 !important; /* Bring active slide to the front */
  transition: transform ease 600ms !important;
}

.slick-active img {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transition: all ease 600ms !important;
}

/* Flipped */

@media only screen and (min-width: 991px) {
  .twoColsBox__container--flipped .twoColsBox__info-container {
    justify-self: end;
  }

  .twoColsBox__container--flipped .twoColsBox__info {
    margin-left: auto;
  }

  .twoColsBox__container--flipped img {
    margin-left: revert !important;
  }

  .twoColsBox__container--flipped .slick-slide {
    transition: transform ease 600ms !important;
    z-index: 1 !important; /* Default z-index */
  }

  .twoColsBox__container--flipped .slick-slide img {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    transition: all ease 600ms !important;
  }

  .twoColsBox__container--flipped .slick-active {
    z-index: 2 !important; /* Bring active slide to the front */
    transition: transform ease 600ms !important;
  }

  .twoColsBox__container--flipped .slick-active img {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transition: all ease 600ms !important;
  }

  .twoColsBox__container--flipped .slick-dots {
    left: revert !important;
    right: 0 !important;
  }
}
