.masonry-grid {
  display: flex;
  gap: 1rem;
}

.masonry-item {
    width: calc(25% - 1rem);
}

.gallery-grid-single {
    display: flex;
    gap: 1rem;
}

.gallery-item-single {
    width: 25%;
}

.gallery-item-single img,
.masonry-item img {
  width: 100%;
  height: initial;
}

.gallery-item img {
  width: 100%;
  height: initial;
}

.caption {
  font-size: 0.7rem;
  text-align: left;
}


.artwork-image {
    height: 55vmin;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 2rem;
}

.artwork-image img {
    width: 100%;
}

.item-detail {
    font-size: 0.9rem;
}
.item-detail-title {
    color: var(--gray);
}

.details > span {
    display: block;
}

.details .item-detail-title {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .masonry-item {
        width: calc(50% - 1rem);
    }
}

@media (max-width: 430px) {
    .artwork-image {
        height: auto;
        margin-bottom: 0.5rem;
    }

    .item-detail {
        margin-bottom: 0.5rem;
    }
}