.rs-17 .rs-photogallery{
	padding-top: 30px;
	padding-bottom: 35px;
}
.rs-17 .rs-photogallery .section-title{
	font-size: 36px;
	margin-bottom: 18px;
	font-weight: 400;
	margin-top: 30px;
}
.rs-17 .rs-photogallery .section-descr {
    width: 70%;
    text-align: center;
    margin: 20px auto 40px;
}
.rs-17 .rs-photogallery .section-descr p {
    font-size: 18px;
    color: #616161;
    text-align: center;
}
.rs-17 .rs-photogallery .gallery-item{
	margin-bottom: 45px;
	overflow: hidden;
}
.rs-17 .rs-photogallery .gallery-item a{
	display: block;
	background-color: #000;
	text-decoration: none;
	position: relative;
	background-size: cover;
}
.rs-17 .rs-photogallery .gallery-item.gallery-item--col3 a{
	height: 480px;
}
.rs-17 .rs-photogallery .gallery-item.gallery-item--col4 a{
	height: 262px;
}
.rs-17 .rs-photogallery .gallery-item.gallery-item--col6 a{
	height: 165px;
}
.rs-17 .rs-photogallery .gallery-item a img{
	width: 100%;
}
.rs-17 .rs-photogallery .gallery-item a:hover img{
	opacity: 0.7;
}
.rs-17 .rs-photogallery .gallery-item a:before{
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	opacity: 0;
	bottom: 0;
	z-index: 2;
	background-color: rgba(0,0,0,.3);
	transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
}
.rs-17 .rs-photogallery .gallery-item a:hover:before{
	opacity: 1;
}
@media (max-width: 1199px){
	.rs-17 .rs-photogallery .gallery-item.gallery-item--col3 a{
		height: 293px;
	}
	.rs-17 .rs-photogallery .gallery-item.gallery-item--col4 a{
		height: 212px;
	}
	.rs-17 .rs-photogallery .gallery-item.gallery-item--col6 a{
		height: 130px;
	}
}
@media (max-width: 991px){
	.rs-17 .rs-photogallery .gallery-item.gallery-item--col3 a{
		height: 220px;
	}
	.rs-17 .rs-photogallery .gallery-item.gallery-item--col4 a{
		height: 156px;
	}
	.rs-17 .rs-photogallery .gallery-item.gallery-item--col6 a{
		height: 220px;
	}
}
@media (max-width: 767px){
	.rs-17 .rs-photogallery .gallery-item{
		width: 290px;
		margin-left: auto;
		margin-right: auto;
	}
	.rs-17 .rs-photogallery .gallery-item  a,
	.rs-17 .rs-photogallery .gallery-item.gallery-item--col3 a,
	.rs-17 .rs-photogallery .gallery-item.gallery-item--col4 a,
	.rs-17 .rs-photogallery .gallery-item.gallery-item--col5 a{
		height: 290px;
	}
	.rs-17 .rs-photogallery .section-title{
		font-size: 25px;
	}
	.rs-17 .rs-photogallery .section-descr{
		width: 100%;
	}
}
.hidden-item {
		display: none;
	}

	.show-more-gallery {
		width: 200px;
		margin-top: 30px;
		padding: 12px 30px;
		background: #fff !important;
		color: #E4054C !important;
		border: 2px solid #E4054C !important;
		border-radius: 5px;
		cursor: pointer;
		transition: background 0.3s ease;
		font-weight: 700;
		test-align: center;
	}

	.show-more-gallery:hover {
		background: #E4054C !important;
		color: #fff !important;
		border: 2px solid #E4054C !important;
	}

	.show-more-gallery:active {
		background: #E4054C !important;
		color: #fff !important;
		border: 2px solid #E4054C !important;
		box-shadow: none !important;
	}

	@media (max-width: 767px) {
		.gallery-row {
			display: flex;
			flex-direction: column;
			align-items: center;
		}

		.gallery-item-wrapper {
			width: 100%;
			max-width: 300px;
			/* или подберите нужную ширину */
			margin-left: auto;
			margin-right: auto;
			padding: 0;
		}

		.gallery-item--col3 {
			width: 100%;
		}
	}