.photo-block {
    position: relative;
    width: 100%; /* Adjust as needed */
    /* height: 200px; Adjust as needed */
    aspect-ratio: 16/9;
    overflow: hidden;
    border: 2px solid #ccc;
    border-radius: 8px;
}

.ratio43 {
    aspect-ratio: 4/3;
}

.photo-block img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
}

.photo-cover {
    opacity: 1;
    cursor: pointer;
    z-index: 1;
}

.photo-reveal {
    opacity: 1; /* Always visible below */
}
