.photos__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 100px;
}

.photos__item {
    overflow: hidden;
}

.photos__item:nth-child(10n + 3), .photos__item:nth-child(10n + 6) {
    grid-column: span 2;
    grid-row: span 2;
}

.photos__item:hover .photos__photo {
    transform: scale(1.05);
}

.photos__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .4s ease;
	will-change: transform;
}

.photos__more {
    width: 185px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #292929;
    font-family: "Manrope";
    text-decoration: none;
    border: 1px solid #292929;
    border-radius: 5px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .photos__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
        margin-bottom: 35px;
    }

    .photos__item:nth-child(10n + 3), .photos__item:nth-child(10n + 6) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .photos__item:nth-child(6n + 2), .photos__item:nth-child(6n + 4) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .photos__more {
        width: 160px;
        height: 40px;
        font-size: 13px;
    }
}