

/* Start:/bitrix/templates/.default/components/bitrix/news.list/contact_channel/style.css?17745316434096*/
.channels-section {
	/*margin-top: 50px;
	margin-bottom: 50px;
	padding: 30px 0;*/
}

.channels-section h2 {
	font-size: 32px;
	font-weight: bold;
	margin-bottom: 30px;
	text-align: center;
	color: #333;
}

.messenger-switcher {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.messenger-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 200px;
	height: 56px;
	padding: 0 30px;
	box-sizing: border-box;
	border: 1px solid rgba(255, 255, 255, 0.5);
	background: rgba(255, 255, 255, 0.45);
	-webkit-backdrop-filter: blur(20px) saturate(180%);
	backdrop-filter: blur(20px) saturate(180%);
	cursor: pointer;
	border-radius: 14px;
	transition: all 0.3s ease;
	font-size: 18px;
	font-weight: 500;
	color: #333;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.messenger-btn:hover {
	border-color: rgba(243, 147, 20, 0.5);
	background: rgba(255, 249, 240, 0.7);
	-webkit-backdrop-filter: blur(24px) saturate(180%);
	backdrop-filter: blur(24px) saturate(180%);
	box-shadow: 0 8px 32px rgba(243, 147, 20, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.messenger-btn.active {
	border-color: rgba(243, 147, 20, 0.6);
	background: rgba(243, 147, 20, 0.85);
	color: #fff;
	-webkit-backdrop-filter: blur(20px) saturate(180%);
	backdrop-filter: blur(20px) saturate(180%);
	box-shadow: 0 4px 24px rgba(243, 147, 20, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.messenger-btn img {
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.channels-container {
	display: none;
}

.channels-container.active {
	display: block;
}

.channels-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 25px;
	margin-top: 30px;
}

.channel-item {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.4);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.channel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: rgba(180, 180, 180, .45);
}

.channel-item:hover {
	border-color: rgba(243, 147, 20, 0.4);
	background: rgba(255, 255, 255, 0.55);
	-webkit-backdrop-filter: blur(28px) saturate(180%);
	backdrop-filter: blur(28px) saturate(180%);
	box-shadow: 0 12px 40px rgba(243, 147, 20, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
	transform: translateY(-2px);
}

.channel-icon {
    /* flex-shrink: 0; */
    width: 150px;
    height: 150px;
    border-radius: 16px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: border-color 0.3s ease;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Рамка иконок для Telegram каналов - голубая */
#telegram-channels .channel-icon {
	border-color: #37aee2;
}

/* Рамка иконок для MAX каналов - зеленая */
#max-channels .channel-icon {
	border-color: #4caf50;
}

.channel-content {
	flex: 1;
}

.channel-title {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 8px;
	color: #333;
}

.channel-description {
	font-size: 14px;
	color: #666;
	line-height: 1.5;
	margin-bottom: 12px;
}

.channel-link {
	display: inline-block;
	color: #f39314;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: color 0.3s ease;
}

.channel-link:hover {
	color: #d17a0f;
	text-decoration: underline;
}

@media(max-width: 768px){
	.channels-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.channels-section h2 {
		font-size: 24px;
	}

	.messenger-btn {
		padding: 12px 20px;
		font-size: 16px;
	}

	.messenger-btn img {
		width: 28px;
		height: 28px;
	}
}
/* End */
/* /bitrix/templates/.default/components/bitrix/news.list/contact_channel/style.css?17745316434096 */
