.imgPopup .str-ModalBack {
	position: fixed;
	display: block;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.9);
	z-index: 1000;
	cursor: pointer;
}

.imgPopupItem {
	position: absolute;
	top: 50%;
	left: 50%;
	max-height: 100%;
	max-width: 100%;
	transform: translate(-50%, -50%);
} 

img[data-pop-img] {
	cursor: pointer;
}



.gif-container {
    position: relative;      /* wichtig für Overlay */
    display: inline-block;   /* damit ::after über dem Bild liegt */
    max-width: 300px;        /* max. Vorschaugröße */
    margin: 1em auto;
}

.gif-container img.preview {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    cursor: pointer;
}

.gif-container img.preview:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border-color: #888;
}


/* Overlay-Icon größer und rot */
.gif-container a::after {
    content: "⏯";                  
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3em;              /* größer als vorher */
    color: red;                  /* deutliche Farbe */
    text-shadow: 0 0 6px rgba(0,0,0,0.6); /* besser sichtbar */
    pointer-events: none;        /* Klick geht ans Bild */
}



.preview {
    max-width: 300px;      /* maximale Breite der Vorschau */
    width: 100%;            /* responsive */
    height: auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: transform 0.2s;
}

.preview:hover {
    transform: scale(1.02);
}








