/* главная страница галереи */
.album-wrapper-section {
    position: relative;
}


.album-top-section:hover {
    text-decoration: none;
}

.album-top-section .album-name {
    color: #fff;
    font-family: var(--font-family-600);
    margin-bottom: 8px;
    line-height: 1.2;
}

.album-top-section .album-date {
    font-size: 0.8rem;
    color: var(--lightgray-color);
}

.photo-items-list.photo-photo-list {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 130px);
    grid-gap: 10px;
    height: auto !important;
}

.album-wrapper-section {
}

.photo-album-list-first-photos .album-photos-section {
    /*margin: 12px 0 10px 0;*/
    position: relative;
    /*display: grid;
    grid-template-columns: 2fr 1fr;
    grid-gap: 10px;
    margin-bottom: 30px;*/
    overflow: hidden;
}

.album-wrapper-section .photo-item-cont {
    position: relative !important;
    left: initial !important;
    top: initial !important;
}

.album-wrapper-section .photo-item-cont:first-child {
    max-width: 100%;
    max-height: 100%;
    grid-column: 1;
    grid-row: 1 / span 2;
}

.album-wrapper-section .photo-item-cont:nth-child(2),
.album-wrapper-section .photo-item-cont:nth-child(3) {

}

.album-wrapper-section .photo-item-cont:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.album-wrapper-section .photo-item-cont:nth-child(3),
.photo-album-list-first-photos .album-photo-count {
    grid-column: 2;
    grid-row: 2;
}

.photo-album-list-first-photos .album-photo-count {
    position: absolute;
    /*background-color: #141d1fc4;*/
    font-size: 2.7rem;
    color: #8ad100;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 4;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6979166666666667) 35%, rgba(0, 0, 0, 0) 105%);
}

.photo-album-list-first-photos.photo-items-list .album-photo-count span {
    font-size: 2rem;
}

.photo-album-list-first-photos .album-list-action-cont {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    gap: 16px;
}

.photo-album-list-first-photos .album-list-action-cont a {
    border: 1px solid var(--gray2-color);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--gray-color);
    font-size: 1.1rem;
}

.photo-album-list-first-photos .album-list-action-cont a:hover {
    border-color: var(--border-color);
    background-color: var(--border-color);
    color: var(--title-color);
    text-decoration: none;
}