/* ===== scope ===== */
.datis-projects.projects-style-1 {
  position: relative;
}

/* titles above thumbs */
.datis-projects.projects-style-1 .projects-text-title {
  font-weight: 400;
  line-height: 88px;
  font-size: 44px;
  color: var(--datis-secondary-color);
}

.datis-projects.projects-style-1 .projects-text-subtitle {
  font-size: 16px;
  line-height: 36px;
  font-weight: 400;
  max-width: 513px;
  color: var(--datis-secondary-color);

}


.datis-projects.projects-style-1 h3.projects-text-title:before {
  content: '';
  display: block;
  position: absolute;
  width: 104px;
  height: 27px;
  border-radius: 1000px;
  background: var(--datis-primary-color);
  z-index: -1;
  top: 118px;
  right: 104px;
}


.datis-projects.projects-style-1 .projects-wrapper .col-right {
  max-width: 670px;
}


.datis-projects.projects-style-1 .projects-wrapper .col-right .projects-text {
  max-width: 550px;
  align-self: center;
  margin-right: -30px;
  gap: 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}


.datis-projects.projects-style-1 .projects-wrapper .col-right .projects-text .text-badge {
  width: 84px;
  height: 15px;
  border-radius: 1000px;
  background: var(--datis-primary-color);
  position: absolute;
  top: 122px;
  left: 19px;
  z-index: 0;
}

.datis-projects.projects-style-1 .projects-wrapper .col-right .projects-text .text-badge::before {
  content: '';
  width: 60px;
  height: 15px;
  border-radius: 1000px;
  background: var(--datis-secondary-color);
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 6;
  display: block;
}


.datis-projects.projects-style-1 .projects-wrapper .col-left {
  max-width: 465px;
}


.datis-projects.projects-style-1 .projects-wrapper .col-left .projects-card-img {
  max-height: 465px;
  max-width: 425px;
  border-radius: 20px;
}


.datis-projects.projects-style-1 .projects-main {
  position: relative;
  max-width: 465px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.datis-projects.projects-style-1 .projects-main-swiper {
  width: 100%;
  height: 100%;
}

.datis-projects.projects-style-1 .projects-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: #fff;
  padding: 20px;
}

.datis-projects.projects-style-1 .projects-card-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}


.datis-projects.projects-style-1 a.projects-card-title {
  font-weight: 400;
  font-size: 18px;
  line-height: 36px;
  text-align: right;
  color: var(--datis-secondary-color);
  text-decoration: none;
}

.datis-projects.projects-style-1 a.projects-card-title::before {
  content: '';
  display: inline-flex;
  margin-left: 8px;
  background: var(--datis-primary-color);
  width: 24px;
  height: 6px;
  border-radius: 1000px;
}

.datis-projects.projects-style-1 span.project-location {
  background: #fff;
  border-radius: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  font-weight: 400;
  font-size: 14px;
  line-height: 36px;
  color: rgba(9, 6, 37, 0.5);
  box-sizing: border-box;
  height: 36px;

}


.datis-projects.projects-style-1 .project-tags {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 16px 12px;
  height: 36px;
  background: #FFFFFF;
  border-radius: 1000px;
  flex: none;
  order: 0;
  flex-grow: 0;
}

.datis-projects.projects-style-1 .project-tags svg {
  margin-left: 6px;
}

.datis-projects.projects-style-1 .project-tags .project-tag-sep,
.datis-projects.projects-style-1 .project-tags .project-tag-link {
  font-weight: 400;
  font-size: 14px;
  line-height: 36px;
  text-align: right;
  color: rgba(9, 6, 37, 0.5);
}

.datis-projects.projects-style-1 .projects-meta {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
}


.datis-projects.projects-style-1 .projects-card-caption {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  gap: 5px;
  position: absolute;
  width: 401px;
  height: auto;
  left: calc(50% - 401px/2);
  bottom: 32px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid #F7F6FE;
  backdrop-filter: blur(9px);
  border-radius: 20px;
  z-index: 1;

}

/* nav + pagination */
.datis-projects.projects-style-1 .projects-main-nav {
  z-index: 3;
  display: flex;
  gap: 8px;
}

.datis-projects.projects-style-1 .projects-main-nav button {
  transform: rotate(180deg);
}

.datis-projects.projects-style-1 .projects-main .projects-main-header {
  display: flex;
  flex-direction: row;
  width: 80%;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  background: var(--datis-secondary-color);
  border-radius: 24px 24px 0px 0px;
  font-weight: 400;
  font-size: 16px;
  line-height: 36px;
  text-align: right;
  color: #F7F6FE;
  padding: 16px 24px;
  box-sizing: border-box;
  height: 48px;
  margin-bottom: -5px;
}

.datis-projects.projects-style-1 .projects-main .projects-main-header span {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 4px;
}

.datis-projects.projects-style-1 .projects-main-prev,
.datis-projects.projects-style-1 .projects-main-next {
  width: fit-content;
  height: auto;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}


.datis-projects.projects-style-1 .projects-main-prev svg path,
.datis-projects.projects-style-1 .projects-main-next:hover svg path {
  transition: all 300ms;
}

.datis-projects.projects-style-1 .projects-main-prev::before,
.datis-projects.projects-style-1 .projects-main-next:hover::before,
.datis-projects.projects-style-2 .projects-main-prev::before,
.datis-projects.projects-style-2 .projects-main-next:hover:before {
  content: '';
  position: absolute;
  width: 20px;
  height: 9px;
  border-radius: 1000px;
  background: var(--datis-primary-color);
  z-index: -1;
  top: 7.5px;
  right: 4px;
  transition: all 300ms;
}

.datis-projects.projects-style-2 .projects-main-prev::before,
.datis-projects.projects-style-2 .projects-main-next::before {
  top: unset;
  top: 3.5px;
}

.datis-projects.projects-style-1 .projects-main-prev::before {
  right: 21px;
}

.datis-projects.projects-style-2 .projects-main-prev::before {
  right: unset;
}

.datis-projects.projects-style-1 .projects-main-prev:hover svg path,
.datis-projects.projects-style-1 .projects-main-next:hover svg path {
  stroke: #fff;
  stroke-opacity: 1;
}

.datis-projects.projects-style-1 .projects-main-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 2;
}


.datis-projects.projects-style-1 .projects-wrapper {
  width: calc(var(--datis-container) - 24px);
}

/* thumbs (left column) */
.datis-projects.projects-style-1 .projects-thumbnail {
  position: relative;
}

.datis-projects.projects-style-1 .projects-thumbs {
  width: 100%;
}

.datis-projects.projects-style-1 .projects-thumb-img {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: 24px;
  background: #fff;
  padding: 10px;
  height: 132px;
  cursor: pointer;
  backdrop-filter: grayscale(1);
}

.datis-projects.projects-style-1 .projects-thumb-img:hover {
  backdrop-filter: grayscale(0);
}


.projects-filters {
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: ease-in-out 300ms;
}


.projects-filters button.projects-filter {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 8px 10px 8px 20px;
  gap: 10px;
  background: #F7F6FE;
  border: 1px solid rgba(9, 6, 37, 0.5);
  border-radius: 1000px;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 36px;
  text-align: center;
  color: rgba(9, 6, 37, 0.5);
  justify-content: center;
  cursor: pointer;
  transition: ease-in-out 300ms;
  min-height: 52px;
  max-height: 52px;
  position: relative;
  z-index: 0;
}


.projects-filters button.projects-filter svg {
  width: 35px;
  height: auto;
  display: flex;
  background: transparent;
  align-items: center;
  justify-content: center;
  border-radius: 1000px;
  padding: 5px;
  transition: ease-in-out 300ms;
  opacity: 0;
  margin-left: -35px;
}

.projects-filters button.projects-filter:hover,
.projects-filters button.projects-filter.is-active {
  background: var(--datis-primary-color);
  border: none;
  color: #fff;
  transition: ease-in-out 300ms;

}


.projects-filters button.projects-filter:hover::before,
.projects-filters button.projects-filter.is-active::before {
  content: '';
  display: flex;
  position: absolute;
  right: 0;
  border-radius: 78px 90px 90px 78px;
  background: var(--datis-secondary-color);
  right: 0;
  top: 0;
  width: 92%;
  height: 100%;
  z-index: -1;
  transition: ease-in-out 300ms;
}


.projects-filters button.projects-filter:hover svg,
.projects-filters button.projects-filter.is-active svg {
  opacity: 1;
  margin-left: 0;
  background: rgba(255, 255, 255, 0.16);
}

.projects-filters button.projects-filter:hover svg path,
.projects-filters button.projects-filter.is-active svg path {
  fill: #fff;
}

.projects-nav {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.projects-nav .projects-main-next,
.projects-nav .projects-main-prev {
  cursor: pointer;
  position: relative;
  z-index: 0;
  transition: all 300ms;
}



.projects-nav .projects-main-next svg path,
.projects-nav .projects-main-prev svg path {
  stroke-opacity: 0.5;
  transition: all 300ms;
}

.projects-nav .projects-main-next:hover svg path,
.projects-nav .projects-main-prev:hover svg path {
  stroke-opacity: 1;
}


.projects-nav .projects-nav-line {
  width: calc(100% - 44px);
  height: 1px;
  border: 1px solid rgba(9, 6, 37, 0.16);
  margin-left: 44px;
}


.datis-projects.projects-style-2 .projects-main-prev::before,
.datis-projects.projects-style-2 .projects-main-next:hover:before {
  top: unset;
  top: 2px;
}

.datis-projects.projects-style-2 .projects-main-prev::before {
  right: 4px;
}

.datis-projects.projects-style-2 .projects-main-next:hover:before {
  left: 4px;
  right: unset;
}

.datis-project.projects-style-3 .projects-nav {
  gap: 0;
  position: absolute;
  top: -140px;
  left: -10px;
}

.datis-project.projects-style-3:after {
  content: '';
  position: absolute;
  width: 166px;
  height: 301px;
  left: -80px;
  top: 0;
  background: linear-gradient(270.86deg, rgba(246, 250, 254, 0) -51.14%, #F6FAFE 49.48%);
  flex: none;
  order: 2;
  flex-grow: 0;
  z-index: 2;
  display: block;
}


/* responsive */
@media (max-width: 992px) {
  .datis-projects.projects-style-1 .projects-card {
    border-radius: 20px;
  }

  .datis-projects.projects-style-1 .projects-thumb-img {
    height: 96px;
  }
}

@media screen and (max-width : 768px) {


  .datis-projects.projects-style-1 .projects-wrapper .col-left .projects-card-img,
  .datis-projects.projects-style-1 .projects-wrapper .col-left,
  .datis-projects.projects-style-1 .projects-main,
  .datis-projects.projects-style-1 .projects-wrapper .col-right,
  .datis-projects.projects-style-1 .projects-wrapper .col-right .projects-text {
    max-height: 100%;
    max-width: 100%;
  }

  .datis-projects.projects-style-1 .projects-wrapper {
    width: 100%;
  }


  .datis-projects.projects-style-1 .projects-wrapper .col-right .projects-text {
    margin-right: 0;
  }

  .datis-projects.projects-style-1 .projects-text-title {
    font-weight: 400;
    line-height: 50px;
    font-size: 24px;
    color: var(--datis-secondary-color);
    text-align: center;
  }

  .datis-projects.projects-style-1 .projects-text-subtitle {
    text-align: center;
  }

  .datis-projects.projects-style-1 .projects-wrapper .col-right .projects-text .text-badge {
    width: 61px;
    height: 15px;
    border-radius: 1000px;
    background: var(--datis-primary-color);
    position: absolute;
    top: -20px;
    left: auto;
    z-index: 0;
    right: auto;
    inset-inline: calc(50% - 30.5px);
  }

  .datis-projects.projects-style-1 .projects-wrapper .col-right .projects-text .text-badge::before {
    width: 50px;
  }

  .datis-projects.projects-style-1 h3.projects-text-title::before {
    content: '';
    display: block;
    position: absolute;
    width: 60px;
    height: 13px;
    border-radius: 1000px;
    background: var(--datis-primary-color);
    z-index: -1;
    top: 71px;
    right: 32%;
  }

  .datis-projects.projects-style-1 .projects-thumbs {
    display: none;
  }

  .datis-projects.projects-style-1 .projects-card-caption {
    width: 86%;
    left: 26px;
  }

  .datis-projects.projects-style-1 .projects-wrapper .col-left .projects-card-img {
    max-height: 261px;
  }

  .projects-filters {
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .projects-filters>* {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .projects-filters::-webkit-scrollbar {
    display: none;
  }

  .datis-project.projects-style-3 .projects-nav {
    gap: 0;
    position: absolute;
    bottom: -70px;
    left: 0;
    top: unset;
  }
}

