.gallery {
    padding: var(--spacing-mega) 0;
    overflow: hidden;
    position: relative;
}


.shadow-fade {
    display: none;
    width: 200px;
    height: 100%;
    top: 0;
    position: absolute;
}

@media screen and (min-width: 700px) {

    .gallery {
        padding-bottom: var(--spacing-mega);
        padding-top: 0;
    }


    .shadow-fade {
        display: block;
    }

}

.left-fade {
    left: 0;
    background-image: linear-gradient(to right, #ffffff, rgb(255, 255, 255, 0));
}

.right-fade {
    right: 0;
    background-image: linear-gradient(to right, rgb(255, 255, 255, 0), #ffffff);
}

.gallery-slider {
    max-width: 100%;
    overflow-x: auto;
}

.bottom-slider {
    direction: rtl;
    margin-top: var(--spacing-sm);
}

.gallery-photo-row {
    max-width: 1800px;
    display: flex;
    gap: var(--spacing-sm);
    position: relative;
}

.photo-wrapper img {
    max-width: 360px;
    border-radius: var(--border-radius-box);
    cursor: pointer;
}

.gallery-modal-bg {
    background-color: rgb(0, 0, 0, 0.3);
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 100;
    display: none;
}

.modal-close {
    width: 40px;
    height: 40px;
    top: 40px;
    right: 40px;
    position: absolute;
    cursor: pointer;
}

.modal-photo {
    background-color: rgb(0, 0, 0, 0.3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(50vw, 60vw, 1600px);
    position: absolute;
    border-radius: var(--border-radius-box);
    border: var(--spacing-sm) solid white;
}

.modal-photo img {
    width: 100%;
    border-radius: var(--border-radius-box);
}