.album__banner img{
    width: 100%;
    height: 478px;
    object-fit: cover;
}

.masonry-item {
    margin-top: 0;
    margin-bottom: 24px;
}

.other-albums__title {
    font-family: Playfair Display;
    font-weight: 700;
    font-style: Italic;
    margin-bottom: 40px;
}

.other-albums__list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.other-albums__item {
    flex-basis: calc((100% - 72px) / 4);
    position: relative;
    padding: 6px 0 0 6px;
}

.other-albums__item-border {
    position: absolute;
    background: #A6988A;
    left: 0;
    top: 0;
}

.album-border-left {
    width: 1px;
    height: calc(100% - 6px);
}

.album-border-top {
    height: 1px;
    width: calc(100% - 6px);
}


.other-albums__item::after {
    content: '';
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 58.82%, rgba(0, 0, 0, 0.61) 100%);
    position: absolute;
    width: calc(100% - 6px);
    height: 100%;
    left: 6px;
    top: 0;
}

.other-albums__image {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.other-albums__item .prev-next-albums__name-count {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
}

.other-albums__name {
    color: #FFFFFF;
    font-family: Playfair Display;
    font-weight: 700;
    font-style: Italic;
    font-size: 25px;
}

.prev-next-albums__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    border: 1px solid #A6988A;
    padding: 30px;
}

.prev-next-albums__image {
    width: 68px;
    height: 103px;
    object-fit: cover;
}

.prev-next-albums__item {
    display: flex;
    gap: 30px;
    align-items: center;
}

.prev-next-albums__item:last-child .prev-next-albums__name-count{
    align-items: flex-end;
}

.prev-next-albums__name-count {
    display: flex;
    flex-direction: column;
}

.prev-next-albums__name {
    font-family: Playfair Display;
    font-weight: 700;
    font-style: Italic;
    font-size: 25px;
    color: #231F20;
}

.prev-next-albums__count {
    color: #7A6E63;
    font-family: Avenir Next;
    font-weight: 500;
    font-size: 20px;
    text-align: start;
}

.other-albums__item .prev-next-albums__name,
.other-albums__item .prev-next-albums__count {
    color: #FFF;
}

.prev-next-albums,
.other-albums {
    padding: 0;
    margin-bottom: 60px;
}


@media screen and (max-width: 1024.98px) {
    .other-albums__item {
        flex-basis: calc((100% - 48px) / 3);
    }

    .prev-next-albums__name {
        font-size: 24px;
    }

    .prev-next-albums__count {
        font-size: 18px;
    }
}

@media screen and (max-width: 599.98px) {
    .other-albums__item {
        flex-basis: calc((100% - 24px) / 2);
    }

    .prev-next-albums__inner {
        flex-direction: column;
    }

    .prev-next-albums__inner {
        gap: 30px;
        padding: 10px;
    }

    .prev-next-albums__item {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .prev-next-albums__item:last-child {
        flex-direction: column-reverse;
    }

    .prev-next-albums__item:last-child .prev-next-albums__name-count,
    .prev-next-albums__item .prev-next-albums__name-count {
        align-items: center;
    }

    .prev-next-albums__name {
        font-size: 20px;
    }

    .prev-next-albums__count {
        font-size: 16px;
    }

    .other-albums__title {
        margin-bottom: 20px;
    }


}

