/* Тизеры главной страницы */

.tizers_block.tizers_custom .item {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	background: transparent;
}

/* Общий контейнер тизера */

.tizers_custom .tizer-inner {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 14px;
	min-height: 50px;
	max-width: 100%;
	padding: 10px 14px;
	border-radius: 7px;
	box-sizing: border-box;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		color 0.2s ease;
}

/* Иконка */

.tizers_custom .tizer-inner .img {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	float: none;
	width: 32px;
	height: 32px;
	margin: 0;
	padding: 0;
}

.tizers_custom .tizer-inner .img img {
	display: block;
	width: 32px;
	height: 32px;
	object-fit: contain;
	transition: transform 0.2s ease;
}

/* Текст */

.tizers_custom .tizer-inner .title {
	display: block;
	width: auto;
	margin: 0;
	padding: 0;
	color: #555;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.3px;
	text-align: left;
	text-transform: uppercase;
	transition: color 0.2s ease;
}

/* Кликабельный тизер */

.tizers_custom a.tizer-link {
	cursor: pointer;
	background: #f2f4f7;
	text-decoration: none;
}

.tizers_custom a.tizer-link .title {
	color: #192951;
}

/* Наведение */

.tizers_custom a.tizer-link:hover {
	background: #e6ebf4;
	text-decoration: none;
}

.tizers_custom a.tizer-link:hover .title {
	color: #3659a5;
}

.tizers_custom a.tizer-link:hover .img img {
	transform: translateY(-2px);
}

/* Нажатие */

.tizers_custom a.tizer-link:active {
	background: #dce3ef;
}

/* Навигация с клавиатуры */

.tizers_custom a.tizer-link:focus-visible {
	outline: 2px solid #3659a5;
	outline-offset: 3px;
}

/* Планшеты */

@media (max-width: 991px) {
	.tizers_block.tizers_custom .item {
		margin-bottom: 15px;
	}
}

/* Мобильные устройства */

@media (max-width: 600px) {
	.tizers_custom .tizer-inner {
		gap: 8px;
		padding: 10px 8px;
	}

	.tizers_custom .tizer-inner .img,
	.tizers_custom .tizer-inner .img img {
		width: 26px;
		height: 26px;
	}

	.tizers_custom .tizer-inner .title {
		font-size: 10px;
		letter-spacing: 0;
	}
}

/* Компактные тизеры */

.tizers_block.tizers_custom .item {
	margin: 0;
	padding: 0;
	background: transparent !important;
}

.tizers_custom .item .tizer-inner {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	min-height: 54px;
	padding: 12px 14px;
	border-radius: 6px;
	background: transparent !important;
	transition: background-color 0.2s ease;
}

/* Убираем белый круг вокруг иконки */

.tizers_custom .item .tizer-inner .img {
	display: flex !important;
	align-items: center;
	justify-content: center;
	flex: 0 0 28px;
	width: 28px !important;
	height: 28px !important;
	min-width: 28px;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	float: none !important;
}

.tizers_custom .item .img::before,
.tizers_custom .item .img::after {
	display: none !important;
}

/* Размер самой иконки */

.tizers_custom .item .tizer-inner .img img {
	display: block;
	position: static !important;
	width: 28px !important;
	height: 28px !important;
	max-width: 28px !important;
	max-height: 28px !important;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: contain;
	transform: none !important;
}

/* Текст */

.tizers_custom .item .tizer-inner .title {
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.3px;
	color: #192951;
	text-align: left;
	text-transform: uppercase;
}

/* Наведение на весь тайл */

.tizers_custom .item a.tizer-link,
.tizers_custom .item a.tizer-link * {
	cursor: pointer;
}

.tizers_custom .item a.tizer-link:hover,
.tizers_custom .item a.tizer-link:focus-visible {
	background: #eaf0f9 !important;
}

/* Мобильная версия */

@media (max-width: 600px) {
	.tizers_custom .item .tizer-inner {
		justify-content: flex-start;
		gap: 8px;
		padding: 10px 8px;
	}

	.tizers_custom .item .tizer-inner .title {
		font-size: 10px;
		letter-spacing: 0;
	}
}

/* Контакты под тизерами */

.main-contacts {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;

	margin: 20px 0 0;
	padding: 25px 0 30px;

	border-top: 1px solid #e5e5e5;
	box-sizing: border-box;
}

/* Контактная кнопка */

.main-contacts__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;

	position: relative;
	min-height: 38px;
	padding: 10px 20px;

	background: #192951;
	color: #fff;
	border-radius: 6px;
	box-sizing: border-box;

	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;

	transition: background-color 0.2s ease;
}

/* Иконки */

.main-contacts__button svg {
	display: block;
	flex-shrink: 0;
	width: 17px;
	height: 17px;
	color: #fff;
}

/* Контактные данные */

.main-contacts__value {
	color: #fff;
	font-size: 13px;
	line-height: 1.4;
}

.main-contacts__value p {
	margin: 0 !important;
	padding: 0;
}

.main-contacts__value a {
	color: #fff !important;
	text-decoration: none !important;
}

/* Наведение для кнопок со ссылками */

.main-contacts__button:has(a):hover {
	background-color: #304777;
	cursor: pointer;
}

/* Расширяем ссылку на всю площадь кнопки */

.main-contacts__button:has(a:only-child) .main-contacts__value a::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 6px;
}

.main-contacts__button:focus-within {
	outline: 2px solid #304777;
	outline-offset: 3px;
}

/* Планшеты */

@media (max-width: 991px) {
	.main-contacts {
		justify-content: center;
		gap: 12px;
	}
}

/* Мобильные устройства */

@media (max-width: 600px) {
	.main-contacts {
		flex-direction: column;
		align-items: stretch;
		padding: 20px 0;
		gap: 10px;
	}

	.main-contacts__button {
		width: 100%;
		min-height: 42px;
		padding: 12px 15px;
	}
}
