.gm-masonry {
    column-gap: 14px;
    width: 100%;
}

.gm-item {
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 0 0 14px;
    break-inside: avoid;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.gm-item img {
    display: block;
    width: 100%;
    height: auto;
}

.gm-share-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.gm-item:hover .gm-share-btn,
.gm-share-btn:focus-visible {
    opacity: 1;
    transform: translateY(0);
}

.gm-share-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* pe mobil, unde nu există hover, butonul e mereu vizibil */
@media (hover: none) {
    .gm-share-btn {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 900px) {
    .gm-masonry {
        column-count: 2 !important;
    }
}

@media (max-width: 540px) {
    .gm-masonry {
        column-count: 1 !important;
    }
}

.gm-gol {
    color: #777;
    font-style: italic;
}

/* mic toast de confirmare la copiere link */
.gm-toast {
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    background: #1c2321;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.gm-toast.gm-vizibil {
    opacity: 1;
}
