.pbg_news_section {
	margin-top: 18px;
}

.pbg_news_head_actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}

.pbg_news_add {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 11px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.04);
	color: rgba(255, 255, 255, 0.6);
	font-size: 19px;
	text-decoration: none;
	transition: all 0.15s ease;
}

.pbg_news_add:hover {
	background: rgba(79, 234, 159, 0.14);
	border-color: rgba(79, 234, 159, 0.42);
	color: #4fea9f;
	text-decoration: none;
}

.pbg_news_all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 36px;
	padding: 0 14px;
	border-radius: 11px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.03);
	color: rgba(255, 255, 255, 0.62);
	font-size: 12.5px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: all 0.15s ease;
}

.pbg_news_all:hover {
	color: #fff;
	border-color: rgba(79, 234, 159, 0.42);
	text-decoration: none;
}

/* Три карточки в ряд, на планшете две, на телефоне одна. */
.pbg_news_grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.pbg_news_card {
	display: flex;
	flex-direction: column;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.07);
	background: rgba(255, 255, 255, 0.03);
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pbg_news_card:hover {
	transform: translateY(-3px);
	border-color: rgba(79, 234, 159, 0.35);
	box-shadow: 0 16px 34px -18px rgba(34, 184, 119, 0.5);
	text-decoration: none;
}

.pbg_news_cover {
	position: relative;
	display: block;
	height: 152px;
	background-size: cover;
	background-position: center;
	background-color: rgba(255, 255, 255, 0.04);
}

.pbg_news_cover_fade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 22, 24, 0) 45%, rgba(20, 22, 24, 0.75) 100%);
}

/* Живая метка новизны с пульсирующей точкой. */
.pbg_news_live {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(10, 20, 15, 0.72);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1px solid rgba(79, 234, 159, 0.4);
	color: #4fea9f;
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.06em;
}

.pbg_news_live_dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #4fea9f;
	animation: pbgNewsPulse 1.8s ease-in-out infinite;
}

@keyframes pbgNewsPulse {
	0%, 100% {
		box-shadow: 0 0 0 0 rgba(79, 234, 159, 0.7);
		opacity: 1;
	}
	50% {
		box-shadow: 0 0 0 6px rgba(79, 234, 159, 0);
		opacity: 0.65;
	}
}

.pbg_news_body {
	display: block;
	padding: 14px 16px 10px;
	flex: 1;
	min-width: 0;
}

.pbg_news_title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.35;
	margin-bottom: 7px;
}

.pbg_news_card:hover .pbg_news_title {
	color: #4fea9f;
}

.pbg_news_text {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.46);
	font-size: 12.5px;
	line-height: 1.55;
}

.pbg_news_foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 11px 16px 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pbg_news_meta {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.pbg_news_meta_i {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: rgba(255, 255, 255, 0.4);
	font-size: 11.5px;
	white-space: nowrap;
}

.pbg_news_meta_i i {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.3);
}

.pbg_news_go {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.05);
	color: rgba(255, 255, 255, 0.5);
	font-size: 17px;
	flex: 0 0 auto;
	transition: all 0.18s ease;
}

.pbg_news_card:hover .pbg_news_go {
	background: linear-gradient(135deg, #4fea9f, #22b877);
	color: #0c1f16;
	transform: translateX(2px);
}

.pbg_news_grid .empty-element {
	grid-column: 1 / -1;
	padding: 28px 12px;
	text-align: center;
	color: rgba(255, 255, 255, 0.42);
}

@media (max-width: 991px) {
	.pbg_news_grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.pbg_news_grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.pbg_news_cover {
		height: 168px;
	}

	.pbg_news_all span {
		display: none;
	}
}
