.exhibition-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    margin-bottom: 30px;
}

.exhibition-thumbnail {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    padding: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.12);
    cursor: zoom-in;
}

.exhibition-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.exhibition-thumbnail__zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #fff;
    background: rgba(0, 0, 0, 0.75);
    font-size: 18px;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.exhibition-thumbnail:hover .exhibition-thumbnail__zoom,
.exhibition-thumbnail:focus-visible .exhibition-thumbnail__zoom {
    opacity: 1;
}

.exhibition-thumbnail:focus-visible {
    outline: 2px solid #c0392b;
    outline-offset: 3px;
}

.exhibition-gallery-item {
    position: relative;
    min-width: 0;
}

#exhibition-gallery .exhibition-card-share {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
    padding: 4px;
    border: 1px solid transparent;
    border-radius: 3px;
    background: transparent;
    color: #fff;
    font: 600 12px/1.4 Arial, sans-serif;
    cursor: pointer;
}

#exhibition-gallery .exhibition-card-share:hover,
#exhibition-gallery .exhibition-card-share:focus-visible {
    color: #fff;
    border-color: transparent;
}

#exhibition-gallery .exhibition-card-share i {
    text-shadow: 0 1px 3px rgba(0, 0, 0, .8);
}

.lg-exhibition-gallery .exhibition-gallery-share {
    float: right;
    height: 47px;
    padding: 0 14px;
    border: 0;
    background: transparent;
    color: #fff;
    font: 600 13px/47px Arial, sans-serif;
    cursor: pointer;
}

#exhibition-gallery .exhibition-card-share:focus-visible,
.lg-exhibition-gallery .exhibition-gallery-share:focus-visible {
    outline: 2px solid #888;
    outline-offset: 3px;
}

@media (min-width: 1600px) {
    .exhibition-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .exhibition-gallery {
        grid-template-columns: minmax(0, 1fr);
    }

    .exhibition-thumbnail {
        height: 200px;
    }
}

@media (hover: none) {
    .exhibition-thumbnail__zoom {
        opacity: 1;
    }
}
