.image-mosaic {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-gap: 15px;
}

.image-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.image-item img {
    width: 100%; /* Ensure image fills the width of the container */
    height: 200px; /* Adjust height or remove for aspect-ratio preservation */
    object-fit: cover; /* Ensures image fills the container without distortion */
}

.caption {
    text-align: center;
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: 4px;
    margin-right: 4px;
    font-size: 14px; /* Adjust font size as needed */
    background-color: white;
}

.reportlink {
    visibility: hidden;
    align-self: flex-end;
}

.image-item:hover .reportlink {
    visibility: visible;
}

.reportlink a {
    text-decoration: none;
    font-size: 16px;
    color: #0073e6;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-wrapper img.blur {
    filter: blur(12px);
    transform: scale(1.05);
    margin: -2%;
}

.blur-overlay-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    font-weight: bold;
    pointer-events: none;
}