@keyframes slideshowTextRiseUp {
  0% {
    opacity: 0;
    transform: translateY(120%);
  }
  to {
    opacity: 1;
    transform: translateY(0%);
  }
}

@keyframes slideshowButtonLeft {
  0% {
    opacity: 0;
    left: 40px;
  }
  to {
    opacity: 1;
    left: 20px;
  }
}

@keyframes slideshowButtonRight {
  0% {
    opacity: 0;
    right: 40px;
  }
  to {
    opacity: 1;
    right: 20px;
  }
}

@keyframes slideshowButtonOutLeft {
  0% {
    opacity: 1;
    left: 20px;
  }
  to {
    opacity: 0;
    left: 40px;
  }
}

@keyframes slideshowButtonOutRight {
  0% {
    opacity: 1;
    right: 20px;
  }
  to {
    opacity: 0;
    right: 40px;
  }
}

@media screen and (max-width: 959px) {
  .comment {
    position: relative;
  }
  .comment .content .content-main {
    width: 100%;
  }
  .comment .comment-slider_content .slide__icon {
    opacity: 1 !important;
  }
  .comment .comment-slider_content .slide__icon.slide-button-prev {
    left: 30px;
  }

  .comment .comment-slider_content .slide-button-next {
    right: 30px;
  }
  .comment .content .comment__slider .item {
    display: flex;
    background-color: rgba(0, 0, 0, var(--slider-item-opacity));
    padding: 20px !important;
    box-sizing: border-box;
  }
  .comment .content .content-main .comment-slide__title {
    margin: 16px 0 50px;
    font-weight: 600;
  }
  .comment .comment-slider_content .slide__icon {
    width: 40px !important;
    height: 40px !important;
  }
  .comment .slideshow__slider-item {
    padding: 20px;
  }
}

.comment p {
  margin: 0;
  padding: 0;
}
.comment .is-active .content-main > [data-animation] {
  animation: slideshowTextRiseUp 0.8s cubic-bezier(0.26, 0.54, 0.32, 1) forwards;
}

.comment-slide__text > [data-animation] {
  opacity: 0;
  transform: translateY(120%);
}

.comment {
  position: relative;
}
.comment .content {
  position: relative;
  z-index: 2;
  display: flex;
}
.comment .content .content-main {
  display: flex;
  position: relative;
  z-index: 20;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1230px;
  margin: 0 auto;
}
.comment .content .content-main .comment-slide__title {
  margin: 16px 0 50px;
  color: white;
  font-weight: 600;
}
.comment .content .content-main .comment-slide__desc {
  font-weight: 600;
}
.comment .content .comment-slider_content {
  border-radius: var(--card-border-radius);
  width: 100%;
}
.comment .content .comment__slider {
  border-radius: var(--card-border-radius);
  margin: 0;
}

.comment .content .comment-slider_content img {
  height: 70px;
  width: 70px;
  border-radius: 50%;
  object-fit: cover;
}

.comment .comment-slider_content .slide__icon {
  max-width: none;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 30;
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  top: 60%;
  transform: translateY(-50%);
  opacity: 0;
  background-color: rgba(255, 255, 255, 0.5);
}

@media screen and (min-width: 959px) {
  .comment .content .comment-slider_content:hover .slide-button-prev {
    animation: slideshowButtonLeft 0.8s cubic-bezier(0.26, 0.54, 0.32, 1)
      forwards;
  }
  .comment .content .comment-slider_content:hover .slide-button-next {
    animation: slideshowButtonRight 0.8s cubic-bezier(0.26, 0.54, 0.32, 1)
      forwards;
  }

  .comment .comment-slider_content .slide__icon.slide-button-prev {
    left: 20px;
    animation: slideshowButtonOutLeft 0.8s cubic-bezier(0.26, 0.54, 0.32, 1)
      forwards;
  }

  .comment .comment-slider_content .slide-button-next {
    right: 20px;
    animation: slideshowButtonOutRight 0.8s cubic-bezier(0.26, 0.54, 0.32, 1)
      forwards;
  }
}

.comment .slideshow__slider-item .items_content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 959px) {
  .comment .grid {
    --grid-vertical-space: var(--grid-mobile-vertical-space);
    --grid-horizontal-space: var(--grid-mobile-horizontal-space);
  }
}

.comment .grid > * {
  box-sizing: border-box;
  flex-shrink: 0;
  margin-top: var(--grid-vertical-space);
  max-width: 100%;
  padding-left: calc(var(--grid-horizontal-space) * 0.5);
  padding-right: calc(var(--grid-horizontal-space) * 0.5);
  width: 100%;
}

.comment .grid-cols-1 > * {
  flex: 0 0 auto;
  width: 100%;
}

.comment .grid-cols-2 > * {
  flex: 0 0 auto;
  width: 50%;
}

.comment .grid-cols-3 > * {
  flex: 0 0 auto;
  width: 33.3333333333%;
}

.comment .grid-cols-4 > * {
  flex: 0 0 auto;
  width: 25%;
}

.comment .grid-cols-5 > * {
  flex: 0 0 auto;
  width: 20%;
}

.comment .grid-cols-6 > * {
  flex: 0 0 auto;
  width: 16.6666666667%;
}

@media screen and (max-width: 959px) {
  .comment .grid-cols-1-tablet > * {
    flex: 0 0 auto;
    width: 100%;
  }

  .comment .grid-cols-2-tablet > * {
    flex: 0 0 auto;
    width: 50%;
  }

  .comment .grid-cols-3-tablet > * {
    flex: 0 0 auto;
    width: 33.3333333333%;
  }

  .comment .grid-cols-4-tablet > * {
    flex: 0 0 auto;
    width: 25%;
  }

  .comment .grid-cols-5-tablet > * {
    flex: 0 0 auto;
    width: 20%;
  }

  .comment .grid-cols-6-tablet > * {
    flex: 0 0 auto;
    width: 16.6666666667%;
  }
}

@media screen and (min-width: 960px) {
  .comment .grid-cols-1-desktop > * {
    flex: 0 0 auto;
    width: 100%;
  }

  .comment .grid-cols-2-desktop > * {
    flex: 0 0 auto;
    width: 50%;
  }

  .comment .grid-cols-3-desktop > * {
    flex: 0 0 auto;
    width: 33.3333333333%;
  }

  .comment .grid-cols-4-desktop > * {
    flex: 0 0 auto;
    width: 25%;
  }

  .comment .grid-cols-5-desktop > * {
    flex: 0 0 auto;
    width: 20%;
  }

  .comment .grid-cols-6-desktop > * {
    flex: 0 0 auto;
    width: 16.6666666667%;
  }
}
.comment .comment .grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: calc(var(--grid-horizontal-space) * -0.5);
  margin-right: calc(var(--grid-horizontal-space) * -0.5);
  margin-top: calc(var(--grid-vertical-space) * -1);
  list-style: none;
  padding: 0;
}
