.anura-vg-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.anura-vg-thumbs {
  width: 82px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 0 0 auto;
}

.anura-vg-thumb {
  width: 82px;
  aspect-ratio: 1 / 1;
  padding: 0;
  margin: 0;
  border: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  display: block;
  line-height: 0;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.anura-vg-thumb:hover {
  opacity: 0.86;
}

.anura-vg-thumb.is-active {
  border-color: #BF736A;
}

.anura-vg-thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.anura-vg-main {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 0;
}

.anura-vg-main-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.anura-vg-empty {
  padding: 16px;
  border: 1px dashed #ccc;
  font-size: 14px;
  background: #fafafa;
}

@media (max-width: 767px) {
  .anura-vg-wrap {
    flex-direction: column-reverse;
  }

  .anura-vg-thumbs {
    width: 100%;
    max-width: 100%;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .anura-vg-thumb {
    width: 70px;
    min-width: 70px;
  }
}
