/* .section-cont {
	background: #efeeee;
}

.vac-grid {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	grid-template-rows: repeat(24, 1fr);
	row-gap: 20px;
	column-gap: 20px;
	height: 600px;

	Т.е. у каждой ячейкт grid-column будет по 2

	 grid-template-areas:
		"A A A A   B B B B   B B B B   A A A A"
		"A A A A   A A A A   C C C C   A A A A"
		"B B B B   A A A A   A A A A   B B B B"
		"C C C C   B B B B   A A A A   C C C C"; 
}

.vac-grid .vac-grid-item {
	background: #fff;
	padding: 16px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: all 0.3s ease-out;
	position: relative;
}

.vac-grid .vac-grid-item img {
	transition: all 0.3s ease-out;
	opacity: 0;
}


.vac-grid .vac-grid-item.vac-grid-item-zero,
.vac-other-grid .vac-other-grid-item.vac-grid-item-zero {
	background: #E8E9E9;
}

.vac-grid .vac-grid-item.vac-grid-item-zero h2,
.vac-other-grid .vac-other-grid-item.vac-grid-item-zero h2 {
	color: #808080;
}

.vac-grid .vac-grid-item.vac-grid-item-zero a,
.vac-other-grid .vac-other-grid-item.vac-grid-item-zero a {
	color: #939598;
	cursor: auto;
}

.vac-other-grid {
	display: grid;
	grid-auto-columns: 1fr;
	grid-template-columns: repeat(3, minmax(225px, 1fr));
	margin-top: -5px;
	gap: 20px;
}

.vac-other-grid .vac-other-grid-item {
	display: flex;
	flex-direction: column;
	height: 135px;
	background: #fff;
	padding: 16px;
	flex-direction: column;
	justify-content: space-between;
	transition: all 0.3s ease-out;
	position: relative;
}

.vac-other-grid .vac-other-grid-item-click-area {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 2;
}

.vac-grid .vac-grid-item h2,
.vac-other-grid .vac-other-grid-item h2 {
	font-family: 'MikroBold';
	font-style: normal;
	font-weight: 700;
	font-size: 18px;
	line-height: 135%;
	letter-spacing: -0.1px;
	color: #1A1A1A;
	text-transform: none;
	margin-bottom: 0px;
}

.vac-grid .vac-grid-item .vac-grid-item-count,
.vac-other-grid .vac-other-grid-item .vac-other-grid-item-count {
	font-family: 'MikroRegular';
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 135%;
	letter-spacing: -0.1px;
	color: #939598;
	text-decoration: none;
}

.vac-grid-item-click-area,
.vac-other-grid-item-click-area {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 2;
}

.vac-grid-item-arrow,
.vac-other-grid-item-arrow {
	background-color: #f6e26d;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	position: absolute;
	right: 16px;
	bottom: 16px;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1;
	opacity: 0;
	transition: all 0.3s ease-out;
}

.vac-grid-item-arrow svg,
.vac-other-grid-item-arrow svg {
	width: 20px;
	height: 18px;
}

.vac-grid-item-arrow svg path,
.vac-other-grid-item-arrow svg path {
	fill: #008066;
}

.vac-grid .vac-grid-item:not(.vac-grid-item-zero):hover,
.vac-other-grid .vac-other-grid-item:not(.vac-grid-item-zero):hover {
	background-color: #008066;
}

.vac-grid .vac-grid-item:not(.vac-grid-item-zero):hover img,
.vac-other-grid .vac-other-grid-item:not(.vac-grid-item-zero):hover img {
	opacity: 1;
}

.vac-grid .vac-grid-item:not(.vac-grid-item-zero):hover .vac-grid-item-arrow,
.vac-other-grid .vac-other-grid-item:not(.vac-grid-item-zero):hover .vac-other-grid-item-arrow {
	opacity: 1;
}

.vac-grid .vac-grid-item:not(.vac-grid-item-zero):hover h2,
.vac-grid .vac-grid-item:not(.vac-grid-item-zero):hover a,
.vac-other-grid .vac-other-grid-item:not(.vac-grid-item-zero):hover h2,
.vac-other-grid .vac-other-grid-item:not(.vac-grid-item-zero):hover a {
	color: #fff;
}


.vac-grid .vac-grid-item:nth-child(1) {
	grid-column: 1 / 3;
	grid-row: 1 / 12;
}

.vac-grid .vac-grid-item:nth-child(2) {
	grid-column: 3 / 5;
	grid-row: 1 / 12;
}

.vac-grid .vac-grid-item:nth-child(3) {
	grid-column: 5 / 7;
	grid-row: 1 / 12;
}

.vac-grid .vac-grid-item:nth-child(4) {
	grid-column: 7 / 9;
	grid-row: 1 / 12;
}

.vac-grid .vac-grid-item:nth-child(5) {
	grid-column: 1 / 3;
	grid-row: 12 / 18;
}

.vac-grid .vac-grid-item:nth-child(6) {
	grid-column: 3 / 5;
	grid-row: 12 / 18;
}

.vac-grid .vac-grid-item:nth-child(7) {
	grid-column: 5 / 7;
	grid-row: 12 / 18;
}

.vac-grid .vac-grid-item:nth-child(8) {
	grid-column: 7 / 9;
	grid-row: 12 / 18;
}

.vac-grid .vac-grid-item:nth-child(9) {
	grid-column: 1 / 3;
	grid-row: 18 / 24;
}

.vac-grid .vac-grid-item:nth-child(10) {
	grid-column: 3 / 5;
	grid-row: 18 / 24;
}

.vac-grid .vac-grid-item:nth-child(11) {
	grid-column: 5 / 7;
	grid-row: 18 / 24;
}

.vac-grid .vac-grid-item:nth-child(12) {
	grid-column: 7 / 9;
	grid-row: 18 / 24;
}


 .vac-grid .vac-grid-item:nth-child(2),
.vac-grid .vac-grid-item:nth-child(3),
.vac-grid .vac-grid-item:nth-child(5),
.vac-grid .vac-grid-item:nth-child(8), 
.vac-grid .vac-grid-item:nth-child(10) {
	grid-area: B;
}

.vac-grid .vac-grid-item:nth-child(7),
.vac-grid .vac-grid-item:nth-child(9),
.vac-grid .vac-grid-item:nth-child(16) {
	grid-area: C;
} 


 line 
.bx_catalog_line {
	margin-bottom: 30px;
}

.bx_catalog_line .bx_catalog_line_category_title {
	padding-bottom: 14px;
	border-bottom: 1px solid #e5e5e5;
	font-size: 24px;
}

.bx_catalog_line .bx_catalog_line_category_title a {
	color: #000;
	text-decoration: none;
}

.bx_catalog_line .bx_catalog_line_ul {
	padding: 0;
}

.bx_catalog_line .bx_catalog_line_ul li {
	margin-bottom: 20px;
	list-style: none;
}

.bx_catalog_line .bx_catalog_line_ul li:before {
	content: '' !important
}

.bx_catalog_line .bx_catalog_line_img {
	position: relative;
	display: block;
	float: left;
	overflow: hidden;
	margin-right: 40px;
	width: 125px;
	height: 125px;
	border: 1px solid #ccc;
	border-radius: 2px;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	-webkit-background-size: contain;
}

.bx_catalog_line .bx_catalog_line_title {
	margin-bottom: 10px;
	padding: 0;
	vertical-align: top;
	line-height: 18px;
}

.bx_catalog_line .bx_catalog_line_title a {
	color: #4c7da6;
	font-size: 18px;
}

.bx_catalog_line .bx_catalog_line_title a:hover {
	text-decoration: none;
}

.bx_catalog_line .bx_catalog_line_title span {
	font-size: 16px
}

.bx_catalog_line .bx_catalog_line_description {
	color: #3f3f3f;
	font-size: 13px;
	line-height: 16px;
}

@media (max-width: 639px) {
	.bx-touch .bx_catalog_line .bx_catalog_line_img {
		margin-right: 10px;
		width: 50px;
		height: 50px;
	}

	.bx-touch .bx_catalog_line .bx_catalog_line_title {
		margin-bottom: 5px;
		line-height: 14px;
	}

	.bx-touch .bx_catalog_line .bx_catalog_line_title a {
		font-size: 14px;
	}

	.bx-touch .bx_catalog_line .bx_catalog_line_description {
		font-size: 11px;
	}
}

.bx_catalog_line .bx_catalog_line_img,
.bx_catalog_line .bx_catalog_line_title,
.bx_catalog_line .bx_catalog_line_title a,
.bx_catalog_line .bx_catalog_line_description {
	transition: all 0.3s ease;
}

.bx_catalog_text {
	margin-bottom: 30px;
}

.bx_catalog_text .bx_catalog_text_category_title {
	padding-bottom: 14px;
	border-bottom: 1px solid #e5e5e5;
	font-size: 24px;
}

.bx_catalog_text .bx_catalog_text_category_title a {
	color: #000;
	text-decoration: none;
}

.bx_catalog_text .bx_catalog_text_ul {
	padding: 0;
}

.bx_catalog_text .bx_catalog_text_ul li {
	float: left;
	margin: 0 10px 10px;
	list-style: none;
}

.bx_catalog_text .bx_catalog_text_ul li:before {
	content: '' !important
}

.bx_catalog_text .bx_catalog_text_title {
	margin: 0;
	padding: 0;
	vertical-align: top;
	font-size: 14px;
	line-height: 14px;
}

.bx_catalog_tile .bx_catalog_tile_title a {
	display: inline-block;
	overflow: hidden;
	max-width: 100%;
	color: #4c7da6;
	-ms-text-overflow: ellipsis;
	text-overflow: ellipsis;
	font-size: 14px;
}

.bx_catalog_text .bx_catalog_text_title a:hover {
	text-decoration: none
}

.bx_catalog_text .bx_catalog_text_title span {
	font-size: 12px;
}

@media (max-width: 639px) {
	.bx-touch .bx_catalog_text .bx_catalog_line_title {
		margin-bottom: 5px;
		line-height: 12px;
	}

	.bx-touch .bx_catalog_text .bx_catalog_line_title a {
		font-size: 12px;
	}
}

.bx_catalog_text .bx_catalog_line_title,
.bx_catalog_text .bx_catalog_line_title a {
	transition: all 0.3s ease;
}

.bx_catalog_tile {
	margin-bottom: 30px;
}

.bx_catalog_tile .bx_catalog_tile_category_title {
	padding-bottom: 14px;
	border-bottom: 1px solid #e5e5e5;
	font-size: 24px;
}

.bx_catalog_tile .bx_catalog_tile_category_title a {
	color: #000;
	text-decoration: none;
}

.bx_catalog_tile .bx_catalog_tile_ul {
	padding: 0;
}

.bx_catalog_tile .bx_catalog_tile_ul li {
	float: left;
	box-sizing: border-box;
	margin-bottom: 20px;
	padding: 0 10px;
	width: 12.5%;
	list-style: none;
	text-align: center;
}

.bx_catalog_tile .bx_catalog_tile_ul li:before {
	content: '' !important
}

.bx_catalog_tile .bx_catalog_tile_ul li:nth-child(8n+1) {
	clear: both;
}

.bx_catalog_tile .bx_catalog_tile_img {
	position: relative;
	display: block;
	overflow: hidden;
	margin: 0 auto;
	width: 78px;
	height: 78px;
	border: 1px solid #ccc;
	border-radius: 2px;
	background-color: #fff;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	-webkit-background-size: contain;
}

.bx_catalog_tile .bx_catalog_tile_title {
	margin-top: 5px;
	margin-bottom: 10px;
	padding: 0;
	vertical-align: top;
	line-height: 14px;
}

.bx_catalog_tile .bx_catalog_tile_title a {
	color: #4c7da6;
	font-size: 14px;
}

.bx_catalog_tile .bx_catalog_tile_title a:hover {
	text-decoration: none;
}

.bx_catalog_tile .bx_catalog_tile_title span {
	font-size: 12px;
}

@media (max-width: 980px) {
	.bx_catalog_tile .bx_catalog_tile_ul li {
		width: 20%;
	}

	.bx_catalog_tile .bx_catalog_tile_ul li:nth-child(8n+1) {
		clear: none;
	}

	.bx_catalog_tile .bx_catalog_tile_ul li:nth-child(5n+1) {
		clear: both;
	}
}

@media (max-width: 639px) {
	.bx-touch .bx_catalog_tile .bx_catalog_tile_title {
		margin-bottom: 5px;
		line-height: 14px;
	}

	.bx-touch .bx_catalog_tile .bx_catalog_tile_title {
		line-height: 10px;
	}

	.bx-touch .bx_catalog_tile .bx_catalog_tile_title a {
		font-size: 11px;
	}
}

@media (min-width: 480px) and (max-width: 639px) {
	.bx-touch .bx_catalog_tile .bx_catalog_tile_ul li {
		width: 25%;
	}

	.bx-touch .bx_catalog_tile .bx_catalog_tile_ul li:nth-child(8n+1) {
		clear: none;
	}

	.bx-touch .bx_catalog_tile .bx_catalog_tile_ul li:nth-child(5n+1) {
		clear: none;
	}

	.bx-touch .bx_catalog_tile .bx_catalog_tile_ul li:nth-child(4n+1) {
		clear: both;
	}
}

@media (max-width: 479px) {
	.bx-touch .bx_catalog_tile .bx_catalog_tile_ul li {
		width: 33.3%;
	}

	.bx-touch .bx_catalog_tile .bx_catalog_tile_img {
		width: 100%;
		height: 80px;
	}

	.bx-touch .bx_catalog_tile .bx_catalog_tile_ul li:nth-child(8n+1) {
		clear: none;
	}

	.bx-touch .bx_catalog_tile .bx_catalog_tile_ul li:nth-child(5n+1) {
		clear: none;
	}

	.bx-touch .bx_catalog_tile .bx_catalog_tile_ul li:nth-child(3n+1) {
		clear: both;
	}

}

.bx_catalog_tile .bx_catalog_tile_title,
.bx_catalog_tile .bx_catalog_tile_title a,
.bx_catalog_tile .bx_catalog_tile_ul li,
.bx_catalog_tile .bx_catalog_tile_img {
	transition: all 0.3s ease;
}

.bx_sitemap {
	margin-bottom: 30px;
}

.bx_sitemap .bx_sitemap_title {
	padding-bottom: 14px;
	border-bottom: 1px solid #e5e5e5;
	font-size: 24px;
}

.bx_sitemap .bx_sitemap_title a {
	color: #000;
	text-decoration: none;
}

.bx_sitemap .bx_sitemap_ul li {
	padding: 0;
	line-height: 14px;
}

.bx_sitemap .bx_sitemap_ul li:before {
	content: '' !important
}

.bx_sitemap .bx_sitemap_li_title {
	display: inline-block;
	margin: 0;
	margin-bottom: 10px;
	padding: 0;
	vertical-align: top;
	font-weight: normal;
	line-height: 13px;
}

.bx_sitemap .bx_sitemap_li_title a {
	color: #4c7da6;
	white-space: nowrap;
	font-size: 13px;
}

.bx_sitemap .bx_sitemap_li_title a:hover {
	text-decoration: none
}

.bx_sitemap .bx_sitemap_li_title span {
	font-size: 11px;
}

@media (max-width: 639px) {
	.bx-touch .bx_sitemap .bx_catalog_line_title {
		margin-bottom: 5px;
		line-height: 12px;
	}

	.bx-touch .bx_sitemap .bx_catalog_line_title a {
		font-size: 12px;
	}
}

.bx_sitemap .bx_catalog_line_title,
.bx_sitemap .bx_catalog_line_title a {
	transition: all 0.3s ease;
}

@media (max-width: 576px) {
	main .vac-grid {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		height: auto;
	}

	.vac-grid .vac-grid-item {
		grid-column: unset !important;
		grid-row: unset !important;
	}

	main .vac-other-grid {
		grid-auto-columns: auto;
		grid-template-columns: 1fr;
		margin-top: 20px;
	}

	main .vac-other-grid .vac-other-grid-item {
		height: auto;
	}
}

@media (min-width: 577px) and (max-width: 1205px) {
	main .vac-grid {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: auto;
		height: auto;
	}

	.vac-grid .vac-grid-item {
		grid-column: unset !important;
		grid-row: unset !important;
	}

	main .vac-other-grid {
		grid-auto-columns: auto;
		grid-template-columns: repeat(2, 1fr);
		margin-top: 20px;
	}

	main .vac-other-grid .vac-other-grid-item {
		height: auto;
	}
}

@media (max-width: 1205px) {
	.vac-grid .vac-grid-item img {
		display: none !important;
	}

	.vac-grid .vac-grid-item h2,
	.vac-other-grid .vac-other-grid-item h2 {
		margin: 0 0 20px;
	}
}





 */


























.section-cont {
	background: #efeeee;
}

.vac-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	row-gap: 20px;
	column-gap: 20px;
	height: auto;
}

.vac-grid .vac-grid-item {
	background: #fff;
	padding: 16px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: all 0.3s ease-out;
	position: relative;
	height: 100px;
}

.vac-grid .vac-grid-item img {
	transition: all 0.3s ease-out;
	opacity: 0;
}


.vac-grid .vac-grid-item.vac-grid-item-zero,
.vac-other-grid .vac-other-grid-item.vac-grid-item-zero {
	background: #E8E9E9;
}

.vac-grid .vac-grid-item.vac-grid-item-zero h2,
.vac-other-grid .vac-other-grid-item.vac-grid-item-zero h2 {
	color: #808080;
}

.vac-grid .vac-grid-item.vac-grid-item-zero a,
.vac-other-grid .vac-other-grid-item.vac-grid-item-zero a {
	color: #939598;
	cursor: auto;
}

.vac-other-grid {
	display: grid;
	grid-auto-columns: 1fr;
	grid-template-columns: repeat(3, minmax(225px, 1fr));
	margin-top: -5px;
	gap: 20px;
}

.vac-other-grid .vac-other-grid-item {
	display: flex;
	flex-direction: column;
	height: 135px;
	background: #fff;
	padding: 16px;
	flex-direction: column;
	justify-content: space-between;
	transition: all 0.3s ease-out;
	position: relative;
}

.vac-other-grid .vac-other-grid-item-click-area {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 2;
}

.vac-grid .vac-grid-item h2,
.vac-other-grid .vac-other-grid-item h2 {
	font-family: 'MikroBold';
	font-style: normal;
	font-weight: 700;
	font-size: 18px;
	line-height: 135%;
	letter-spacing: -0.1px;
	color: #1A1A1A;
	text-transform: none;
	margin-bottom: 0px;
}

.vac-grid .vac-grid-item .vac-grid-item-count,
.vac-other-grid .vac-other-grid-item .vac-other-grid-item-count {
	font-family: 'MikroRegular';
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 135%;
	letter-spacing: -0.1px;
	color: #939598;
	text-decoration: none;
}

.vac-grid-item-click-area,
.vac-other-grid-item-click-area {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 2;
}

.vac-grid-item-arrow,
.vac-other-grid-item-arrow {
	background-color: #f6e26d;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	position: absolute;
	right: 16px;
	bottom: 16px;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1;
	opacity: 0;
	transition: all 0.3s ease-out;
}

.vac-grid-item-arrow svg,
.vac-other-grid-item-arrow svg {
	width: 20px;
	height: 18px;
}

.vac-grid-item-arrow svg path,
.vac-other-grid-item-arrow svg path {
	fill: #008066;
}

.vac-grid .vac-grid-item:not(.vac-grid-item-zero):hover,
.vac-other-grid .vac-other-grid-item:not(.vac-grid-item-zero):hover {
	background-color: #008066;
}

.vac-grid .vac-grid-item:not(.vac-grid-item-zero):hover img,
.vac-other-grid .vac-other-grid-item:not(.vac-grid-item-zero):hover img {
	opacity: 1;
}

.vac-grid .vac-grid-item:not(.vac-grid-item-zero):hover .vac-grid-item-arrow,
.vac-other-grid .vac-other-grid-item:not(.vac-grid-item-zero):hover .vac-other-grid-item-arrow {
	opacity: 1;
}

.vac-grid .vac-grid-item:not(.vac-grid-item-zero):hover h2,
.vac-grid .vac-grid-item:not(.vac-grid-item-zero):hover a,
.vac-other-grid .vac-other-grid-item:not(.vac-grid-item-zero):hover h2,
.vac-other-grid .vac-other-grid-item:not(.vac-grid-item-zero):hover a {
	color: #fff;
}

/* ===== АДАПТИВНАЯ РАСКЛАДКА В ЗАВИСИМОСТИ ОТ КОЛИЧЕСТВА ЭЛЕМЕНТОВ ===== */

/* --- 4 элемента: 2 + 2 --- */
.vac-grid:has(.vac-grid-item:nth-child(4):last-child) .vac-grid-item:nth-child(1),
.vac-grid:has(.vac-grid-item:nth-child(4):last-child) .vac-grid-item:nth-child(2) {
	grid-column: span 3;
}

.vac-grid:has(.vac-grid-item:nth-child(4):last-child) .vac-grid-item:nth-child(3),
.vac-grid:has(.vac-grid-item:nth-child(4):last-child) .vac-grid-item:nth-child(4) {
	grid-column: span 3;
}

/* --- 5 элементов: 2 + 3 --- */
.vac-grid:has(.vac-grid-item:nth-child(5):last-child) .vac-grid-item:nth-child(1),
.vac-grid:has(.vac-grid-item:nth-child(5):last-child) .vac-grid-item:nth-child(2) {
	grid-column: span 3;
}

.vac-grid:has(.vac-grid-item:nth-child(5):last-child) .vac-grid-item:nth-child(3),
.vac-grid:has(.vac-grid-item:nth-child(5):last-child) .vac-grid-item:nth-child(4),
.vac-grid:has(.vac-grid-item:nth-child(5):last-child) .vac-grid-item:nth-child(5) {
	grid-column: span 2;
}

/* --- 6 элементов: 3 + 3 --- */
.vac-grid:has(.vac-grid-item:nth-child(6):last-child) .vac-grid-item {
	grid-column: span 2;
}

/* --- 7 элементов: 2 + 3 + 2 --- */
.vac-grid:has(.vac-grid-item:nth-child(7):last-child) .vac-grid-item:nth-child(1),
.vac-grid:has(.vac-grid-item:nth-child(7):last-child) .vac-grid-item:nth-child(2) {
	grid-column: span 3;
}

.vac-grid:has(.vac-grid-item:nth-child(7):last-child) .vac-grid-item:nth-child(3),
.vac-grid:has(.vac-grid-item:nth-child(7):last-child) .vac-grid-item:nth-child(4),
.vac-grid:has(.vac-grid-item:nth-child(7):last-child) .vac-grid-item:nth-child(5) {
	grid-column: span 2;
}

.vac-grid:has(.vac-grid-item:nth-child(7):last-child) .vac-grid-item:nth-child(6),
.vac-grid:has(.vac-grid-item:nth-child(7):last-child) .vac-grid-item:nth-child(7) {
	grid-column: span 3;
}
/* --- 8 элементов: 2 + 3 + 3 --- */
.vac-grid:has(.vac-grid-item:nth-child(8):last-child) .vac-grid-item:nth-child(1),
.vac-grid:has(.vac-grid-item:nth-child(8):last-child) .vac-grid-item:nth-child(2) {
	grid-column: span 3;
}

.vac-grid:has(.vac-grid-item:nth-child(8):last-child) .vac-grid-item:nth-child(3),
.vac-grid:has(.vac-grid-item:nth-child(8):last-child) .vac-grid-item:nth-child(4),
.vac-grid:has(.vac-grid-item:nth-child(8):last-child) .vac-grid-item:nth-child(5) {
	grid-column: span 2;
}

.vac-grid:has(.vac-grid-item:nth-child(8):last-child) .vac-grid-item:nth-child(6),
.vac-grid:has(.vac-grid-item:nth-child(8):last-child) .vac-grid-item:nth-child(7),
.vac-grid:has(.vac-grid-item:nth-child(8):last-child) .vac-grid-item:nth-child(8) {
	grid-column: span 2;
}

/* --- 9 элементов: 3 + 3 + 3 (кратно 3) --- */
.vac-grid:has(.vac-grid-item:nth-child(9):last-child) .vac-grid-item {
	grid-column: span 2;
}

/* --- 10 элементов: 2 + 2 + 3 + 3 --- */
.vac-grid:has(.vac-grid-item:nth-child(10):last-child) .vac-grid-item:nth-child(1),
.vac-grid:has(.vac-grid-item:nth-child(10):last-child) .vac-grid-item:nth-child(2) {
	grid-column: span 3;
}

.vac-grid:has(.vac-grid-item:nth-child(10):last-child) .vac-grid-item:nth-child(3),
.vac-grid:has(.vac-grid-item:nth-child(10):last-child) .vac-grid-item:nth-child(4) {
	grid-column: span 3;
}

.vac-grid:has(.vac-grid-item:nth-child(10):last-child) .vac-grid-item:nth-child(5),
.vac-grid:has(.vac-grid-item:nth-child(10):last-child) .vac-grid-item:nth-child(6),
.vac-grid:has(.vac-grid-item:nth-child(10):last-child) .vac-grid-item:nth-child(7),
.vac-grid:has(.vac-grid-item:nth-child(10):last-child) .vac-grid-item:nth-child(8),
.vac-grid:has(.vac-grid-item:nth-child(10):last-child) .vac-grid-item:nth-child(9),
.vac-grid:has(.vac-grid-item:nth-child(10):last-child) .vac-grid-item:nth-child(10) {
	grid-column: span 2;
}

/* --- 11 элементов: 2 + 3 + 3 + 3 --- */
.vac-grid:has(.vac-grid-item:nth-child(11):last-child) .vac-grid-item:nth-child(1),
.vac-grid:has(.vac-grid-item:nth-child(11):last-child) .vac-grid-item:nth-child(2) {
	grid-column: span 3;
}

.vac-grid:has(.vac-grid-item:nth-child(11):last-child) .vac-grid-item:nth-child(3),
.vac-grid:has(.vac-grid-item:nth-child(11):last-child) .vac-grid-item:nth-child(4),
.vac-grid:has(.vac-grid-item:nth-child(11):last-child) .vac-grid-item:nth-child(5) {
	grid-column: span 2;
}

.vac-grid:has(.vac-grid-item:nth-child(11):last-child) .vac-grid-item:nth-child(6),
.vac-grid:has(.vac-grid-item:nth-child(11):last-child) .vac-grid-item:nth-child(7),
.vac-grid:has(.vac-grid-item:nth-child(11):last-child) .vac-grid-item:nth-child(8),
.vac-grid:has(.vac-grid-item:nth-child(11):last-child) .vac-grid-item:nth-child(9),
.vac-grid:has(.vac-grid-item:nth-child(11):last-child) .vac-grid-item:nth-child(10),
.vac-grid:has(.vac-grid-item:nth-child(11):last-child) .vac-grid-item:nth-child(11) {
	grid-column: span 2;
}

/* --- 12 элементов: 3 + 3 + 3 + 3 (кратно 3) --- */
.vac-grid:has(.vac-grid-item:nth-child(12):last-child) .vac-grid-item {
	grid-column: span 2;
}

/* --- Для 0 элементов (или если нужно по умолчанию) - по 3 в строке --- */
.vac-grid:not(:has(.vac-grid-item:nth-child(1))) .vac-grid-item,
.vac-grid:has(.vac-grid-item:nth-child(3n):last-child):not(:has(.vac-grid-item:nth-child(4):last-child)) .vac-grid-item {
	grid-column: span 2;
}

/* line */
.bx_catalog_line {
	margin-bottom: 30px;
}

.bx_catalog_line .bx_catalog_line_category_title {
	padding-bottom: 14px;
	border-bottom: 1px solid #e5e5e5;
	font-size: 24px;
}

.bx_catalog_line .bx_catalog_line_category_title a {
	color: #000;
	text-decoration: none;
}

.bx_catalog_line .bx_catalog_line_ul {
	padding: 0;
}

.bx_catalog_line .bx_catalog_line_ul li {
	margin-bottom: 20px;
	list-style: none;
}

.bx_catalog_line .bx_catalog_line_ul li:before {
	content: '' !important
}

.bx_catalog_line .bx_catalog_line_img {
	position: relative;
	display: block;
	float: left;
	overflow: hidden;
	margin-right: 40px;
	width: 125px;
	height: 125px;
	border: 1px solid #ccc;
	border-radius: 2px;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	-webkit-background-size: contain;
}

.bx_catalog_line .bx_catalog_line_title {
	margin-bottom: 10px;
	padding: 0;
	vertical-align: top;
	line-height: 18px;
}

.bx_catalog_line .bx_catalog_line_title a {
	color: #4c7da6;
	font-size: 18px;
}

.bx_catalog_line .bx_catalog_line_title a:hover {
	text-decoration: none;
}

.bx_catalog_line .bx_catalog_line_title span {
	font-size: 16px
}

.bx_catalog_line .bx_catalog_line_description {
	color: #3f3f3f;
	font-size: 13px;
	line-height: 16px;
}

@media (max-width: 639px) {
	.bx-touch .bx_catalog_line .bx_catalog_line_img {
		margin-right: 10px;
		width: 50px;
		height: 50px;
	}

	.bx-touch .bx_catalog_line .bx_catalog_line_title {
		margin-bottom: 5px;
		line-height: 14px;
	}

	.bx-touch .bx_catalog_line .bx_catalog_line_title a {
		font-size: 14px;
	}

	.bx-touch .bx_catalog_line .bx_catalog_line_description {
		font-size: 11px;
	}
}

.bx_catalog_line .bx_catalog_line_img,
.bx_catalog_line .bx_catalog_line_title,
.bx_catalog_line .bx_catalog_line_title a,
.bx_catalog_line .bx_catalog_line_description {
	transition: all 0.3s ease;
}

/* text */
.bx_catalog_text {
	margin-bottom: 30px;
}

.bx_catalog_text .bx_catalog_text_category_title {
	padding-bottom: 14px;
	border-bottom: 1px solid #e5e5e5;
	font-size: 24px;
}

.bx_catalog_text .bx_catalog_text_category_title a {
	color: #000;
	text-decoration: none;
}

.bx_catalog_text .bx_catalog_text_ul {
	padding: 0;
}

.bx_catalog_text .bx_catalog_text_ul li {
	float: left;
	margin: 0 10px 10px;
	list-style: none;
}

.bx_catalog_text .bx_catalog_text_ul li:before {
	content: '' !important
}

.bx_catalog_text .bx_catalog_text_title {
	margin: 0;
	padding: 0;
	vertical-align: top;
	font-size: 14px;
	line-height: 14px;
}

.bx_catalog_tile .bx_catalog_tile_title a {
	display: inline-block;
	overflow: hidden;
	max-width: 100%;
	color: #4c7da6;
	-ms-text-overflow: ellipsis;
	text-overflow: ellipsis;
	font-size: 14px;
}

.bx_catalog_text .bx_catalog_text_title a:hover {
	text-decoration: none
}

.bx_catalog_text .bx_catalog_text_title span {
	font-size: 12px;
}

@media (max-width: 639px) {
	.bx-touch .bx_catalog_text .bx_catalog_line_title {
		margin-bottom: 5px;
		line-height: 12px;
	}

	.bx-touch .bx_catalog_text .bx_catalog_line_title a {
		font-size: 12px;
	}
}

.bx_catalog_text .bx_catalog_line_title,
.bx_catalog_text .bx_catalog_line_title a {
	transition: all 0.3s ease;
}

/* tile */

.bx_catalog_tile {
	margin-bottom: 30px;
}

.bx_catalog_tile .bx_catalog_tile_category_title {
	padding-bottom: 14px;
	border-bottom: 1px solid #e5e5e5;
	font-size: 24px;
}

.bx_catalog_tile .bx_catalog_tile_category_title a {
	color: #000;
	text-decoration: none;
}

.bx_catalog_tile .bx_catalog_tile_ul {
	padding: 0;
}

.bx_catalog_tile .bx_catalog_tile_ul li {
	float: left;
	box-sizing: border-box;
	margin-bottom: 20px;
	padding: 0 10px;
	width: 12.5%;
	list-style: none;
	text-align: center;
}

.bx_catalog_tile .bx_catalog_tile_ul li:before {
	content: '' !important
}

.bx_catalog_tile .bx_catalog_tile_ul li:nth-child(8n+1) {
	clear: both;
}

.bx_catalog_tile .bx_catalog_tile_img {
	position: relative;
	display: block;
	overflow: hidden;
	margin: 0 auto;
	width: 78px;
	height: 78px;
	border: 1px solid #ccc;
	border-radius: 2px;
	background-color: #fff;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	-webkit-background-size: contain;
}

.bx_catalog_tile .bx_catalog_tile_title {
	margin-top: 5px;
	margin-bottom: 10px;
	padding: 0;
	vertical-align: top;
	line-height: 14px;
}

.bx_catalog_tile .bx_catalog_tile_title a {
	color: #4c7da6;
	font-size: 14px;
}

.bx_catalog_tile .bx_catalog_tile_title a:hover {
	text-decoration: none;
}

.bx_catalog_tile .bx_catalog_tile_title span {
	font-size: 12px;
}

/*2*/
@media (max-width: 980px) {
	.bx_catalog_tile .bx_catalog_tile_ul li {
		width: 20%;
	}

	.bx_catalog_tile .bx_catalog_tile_ul li:nth-child(8n+1) {
		clear: none;
	}

	.bx_catalog_tile .bx_catalog_tile_ul li:nth-child(5n+1) {
		clear: both;
	}
}

/*3*/
@media (max-width: 639px) {
	.bx-touch .bx_catalog_tile .bx_catalog_tile_title {
		margin-bottom: 5px;
		line-height: 14px;
	}

	.bx-touch .bx_catalog_tile .bx_catalog_tile_title {
		line-height: 10px;
	}

	.bx-touch .bx_catalog_tile .bx_catalog_tile_title a {
		font-size: 11px;
	}
}

@media (min-width: 480px) and (max-width: 639px) {
	.bx-touch .bx_catalog_tile .bx_catalog_tile_ul li {
		width: 25%;
	}

	.bx-touch .bx_catalog_tile .bx_catalog_tile_ul li:nth-child(8n+1) {
		clear: none;
	}

	.bx-touch .bx_catalog_tile .bx_catalog_tile_ul li:nth-child(5n+1) {
		clear: none;
	}

	.bx-touch .bx_catalog_tile .bx_catalog_tile_ul li:nth-child(4n+1) {
		clear: both;
	}
}

/*4*/
@media (max-width: 479px) {
	.bx-touch .bx_catalog_tile .bx_catalog_tile_ul li {
		width: 33.3%;
	}

	.bx-touch .bx_catalog_tile .bx_catalog_tile_img {
		width: 100%;
		height: 80px;
	}

	.bx-touch .bx_catalog_tile .bx_catalog_tile_ul li:nth-child(8n+1) {
		clear: none;
	}

	.bx-touch .bx_catalog_tile .bx_catalog_tile_ul li:nth-child(5n+1) {
		clear: none;
	}

	.bx-touch .bx_catalog_tile .bx_catalog_tile_ul li:nth-child(3n+1) {
		clear: both;
	}

}

.bx_catalog_tile .bx_catalog_tile_title,
.bx_catalog_tile .bx_catalog_tile_title a,
.bx_catalog_tile .bx_catalog_tile_ul li,
.bx_catalog_tile .bx_catalog_tile_img {
	transition: all 0.3s ease;
}

/* list */

.bx_sitemap {
	margin-bottom: 30px;
}

.bx_sitemap .bx_sitemap_title {
	padding-bottom: 14px;
	border-bottom: 1px solid #e5e5e5;
	font-size: 24px;
}

.bx_sitemap .bx_sitemap_title a {
	color: #000;
	text-decoration: none;
}

.bx_sitemap .bx_sitemap_ul li {
	padding: 0;
	line-height: 14px;
}

.bx_sitemap .bx_sitemap_ul li:before {
	content: '' !important
}

.bx_sitemap .bx_sitemap_li_title {
	display: inline-block;
	margin: 0;
	margin-bottom: 10px;
	padding: 0;
	vertical-align: top;
	font-weight: normal;
	line-height: 13px;
}

.bx_sitemap .bx_sitemap_li_title a {
	color: #4c7da6;
	white-space: nowrap;
	font-size: 13px;
}

.bx_sitemap .bx_sitemap_li_title a:hover {
	text-decoration: none
}

.bx_sitemap .bx_sitemap_li_title span {
	font-size: 11px;
}

@media (max-width: 639px) {
	.bx-touch .bx_sitemap .bx_catalog_line_title {
		margin-bottom: 5px;
		line-height: 12px;
	}

	.bx-touch .bx_sitemap .bx_catalog_line_title a {
		font-size: 12px;
	}
}

.bx_sitemap .bx_catalog_line_title,
.bx_sitemap .bx_catalog_line_title a {
	transition: all 0.3s ease;
}

/* ===== ОБНОВЛЁННЫЕ МЕДИА-ЗАПРОСЫ ===== */

@media (max-width: 576px) {
	main .vac-grid {
		grid-template-columns: 1fr;
	}

	.vac-grid .vac-grid-item {
		grid-column: 1 / -1 !important;
		min-height: 115px;
	}

	main .vac-other-grid {
		grid-auto-columns: auto;
		grid-template-columns: 1fr;
		margin-top: 20px;
	}

	main .vac-other-grid .vac-other-grid-item {
		height: auto;
	}
}

@media (min-width: 577px) and (max-width: 1205px) {
	main .vac-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.vac-grid .vac-grid-item {
		grid-column: unset !important;
	}

	main .vac-other-grid {
		grid-auto-columns: auto;
		grid-template-columns: repeat(2, 1fr);
		margin-top: 20px;
	}

	main .vac-other-grid .vac-other-grid-item {
		height: auto;
	}
}

@media (max-width: 1205px) {
	.vac-grid .vac-grid-item img {
		display: none !important;
	}

	.vac-grid .vac-grid-item h2,
	.vac-other-grid .vac-other-grid-item h2 {
		margin: 0 0 20px;
	}
}