.section__projects__body {
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
}
.section__projects__title {
  padding-bottom: 24px;
  border-bottom: 2px solid var(--color-black-50);
  width: 100%;
  text-align: center;
}
.section__projects__inner {
  display: grid;
  grid-template-columns: 290px calc(100% - 326px);
  gap: 36px;
  width: 100%;
}
.section__projects__main {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.section__projects__main__title {
  font-family: var(--font-varela);
  font-size: var(--font-size-20);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-lightgray);
}
.section__projects__main__list {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px;
  max-height: 500px;
  overflow-y: auto;
}
.section__projects__main__list::-webkit-scrollbar {
  width: 2px;
}
.section__projects__main__list::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0);
}
.section__projects__main__list::-webkit-scrollbar-thumb {
  background: var(--color-black);
}
.section__projects__main__item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-lightgray);
  cursor: pointer;
}
.section__projects__main__item:not(:first-child) {
  padding-top: 12px;
}
.section__projects__main__item .section__projects__main__img {
  position: relative;
}
.section__projects__main__item.active .section__projects__main__img::before {
  opacity: 1;
  background: var(--color-white-80);
}
.section__projects__main__item.active .section__projects__main__img::after {
  opacity: 1;
  background: var(--color-black);
}
.section__projects__main__item.active .section__projects__main__item__title {
  color: var(--color-mediumgray);
}
.section__projects__main__img {
  width: 100%;
  max-width: 60px;
  height: 60px;
}
.section__projects__main__img img {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
}
.section__projects__main__img::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: all 0.3s ease;
}
.section__projects__main__img::after {
  content: "";
  width: 20px;
  height: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 1;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s ease;
}
.section__projects__main__item__title {
  font-size: var(--font-size-16);
  line-height: 1.3;
  color: var(--color-black);
  transition: color 0.3s ease;
}
.section__projects__sliders__list {
  position: relative;
  min-height: 540px;
  width: 100%;
}
.section__projects__sliders {
  gap: 5px;
  flex-direction: column;
  width: 100%;
  height: 100%;
  display: none;
}
.section__projects__sliders.active {
  display: flex;
}
.section__projects__sliders__inner {
  height: 100%;
  display: flex;
  gap: 24px;
}
.section__projects__big__slider {
  width: 100%;
  position: relative;
  height: 567px;
  padding-bottom: 27px;
}
.section__projects__big__slide a {
  display: block;
  width: 100%;
  height: 100%;
  cursor:
    url(../img/projects_cursor.svg) 16 16,
    pointer;
  background-color: #f3f3f3;
}
.section__projects__big__slide a img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}
.section__projects__sliders__btns {
  position: absolute;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
  pointer-events: none;
}
.section__projects .section__projects__sliders__next,
.section__projects .section__projects__sliders__prev {
  pointer-events: all;
  background: var(--color-white);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.section__projects .section__projects__sliders__next.swiper-button-disabled,
.section__projects .section__projects__sliders__prev.swiper-button-disabled {
  color: var(--color-lightgray);
  cursor: not-allowed;
}
.section__projects .section__projects__sliders__next .icon,
.section__projects .section__projects__sliders__prev .icon {
  width: 16px;
  height: 18px;
}
.section__projects .section__projects__sliders__prev {
  rotate: 180deg;
}
.section__projects__sliders__count {
  position: absolute;
  left: 50%;
  bottom: 0;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 1;
  padding: 16px;
  background-color: var(--color-white);
  font-size: var(--font-size-16);
  line-height: 1.4;
  color: var(--color-main-60);
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}
.section__projects__sliders__count__current {
  color: var(--color-main);
}
.section__projects__small__slider {
  width: 100%;
  max-width: 64px;
  max-height: 540px;
}
.section__projects__small__slide {
  position: relative;
  cursor: pointer;
}
.section__projects__small__slide img {
  width: 64px;
  height: 64px;
  -o-object-fit: cover;
  object-fit: cover;
}
.section__projects__small__slide::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: all 0.3s ease;
  background: var(--color-white-60);
  z-index: 1;
  pointer-events: none;
}
.section__projects__small__slide.swiper-slide-thumb-active::before {
  opacity: 1;
}
.section__projects__sliders__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.section__projects__sliders__info a:not([class]),
.section__projects__sliders__text a:not([class]) {
  text-decoration: underline;
  font-weight: 500;
}
.section__projects__loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 540px;
  background: var(--color-white-80);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.section__projects__loader.visible {
  opacity: 1;
  visibility: visible;
}
.section__projects__loader::after {
  content: "";
  width: 50px;
  height: 50px;
  border: 5px solid var(--color-lightgray, #f3f3f3);
  border-top: 5px solid var(--color-main, #313229);
  border-radius: 50%;
  -webkit-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
}
@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@media (max-width: 1280px) {
  .section__projects__body {
    gap: 24px;
  }
  .section__projects__title {
    padding-bottom: 20px;
  }
  .section__projects__inner {
    grid-template-columns: 265px calc(100% - 300px);
    gap: 24px;
  }
  .section__projects__main__title {
    font-size: var(--font-size-18);
  }
  .section__projects__main__list {
    padding: 16px;
    max-height: 460px;
  }
  .section__projects__main__img {
    max-width: 50px;
    height: 50px;
  }
  .section__projects__main__item__title {
    font-size: var(--font-size-14);
  }
  .section__projects__sliders__list {
    min-height: 460px;
  }
  .section__projects__sliders__inner {
    gap: 16px;
  }
  .section__projects__big__slider {
    height: 487px;
  }
  .section__projects__loader {
    max-height: 460px;
  }
  .section__projects__sliders__count {
    font-size: var(--font-size-15);
  }
  .section__projects__small__slider {
    max-width: 40px;
    max-height: 460px;
  }
  .section__projects__small__slide img {
    width: 40px;
    height: 40px;
  }
}
@media (max-width: 992px) {
  .section__projects__inner {
    grid-template-columns: 100%;
  }
  .section__projects__main {
    gap: 12px;
  }
  .section__projects__main__title {
    font-size: var(--font-size-14);
  }
  .section__projects__main__list {
    margin-right: -36px;
    overflow-x: auto;
    max-height: none;
    padding: 0;
    padding-bottom: 14px;
    flex-direction: row;
  }
  .section__projects__main__img {
    max-width: 40px;
    height: 40px;
  }
  .section__projects__main__img::after {
    width: 12px;
    height: 12px;
  }
  .section__projects__sliders__list {
    min-height: 412px;
  }
  .section__projects__loader {
    max-height: 412px;
  }
  .section__projects__big__slider {
    height: 439px;
  }
  .section__projects__small__slider {
    max-height: 412px;
  }
  .section__projects__sliders__btns {
    display: none;
  }
  .section__projects__sliders__count {
    font-size: var(--font-size-14);
  }
  .section__projects__main__item {
    border-bottom: none;
    border-right: 1px solid var(--color-lightgray);
    padding: 0;
    padding-right: 12px;
    margin-right: 12px;
    max-width: 212px;
    flex-shrink: 0;
  }
  .section__projects__main__item:first-child {
    padding-left: 0;
  }
  .section__projects__main__item:last-child {
    margin-right: 24px;
    border-right: none;
  }
  .section__projects__main__item:not(:first-child) {
    padding-top: 0;
  }
  .section__projects__main__list::-webkit-scrollbar {
    width: auto;
    height: 2px;
  }
}
@media (max-width: 560px) {
  .section__projects__sliders__list {
    min-height: 400px;
  }
  .section__projects__sliders__inner {
    gap: 0;
    flex-direction: column;
  }
  .section__projects__main__list {
    margin-right: -20px;
  }
  .section__projects__main__item:last-child {
    margin-right: 8px;
  }
  .section__projects__big__slider {
    height: 427px;
  }
  .section__projects__loader {
    max-height: 400px;
  }
  .section__projects__small__slider {
    max-width: none;
    height: 40px;
  }
  .section__projects__small__wrapper {
    height: 100%;
  }
  .section__projects__sliders {
    gap: 32px;
  }
}
@media (any-hover: hover) {
  .section__projects__main__item:not(.active):hover .section__projects__main__img {
    position: relative;
  }
  .section__projects__main__item:not(.active):hover .section__projects__main__img::before {
    opacity: 1;
    background: var(--color-black-50);
  }
  .section__projects__main__item:not(.active):hover .section__projects__main__img::after {
    opacity: 1;
    background: var(--color-white);
  }
  .section__projects__sliders__next:not(.swiper-button-disabled):hover,
  .section__projects__sliders__prev:not(.swiper-button-disabled):hover {
    color: var(--color-white);
    background: var(--color-main);
  }
}
.lazy-project-img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img:not([data-src]) {
    opacity: 1;
}