@keyframes c-photo-sections-top-default-1 {
	from {
		transform: translate(-100%, -100%);
	}
	to {
		transform: translate(100%, 100%);
	}
}

.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 {
	display: block;
}

.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 .photo-sections-top-sections {
	overflow: hidden;
}

.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 .photo-sections-top-loader {
	position: relative;
	background-color: #f2f2f2;
	overflow: hidden;
	z-index: 3;
}

.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 .photo-sections-top-loader::before {
	content: "";
	position: absolute;
	top: -50%;
	left: -50%;
	right: -50%;
	bottom: -50%;
	background: linear-gradient(
		135deg,
		rgba(0, 0, 0, 0) 35%,
		rgba(255, 255, 255, 0.85) 50%,
		rgba(0, 0, 0, 0) 65%
	);
	z-index: 1;
	animation-name: c-photo-sections-top-default-1;
	animation-duration: 1.5s;
	animation-iteration-count: infinite;
}

.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 .photo-sections-top-loader-part {
	position: absolute;
	background-color: #e8e8e8;
	z-index: 2;
}

.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 .photo-sections-top-loader-name {
	left: 24px;
	right: 24px;
	height: 20px;
	bottom: 48px;
	border-radius: 2px;
}

.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 .photo-sections-top-loader-navigation {
	left: 24px;
	right: 24px;
	bottom: 20px;
	height: 2px;
	border-radius: 1px;
}

.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 .photo-sections-top-section {
	display: block;
	position: relative;
	text-decoration: none;
	overflow: hidden;
	background: #f5f5f5;
}

.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 .photo-sections-top-section-content {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
}

.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 .photo-sections-top-section-content[data-loaded=true] {
	position: relative;
	top: auto;
	left: auto;
	right: auto;
	bottom: auto;
}

.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 .photo-sections-top-section-picture {
	min-height: 230px;
	padding-top: 65%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	transition: transform 0.35s ease;
}

.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 .photo-sections-top-section-picture[data-lazyload-use=true] {
	background-color: #f2f2f2;
}

.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 .photo-sections-top-section-information {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0) 0%,
		rgba(0, 0, 0, 0.18) 42%,
		rgba(0, 0, 0, 0.72) 100%
	);
	pointer-events: none;
	z-index: 2;
}

.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 .photo-sections-top-section-information-content {
	position: absolute;
	left: 24px;
	right: 24px;
	bottom: 20px;
	top: auto;
}

.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 .photo-sections-top-section-count {
	margin: 0 0 5px;
	font-size: 12px;
	line-height: 1.35;
	color: #dfdfdf;
}

.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 .photo-sections-top-section-name,
.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 h3.photo-sections-top-section-name {
	margin: 0;
	padding: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: #ffffff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 .photo-sections-top-section-decoration {
	text-align: left;
	margin-top: 11px;
}

.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 .photo-sections-top-section-decoration svg {
	width: 42px;
	height: 8px;
}

.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 .photo-sections-top-section-decoration svg path {
	fill: rgba(255, 255, 255, 0.45);
	transition: fill 0.25s ease;
}

.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 .photo-sections-top-section-navigation {
	margin-top: 22px;
}

.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 .photo-sections-top-section-navigation button {
	padding: 0;
	border: none;
	background-color: rgba(255, 255, 255, 0.35);
	transition: background-color 0.25s ease;
}

.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 .photo-sections-top-section-navigation button.active {
	background-color: #ffffff;
}

.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 .photo-sections-top-section:hover .photo-sections-top-section-picture {
	transform: scale(1.035);
}

.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 .photo-sections-top-section:hover .photo-sections-top-section-decoration svg path {
	fill: #ffffff;
}

/* ===== PHARAON: вступительный SEO-блок галереи ===== */

.ph-gallery-intro-wrap {
	margin-top: 26px !important;
	margin-bottom: 18px !important;
}

.ph-gallery-intro-wrap .intec-content-wrapper {
	max-width: 1180px !important;
	margin: 0 auto !important;
	padding: 0 15px !important;
	box-sizing: border-box !important;
}

.ph-gallery-intro {
	width: 100% !important;
	max-width: 930px !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
	text-align: left !important;
}

.ph-gallery-intro h2 {
	margin: 0 0 12px !important;
	padding: 0 !important;
	font-size: 24px !important;
	line-height: 1.3 !important;
	font-weight: 400 !important;
	color: #2f2f2f !important;
	text-align: left !important;
}

.ph-gallery-intro p {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 15px !important;
	line-height: 1.55 !important;
	color: #555555 !important;
	text-align: left !important;
}

@media all and (max-width: 768px) {
	.ph-gallery-intro-wrap {
		margin-top: 22px !important;
		margin-bottom: 18px !important;
	}

	.ph-gallery-intro-wrap .intec-content-wrapper {
		max-width: none !important;
		padding: 0 16px !important;
	}

	.ph-gallery-intro {
		max-width: none !important;
	}

	.ph-gallery-intro h2 {
		margin-bottom: 10px !important;
		font-size: 21px !important;
		line-height: 1.35 !important;
	}

	.ph-gallery-intro p {
		font-size: 14px !important;
		line-height: 1.55 !important;
	}
}


/* H3 внутри карточек галереи */

.ph-photo-card-title {
	margin: 0;
	padding: 0;
	font-size: inherit;
	line-height: inherit;
	font-weight: inherit;
	color: inherit;
}

@media all and (max-width: 768px) {
	.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 .photo-sections-top-loader-name,
	.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 .photo-sections-top-loader-navigation {
		left: 14px;
		right: 14px;
	}

	.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 .photo-sections-top-section-information-content {
		left: 16px;
		right: 16px;
		bottom: 16px;
	}

	.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 .photo-sections-top-section-name,
	.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 h3.photo-sections-top-section-name {
		font-size: 14px;
		line-height: 1.35;
	}

	.ph-gallery-intro-wrap {
		margin-top: 22px !important;
		margin-bottom: 18px !important;
	}

	.ph-gallery-intro-wrap .intec-content-wrapper {
		max-width: none !important;
		padding: 0 16px !important;
	}

	.ph-gallery-intro h2 {
		margin-bottom: 10px !important;
		font-size: 21px !important;
		line-height: 1.35 !important;
	}

	.ph-gallery-intro p {
		font-size: 14px !important;
		line-height: 1.55 !important;
	}
}

@media all and (max-width: 500px) {
	.ns-bitrix.c-photo-sections-top.c-photo-sections-top-default-1 .photo-sections-top-section-picture {
		min-height: 200px;
	}
}