.uv-albums-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.uv-album-thumb {}

.uv-albums-grid.uvalbum-grid-4 .uv-album-card {
    width: calc(24% - 10px);

}

.uv-albums-grid.uvalbum-grid-3 .uv-album-card {
    width: calc(33.333333% - 10px);

}

.uv-albums-grid.uvalbum-grid-2 .uv-album-card {
    width: calc(50% - 10px);

}

.uv-albums-grid.uvalbum-grid-5 .uv-album-card {
    width: calc(20% - 10px);

}

.uv-album-card img {
    width: 100%;

}


.uv-album-popup .swiper-button-next,
.uv-album-popup .swiper-button-prev {

    background: rgba(0, 0, 0, 0);
}

/* album card */
.uv-album-card {
    display: block;
    background: #111;
    border-radius: 0px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
    cursor: pointer;
}

.uv-album-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
}

/* square thumb wrapper */
.uv-album-thumb {

    /* modern CSS */
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #000;
    height: 100%;
}

.uv-album-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* fallback for older browsers if aspect-ratio is not supported */
.uv-album-thumb::before {
    content: "";
    display: block;
    padding-top: 100%;
    /* forces square */
}


/* 1:1 Square */
.album-square::before {
    padding-top: 100%;
}

/* 7:8 Short Rectangle Vertical */
.album-short-rectagle-vertical::before {
    padding-top: calc(100% * 8 / 7);
}

/* 3:4 Rectangle Vertical */
.album-rectagle-vertical::before {
    padding-top: calc(100% * 4 / 3);
}

/* 2:3 Tall Rectangle Vertical */
.album-tall-rectangle-vertical::before {
    padding-top: calc(100% * 3 / 2);
}

/* 4:3 Rectangle Horizontal */
.album-rectangle-horizontal::before {
    padding-top: calc(100% * 3 / 4);
}

/* 3:2 Large Rectangle Horizontal */
.album-large-rectangle-horizontal::before {
    padding-top: calc(100% * 2 / 3);
}

.uv-album-thumb>img,
.uv-album-thumb>.uv-album-thumb--placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.uv-album-overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    font-size: var(--uvwp_subtitle_font_size);
    background: rgba(0, 0, 0, .6);
    color: #fff;
    text-transform: uppercase;
    font-family: var(--uvwp_subtitle_font_family);
    font-weight: var(--uvwp_subtitle_font_weigth);
}

.uv-album-gallery .swiper-button-next,
.uv-album-gallery .swiper-button-prev {

    color: #fff;

}


@media (max-width: 1080px) {

    .uv-album-gallery .swiper-button-next,
    .uv-album-gallery .swiper-button-prev {
        width: 40px;
        height: 40px;
        background: #fff;
        color: #000;
        font-weight: 800;
    }

    .uv-gallery-controllers {
        position: fixed;
        width: 200px;
        left: calc(50% - 100px);
        bottom: 100px;
    }

    .uv-nav-swipe {
        display: none;
    }

    .uv-album-gallery .swiper-button-next:after,
    .uv-album-gallery .swiper-rtl .swiper-button-prev:after {
        content: 'next';
        font-size: 14px;
    }

    .uv-album-gallery .swiper-button-prev:after,
    .uv-album-gallery .swiper-rtl .swiper-button-next:after {
        font-size: 14px;
    }
}