/* Виджеты Instagram и Telegram — сайдбар страницы новостей */
.ac-social-widgets {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-bottom: 30px;
}

.ac-social-widgets .widget-instagram,
.ac-social-widgets .widget-telegram {
	padding: 28px 24px;
	position: relative;
	overflow: hidden;
}

/* Instagram */
.ac-social-widgets .widget-instagram {
	border: 1px solid #f0f0f0;
}

.ac-social-widgets .widget-instagram::before {
	content: '';
	position: absolute;
	top: -30px;
	right: -30px;
	width: 200px;
	height: 200px;
	background: radial-gradient(circle, rgba(225, 48, 108, 0.1) 0%, transparent 70%);
	pointer-events: none;
}

.ac-social-widgets .widget-instagram .icon {
	width: 56px;
	height: 56px;
	background: linear-gradient(135deg, #833ab4 0%, #e1306c 50%, #fcaf45 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
	box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

.ac-social-widgets .widget-instagram .icon svg {
	width: 30px;
	height: 30px;
	fill: #fff;
}

.ac-social-widgets .widget-instagram h3 {
	color: #1e1e1e;
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 10px;
	line-height: 1.3;
}

.ac-social-widgets .widget-instagram p {
	color: #666;
	font-size: 14px;
	margin: 0 0 18px;
	line-height: 1.5;
}

.ac-social-widgets .widget-instagram .stats {
	display: flex;
	margin-bottom: 20px;
	padding: 14px 16px;
	background: #f9f9f9;
}

.ac-social-widgets .widget-instagram .stat-item {
	flex: 1;
	text-align: center;
}

.ac-social-widgets .widget-instagram .stat-number {
	display: block;
	font-size: 22px;
	font-weight: 700;
	color: #e1306c;
	margin-bottom: 4px;
	line-height: 1.2;
}

.ac-social-widgets .widget-instagram .stat-label {
	display: block;
	font-size: 11px;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.ac-social-widgets .widget-instagram .btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: linear-gradient(135deg, #833ab4 0%, #e1306c 50%, #fcaf45 100%);
	color: #fff;
	text-decoration: none;
	padding: 14px 24px;
	font-weight: 600;
	font-size: 15px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

.ac-social-widgets .widget-instagram .btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4);
	color: #fff;
}

.ac-social-widgets .widget-instagram .btn svg {
	width: 20px;
	height: 20px;
	fill: #fff;
	flex-shrink: 0;
}

/* Telegram */
.ac-social-widgets .widget-telegram {
	background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.ac-social-widgets .widget-telegram::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(37, 150, 190, 0.15) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}

.ac-social-widgets .widget-telegram .icon {
	width: 56px;
	height: 56px;
	background: linear-gradient(135deg, #2aabee 0%, #229ed9 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
	box-shadow: 0 4px 15px rgba(42, 171, 238, 0.4);
}

.ac-social-widgets .widget-telegram .icon svg {
	width: 30px;
	height: 30px;
	fill: #fff;
}

.ac-social-widgets .widget-telegram h3 {
	color: #fff;
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 10px;
	line-height: 1.3;
}

.ac-social-widgets .widget-telegram p {
	color: #b0b0b0;
	font-size: 14px;
	margin: 0 0 18px;
	line-height: 1.5;
}

.ac-social-widgets .widget-telegram .stats {
	display: flex;
	margin-bottom: 20px;
	padding: 14px 16px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.ac-social-widgets .widget-telegram .stat-item {
	flex: 1;
	text-align: center;
}

.ac-social-widgets .widget-telegram .stat-number {
	display: block;
	font-size: 22px;
	font-weight: 700;
	color: #2aabee;
	margin-bottom: 4px;
	line-height: 1.2;
}

.ac-social-widgets .widget-telegram .stat-label {
	display: block;
	font-size: 11px;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.ac-social-widgets .widget-telegram .btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: linear-gradient(135deg, #2aabee 0%, #229ed9 100%);
	color: #fff;
	text-decoration: none;
	padding: 14px 24px;
	font-weight: 600;
	font-size: 15px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 4px 15px rgba(42, 171, 238, 0.3);
}

.ac-social-widgets .widget-telegram .btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(42, 171, 238, 0.4);
	color: #fff;
}

.ac-social-widgets .widget-telegram .btn svg {
	width: 20px;
	height: 20px;
	fill: #fff;
	flex-shrink: 0;
}

.ac-social-widgets .widget-instagram > *,
.ac-social-widgets .widget-telegram > * {
	position: relative;
	z-index: 1;
}
