.c-slide-anhv2__container {
  width: 100vw;
  overflow: hidden;
  position: relative;
}

.c-slide-anhv2__list {
  display: flex;
  flex-direction: row;
  gap: 16px;
  width: max-content;
  animation: masonry-scroll var(--duration, 20s) linear infinite;
}

.c-slide-anhv2__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.c-slide-anhv2__col--big {
  justify-content: flex-start;
  max-height: var(--height, 300px);
}
.c-slide-anhv2__img--big {
  max-height: var(--height, 300px);
  height: auto;
  width: 470px;
  object-fit: cover;
  border-radius: 8px;
  /*box-shadow: 0 2px 8px rgba(0,0,0,0.08);*/
}
.c-slide-anhv2__col--big img{
  min-height: 100%;
}

.c-slide-anhv2__col--small {
  justify-content: space-between;
  max-height: var(--height, 300px);
}
.c-slide-anhv2__img--small {
  /*max-height: calc((var(--height, 300px) - 16px) / 2);*/
  height: auto;
  width: 470px;
  object-fit: cover;
  border-radius: 8px;
  /*box-shadow: 0 2px 8px rgba(0,0,0,0.08);*/
}
.c-slide-anhv2__col--small img{
  /*min-height: 100%;*/
}

.c-slide-anhv2__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: opacity 0.3s;
  pointer-events: none;
}

.c-slide-anhv2__item:hover .c-slide-anhv2__overlay {
  opacity: 1;
  pointer-events: auto;
}

.c-slide-anhv2__info {
  color: #fff;
  text-align: center;
}

.c-slide-anhv2__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

/* Background 2 bên */

.white-gradient-sides {
    position: relative;
    overflow: hidden;
  }

  .white-gradient-sides::before,
  .white-gradient-sides::after {
    content: "";
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
  }

  .white-gradient-sides::before {
    left: 0;
    background: linear-gradient(to right, white 0%, transparent 100%);
  }

  .white-gradient-sides::after {
    right: 0;
    background: linear-gradient(to left, white 0%, transparent 100%);
  }


@keyframes masonry-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% + 100vw));
  }
}

@media (max-width: 768px) {
  .c-slide-anhv2__img--big {
    max-height: var(--height, 180px);
    height: auto;
    width: 191px;
  }
  .c-slide-anhv2__img--small {
    max-height: calc((var(--height, 180px) - 8px) / 2);
    height: auto;
    width: 191px;
  }
  .c-slide-anhv2__list {
    gap: 8px;
  }
  .c-slide-anhv2__col {
    gap: 8px;
  }
}
