.projects-with-comments-section {
  opacity: 0;
  transform: translateY(70px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.projects-with-comments-section.show {
  opacity: 1;
  transform: translateY(0);
}

/* Projects with comments section */
.projects-swiper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 70px 0 0;
}

.projects-swiper .swiper-slide {
  width: auto;
  display: flex;
}

.projects-swiper .swiper-wrapper {
  gap: 0px;
  will-change: transform;
  transition-timing-function: linear !important;
}

/* Project with comments card */
.project-comment-card {
  display: flex;
  flex-direction: column;
  width: 478px;
  padding: 12px;
  gap: 16px;
  background: #ffffff;
  border-radius: 32px;
  transition: transform 0.35s ease, box-shadow 0.3s ease;
  box-shadow: none;
}

/* img */
.project-image {
  border-radius: 20px;
  overflow: hidden;
}

.project-image img {
  width: 454px;
  height: 306px;
  -o-object-fit: cover;
  object-fit: cover;
}

/* Content */
.project-content {
  display: flex;
  padding: 0 8px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  align-self: stretch;
}

/* client comment */
.project-comment {
  display: flex;
  width: 370px;
  padding: 12px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  color: var(--black_white950);
  border-radius: 16px 16px 16px 0;
  background: #eee;
}

.comment-author {
  color: var(--neutral500);
}

/* Reply */
.project-reply {
  align-self: flex-end;
  color: var(--black_white950);
  border-radius: 16px 16px 16px 0;
  background-color: var(--neutral100, #eee);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.reply-author {
  text-align: end;
  color: var(--neutral500);
}

/* Author */
.project-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.project-author .avatar {
  display: flex;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  background: var(--black_white50);
  overflow: hidden;
}
.project-author .avatar img {
  width: fit-content;
  height: max-content;
}

.author-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-meta p:first-child {
  color: var(--black_white950);
}

.author-meta p:last-child {
  color: var(--neutral500);
}

@media (hover: hover) and (pointer: fine) {
  .project-comment-card:hover {
    transform: translateY(-50px);
    box-shadow: 0 0 12px 0 rgba(255, 255, 255, 0.5);
  }

  .project-comment-card:hover .project-reply {
    background-color: var(--black_white950);
    color: var(--black_white50);
  }

  .project-comment-card:hover .project-reply .reply-author {
    color: var(--black_white50);
  }
}

@media (max-width: 768px) {
  .project-comment-card {
    width: unset;
    border-radius: 24px;
    padding: 9px;
    width: 280px;
    gap: 12px;
  }

  .project-image img {
    width: 100%;
    height: 200px;
    align-self: stretch;
  }

  .project-content {
    padding: 0 6px;
  }

  .project-comment {
    width: 100%;
    padding: 9px;
    gap: 8px;
  }

  .project-reply {
    background-color: var(--black_white950);
    color: var(--black_white50);
    padding: 9px;
    gap: 8px;
  }

  .project-author .avatar,
  .project-author .avatar img {
    width: 30px;
    height: 30px;
    aspect-ratio: 1/1;
  }

  .project-image {
    border-radius: 15px;
  }
}
