.hvgf {
  --hvgf-bg: #211f20;
  --hvgf-section-h: 568px;
  --hvgf-section-h-tablet: 480px;
  --hvgf-section-h-mobile: 360px;
  --hvgf-image-h: 360px;
  --hvgf-image-h-tablet: 300px;
  --hvgf-image-h-mobile: 220px;
  --hvgf-gap: 84px;
  --hvgf-gap-tablet: 48px;
  --hvgf-gap-mobile: 24px;
  --hvgf-radius: 0px;
  position: relative;
  width: 100%;
  height: var(--hvgf-section-h);
  min-width: 0;
  overflow: hidden;
  background: var(--hvgf-bg);
  contain: layout paint;
}

.hvgf__viewport {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.hvgf[data-draggable="0"] .hvgf__viewport {
  cursor: default;
}

.hvgf.is-dragging .hvgf__viewport {
  cursor: grabbing;
}

.hvgf__track {
  display: flex;
  flex: none;
  align-items: center;
  min-width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.hvgf__group {
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--hvgf-gap);
  min-width: max-content;
  margin: 0;
  padding: 0 var(--hvgf-gap) 0 0;
}

.hvgf__item,
.hvgf__link {
  display: block;
  flex: none;
  margin: 0;
  padding: 0;
}

.hvgf__item {
  width: auto;
  height: calc(var(--hvgf-image-h) * var(--hvgf-scale, 1));
  overflow: hidden;
  border-radius: var(--hvgf-radius);
  background: transparent;
  transform: translateZ(0);
}

.hvgf__image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
  object-position: center;
  pointer-events: none;
  -webkit-user-drag: none;
}

.hvgf--fit-cover .hvgf__image {
  object-fit: cover;
}

.hvgf--fit-contain .hvgf__image {
  object-fit: contain;
}

.hvgf--sizes-uniform .hvgf__item {
  --hvgf-scale: 1 !important;
}

.hvgf--shadow-soft .hvgf__item {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.hvgf--shadow-strong .hvgf__item {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
}

.hvgf--fade .hvgf__viewport {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.hvgf__link {
  color: inherit;
  text-decoration: none;
  outline-offset: 5px;
}

.hvgf__link:focus-visible {
  outline: 2px solid currentColor;
}

.hvgf--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 220px;
  padding: 32px;
  color: #fff;
  text-align: center;
}

.hvgf--empty span {
  opacity: 0.72;
}

@media (max-width: 849px) {
  .hvgf {
    height: var(--hvgf-section-h-tablet);
  }

  .hvgf__group {
    gap: var(--hvgf-gap-tablet);
    padding-right: var(--hvgf-gap-tablet);
  }

  .hvgf__item {
    height: calc(var(--hvgf-image-h-tablet) * var(--hvgf-scale, 1));
  }
}

@media (max-width: 549px) {
  .hvgf {
    height: var(--hvgf-section-h-mobile);
  }

  .hvgf__group {
    gap: var(--hvgf-gap-mobile);
    padding-right: var(--hvgf-gap-mobile);
  }

  .hvgf__item {
    height: calc(var(--hvgf-image-h-mobile) * var(--hvgf-scale, 1));
  }

  .hvgf--fade .hvgf__viewport {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hvgf__track {
    will-change: auto;
  }
}

