.wrapper__photos .widget__title{text-align:center}
.gallery-container {display: flex;flex-direction: column;align-items:center}
.gallery-block {display: flex;flex-direction: column;gap: 30px;margin-bottom: 30px;width: 100%;}
.gallery-row {display: flex;gap: 30px;height: 390px;width: 100%}
.item-large {flex: 2;height: 100%}
.item-vertical {flex: 1;height: 100%}
.grid-2x2 {flex: 2;display: grid;grid-template-columns: repeat(2, 1fr);grid-template-rows: repeat(2, 1fr);gap: 30px;height: 100%}
.grid-item, .gallery-item {width: 100%;height: 100%;overflow: hidden;border-radius: 20px;transition: all 0.3s ease}
.grid-item a, .gallery-item a {display: block;width: 100%;height: 100%;text-decoration: none}
.grid-item picture, .gallery-item picture, .grid-item img, .gallery-item img {width: 100%;height: 100%;object-fit: cover;transform: scale(1.1);transition: transform 0.15s linear}
.grid-item:hover img, .gallery-item:hover img {transform: scale(1)}
.load-more-btn .count{display:none}
.load-more-btn.loading {opacity: 0.8;cursor: wait}
.load-more-btn.loading::after {content: '';display: inline-block;width: 20px;height: 20px;border: 3px solid rgba(255,255,255,0.3);border-radius: 50%;border-top-color: #fff;animation: spin 1s ease-in-out infinite;margin-left: 10px;vertical-align: middle}
@keyframes spin {
    to {transform: rotate(360deg); }
}
@media(max-width: 1229px) {
    .gallery-block {margin-bottom: 20px;}
    .gallery-row {gap: 20px;height: 320px;}
    .grid-2x2 {gap: 20px}
    .gallery-block {gap: 20px;}
}
@media(max-width: 991px) {
    .gallery-row {height: 260px;}
}
@media(max-width: 767px) {
    .gallery-block {margin-bottom: 15px;}
    .gallery-row {flex-direction: column;gap: 15px;height: auto}
    .item-large, .item-vertical, .grid-2x2 {flex: none;width: 100%;height: 340px;}
	.grid-item picture, .gallery-item picture, .grid-item img, .gallery-item img{height:auto}
    .grid-2x2 {height: 340px;gap: 15px;}
    .gallery-block {gap: 15px;}
}
@media(max-width: 575px) {
    .item-large, .item-vertical {height: 60vw;}
    .grid-2x2 {height: 60vw;}
}
@media(max-width: 420px) {
    .load-more-btn{width:100%}
}