/*
 * Artwork card, shared by the gallery (artworks plugin) and the
 * "Neue Werke" carousel (latest artworks plugin).
 * The picture opens the lightbox; a round "+" appears in its centre on hover.
 * Title, technique/year and the price request stay visible, also on phones.
 */
.picture_container {
    position: relative;
    cursor: pointer;
}

.picture_container img {
    transition: opacity 0.2s;
}

.artwork-zoom {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.2s, transform 0.2s;
    pointer-events: none;
}

.artwork-zoom::before,
.artwork-zoom::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: #333;
}

.artwork-zoom::before {
    width: 18px;
    height: 2px;
    margin: -1px 0 0 -9px;
}

.artwork-zoom::after {
    width: 2px;
    height: 18px;
    margin: -9px 0 0 -1px;
}

.picture_container:hover .artwork-zoom {
    opacity: 1;
    transform: none;
}

.picture_container:hover img {
    opacity: 0.85;
}

.artwork-caption {
    padding: 10px 8px 0;
    line-height: 1.35;
}

.artwork-caption .imgTitle {
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: #333;
}

.artwork-caption .artwork-meta {
    margin: 3px 0 7px;
    font-size: 12px;
    color: #888;
}

.artwork-caption .price-anfrage {
    padding: 0 0 1px;
    border: 0;
    border-bottom: 1px solid transparent;
    background: none;
    font: inherit;
    font-size: 13px;
    color: #cc3300;
    cursor: pointer;
}

.artwork-caption .price-anfrage:hover,
.artwork-caption .price-anfrage:focus-visible {
    border-bottom-color: #cc3300;
    outline: none;
}

.artwork-caption .artwork-sold {
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #888;
}

@media (prefers-reduced-motion: reduce) {
    .artwork-zoom,
    .picture_container img {
        transition: none;
    }
}
