

/* Start:/local/templates/xxc/components/bitrix/news/dukhovenstvo/bitrix/news.list/clergys/style.css?16996176001493*/
.shrines {
	padding: 10px 0
}

@media screen and (max-width:1200px) {
	.shrines {
		padding: 0
	}
}

.shrines__list {
	-ms-flex-wrap: wrap;
	flex-wrap: wrap
}

.shrines__list:after {
	content: "";
	width: 33%
}

.shrines .temple-item {
	width: 33%;
	margin-bottom: 55px
}

@media screen and (max-width:1350px) {
	.shrines .temple-item {
		width: 49%;
		margin-bottom: 25px
	}
}

.temple-item {
	text-align: center
}

.temple-item__image {
	position: relative;
	height: 276px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	margin-bottom: 10px
}

.temple-item__image img {
	display: block;
	margin: auto
}

.temple-item__image:after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	margin: auto;
	background-image: url(/img/round.svg);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	width: 100%;
	height: 100%;
	z-index: -1
}

.temple-item__title {
	line-height: 22px;
	margin-bottom: 10px;
	display: block;
	color: var(--color__text)
}

@media screen and (max-width:1200px) {
	.temple-item__image {
		margin-bottom: 5px;
		height: 260px
	}

	.temple-item__title {
		padding: 0 5px
	}
}

@media screen and (max-width:640px) {
	.temple-item__image {
		margin-bottom: 0
	}

	.temple-item__title {
		font-size: 1rem;
		padding: 0
	}
}

/* End */
/* /local/templates/xxc/components/bitrix/news/dukhovenstvo/bitrix/news.list/clergys/style.css?16996176001493 */
